From e0440161af281b980a9aa50b5c8870cc8b4f2595 Mon Sep 17 00:00:00 2001 From: Microsoft Graph DevX Tooling Date: Tue, 1 Sep 2026 19:29:05 +0000 Subject: [PATCH] feat(generation): update request builders and models Update generated files with build 238048 --- .../generated/BaseGraphServiceClient.java | 3 + .../generated/admin/AdminRequestBuilder.java | 2 +- ...ConfigurationManagementRequestBuilder.java | 206 +- .../ConfigurationDriftsRequestBuilder.java | 56 - .../ConfigurationDriftItemRequestBuilder.java | 99 - ...rationMonitoringResultsRequestBuilder.java | 56 - ...ionMonitoringResultItemRequestBuilder.java | 99 - .../item/baseline/BaselineRequestBuilder.java | 99 - ...nfigurationSnapshotJobsRequestBuilder.java | 65 - ...gurationSnapshotJobItemRequestBuilder.java | 55 - .../ConfigurationSnapshotsRequestBuilder.java | 65 - ...nfigurationBaselineItemRequestBuilder.java | 99 - .../DeviceAppManagementRequestBuilder.java | 8 +- .../item/ManagedDeviceItemRequestBuilder.java | 18 + ...elEnhancedLogCollectionRequestBuilder.java | 91 + .../SecurityBaselineStatesRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...curityBaselineStateItemRequestBuilder.java | 42 + .../SettingStatesRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...aselineSettingStateItemRequestBuilder.java | 39 + ...rEnhancedLogCollectionPostRequestBody.java | 107 + ...erEnhancedLogCollectionRequestBuilder.java | 98 + ...anceReportSummarizationRequestBuilder.java | 15 + ...ationUserStateSummariesRequestBuilder.java | 39 + .../item/ManagedDeviceItemRequestBuilder.java | 18 + ...elEnhancedLogCollectionRequestBuilder.java | 91 + .../SecurityBaselineStatesRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...curityBaselineStateItemRequestBuilder.java | 42 + .../SettingStatesRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...aselineSettingStateItemRequestBuilder.java | 39 + ...rEnhancedLogCollectionPostRequestBody.java | 107 + ...erEnhancedLogCollectionRequestBuilder.java | 98 + .../BeginOnboardingPostRequestBody.java | 107 + .../BeginOnboardingRequestBuilder.java | 21 +- .../devices/DevicesRequestBuilder.java | 9 + .../provision/ProvisionPostRequestBody.java | 107 + .../provision/ProvisionRequestBuilder.java | 103 + .../ImpactedResourcesRequestBuilder.java | 18 + .../addtag/AddTagPostRequestBody.java | 124 + .../addtag/AddTagPostResponse.java} | 23 +- .../addtag/AddTagRequestBuilder.java | 102 + .../ImpactedResourceItemRequestBuilder.java | 54 + .../acceptrisk/AcceptRiskRequestBuilder.java | 96 + .../item/addtag/AddTagPostRequestBody.java | 107 + .../item/addtag/AddTagRequestBuilder.java | 103 + ...pplyAlternateMitigationRequestBuilder.java | 96 + .../MarkPlannedRequestBuilder.java | 96 + .../removetag/RemoveTagPostRequestBody.java | 107 + .../removetag/RemoveTagRequestBuilder.java | 103 + .../item/tags/TagsRequestBuilder.java | 243 ++ .../item/tags}/count/CountRequestBuilder.java | 6 +- .../RecommendationTagItemRequestBuilder.java | 228 + .../removetag/RemoveTagPostRequestBody.java | 124 + .../removetag/RemoveTagPostResponse.java | 63 + .../removetag/RemoveTagRequestBuilder.java | 102 + .../RecommendationItemRequestBuilder.java | 54 + .../acceptrisk/AcceptRiskRequestBuilder.java | 96 + .../item/addtag/AddTagPostRequestBody.java | 107 + .../item/addtag/AddTagRequestBuilder.java | 103 + ...pplyAlternateMitigationRequestBuilder.java | 96 + .../ImpactedResourcesRequestBuilder.java | 18 + .../addtag/AddTagPostRequestBody.java | 124 + .../addtag/AddTagPostResponse.java | 63 + .../addtag/AddTagRequestBuilder.java | 102 + .../ImpactedResourceItemRequestBuilder.java | 54 + .../acceptrisk/AcceptRiskRequestBuilder.java | 96 + .../item/addtag/AddTagPostRequestBody.java | 107 + .../item/addtag/AddTagRequestBuilder.java | 103 + ...pplyAlternateMitigationRequestBuilder.java | 96 + .../MarkPlannedRequestBuilder.java | 96 + .../removetag/RemoveTagPostRequestBody.java | 107 + .../removetag/RemoveTagRequestBuilder.java | 103 + .../item/tags/TagsRequestBuilder.java | 243 ++ .../item/tags}/count/CountRequestBuilder.java | 6 +- .../RecommendationTagItemRequestBuilder.java | 228 + .../removetag/RemoveTagPostRequestBody.java | 124 + .../removetag/RemoveTagPostResponse.java | 63 + .../removetag/RemoveTagRequestBuilder.java | 102 + .../MarkPlannedRequestBuilder.java | 96 + .../removetag/RemoveTagPostRequestBody.java | 107 + .../removetag/RemoveTagRequestBuilder.java | 103 + .../item/tags/TagsRequestBuilder.java | 243 ++ .../item/tags}/count/CountRequestBuilder.java | 6 +- .../RecommendationTagItemRequestBuilder.java | 228 + .../TenantGovernanceRequestBuilder.java | 14 +- .../GovernanceInvitationsRequestBuilder.java | 8 +- ...overnanceInvitationItemRequestBuilder.java | 4 +- ...vernancePolicyTemplatesRequestBuilder.java | 46 +- ...ancePolicyTemplateItemRequestBuilder.java} | 48 +- ...GovernanceRelationshipsRequestBuilder.java | 8 +- ...ernanceRelationshipItemRequestBuilder.java | 4 +- .../GovernanceRequestsRequestBuilder.java | 8 +- .../GovernanceRequestItemRequestBuilder.java | 6 +- ...overnancePolicyTemplateRequestBuilder.java | 24 +- .../RelatedTenantsRequestBuilder.java | 24 +- .../item/RelatedTenantItemRequestBuilder.java | 14 +- ...2BSignInActivityMetricsRequestBuilder.java | 14 +- .../B2BRegistrationMetricsRequestBuilder.java | 14 +- ...2BSignInActivityMetricsRequestBuilder.java | 14 +- .../BillingMetricsRequestBuilder.java | 14 +- ...enantApplicationMetricsRequestBuilder.java | 14 +- .../RefreshRequestBuilder.java} | 22 +- .../RefreshStatusRequestBuilder.java} | 24 +- .../settings/SettingsRequestBuilder.java | 12 +- .../EnableRelatedTenantsRequestBuilder.java} | 22 +- ...AssignSensitivityLabelPostRequestBody.java | 20 +- .../CommunitiesRequestBuilder.java | 9 - ...gagementAsyncOperationsRequestBuilder.java | 65 - ...ementAsyncOperationItemRequestBuilder.java | 99 - .../roles/RolesRequestBuilder.java | 65 - .../EngagementRoleItemRequestBuilder.java | 99 - ...ngagementRoleMemberItemRequestBuilder.java | 55 - .../IdentityGovernanceRequestBuilder.java | 57 + .../AccessReviewsRequestBuilder.java | 57 + .../decisions/DecisionsRequestBuilder.java | 39 + .../decisions/count/CountRequestBuilder.java | 15 + ...lterByCurrentUserWithOnRequestBuilder.java | 15 + ...nstanceDecisionItemItemRequestBuilder.java | 45 + .../item/insights/InsightsRequestBuilder.java | 33 + .../insights/count/CountRequestBuilder.java | 15 + .../GovernanceInsightItemRequestBuilder.java | 39 + .../item/instance/InstanceRequestBuilder.java | 75 + .../AcceptRecommendationsRequestBuilder.java | 15 + .../ApplyDecisionsRequestBuilder.java | 15 + ...ovidedResourceDecisionsRequestBuilder.java | 15 + .../BatchRecordDecisionsRequestBuilder.java | 15 + .../ContactedReviewersRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...ccessReviewReviewerItemRequestBuilder.java | 39 + .../decisions/DecisionsRequestBuilder.java | 39 + .../decisions/count/CountRequestBuilder.java | 15 + ...lterByCurrentUserWithOnRequestBuilder.java | 15 + ...nstanceDecisionItemItemRequestBuilder.java | 42 + .../item/insights/InsightsRequestBuilder.java | 33 + .../insights/count/CountRequestBuilder.java | 15 + .../GovernanceInsightItemRequestBuilder.java | 39 + .../RecordAllDecisionsRequestBuilder.java | 15 + .../definition/DefinitionRequestBuilder.java | 15 + .../ResetDecisionsRequestBuilder.java | 15 + .../SendReminderRequestBuilder.java | 15 + .../instance/stages/StagesRequestBuilder.java | 36 + .../stages/count/CountRequestBuilder.java | 15 + ...lterByCurrentUserWithOnRequestBuilder.java | 15 + .../AccessReviewStageItemRequestBuilder.java | 51 + .../AcceptRecommendationsRequestBuilder.java | 15 + .../BatchRecordDecisionsRequestBuilder.java | 15 + .../decisions/DecisionsRequestBuilder.java | 39 + .../decisions/count/CountRequestBuilder.java | 15 + ...lterByCurrentUserWithOnRequestBuilder.java | 15 + ...nstanceDecisionItemItemRequestBuilder.java | 42 + .../item/insights/InsightsRequestBuilder.java | 33 + .../insights/count/CountRequestBuilder.java | 15 + .../GovernanceInsightItemRequestBuilder.java | 39 + .../RecordAllDecisionsRequestBuilder.java | 15 + .../stages/item/stop/StopRequestBuilder.java | 15 + .../instance/stop/StopRequestBuilder.java | 15 + .../StopApplyDecisionsRequestBuilder.java | 15 + .../RecordAllDecisionsRequestBuilder.java | 15 + .../DefinitionsRequestBuilder.java | 36 + .../count/CountRequestBuilder.java | 15 + ...lterByCurrentUserWithOnRequestBuilder.java | 15 + ...wScheduleDefinitionItemRequestBuilder.java | 45 + .../instances/InstancesRequestBuilder.java | 36 + .../instances/count/CountRequestBuilder.java | 15 + ...lterByCurrentUserWithOnRequestBuilder.java | 15 + ...ccessReviewInstanceItemRequestBuilder.java | 75 + .../AcceptRecommendationsRequestBuilder.java | 15 + .../ApplyDecisionsRequestBuilder.java | 15 + ...ovidedResourceDecisionsRequestBuilder.java | 15 + .../BatchRecordDecisionsRequestBuilder.java | 15 + .../ContactedReviewersRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...ccessReviewReviewerItemRequestBuilder.java | 39 + .../decisions/DecisionsRequestBuilder.java | 39 + .../decisions/count/CountRequestBuilder.java | 15 + ...lterByCurrentUserWithOnRequestBuilder.java | 15 + ...nstanceDecisionItemItemRequestBuilder.java | 45 + .../item/insights/InsightsRequestBuilder.java | 33 + .../insights/count/CountRequestBuilder.java | 15 + .../GovernanceInsightItemRequestBuilder.java | 39 + .../item/instance/InstanceRequestBuilder.java | 72 + .../AcceptRecommendationsRequestBuilder.java | 15 + .../ApplyDecisionsRequestBuilder.java | 15 + ...ovidedResourceDecisionsRequestBuilder.java | 15 + .../BatchRecordDecisionsRequestBuilder.java | 15 + .../ContactedReviewersRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...ccessReviewReviewerItemRequestBuilder.java | 39 + .../definition/DefinitionRequestBuilder.java | 15 + .../ResetDecisionsRequestBuilder.java | 15 + .../SendReminderRequestBuilder.java | 15 + .../instance/stages/StagesRequestBuilder.java | 36 + .../stages/count/CountRequestBuilder.java | 15 + ...lterByCurrentUserWithOnRequestBuilder.java | 15 + .../AccessReviewStageItemRequestBuilder.java | 51 + .../AcceptRecommendationsRequestBuilder.java | 15 + .../BatchRecordDecisionsRequestBuilder.java | 15 + .../decisions/DecisionsRequestBuilder.java | 39 + .../decisions/count/CountRequestBuilder.java | 15 + ...lterByCurrentUserWithOnRequestBuilder.java | 15 + ...nstanceDecisionItemItemRequestBuilder.java | 42 + .../item/insights/InsightsRequestBuilder.java | 33 + .../insights/count/CountRequestBuilder.java | 15 + .../GovernanceInsightItemRequestBuilder.java | 39 + .../RecordAllDecisionsRequestBuilder.java | 15 + .../stages/item/stop/StopRequestBuilder.java | 15 + .../instance/stop/StopRequestBuilder.java | 15 + .../StopApplyDecisionsRequestBuilder.java | 15 + .../RecordAllDecisionsRequestBuilder.java | 15 + .../definition/DefinitionRequestBuilder.java | 15 + .../ResetDecisionsRequestBuilder.java | 15 + .../SendReminderRequestBuilder.java | 15 + .../item/stages/StagesRequestBuilder.java | 36 + .../stages/count/CountRequestBuilder.java | 15 + ...lterByCurrentUserWithOnRequestBuilder.java | 15 + .../AccessReviewStageItemRequestBuilder.java | 51 + .../AcceptRecommendationsRequestBuilder.java | 15 + .../BatchRecordDecisionsRequestBuilder.java | 15 + .../decisions/DecisionsRequestBuilder.java | 39 + .../decisions/count/CountRequestBuilder.java | 15 + ...lterByCurrentUserWithOnRequestBuilder.java | 15 + ...nstanceDecisionItemItemRequestBuilder.java | 45 + .../item/insights/InsightsRequestBuilder.java | 33 + .../insights/count/CountRequestBuilder.java | 15 + .../GovernanceInsightItemRequestBuilder.java | 39 + .../item/instance/InstanceRequestBuilder.java | 72 + .../AcceptRecommendationsRequestBuilder.java | 15 + .../ApplyDecisionsRequestBuilder.java | 15 + ...ovidedResourceDecisionsRequestBuilder.java | 15 + .../BatchRecordDecisionsRequestBuilder.java | 15 + .../ContactedReviewersRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...ccessReviewReviewerItemRequestBuilder.java | 39 + .../decisions/DecisionsRequestBuilder.java | 39 + .../decisions/count/CountRequestBuilder.java | 15 + ...lterByCurrentUserWithOnRequestBuilder.java | 15 + ...nstanceDecisionItemItemRequestBuilder.java | 42 + .../item/insights/InsightsRequestBuilder.java | 33 + .../insights/count/CountRequestBuilder.java | 15 + .../GovernanceInsightItemRequestBuilder.java | 39 + .../RecordAllDecisionsRequestBuilder.java | 15 + .../definition/DefinitionRequestBuilder.java | 15 + .../ResetDecisionsRequestBuilder.java | 15 + .../SendReminderRequestBuilder.java | 15 + .../instance/stop/StopRequestBuilder.java | 15 + .../StopApplyDecisionsRequestBuilder.java | 15 + .../RecordAllDecisionsRequestBuilder.java | 15 + .../stages/item/stop/StopRequestBuilder.java | 15 + .../item/stop/StopRequestBuilder.java | 15 + .../StopApplyDecisionsRequestBuilder.java | 15 + .../item/stop/StopRequestBuilder.java | 15 + .../HistoryDefinitionsRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...ewHistoryDefinitionItemRequestBuilder.java | 42 + .../instances/InstancesRequestBuilder.java | 33 + .../instances/count/CountRequestBuilder.java | 15 + ...viewHistoryInstanceItemRequestBuilder.java | 42 + .../GenerateDownloadUriRequestBuilder.java | 15 + .../instances/InstancesRequestBuilder.java | 36 + .../instances/count/CountRequestBuilder.java | 15 + ...lterByCurrentUserWithOnRequestBuilder.java | 15 + ...ccessReviewInstanceItemRequestBuilder.java | 75 + .../AcceptRecommendationsRequestBuilder.java | 15 + .../ApplyDecisionsRequestBuilder.java | 15 + ...ovidedResourceDecisionsRequestBuilder.java | 15 + .../BatchRecordDecisionsRequestBuilder.java | 15 + .../ContactedReviewersRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...ccessReviewReviewerItemRequestBuilder.java | 39 + .../decisions/DecisionsRequestBuilder.java | 39 + .../decisions/count/CountRequestBuilder.java | 15 + ...lterByCurrentUserWithOnRequestBuilder.java | 15 + ...nstanceDecisionItemItemRequestBuilder.java | 45 + .../item/insights/InsightsRequestBuilder.java | 33 + .../insights/count/CountRequestBuilder.java | 15 + .../GovernanceInsightItemRequestBuilder.java | 39 + .../item/instance/InstanceRequestBuilder.java | 72 + .../AcceptRecommendationsRequestBuilder.java | 15 + .../ApplyDecisionsRequestBuilder.java | 15 + ...ovidedResourceDecisionsRequestBuilder.java | 15 + .../BatchRecordDecisionsRequestBuilder.java | 15 + .../ContactedReviewersRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...ccessReviewReviewerItemRequestBuilder.java | 39 + .../definition/DefinitionRequestBuilder.java | 15 + .../ResetDecisionsRequestBuilder.java | 15 + .../SendReminderRequestBuilder.java | 15 + .../instance/stages/StagesRequestBuilder.java | 36 + .../stages/count/CountRequestBuilder.java | 15 + ...lterByCurrentUserWithOnRequestBuilder.java | 15 + .../AccessReviewStageItemRequestBuilder.java | 51 + .../AcceptRecommendationsRequestBuilder.java | 15 + .../BatchRecordDecisionsRequestBuilder.java | 15 + .../decisions/DecisionsRequestBuilder.java | 39 + .../decisions/count/CountRequestBuilder.java | 15 + ...lterByCurrentUserWithOnRequestBuilder.java | 15 + ...nstanceDecisionItemItemRequestBuilder.java | 42 + .../item/insights/InsightsRequestBuilder.java | 33 + .../insights/count/CountRequestBuilder.java | 15 + .../GovernanceInsightItemRequestBuilder.java | 39 + .../RecordAllDecisionsRequestBuilder.java | 15 + .../stages/item/stop/StopRequestBuilder.java | 15 + .../instance/stop/StopRequestBuilder.java | 15 + .../StopApplyDecisionsRequestBuilder.java | 15 + .../RecordAllDecisionsRequestBuilder.java | 15 + .../definition/DefinitionRequestBuilder.java | 15 + .../ResetDecisionsRequestBuilder.java | 15 + .../SendReminderRequestBuilder.java | 15 + .../item/stages/StagesRequestBuilder.java | 36 + .../stages/count/CountRequestBuilder.java | 15 + ...lterByCurrentUserWithOnRequestBuilder.java | 15 + .../AccessReviewStageItemRequestBuilder.java | 51 + .../AcceptRecommendationsRequestBuilder.java | 15 + .../BatchRecordDecisionsRequestBuilder.java | 15 + .../decisions/DecisionsRequestBuilder.java | 39 + .../decisions/count/CountRequestBuilder.java | 15 + ...lterByCurrentUserWithOnRequestBuilder.java | 15 + ...nstanceDecisionItemItemRequestBuilder.java | 45 + .../item/insights/InsightsRequestBuilder.java | 33 + .../insights/count/CountRequestBuilder.java | 15 + .../GovernanceInsightItemRequestBuilder.java | 39 + .../item/instance/InstanceRequestBuilder.java | 72 + .../AcceptRecommendationsRequestBuilder.java | 15 + .../ApplyDecisionsRequestBuilder.java | 15 + ...ovidedResourceDecisionsRequestBuilder.java | 15 + .../BatchRecordDecisionsRequestBuilder.java | 15 + .../ContactedReviewersRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...ccessReviewReviewerItemRequestBuilder.java | 39 + .../decisions/DecisionsRequestBuilder.java | 39 + .../decisions/count/CountRequestBuilder.java | 15 + ...lterByCurrentUserWithOnRequestBuilder.java | 15 + ...nstanceDecisionItemItemRequestBuilder.java | 42 + .../item/insights/InsightsRequestBuilder.java | 33 + .../insights/count/CountRequestBuilder.java | 15 + .../GovernanceInsightItemRequestBuilder.java | 39 + .../RecordAllDecisionsRequestBuilder.java | 15 + .../definition/DefinitionRequestBuilder.java | 15 + .../ResetDecisionsRequestBuilder.java | 15 + .../SendReminderRequestBuilder.java | 15 + .../instance/stop/StopRequestBuilder.java | 15 + .../StopApplyDecisionsRequestBuilder.java | 15 + .../RecordAllDecisionsRequestBuilder.java | 15 + .../stages/item/stop/StopRequestBuilder.java | 15 + .../item/stop/StopRequestBuilder.java | 15 + .../StopApplyDecisionsRequestBuilder.java | 15 + .../policy/PolicyRequestBuilder.java | 39 + .../unified/UnifiedRequestBuilder.java | 48 + .../decisions/DecisionsRequestBuilder.java | 39 + .../decisions/count/CountRequestBuilder.java | 15 + ...lterByCurrentUserWithOnRequestBuilder.java | 15 + ...nstanceDecisionItemItemRequestBuilder.java | 45 + .../item/insights/InsightsRequestBuilder.java | 33 + .../insights/count/CountRequestBuilder.java | 15 + .../GovernanceInsightItemRequestBuilder.java | 39 + .../item/instance/InstanceRequestBuilder.java | 75 + .../AcceptRecommendationsRequestBuilder.java | 15 + .../ApplyDecisionsRequestBuilder.java | 15 + ...ovidedResourceDecisionsRequestBuilder.java | 15 + .../BatchRecordDecisionsRequestBuilder.java | 15 + .../ContactedReviewersRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...ccessReviewReviewerItemRequestBuilder.java | 39 + .../decisions/DecisionsRequestBuilder.java | 39 + .../decisions/count/CountRequestBuilder.java | 15 + ...lterByCurrentUserWithOnRequestBuilder.java | 15 + ...nstanceDecisionItemItemRequestBuilder.java | 42 + .../item/insights/InsightsRequestBuilder.java | 33 + .../insights/count/CountRequestBuilder.java | 15 + .../GovernanceInsightItemRequestBuilder.java | 39 + .../RecordAllDecisionsRequestBuilder.java | 15 + .../definition/DefinitionRequestBuilder.java | 15 + .../ResetDecisionsRequestBuilder.java | 15 + .../SendReminderRequestBuilder.java | 15 + .../instance/stages/StagesRequestBuilder.java | 36 + .../stages/count/CountRequestBuilder.java | 15 + ...lterByCurrentUserWithOnRequestBuilder.java | 15 + .../AccessReviewStageItemRequestBuilder.java | 51 + .../AcceptRecommendationsRequestBuilder.java | 15 + .../BatchRecordDecisionsRequestBuilder.java | 15 + .../decisions/DecisionsRequestBuilder.java | 39 + .../decisions/count/CountRequestBuilder.java | 15 + ...lterByCurrentUserWithOnRequestBuilder.java | 15 + ...nstanceDecisionItemItemRequestBuilder.java | 42 + .../item/insights/InsightsRequestBuilder.java | 33 + .../insights/count/CountRequestBuilder.java | 15 + .../GovernanceInsightItemRequestBuilder.java | 39 + .../RecordAllDecisionsRequestBuilder.java | 15 + .../stages/item/stop/StopRequestBuilder.java | 15 + .../instance/stop/StopRequestBuilder.java | 15 + .../StopApplyDecisionsRequestBuilder.java | 15 + .../RecordAllDecisionsRequestBuilder.java | 15 + .../DefinitionsRequestBuilder.java | 36 + .../count/CountRequestBuilder.java | 15 + ...lterByCurrentUserWithOnRequestBuilder.java | 15 + ...wScheduleDefinitionItemRequestBuilder.java | 45 + .../instances/InstancesRequestBuilder.java | 36 + .../instances/count/CountRequestBuilder.java | 15 + ...lterByCurrentUserWithOnRequestBuilder.java | 15 + ...ccessReviewInstanceItemRequestBuilder.java | 75 + .../AcceptRecommendationsRequestBuilder.java | 15 + .../ApplyDecisionsRequestBuilder.java | 15 + ...ovidedResourceDecisionsRequestBuilder.java | 15 + .../BatchRecordDecisionsRequestBuilder.java | 15 + .../ContactedReviewersRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...ccessReviewReviewerItemRequestBuilder.java | 39 + .../decisions/DecisionsRequestBuilder.java | 39 + .../decisions/count/CountRequestBuilder.java | 15 + ...lterByCurrentUserWithOnRequestBuilder.java | 15 + ...nstanceDecisionItemItemRequestBuilder.java | 45 + .../item/insights/InsightsRequestBuilder.java | 33 + .../insights/count/CountRequestBuilder.java | 15 + .../GovernanceInsightItemRequestBuilder.java | 39 + .../item/instance/InstanceRequestBuilder.java | 72 + .../AcceptRecommendationsRequestBuilder.java | 15 + .../ApplyDecisionsRequestBuilder.java | 15 + ...ovidedResourceDecisionsRequestBuilder.java | 15 + .../BatchRecordDecisionsRequestBuilder.java | 15 + .../ContactedReviewersRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...ccessReviewReviewerItemRequestBuilder.java | 39 + .../definition/DefinitionRequestBuilder.java | 15 + .../ResetDecisionsRequestBuilder.java | 15 + .../SendReminderRequestBuilder.java | 15 + .../instance/stages/StagesRequestBuilder.java | 36 + .../stages/count/CountRequestBuilder.java | 15 + ...lterByCurrentUserWithOnRequestBuilder.java | 15 + .../AccessReviewStageItemRequestBuilder.java | 51 + .../AcceptRecommendationsRequestBuilder.java | 15 + .../BatchRecordDecisionsRequestBuilder.java | 15 + .../decisions/DecisionsRequestBuilder.java | 39 + .../decisions/count/CountRequestBuilder.java | 15 + ...lterByCurrentUserWithOnRequestBuilder.java | 15 + ...nstanceDecisionItemItemRequestBuilder.java | 42 + .../item/insights/InsightsRequestBuilder.java | 33 + .../insights/count/CountRequestBuilder.java | 15 + .../GovernanceInsightItemRequestBuilder.java | 39 + .../RecordAllDecisionsRequestBuilder.java | 15 + .../stages/item/stop/StopRequestBuilder.java | 15 + .../instance/stop/StopRequestBuilder.java | 15 + .../StopApplyDecisionsRequestBuilder.java | 15 + .../RecordAllDecisionsRequestBuilder.java | 15 + .../definition/DefinitionRequestBuilder.java | 15 + .../ResetDecisionsRequestBuilder.java | 15 + .../SendReminderRequestBuilder.java | 15 + .../item/stages/StagesRequestBuilder.java | 36 + .../stages/count/CountRequestBuilder.java | 15 + ...lterByCurrentUserWithOnRequestBuilder.java | 15 + .../AccessReviewStageItemRequestBuilder.java | 51 + .../AcceptRecommendationsRequestBuilder.java | 15 + .../BatchRecordDecisionsRequestBuilder.java | 15 + .../decisions/DecisionsRequestBuilder.java | 39 + .../decisions/count/CountRequestBuilder.java | 15 + ...lterByCurrentUserWithOnRequestBuilder.java | 15 + ...nstanceDecisionItemItemRequestBuilder.java | 45 + .../item/insights/InsightsRequestBuilder.java | 33 + .../insights/count/CountRequestBuilder.java | 15 + .../GovernanceInsightItemRequestBuilder.java | 39 + .../item/instance/InstanceRequestBuilder.java | 72 + .../AcceptRecommendationsRequestBuilder.java | 15 + .../ApplyDecisionsRequestBuilder.java | 15 + ...ovidedResourceDecisionsRequestBuilder.java | 15 + .../BatchRecordDecisionsRequestBuilder.java | 15 + .../ContactedReviewersRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...ccessReviewReviewerItemRequestBuilder.java | 39 + .../decisions/DecisionsRequestBuilder.java | 39 + .../decisions/count/CountRequestBuilder.java | 15 + ...lterByCurrentUserWithOnRequestBuilder.java | 15 + ...nstanceDecisionItemItemRequestBuilder.java | 42 + .../item/insights/InsightsRequestBuilder.java | 33 + .../insights/count/CountRequestBuilder.java | 15 + .../GovernanceInsightItemRequestBuilder.java | 39 + .../RecordAllDecisionsRequestBuilder.java | 15 + .../definition/DefinitionRequestBuilder.java | 15 + .../ResetDecisionsRequestBuilder.java | 15 + .../SendReminderRequestBuilder.java | 15 + .../instance/stop/StopRequestBuilder.java | 15 + .../StopApplyDecisionsRequestBuilder.java | 15 + .../RecordAllDecisionsRequestBuilder.java | 15 + .../stages/item/stop/StopRequestBuilder.java | 15 + .../item/stop/StopRequestBuilder.java | 15 + .../StopApplyDecisionsRequestBuilder.java | 15 + .../item/stop/StopRequestBuilder.java | 15 + .../instances/InstancesRequestBuilder.java | 36 + .../instances/count/CountRequestBuilder.java | 15 + ...lterByCurrentUserWithOnRequestBuilder.java | 15 + ...ccessReviewInstanceItemRequestBuilder.java | 75 + .../AcceptRecommendationsRequestBuilder.java | 15 + .../ApplyDecisionsRequestBuilder.java | 15 + ...ovidedResourceDecisionsRequestBuilder.java | 15 + .../BatchRecordDecisionsRequestBuilder.java | 15 + .../ContactedReviewersRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...ccessReviewReviewerItemRequestBuilder.java | 39 + .../decisions/DecisionsRequestBuilder.java | 39 + .../decisions/count/CountRequestBuilder.java | 15 + ...lterByCurrentUserWithOnRequestBuilder.java | 15 + ...nstanceDecisionItemItemRequestBuilder.java | 45 + .../item/insights/InsightsRequestBuilder.java | 33 + .../insights/count/CountRequestBuilder.java | 15 + .../GovernanceInsightItemRequestBuilder.java | 39 + .../item/instance/InstanceRequestBuilder.java | 72 + .../AcceptRecommendationsRequestBuilder.java | 15 + .../ApplyDecisionsRequestBuilder.java | 15 + ...ovidedResourceDecisionsRequestBuilder.java | 15 + .../BatchRecordDecisionsRequestBuilder.java | 15 + .../ContactedReviewersRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...ccessReviewReviewerItemRequestBuilder.java | 39 + .../definition/DefinitionRequestBuilder.java | 15 + .../ResetDecisionsRequestBuilder.java | 15 + .../SendReminderRequestBuilder.java | 15 + .../instance/stages/StagesRequestBuilder.java | 36 + .../stages/count/CountRequestBuilder.java | 15 + ...lterByCurrentUserWithOnRequestBuilder.java | 15 + .../AccessReviewStageItemRequestBuilder.java | 51 + .../AcceptRecommendationsRequestBuilder.java | 15 + .../BatchRecordDecisionsRequestBuilder.java | 15 + .../decisions/DecisionsRequestBuilder.java | 39 + .../decisions/count/CountRequestBuilder.java | 15 + ...lterByCurrentUserWithOnRequestBuilder.java | 15 + ...nstanceDecisionItemItemRequestBuilder.java | 42 + .../item/insights/InsightsRequestBuilder.java | 33 + .../insights/count/CountRequestBuilder.java | 15 + .../GovernanceInsightItemRequestBuilder.java | 39 + .../RecordAllDecisionsRequestBuilder.java | 15 + .../stages/item/stop/StopRequestBuilder.java | 15 + .../instance/stop/StopRequestBuilder.java | 15 + .../StopApplyDecisionsRequestBuilder.java | 15 + .../RecordAllDecisionsRequestBuilder.java | 15 + .../definition/DefinitionRequestBuilder.java | 15 + .../ResetDecisionsRequestBuilder.java | 15 + .../SendReminderRequestBuilder.java | 15 + .../item/stages/StagesRequestBuilder.java | 36 + .../stages/count/CountRequestBuilder.java | 15 + ...lterByCurrentUserWithOnRequestBuilder.java | 15 + .../AccessReviewStageItemRequestBuilder.java | 51 + .../AcceptRecommendationsRequestBuilder.java | 15 + .../BatchRecordDecisionsRequestBuilder.java | 15 + .../decisions/DecisionsRequestBuilder.java | 39 + .../decisions/count/CountRequestBuilder.java | 15 + ...lterByCurrentUserWithOnRequestBuilder.java | 15 + ...nstanceDecisionItemItemRequestBuilder.java | 45 + .../item/insights/InsightsRequestBuilder.java | 33 + .../insights/count/CountRequestBuilder.java | 15 + .../GovernanceInsightItemRequestBuilder.java | 39 + .../item/instance/InstanceRequestBuilder.java | 72 + .../AcceptRecommendationsRequestBuilder.java | 15 + .../ApplyDecisionsRequestBuilder.java | 15 + ...ovidedResourceDecisionsRequestBuilder.java | 15 + .../BatchRecordDecisionsRequestBuilder.java | 15 + .../ContactedReviewersRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...ccessReviewReviewerItemRequestBuilder.java | 39 + .../decisions/DecisionsRequestBuilder.java | 39 + .../decisions/count/CountRequestBuilder.java | 15 + ...lterByCurrentUserWithOnRequestBuilder.java | 15 + ...nstanceDecisionItemItemRequestBuilder.java | 42 + .../item/insights/InsightsRequestBuilder.java | 33 + .../insights/count/CountRequestBuilder.java | 15 + .../GovernanceInsightItemRequestBuilder.java | 39 + .../RecordAllDecisionsRequestBuilder.java | 15 + .../definition/DefinitionRequestBuilder.java | 15 + .../ResetDecisionsRequestBuilder.java | 15 + .../SendReminderRequestBuilder.java | 15 + .../instance/stop/StopRequestBuilder.java | 15 + .../StopApplyDecisionsRequestBuilder.java | 15 + .../RecordAllDecisionsRequestBuilder.java | 15 + .../stages/item/stop/StopRequestBuilder.java | 15 + .../item/stop/StopRequestBuilder.java | 15 + .../StopApplyDecisionsRequestBuilder.java | 15 + .../appconsent/AppConsentRequestBuilder.java | 42 + .../AppConsentRequestsRequestBuilder.java | 36 + .../count/CountRequestBuilder.java | 15 + ...lterByCurrentUserWithOnRequestBuilder.java | 15 + .../AppConsentRequestItemRequestBuilder.java | 42 + .../UserConsentRequestsRequestBuilder.java | 36 + .../count/CountRequestBuilder.java | 15 + ...lterByCurrentUserWithOnRequestBuilder.java | 15 + .../UserConsentRequestItemRequestBuilder.java | 42 + .../item/approval/ApprovalRequestBuilder.java | 42 + .../approval/steps/StepsRequestBuilder.java | 33 + .../steps/count/CountRequestBuilder.java | 15 + .../item/ApprovalStepItemRequestBuilder.java | 39 + .../EntitlementManagementRequestBuilder.java | 102 + ...kageAssignmentApprovalsRequestBuilder.java | 36 + .../count/CountRequestBuilder.java | 15 + ...lterByCurrentUserWithOnRequestBuilder.java | 15 + .../item/ApprovalItemRequestBuilder.java | 42 + .../item/steps/StepsRequestBuilder.java | 33 + .../item/steps/count/CountRequestBuilder.java | 15 + .../item/ApprovalStepItemRequestBuilder.java | 39 + ...AssignmentResourceRolesRequestBuilder.java | 36 + .../count/CountRequestBuilder.java | 15 + ...ignmentResourceRoleItemRequestBuilder.java | 51 + ...ccessPackageAssignmentsRequestBuilder.java | 21 + .../count/CountRequestBuilder.java | 15 + ...ssPackageAssignmentItemRequestBuilder.java | 15 + ...cessPackageResourceRoleRequestBuilder.java | 42 + .../AccessPackageResourceRequestBuilder.java | 57 + ...kageResourceEnvironmentRequestBuilder.java | 15 + ...essPackageResourceRolesRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...PackageResourceRoleItemRequestBuilder.java | 39 + ...ssPackageResourceScopesRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...ackageResourceScopeItemRequestBuilder.java | 42 + .../AccessPackageResourceRequestBuilder.java | 54 + ...kageResourceEnvironmentRequestBuilder.java | 15 + ...essPackageResourceRolesRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...PackageResourceRoleItemRequestBuilder.java | 39 + ...OriginResourceConnectorRequestBuilder.java | 15 + .../refresh/RefreshRequestBuilder.java | 15 + .../UploadSessionsRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...sourceUploadSessionItemRequestBuilder.java | 45 + .../item/files/FilesRequestBuilder.java | 21 + .../item/files/count/CountRequestBuilder.java | 15 + ...rovidedResourceFileItemRequestBuilder.java | 18 + .../item/value/ContentRequestBuilder.java | 39 + .../uploadfile/UploadFileRequestBuilder.java | 15 + ...OriginResourceConnectorRequestBuilder.java | 15 + .../refresh/RefreshRequestBuilder.java | 15 + .../UploadSessionsRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...sourceUploadSessionItemRequestBuilder.java | 45 + .../item/files/FilesRequestBuilder.java | 21 + .../item/files/count/CountRequestBuilder.java | 15 + ...rovidedResourceFileItemRequestBuilder.java | 18 + .../item/value/ContentRequestBuilder.java | 39 + .../uploadfile/UploadFileRequestBuilder.java | 15 + ...essPackageResourceScopeRequestBuilder.java | 42 + .../AccessPackageResourceRequestBuilder.java | 57 + ...kageResourceEnvironmentRequestBuilder.java | 15 + ...essPackageResourceRolesRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...PackageResourceRoleItemRequestBuilder.java | 42 + .../AccessPackageResourceRequestBuilder.java | 54 + ...kageResourceEnvironmentRequestBuilder.java | 15 + ...ssPackageResourceScopesRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...ackageResourceScopeItemRequestBuilder.java | 39 + ...OriginResourceConnectorRequestBuilder.java | 15 + .../refresh/RefreshRequestBuilder.java | 15 + .../UploadSessionsRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...sourceUploadSessionItemRequestBuilder.java | 45 + .../item/files/FilesRequestBuilder.java | 21 + .../item/files/count/CountRequestBuilder.java | 15 + ...rovidedResourceFileItemRequestBuilder.java | 18 + .../item/value/ContentRequestBuilder.java | 39 + .../uploadfile/UploadFileRequestBuilder.java | 15 + ...ssPackageResourceScopesRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...ackageResourceScopeItemRequestBuilder.java | 39 + ...OriginResourceConnectorRequestBuilder.java | 15 + .../refresh/RefreshRequestBuilder.java | 15 + .../UploadSessionsRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...sourceUploadSessionItemRequestBuilder.java | 45 + .../item/files/FilesRequestBuilder.java | 21 + .../item/files/count/CountRequestBuilder.java | 15 + ...rovidedResourceFileItemRequestBuilder.java | 18 + .../item/value/ContentRequestBuilder.java | 39 + .../uploadfile/UploadFileRequestBuilder.java | 15 + .../AccessPackageSubjectRequestBuilder.java | 42 + .../ConnectedOrganizationRequestBuilder.java | 15 + .../my/MyRequestBuilder.java | 15 + ...ccessPackageAssignmentsRequestBuilder.java | 42 + .../AdditionalAccessRequestBuilder.java | 15 + ...mpatibleAccessPackageIdRequestBuilder.java | 15 + .../count/CountRequestBuilder.java | 15 + ...lterByCurrentUserWithOnRequestBuilder.java | 15 + ...ssPackageAssignmentItemRequestBuilder.java | 57 + .../AccessPackageRequestBuilder.java | 66 + ...ckageResourceRoleScopesRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...geResourceRoleScopeItemRequestBuilder.java | 45 + ...cessPackageResourceRoleRequestBuilder.java | 42 + .../AccessPackageResourceRequestBuilder.java | 57 + ...kageResourceEnvironmentRequestBuilder.java | 15 + ...essPackageResourceRolesRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...PackageResourceRoleItemRequestBuilder.java | 39 + ...ssPackageResourceScopesRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...ackageResourceScopeItemRequestBuilder.java | 42 + .../AccessPackageResourceRequestBuilder.java | 54 + ...kageResourceEnvironmentRequestBuilder.java | 15 + ...essPackageResourceRolesRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...PackageResourceRoleItemRequestBuilder.java | 39 + ...OriginResourceConnectorRequestBuilder.java | 15 + .../refresh/RefreshRequestBuilder.java | 15 + .../UploadSessionsRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...sourceUploadSessionItemRequestBuilder.java | 45 + .../item/files/FilesRequestBuilder.java | 21 + .../item/files/count/CountRequestBuilder.java | 15 + ...rovidedResourceFileItemRequestBuilder.java | 18 + .../item/value/ContentRequestBuilder.java | 39 + .../uploadfile/UploadFileRequestBuilder.java | 15 + ...OriginResourceConnectorRequestBuilder.java | 15 + .../refresh/RefreshRequestBuilder.java | 15 + .../UploadSessionsRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...sourceUploadSessionItemRequestBuilder.java | 45 + .../item/files/FilesRequestBuilder.java | 21 + .../item/files/count/CountRequestBuilder.java | 15 + ...rovidedResourceFileItemRequestBuilder.java | 18 + .../item/value/ContentRequestBuilder.java | 39 + .../uploadfile/UploadFileRequestBuilder.java | 15 + ...essPackageResourceScopeRequestBuilder.java | 42 + .../AccessPackageResourceRequestBuilder.java | 57 + ...kageResourceEnvironmentRequestBuilder.java | 15 + ...essPackageResourceRolesRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...PackageResourceRoleItemRequestBuilder.java | 42 + .../AccessPackageResourceRequestBuilder.java | 54 + ...kageResourceEnvironmentRequestBuilder.java | 15 + ...ssPackageResourceScopesRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...ackageResourceScopeItemRequestBuilder.java | 39 + ...OriginResourceConnectorRequestBuilder.java | 15 + .../refresh/RefreshRequestBuilder.java | 15 + .../UploadSessionsRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...sourceUploadSessionItemRequestBuilder.java | 45 + .../item/files/FilesRequestBuilder.java | 21 + .../item/files/count/CountRequestBuilder.java | 15 + ...rovidedResourceFileItemRequestBuilder.java | 18 + .../item/value/ContentRequestBuilder.java | 39 + .../uploadfile/UploadFileRequestBuilder.java | 15 + ...ssPackageResourceScopesRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...ackageResourceScopeItemRequestBuilder.java | 39 + ...OriginResourceConnectorRequestBuilder.java | 15 + .../refresh/RefreshRequestBuilder.java | 15 + .../UploadSessionsRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...sourceUploadSessionItemRequestBuilder.java | 45 + .../item/files/FilesRequestBuilder.java | 21 + .../item/files/count/CountRequestBuilder.java | 15 + ...rovidedResourceFileItemRequestBuilder.java | 18 + .../item/value/ContentRequestBuilder.java | 39 + .../uploadfile/UploadFileRequestBuilder.java | 15 + ...ackagesIncompatibleWithRequestBuilder.java | 21 + .../count/CountRequestBuilder.java | 15 + .../item/AccessPackageItemRequestBuilder.java | 15 + ...tibleWithWithUniqueNameRequestBuilder.java | 15 + ...cablePolicyRequirementsRequestBuilder.java | 15 + ...ompatibleAccessPackagesRequestBuilder.java | 21 + .../count/CountRequestBuilder.java | 15 + .../item/ref/RefRequestBuilder.java | 15 + .../ref/RefRequestBuilder.java | 39 + .../IncompatibleGroupsRequestBuilder.java | 21 + .../count/CountRequestBuilder.java | 15 + .../item/ref/RefRequestBuilder.java | 15 + ...rviceProvisioningErrorsRequestBuilder.java | 18 + .../count/CountRequestBuilder.java | 15 + .../ref/RefRequestBuilder.java | 39 + .../MoveToCatalogRequestBuilder.java | 15 + ...AssignmentResourceRolesRequestBuilder.java | 36 + .../count/CountRequestBuilder.java | 15 + ...ignmentResourceRoleItemRequestBuilder.java | 51 + ...ccessPackageAssignmentsRequestBuilder.java | 21 + .../count/CountRequestBuilder.java | 15 + ...ssPackageAssignmentItemRequestBuilder.java | 15 + ...cessPackageResourceRoleRequestBuilder.java | 42 + .../AccessPackageResourceRequestBuilder.java | 57 + ...kageResourceEnvironmentRequestBuilder.java | 15 + ...essPackageResourceRolesRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...PackageResourceRoleItemRequestBuilder.java | 39 + ...ssPackageResourceScopesRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...ackageResourceScopeItemRequestBuilder.java | 42 + .../AccessPackageResourceRequestBuilder.java | 54 + ...kageResourceEnvironmentRequestBuilder.java | 15 + ...essPackageResourceRolesRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...PackageResourceRoleItemRequestBuilder.java | 39 + ...OriginResourceConnectorRequestBuilder.java | 15 + .../refresh/RefreshRequestBuilder.java | 15 + .../UploadSessionsRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...sourceUploadSessionItemRequestBuilder.java | 45 + .../item/files/FilesRequestBuilder.java | 21 + .../item/files/count/CountRequestBuilder.java | 15 + ...rovidedResourceFileItemRequestBuilder.java | 18 + .../item/value/ContentRequestBuilder.java | 39 + .../uploadfile/UploadFileRequestBuilder.java | 15 + ...OriginResourceConnectorRequestBuilder.java | 15 + .../refresh/RefreshRequestBuilder.java | 15 + .../UploadSessionsRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...sourceUploadSessionItemRequestBuilder.java | 45 + .../item/files/FilesRequestBuilder.java | 21 + .../item/files/count/CountRequestBuilder.java | 15 + ...rovidedResourceFileItemRequestBuilder.java | 18 + .../item/value/ContentRequestBuilder.java | 39 + .../uploadfile/UploadFileRequestBuilder.java | 15 + ...essPackageResourceScopeRequestBuilder.java | 42 + .../AccessPackageResourceRequestBuilder.java | 57 + ...kageResourceEnvironmentRequestBuilder.java | 15 + ...essPackageResourceRolesRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...PackageResourceRoleItemRequestBuilder.java | 42 + .../AccessPackageResourceRequestBuilder.java | 54 + ...kageResourceEnvironmentRequestBuilder.java | 15 + ...ssPackageResourceScopesRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...ackageResourceScopeItemRequestBuilder.java | 39 + ...OriginResourceConnectorRequestBuilder.java | 15 + .../refresh/RefreshRequestBuilder.java | 15 + .../UploadSessionsRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...sourceUploadSessionItemRequestBuilder.java | 45 + .../item/files/FilesRequestBuilder.java | 21 + .../item/files/count/CountRequestBuilder.java | 15 + ...rovidedResourceFileItemRequestBuilder.java | 18 + .../item/value/ContentRequestBuilder.java | 39 + .../uploadfile/UploadFileRequestBuilder.java | 15 + ...ssPackageResourceScopesRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...ackageResourceScopeItemRequestBuilder.java | 39 + ...OriginResourceConnectorRequestBuilder.java | 15 + .../refresh/RefreshRequestBuilder.java | 15 + .../UploadSessionsRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...sourceUploadSessionItemRequestBuilder.java | 45 + .../item/files/FilesRequestBuilder.java | 21 + .../item/files/count/CountRequestBuilder.java | 15 + ...rovidedResourceFileItemRequestBuilder.java | 18 + .../item/value/ContentRequestBuilder.java | 39 + .../uploadfile/UploadFileRequestBuilder.java | 15 + .../AccessPackageSubjectRequestBuilder.java | 42 + .../ConnectedOrganizationRequestBuilder.java | 15 + .../my/MyRequestBuilder.java | 15 + .../reprocess/ReprocessRequestBuilder.java | 15 + .../item/target/TargetRequestBuilder.java | 42 + .../ConnectedOrganizationRequestBuilder.java | 15 + ...ageResourceEnvironmentsRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...ResourceEnvironmentItemRequestBuilder.java | 42 + .../AccessPackageResourcesRequestBuilder.java | 21 + .../count/CountRequestBuilder.java | 15 + ...cessPackageResourceItemRequestBuilder.java | 15 + ...PackageResourceRequestsRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...kageResourceRequestItemRequestBuilder.java | 45 + .../AccessPackageResourceRequestBuilder.java | 15 + .../requestor/RequestorRequestBuilder.java | 42 + .../ConnectedOrganizationRequestBuilder.java | 15 + ...ckageResourceRoleScopesRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...geResourceRoleScopeItemRequestBuilder.java | 45 + ...cessPackageResourceRoleRequestBuilder.java | 42 + .../AccessPackageResourceRequestBuilder.java | 57 + ...kageResourceEnvironmentRequestBuilder.java | 15 + ...essPackageResourceRolesRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...PackageResourceRoleItemRequestBuilder.java | 39 + ...ssPackageResourceScopesRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...ackageResourceScopeItemRequestBuilder.java | 42 + .../AccessPackageResourceRequestBuilder.java | 54 + ...kageResourceEnvironmentRequestBuilder.java | 15 + ...essPackageResourceRolesRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...PackageResourceRoleItemRequestBuilder.java | 39 + ...OriginResourceConnectorRequestBuilder.java | 15 + .../refresh/RefreshRequestBuilder.java | 15 + .../UploadSessionsRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...sourceUploadSessionItemRequestBuilder.java | 45 + .../item/files/FilesRequestBuilder.java | 21 + .../item/files/count/CountRequestBuilder.java | 15 + ...rovidedResourceFileItemRequestBuilder.java | 18 + .../item/value/ContentRequestBuilder.java | 39 + .../uploadfile/UploadFileRequestBuilder.java | 15 + ...OriginResourceConnectorRequestBuilder.java | 15 + .../refresh/RefreshRequestBuilder.java | 15 + .../UploadSessionsRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...sourceUploadSessionItemRequestBuilder.java | 45 + .../item/files/FilesRequestBuilder.java | 21 + .../item/files/count/CountRequestBuilder.java | 15 + ...rovidedResourceFileItemRequestBuilder.java | 18 + .../item/value/ContentRequestBuilder.java | 39 + .../uploadfile/UploadFileRequestBuilder.java | 15 + ...essPackageResourceScopeRequestBuilder.java | 42 + .../AccessPackageResourceRequestBuilder.java | 57 + ...kageResourceEnvironmentRequestBuilder.java | 15 + ...essPackageResourceRolesRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...PackageResourceRoleItemRequestBuilder.java | 42 + .../AccessPackageResourceRequestBuilder.java | 54 + ...kageResourceEnvironmentRequestBuilder.java | 15 + ...ssPackageResourceScopesRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...ackageResourceScopeItemRequestBuilder.java | 39 + ...OriginResourceConnectorRequestBuilder.java | 15 + .../refresh/RefreshRequestBuilder.java | 15 + .../UploadSessionsRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...sourceUploadSessionItemRequestBuilder.java | 45 + .../item/files/FilesRequestBuilder.java | 21 + .../item/files/count/CountRequestBuilder.java | 15 + ...rovidedResourceFileItemRequestBuilder.java | 18 + .../item/value/ContentRequestBuilder.java | 39 + .../uploadfile/UploadFileRequestBuilder.java | 15 + ...ssPackageResourceScopesRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...ackageResourceScopeItemRequestBuilder.java | 39 + ...OriginResourceConnectorRequestBuilder.java | 15 + .../refresh/RefreshRequestBuilder.java | 15 + .../UploadSessionsRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...sourceUploadSessionItemRequestBuilder.java | 45 + .../item/files/FilesRequestBuilder.java | 21 + .../item/files/count/CountRequestBuilder.java | 15 + ...rovidedResourceFileItemRequestBuilder.java | 18 + .../item/value/ContentRequestBuilder.java | 39 + .../uploadfile/UploadFileRequestBuilder.java | 15 + .../AccessPackageResourcesRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...cessPackageResourceItemRequestBuilder.java | 57 + ...kageResourceEnvironmentRequestBuilder.java | 15 + ...essPackageResourceRolesRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...PackageResourceRoleItemRequestBuilder.java | 42 + .../AccessPackageResourceRequestBuilder.java | 54 + ...kageResourceEnvironmentRequestBuilder.java | 15 + ...ssPackageResourceScopesRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...ackageResourceScopeItemRequestBuilder.java | 42 + .../AccessPackageResourceRequestBuilder.java | 51 + ...kageResourceEnvironmentRequestBuilder.java | 15 + ...OriginResourceConnectorRequestBuilder.java | 15 + .../refresh/RefreshRequestBuilder.java | 15 + .../UploadSessionsRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...sourceUploadSessionItemRequestBuilder.java | 45 + .../item/files/FilesRequestBuilder.java | 21 + .../item/files/count/CountRequestBuilder.java | 15 + ...rovidedResourceFileItemRequestBuilder.java | 18 + .../item/value/ContentRequestBuilder.java | 39 + .../uploadfile/UploadFileRequestBuilder.java | 15 + ...OriginResourceConnectorRequestBuilder.java | 15 + .../refresh/RefreshRequestBuilder.java | 15 + .../UploadSessionsRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...sourceUploadSessionItemRequestBuilder.java | 45 + .../item/files/FilesRequestBuilder.java | 21 + .../item/files/count/CountRequestBuilder.java | 15 + ...rovidedResourceFileItemRequestBuilder.java | 18 + .../item/value/ContentRequestBuilder.java | 39 + .../uploadfile/UploadFileRequestBuilder.java | 15 + ...ssPackageResourceScopesRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...ackageResourceScopeItemRequestBuilder.java | 42 + .../AccessPackageResourceRequestBuilder.java | 54 + ...kageResourceEnvironmentRequestBuilder.java | 15 + ...essPackageResourceRolesRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...PackageResourceRoleItemRequestBuilder.java | 42 + .../AccessPackageResourceRequestBuilder.java | 51 + ...kageResourceEnvironmentRequestBuilder.java | 15 + ...OriginResourceConnectorRequestBuilder.java | 15 + .../refresh/RefreshRequestBuilder.java | 15 + .../UploadSessionsRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...sourceUploadSessionItemRequestBuilder.java | 45 + .../item/files/FilesRequestBuilder.java | 21 + .../item/files/count/CountRequestBuilder.java | 15 + ...rovidedResourceFileItemRequestBuilder.java | 18 + .../item/value/ContentRequestBuilder.java | 39 + .../uploadfile/UploadFileRequestBuilder.java | 15 + ...OriginResourceConnectorRequestBuilder.java | 15 + .../refresh/RefreshRequestBuilder.java | 15 + .../UploadSessionsRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...sourceUploadSessionItemRequestBuilder.java | 45 + .../item/files/FilesRequestBuilder.java | 21 + .../item/files/count/CountRequestBuilder.java | 15 + ...rovidedResourceFileItemRequestBuilder.java | 18 + .../item/value/ContentRequestBuilder.java | 39 + .../uploadfile/UploadFileRequestBuilder.java | 15 + ...OriginResourceConnectorRequestBuilder.java | 15 + .../item/refresh/RefreshRequestBuilder.java | 15 + .../UploadSessionsRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...sourceUploadSessionItemRequestBuilder.java | 45 + .../item/files/FilesRequestBuilder.java | 21 + .../item/files/count/CountRequestBuilder.java | 15 + ...rovidedResourceFileItemRequestBuilder.java | 18 + .../item/value/ContentRequestBuilder.java | 39 + .../uploadfile/UploadFileRequestBuilder.java | 15 + .../AccessPackagesRequestBuilder.java | 39 + .../count/CountRequestBuilder.java | 15 + ...lterByCurrentUserWithOnRequestBuilder.java | 15 + .../item/AccessPackageItemRequestBuilder.java | 66 + ...ckageResourceRoleScopesRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...geResourceRoleScopeItemRequestBuilder.java | 45 + ...cessPackageResourceRoleRequestBuilder.java | 42 + .../AccessPackageResourceRequestBuilder.java | 57 + ...kageResourceEnvironmentRequestBuilder.java | 15 + ...essPackageResourceRolesRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...PackageResourceRoleItemRequestBuilder.java | 39 + ...ssPackageResourceScopesRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...ackageResourceScopeItemRequestBuilder.java | 42 + .../AccessPackageResourceRequestBuilder.java | 54 + ...kageResourceEnvironmentRequestBuilder.java | 15 + ...essPackageResourceRolesRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...PackageResourceRoleItemRequestBuilder.java | 39 + ...OriginResourceConnectorRequestBuilder.java | 15 + .../refresh/RefreshRequestBuilder.java | 15 + .../UploadSessionsRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...sourceUploadSessionItemRequestBuilder.java | 45 + .../item/files/FilesRequestBuilder.java | 21 + .../item/files/count/CountRequestBuilder.java | 15 + ...rovidedResourceFileItemRequestBuilder.java | 18 + .../item/value/ContentRequestBuilder.java | 39 + .../uploadfile/UploadFileRequestBuilder.java | 15 + ...OriginResourceConnectorRequestBuilder.java | 15 + .../refresh/RefreshRequestBuilder.java | 15 + .../UploadSessionsRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...sourceUploadSessionItemRequestBuilder.java | 45 + .../item/files/FilesRequestBuilder.java | 21 + .../item/files/count/CountRequestBuilder.java | 15 + ...rovidedResourceFileItemRequestBuilder.java | 18 + .../item/value/ContentRequestBuilder.java | 39 + .../uploadfile/UploadFileRequestBuilder.java | 15 + ...essPackageResourceScopeRequestBuilder.java | 42 + .../AccessPackageResourceRequestBuilder.java | 57 + ...kageResourceEnvironmentRequestBuilder.java | 15 + ...essPackageResourceRolesRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...PackageResourceRoleItemRequestBuilder.java | 42 + .../AccessPackageResourceRequestBuilder.java | 54 + ...kageResourceEnvironmentRequestBuilder.java | 15 + ...ssPackageResourceScopesRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...ackageResourceScopeItemRequestBuilder.java | 39 + ...OriginResourceConnectorRequestBuilder.java | 15 + .../refresh/RefreshRequestBuilder.java | 15 + .../UploadSessionsRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...sourceUploadSessionItemRequestBuilder.java | 45 + .../item/files/FilesRequestBuilder.java | 21 + .../item/files/count/CountRequestBuilder.java | 15 + ...rovidedResourceFileItemRequestBuilder.java | 18 + .../item/value/ContentRequestBuilder.java | 39 + .../uploadfile/UploadFileRequestBuilder.java | 15 + ...ssPackageResourceScopesRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...ackageResourceScopeItemRequestBuilder.java | 39 + ...OriginResourceConnectorRequestBuilder.java | 15 + .../refresh/RefreshRequestBuilder.java | 15 + .../UploadSessionsRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...sourceUploadSessionItemRequestBuilder.java | 45 + .../item/files/FilesRequestBuilder.java | 21 + .../item/files/count/CountRequestBuilder.java | 15 + ...rovidedResourceFileItemRequestBuilder.java | 18 + .../item/value/ContentRequestBuilder.java | 39 + .../uploadfile/UploadFileRequestBuilder.java | 15 + ...ackagesIncompatibleWithRequestBuilder.java | 21 + .../count/CountRequestBuilder.java | 15 + .../item/AccessPackageItemRequestBuilder.java | 15 + ...tibleWithWithUniqueNameRequestBuilder.java | 15 + ...cablePolicyRequirementsRequestBuilder.java | 15 + ...ompatibleAccessPackagesRequestBuilder.java | 21 + .../count/CountRequestBuilder.java | 15 + .../item/ref/RefRequestBuilder.java | 15 + .../ref/RefRequestBuilder.java | 39 + .../IncompatibleGroupsRequestBuilder.java | 21 + .../count/CountRequestBuilder.java | 15 + .../item/ref/RefRequestBuilder.java | 15 + ...rviceProvisioningErrorsRequestBuilder.java | 18 + .../count/CountRequestBuilder.java | 15 + .../ref/RefRequestBuilder.java | 39 + .../MoveToCatalogRequestBuilder.java | 15 + .../search/SearchRequestBuilder.java | 15 + ...ccessPackageSuggestionsRequestBuilder.java | 36 + .../count/CountRequestBuilder.java | 15 + ...lterByCurrentUserWithOnRequestBuilder.java | 15 + ...ssPackageSuggestionItemRequestBuilder.java | 42 + .../AccessPackageRequestBuilder.java | 15 + ...sPackagesWithUniqueNameRequestBuilder.java | 45 + ...cablePolicyRequirementsRequestBuilder.java | 15 + .../MoveToCatalogRequestBuilder.java | 15 + ...AvailableAccessPackagesRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...ilableAccessPackageItemRequestBuilder.java | 42 + .../ResourceRoleScopesRequestBuilder.java | 21 + .../count/CountRequestBuilder.java | 15 + ...geResourceRoleScopeItemRequestBuilder.java | 15 + .../ConnectedOrganizationsRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...nnectedOrganizationItemRequestBuilder.java | 45 + .../ExternalSponsorsRequestBuilder.java | 21 + .../count/CountRequestBuilder.java | 15 + .../item/ref/RefRequestBuilder.java | 15 + .../ref/RefRequestBuilder.java | 39 + .../InternalSponsorsRequestBuilder.java | 21 + .../count/CountRequestBuilder.java | 15 + .../item/ref/RefRequestBuilder.java | 15 + .../ref/RefRequestBuilder.java | 39 + ...riginResourceConnectorsRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...inResourceConnectorItemRequestBuilder.java | 39 + .../settings/SettingsRequestBuilder.java | 39 + .../subjects/SubjectsRequestBuilder.java | 33 + .../subjects/count/CountRequestBuilder.java | 15 + ...ccessPackageSubjectItemRequestBuilder.java | 42 + .../ConnectedOrganizationRequestBuilder.java | 15 + .../SubjectsWithObjectIdRequestBuilder.java | 39 + .../LifecycleWorkflowsRequestBuilder.java | 84 + .../CustomTaskExtensionsRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...CustomTaskExtensionItemRequestBuilder.java | 45 + .../createdby/CreatedByRequestBuilder.java | 21 + .../MailboxSettingsRequestBuilder.java | 27 + ...rviceProvisioningErrorsRequestBuilder.java | 18 + .../count/CountRequestBuilder.java | 15 + .../LastModifiedByRequestBuilder.java | 21 + .../MailboxSettingsRequestBuilder.java | 27 + ...rviceProvisioningErrorsRequestBuilder.java | 18 + .../count/CountRequestBuilder.java | 15 + .../DeletedItemsRequestBuilder.java | 42 + .../LifecyclePoliciesRequestBuilder.java | 208 + .../count/CountRequestBuilder.java | 143 + .../LifecyclePolicyItemRequestBuilder.java | 260 ++ .../createdby/CreatedByRequestBuilder.java | 144 + .../LastModifiedByRequestBuilder.java | 144 + ...entityGovernanceRestoreRequestBuilder.java | 111 + .../item/rules/RulesRequestBuilder.java | 196 + ...LifecyclePolicyRuleItemRequestBuilder.java | 144 + .../item/versions/VersionsRequestBuilder.java | 196 + .../LifecyclePolicyItemRequestBuilder.java | 192 + .../createdby/CreatedByRequestBuilder.java | 144 + .../LastModifiedByRequestBuilder.java | 144 + ...entityGovernanceRestoreRequestBuilder.java | 111 + .../item/rules/RulesRequestBuilder.java | 208 + .../item/rules/count/CountRequestBuilder.java | 143 + ...LifecyclePolicyRuleItemRequestBuilder.java | 144 + .../workflows/WorkflowsRequestBuilder.java | 21 + .../workflows/count/CountRequestBuilder.java | 15 + .../item/WorkflowItemRequestBuilder.java | 87 + ...inistrationScopeTargetsRequestBuilder.java | 21 + .../count/CountRequestBuilder.java | 15 + .../DirectoryObjectItemRequestBuilder.java | 15 + .../createdby/CreatedByRequestBuilder.java | 21 + .../MailboxSettingsRequestBuilder.java | 27 + ...rviceProvisioningErrorsRequestBuilder.java | 18 + .../count/CountRequestBuilder.java | 15 + .../ExecutionScopeRequestBuilder.java | 21 + .../count/CountRequestBuilder.java | 15 + ...serProcessingResultItemRequestBuilder.java | 15 + .../LastModifiedByRequestBuilder.java | 21 + .../MailboxSettingsRequestBuilder.java | 27 + ...rviceProvisioningErrorsRequestBuilder.java | 18 + .../count/CountRequestBuilder.java | 15 + ...ntityGovernanceActivateRequestBuilder.java | 15 + ...vernanceActivateAndWaitRequestBuilder.java | 15 + ...rnanceActivateWithScopeRequestBuilder.java | 15 + ...vernanceClearQuarantineRequestBuilder.java | 15 + ...ernanceCreateNewVersionRequestBuilder.java | 15 + ...entityGovernanceRestoreRequestBuilder.java | 15 + .../item/runs/RunsRequestBuilder.java | 24 + .../item/runs/count/CountRequestBuilder.java | 15 + .../item/runs/item/RunItemRequestBuilder.java | 27 + .../ReprocessedRunsRequestBuilder.java | 21 + .../count/CountRequestBuilder.java | 15 + .../item/RunItemRequestBuilder.java | 15 + ...ubjectProcessingResultsRequestBuilder.java | 38 + .../count/CountRequestBuilder.java | 15 + ...ectProcessingResultItemRequestBuilder.java | 21 + .../ReprocessedRunsRequestBuilder.java | 21 + .../count/CountRequestBuilder.java | 15 + .../item/RunItemRequestBuilder.java | 15 + .../TaskProcessingResultsRequestBuilder.java | 21 + .../count/CountRequestBuilder.java | 15 + ...askProcessingResultItemRequestBuilder.java | 24 + ...dentityGovernanceResumeRequestBuilder.java | 15 + .../item/subject/SubjectRequestBuilder.java | 21 + .../MailboxSettingsRequestBuilder.java | 27 + ...rviceProvisioningErrorsRequestBuilder.java | 18 + .../count/CountRequestBuilder.java | 15 + .../item/task/TaskRequestBuilder.java | 15 + ...DateTimeWithEndDateTimeRequestBuilder.java | 116 + .../TaskProcessingResultsRequestBuilder.java | 21 + .../count/CountRequestBuilder.java | 15 + ...askProcessingResultItemRequestBuilder.java | 24 + ...dentityGovernanceResumeRequestBuilder.java | 15 + .../item/subject/SubjectRequestBuilder.java | 21 + .../MailboxSettingsRequestBuilder.java | 27 + ...rviceProvisioningErrorsRequestBuilder.java | 18 + .../count/CountRequestBuilder.java | 15 + .../item/task/TaskRequestBuilder.java | 15 + .../UserProcessingResultsRequestBuilder.java | 24 + .../count/CountRequestBuilder.java | 15 + ...serProcessingResultItemRequestBuilder.java | 24 + .../ReprocessedRunsRequestBuilder.java | 21 + .../count/CountRequestBuilder.java | 15 + .../item/RunItemRequestBuilder.java | 15 + .../item/subject/SubjectRequestBuilder.java | 21 + .../MailboxSettingsRequestBuilder.java | 27 + ...rviceProvisioningErrorsRequestBuilder.java | 18 + .../count/CountRequestBuilder.java | 15 + .../TaskProcessingResultsRequestBuilder.java | 21 + .../count/CountRequestBuilder.java | 15 + ...askProcessingResultItemRequestBuilder.java | 24 + ...dentityGovernanceResumeRequestBuilder.java | 15 + .../item/subject/SubjectRequestBuilder.java | 21 + .../MailboxSettingsRequestBuilder.java | 27 + ...rviceProvisioningErrorsRequestBuilder.java | 18 + .../count/CountRequestBuilder.java | 15 + .../item/task/TaskRequestBuilder.java | 15 + ...DateTimeWithEndDateTimeRequestBuilder.java | 15 + ...DateTimeWithEndDateTimeRequestBuilder.java | 15 + ...ubjectProcessingResultsRequestBuilder.java | 38 + .../count/CountRequestBuilder.java | 15 + ...ectProcessingResultItemRequestBuilder.java | 21 + .../ReprocessedRunsRequestBuilder.java | 21 + .../count/CountRequestBuilder.java | 15 + .../item/RunItemRequestBuilder.java | 15 + .../TaskProcessingResultsRequestBuilder.java | 21 + .../count/CountRequestBuilder.java | 15 + ...askProcessingResultItemRequestBuilder.java | 24 + ...dentityGovernanceResumeRequestBuilder.java | 15 + .../item/subject/SubjectRequestBuilder.java | 21 + .../MailboxSettingsRequestBuilder.java | 27 + ...rviceProvisioningErrorsRequestBuilder.java | 18 + .../count/CountRequestBuilder.java | 15 + .../item/task/TaskRequestBuilder.java | 15 + ...DateTimeWithEndDateTimeRequestBuilder.java | 116 + .../TaskReportsRequestBuilder.java | 24 + .../count/CountRequestBuilder.java | 15 + .../item/TaskReportItemRequestBuilder.java | 24 + .../item/task/TaskRequestBuilder.java | 15 + .../TaskDefinitionRequestBuilder.java | 15 + .../TaskProcessingResultsRequestBuilder.java | 21 + .../count/CountRequestBuilder.java | 15 + ...askProcessingResultItemRequestBuilder.java | 24 + ...dentityGovernanceResumeRequestBuilder.java | 15 + .../item/subject/SubjectRequestBuilder.java | 21 + .../MailboxSettingsRequestBuilder.java | 27 + ...rviceProvisioningErrorsRequestBuilder.java | 18 + .../count/CountRequestBuilder.java | 15 + .../item/task/TaskRequestBuilder.java | 15 + ...DateTimeWithEndDateTimeRequestBuilder.java | 15 + .../item/tasks/TasksRequestBuilder.java | 33 + .../item/tasks/count/CountRequestBuilder.java | 15 + .../tasks/item/TaskItemRequestBuilder.java | 42 + .../TaskProcessingResultsRequestBuilder.java | 21 + .../count/CountRequestBuilder.java | 15 + ...askProcessingResultItemRequestBuilder.java | 24 + ...dentityGovernanceResumeRequestBuilder.java | 15 + .../item/subject/SubjectRequestBuilder.java | 21 + .../MailboxSettingsRequestBuilder.java | 27 + ...rviceProvisioningErrorsRequestBuilder.java | 18 + .../count/CountRequestBuilder.java | 15 + .../item/task/TaskRequestBuilder.java | 15 + .../UserProcessingResultsRequestBuilder.java | 24 + .../count/CountRequestBuilder.java | 15 + ...serProcessingResultItemRequestBuilder.java | 24 + .../ReprocessedRunsRequestBuilder.java | 21 + .../count/CountRequestBuilder.java | 15 + .../item/RunItemRequestBuilder.java | 15 + .../item/subject/SubjectRequestBuilder.java | 21 + .../MailboxSettingsRequestBuilder.java | 27 + ...rviceProvisioningErrorsRequestBuilder.java | 18 + .../count/CountRequestBuilder.java | 15 + .../TaskProcessingResultsRequestBuilder.java | 21 + .../count/CountRequestBuilder.java | 15 + ...askProcessingResultItemRequestBuilder.java | 24 + ...dentityGovernanceResumeRequestBuilder.java | 15 + .../item/subject/SubjectRequestBuilder.java | 21 + .../MailboxSettingsRequestBuilder.java | 27 + ...rviceProvisioningErrorsRequestBuilder.java | 18 + .../count/CountRequestBuilder.java | 15 + .../item/task/TaskRequestBuilder.java | 15 + ...DateTimeWithEndDateTimeRequestBuilder.java | 15 + .../item/versions/VersionsRequestBuilder.java | 21 + .../versions/count/CountRequestBuilder.java | 15 + ...ersionVersionNumberItemRequestBuilder.java | 27 + ...inistrationScopeTargetsRequestBuilder.java | 21 + .../count/CountRequestBuilder.java | 15 + .../DirectoryObjectItemRequestBuilder.java | 15 + .../createdby/CreatedByRequestBuilder.java | 21 + .../MailboxSettingsRequestBuilder.java | 27 + ...rviceProvisioningErrorsRequestBuilder.java | 18 + .../count/CountRequestBuilder.java | 15 + .../LastModifiedByRequestBuilder.java | 21 + .../MailboxSettingsRequestBuilder.java | 27 + ...rviceProvisioningErrorsRequestBuilder.java | 18 + .../count/CountRequestBuilder.java | 15 + .../item/tasks/TasksRequestBuilder.java | 33 + .../item/tasks/count/CountRequestBuilder.java | 15 + .../tasks/item/TaskItemRequestBuilder.java | 42 + .../TaskProcessingResultsRequestBuilder.java | 21 + .../count/CountRequestBuilder.java | 15 + ...askProcessingResultItemRequestBuilder.java | 24 + ...dentityGovernanceResumeRequestBuilder.java | 15 + .../item/subject/SubjectRequestBuilder.java | 21 + .../MailboxSettingsRequestBuilder.java | 27 + ...rviceProvisioningErrorsRequestBuilder.java | 18 + .../count/CountRequestBuilder.java | 15 + .../item/task/TaskRequestBuilder.java | 15 + .../insights/InsightsRequestBuilder.java | 51 + ...DateTimeWithEndDateTimeRequestBuilder.java | 15 + ...DateTimeWithEndDateTimeRequestBuilder.java | 15 + ...DateTimeWithEndDateTimeRequestBuilder.java | 15 + ...DateTimeWithEndDateTimeRequestBuilder.java | 15 + .../LifecyclePoliciesRequestBuilder.java | 276 ++ .../count/CountRequestBuilder.java | 21 +- .../LifecyclePolicyItemRequestBuilder.java | 260 ++ .../createdby/CreatedByRequestBuilder.java | 144 + .../LastModifiedByRequestBuilder.java | 144 + ...entityGovernanceRestoreRequestBuilder.java | 111 + .../item/rules/RulesRequestBuilder.java | 196 + ...LifecyclePolicyRuleItemRequestBuilder.java | 144 + .../item/versions/VersionsRequestBuilder.java | 196 + .../LifecyclePolicyItemRequestBuilder.java | 192 + .../createdby/CreatedByRequestBuilder.java | 144 + .../LastModifiedByRequestBuilder.java | 144 + ...entityGovernanceRestoreRequestBuilder.java | 111 + .../item/rules/RulesRequestBuilder.java | 208 + .../item/rules/count/CountRequestBuilder.java | 143 + ...LifecyclePolicyRuleItemRequestBuilder.java | 144 + ...yPriorityConfigurationsRequestBuilder.java | 208 + .../count/CountRequestBuilder.java | 143 + ...iorityConfigurationItemRequestBuilder.java | 211 + .../settings/SettingsRequestBuilder.java | 27 + .../TaskDefinitionsRequestBuilder.java | 21 + .../count/CountRequestBuilder.java | 15 + .../TaskDefinitionItemRequestBuilder.java | 15 + .../workflows/WorkflowsRequestBuilder.java | 33 + .../workflows/count/CountRequestBuilder.java | 15 + .../item/WorkflowItemRequestBuilder.java | 99 + ...inistrationScopeTargetsRequestBuilder.java | 21 + .../count/CountRequestBuilder.java | 15 + .../DirectoryObjectItemRequestBuilder.java | 15 + .../createdby/CreatedByRequestBuilder.java | 21 + .../MailboxSettingsRequestBuilder.java | 27 + ...rviceProvisioningErrorsRequestBuilder.java | 18 + .../count/CountRequestBuilder.java | 15 + .../ExecutionScopeRequestBuilder.java | 21 + .../count/CountRequestBuilder.java | 15 + ...serProcessingResultItemRequestBuilder.java | 15 + .../LastModifiedByRequestBuilder.java | 21 + .../MailboxSettingsRequestBuilder.java | 27 + ...rviceProvisioningErrorsRequestBuilder.java | 18 + .../count/CountRequestBuilder.java | 15 + ...ntityGovernanceActivateRequestBuilder.java | 15 + ...vernanceActivateAndWaitRequestBuilder.java | 15 + ...rnanceActivateWithScopeRequestBuilder.java | 15 + ...vernanceClearQuarantineRequestBuilder.java | 15 + ...ernanceCreateNewVersionRequestBuilder.java | 15 + ...entityGovernanceRestoreRequestBuilder.java | 15 + .../item/runs/RunsRequestBuilder.java | 24 + .../item/runs/count/CountRequestBuilder.java | 15 + .../item/runs/item/RunItemRequestBuilder.java | 27 + .../ReprocessedRunsRequestBuilder.java | 21 + .../count/CountRequestBuilder.java | 15 + .../item/RunItemRequestBuilder.java | 15 + ...ubjectProcessingResultsRequestBuilder.java | 38 + .../count/CountRequestBuilder.java | 15 + ...ectProcessingResultItemRequestBuilder.java | 21 + .../ReprocessedRunsRequestBuilder.java | 21 + .../count/CountRequestBuilder.java | 15 + .../item/RunItemRequestBuilder.java | 15 + .../TaskProcessingResultsRequestBuilder.java | 21 + .../count/CountRequestBuilder.java | 15 + ...askProcessingResultItemRequestBuilder.java | 24 + ...dentityGovernanceResumeRequestBuilder.java | 15 + .../item/subject/SubjectRequestBuilder.java | 21 + .../MailboxSettingsRequestBuilder.java | 27 + ...rviceProvisioningErrorsRequestBuilder.java | 18 + .../count/CountRequestBuilder.java | 15 + .../item/task/TaskRequestBuilder.java | 15 + ...DateTimeWithEndDateTimeRequestBuilder.java | 116 + .../TaskProcessingResultsRequestBuilder.java | 21 + .../count/CountRequestBuilder.java | 15 + ...askProcessingResultItemRequestBuilder.java | 24 + ...dentityGovernanceResumeRequestBuilder.java | 15 + .../item/subject/SubjectRequestBuilder.java | 21 + .../MailboxSettingsRequestBuilder.java | 27 + ...rviceProvisioningErrorsRequestBuilder.java | 18 + .../count/CountRequestBuilder.java | 15 + .../item/task/TaskRequestBuilder.java | 15 + .../UserProcessingResultsRequestBuilder.java | 24 + .../count/CountRequestBuilder.java | 15 + ...serProcessingResultItemRequestBuilder.java | 24 + .../ReprocessedRunsRequestBuilder.java | 21 + .../count/CountRequestBuilder.java | 15 + .../item/RunItemRequestBuilder.java | 15 + .../item/subject/SubjectRequestBuilder.java | 21 + .../MailboxSettingsRequestBuilder.java | 27 + ...rviceProvisioningErrorsRequestBuilder.java | 18 + .../count/CountRequestBuilder.java | 15 + .../TaskProcessingResultsRequestBuilder.java | 21 + .../count/CountRequestBuilder.java | 15 + ...askProcessingResultItemRequestBuilder.java | 24 + ...dentityGovernanceResumeRequestBuilder.java | 15 + .../item/subject/SubjectRequestBuilder.java | 21 + .../MailboxSettingsRequestBuilder.java | 27 + ...rviceProvisioningErrorsRequestBuilder.java | 18 + .../count/CountRequestBuilder.java | 15 + .../item/task/TaskRequestBuilder.java | 15 + ...DateTimeWithEndDateTimeRequestBuilder.java | 15 + ...DateTimeWithEndDateTimeRequestBuilder.java | 15 + ...ubjectProcessingResultsRequestBuilder.java | 38 + .../count/CountRequestBuilder.java | 15 + ...ectProcessingResultItemRequestBuilder.java | 21 + .../ReprocessedRunsRequestBuilder.java | 21 + .../count/CountRequestBuilder.java | 15 + .../item/RunItemRequestBuilder.java | 15 + .../TaskProcessingResultsRequestBuilder.java | 21 + .../count/CountRequestBuilder.java | 15 + ...askProcessingResultItemRequestBuilder.java | 24 + ...dentityGovernanceResumeRequestBuilder.java | 15 + .../item/subject/SubjectRequestBuilder.java | 21 + .../MailboxSettingsRequestBuilder.java | 27 + ...rviceProvisioningErrorsRequestBuilder.java | 18 + .../count/CountRequestBuilder.java | 15 + .../item/task/TaskRequestBuilder.java | 15 + ...DateTimeWithEndDateTimeRequestBuilder.java | 116 + .../TaskReportsRequestBuilder.java | 24 + .../count/CountRequestBuilder.java | 15 + .../item/TaskReportItemRequestBuilder.java | 24 + .../item/task/TaskRequestBuilder.java | 15 + .../TaskDefinitionRequestBuilder.java | 15 + .../TaskProcessingResultsRequestBuilder.java | 21 + .../count/CountRequestBuilder.java | 15 + ...askProcessingResultItemRequestBuilder.java | 24 + ...dentityGovernanceResumeRequestBuilder.java | 15 + .../item/subject/SubjectRequestBuilder.java | 21 + .../MailboxSettingsRequestBuilder.java | 27 + ...rviceProvisioningErrorsRequestBuilder.java | 18 + .../count/CountRequestBuilder.java | 15 + .../item/task/TaskRequestBuilder.java | 15 + ...DateTimeWithEndDateTimeRequestBuilder.java | 15 + .../item/tasks/TasksRequestBuilder.java | 33 + .../item/tasks/count/CountRequestBuilder.java | 15 + .../tasks/item/TaskItemRequestBuilder.java | 42 + .../TaskProcessingResultsRequestBuilder.java | 21 + .../count/CountRequestBuilder.java | 15 + ...askProcessingResultItemRequestBuilder.java | 24 + ...dentityGovernanceResumeRequestBuilder.java | 15 + .../item/subject/SubjectRequestBuilder.java | 21 + .../MailboxSettingsRequestBuilder.java | 27 + ...rviceProvisioningErrorsRequestBuilder.java | 18 + .../count/CountRequestBuilder.java | 15 + .../item/task/TaskRequestBuilder.java | 15 + .../UserProcessingResultsRequestBuilder.java | 24 + .../count/CountRequestBuilder.java | 15 + ...serProcessingResultItemRequestBuilder.java | 24 + .../ReprocessedRunsRequestBuilder.java | 21 + .../count/CountRequestBuilder.java | 15 + .../item/RunItemRequestBuilder.java | 15 + .../item/subject/SubjectRequestBuilder.java | 21 + .../MailboxSettingsRequestBuilder.java | 27 + ...rviceProvisioningErrorsRequestBuilder.java | 18 + .../count/CountRequestBuilder.java | 15 + .../TaskProcessingResultsRequestBuilder.java | 21 + .../count/CountRequestBuilder.java | 15 + ...askProcessingResultItemRequestBuilder.java | 24 + ...dentityGovernanceResumeRequestBuilder.java | 15 + .../item/subject/SubjectRequestBuilder.java | 21 + .../MailboxSettingsRequestBuilder.java | 27 + ...rviceProvisioningErrorsRequestBuilder.java | 18 + .../count/CountRequestBuilder.java | 15 + .../item/task/TaskRequestBuilder.java | 15 + ...DateTimeWithEndDateTimeRequestBuilder.java | 15 + .../item/versions/VersionsRequestBuilder.java | 21 + .../versions/count/CountRequestBuilder.java | 15 + ...ersionVersionNumberItemRequestBuilder.java | 27 + ...inistrationScopeTargetsRequestBuilder.java | 21 + .../count/CountRequestBuilder.java | 15 + .../DirectoryObjectItemRequestBuilder.java | 15 + .../createdby/CreatedByRequestBuilder.java | 21 + .../MailboxSettingsRequestBuilder.java | 27 + ...rviceProvisioningErrorsRequestBuilder.java | 18 + .../count/CountRequestBuilder.java | 15 + .../LastModifiedByRequestBuilder.java | 21 + .../MailboxSettingsRequestBuilder.java | 27 + ...rviceProvisioningErrorsRequestBuilder.java | 18 + .../count/CountRequestBuilder.java | 15 + .../item/tasks/TasksRequestBuilder.java | 33 + .../item/tasks/count/CountRequestBuilder.java | 15 + .../tasks/item/TaskItemRequestBuilder.java | 42 + .../TaskProcessingResultsRequestBuilder.java | 21 + .../count/CountRequestBuilder.java | 15 + ...askProcessingResultItemRequestBuilder.java | 24 + ...dentityGovernanceResumeRequestBuilder.java | 15 + .../item/subject/SubjectRequestBuilder.java | 21 + .../MailboxSettingsRequestBuilder.java | 27 + ...rviceProvisioningErrorsRequestBuilder.java | 18 + .../count/CountRequestBuilder.java | 15 + .../item/task/TaskRequestBuilder.java | 15 + .../WorkflowTemplatesRequestBuilder.java | 21 + .../count/CountRequestBuilder.java | 15 + .../WorkflowTemplateItemRequestBuilder.java | 18 + .../item/tasks/TasksRequestBuilder.java | 21 + .../item/tasks/count/CountRequestBuilder.java | 15 + .../tasks/item/TaskItemRequestBuilder.java | 18 + .../TaskProcessingResultsRequestBuilder.java | 21 + .../count/CountRequestBuilder.java | 15 + ...askProcessingResultItemRequestBuilder.java | 24 + ...dentityGovernanceResumeRequestBuilder.java | 15 + .../item/subject/SubjectRequestBuilder.java | 21 + .../MailboxSettingsRequestBuilder.java | 27 + ...rviceProvisioningErrorsRequestBuilder.java | 18 + .../count/CountRequestBuilder.java | 15 + .../item/task/TaskRequestBuilder.java | 15 + .../PermissionsAnalyticsRequestBuilder.java | 48 + .../aws/AwsRequestBuilder.java | 45 + .../aws/findings/FindingsRequestBuilder.java | 33 + .../findings/count/CountRequestBuilder.java | 15 + .../item/FindingItemRequestBuilder.java | 39 + ...CreepIndexDistributionsRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...epIndexDistributionItemRequestBuilder.java | 42 + .../AuthorizationSystemRequestBuilder.java | 15 + .../azure/AzureRequestBuilder.java | 45 + .../findings/FindingsRequestBuilder.java | 33 + .../findings/count/CountRequestBuilder.java | 15 + .../item/FindingItemRequestBuilder.java | 39 + ...CreepIndexDistributionsRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...epIndexDistributionItemRequestBuilder.java | 42 + .../AuthorizationSystemRequestBuilder.java | 15 + .../gcp/GcpRequestBuilder.java | 45 + .../gcp/findings/FindingsRequestBuilder.java | 33 + .../findings/count/CountRequestBuilder.java | 15 + .../item/FindingItemRequestBuilder.java | 39 + ...CreepIndexDistributionsRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...epIndexDistributionItemRequestBuilder.java | 42 + .../AuthorizationSystemRequestBuilder.java | 15 + .../PermissionsManagementRequestBuilder.java | 48 + ...rmissionsRequestChangesRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...ssionsRequestChangeItemRequestBuilder.java | 39 + ...ledPermissionsApprovalsRequestBuilder.java | 36 + .../count/CountRequestBuilder.java | 15 + ...lterByCurrentUserWithOnRequestBuilder.java | 15 + .../item/ApprovalItemRequestBuilder.java | 42 + .../item/steps/StepsRequestBuilder.java | 33 + .../item/steps/count/CountRequestBuilder.java | 15 + .../item/ApprovalStepItemRequestBuilder.java | 39 + ...uledPermissionsRequestsRequestBuilder.java | 30 + ...lterByCurrentUserWithOnRequestBuilder.java | 15 + .../PrivilegedAccessRequestBuilder.java | 42 + .../group/GroupRequestBuilder.java | 63 + .../AssignmentApprovalsRequestBuilder.java | 36 + .../count/CountRequestBuilder.java | 15 + ...lterByCurrentUserWithOnRequestBuilder.java | 15 + .../item/ApprovalItemRequestBuilder.java | 42 + .../item/steps/StepsRequestBuilder.java | 33 + .../item/steps/count/CountRequestBuilder.java | 15 + .../item/ApprovalStepItemRequestBuilder.java | 39 + ...gnmentScheduleInstancesRequestBuilder.java | 36 + .../count/CountRequestBuilder.java | 15 + ...lterByCurrentUserWithOnRequestBuilder.java | 15 + ...entScheduleInstanceItemRequestBuilder.java | 48 + .../ActivatedUsingRequestBuilder.java | 15 + .../item/group/GroupRequestBuilder.java | 18 + ...rviceProvisioningErrorsRequestBuilder.java | 18 + .../count/CountRequestBuilder.java | 15 + .../principal/PrincipalRequestBuilder.java | 15 + ...ignmentScheduleRequestsRequestBuilder.java | 36 + .../count/CountRequestBuilder.java | 15 + ...lterByCurrentUserWithOnRequestBuilder.java | 15 + ...mentScheduleRequestItemRequestBuilder.java | 54 + .../ActivatedUsingRequestBuilder.java | 15 + .../item/cancel/CancelRequestBuilder.java | 15 + .../item/group/GroupRequestBuilder.java | 18 + ...rviceProvisioningErrorsRequestBuilder.java | 18 + .../count/CountRequestBuilder.java | 15 + .../principal/PrincipalRequestBuilder.java | 15 + .../TargetScheduleRequestBuilder.java | 15 + .../AssignmentSchedulesRequestBuilder.java | 36 + .../count/CountRequestBuilder.java | 15 + ...lterByCurrentUserWithOnRequestBuilder.java | 15 + ...pAssignmentScheduleItemRequestBuilder.java | 48 + .../ActivatedUsingRequestBuilder.java | 15 + .../item/group/GroupRequestBuilder.java | 18 + ...rviceProvisioningErrorsRequestBuilder.java | 18 + .../count/CountRequestBuilder.java | 15 + .../principal/PrincipalRequestBuilder.java | 15 + ...bilityScheduleInstancesRequestBuilder.java | 36 + .../count/CountRequestBuilder.java | 15 + ...lterByCurrentUserWithOnRequestBuilder.java | 15 + ...ityScheduleInstanceItemRequestBuilder.java | 45 + .../item/group/GroupRequestBuilder.java | 18 + ...rviceProvisioningErrorsRequestBuilder.java | 18 + .../count/CountRequestBuilder.java | 15 + .../principal/PrincipalRequestBuilder.java | 15 + ...ibilityScheduleRequestsRequestBuilder.java | 36 + .../count/CountRequestBuilder.java | 15 + ...lterByCurrentUserWithOnRequestBuilder.java | 15 + ...lityScheduleRequestItemRequestBuilder.java | 51 + .../item/cancel/CancelRequestBuilder.java | 15 + .../item/group/GroupRequestBuilder.java | 18 + ...rviceProvisioningErrorsRequestBuilder.java | 18 + .../count/CountRequestBuilder.java | 15 + .../principal/PrincipalRequestBuilder.java | 15 + .../TargetScheduleRequestBuilder.java | 15 + .../EligibilitySchedulesRequestBuilder.java | 36 + .../count/CountRequestBuilder.java | 15 + ...lterByCurrentUserWithOnRequestBuilder.java | 15 + ...EligibilityScheduleItemRequestBuilder.java | 45 + .../item/group/GroupRequestBuilder.java | 18 + ...rviceProvisioningErrorsRequestBuilder.java | 18 + .../count/CountRequestBuilder.java | 15 + .../principal/PrincipalRequestBuilder.java | 15 + .../resources/ResourcesRequestBuilder.java | 33 + .../resources/count/CountRequestBuilder.java | 15 + .../item/GroupResourceItemRequestBuilder.java | 39 + .../RoleManagementAlertsRequestBuilder.java | 51 + .../AlertConfigurationsRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...tAlertConfigurationItemRequestBuilder.java | 42 + .../AlertDefinitionRequestBuilder.java | 15 + .../AlertDefinitionsRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...mentAlertDefinitionItemRequestBuilder.java | 39 + .../alerts/AlertsRequestBuilder.java | 36 + .../alerts/count/CountRequestBuilder.java | 15 + ...RoleManagementAlertItemRequestBuilder.java | 51 + .../AlertConfigurationRequestBuilder.java | 15 + .../AlertDefinitionRequestBuilder.java | 15 + .../AlertIncidentsRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...gementAlertIncidentItemRequestBuilder.java | 42 + .../remediate/RemediateRequestBuilder.java | 15 + .../item/refresh/RefreshRequestBuilder.java | 15 + .../alerts/refresh/RefreshRequestBuilder.java | 15 + .../operations/OperationsRequestBuilder.java | 33 + .../operations/count/CountRequestBuilder.java | 15 + ...ongRunningOperationItemRequestBuilder.java | 39 + .../termsofuse/TermsOfUseRequestBuilder.java | 45 + .../AgreementAcceptancesRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...AgreementAcceptanceItemRequestBuilder.java | 39 + .../agreements/AgreementsRequestBuilder.java | 33 + .../agreements/count/CountRequestBuilder.java | 15 + .../item/AgreementItemRequestBuilder.java | 48 + .../AcceptancesRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...AgreementAcceptanceItemRequestBuilder.java | 39 + .../item/file/FileRequestBuilder.java | 42 + .../LocalizationsRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...entFileLocalizationItemRequestBuilder.java | 42 + .../item/versions/VersionsRequestBuilder.java | 33 + .../versions/count/CountRequestBuilder.java | 15 + ...greementFileVersionItemRequestBuilder.java | 39 + .../item/files/FilesRequestBuilder.java | 33 + .../item/files/count/CountRequestBuilder.java | 15 + ...entFileLocalizationItemRequestBuilder.java | 42 + .../item/versions/VersionsRequestBuilder.java | 33 + .../versions/count/CountRequestBuilder.java | 15 + ...greementFileVersionItemRequestBuilder.java | 39 + .../graph/beta/generated/kiota-dom-export.txt | 3874 +++++++++++++---- .../graph/beta/generated/kiota-lock.json | 2 +- .../AccessPackageAssignmentRequest.java | 17 + ...ssPackageAssignmentRequestParameters.java} | 32 +- ...tApiBasedEndpointConfigurationDetails.java | 124 + ...tBotBasedEndpointConfigurationDetails.java | 124 + .../AgentCommunicationConfiguration.java | 95 + .../AgentConversationConfiguration.java | 124 + .../models/AgentEndpointConfiguration.java | 158 + .../AgentEndpointConfigurationType.java | 27 + .../beta/generated/models/AgentIdentity.java | 34 + .../models/AgentIdentityBlueprint.java | 17 + .../AgentIdentityBlueprintPrincipal.java | 17 + .../generated/models/AgentIdentityType.java | 4 +- .../models/AgentMessageNotificationMode.java | 27 + .../models/AgentTeamworkConfiguration.java | 175 + .../models/AndroidManagedAppProtection.java | 17 + ...pe.java => ApplicationPermissionType.java} | 8 +- ...ava => ApplicationResourcePermission.java} | 30 +- ...> ApplicationsRequiredResourceAccess.java} | 30 +- .../models/AuthenticationBehaviors.java | 19 +- .../B2BRegistrationMetricsBase.java | 19 +- .../B2BRegistrationMetricsInitial.java | 8 +- .../B2BRegistrationMetricsRecent.java | 8 +- .../B2BSignInActivityMetrics.java | 15 +- .../B2BSignInActivityMetricsBase.java | 27 +- .../B2BSignInActivityMetricsInitial.java | 8 +- .../B2BSignInActivityMetricsRecent.java | 8 +- .../B2bRegistrationMetrics.java | 15 +- .../BillingMetrics.java | 15 +- .../BillingMetricsBase.java | 39 +- .../BillingMetricsInitial.java | 6 +- .../BillingMetricsRecent.java | 6 +- .../models/BrowseQueryResponseItem.java | 16 +- .../beta/generated/models/ChatMessage.java | 34 + .../generated/models/ChatMessageCitation.java | 209 + .../ChatMessageCitationSensitivityLabel.java | 141 + .../graph/beta/generated/models/CloudPC.java | 17 + .../CloudPcProvisioningConfiguration.java | 124 + .../models/ConnectorHealthCheck.java | 144 + .../ConnectorHealthCheckMetricName.java | 39 + .../beta/generated/models/CopilotPackage.java | 17 + .../models/CopilotPackageDetail.java | 86 + .../CrossTenantIdentitySyncPolicyPartner.java | 17 + ...rossTenantRoleEnabledGroupSyncInbound.java | 124 + .../generated/models/CustomExtensionData.java | 1 + ...DelegatedAdministrationRoleAssignment.java | 11 +- ...dAdministrationRoleAssignmentSnapshot.java | 14 +- .../models/DeletedItemContainer.java | 18 + .../generated/models/DeviceAppManagement.java | 71 +- .../models/DeviceComplianceScript.java | 4 +- ...ceManagementConfigurationTechnologies.java | 5 +- .../beta/generated/models/Directory.java | 1 - .../generated/models/DistributionList.java | 12 +- .../models/DistributionListMember.java | 112 + ...tributionListMemberCollectionResponse.java | 61 + .../graph/beta/generated/models/Drive.java | 17 + .../beta/generated/models/DriveSettings.java | 124 + .../beta/generated/models/EmbeddingInput.java | 141 + .../graph/beta/generated/models/Entity.java | 201 +- .../models/FileStorageContainer.java | 17 + ...rageContainerTypeRegistrationSettings.java | 34 +- .../FileStorageContainerTypeSettings.java | 34 +- ...eStorageContainerTypeSettingsOverride.java | 4 +- .../GovernanceInvitation.java | 27 +- ...overnanceInvitationCollectionResponse.java | 3 +- .../GovernanceRelationship.java | 23 +- ...ernanceRelationshipCollectionResponse.java | 3 +- .../GovernanceRequest.java | 39 +- .../GovernanceRequestCollectionResponse.java | 3 +- .../generated/models/ImpactedResource.java | 17 + ...Step.java => InvestigationActionStep.java} | 34 +- ...onUrl.java => InvestigationActionUrl.java} | 22 +- .../IosDdmLobAppAssignmentSettings.java | 18 + .../IosDdmVppAppAssignmentSettings.java | 18 + .../MacOsDdmVppAppAssignmentSettings.java | 18 + .../graph/beta/generated/models/Member.java | 71 +- .../models/MobileAppContentFile.java | 16 + .../MobileAppContentFileUploadErrorCode.java | 44 + .../MultiTenantApplicationMetrics.java | 15 +- .../MultiTenantApplicationMetricsBase.java | 19 +- .../MultiTenantApplicationMetricsInitial.java | 6 +- .../MultiTenantApplicationMetricsRecent.java | 6 +- .../MultiTenantApplicationsToProvision.java | 26 +- ...TenantApplicationsToProvisionSnapshot.java | 26 +- .../beta/generated/models/NdesConnector.java | 32 + .../models/NdesConnectorHealthStatus.java | 42 + .../generated/models/NistClassification.java | 175 + .../models/OnPremisesPublishing.java | 19 +- .../generated/models/PolicyTipAction.java | 8 +- .../generated/models/ProvisionResponse.java | 141 + .../generated/models/RecommendationBase.java | 153 + .../models/RecommendationCategoryGroup.java | 35 + .../models/RecommendationConfiguration.java | 17 + .../models/RecommendationPriority.java | 6 +- .../models/RecommendationStatus.java | 4 +- .../generated/models/RecommendationTag.java | 61 + .../RecommendationTagCollectionResponse.java | 61 + .../RelatedTenant.java | 31 +- .../RelatedTenantCollectionResponse.java | 3 +- .../RelatedTenantsRefreshRequest.java | 7 +- .../RelatedTenantsRefreshStatus.java | 14 +- .../RelationshipCreationType.java | 2 +- .../RelationshipPolicy.java | 18 +- .../RelationshipStatus.java | 2 +- .../beta/generated/models/RemoteAction.java | 8 +- .../RequestStatus.java | 2 +- .../generated/models/RequiredLicenses.java | 4 +- .../models/ResultantAppStateDetail.java | 14 +- .../beta/generated/models/RiskyAgent.java | 1 + .../RiskyAgentDiscoveredAgentIdentity.java | 44 + .../RoleTemplate.java | 10 +- .../SapAssignmentRequestCallbackData.java | 96 + .../generated/models/ServicePrincipal.java | 18 + .../beta/generated/models/SubjectSet.java | 6 + .../TenantGovernance.java | 35 +- ...va => TenantGovernancePolicyTemplate.java} | 47 +- ...nancePolicyTemplateCollectionResponse.java | 61 + .../TenantGovernanceSetting.java | 11 +- .../models/TextClassificationRequest.java | 17 + .../generated/models/UserActivityTypes.java | 4 +- .../WindowsManagedAppDataTransferLevel.java | 8 +- ...indowsManagedAppDataTransferLocations.java | 33 + .../models/WindowsManagedAppProtection.java | 35 + .../models/healthmonitoring/AlertType.java | 10 +- .../models/healthmonitoring/Scenario.java | 4 +- .../AgentIdentityLifecycle.java | 45 + .../AgentIdentityLifecyclePolicy.java | 45 + .../AllExcludingGroupsSubjectSet.java | 64 + ...AllExcludingSpecificObjectsSubjectSet.java | 64 + .../AttestationComplianceIssue.java | 61 + .../identitygovernance/ComplianceIssue.java | 120 + .../ComplianceIssueCollectionResponse.java | 62 + .../DeleteOnlyEnforcementAction.java | 45 + .../DirectoryObjectWorkflowSubject.java | 63 + .../DisableOnlyEnforcementAction.java | 45 + .../DisableThenDeleteEnforcementAction.java | 62 + .../identitygovernance/IdentityLifecycle.java | 104 + .../identitygovernance/InactivityRule.java | 62 + .../identitygovernance/LifecyclePolicy.java | 310 ++ .../LifecyclePolicyCollectionResponse.java | 62 + .../LifecyclePolicyEnforcementAction.java | 116 + .../LifecyclePolicyNotificationSettings.java | 158 + .../LifecyclePolicyPriorityConfiguration.java | 80 + ...iorityConfigurationCollectionResponse.java | 62 + .../LifecyclePolicyRule.java | 71 + ...LifecyclePolicyRuleCollectionResponse.java | 62 + .../LifecyclePolicySource.java | 27 + .../LifecycleWorkflowsContainer.java | 34 + .../PeriodicAttestationRule.java | 62 + .../SelectedObjectsSubjectSet.java | 64 + .../SponsorPresenceRule.java | 62 + .../SubjectProcessingResult.java | 18 + .../identitygovernance/SubjectSummary.java | 192 + .../identitygovernance/SubjectType.java | 29 + .../identitygovernance/WorkflowBase.java | 20 +- .../identitygovernance/WorkflowSubject.java | 1 + .../beta/generated/models/security/Alert.java | 4 +- .../models/security/CaseManagementRoot.java | 4 +- .../models/security/CreateAlertInput.java | 277 ++ .../models/security/EntityDefinition.java | 175 + .../generated/models/security/Incident.java | 4 +- .../security/casemanagement/Attachment.java | 12 +- .../security/casemanagement/AuditLog.java | 4 +- .../security/casemanagement/CaseEscaped.java | 12 +- .../security/casemanagement/Comment.java | 4 +- .../security/casemanagement/GenericCase.java | 20 +- .../security/casemanagement/IncidentCase.java | 128 +- .../models/security/casemanagement/Task.java | 20 +- .../LongRunningOperation.java | 131 - .../LongRunningOperationStatus.java | 31 - .../item/restore/RestoreRequestBuilder.java | 8 +- .../item/restore/RestoreRequestBuilder.java | 8 +- .../alerts_v2/AlertsV2RequestBuilder.java | 9 + .../CreateAlertPostRequestBody.java | 108 + ...raphSecurityCreateAlertRequestBuilder.java | 105 + .../AttachmentsRequestBuilder.java | 8 +- .../item/content/ContentRequestBuilder.java | 28 +- .../relations/RelationsRequestBuilder.java | 18 +- .../item/RelationItemRequestBuilder.java | 30 +- .../tasks/item/TaskItemRequestBuilder.java | 10 +- .../ServicePrincipalsRequestBuilder.java | 45 + .../count/CountRequestBuilder.java | 15 + .../delta/DeltaRequestBuilder.java | 15 + .../getbyids/GetByIdsRequestBuilder.java | 15 + .../GetUserOwnedObjectsRequestBuilder.java | 15 + .../ServicePrincipalItemRequestBuilder.java | 159 + ...TokenSigningCertificateRequestBuilder.java | 15 + .../AppManagementPoliciesRequestBuilder.java | 21 + .../count/CountRequestBuilder.java | 15 + ...AppManagementPolicyItemRequestBuilder.java | 15 + .../AppRoleAssignedToRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + .../AppRoleAssignmentItemRequestBuilder.java | 39 + .../AppRoleAssignmentsRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + .../AppRoleAssignmentItemRequestBuilder.java | 39 + .../CheckMemberGroupsRequestBuilder.java | 15 + .../CheckMemberObjectsRequestBuilder.java | 15 + .../ClaimsMappingPoliciesRequestBuilder.java | 21 + .../count/CountRequestBuilder.java | 15 + .../item/ref/RefRequestBuilder.java | 15 + .../ref/RefRequestBuilder.java | 39 + .../ClaimsPolicyRequestBuilder.java | 39 + .../CreatedObjectsRequestBuilder.java | 24 + .../count/CountRequestBuilder.java | 15 + .../GraphServicePrincipalRequestBuilder.java | 18 + .../count/CountRequestBuilder.java | 15 + .../DirectoryObjectItemRequestBuilder.java | 18 + .../GraphServicePrincipalRequestBuilder.java | 15 + ...SingleSignOnCredentialsRequestBuilder.java | 15 + ...rmissionClassificationsRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...ssionClassificationItemRequestBuilder.java | 39 + ...SingleSignOnCredentialsRequestBuilder.java | 15 + .../endpoints/EndpointsRequestBuilder.java | 33 + .../endpoints/count/CountRequestBuilder.java | 15 + .../item/EndpointItemRequestBuilder.java | 39 + ...atedIdentityCredentialsRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...dIdentityCredentialItemRequestBuilder.java | 39 + ...tityCredentialsWithNameRequestBuilder.java | 39 + .../GetMemberGroupsRequestBuilder.java | 15 + .../GetMemberObjectsRequestBuilder.java | 15 + ...SingleSignOnCredentialsRequestBuilder.java | 15 + ...eRealmDiscoveryPoliciesRequestBuilder.java | 21 + .../count/CountRequestBuilder.java | 15 + .../item/ref/RefRequestBuilder.java | 15 + .../ref/RefRequestBuilder.java | 39 + .../LicenseDetailsRequestBuilder.java | 36 + .../count/CountRequestBuilder.java | 15 + ...etTeamsLicensingDetailsRequestBuilder.java | 15 + .../LicenseDetailsItemRequestBuilder.java | 39 + .../lifecycle/LifecycleRequestBuilder.java | 291 ++ .../ComplianceIssuesRequestBuilder.java | 208 + .../count/CountRequestBuilder.java | 143 + .../ComplianceIssueItemRequestBuilder.java | 144 + ...ffectiveGoverningPolicyRequestBuilder.java | 144 + .../item/memberof/MemberOfRequestBuilder.java | 30 + .../memberof/count/CountRequestBuilder.java | 15 + ...GraphAdministrativeUnitRequestBuilder.java | 18 + .../count/CountRequestBuilder.java | 15 + .../GraphDirectoryRoleRequestBuilder.java | 18 + .../count/CountRequestBuilder.java | 15 + .../graphgroup/GraphGroupRequestBuilder.java | 18 + .../graphgroup/count/CountRequestBuilder.java | 15 + .../DirectoryObjectItemRequestBuilder.java | 24 + ...GraphAdministrativeUnitRequestBuilder.java | 15 + .../GraphDirectoryRoleRequestBuilder.java | 15 + .../graphgroup/GraphGroupRequestBuilder.java | 15 + ...dentityGovernanceAttestRequestBuilder.java | 106 + .../Oauth2PermissionGrantsRequestBuilder.java | 21 + .../count/CountRequestBuilder.java | 15 + ...uth2PermissionGrantItemRequestBuilder.java | 15 + .../OwnedObjectsRequestBuilder.java | 36 + .../count/CountRequestBuilder.java | 15 + .../GraphApplicationRequestBuilder.java | 18 + .../count/CountRequestBuilder.java | 15 + .../GraphAppRoleAssignmentRequestBuilder.java | 18 + .../count/CountRequestBuilder.java | 15 + .../GraphEndpointRequestBuilder.java | 18 + .../count/CountRequestBuilder.java | 15 + .../graphgroup/GraphGroupRequestBuilder.java | 18 + .../graphgroup/count/CountRequestBuilder.java | 15 + .../GraphServicePrincipalRequestBuilder.java | 18 + .../count/CountRequestBuilder.java | 15 + .../DirectoryObjectItemRequestBuilder.java | 30 + .../GraphApplicationRequestBuilder.java | 15 + .../GraphAppRoleAssignmentRequestBuilder.java | 15 + .../GraphEndpointRequestBuilder.java | 15 + .../graphgroup/GraphGroupRequestBuilder.java | 15 + .../GraphServicePrincipalRequestBuilder.java | 15 + .../item/owners/OwnersRequestBuilder.java | 33 + .../owners/count/CountRequestBuilder.java | 15 + .../GraphAppRoleAssignmentRequestBuilder.java | 18 + .../count/CountRequestBuilder.java | 15 + .../GraphEndpointRequestBuilder.java | 18 + .../count/CountRequestBuilder.java | 15 + .../GraphServicePrincipalRequestBuilder.java | 18 + .../count/CountRequestBuilder.java | 15 + .../graphuser/GraphUserRequestBuilder.java | 18 + .../graphuser/count/CountRequestBuilder.java | 15 + .../GraphAppRoleAssignmentRequestBuilder.java | 15 + .../GraphEndpointRequestBuilder.java | 15 + .../GraphServicePrincipalRequestBuilder.java | 15 + .../graphuser/GraphUserRequestBuilder.java | 15 + .../owners/item/ref/RefRequestBuilder.java | 15 + .../item/owners/ref/RefRequestBuilder.java | 39 + ...rantPreApprovalPoliciesRequestBuilder.java | 21 + .../count/CountRequestBuilder.java | 15 + ...ntPreApprovalPolicyItemRequestBuilder.java | 15 + ...opSecurityConfigurationRequestBuilder.java | 45 + .../ApprovedClientAppsRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + .../ApprovedClientAppItemRequestBuilder.java | 39 + .../TargetDeviceGroupsRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + .../TargetDeviceGroupItemRequestBuilder.java | 39 + .../item/restore/RestoreRequestBuilder.java | 15 + .../SynchronizationRequestBuilder.java | 54 + .../jobs/JobsRequestBuilder.java | 36 + .../jobs/count/CountRequestBuilder.java | 15 + .../SynchronizationJobItemRequestBuilder.java | 60 + .../bulkupload/BulkUploadRequestBuilder.java | 42 + .../value/ContentRequestBuilder.java | 39 + .../jobs/item/pause/PauseRequestBuilder.java | 15 + .../ProvisionOnDemandRequestBuilder.java | 15 + .../item/restart/RestartRequestBuilder.java | 15 + .../item/schema/SchemaRequestBuilder.java | 51 + .../DirectoriesRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...DirectoryDefinitionItemRequestBuilder.java | 42 + .../item/discover/DiscoverRequestBuilder.java | 15 + .../FilterOperatorsRequestBuilder.java | 15 + .../functions/FunctionsRequestBuilder.java | 15 + .../ParseExpressionRequestBuilder.java | 15 + .../jobs/item/start/StartRequestBuilder.java | 15 + .../ping/PingRequestBuilder.java | 15 + .../templates/TemplatesRequestBuilder.java | 33 + .../templates/count/CountRequestBuilder.java | 15 + ...hronizationTemplateItemRequestBuilder.java | 42 + .../item/schema/SchemaRequestBuilder.java | 51 + .../DirectoriesRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...DirectoryDefinitionItemRequestBuilder.java | 42 + .../item/discover/DiscoverRequestBuilder.java | 15 + .../FilterOperatorsRequestBuilder.java | 15 + .../functions/FunctionsRequestBuilder.java | 15 + .../ParseExpressionRequestBuilder.java | 15 + .../TokenIssuancePoliciesRequestBuilder.java | 21 + .../count/CountRequestBuilder.java | 15 + .../item/ref/RefRequestBuilder.java | 15 + .../ref/RefRequestBuilder.java | 39 + .../TokenLifetimePoliciesRequestBuilder.java | 21 + .../count/CountRequestBuilder.java | 15 + .../item/ref/RefRequestBuilder.java | 15 + .../ref/RefRequestBuilder.java | 39 + .../TransitiveMemberOfRequestBuilder.java | 30 + .../count/CountRequestBuilder.java | 15 + ...GraphAdministrativeUnitRequestBuilder.java | 18 + .../count/CountRequestBuilder.java | 15 + .../GraphDirectoryRoleRequestBuilder.java | 18 + .../count/CountRequestBuilder.java | 15 + .../graphgroup/GraphGroupRequestBuilder.java | 18 + .../graphgroup/count/CountRequestBuilder.java | 15 + .../DirectoryObjectItemRequestBuilder.java | 24 + ...GraphAdministrativeUnitRequestBuilder.java | 15 + .../GraphDirectoryRoleRequestBuilder.java | 15 + .../graphgroup/GraphGroupRequestBuilder.java | 15 + ...SingleSignOnCredentialsRequestBuilder.java | 15 + .../ValidatePropertiesRequestBuilder.java | 15 + ...vicePrincipalsWithAppIdRequestBuilder.java | 39 + .../solutions/SolutionsRequestBuilder.java | 54 + .../approval/ApprovalRequestBuilder.java | 48 + .../ApprovalItemsRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + .../item/ApprovalItemItemRequestBuilder.java | 48 + .../item/cancel/CancelRequestBuilder.java | 15 + .../item/requests/RequestsRequestBuilder.java | 33 + .../requests/count/CountRequestBuilder.java | 15 + ...ApprovalItemRequestItemRequestBuilder.java | 39 + .../responses/ResponsesRequestBuilder.java | 33 + .../responses/count/CountRequestBuilder.java | 15 + ...pprovalItemResponseItemRequestBuilder.java | 39 + .../operations/OperationsRequestBuilder.java | 33 + .../operations/count/CountRequestBuilder.java | 15 + .../ApprovalOperationItemRequestBuilder.java | 39 + .../provision/ProvisionRequestBuilder.java | 15 + .../BackupRestoreRequestBuilder.java | 141 + .../ActivityLogsRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + .../ActivityLogBaseItemRequestBuilder.java | 39 + .../BrowseSessionsRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + .../BrowseSessionBaseItemRequestBuilder.java | 45 + .../item/browse/BrowseRequestBuilder.java | 15 + ...rowseWithNextFetchTokenRequestBuilder.java | 15 + .../DriveExclusionUnitsRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + .../DriveExclusionUnitItemRequestBuilder.java | 39 + ...onUnitsBulkAdditionJobsRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...nitsBulkAdditionJobItemRequestBuilder.java | 39 + .../DriveInclusionRulesRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...DriveProtectionRuleItemRequestBuilder.java | 39 + .../DriveProtectionUnitsRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...DriveProtectionUnitItemRequestBuilder.java | 39 + ...onUnitsBulkAdditionJobsRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...nitsBulkAdditionJobItemRequestBuilder.java | 39 + ...ailNotificationsSettingRequestBuilder.java | 39 + .../enable/EnableRequestBuilder.java | 15 + ...hangeProtectionPoliciesRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...ngeProtectionPolicyItemRequestBuilder.java | 54 + .../MailboxExclusionUnitsRequestBuilder.java | 21 + .../count/CountRequestBuilder.java | 15 + ...ailboxExclusionUnitItemRequestBuilder.java | 15 + ...onUnitsBulkAdditionJobsRequestBuilder.java | 21 + .../count/CountRequestBuilder.java | 15 + ...nitsBulkAdditionJobItemRequestBuilder.java | 15 + .../MailboxInclusionRulesRequestBuilder.java | 21 + .../count/CountRequestBuilder.java | 15 + ...ilboxProtectionRuleItemRequestBuilder.java | 15 + .../MailboxProtectionUnitsRequestBuilder.java | 21 + .../count/CountRequestBuilder.java | 15 + ...ilboxProtectionUnitItemRequestBuilder.java | 15 + ...onUnitsBulkAdditionJobsRequestBuilder.java | 21 + .../count/CountRequestBuilder.java | 15 + ...nitsBulkAdditionJobItemRequestBuilder.java | 15 + ...ExchangeRestoreSessionsRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...hangeRestoreSessionItemRequestBuilder.java | 48 + ...MailboxRestoreArtifactsRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...lboxRestoreArtifactItemRequestBuilder.java | 42 + .../RestorePointRequestBuilder.java | 15 + ...MailboxRestoreArtifactsRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...lboxRestoreArtifactItemRequestBuilder.java | 42 + .../RestorePointRequestBuilder.java | 15 + ...ctsBulkAdditionRequestsRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...BulkAdditionRequestItemRequestBuilder.java | 39 + .../ExclusionUnitsRequestBuilder.java | 21 + .../count/CountRequestBuilder.java | 15 + .../ExclusionUnitBaseItemRequestBuilder.java | 15 + .../MailboxExclusionUnitsRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...ailboxExclusionUnitItemRequestBuilder.java | 39 + ...onUnitsBulkAdditionJobsRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...nitsBulkAdditionJobItemRequestBuilder.java | 39 + .../MailboxInclusionRulesRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...ilboxProtectionRuleItemRequestBuilder.java | 39 + .../MailboxProtectionUnitsRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...ilboxProtectionUnitItemRequestBuilder.java | 39 + ...onUnitsBulkAdditionJobsRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...nitsBulkAdditionJobItemRequestBuilder.java | 39 + ...rBusinessBrowseSessionsRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...sinessBrowseSessionItemRequestBuilder.java | 39 + ...inessProtectionPoliciesRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...essProtectionPolicyItemRequestBuilder.java | 54 + .../DriveExclusionUnitsRequestBuilder.java | 21 + .../count/CountRequestBuilder.java | 15 + .../DriveExclusionUnitItemRequestBuilder.java | 15 + ...onUnitsBulkAdditionJobsRequestBuilder.java | 21 + .../count/CountRequestBuilder.java | 15 + ...nitsBulkAdditionJobItemRequestBuilder.java | 15 + .../DriveInclusionRulesRequestBuilder.java | 21 + .../count/CountRequestBuilder.java | 15 + ...DriveProtectionRuleItemRequestBuilder.java | 15 + .../DriveProtectionUnitsRequestBuilder.java | 21 + .../count/CountRequestBuilder.java | 15 + ...DriveProtectionUnitItemRequestBuilder.java | 15 + ...onUnitsBulkAdditionJobsRequestBuilder.java | 21 + .../count/CountRequestBuilder.java | 15 + ...nitsBulkAdditionJobItemRequestBuilder.java | 15 + ...BusinessRestoreSessionsRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...inessRestoreSessionItemRequestBuilder.java | 48 + .../DriveRestoreArtifactsRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...riveRestoreArtifactItemRequestBuilder.java | 42 + .../RestorePointRequestBuilder.java | 15 + ...ctsBulkAdditionRequestsRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...BulkAdditionRequestItemRequestBuilder.java | 39 + ...arDriveRestoreArtifactsRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...riveRestoreArtifactItemRequestBuilder.java | 39 + .../ProtectionPoliciesRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...rotectionPolicyBaseItemRequestBuilder.java | 45 + .../item/activate/ActivateRequestBuilder.java | 15 + .../deactivate/DeactivateRequestBuilder.java | 15 + .../ProtectionUnitsRequestBuilder.java | 30 + .../count/CountRequestBuilder.java | 15 + ...raphDriveProtectionUnitRequestBuilder.java | 18 + .../count/CountRequestBuilder.java | 15 + ...phMailboxProtectionUnitRequestBuilder.java | 18 + .../count/CountRequestBuilder.java | 15 + ...GraphSiteProtectionUnitRequestBuilder.java | 18 + .../count/CountRequestBuilder.java | 15 + .../ProtectionUnitBaseItemRequestBuilder.java | 30 + .../CancelOffboardRequestBuilder.java | 15 + ...raphDriveProtectionUnitRequestBuilder.java | 15 + ...phMailboxProtectionUnitRequestBuilder.java | 15 + ...GraphSiteProtectionUnitRequestBuilder.java | 15 + .../item/offboard/OffboardRequestBuilder.java | 15 + .../reports/ReportsRequestBuilder.java | 42 + ...icsByPolicyWithPolicyIdRequestBuilder.java | 15 + .../RestorePointsRequestBuilder.java | 36 + .../count/CountRequestBuilder.java | 15 + .../item/RestorePointItemRequestBuilder.java | 42 + .../ProtectionUnitRequestBuilder.java | 15 + .../search/SearchRequestBuilder.java | 15 + .../RestoreSessionsRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + .../RestoreSessionBaseItemRequestBuilder.java | 42 + .../item/activate/ActivateRequestBuilder.java | 15 + .../ServiceAppsRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + .../item/ServiceAppItemRequestBuilder.java | 45 + .../item/activate/ActivateRequestBuilder.java | 15 + .../deactivate/DeactivateRequestBuilder.java | 15 + ...harePointBrowseSessionsRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...ePointBrowseSessionItemRequestBuilder.java | 39 + ...PointProtectionPoliciesRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...intProtectionPolicyItemRequestBuilder.java | 54 + .../SiteExclusionUnitsRequestBuilder.java | 21 + .../count/CountRequestBuilder.java | 15 + .../SiteExclusionUnitItemRequestBuilder.java | 15 + ...onUnitsBulkAdditionJobsRequestBuilder.java | 21 + .../count/CountRequestBuilder.java | 15 + ...nitsBulkAdditionJobItemRequestBuilder.java | 15 + .../SiteInclusionRulesRequestBuilder.java | 21 + .../count/CountRequestBuilder.java | 15 + .../SiteProtectionRuleItemRequestBuilder.java | 15 + .../SiteProtectionUnitsRequestBuilder.java | 21 + .../count/CountRequestBuilder.java | 15 + .../SiteProtectionUnitItemRequestBuilder.java | 15 + ...onUnitsBulkAdditionJobsRequestBuilder.java | 21 + .../count/CountRequestBuilder.java | 15 + ...nitsBulkAdditionJobItemRequestBuilder.java | 15 + ...arePointRestoreSessionsRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...PointRestoreSessionItemRequestBuilder.java | 48 + ...larSiteRestoreArtifactsRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...SiteRestoreArtifactItemRequestBuilder.java | 39 + .../SiteRestoreArtifactsRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...SiteRestoreArtifactItemRequestBuilder.java | 42 + .../RestorePointRequestBuilder.java | 15 + ...ctsBulkAdditionRequestsRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...BulkAdditionRequestItemRequestBuilder.java | 39 + .../SiteExclusionUnitsRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + .../SiteExclusionUnitItemRequestBuilder.java | 39 + ...onUnitsBulkAdditionJobsRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...nitsBulkAdditionJobItemRequestBuilder.java | 39 + .../SiteInclusionRulesRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + .../SiteProtectionRuleItemRequestBuilder.java | 39 + .../SiteProtectionUnitsRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + .../SiteProtectionUnitItemRequestBuilder.java | 39 + ...onUnitsBulkAdditionJobsRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...nitsBulkAdditionJobItemRequestBuilder.java | 39 + .../BookingBusinessesRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + .../BookingBusinessItemRequestBuilder.java | 66 + .../AppointmentsRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + .../BookingAppointmentItemRequestBuilder.java | 42 + .../item/cancel/CancelRequestBuilder.java | 15 + .../CalendarViewRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + .../BookingAppointmentItemRequestBuilder.java | 42 + .../item/cancel/CancelRequestBuilder.java | 15 + .../customers/CustomersRequestBuilder.java | 33 + .../customers/count/CountRequestBuilder.java | 15 + .../BookingCustomerItemRequestBuilder.java | 39 + .../CustomQuestionsRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...okingCustomQuestionItemRequestBuilder.java | 39 + .../GetStaffAvailabilityRequestBuilder.java | 15 + .../item/publish/PublishRequestBuilder.java | 15 + .../item/services/ServicesRequestBuilder.java | 33 + .../services/count/CountRequestBuilder.java | 15 + .../BookingServiceItemRequestBuilder.java | 39 + .../StaffMembersRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + .../BookingStaffMemberItemRequestBuilder.java | 39 + .../unpublish/UnpublishRequestBuilder.java | 15 + .../BookingCurrenciesRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + .../BookingCurrencyItemRequestBuilder.java | 39 + .../BusinessScenariosRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + .../BusinessScenarioItemRequestBuilder.java | 42 + .../item/planner/PlannerRequestBuilder.java | 51 + .../getplan/GetPlanRequestBuilder.java | 15 + .../PlanConfigurationRequestBuilder.java | 42 + .../LocalizationsRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...urationLocalizationItemRequestBuilder.java | 39 + .../TaskConfigurationRequestBuilder.java | 39 + .../planner/tasks/TasksRequestBuilder.java | 33 + .../tasks/count/CountRequestBuilder.java | 15 + ...usinessScenarioTaskItemRequestBuilder.java | 54 + ...signedToTaskBoardFormatRequestBuilder.java | 39 + .../BucketTaskBoardFormatRequestBuilder.java | 39 + .../item/details/DetailsRequestBuilder.java | 39 + .../item/messages/MessagesRequestBuilder.java | 33 + .../messages/count/CountRequestBuilder.java | 15 + ...nnerTaskChatMessageItemRequestBuilder.java | 45 + .../SetReactionRequestBuilder.java | 15 + .../UnsetReactionRequestBuilder.java | 15 + ...ProgressTaskBoardFormatRequestBuilder.java | 39 + ...ScenariosWithUniqueNameRequestBuilder.java | 39 + .../migrations/MigrationsRequestBuilder.java | 30 +- ...rossTenantMigrationJobsRequestBuilder.java | 22 +- .../count/CountRequestBuilder.java | 10 +- ...sTenantMigrationJobItemRequestBuilder.java | 34 +- .../item/cancel/CancelRequestBuilder.java | 10 +- .../item/migrate/MigrateRequestBuilder.java | 10 +- .../item/users/UsersRequestBuilder.java | 22 +- .../item/users/count/CountRequestBuilder.java | 10 +- ...TenantMigrationTaskItemRequestBuilder.java | 28 +- .../item/cancel/CancelRequestBuilder.java | 10 +- .../item/validate/ValidateRequestBuilder.java | 10 +- ...tionJobsWithDisplayNameRequestBuilder.java | 32 +- .../cancel/CancelRequestBuilder.java | 10 +- .../migrate/MigrateRequestBuilder.java | 10 +- .../validate/ValidateRequestBuilder.java | 10 +- .../sharepoint/SharePointRequestBuilder.java | 42 + .../migrations/MigrationsRequestBuilder.java | 48 + ...ganizationGroupMappingsRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...roupIdentityMappingItemRequestBuilder.java | 39 + ...anizationMigrationTasksRequestBuilder.java | 42 + .../count/CountRequestBuilder.java | 15 + ...SourceGroupMailNicknameRequestBuilder.java | 15 + ...iteUrlWithSourceSiteUrlRequestBuilder.java | 15 + ...WithSourcePrincipalNameRequestBuilder.java | 15 + ...ePointMigrationTaskItemRequestBuilder.java | 42 + .../item/cancel/CancelRequestBuilder.java | 15 + ...rganizationUserMappingsRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...UserIdentityMappingItemRequestBuilder.java | 39 + .../VirtualEventsRequestBuilder.java | 48 + .../events/EventsRequestBuilder.java | 33 + .../events/count/CountRequestBuilder.java | 15 + .../item/VirtualEventItemRequestBuilder.java | 57 + .../item/cancel/CancelRequestBuilder.java | 15 + .../presenters/PresentersRequestBuilder.java | 33 + .../presenters/count/CountRequestBuilder.java | 15 + ...rtualEventPresenterItemRequestBuilder.java | 45 + .../item/sessions/SessionsRequestBuilder.java | 21 + .../sessions/count/CountRequestBuilder.java | 15 + ...VirtualEventSessionItemRequestBuilder.java | 15 + .../SessionsWithJoinWebUrlRequestBuilder.java | 15 + .../item/publish/PublishRequestBuilder.java | 15 + .../item/sessions/SessionsRequestBuilder.java | 33 + .../sessions/count/CountRequestBuilder.java | 15 + ...VirtualEventSessionItemRequestBuilder.java | 54 + .../AttendanceReportsRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...ingAttendanceReportItemRequestBuilder.java | 42 + .../AttendanceRecordsRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + .../AttendanceRecordItemRequestBuilder.java | 39 + .../presenters/PresentersRequestBuilder.java | 21 + .../presenters/count/CountRequestBuilder.java | 15 + ...rtualEventPresenterItemRequestBuilder.java | 15 + .../RegistrationsRequestBuilder.java | 21 + .../count/CountRequestBuilder.java | 15 + ...alEventRegistrationItemRequestBuilder.java | 15 + .../RegistrationsWithEmailRequestBuilder.java | 15 + ...RegistrationsWithUserIdRequestBuilder.java | 15 + .../SessionsWithJoinWebUrlRequestBuilder.java | 39 + ...xternalEventInformationRequestBuilder.java | 15 + .../townhalls/TownhallsRequestBuilder.java | 39 + .../townhalls/count/CountRequestBuilder.java | 15 + ...dRoleWithUserIdWithRoleRequestBuilder.java | 15 + .../GetByUserRoleWithRoleRequestBuilder.java | 15 + ...irtualEventTownhallItemRequestBuilder.java | 60 + .../presenters/PresentersRequestBuilder.java | 33 + .../presenters/count/CountRequestBuilder.java | 15 + ...rtualEventPresenterItemRequestBuilder.java | 45 + .../item/sessions/SessionsRequestBuilder.java | 21 + .../sessions/count/CountRequestBuilder.java | 15 + ...VirtualEventSessionItemRequestBuilder.java | 15 + .../SessionsWithJoinWebUrlRequestBuilder.java | 15 + ...gistrationConfigurationRequestBuilder.java | 42 + .../questions/QuestionsRequestBuilder.java | 33 + .../questions/count/CountRequestBuilder.java | 15 + ...trationQuestionBaseItemRequestBuilder.java | 39 + .../RegistrationsRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...alEventRegistrationItemRequestBuilder.java | 48 + .../item/cancel/CancelRequestBuilder.java | 15 + .../item/sessions/SessionsRequestBuilder.java | 21 + .../sessions/count/CountRequestBuilder.java | 15 + ...VirtualEventSessionItemRequestBuilder.java | 15 + .../SessionsWithJoinWebUrlRequestBuilder.java | 15 + .../RegistrationsWithEmailRequestBuilder.java | 42 + .../cancel/CancelRequestBuilder.java | 15 + ...RegistrationsWithUserIdRequestBuilder.java | 42 + .../cancel/CancelRequestBuilder.java | 15 + .../item/sessions/SessionsRequestBuilder.java | 33 + .../sessions/count/CountRequestBuilder.java | 15 + ...VirtualEventSessionItemRequestBuilder.java | 54 + .../AttendanceReportsRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...ingAttendanceReportItemRequestBuilder.java | 42 + .../AttendanceRecordsRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + .../AttendanceRecordItemRequestBuilder.java | 39 + .../presenters/PresentersRequestBuilder.java | 21 + .../presenters/count/CountRequestBuilder.java | 15 + ...rtualEventPresenterItemRequestBuilder.java | 15 + .../RegistrationsRequestBuilder.java | 21 + .../count/CountRequestBuilder.java | 15 + ...alEventRegistrationItemRequestBuilder.java | 15 + .../RegistrationsWithEmailRequestBuilder.java | 15 + ...RegistrationsWithUserIdRequestBuilder.java | 15 + .../SessionsWithJoinWebUrlRequestBuilder.java | 39 + .../webinars/WebinarsRequestBuilder.java | 39 + .../webinars/count/CountRequestBuilder.java | 15 + ...dRoleWithUserIdWithRoleRequestBuilder.java | 15 + .../GetByUserRoleWithRoleRequestBuilder.java | 15 + ...VirtualEventWebinarItemRequestBuilder.java | 60 + .../presenters/PresentersRequestBuilder.java | 33 + .../presenters/count/CountRequestBuilder.java | 15 + ...rtualEventPresenterItemRequestBuilder.java | 45 + .../item/sessions/SessionsRequestBuilder.java | 21 + .../sessions/count/CountRequestBuilder.java | 15 + ...VirtualEventSessionItemRequestBuilder.java | 15 + .../SessionsWithJoinWebUrlRequestBuilder.java | 15 + ...gistrationConfigurationRequestBuilder.java | 42 + .../questions/QuestionsRequestBuilder.java | 33 + .../questions/count/CountRequestBuilder.java | 15 + ...trationQuestionBaseItemRequestBuilder.java | 39 + .../RegistrationsRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...alEventRegistrationItemRequestBuilder.java | 48 + .../item/cancel/CancelRequestBuilder.java | 15 + .../item/sessions/SessionsRequestBuilder.java | 21 + .../sessions/count/CountRequestBuilder.java | 15 + ...VirtualEventSessionItemRequestBuilder.java | 15 + .../SessionsWithJoinWebUrlRequestBuilder.java | 15 + .../RegistrationsWithEmailRequestBuilder.java | 42 + .../cancel/CancelRequestBuilder.java | 15 + ...RegistrationsWithUserIdRequestBuilder.java | 42 + .../cancel/CancelRequestBuilder.java | 15 + .../item/sessions/SessionsRequestBuilder.java | 33 + .../sessions/count/CountRequestBuilder.java | 15 + ...VirtualEventSessionItemRequestBuilder.java | 54 + .../AttendanceReportsRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...ingAttendanceReportItemRequestBuilder.java | 42 + .../AttendanceRecordsRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + .../AttendanceRecordItemRequestBuilder.java | 39 + .../presenters/PresentersRequestBuilder.java | 21 + .../presenters/count/CountRequestBuilder.java | 15 + ...rtualEventPresenterItemRequestBuilder.java | 15 + .../RegistrationsRequestBuilder.java | 21 + .../count/CountRequestBuilder.java | 15 + ...alEventRegistrationItemRequestBuilder.java | 15 + .../RegistrationsWithEmailRequestBuilder.java | 15 + ...RegistrationsWithUserIdRequestBuilder.java | 15 + .../SessionsWithJoinWebUrlRequestBuilder.java | 39 + .../item/devices/DevicesRequestBuilder.java | 9 + .../provision/ProvisionPostRequestBody.java | 107 + .../provision/ProvisionRequestBuilder.java | 103 + .../DistributionListItemRequestBuilder.java | 9 + .../addmembers/AddMembersPostRequestBody.java | 10 +- .../DeleteMembersPostRequestBody.java | 10 +- .../item/members/MembersRequestBuilder.java | 187 + .../members}/count/CountRequestBuilder.java | 6 +- ...tributionListMemberItemRequestBuilder.java | 138 + .../item/contact/ContactRequestBuilder.java | 129 + .../item/ManagedDeviceItemRequestBuilder.java | 18 + ...elEnhancedLogCollectionRequestBuilder.java | 91 + .../SecurityBaselineStatesRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...curityBaselineStateItemRequestBuilder.java | 42 + .../SettingStatesRequestBuilder.java | 33 + .../count/CountRequestBuilder.java | 15 + ...aselineSettingStateItemRequestBuilder.java | 39 + ...rEnhancedLogCollectionPostRequestBody.java | 107 + ...erEnhancedLogCollectionRequestBuilder.java | 98 + .../sections/SectionsRequestBuilder.java | 9 + .../item/items/ItemsRequestBuilder.java | 9 + .../items/reorder/ReorderPostRequestBody.java | 107 + .../items/reorder/ReorderPostResponse.java | 63 + .../items/reorder/ReorderRequestBuilder.java | 104 + .../reorder/ReorderPostRequestBody.java | 107 + .../sections/reorder/ReorderPostResponse.java | 63 + .../reorder/ReorderRequestBuilder.java | 104 + 2477 files changed, 77624 insertions(+), 3441 deletions(-) create mode 100644 src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/cancelenhancedlogcollection/CancelEnhancedLogCollectionRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/triggerenhancedlogcollection/TriggerEnhancedLogCollectionPostRequestBody.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/triggerenhancedlogcollection/TriggerEnhancedLogCollectionRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/cancelenhancedlogcollection/CancelEnhancedLogCollectionRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/triggerenhancedlogcollection/TriggerEnhancedLogCollectionPostRequestBody.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/triggerenhancedlogcollection/TriggerEnhancedLogCollectionRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/devicemanagement/remoteassistancepartners/item/beginonboarding/BeginOnboardingPostRequestBody.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/devices/provision/ProvisionPostRequestBody.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/devices/provision/ProvisionRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/directory/impactedresources/addtag/AddTagPostRequestBody.java rename src/main/java/com/microsoft/graph/beta/generated/{models/tenantgovernanceservices/GovernancePolicyTemplateCollectionResponse.java => directory/impactedresources/addtag/AddTagPostResponse.java} (69%) create mode 100644 src/main/java/com/microsoft/graph/beta/generated/directory/impactedresources/addtag/AddTagRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/directory/impactedresources/item/acceptrisk/AcceptRiskRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/directory/impactedresources/item/addtag/AddTagPostRequestBody.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/directory/impactedresources/item/addtag/AddTagRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/directory/impactedresources/item/applyalternatemitigation/ApplyAlternateMitigationRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/directory/impactedresources/item/markplanned/MarkPlannedRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/directory/impactedresources/item/removetag/RemoveTagPostRequestBody.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/directory/impactedresources/item/removetag/RemoveTagRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/directory/impactedresources/item/tags/TagsRequestBuilder.java rename src/main/java/com/microsoft/graph/beta/generated/{employeeexperience/roles => directory/impactedresources/item/tags}/count/CountRequestBuilder.java (93%) create mode 100644 src/main/java/com/microsoft/graph/beta/generated/directory/impactedresources/item/tags/item/RecommendationTagItemRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/directory/impactedresources/removetag/RemoveTagPostRequestBody.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/directory/impactedresources/removetag/RemoveTagPostResponse.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/directory/impactedresources/removetag/RemoveTagRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/directory/recommendations/item/acceptrisk/AcceptRiskRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/directory/recommendations/item/addtag/AddTagPostRequestBody.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/directory/recommendations/item/addtag/AddTagRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/directory/recommendations/item/applyalternatemitigation/ApplyAlternateMitigationRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/directory/recommendations/item/impactedresources/addtag/AddTagPostRequestBody.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/directory/recommendations/item/impactedresources/addtag/AddTagPostResponse.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/directory/recommendations/item/impactedresources/addtag/AddTagRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/directory/recommendations/item/impactedresources/item/acceptrisk/AcceptRiskRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/directory/recommendations/item/impactedresources/item/addtag/AddTagPostRequestBody.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/directory/recommendations/item/impactedresources/item/addtag/AddTagRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/directory/recommendations/item/impactedresources/item/applyalternatemitigation/ApplyAlternateMitigationRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/directory/recommendations/item/impactedresources/item/markplanned/MarkPlannedRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/directory/recommendations/item/impactedresources/item/removetag/RemoveTagPostRequestBody.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/directory/recommendations/item/impactedresources/item/removetag/RemoveTagRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/directory/recommendations/item/impactedresources/item/tags/TagsRequestBuilder.java rename src/main/java/com/microsoft/graph/beta/generated/{employeeexperience/engagementasyncoperations => directory/recommendations/item/impactedresources/item/tags}/count/CountRequestBuilder.java (92%) create mode 100644 src/main/java/com/microsoft/graph/beta/generated/directory/recommendations/item/impactedresources/item/tags/item/RecommendationTagItemRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/directory/recommendations/item/impactedresources/removetag/RemoveTagPostRequestBody.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/directory/recommendations/item/impactedresources/removetag/RemoveTagPostResponse.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/directory/recommendations/item/impactedresources/removetag/RemoveTagRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/directory/recommendations/item/markplanned/MarkPlannedRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/directory/recommendations/item/removetag/RemoveTagPostRequestBody.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/directory/recommendations/item/removetag/RemoveTagRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/directory/recommendations/item/tags/TagsRequestBuilder.java rename src/main/java/com/microsoft/graph/beta/generated/{admin/configurationmanagement/configurationsnapshots => directory/recommendations/item/tags}/count/CountRequestBuilder.java (94%) create mode 100644 src/main/java/com/microsoft/graph/beta/generated/directory/recommendations/item/tags/item/RecommendationTagItemRequestBuilder.java rename src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/governancepolicytemplates/item/{GovernancePolicyTemplateItemRequestBuilder.java => TenantGovernancePolicyTemplateItemRequestBuilder.java} (81%) rename src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/relatedtenants/{microsoftgraphtenantgovernanceservicesrefresh/MicrosoftGraphTenantGovernanceServicesRefreshRequestBuilder.java => refresh/RefreshRequestBuilder.java} (76%) rename src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/relatedtenants/{microsoftgraphtenantgovernanceservicesrefreshstatus/MicrosoftGraphTenantGovernanceServicesRefreshStatusRequestBuilder.java => refreshstatus/RefreshStatusRequestBuilder.java} (74%) rename src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/settings/{microsoftgraphtenantgovernanceservicesenablerelatedtenants/MicrosoftGraphTenantGovernanceServicesEnableRelatedTenantsRequestBuilder.java => enablerelatedtenants/EnableRelatedTenantsRequestBuilder.java} (76%) create mode 100644 src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/lifecyclepolicies/LifecyclePoliciesRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/lifecyclepolicies/count/CountRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/lifecyclepolicies/item/LifecyclePolicyItemRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/lifecyclepolicies/item/createdby/CreatedByRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/lifecyclepolicies/item/lastmodifiedby/LastModifiedByRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/lifecyclepolicies/item/microsoftgraphidentitygovernancerestore/MicrosoftGraphIdentityGovernanceRestoreRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/lifecyclepolicies/item/rules/RulesRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/lifecyclepolicies/item/rules/item/LifecyclePolicyRuleItemRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/lifecyclepolicies/item/versions/VersionsRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/lifecyclepolicies/item/versions/item/LifecyclePolicyItemRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/lifecyclepolicies/item/versions/item/createdby/CreatedByRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/lifecyclepolicies/item/versions/item/lastmodifiedby/LastModifiedByRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/lifecyclepolicies/item/versions/item/microsoftgraphidentitygovernancerestore/MicrosoftGraphIdentityGovernanceRestoreRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/lifecyclepolicies/item/versions/item/rules/RulesRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/lifecyclepolicies/item/versions/item/rules/count/CountRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/lifecyclepolicies/item/versions/item/rules/item/LifecyclePolicyRuleItemRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/subjectprocessingresults/microsoftgraphidentitygovernancesummarywithstartdatetimewithenddatetime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/subjectprocessingresults/microsoftgraphidentitygovernancesummarywithstartdatetimewithenddatetime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/lifecyclepolicies/LifecyclePoliciesRequestBuilder.java rename src/main/java/com/microsoft/graph/beta/generated/{employeeexperience/communities => identitygovernance/lifecycleworkflows/lifecyclepolicies}/count/CountRequestBuilder.java (83%) create mode 100644 src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/lifecyclepolicies/item/LifecyclePolicyItemRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/lifecyclepolicies/item/createdby/CreatedByRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/lifecyclepolicies/item/lastmodifiedby/LastModifiedByRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/lifecyclepolicies/item/microsoftgraphidentitygovernancerestore/MicrosoftGraphIdentityGovernanceRestoreRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/lifecyclepolicies/item/rules/RulesRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/lifecyclepolicies/item/rules/item/LifecyclePolicyRuleItemRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/lifecyclepolicies/item/versions/VersionsRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/lifecyclepolicies/item/versions/item/LifecyclePolicyItemRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/lifecyclepolicies/item/versions/item/createdby/CreatedByRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/lifecyclepolicies/item/versions/item/lastmodifiedby/LastModifiedByRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/lifecyclepolicies/item/versions/item/microsoftgraphidentitygovernancerestore/MicrosoftGraphIdentityGovernanceRestoreRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/lifecyclepolicies/item/versions/item/rules/RulesRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/lifecyclepolicies/item/versions/item/rules/count/CountRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/lifecyclepolicies/item/versions/item/rules/item/LifecyclePolicyRuleItemRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/lifecyclepolicypriorityconfigurations/LifecyclePolicyPriorityConfigurationsRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/lifecyclepolicypriorityconfigurations/count/CountRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/lifecyclepolicypriorityconfigurations/item/LifecyclePolicyPriorityConfigurationItemRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/subjectprocessingresults/microsoftgraphidentitygovernancesummarywithstartdatetimewithenddatetime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/subjectprocessingresults/microsoftgraphidentitygovernancesummarywithstartdatetimewithenddatetime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.java rename src/main/java/com/microsoft/graph/beta/generated/models/{FileStorageContainerTypeAgentSettings.java => AccessPackageAssignmentRequestParameters.java} (73%) create mode 100644 src/main/java/com/microsoft/graph/beta/generated/models/AgentBlueprintApiBasedEndpointConfigurationDetails.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/models/AgentBlueprintBotBasedEndpointConfigurationDetails.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/models/AgentCommunicationConfiguration.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/models/AgentConversationConfiguration.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/models/AgentEndpointConfiguration.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/models/AgentEndpointConfigurationType.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/models/AgentMessageNotificationMode.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/models/AgentTeamworkConfiguration.java rename src/main/java/com/microsoft/graph/beta/generated/models/{tenantgovernanceservices/PermissionType.java => ApplicationPermissionType.java} (78%) rename src/main/java/com/microsoft/graph/beta/generated/models/{tenantgovernanceservices/ResourcePermission.java => ApplicationResourcePermission.java} (84%) rename src/main/java/com/microsoft/graph/beta/generated/models/{tenantgovernanceservices/RequiredResourceAccess.java => ApplicationsRequiredResourceAccess.java} (80%) rename src/main/java/com/microsoft/graph/beta/generated/models/{tenantgovernanceservices => }/B2BRegistrationMetricsBase.java (79%) rename src/main/java/com/microsoft/graph/beta/generated/models/{tenantgovernanceservices => }/B2BRegistrationMetricsInitial.java (85%) rename src/main/java/com/microsoft/graph/beta/generated/models/{tenantgovernanceservices => }/B2BRegistrationMetricsRecent.java (82%) rename src/main/java/com/microsoft/graph/beta/generated/models/{tenantgovernanceservices => }/B2BSignInActivityMetrics.java (79%) rename src/main/java/com/microsoft/graph/beta/generated/models/{tenantgovernanceservices => }/B2BSignInActivityMetricsBase.java (80%) rename src/main/java/com/microsoft/graph/beta/generated/models/{tenantgovernanceservices => }/B2BSignInActivityMetricsInitial.java (83%) rename src/main/java/com/microsoft/graph/beta/generated/models/{tenantgovernanceservices => }/B2BSignInActivityMetricsRecent.java (82%) rename src/main/java/com/microsoft/graph/beta/generated/models/{tenantgovernanceservices => }/B2bRegistrationMetrics.java (80%) rename src/main/java/com/microsoft/graph/beta/generated/models/{tenantgovernanceservices => }/BillingMetrics.java (79%) rename src/main/java/com/microsoft/graph/beta/generated/models/{tenantgovernanceservices => }/BillingMetricsBase.java (84%) rename src/main/java/com/microsoft/graph/beta/generated/models/{tenantgovernanceservices => }/BillingMetricsInitial.java (87%) rename src/main/java/com/microsoft/graph/beta/generated/models/{tenantgovernanceservices => }/BillingMetricsRecent.java (86%) create mode 100644 src/main/java/com/microsoft/graph/beta/generated/models/ChatMessageCitation.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/models/ChatMessageCitationSensitivityLabel.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/models/CloudPcProvisioningConfiguration.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/models/ConnectorHealthCheck.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/models/ConnectorHealthCheckMetricName.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/models/CrossTenantRoleEnabledGroupSyncInbound.java rename src/main/java/com/microsoft/graph/beta/generated/models/{tenantgovernanceservices => }/DelegatedAdministrationRoleAssignment.java (88%) rename src/main/java/com/microsoft/graph/beta/generated/models/{tenantgovernanceservices => }/DelegatedAdministrationRoleAssignmentSnapshot.java (87%) create mode 100644 src/main/java/com/microsoft/graph/beta/generated/models/DistributionListMember.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/models/DistributionListMemberCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/models/DriveSettings.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/models/EmbeddingInput.java rename src/main/java/com/microsoft/graph/beta/generated/models/{tenantgovernanceservices => }/GovernanceInvitation.java (71%) rename src/main/java/com/microsoft/graph/beta/generated/models/{tenantgovernanceservices => }/GovernanceInvitationCollectionResponse.java (95%) rename src/main/java/com/microsoft/graph/beta/generated/models/{tenantgovernanceservices => }/GovernanceRelationship.java (79%) rename src/main/java/com/microsoft/graph/beta/generated/models/{tenantgovernanceservices => }/GovernanceRelationshipCollectionResponse.java (95%) rename src/main/java/com/microsoft/graph/beta/generated/models/{tenantgovernanceservices => }/GovernanceRequest.java (74%) rename src/main/java/com/microsoft/graph/beta/generated/models/{tenantgovernanceservices => }/GovernanceRequestCollectionResponse.java (94%) rename src/main/java/com/microsoft/graph/beta/generated/models/{tenantgovernanceservices/ActionStep.java => InvestigationActionStep.java} (74%) rename src/main/java/com/microsoft/graph/beta/generated/models/{tenantgovernanceservices/ActionUrl.java => InvestigationActionUrl.java} (71%) create mode 100644 src/main/java/com/microsoft/graph/beta/generated/models/MobileAppContentFileUploadErrorCode.java rename src/main/java/com/microsoft/graph/beta/generated/models/{tenantgovernanceservices => }/MultiTenantApplicationMetrics.java (80%) rename src/main/java/com/microsoft/graph/beta/generated/models/{tenantgovernanceservices => }/MultiTenantApplicationMetricsBase.java (83%) rename src/main/java/com/microsoft/graph/beta/generated/models/{tenantgovernanceservices => }/MultiTenantApplicationMetricsInitial.java (87%) rename src/main/java/com/microsoft/graph/beta/generated/models/{tenantgovernanceservices => }/MultiTenantApplicationMetricsRecent.java (85%) rename src/main/java/com/microsoft/graph/beta/generated/models/{tenantgovernanceservices => }/MultiTenantApplicationsToProvision.java (85%) rename src/main/java/com/microsoft/graph/beta/generated/models/{tenantgovernanceservices => }/MultiTenantApplicationsToProvisionSnapshot.java (85%) create mode 100644 src/main/java/com/microsoft/graph/beta/generated/models/NdesConnectorHealthStatus.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/models/NistClassification.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/models/ProvisionResponse.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/models/RecommendationCategoryGroup.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/models/RecommendationTag.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/models/RecommendationTagCollectionResponse.java rename src/main/java/com/microsoft/graph/beta/generated/models/{tenantgovernanceservices => }/RelatedTenant.java (78%) rename src/main/java/com/microsoft/graph/beta/generated/models/{tenantgovernanceservices => }/RelatedTenantCollectionResponse.java (94%) rename src/main/java/com/microsoft/graph/beta/generated/models/{tenantgovernanceservices => }/RelatedTenantsRefreshRequest.java (87%) rename src/main/java/com/microsoft/graph/beta/generated/models/{tenantgovernanceservices => }/RelatedTenantsRefreshStatus.java (91%) rename src/main/java/com/microsoft/graph/beta/generated/models/{tenantgovernanceservices => }/RelationshipCreationType.java (95%) rename src/main/java/com/microsoft/graph/beta/generated/models/{tenantgovernanceservices => }/RelationshipPolicy.java (90%) rename src/main/java/com/microsoft/graph/beta/generated/models/{tenantgovernanceservices => }/RelationshipStatus.java (95%) rename src/main/java/com/microsoft/graph/beta/generated/models/{tenantgovernanceservices => }/RequestStatus.java (94%) create mode 100644 src/main/java/com/microsoft/graph/beta/generated/models/RiskyAgentDiscoveredAgentIdentity.java rename src/main/java/com/microsoft/graph/beta/generated/models/{tenantgovernanceservices => }/RoleTemplate.java (89%) create mode 100644 src/main/java/com/microsoft/graph/beta/generated/models/SapAssignmentRequestCallbackData.java rename src/main/java/com/microsoft/graph/beta/generated/models/{tenantgovernanceservices => }/TenantGovernance.java (78%) rename src/main/java/com/microsoft/graph/beta/generated/models/{tenantgovernanceservices/GovernancePolicyTemplate.java => TenantGovernancePolicyTemplate.java} (70%) create mode 100644 src/main/java/com/microsoft/graph/beta/generated/models/TenantGovernancePolicyTemplateCollectionResponse.java rename src/main/java/com/microsoft/graph/beta/generated/models/{tenantgovernanceservices => }/TenantGovernanceSetting.java (70%) create mode 100644 src/main/java/com/microsoft/graph/beta/generated/models/WindowsManagedAppDataTransferLocations.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/AgentIdentityLifecycle.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/AgentIdentityLifecyclePolicy.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/AllExcludingGroupsSubjectSet.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/AllExcludingSpecificObjectsSubjectSet.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/AttestationComplianceIssue.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/ComplianceIssue.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/ComplianceIssueCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/DeleteOnlyEnforcementAction.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/DirectoryObjectWorkflowSubject.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/DisableOnlyEnforcementAction.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/DisableThenDeleteEnforcementAction.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/IdentityLifecycle.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/InactivityRule.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/LifecyclePolicy.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/LifecyclePolicyCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/LifecyclePolicyEnforcementAction.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/LifecyclePolicyNotificationSettings.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/LifecyclePolicyPriorityConfiguration.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/LifecyclePolicyPriorityConfigurationCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/LifecyclePolicyRule.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/LifecyclePolicyRuleCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/LifecyclePolicySource.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/PeriodicAttestationRule.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/SelectedObjectsSubjectSet.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/SponsorPresenceRule.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/SubjectSummary.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/SubjectType.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/models/security/CreateAlertInput.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/models/security/EntityDefinition.java delete mode 100644 src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/LongRunningOperation.java delete mode 100644 src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/LongRunningOperationStatus.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/security/alerts_v2/microsoftgraphsecuritycreatealert/CreateAlertPostRequestBody.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/security/alerts_v2/microsoftgraphsecuritycreatealert/MicrosoftGraphSecurityCreateAlertRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/lifecycle/LifecycleRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/lifecycle/complianceissues/ComplianceIssuesRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/lifecycle/complianceissues/count/CountRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/lifecycle/complianceissues/item/ComplianceIssueItemRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/lifecycle/effectivegoverningpolicy/EffectiveGoverningPolicyRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/microsoftgraphidentitygovernanceattest/MicrosoftGraphIdentityGovernanceAttestRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/users/item/devices/provision/ProvisionPostRequestBody.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/users/item/devices/provision/ProvisionRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/users/item/distributionlists/item/members/MembersRequestBuilder.java rename src/main/java/com/microsoft/graph/beta/generated/{admin/configurationmanagement/configurationsnapshotjobs => users/item/distributionlists/item/members}/count/CountRequestBuilder.java (93%) create mode 100644 src/main/java/com/microsoft/graph/beta/generated/users/item/distributionlists/item/members/item/DistributionListMemberItemRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/users/item/distributionlists/item/members/item/contact/ContactRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/users/item/manageddevices/item/cancelenhancedlogcollection/CancelEnhancedLogCollectionRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/users/item/manageddevices/item/triggerenhancedlogcollection/TriggerEnhancedLogCollectionPostRequestBody.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/users/item/manageddevices/item/triggerenhancedlogcollection/TriggerEnhancedLogCollectionRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/users/item/teamwork/sections/item/items/reorder/ReorderPostRequestBody.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/users/item/teamwork/sections/item/items/reorder/ReorderPostResponse.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/users/item/teamwork/sections/item/items/reorder/ReorderRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/users/item/teamwork/sections/reorder/ReorderPostRequestBody.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/users/item/teamwork/sections/reorder/ReorderPostResponse.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/users/item/teamwork/sections/reorder/ReorderRequestBuilder.java diff --git a/src/main/java/com/microsoft/graph/beta/generated/BaseGraphServiceClient.java b/src/main/java/com/microsoft/graph/beta/generated/BaseGraphServiceClient.java index 7ffb9ae44fd..dea2485a41a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/BaseGraphServiceClient.java +++ b/src/main/java/com/microsoft/graph/beta/generated/BaseGraphServiceClient.java @@ -1174,8 +1174,11 @@ public GroupsWithUniqueNameRequestBuilder groupsWithUniqueName(@jakarta.annotati * Provides operations to manage the collection of servicePrincipal entities. * @param appId Alternate key of servicePrincipal * @return a {@link ServicePrincipalsWithAppIdRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public ServicePrincipalsWithAppIdRequestBuilder servicePrincipalsWithAppId(@jakarta.annotation.Nonnull final String appId) { Objects.requireNonNull(appId); return new ServicePrincipalsWithAppIdRequestBuilder(pathParameters, requestAdapter, appId); diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/AdminRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/AdminRequestBuilder.java index c4467ab1b96..6f938446750 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/admin/AdminRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/admin/AdminRequestBuilder.java @@ -53,7 +53,7 @@ public CloudLicensingRequestBuilder cloudLicensing() { return new CloudLicensingRequestBuilder(pathParameters, requestAdapter); } /** - * Provides operations to manage the configurationManagement property of the microsoft.graph.admin entity. + * The configurationManagement property * @return a {@link ConfigurationManagementRequestBuilder} */ @jakarta.annotation.Nonnull diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/configurationmanagement/ConfigurationManagementRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/configurationmanagement/ConfigurationManagementRequestBuilder.java index 4d4681bd77e..b32c5dce23f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/admin/configurationmanagement/ConfigurationManagementRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/admin/configurationmanagement/ConfigurationManagementRequestBuilder.java @@ -5,23 +5,12 @@ import com.microsoft.graph.beta.admin.configurationmanagement.configurationmonitors.ConfigurationMonitorsRequestBuilder; import com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshotjobs.ConfigurationSnapshotJobsRequestBuilder; import com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshots.ConfigurationSnapshotsRequestBuilder; -import com.microsoft.graph.beta.models.ConfigurationManagement; -import com.microsoft.graph.beta.models.odataerrors.ODataError; import com.microsoft.kiota.BaseRequestBuilder; -import com.microsoft.kiota.BaseRequestConfiguration; -import com.microsoft.kiota.HttpMethod; -import com.microsoft.kiota.QueryParameters; import com.microsoft.kiota.RequestAdapter; -import com.microsoft.kiota.RequestInformation; -import com.microsoft.kiota.RequestOption; -import com.microsoft.kiota.serialization.Parsable; -import com.microsoft.kiota.serialization.ParsableFactory; -import java.util.Collection; import java.util.HashMap; -import java.util.Map; import java.util.Objects; /** - * Provides operations to manage the configurationManagement property of the microsoft.graph.admin entity. + * Builds and executes requests for operations under /admin/configurationManagement */ @jakarta.annotation.Generated("com.microsoft.kiota") public class ConfigurationManagementRequestBuilder extends BaseRequestBuilder { @@ -71,7 +60,7 @@ public ConfigurationSnapshotsRequestBuilder configurationSnapshots() { * @param requestAdapter The request adapter to use to execute the requests. */ public ConfigurationManagementRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { - super(requestAdapter, "{+baseurl}/admin/configurationManagement{?%24expand,%24select}", pathParameters); + super(requestAdapter, "{+baseurl}/admin/configurationManagement", pathParameters); } /** * Instantiates a new {@link ConfigurationManagementRequestBuilder} and sets the default values. @@ -79,195 +68,6 @@ public ConfigurationManagementRequestBuilder(@jakarta.annotation.Nonnull final H * @param requestAdapter The request adapter to use to execute the requests. */ public ConfigurationManagementRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { - super(requestAdapter, "{+baseurl}/admin/configurationManagement{?%24expand,%24select}", rawUrl); - } - /** - * Delete navigation property configurationManagement for admin - * @throws ODataError When receiving a 4XX or 5XX status code - */ - public void delete() { - delete(null); - } - /** - * Delete navigation property configurationManagement for admin - * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @throws ODataError When receiving a 4XX or 5XX status code - */ - public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); - final HashMap> errorMapping = new HashMap>(); - errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); - this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); - } - /** - * Get configurationManagement from admin - * @return a {@link ConfigurationManagement} - * @throws ODataError When receiving a 4XX or 5XX status code - */ - @jakarta.annotation.Nullable - public ConfigurationManagement get() { - return get(null); - } - /** - * Get configurationManagement from admin - * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return a {@link ConfigurationManagement} - * @throws ODataError When receiving a 4XX or 5XX status code - */ - @jakarta.annotation.Nullable - public ConfigurationManagement get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); - final HashMap> errorMapping = new HashMap>(); - errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); - return this.requestAdapter.send(requestInfo, errorMapping, ConfigurationManagement::createFromDiscriminatorValue); - } - /** - * Update the navigation property configurationManagement in admin - * @param body The request body - * @return a {@link ConfigurationManagement} - * @throws ODataError When receiving a 4XX or 5XX status code - */ - @jakarta.annotation.Nullable - public ConfigurationManagement patch(@jakarta.annotation.Nonnull final ConfigurationManagement body) { - return patch(body, null); - } - /** - * Update the navigation property configurationManagement in admin - * @param body The request body - * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return a {@link ConfigurationManagement} - * @throws ODataError When receiving a 4XX or 5XX status code - */ - @jakarta.annotation.Nullable - public ConfigurationManagement patch(@jakarta.annotation.Nonnull final ConfigurationManagement body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - Objects.requireNonNull(body); - final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); - final HashMap> errorMapping = new HashMap>(); - errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); - return this.requestAdapter.send(requestInfo, errorMapping, ConfigurationManagement::createFromDiscriminatorValue); - } - /** - * Delete navigation property configurationManagement for admin - * @return a {@link RequestInformation} - */ - @jakarta.annotation.Nonnull - public RequestInformation toDeleteRequestInformation() { - return toDeleteRequestInformation(null); - } - /** - * Delete navigation property configurationManagement for admin - * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return a {@link RequestInformation} - */ - @jakarta.annotation.Nonnull - public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); - requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); - requestInfo.headers.tryAdd("Accept", "application/json"); - return requestInfo; - } - /** - * Get configurationManagement from admin - * @return a {@link RequestInformation} - */ - @jakarta.annotation.Nonnull - public RequestInformation toGetRequestInformation() { - return toGetRequestInformation(null); - } - /** - * Get configurationManagement from admin - * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return a {@link RequestInformation} - */ - @jakarta.annotation.Nonnull - public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); - requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); - requestInfo.headers.tryAdd("Accept", "application/json"); - return requestInfo; - } - /** - * Update the navigation property configurationManagement in admin - * @param body The request body - * @return a {@link RequestInformation} - */ - @jakarta.annotation.Nonnull - public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final ConfigurationManagement body) { - return toPatchRequestInformation(body, null); - } - /** - * Update the navigation property configurationManagement in admin - * @param body The request body - * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return a {@link RequestInformation} - */ - @jakarta.annotation.Nonnull - public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final ConfigurationManagement body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); - requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new); - 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. - * @param rawUrl The raw URL to use for the request builder. - * @return a {@link ConfigurationManagementRequestBuilder} - */ - @jakarta.annotation.Nonnull - public ConfigurationManagementRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { - Objects.requireNonNull(rawUrl); - return new ConfigurationManagementRequestBuilder(rawUrl, requestAdapter); - } - /** - * Configuration for the request such as headers, query parameters, and middleware options. - */ - @jakarta.annotation.Generated("com.microsoft.kiota") - public class DeleteRequestConfiguration extends BaseRequestConfiguration { - } - /** - * Get configurationManagement from admin - */ - @jakarta.annotation.Generated("com.microsoft.kiota") - public class GetQueryParameters implements QueryParameters { - /** - * Expand related entities - */ - @jakarta.annotation.Nullable - public String[] expand; - /** - * Select properties to be returned - */ - @jakarta.annotation.Nullable - public String[] select; - /** - * Extracts the query parameters into a map for the URI template parsing. - * @return a {@link Map} - */ - @jakarta.annotation.Nonnull - public Map toQueryParameters() { - final Map allQueryParams = new HashMap(); - allQueryParams.put("%24expand", expand); - allQueryParams.put("%24select", select); - return allQueryParams; - } - } - /** - * Configuration for the request such as headers, query parameters, and middleware options. - */ - @jakarta.annotation.Generated("com.microsoft.kiota") - public class GetRequestConfiguration extends BaseRequestConfiguration { - /** - * Request query parameters - */ - @jakarta.annotation.Nullable - public GetQueryParameters queryParameters = new GetQueryParameters(); - } - /** - * Configuration for the request such as headers, query parameters, and middleware options. - */ - @jakarta.annotation.Generated("com.microsoft.kiota") - public class PatchRequestConfiguration extends BaseRequestConfiguration { + super(requestAdapter, "{+baseurl}/admin/configurationManagement", rawUrl); } } diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/configurationmanagement/configurationdrifts/ConfigurationDriftsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/configurationmanagement/configurationdrifts/ConfigurationDriftsRequestBuilder.java index 8cb7d87807a..fd429d79819 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/admin/configurationmanagement/configurationdrifts/ConfigurationDriftsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/admin/configurationmanagement/configurationdrifts/ConfigurationDriftsRequestBuilder.java @@ -2,7 +2,6 @@ import com.microsoft.graph.beta.admin.configurationmanagement.configurationdrifts.count.CountRequestBuilder; import com.microsoft.graph.beta.admin.configurationmanagement.configurationdrifts.item.ConfigurationDriftItemRequestBuilder; -import com.microsoft.graph.beta.models.ConfigurationDrift; import com.microsoft.graph.beta.models.ConfigurationDriftCollectionResponse; import com.microsoft.graph.beta.models.odataerrors.ODataError; import com.microsoft.kiota.BaseRequestBuilder; @@ -83,31 +82,6 @@ public ConfigurationDriftCollectionResponse get(@jakarta.annotation.Nullable fin errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); return this.requestAdapter.send(requestInfo, errorMapping, ConfigurationDriftCollectionResponse::createFromDiscriminatorValue); } - /** - * Create new navigation property to configurationDrifts for admin - * @param body The request body - * @return a {@link ConfigurationDrift} - * @throws ODataError When receiving a 4XX or 5XX status code - */ - @jakarta.annotation.Nullable - public ConfigurationDrift post(@jakarta.annotation.Nonnull final ConfigurationDrift body) { - return post(body, null); - } - /** - * Create new navigation property to configurationDrifts for admin - * @param body The request body - * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return a {@link ConfigurationDrift} - * @throws ODataError When receiving a 4XX or 5XX status code - */ - @jakarta.annotation.Nullable - public ConfigurationDrift post(@jakarta.annotation.Nonnull final ConfigurationDrift body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - Objects.requireNonNull(body); - final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); - final HashMap> errorMapping = new HashMap>(); - errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); - return this.requestAdapter.send(requestInfo, errorMapping, ConfigurationDrift::createFromDiscriminatorValue); - } /** * Get a list of the configurationDrift objects and their properties. * @return a {@link RequestInformation} @@ -128,30 +102,6 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; } - /** - * Create new navigation property to configurationDrifts for admin - * @param body The request body - * @return a {@link RequestInformation} - */ - @jakarta.annotation.Nonnull - public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ConfigurationDrift body) { - return toPostRequestInformation(body, null); - } - /** - * Create new navigation property to configurationDrifts for admin - * @param body The request body - * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return a {@link RequestInformation} - */ - @jakarta.annotation.Nonnull - public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ConfigurationDrift body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); - requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); - 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. * @param rawUrl The raw URL to use for the request builder. @@ -236,10 +186,4 @@ public class GetRequestConfiguration extends BaseRequestConfiguration { @jakarta.annotation.Nullable public GetQueryParameters queryParameters = new GetQueryParameters(); } - /** - * Configuration for the request such as headers, query parameters, and middleware options. - */ - @jakarta.annotation.Generated("com.microsoft.kiota") - public class PostRequestConfiguration extends BaseRequestConfiguration { - } } diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/configurationmanagement/configurationdrifts/item/ConfigurationDriftItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/configurationmanagement/configurationdrifts/item/ConfigurationDriftItemRequestBuilder.java index f9740260b61..9caa00ca88e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/admin/configurationmanagement/configurationdrifts/item/ConfigurationDriftItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/admin/configurationmanagement/configurationdrifts/item/ConfigurationDriftItemRequestBuilder.java @@ -36,24 +36,6 @@ public ConfigurationDriftItemRequestBuilder(@jakarta.annotation.Nonnull final Ha public ConfigurationDriftItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { super(requestAdapter, "{+baseurl}/admin/configurationManagement/configurationDrifts/{configurationDrift%2Did}{?%24expand,%24select}", rawUrl); } - /** - * Delete navigation property configurationDrifts for admin - * @throws ODataError When receiving a 4XX or 5XX status code - */ - public void delete() { - delete(null); - } - /** - * Delete navigation property configurationDrifts for admin - * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @throws ODataError When receiving a 4XX or 5XX status code - */ - public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); - final HashMap> errorMapping = new HashMap>(); - errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); - this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); - } /** * Get the properties and relationships of a configurationDrift object. * @return a {@link ConfigurationDrift} @@ -78,51 +60,6 @@ public ConfigurationDrift get(@jakarta.annotation.Nullable final java.util.funct errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); return this.requestAdapter.send(requestInfo, errorMapping, ConfigurationDrift::createFromDiscriminatorValue); } - /** - * Update the navigation property configurationDrifts in admin - * @param body The request body - * @return a {@link ConfigurationDrift} - * @throws ODataError When receiving a 4XX or 5XX status code - */ - @jakarta.annotation.Nullable - public ConfigurationDrift patch(@jakarta.annotation.Nonnull final ConfigurationDrift body) { - return patch(body, null); - } - /** - * Update the navigation property configurationDrifts in admin - * @param body The request body - * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return a {@link ConfigurationDrift} - * @throws ODataError When receiving a 4XX or 5XX status code - */ - @jakarta.annotation.Nullable - public ConfigurationDrift patch(@jakarta.annotation.Nonnull final ConfigurationDrift body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - Objects.requireNonNull(body); - final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); - final HashMap> errorMapping = new HashMap>(); - errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); - return this.requestAdapter.send(requestInfo, errorMapping, ConfigurationDrift::createFromDiscriminatorValue); - } - /** - * Delete navigation property configurationDrifts for admin - * @return a {@link RequestInformation} - */ - @jakarta.annotation.Nonnull - public RequestInformation toDeleteRequestInformation() { - return toDeleteRequestInformation(null); - } - /** - * Delete navigation property configurationDrifts for admin - * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return a {@link RequestInformation} - */ - @jakarta.annotation.Nonnull - public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); - requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); - requestInfo.headers.tryAdd("Accept", "application/json"); - return requestInfo; - } /** * Get the properties and relationships of a configurationDrift object. * @return a {@link RequestInformation} @@ -143,30 +80,6 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; } - /** - * Update the navigation property configurationDrifts in admin - * @param body The request body - * @return a {@link RequestInformation} - */ - @jakarta.annotation.Nonnull - public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final ConfigurationDrift body) { - return toPatchRequestInformation(body, null); - } - /** - * Update the navigation property configurationDrifts in admin - * @param body The request body - * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return a {@link RequestInformation} - */ - @jakarta.annotation.Nonnull - public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final ConfigurationDrift body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); - requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new); - 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. * @param rawUrl The raw URL to use for the request builder. @@ -177,12 +90,6 @@ public ConfigurationDriftItemRequestBuilder withUrl(@jakarta.annotation.Nonnull Objects.requireNonNull(rawUrl); return new ConfigurationDriftItemRequestBuilder(rawUrl, requestAdapter); } - /** - * Configuration for the request such as headers, query parameters, and middleware options. - */ - @jakarta.annotation.Generated("com.microsoft.kiota") - public class DeleteRequestConfiguration extends BaseRequestConfiguration { - } /** * Get the properties and relationships of a configurationDrift object. */ @@ -221,10 +128,4 @@ public class GetRequestConfiguration extends BaseRequestConfiguration { @jakarta.annotation.Nullable public GetQueryParameters queryParameters = new GetQueryParameters(); } - /** - * Configuration for the request such as headers, query parameters, and middleware options. - */ - @jakarta.annotation.Generated("com.microsoft.kiota") - public class PatchRequestConfiguration extends BaseRequestConfiguration { - } } diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/configurationmanagement/configurationmonitoringresults/ConfigurationMonitoringResultsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/configurationmanagement/configurationmonitoringresults/ConfigurationMonitoringResultsRequestBuilder.java index 95ce6452b33..6a9452a5555 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/admin/configurationmanagement/configurationmonitoringresults/ConfigurationMonitoringResultsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/admin/configurationmanagement/configurationmonitoringresults/ConfigurationMonitoringResultsRequestBuilder.java @@ -2,7 +2,6 @@ import com.microsoft.graph.beta.admin.configurationmanagement.configurationmonitoringresults.count.CountRequestBuilder; import com.microsoft.graph.beta.admin.configurationmanagement.configurationmonitoringresults.item.ConfigurationMonitoringResultItemRequestBuilder; -import com.microsoft.graph.beta.models.ConfigurationMonitoringResult; import com.microsoft.graph.beta.models.ConfigurationMonitoringResultCollectionResponse; import com.microsoft.graph.beta.models.odataerrors.ODataError; import com.microsoft.kiota.BaseRequestBuilder; @@ -83,31 +82,6 @@ public ConfigurationMonitoringResultCollectionResponse get(@jakarta.annotation.N errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); return this.requestAdapter.send(requestInfo, errorMapping, ConfigurationMonitoringResultCollectionResponse::createFromDiscriminatorValue); } - /** - * Create new navigation property to configurationMonitoringResults for admin - * @param body The request body - * @return a {@link ConfigurationMonitoringResult} - * @throws ODataError When receiving a 4XX or 5XX status code - */ - @jakarta.annotation.Nullable - public ConfigurationMonitoringResult post(@jakarta.annotation.Nonnull final ConfigurationMonitoringResult body) { - return post(body, null); - } - /** - * Create new navigation property to configurationMonitoringResults for admin - * @param body The request body - * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return a {@link ConfigurationMonitoringResult} - * @throws ODataError When receiving a 4XX or 5XX status code - */ - @jakarta.annotation.Nullable - public ConfigurationMonitoringResult post(@jakarta.annotation.Nonnull final ConfigurationMonitoringResult body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - Objects.requireNonNull(body); - final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); - final HashMap> errorMapping = new HashMap>(); - errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); - return this.requestAdapter.send(requestInfo, errorMapping, ConfigurationMonitoringResult::createFromDiscriminatorValue); - } /** * Get a list of the configurationMonitoringResult objects and their properties. * @return a {@link RequestInformation} @@ -128,30 +102,6 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; } - /** - * Create new navigation property to configurationMonitoringResults for admin - * @param body The request body - * @return a {@link RequestInformation} - */ - @jakarta.annotation.Nonnull - public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ConfigurationMonitoringResult body) { - return toPostRequestInformation(body, null); - } - /** - * Create new navigation property to configurationMonitoringResults for admin - * @param body The request body - * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return a {@link RequestInformation} - */ - @jakarta.annotation.Nonnull - public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ConfigurationMonitoringResult body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); - requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); - 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. * @param rawUrl The raw URL to use for the request builder. @@ -236,10 +186,4 @@ public class GetRequestConfiguration extends BaseRequestConfiguration { @jakarta.annotation.Nullable public GetQueryParameters queryParameters = new GetQueryParameters(); } - /** - * Configuration for the request such as headers, query parameters, and middleware options. - */ - @jakarta.annotation.Generated("com.microsoft.kiota") - public class PostRequestConfiguration extends BaseRequestConfiguration { - } } diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/configurationmanagement/configurationmonitoringresults/item/ConfigurationMonitoringResultItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/configurationmanagement/configurationmonitoringresults/item/ConfigurationMonitoringResultItemRequestBuilder.java index 04dfe16242c..5e820210084 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/admin/configurationmanagement/configurationmonitoringresults/item/ConfigurationMonitoringResultItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/admin/configurationmanagement/configurationmonitoringresults/item/ConfigurationMonitoringResultItemRequestBuilder.java @@ -36,24 +36,6 @@ public ConfigurationMonitoringResultItemRequestBuilder(@jakarta.annotation.Nonnu public ConfigurationMonitoringResultItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { super(requestAdapter, "{+baseurl}/admin/configurationManagement/configurationMonitoringResults/{configurationMonitoringResult%2Did}{?%24expand,%24select}", rawUrl); } - /** - * Delete navigation property configurationMonitoringResults for admin - * @throws ODataError When receiving a 4XX or 5XX status code - */ - public void delete() { - delete(null); - } - /** - * Delete navigation property configurationMonitoringResults for admin - * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @throws ODataError When receiving a 4XX or 5XX status code - */ - public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); - final HashMap> errorMapping = new HashMap>(); - errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); - this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); - } /** * Read the properties and relationships of a configurationMonitoringResult object. * @return a {@link ConfigurationMonitoringResult} @@ -78,51 +60,6 @@ public ConfigurationMonitoringResult get(@jakarta.annotation.Nullable final java errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); return this.requestAdapter.send(requestInfo, errorMapping, ConfigurationMonitoringResult::createFromDiscriminatorValue); } - /** - * Update the navigation property configurationMonitoringResults in admin - * @param body The request body - * @return a {@link ConfigurationMonitoringResult} - * @throws ODataError When receiving a 4XX or 5XX status code - */ - @jakarta.annotation.Nullable - public ConfigurationMonitoringResult patch(@jakarta.annotation.Nonnull final ConfigurationMonitoringResult body) { - return patch(body, null); - } - /** - * Update the navigation property configurationMonitoringResults in admin - * @param body The request body - * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return a {@link ConfigurationMonitoringResult} - * @throws ODataError When receiving a 4XX or 5XX status code - */ - @jakarta.annotation.Nullable - public ConfigurationMonitoringResult patch(@jakarta.annotation.Nonnull final ConfigurationMonitoringResult body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - Objects.requireNonNull(body); - final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); - final HashMap> errorMapping = new HashMap>(); - errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); - return this.requestAdapter.send(requestInfo, errorMapping, ConfigurationMonitoringResult::createFromDiscriminatorValue); - } - /** - * Delete navigation property configurationMonitoringResults for admin - * @return a {@link RequestInformation} - */ - @jakarta.annotation.Nonnull - public RequestInformation toDeleteRequestInformation() { - return toDeleteRequestInformation(null); - } - /** - * Delete navigation property configurationMonitoringResults for admin - * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return a {@link RequestInformation} - */ - @jakarta.annotation.Nonnull - public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); - requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); - requestInfo.headers.tryAdd("Accept", "application/json"); - return requestInfo; - } /** * Read the properties and relationships of a configurationMonitoringResult object. * @return a {@link RequestInformation} @@ -143,30 +80,6 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; } - /** - * Update the navigation property configurationMonitoringResults in admin - * @param body The request body - * @return a {@link RequestInformation} - */ - @jakarta.annotation.Nonnull - public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final ConfigurationMonitoringResult body) { - return toPatchRequestInformation(body, null); - } - /** - * Update the navigation property configurationMonitoringResults in admin - * @param body The request body - * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return a {@link RequestInformation} - */ - @jakarta.annotation.Nonnull - public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final ConfigurationMonitoringResult body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); - requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new); - 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. * @param rawUrl The raw URL to use for the request builder. @@ -177,12 +90,6 @@ public ConfigurationMonitoringResultItemRequestBuilder withUrl(@jakarta.annotati Objects.requireNonNull(rawUrl); return new ConfigurationMonitoringResultItemRequestBuilder(rawUrl, requestAdapter); } - /** - * Configuration for the request such as headers, query parameters, and middleware options. - */ - @jakarta.annotation.Generated("com.microsoft.kiota") - public class DeleteRequestConfiguration extends BaseRequestConfiguration { - } /** * Read the properties and relationships of a configurationMonitoringResult object. */ @@ -221,10 +128,4 @@ public class GetRequestConfiguration extends BaseRequestConfiguration { @jakarta.annotation.Nullable public GetQueryParameters queryParameters = new GetQueryParameters(); } - /** - * Configuration for the request such as headers, query parameters, and middleware options. - */ - @jakarta.annotation.Generated("com.microsoft.kiota") - public class PatchRequestConfiguration extends BaseRequestConfiguration { - } } diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/configurationmanagement/configurationmonitors/item/baseline/BaselineRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/configurationmanagement/configurationmonitors/item/baseline/BaselineRequestBuilder.java index 26fac7b4847..411a2f755a5 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/admin/configurationmanagement/configurationmonitors/item/baseline/BaselineRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/admin/configurationmanagement/configurationmonitors/item/baseline/BaselineRequestBuilder.java @@ -36,24 +36,6 @@ public BaselineRequestBuilder(@jakarta.annotation.Nonnull final HashMap requestConfiguration) { - final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); - final HashMap> errorMapping = new HashMap>(); - errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); - this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); - } /** * Read the properties and relationships of a configurationBaseline object that is attached to a specific monitor. * @return a {@link ConfigurationBaseline} @@ -78,51 +60,6 @@ public ConfigurationBaseline get(@jakarta.annotation.Nullable final java.util.fu errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); return this.requestAdapter.send(requestInfo, errorMapping, ConfigurationBaseline::createFromDiscriminatorValue); } - /** - * Update the navigation property baseline in admin - * @param body The request body - * @return a {@link ConfigurationBaseline} - * @throws ODataError When receiving a 4XX or 5XX status code - */ - @jakarta.annotation.Nullable - public ConfigurationBaseline patch(@jakarta.annotation.Nonnull final ConfigurationBaseline body) { - return patch(body, null); - } - /** - * Update the navigation property baseline in admin - * @param body The request body - * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return a {@link ConfigurationBaseline} - * @throws ODataError When receiving a 4XX or 5XX status code - */ - @jakarta.annotation.Nullable - public ConfigurationBaseline patch(@jakarta.annotation.Nonnull final ConfigurationBaseline body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - Objects.requireNonNull(body); - final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); - final HashMap> errorMapping = new HashMap>(); - errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); - return this.requestAdapter.send(requestInfo, errorMapping, ConfigurationBaseline::createFromDiscriminatorValue); - } - /** - * Delete navigation property baseline for admin - * @return a {@link RequestInformation} - */ - @jakarta.annotation.Nonnull - public RequestInformation toDeleteRequestInformation() { - return toDeleteRequestInformation(null); - } - /** - * Delete navigation property baseline for admin - * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return a {@link RequestInformation} - */ - @jakarta.annotation.Nonnull - public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); - requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); - requestInfo.headers.tryAdd("Accept", "application/json"); - return requestInfo; - } /** * Read the properties and relationships of a configurationBaseline object that is attached to a specific monitor. * @return a {@link RequestInformation} @@ -143,30 +80,6 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; } - /** - * Update the navigation property baseline in admin - * @param body The request body - * @return a {@link RequestInformation} - */ - @jakarta.annotation.Nonnull - public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final ConfigurationBaseline body) { - return toPatchRequestInformation(body, null); - } - /** - * Update the navigation property baseline in admin - * @param body The request body - * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return a {@link RequestInformation} - */ - @jakarta.annotation.Nonnull - public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final ConfigurationBaseline body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); - requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new); - 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. * @param rawUrl The raw URL to use for the request builder. @@ -177,12 +90,6 @@ public BaselineRequestBuilder withUrl(@jakarta.annotation.Nonnull final String r Objects.requireNonNull(rawUrl); return new BaselineRequestBuilder(rawUrl, requestAdapter); } - /** - * Configuration for the request such as headers, query parameters, and middleware options. - */ - @jakarta.annotation.Generated("com.microsoft.kiota") - public class DeleteRequestConfiguration extends BaseRequestConfiguration { - } /** * Read the properties and relationships of a configurationBaseline object that is attached to a specific monitor. */ @@ -221,10 +128,4 @@ public class GetRequestConfiguration extends BaseRequestConfiguration { @jakarta.annotation.Nullable public GetQueryParameters queryParameters = new GetQueryParameters(); } - /** - * Configuration for the request such as headers, query parameters, and middleware options. - */ - @jakarta.annotation.Generated("com.microsoft.kiota") - public class PatchRequestConfiguration extends BaseRequestConfiguration { - } } diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/configurationmanagement/configurationsnapshotjobs/ConfigurationSnapshotJobsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/configurationmanagement/configurationsnapshotjobs/ConfigurationSnapshotJobsRequestBuilder.java index 0fa80f162df..cf1a17c9437 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/admin/configurationmanagement/configurationsnapshotjobs/ConfigurationSnapshotJobsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/admin/configurationmanagement/configurationsnapshotjobs/ConfigurationSnapshotJobsRequestBuilder.java @@ -1,8 +1,6 @@ package com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshotjobs; -import com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshotjobs.count.CountRequestBuilder; import com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshotjobs.item.ConfigurationSnapshotJobItemRequestBuilder; -import com.microsoft.graph.beta.models.ConfigurationSnapshotJob; import com.microsoft.graph.beta.models.ConfigurationSnapshotJobCollectionResponse; import com.microsoft.graph.beta.models.odataerrors.ODataError; import com.microsoft.kiota.BaseRequestBuilder; @@ -23,14 +21,6 @@ */ @jakarta.annotation.Generated("com.microsoft.kiota") public class ConfigurationSnapshotJobsRequestBuilder extends BaseRequestBuilder { - /** - * Provides operations to count the resources in the collection. - * @return a {@link CountRequestBuilder} - */ - @jakarta.annotation.Nonnull - public CountRequestBuilder count() { - return new CountRequestBuilder(pathParameters, requestAdapter); - } /** * Provides operations to manage the configurationSnapshotJobs property of the microsoft.graph.configurationManagement entity. * @param configurationSnapshotJobId The unique identifier of configurationSnapshotJob @@ -83,31 +73,6 @@ public ConfigurationSnapshotJobCollectionResponse get(@jakarta.annotation.Nullab errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); return this.requestAdapter.send(requestInfo, errorMapping, ConfigurationSnapshotJobCollectionResponse::createFromDiscriminatorValue); } - /** - * Create new navigation property to configurationSnapshotJobs for admin - * @param body The request body - * @return a {@link ConfigurationSnapshotJob} - * @throws ODataError When receiving a 4XX or 5XX status code - */ - @jakarta.annotation.Nullable - public ConfigurationSnapshotJob post(@jakarta.annotation.Nonnull final ConfigurationSnapshotJob body) { - return post(body, null); - } - /** - * Create new navigation property to configurationSnapshotJobs for admin - * @param body The request body - * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return a {@link ConfigurationSnapshotJob} - * @throws ODataError When receiving a 4XX or 5XX status code - */ - @jakarta.annotation.Nullable - public ConfigurationSnapshotJob post(@jakarta.annotation.Nonnull final ConfigurationSnapshotJob body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - Objects.requireNonNull(body); - final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); - final HashMap> errorMapping = new HashMap>(); - errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); - return this.requestAdapter.send(requestInfo, errorMapping, ConfigurationSnapshotJob::createFromDiscriminatorValue); - } /** * Get a list of the configurationSnapshotJob objects and their properties. * @return a {@link RequestInformation} @@ -128,30 +93,6 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; } - /** - * Create new navigation property to configurationSnapshotJobs for admin - * @param body The request body - * @return a {@link RequestInformation} - */ - @jakarta.annotation.Nonnull - public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ConfigurationSnapshotJob body) { - return toPostRequestInformation(body, null); - } - /** - * Create new navigation property to configurationSnapshotJobs for admin - * @param body The request body - * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return a {@link RequestInformation} - */ - @jakarta.annotation.Nonnull - public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ConfigurationSnapshotJob body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); - requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); - 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. * @param rawUrl The raw URL to use for the request builder. @@ -236,10 +177,4 @@ public class GetRequestConfiguration extends BaseRequestConfiguration { @jakarta.annotation.Nullable public GetQueryParameters queryParameters = new GetQueryParameters(); } - /** - * Configuration for the request such as headers, query parameters, and middleware options. - */ - @jakarta.annotation.Generated("com.microsoft.kiota") - public class PostRequestConfiguration extends BaseRequestConfiguration { - } } diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/configurationmanagement/configurationsnapshotjobs/item/ConfigurationSnapshotJobItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/configurationmanagement/configurationsnapshotjobs/item/ConfigurationSnapshotJobItemRequestBuilder.java index 5569185ae48..b17f0b1a049 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/admin/configurationmanagement/configurationsnapshotjobs/item/ConfigurationSnapshotJobItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/admin/configurationmanagement/configurationsnapshotjobs/item/ConfigurationSnapshotJobItemRequestBuilder.java @@ -80,31 +80,6 @@ public ConfigurationSnapshotJob get(@jakarta.annotation.Nullable final java.util errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); return this.requestAdapter.send(requestInfo, errorMapping, ConfigurationSnapshotJob::createFromDiscriminatorValue); } - /** - * Update the navigation property configurationSnapshotJobs in admin - * @param body The request body - * @return a {@link ConfigurationSnapshotJob} - * @throws ODataError When receiving a 4XX or 5XX status code - */ - @jakarta.annotation.Nullable - public ConfigurationSnapshotJob patch(@jakarta.annotation.Nonnull final ConfigurationSnapshotJob body) { - return patch(body, null); - } - /** - * Update the navigation property configurationSnapshotJobs in admin - * @param body The request body - * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return a {@link ConfigurationSnapshotJob} - * @throws ODataError When receiving a 4XX or 5XX status code - */ - @jakarta.annotation.Nullable - public ConfigurationSnapshotJob patch(@jakarta.annotation.Nonnull final ConfigurationSnapshotJob body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - Objects.requireNonNull(body); - final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); - final HashMap> errorMapping = new HashMap>(); - errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); - return this.requestAdapter.send(requestInfo, errorMapping, ConfigurationSnapshotJob::createFromDiscriminatorValue); - } /** * Delete a configurationSnapshotJob object. * @return a {@link RequestInformation} @@ -145,30 +120,6 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; } - /** - * Update the navigation property configurationSnapshotJobs in admin - * @param body The request body - * @return a {@link RequestInformation} - */ - @jakarta.annotation.Nonnull - public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final ConfigurationSnapshotJob body) { - return toPatchRequestInformation(body, null); - } - /** - * Update the navigation property configurationSnapshotJobs in admin - * @param body The request body - * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return a {@link RequestInformation} - */ - @jakarta.annotation.Nonnull - public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final ConfigurationSnapshotJob body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); - requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new); - 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. * @param rawUrl The raw URL to use for the request builder. @@ -223,10 +174,4 @@ public class GetRequestConfiguration extends BaseRequestConfiguration { @jakarta.annotation.Nullable public GetQueryParameters queryParameters = new GetQueryParameters(); } - /** - * Configuration for the request such as headers, query parameters, and middleware options. - */ - @jakarta.annotation.Generated("com.microsoft.kiota") - public class PatchRequestConfiguration extends BaseRequestConfiguration { - } } diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/configurationmanagement/configurationsnapshots/ConfigurationSnapshotsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/configurationmanagement/configurationsnapshots/ConfigurationSnapshotsRequestBuilder.java index 2609d8c8b47..04b96eabf29 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/admin/configurationmanagement/configurationsnapshots/ConfigurationSnapshotsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/admin/configurationmanagement/configurationsnapshots/ConfigurationSnapshotsRequestBuilder.java @@ -1,8 +1,6 @@ package com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshots; -import com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshots.count.CountRequestBuilder; import com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshots.item.ConfigurationBaselineItemRequestBuilder; -import com.microsoft.graph.beta.models.ConfigurationBaseline; import com.microsoft.graph.beta.models.ConfigurationBaselineCollectionResponse; import com.microsoft.graph.beta.models.odataerrors.ODataError; import com.microsoft.kiota.BaseRequestBuilder; @@ -23,14 +21,6 @@ */ @jakarta.annotation.Generated("com.microsoft.kiota") public class ConfigurationSnapshotsRequestBuilder extends BaseRequestBuilder { - /** - * Provides operations to count the resources in the collection. - * @return a {@link CountRequestBuilder} - */ - @jakarta.annotation.Nonnull - public CountRequestBuilder count() { - return new CountRequestBuilder(pathParameters, requestAdapter); - } /** * Provides operations to manage the configurationSnapshots property of the microsoft.graph.configurationManagement entity. * @param configurationBaselineId The unique identifier of configurationBaseline @@ -83,31 +73,6 @@ public ConfigurationBaselineCollectionResponse get(@jakarta.annotation.Nullable errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); return this.requestAdapter.send(requestInfo, errorMapping, ConfigurationBaselineCollectionResponse::createFromDiscriminatorValue); } - /** - * Create new navigation property to configurationSnapshots for admin - * @param body The request body - * @return a {@link ConfigurationBaseline} - * @throws ODataError When receiving a 4XX or 5XX status code - */ - @jakarta.annotation.Nullable - public ConfigurationBaseline post(@jakarta.annotation.Nonnull final ConfigurationBaseline body) { - return post(body, null); - } - /** - * Create new navigation property to configurationSnapshots for admin - * @param body The request body - * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return a {@link ConfigurationBaseline} - * @throws ODataError When receiving a 4XX or 5XX status code - */ - @jakarta.annotation.Nullable - public ConfigurationBaseline post(@jakarta.annotation.Nonnull final ConfigurationBaseline body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - Objects.requireNonNull(body); - final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); - final HashMap> errorMapping = new HashMap>(); - errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); - return this.requestAdapter.send(requestInfo, errorMapping, ConfigurationBaseline::createFromDiscriminatorValue); - } /** * Get a list of configurationBaseline objects that represent configuration snapshots and their properties. * @return a {@link RequestInformation} @@ -128,30 +93,6 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; } - /** - * Create new navigation property to configurationSnapshots for admin - * @param body The request body - * @return a {@link RequestInformation} - */ - @jakarta.annotation.Nonnull - public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ConfigurationBaseline body) { - return toPostRequestInformation(body, null); - } - /** - * Create new navigation property to configurationSnapshots for admin - * @param body The request body - * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return a {@link RequestInformation} - */ - @jakarta.annotation.Nonnull - public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ConfigurationBaseline body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); - requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); - 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. * @param rawUrl The raw URL to use for the request builder. @@ -236,10 +177,4 @@ public class GetRequestConfiguration extends BaseRequestConfiguration { @jakarta.annotation.Nullable public GetQueryParameters queryParameters = new GetQueryParameters(); } - /** - * Configuration for the request such as headers, query parameters, and middleware options. - */ - @jakarta.annotation.Generated("com.microsoft.kiota") - public class PostRequestConfiguration extends BaseRequestConfiguration { - } } diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/configurationmanagement/configurationsnapshots/item/ConfigurationBaselineItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/configurationmanagement/configurationsnapshots/item/ConfigurationBaselineItemRequestBuilder.java index 3fa0be4fb04..e34e7113b20 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/admin/configurationmanagement/configurationsnapshots/item/ConfigurationBaselineItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/admin/configurationmanagement/configurationsnapshots/item/ConfigurationBaselineItemRequestBuilder.java @@ -36,24 +36,6 @@ public ConfigurationBaselineItemRequestBuilder(@jakarta.annotation.Nonnull final public ConfigurationBaselineItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { super(requestAdapter, "{+baseurl}/admin/configurationManagement/configurationSnapshots/{configurationBaseline%2Did}{?%24expand,%24select}", rawUrl); } - /** - * Delete navigation property configurationSnapshots for admin - * @throws ODataError When receiving a 4XX or 5XX status code - */ - public void delete() { - delete(null); - } - /** - * Delete navigation property configurationSnapshots for admin - * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @throws ODataError When receiving a 4XX or 5XX status code - */ - public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); - final HashMap> errorMapping = new HashMap>(); - errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); - this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); - } /** * A container for configuration snapshot baselines. * @return a {@link ConfigurationBaseline} @@ -76,51 +58,6 @@ public ConfigurationBaseline get(@jakarta.annotation.Nullable final java.util.fu errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); return this.requestAdapter.send(requestInfo, errorMapping, ConfigurationBaseline::createFromDiscriminatorValue); } - /** - * Update the navigation property configurationSnapshots in admin - * @param body The request body - * @return a {@link ConfigurationBaseline} - * @throws ODataError When receiving a 4XX or 5XX status code - */ - @jakarta.annotation.Nullable - public ConfigurationBaseline patch(@jakarta.annotation.Nonnull final ConfigurationBaseline body) { - return patch(body, null); - } - /** - * Update the navigation property configurationSnapshots in admin - * @param body The request body - * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return a {@link ConfigurationBaseline} - * @throws ODataError When receiving a 4XX or 5XX status code - */ - @jakarta.annotation.Nullable - public ConfigurationBaseline patch(@jakarta.annotation.Nonnull final ConfigurationBaseline body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - Objects.requireNonNull(body); - final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); - final HashMap> errorMapping = new HashMap>(); - errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); - return this.requestAdapter.send(requestInfo, errorMapping, ConfigurationBaseline::createFromDiscriminatorValue); - } - /** - * Delete navigation property configurationSnapshots for admin - * @return a {@link RequestInformation} - */ - @jakarta.annotation.Nonnull - public RequestInformation toDeleteRequestInformation() { - return toDeleteRequestInformation(null); - } - /** - * Delete navigation property configurationSnapshots for admin - * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return a {@link RequestInformation} - */ - @jakarta.annotation.Nonnull - public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); - requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); - requestInfo.headers.tryAdd("Accept", "application/json"); - return requestInfo; - } /** * A container for configuration snapshot baselines. * @return a {@link RequestInformation} @@ -141,30 +78,6 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; } - /** - * Update the navigation property configurationSnapshots in admin - * @param body The request body - * @return a {@link RequestInformation} - */ - @jakarta.annotation.Nonnull - public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final ConfigurationBaseline body) { - return toPatchRequestInformation(body, null); - } - /** - * Update the navigation property configurationSnapshots in admin - * @param body The request body - * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return a {@link RequestInformation} - */ - @jakarta.annotation.Nonnull - public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final ConfigurationBaseline body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); - requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new); - 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. * @param rawUrl The raw URL to use for the request builder. @@ -175,12 +88,6 @@ public ConfigurationBaselineItemRequestBuilder withUrl(@jakarta.annotation.Nonnu Objects.requireNonNull(rawUrl); return new ConfigurationBaselineItemRequestBuilder(rawUrl, requestAdapter); } - /** - * Configuration for the request such as headers, query parameters, and middleware options. - */ - @jakarta.annotation.Generated("com.microsoft.kiota") - public class DeleteRequestConfiguration extends BaseRequestConfiguration { - } /** * A container for configuration snapshot baselines. */ @@ -219,10 +126,4 @@ public class GetRequestConfiguration extends BaseRequestConfiguration { @jakarta.annotation.Nullable public GetQueryParameters queryParameters = new GetQueryParameters(); } - /** - * Configuration for the request such as headers, query parameters, and middleware options. - */ - @jakarta.annotation.Generated("com.microsoft.kiota") - public class PatchRequestConfiguration extends BaseRequestConfiguration { - } } diff --git a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/DeviceAppManagementRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/DeviceAppManagementRequestBuilder.java index 88a04fb1530..4edb78ae401 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/DeviceAppManagementRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/DeviceAppManagementRequestBuilder.java @@ -312,7 +312,7 @@ public DeviceAppManagement get(@jakarta.annotation.Nullable final java.util.func } /** * Update deviceAppManagement - * @param body The request body + * @param body Singleton entity that acts as a container for all device app management functionality. * @return a {@link DeviceAppManagement} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -322,7 +322,7 @@ public DeviceAppManagement patch(@jakarta.annotation.Nonnull final DeviceAppMana } /** * Update deviceAppManagement - * @param body The request body + * @param body Singleton entity that acts as a container for all device app management functionality. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DeviceAppManagement} * @throws ODataError When receiving a 4XX or 5XX status code @@ -357,7 +357,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f } /** * Update deviceAppManagement - * @param body The request body + * @param body Singleton entity that acts as a container for all device app management functionality. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -366,7 +366,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull } /** * Update deviceAppManagement - * @param body The request body + * @param body Singleton entity that acts as a container for all device app management functionality. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/ManagedDeviceItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/ManagedDeviceItemRequestBuilder.java index 83744752c9b..dea82936464 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/ManagedDeviceItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/ManagedDeviceItemRequestBuilder.java @@ -3,6 +3,7 @@ import com.microsoft.graph.beta.devicemanagement.comanageddevices.item.activatedeviceesim.ActivateDeviceEsimRequestBuilder; import com.microsoft.graph.beta.devicemanagement.comanageddevices.item.assignmentfilterevaluationstatusdetails.AssignmentFilterEvaluationStatusDetailsRequestBuilder; import com.microsoft.graph.beta.devicemanagement.comanageddevices.item.bypassactivationlock.BypassActivationLockRequestBuilder; +import com.microsoft.graph.beta.devicemanagement.comanageddevices.item.cancelenhancedlogcollection.CancelEnhancedLogCollectionRequestBuilder; import com.microsoft.graph.beta.devicemanagement.comanageddevices.item.changeassignments.ChangeAssignmentsRequestBuilder; import com.microsoft.graph.beta.devicemanagement.comanageddevices.item.cleanwindowsdevice.CleanWindowsDeviceRequestBuilder; import com.microsoft.graph.beta.devicemanagement.comanageddevices.item.createdevicelogcollectionrequest.CreateDeviceLogCollectionRequestRequestBuilder; @@ -55,6 +56,7 @@ import com.microsoft.graph.beta.devicemanagement.comanageddevices.item.suspendmanagedhomescreen.SuspendManagedHomeScreenRequestBuilder; import com.microsoft.graph.beta.devicemanagement.comanageddevices.item.syncdevice.SyncDeviceRequestBuilder; import com.microsoft.graph.beta.devicemanagement.comanageddevices.item.triggerconfigurationmanageraction.TriggerConfigurationManagerActionRequestBuilder; +import com.microsoft.graph.beta.devicemanagement.comanageddevices.item.triggerenhancedlogcollection.TriggerEnhancedLogCollectionRequestBuilder; import com.microsoft.graph.beta.devicemanagement.comanageddevices.item.updatewindowsdeviceaccount.UpdateWindowsDeviceAccountRequestBuilder; import com.microsoft.graph.beta.devicemanagement.comanageddevices.item.users.UsersRequestBuilder; import com.microsoft.graph.beta.devicemanagement.comanageddevices.item.windowsdefenderscan.WindowsDefenderScanRequestBuilder; @@ -105,6 +107,14 @@ public AssignmentFilterEvaluationStatusDetailsRequestBuilder assignmentFilterEva public BypassActivationLockRequestBuilder bypassActivationLock() { return new BypassActivationLockRequestBuilder(pathParameters, requestAdapter); } + /** + * Provides operations to call the cancelEnhancedLogCollection method. + * @return a {@link CancelEnhancedLogCollectionRequestBuilder} + */ + @jakarta.annotation.Nonnull + public CancelEnhancedLogCollectionRequestBuilder cancelEnhancedLogCollection() { + return new CancelEnhancedLogCollectionRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to call the changeAssignments method. * @return a {@link ChangeAssignmentsRequestBuilder} @@ -521,6 +531,14 @@ public SyncDeviceRequestBuilder syncDevice() { public TriggerConfigurationManagerActionRequestBuilder triggerConfigurationManagerAction() { return new TriggerConfigurationManagerActionRequestBuilder(pathParameters, requestAdapter); } + /** + * Provides operations to call the triggerEnhancedLogCollection method. + * @return a {@link TriggerEnhancedLogCollectionRequestBuilder} + */ + @jakarta.annotation.Nonnull + public TriggerEnhancedLogCollectionRequestBuilder triggerEnhancedLogCollection() { + return new TriggerEnhancedLogCollectionRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to call the updateWindowsDeviceAccount method. * @return a {@link UpdateWindowsDeviceAccountRequestBuilder} diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/cancelenhancedlogcollection/CancelEnhancedLogCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/cancelenhancedlogcollection/CancelEnhancedLogCollectionRequestBuilder.java new file mode 100644 index 00000000000..ee0e1f3ed99 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/cancelenhancedlogcollection/CancelEnhancedLogCollectionRequestBuilder.java @@ -0,0 +1,91 @@ +package com.microsoft.graph.beta.devicemanagement.comanageddevices.item.cancelenhancedlogcollection; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to call the cancelEnhancedLogCollection method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class CancelEnhancedLogCollectionRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link CancelEnhancedLogCollectionRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public CancelEnhancedLogCollectionRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/deviceManagement/comanagedDevices/{managedDevice%2Did}/cancelEnhancedLogCollection", pathParameters); + } + /** + * Instantiates a new {@link CancelEnhancedLogCollectionRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public CancelEnhancedLogCollectionRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/deviceManagement/comanagedDevices/{managedDevice%2Did}/cancelEnhancedLogCollection", rawUrl); + } + /** + * Cancels an in-progress enhanced log collection session on a supervised Apple device. + * @throws ODataError When receiving a 4XX or 5XX status code + */ + public void post() { + post(null); + } + /** + * Cancels an in-progress enhanced log collection session on a supervised Apple device. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @throws ODataError When receiving a 4XX or 5XX status code + */ + public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); + } + /** + * Cancels an in-progress enhanced log collection session on a supervised Apple device. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation() { + return toPostRequestInformation(null); + } + /** + * Cancels an in-progress enhanced log collection session on a supervised Apple device. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); + 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. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link CancelEnhancedLogCollectionRequestBuilder} + */ + @jakarta.annotation.Nonnull + public CancelEnhancedLogCollectionRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new CancelEnhancedLogCollectionRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PostRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/securitybaselinestates/SecurityBaselineStatesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/securitybaselinestates/SecurityBaselineStatesRequestBuilder.java index 32148402b55..d5517d88999 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/securitybaselinestates/SecurityBaselineStatesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/securitybaselinestates/SecurityBaselineStatesRequestBuilder.java @@ -26,7 +26,10 @@ public class SecurityBaselineStatesRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the securityBaselineStates property of the microsoft.graph.managedDevice entity. * @param securityBaselineStateId The unique identifier of securityBaselineState * @return a {@link SecurityBaselineStateItemRequestBuilder} + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nonnull + @Deprecated public SecurityBaselineStateItemRequestBuilder bySecurityBaselineStateId(@jakarta.annotation.Nonnull final String securityBaselineStateId) { Objects.requireNonNull(securityBaselineStateId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public SecurityBaselineStatesRequestBuilder(@jakarta.annotation.Nonnull final St * Security baseline states for this device. * @return a {@link SecurityBaselineStateCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nullable + @Deprecated public SecurityBaselineStateCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public SecurityBaselineStateCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SecurityBaselineStateCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nullable + @Deprecated public SecurityBaselineStateCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public SecurityBaselineStateCollectionResponse get(@jakarta.annotation.Nullable * @param body The request body * @return a {@link SecurityBaselineState} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nullable + @Deprecated public SecurityBaselineState post(@jakarta.annotation.Nonnull final SecurityBaselineState body) { return post(body, null); } @@ -97,8 +112,11 @@ public SecurityBaselineState post(@jakarta.annotation.Nonnull final SecurityBase * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SecurityBaselineState} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nullable + @Deprecated public SecurityBaselineState post(@jakarta.annotation.Nonnull final SecurityBaselineState body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public SecurityBaselineState post(@jakarta.annotation.Nonnull final SecurityBase /** * Security baseline states for this device. * @return a {@link RequestInformation} + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Security baseline states for this device. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to securityBaselineStates for deviceManagement * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final SecurityBaselineState body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final SecurityBaselineState body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link SecurityBaselineStatesRequestBuilder} + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nonnull + @Deprecated public SecurityBaselineStatesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new SecurityBaselineStatesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/securitybaselinestates/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/securitybaselinestates/count/CountRequestBuilder.java index 34077d08dd4..9ff0174ec99 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/securitybaselinestates/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/securitybaselinestates/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/securitybaselinestates/item/SecurityBaselineStateItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/securitybaselinestates/item/SecurityBaselineStateItemRequestBuilder.java index 73f519b6532..d80ea99f30b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/securitybaselinestates/item/SecurityBaselineStateItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/securitybaselinestates/item/SecurityBaselineStateItemRequestBuilder.java @@ -24,7 +24,10 @@ public class SecurityBaselineStateItemRequestBuilder extends BaseRequestBuilder /** * Provides operations to manage the settingStates property of the microsoft.graph.securityBaselineState entity. * @return a {@link SettingStatesRequestBuilder} + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ + @Deprecated @jakarta.annotation.Nonnull public SettingStatesRequestBuilder settingStates() { return new SettingStatesRequestBuilder(pathParameters, requestAdapter); @@ -48,7 +51,10 @@ public SecurityBaselineStateItemRequestBuilder(@jakarta.annotation.Nonnull final /** * Delete navigation property securityBaselineStates for deviceManagement * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ + @Deprecated public void delete() { delete(null); } @@ -56,7 +62,10 @@ public void delete() { * Delete navigation property securityBaselineStates for deviceManagement * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -67,8 +76,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Security baseline states for this device. * @return a {@link SecurityBaselineState} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nullable + @Deprecated public SecurityBaselineState get() { return get(null); } @@ -77,8 +89,11 @@ public SecurityBaselineState get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SecurityBaselineState} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nullable + @Deprecated public SecurityBaselineState get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -90,8 +105,11 @@ public SecurityBaselineState get(@jakarta.annotation.Nullable final java.util.fu * @param body The request body * @return a {@link SecurityBaselineState} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nullable + @Deprecated public SecurityBaselineState patch(@jakarta.annotation.Nonnull final SecurityBaselineState body) { return patch(body, null); } @@ -101,8 +119,11 @@ public SecurityBaselineState patch(@jakarta.annotation.Nonnull final SecurityBas * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SecurityBaselineState} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nullable + @Deprecated public SecurityBaselineState patch(@jakarta.annotation.Nonnull final SecurityBaselineState body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -113,8 +134,11 @@ public SecurityBaselineState patch(@jakarta.annotation.Nonnull final SecurityBas /** * Delete navigation property securityBaselineStates for deviceManagement * @return a {@link RequestInformation} + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -122,8 +146,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property securityBaselineStates for deviceManagement * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -133,8 +160,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Security baseline states for this device. * @return a {@link RequestInformation} + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -142,8 +172,11 @@ public RequestInformation toGetRequestInformation() { * Security baseline states for this device. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -154,8 +187,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property securityBaselineStates in deviceManagement * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final SecurityBaselineState body) { return toPatchRequestInformation(body, null); } @@ -164,8 +200,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final SecurityBaselineState body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -178,8 +217,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link SecurityBaselineStateItemRequestBuilder} + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nonnull + @Deprecated public SecurityBaselineStateItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new SecurityBaselineStateItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/securitybaselinestates/item/settingstates/SettingStatesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/securitybaselinestates/item/settingstates/SettingStatesRequestBuilder.java index 0718275217d..daa7b392e24 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/securitybaselinestates/item/settingstates/SettingStatesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/securitybaselinestates/item/settingstates/SettingStatesRequestBuilder.java @@ -26,7 +26,10 @@ public class SettingStatesRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the settingStates property of the microsoft.graph.securityBaselineState entity. * @param securityBaselineSettingStateId The unique identifier of securityBaselineSettingState * @return a {@link SecurityBaselineSettingStateItemRequestBuilder} + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nonnull + @Deprecated public SecurityBaselineSettingStateItemRequestBuilder bySecurityBaselineSettingStateId(@jakarta.annotation.Nonnull final String securityBaselineSettingStateId) { Objects.requireNonNull(securityBaselineSettingStateId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public SettingStatesRequestBuilder(@jakarta.annotation.Nonnull final String rawU * The security baseline state for different settings for a device * @return a {@link SecurityBaselineSettingStateCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nullable + @Deprecated public SecurityBaselineSettingStateCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public SecurityBaselineSettingStateCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SecurityBaselineSettingStateCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nullable + @Deprecated public SecurityBaselineSettingStateCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public SecurityBaselineSettingStateCollectionResponse get(@jakarta.annotation.Nu * @param body The request body * @return a {@link SecurityBaselineSettingState} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nullable + @Deprecated public SecurityBaselineSettingState post(@jakarta.annotation.Nonnull final SecurityBaselineSettingState body) { return post(body, null); } @@ -97,8 +112,11 @@ public SecurityBaselineSettingState post(@jakarta.annotation.Nonnull final Secur * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SecurityBaselineSettingState} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nullable + @Deprecated public SecurityBaselineSettingState post(@jakarta.annotation.Nonnull final SecurityBaselineSettingState body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public SecurityBaselineSettingState post(@jakarta.annotation.Nonnull final Secur /** * The security baseline state for different settings for a device * @return a {@link RequestInformation} + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * The security baseline state for different settings for a device * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to settingStates for deviceManagement * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final SecurityBaselineSettingState body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final SecurityBaselineSettingState body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link SettingStatesRequestBuilder} + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nonnull + @Deprecated public SettingStatesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new SettingStatesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/securitybaselinestates/item/settingstates/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/securitybaselinestates/item/settingstates/count/CountRequestBuilder.java index da132863e00..c6ac39781fa 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/securitybaselinestates/item/settingstates/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/securitybaselinestates/item/settingstates/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/securitybaselinestates/item/settingstates/item/SecurityBaselineSettingStateItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/securitybaselinestates/item/settingstates/item/SecurityBaselineSettingStateItemRequestBuilder.java index 354b6242495..2b26227e3a3 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/securitybaselinestates/item/settingstates/item/SecurityBaselineSettingStateItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/securitybaselinestates/item/settingstates/item/SecurityBaselineSettingStateItemRequestBuilder.java @@ -39,7 +39,10 @@ public SecurityBaselineSettingStateItemRequestBuilder(@jakarta.annotation.Nonnul /** * Delete navigation property settingStates for deviceManagement * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ + @Deprecated public void delete() { delete(null); } @@ -47,7 +50,10 @@ public void delete() { * Delete navigation property settingStates for deviceManagement * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -58,8 +64,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * The security baseline state for different settings for a device * @return a {@link SecurityBaselineSettingState} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nullable + @Deprecated public SecurityBaselineSettingState get() { return get(null); } @@ -68,8 +77,11 @@ public SecurityBaselineSettingState get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SecurityBaselineSettingState} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nullable + @Deprecated public SecurityBaselineSettingState get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -81,8 +93,11 @@ public SecurityBaselineSettingState get(@jakarta.annotation.Nullable final java. * @param body The request body * @return a {@link SecurityBaselineSettingState} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nullable + @Deprecated public SecurityBaselineSettingState patch(@jakarta.annotation.Nonnull final SecurityBaselineSettingState body) { return patch(body, null); } @@ -92,8 +107,11 @@ public SecurityBaselineSettingState patch(@jakarta.annotation.Nonnull final Secu * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SecurityBaselineSettingState} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nullable + @Deprecated public SecurityBaselineSettingState patch(@jakarta.annotation.Nonnull final SecurityBaselineSettingState body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -104,8 +122,11 @@ public SecurityBaselineSettingState patch(@jakarta.annotation.Nonnull final Secu /** * Delete navigation property settingStates for deviceManagement * @return a {@link RequestInformation} + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -113,8 +134,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property settingStates for deviceManagement * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * The security baseline state for different settings for a device * @return a {@link RequestInformation} + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -133,8 +160,11 @@ public RequestInformation toGetRequestInformation() { * The security baseline state for different settings for a device * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -145,8 +175,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property settingStates in deviceManagement * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final SecurityBaselineSettingState body) { return toPatchRequestInformation(body, null); } @@ -155,8 +188,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final SecurityBaselineSettingState body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -169,8 +205,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link SecurityBaselineSettingStateItemRequestBuilder} + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nonnull + @Deprecated public SecurityBaselineSettingStateItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new SecurityBaselineSettingStateItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/triggerenhancedlogcollection/TriggerEnhancedLogCollectionPostRequestBody.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/triggerenhancedlogcollection/TriggerEnhancedLogCollectionPostRequestBody.java new file mode 100644 index 00000000000..2f98c6c6626 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/triggerenhancedlogcollection/TriggerEnhancedLogCollectionPostRequestBody.java @@ -0,0 +1,107 @@ +package com.microsoft.graph.beta.devicemanagement.comanageddevices.item.triggerenhancedlogcollection; + +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class TriggerEnhancedLogCollectionPostRequestBody implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link TriggerEnhancedLogCollectionPostRequestBody} and sets the default values. + */ + public TriggerEnhancedLogCollectionPostRequestBody() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link TriggerEnhancedLogCollectionPostRequestBody} + */ + @jakarta.annotation.Nonnull + public static TriggerEnhancedLogCollectionPostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new TriggerEnhancedLogCollectionPostRequestBody(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the appleCareToken property value. The appleCareToken property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getAppleCareToken() { + return this.backingStore.get("appleCareToken"); + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(1); + deserializerMap.put("appleCareToken", (n) -> { this.setAppleCareToken(n.getStringValue()); }); + return deserializerMap; + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writeStringValue("appleCareToken", this.getAppleCareToken()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the appleCareToken property value. The appleCareToken property + * @param value Value to set for the appleCareToken property. + */ + public void setAppleCareToken(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("appleCareToken", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/triggerenhancedlogcollection/TriggerEnhancedLogCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/triggerenhancedlogcollection/TriggerEnhancedLogCollectionRequestBuilder.java new file mode 100644 index 00000000000..6d52cd874e7 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/triggerenhancedlogcollection/TriggerEnhancedLogCollectionRequestBuilder.java @@ -0,0 +1,98 @@ +package com.microsoft.graph.beta.devicemanagement.comanageddevices.item.triggerenhancedlogcollection; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to call the triggerEnhancedLogCollection method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class TriggerEnhancedLogCollectionRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link TriggerEnhancedLogCollectionRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public TriggerEnhancedLogCollectionRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/deviceManagement/comanagedDevices/{managedDevice%2Did}/triggerEnhancedLogCollection", pathParameters); + } + /** + * Instantiates a new {@link TriggerEnhancedLogCollectionRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public TriggerEnhancedLogCollectionRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/deviceManagement/comanagedDevices/{managedDevice%2Did}/triggerEnhancedLogCollection", rawUrl); + } + /** + * Triggers an AppleCare-authorized enhanced log collection session on a supervised Apple device. + * @param body The request body + * @throws ODataError When receiving a 4XX or 5XX status code + */ + public void post(@jakarta.annotation.Nonnull final TriggerEnhancedLogCollectionPostRequestBody body) { + post(body, null); + } + /** + * Triggers an AppleCare-authorized enhanced log collection session on a supervised Apple device. + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @throws ODataError When receiving a 4XX or 5XX status code + */ + public void post(@jakarta.annotation.Nonnull final TriggerEnhancedLogCollectionPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); + } + /** + * Triggers an AppleCare-authorized enhanced log collection session on a supervised Apple device. + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final TriggerEnhancedLogCollectionPostRequestBody body) { + return toPostRequestInformation(body, null); + } + /** + * Triggers an AppleCare-authorized enhanced log collection session on a supervised Apple device. + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final TriggerEnhancedLogCollectionPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); + 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. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link TriggerEnhancedLogCollectionRequestBuilder} + */ + @jakarta.annotation.Nonnull + public TriggerEnhancedLogCollectionRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new TriggerEnhancedLogCollectionRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PostRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecompliancepolicies/refreshdevicecompliancereportsummarization/RefreshDeviceComplianceReportSummarizationRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecompliancepolicies/refreshdevicecompliancereportsummarization/RefreshDeviceComplianceReportSummarizationRequestBuilder.java index e68f2320ee9..468e426cb02 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecompliancepolicies/refreshdevicecompliancereportsummarization/RefreshDeviceComplianceReportSummarizationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecompliancepolicies/refreshdevicecompliancereportsummarization/RefreshDeviceComplianceReportSummarizationRequestBuilder.java @@ -37,7 +37,10 @@ public RefreshDeviceComplianceReportSummarizationRequestBuilder(@jakarta.annotat /** * Invoke action refreshDeviceComplianceReportSummarization * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * This action is deprecated and will be removed on July 7, 2026. This API is obsolete and should be removed from client code; no replacement is needed as the current reporting architecture continuously aggregates compliance data. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ + @Deprecated public void post() { post(null); } @@ -45,7 +48,10 @@ public void post() { * Invoke action refreshDeviceComplianceReportSummarization * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * This action is deprecated and will be removed on July 7, 2026. This API is obsolete and should be removed from client code; no replacement is needed as the current reporting architecture continuously aggregates compliance data. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -55,8 +61,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Invoke action refreshDeviceComplianceReportSummarization * @return a {@link RequestInformation} + * @deprecated + * This action is deprecated and will be removed on July 7, 2026. This API is obsolete and should be removed from client code; no replacement is needed as the current reporting architecture continuously aggregates compliance data. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -64,8 +73,11 @@ public RequestInformation toPostRequestInformation() { * Invoke action refreshDeviceComplianceReportSummarization * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * This action is deprecated and will be removed on July 7, 2026. This API is obsolete and should be removed from client code; no replacement is needed as the current reporting architecture continuously aggregates compliance data. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -76,8 +88,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RefreshDeviceComplianceReportSummarizationRequestBuilder} + * @deprecated + * This action is deprecated and will be removed on July 7, 2026. This API is obsolete and should be removed from client code; no replacement is needed as the current reporting architecture continuously aggregates compliance data. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nonnull + @Deprecated public RefreshDeviceComplianceReportSummarizationRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RefreshDeviceComplianceReportSummarizationRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceconfigurationuserstatesummaries/DeviceConfigurationUserStateSummariesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceconfigurationuserstatesummaries/DeviceConfigurationUserStateSummariesRequestBuilder.java index 4f7da4c8aff..48eba7d73a4 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceconfigurationuserstatesummaries/DeviceConfigurationUserStateSummariesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceconfigurationuserstatesummaries/DeviceConfigurationUserStateSummariesRequestBuilder.java @@ -39,7 +39,10 @@ public DeviceConfigurationUserStateSummariesRequestBuilder(@jakarta.annotation.N /** * Delete navigation property deviceConfigurationUserStateSummaries for deviceManagement * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use GET /deviceManagement/deviceConfigurations(&apos;{policyId}&apos;)/userStatusOverview or POST /deviceManagement/reports/getDeviceConfigurationPolicyStatusSummary instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ + @Deprecated public void delete() { delete(null); } @@ -47,7 +50,10 @@ public void delete() { * Delete navigation property deviceConfigurationUserStateSummaries for deviceManagement * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use GET /deviceManagement/deviceConfigurations(&apos;{policyId}&apos;)/userStatusOverview or POST /deviceManagement/reports/getDeviceConfigurationPolicyStatusSummary instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -58,8 +64,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * The device configuration user state summary for this account. * @return a {@link DeviceConfigurationUserStateSummary} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use GET /deviceManagement/deviceConfigurations(&apos;{policyId}&apos;)/userStatusOverview or POST /deviceManagement/reports/getDeviceConfigurationPolicyStatusSummary instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nullable + @Deprecated public DeviceConfigurationUserStateSummary get() { return get(null); } @@ -68,8 +77,11 @@ public DeviceConfigurationUserStateSummary get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DeviceConfigurationUserStateSummary} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use GET /deviceManagement/deviceConfigurations(&apos;{policyId}&apos;)/userStatusOverview or POST /deviceManagement/reports/getDeviceConfigurationPolicyStatusSummary instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nullable + @Deprecated public DeviceConfigurationUserStateSummary get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -81,8 +93,11 @@ public DeviceConfigurationUserStateSummary get(@jakarta.annotation.Nullable fina * @param body The request body * @return a {@link DeviceConfigurationUserStateSummary} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use GET /deviceManagement/deviceConfigurations(&apos;{policyId}&apos;)/userStatusOverview or POST /deviceManagement/reports/getDeviceConfigurationPolicyStatusSummary instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nullable + @Deprecated public DeviceConfigurationUserStateSummary patch(@jakarta.annotation.Nonnull final DeviceConfigurationUserStateSummary body) { return patch(body, null); } @@ -92,8 +107,11 @@ public DeviceConfigurationUserStateSummary patch(@jakarta.annotation.Nonnull fin * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DeviceConfigurationUserStateSummary} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use GET /deviceManagement/deviceConfigurations(&apos;{policyId}&apos;)/userStatusOverview or POST /deviceManagement/reports/getDeviceConfigurationPolicyStatusSummary instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nullable + @Deprecated public DeviceConfigurationUserStateSummary patch(@jakarta.annotation.Nonnull final DeviceConfigurationUserStateSummary body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -104,8 +122,11 @@ public DeviceConfigurationUserStateSummary patch(@jakarta.annotation.Nonnull fin /** * Delete navigation property deviceConfigurationUserStateSummaries for deviceManagement * @return a {@link RequestInformation} + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use GET /deviceManagement/deviceConfigurations(&apos;{policyId}&apos;)/userStatusOverview or POST /deviceManagement/reports/getDeviceConfigurationPolicyStatusSummary instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -113,8 +134,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property deviceConfigurationUserStateSummaries for deviceManagement * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use GET /deviceManagement/deviceConfigurations(&apos;{policyId}&apos;)/userStatusOverview or POST /deviceManagement/reports/getDeviceConfigurationPolicyStatusSummary instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * The device configuration user state summary for this account. * @return a {@link RequestInformation} + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use GET /deviceManagement/deviceConfigurations(&apos;{policyId}&apos;)/userStatusOverview or POST /deviceManagement/reports/getDeviceConfigurationPolicyStatusSummary instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -133,8 +160,11 @@ public RequestInformation toGetRequestInformation() { * The device configuration user state summary for this account. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use GET /deviceManagement/deviceConfigurations(&apos;{policyId}&apos;)/userStatusOverview or POST /deviceManagement/reports/getDeviceConfigurationPolicyStatusSummary instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -145,8 +175,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property deviceConfigurationUserStateSummaries in deviceManagement * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use GET /deviceManagement/deviceConfigurations(&apos;{policyId}&apos;)/userStatusOverview or POST /deviceManagement/reports/getDeviceConfigurationPolicyStatusSummary instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final DeviceConfigurationUserStateSummary body) { return toPatchRequestInformation(body, null); } @@ -155,8 +188,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use GET /deviceManagement/deviceConfigurations(&apos;{policyId}&apos;)/userStatusOverview or POST /deviceManagement/reports/getDeviceConfigurationPolicyStatusSummary instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final DeviceConfigurationUserStateSummary body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -169,8 +205,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link DeviceConfigurationUserStateSummariesRequestBuilder} + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use GET /deviceManagement/deviceConfigurations(&apos;{policyId}&apos;)/userStatusOverview or POST /deviceManagement/reports/getDeviceConfigurationPolicyStatusSummary instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nonnull + @Deprecated public DeviceConfigurationUserStateSummariesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new DeviceConfigurationUserStateSummariesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/ManagedDeviceItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/ManagedDeviceItemRequestBuilder.java index 2f4e2e438f8..f330475113e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/ManagedDeviceItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/ManagedDeviceItemRequestBuilder.java @@ -3,6 +3,7 @@ import com.microsoft.graph.beta.devicemanagement.manageddevices.item.activatedeviceesim.ActivateDeviceEsimRequestBuilder; import com.microsoft.graph.beta.devicemanagement.manageddevices.item.assignmentfilterevaluationstatusdetails.AssignmentFilterEvaluationStatusDetailsRequestBuilder; import com.microsoft.graph.beta.devicemanagement.manageddevices.item.bypassactivationlock.BypassActivationLockRequestBuilder; +import com.microsoft.graph.beta.devicemanagement.manageddevices.item.cancelenhancedlogcollection.CancelEnhancedLogCollectionRequestBuilder; import com.microsoft.graph.beta.devicemanagement.manageddevices.item.changeassignments.ChangeAssignmentsRequestBuilder; import com.microsoft.graph.beta.devicemanagement.manageddevices.item.cleanwindowsdevice.CleanWindowsDeviceRequestBuilder; import com.microsoft.graph.beta.devicemanagement.manageddevices.item.createdevicelogcollectionrequest.CreateDeviceLogCollectionRequestRequestBuilder; @@ -55,6 +56,7 @@ import com.microsoft.graph.beta.devicemanagement.manageddevices.item.suspendmanagedhomescreen.SuspendManagedHomeScreenRequestBuilder; import com.microsoft.graph.beta.devicemanagement.manageddevices.item.syncdevice.SyncDeviceRequestBuilder; import com.microsoft.graph.beta.devicemanagement.manageddevices.item.triggerconfigurationmanageraction.TriggerConfigurationManagerActionRequestBuilder; +import com.microsoft.graph.beta.devicemanagement.manageddevices.item.triggerenhancedlogcollection.TriggerEnhancedLogCollectionRequestBuilder; import com.microsoft.graph.beta.devicemanagement.manageddevices.item.updatewindowsdeviceaccount.UpdateWindowsDeviceAccountRequestBuilder; import com.microsoft.graph.beta.devicemanagement.manageddevices.item.users.UsersRequestBuilder; import com.microsoft.graph.beta.devicemanagement.manageddevices.item.windowsdefenderscan.WindowsDefenderScanRequestBuilder; @@ -105,6 +107,14 @@ public AssignmentFilterEvaluationStatusDetailsRequestBuilder assignmentFilterEva public BypassActivationLockRequestBuilder bypassActivationLock() { return new BypassActivationLockRequestBuilder(pathParameters, requestAdapter); } + /** + * Provides operations to call the cancelEnhancedLogCollection method. + * @return a {@link CancelEnhancedLogCollectionRequestBuilder} + */ + @jakarta.annotation.Nonnull + public CancelEnhancedLogCollectionRequestBuilder cancelEnhancedLogCollection() { + return new CancelEnhancedLogCollectionRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to call the changeAssignments method. * @return a {@link ChangeAssignmentsRequestBuilder} @@ -521,6 +531,14 @@ public SyncDeviceRequestBuilder syncDevice() { public TriggerConfigurationManagerActionRequestBuilder triggerConfigurationManagerAction() { return new TriggerConfigurationManagerActionRequestBuilder(pathParameters, requestAdapter); } + /** + * Provides operations to call the triggerEnhancedLogCollection method. + * @return a {@link TriggerEnhancedLogCollectionRequestBuilder} + */ + @jakarta.annotation.Nonnull + public TriggerEnhancedLogCollectionRequestBuilder triggerEnhancedLogCollection() { + return new TriggerEnhancedLogCollectionRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to call the updateWindowsDeviceAccount method. * @return a {@link UpdateWindowsDeviceAccountRequestBuilder} diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/cancelenhancedlogcollection/CancelEnhancedLogCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/cancelenhancedlogcollection/CancelEnhancedLogCollectionRequestBuilder.java new file mode 100644 index 00000000000..b975c56cf18 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/cancelenhancedlogcollection/CancelEnhancedLogCollectionRequestBuilder.java @@ -0,0 +1,91 @@ +package com.microsoft.graph.beta.devicemanagement.manageddevices.item.cancelenhancedlogcollection; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to call the cancelEnhancedLogCollection method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class CancelEnhancedLogCollectionRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link CancelEnhancedLogCollectionRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public CancelEnhancedLogCollectionRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/deviceManagement/managedDevices/{managedDevice%2Did}/cancelEnhancedLogCollection", pathParameters); + } + /** + * Instantiates a new {@link CancelEnhancedLogCollectionRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public CancelEnhancedLogCollectionRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/deviceManagement/managedDevices/{managedDevice%2Did}/cancelEnhancedLogCollection", rawUrl); + } + /** + * Cancels an in-progress enhanced log collection session on a supervised Apple device. + * @throws ODataError When receiving a 4XX or 5XX status code + */ + public void post() { + post(null); + } + /** + * Cancels an in-progress enhanced log collection session on a supervised Apple device. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @throws ODataError When receiving a 4XX or 5XX status code + */ + public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); + } + /** + * Cancels an in-progress enhanced log collection session on a supervised Apple device. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation() { + return toPostRequestInformation(null); + } + /** + * Cancels an in-progress enhanced log collection session on a supervised Apple device. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); + 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. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link CancelEnhancedLogCollectionRequestBuilder} + */ + @jakarta.annotation.Nonnull + public CancelEnhancedLogCollectionRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new CancelEnhancedLogCollectionRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PostRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/securitybaselinestates/SecurityBaselineStatesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/securitybaselinestates/SecurityBaselineStatesRequestBuilder.java index ddbd56fdb19..360f115f39c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/securitybaselinestates/SecurityBaselineStatesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/securitybaselinestates/SecurityBaselineStatesRequestBuilder.java @@ -26,7 +26,10 @@ public class SecurityBaselineStatesRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the securityBaselineStates property of the microsoft.graph.managedDevice entity. * @param securityBaselineStateId The unique identifier of securityBaselineState * @return a {@link SecurityBaselineStateItemRequestBuilder} + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nonnull + @Deprecated public SecurityBaselineStateItemRequestBuilder bySecurityBaselineStateId(@jakarta.annotation.Nonnull final String securityBaselineStateId) { Objects.requireNonNull(securityBaselineStateId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public SecurityBaselineStatesRequestBuilder(@jakarta.annotation.Nonnull final St * Security baseline states for this device. * @return a {@link SecurityBaselineStateCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nullable + @Deprecated public SecurityBaselineStateCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public SecurityBaselineStateCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SecurityBaselineStateCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nullable + @Deprecated public SecurityBaselineStateCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public SecurityBaselineStateCollectionResponse get(@jakarta.annotation.Nullable * @param body The request body * @return a {@link SecurityBaselineState} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nullable + @Deprecated public SecurityBaselineState post(@jakarta.annotation.Nonnull final SecurityBaselineState body) { return post(body, null); } @@ -97,8 +112,11 @@ public SecurityBaselineState post(@jakarta.annotation.Nonnull final SecurityBase * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SecurityBaselineState} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nullable + @Deprecated public SecurityBaselineState post(@jakarta.annotation.Nonnull final SecurityBaselineState body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public SecurityBaselineState post(@jakarta.annotation.Nonnull final SecurityBase /** * Security baseline states for this device. * @return a {@link RequestInformation} + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Security baseline states for this device. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to securityBaselineStates for deviceManagement * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final SecurityBaselineState body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final SecurityBaselineState body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link SecurityBaselineStatesRequestBuilder} + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nonnull + @Deprecated public SecurityBaselineStatesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new SecurityBaselineStatesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/securitybaselinestates/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/securitybaselinestates/count/CountRequestBuilder.java index f337e4ba802..f1fd9597a08 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/securitybaselinestates/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/securitybaselinestates/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/securitybaselinestates/item/SecurityBaselineStateItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/securitybaselinestates/item/SecurityBaselineStateItemRequestBuilder.java index bf0010c003d..b4f2c1a2832 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/securitybaselinestates/item/SecurityBaselineStateItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/securitybaselinestates/item/SecurityBaselineStateItemRequestBuilder.java @@ -24,7 +24,10 @@ public class SecurityBaselineStateItemRequestBuilder extends BaseRequestBuilder /** * Provides operations to manage the settingStates property of the microsoft.graph.securityBaselineState entity. * @return a {@link SettingStatesRequestBuilder} + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ + @Deprecated @jakarta.annotation.Nonnull public SettingStatesRequestBuilder settingStates() { return new SettingStatesRequestBuilder(pathParameters, requestAdapter); @@ -48,7 +51,10 @@ public SecurityBaselineStateItemRequestBuilder(@jakarta.annotation.Nonnull final /** * Delete navigation property securityBaselineStates for deviceManagement * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ + @Deprecated public void delete() { delete(null); } @@ -56,7 +62,10 @@ public void delete() { * Delete navigation property securityBaselineStates for deviceManagement * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -67,8 +76,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Security baseline states for this device. * @return a {@link SecurityBaselineState} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nullable + @Deprecated public SecurityBaselineState get() { return get(null); } @@ -77,8 +89,11 @@ public SecurityBaselineState get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SecurityBaselineState} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nullable + @Deprecated public SecurityBaselineState get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -90,8 +105,11 @@ public SecurityBaselineState get(@jakarta.annotation.Nullable final java.util.fu * @param body The request body * @return a {@link SecurityBaselineState} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nullable + @Deprecated public SecurityBaselineState patch(@jakarta.annotation.Nonnull final SecurityBaselineState body) { return patch(body, null); } @@ -101,8 +119,11 @@ public SecurityBaselineState patch(@jakarta.annotation.Nonnull final SecurityBas * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SecurityBaselineState} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nullable + @Deprecated public SecurityBaselineState patch(@jakarta.annotation.Nonnull final SecurityBaselineState body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -113,8 +134,11 @@ public SecurityBaselineState patch(@jakarta.annotation.Nonnull final SecurityBas /** * Delete navigation property securityBaselineStates for deviceManagement * @return a {@link RequestInformation} + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -122,8 +146,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property securityBaselineStates for deviceManagement * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -133,8 +160,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Security baseline states for this device. * @return a {@link RequestInformation} + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -142,8 +172,11 @@ public RequestInformation toGetRequestInformation() { * Security baseline states for this device. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -154,8 +187,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property securityBaselineStates in deviceManagement * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final SecurityBaselineState body) { return toPatchRequestInformation(body, null); } @@ -164,8 +200,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final SecurityBaselineState body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -178,8 +217,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link SecurityBaselineStateItemRequestBuilder} + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nonnull + @Deprecated public SecurityBaselineStateItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new SecurityBaselineStateItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/securitybaselinestates/item/settingstates/SettingStatesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/securitybaselinestates/item/settingstates/SettingStatesRequestBuilder.java index 6a493069bb3..e93992c9200 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/securitybaselinestates/item/settingstates/SettingStatesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/securitybaselinestates/item/settingstates/SettingStatesRequestBuilder.java @@ -26,7 +26,10 @@ public class SettingStatesRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the settingStates property of the microsoft.graph.securityBaselineState entity. * @param securityBaselineSettingStateId The unique identifier of securityBaselineSettingState * @return a {@link SecurityBaselineSettingStateItemRequestBuilder} + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nonnull + @Deprecated public SecurityBaselineSettingStateItemRequestBuilder bySecurityBaselineSettingStateId(@jakarta.annotation.Nonnull final String securityBaselineSettingStateId) { Objects.requireNonNull(securityBaselineSettingStateId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public SettingStatesRequestBuilder(@jakarta.annotation.Nonnull final String rawU * The security baseline state for different settings for a device * @return a {@link SecurityBaselineSettingStateCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nullable + @Deprecated public SecurityBaselineSettingStateCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public SecurityBaselineSettingStateCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SecurityBaselineSettingStateCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nullable + @Deprecated public SecurityBaselineSettingStateCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public SecurityBaselineSettingStateCollectionResponse get(@jakarta.annotation.Nu * @param body The request body * @return a {@link SecurityBaselineSettingState} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nullable + @Deprecated public SecurityBaselineSettingState post(@jakarta.annotation.Nonnull final SecurityBaselineSettingState body) { return post(body, null); } @@ -97,8 +112,11 @@ public SecurityBaselineSettingState post(@jakarta.annotation.Nonnull final Secur * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SecurityBaselineSettingState} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nullable + @Deprecated public SecurityBaselineSettingState post(@jakarta.annotation.Nonnull final SecurityBaselineSettingState body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public SecurityBaselineSettingState post(@jakarta.annotation.Nonnull final Secur /** * The security baseline state for different settings for a device * @return a {@link RequestInformation} + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * The security baseline state for different settings for a device * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to settingStates for deviceManagement * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final SecurityBaselineSettingState body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final SecurityBaselineSettingState body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link SettingStatesRequestBuilder} + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nonnull + @Deprecated public SettingStatesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new SettingStatesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/securitybaselinestates/item/settingstates/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/securitybaselinestates/item/settingstates/count/CountRequestBuilder.java index 127a4deb346..a20167d1565 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/securitybaselinestates/item/settingstates/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/securitybaselinestates/item/settingstates/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/securitybaselinestates/item/settingstates/item/SecurityBaselineSettingStateItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/securitybaselinestates/item/settingstates/item/SecurityBaselineSettingStateItemRequestBuilder.java index bf67f7f1895..1566f7715c8 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/securitybaselinestates/item/settingstates/item/SecurityBaselineSettingStateItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/securitybaselinestates/item/settingstates/item/SecurityBaselineSettingStateItemRequestBuilder.java @@ -39,7 +39,10 @@ public SecurityBaselineSettingStateItemRequestBuilder(@jakarta.annotation.Nonnul /** * Delete navigation property settingStates for deviceManagement * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ + @Deprecated public void delete() { delete(null); } @@ -47,7 +50,10 @@ public void delete() { * Delete navigation property settingStates for deviceManagement * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -58,8 +64,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * The security baseline state for different settings for a device * @return a {@link SecurityBaselineSettingState} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nullable + @Deprecated public SecurityBaselineSettingState get() { return get(null); } @@ -68,8 +77,11 @@ public SecurityBaselineSettingState get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SecurityBaselineSettingState} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nullable + @Deprecated public SecurityBaselineSettingState get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -81,8 +93,11 @@ public SecurityBaselineSettingState get(@jakarta.annotation.Nullable final java. * @param body The request body * @return a {@link SecurityBaselineSettingState} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nullable + @Deprecated public SecurityBaselineSettingState patch(@jakarta.annotation.Nonnull final SecurityBaselineSettingState body) { return patch(body, null); } @@ -92,8 +107,11 @@ public SecurityBaselineSettingState patch(@jakarta.annotation.Nonnull final Secu * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SecurityBaselineSettingState} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nullable + @Deprecated public SecurityBaselineSettingState patch(@jakarta.annotation.Nonnull final SecurityBaselineSettingState body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -104,8 +122,11 @@ public SecurityBaselineSettingState patch(@jakarta.annotation.Nonnull final Secu /** * Delete navigation property settingStates for deviceManagement * @return a {@link RequestInformation} + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -113,8 +134,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property settingStates for deviceManagement * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * The security baseline state for different settings for a device * @return a {@link RequestInformation} + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -133,8 +160,11 @@ public RequestInformation toGetRequestInformation() { * The security baseline state for different settings for a device * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -145,8 +175,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property settingStates in deviceManagement * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final SecurityBaselineSettingState body) { return toPatchRequestInformation(body, null); } @@ -155,8 +188,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final SecurityBaselineSettingState body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -169,8 +205,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link SecurityBaselineSettingStateItemRequestBuilder} + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nonnull + @Deprecated public SecurityBaselineSettingStateItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new SecurityBaselineSettingStateItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/triggerenhancedlogcollection/TriggerEnhancedLogCollectionPostRequestBody.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/triggerenhancedlogcollection/TriggerEnhancedLogCollectionPostRequestBody.java new file mode 100644 index 00000000000..cdd9548048c --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/triggerenhancedlogcollection/TriggerEnhancedLogCollectionPostRequestBody.java @@ -0,0 +1,107 @@ +package com.microsoft.graph.beta.devicemanagement.manageddevices.item.triggerenhancedlogcollection; + +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class TriggerEnhancedLogCollectionPostRequestBody implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link TriggerEnhancedLogCollectionPostRequestBody} and sets the default values. + */ + public TriggerEnhancedLogCollectionPostRequestBody() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link TriggerEnhancedLogCollectionPostRequestBody} + */ + @jakarta.annotation.Nonnull + public static TriggerEnhancedLogCollectionPostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new TriggerEnhancedLogCollectionPostRequestBody(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the appleCareToken property value. The appleCareToken property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getAppleCareToken() { + return this.backingStore.get("appleCareToken"); + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(1); + deserializerMap.put("appleCareToken", (n) -> { this.setAppleCareToken(n.getStringValue()); }); + return deserializerMap; + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writeStringValue("appleCareToken", this.getAppleCareToken()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the appleCareToken property value. The appleCareToken property + * @param value Value to set for the appleCareToken property. + */ + public void setAppleCareToken(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("appleCareToken", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/triggerenhancedlogcollection/TriggerEnhancedLogCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/triggerenhancedlogcollection/TriggerEnhancedLogCollectionRequestBuilder.java new file mode 100644 index 00000000000..478b94e95af --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/triggerenhancedlogcollection/TriggerEnhancedLogCollectionRequestBuilder.java @@ -0,0 +1,98 @@ +package com.microsoft.graph.beta.devicemanagement.manageddevices.item.triggerenhancedlogcollection; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to call the triggerEnhancedLogCollection method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class TriggerEnhancedLogCollectionRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link TriggerEnhancedLogCollectionRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public TriggerEnhancedLogCollectionRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/deviceManagement/managedDevices/{managedDevice%2Did}/triggerEnhancedLogCollection", pathParameters); + } + /** + * Instantiates a new {@link TriggerEnhancedLogCollectionRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public TriggerEnhancedLogCollectionRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/deviceManagement/managedDevices/{managedDevice%2Did}/triggerEnhancedLogCollection", rawUrl); + } + /** + * Triggers an AppleCare-authorized enhanced log collection session on a supervised Apple device. + * @param body The request body + * @throws ODataError When receiving a 4XX or 5XX status code + */ + public void post(@jakarta.annotation.Nonnull final TriggerEnhancedLogCollectionPostRequestBody body) { + post(body, null); + } + /** + * Triggers an AppleCare-authorized enhanced log collection session on a supervised Apple device. + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @throws ODataError When receiving a 4XX or 5XX status code + */ + public void post(@jakarta.annotation.Nonnull final TriggerEnhancedLogCollectionPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); + } + /** + * Triggers an AppleCare-authorized enhanced log collection session on a supervised Apple device. + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final TriggerEnhancedLogCollectionPostRequestBody body) { + return toPostRequestInformation(body, null); + } + /** + * Triggers an AppleCare-authorized enhanced log collection session on a supervised Apple device. + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final TriggerEnhancedLogCollectionPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); + 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. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link TriggerEnhancedLogCollectionRequestBuilder} + */ + @jakarta.annotation.Nonnull + public TriggerEnhancedLogCollectionRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new TriggerEnhancedLogCollectionRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PostRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/remoteassistancepartners/item/beginonboarding/BeginOnboardingPostRequestBody.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/remoteassistancepartners/item/beginonboarding/BeginOnboardingPostRequestBody.java new file mode 100644 index 00000000000..0faa13ec3e5 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/remoteassistancepartners/item/beginonboarding/BeginOnboardingPostRequestBody.java @@ -0,0 +1,107 @@ +package com.microsoft.graph.beta.devicemanagement.remoteassistancepartners.item.beginonboarding; + +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class BeginOnboardingPostRequestBody implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link BeginOnboardingPostRequestBody} and sets the default values. + */ + public BeginOnboardingPostRequestBody() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link BeginOnboardingPostRequestBody} + */ + @jakarta.annotation.Nonnull + public static BeginOnboardingPostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new BeginOnboardingPostRequestBody(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(1); + deserializerMap.put("partnerDomain", (n) -> { this.setPartnerDomain(n.getStringValue()); }); + return deserializerMap; + } + /** + * Gets the partnerDomain property value. The partnerDomain property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getPartnerDomain() { + return this.backingStore.get("partnerDomain"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writeStringValue("partnerDomain", this.getPartnerDomain()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } + /** + * Sets the partnerDomain property value. The partnerDomain property + * @param value Value to set for the partnerDomain property. + */ + public void setPartnerDomain(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("partnerDomain", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/remoteassistancepartners/item/beginonboarding/BeginOnboardingRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/remoteassistancepartners/item/beginonboarding/BeginOnboardingRequestBuilder.java index 09af0c7d6e3..0de9d7ddfa0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/remoteassistancepartners/item/beginonboarding/BeginOnboardingRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/remoteassistancepartners/item/beginonboarding/BeginOnboardingRequestBuilder.java @@ -36,40 +36,47 @@ public BeginOnboardingRequestBuilder(@jakarta.annotation.Nonnull final String ra } /** * A request to start onboarding. Must be coupled with the appropriate TeamViewer account information + * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code */ - public void post() { - post(null); + public void post(@jakarta.annotation.Nonnull final BeginOnboardingPostRequestBody body) { + post(body, null); } /** * A request to start onboarding. Must be coupled with the appropriate TeamViewer account information + * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code */ - public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); + public void post(@jakarta.annotation.Nonnull final BeginOnboardingPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); final HashMap> errorMapping = new HashMap>(); errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** * A request to start onboarding. Must be coupled with the appropriate TeamViewer account information + * @param body The request body * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull - public RequestInformation toPostRequestInformation() { - return toPostRequestInformation(null); + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BeginOnboardingPostRequestBody body) { + return toPostRequestInformation(body, null); } /** * A request to start onboarding. Must be coupled with the appropriate TeamViewer account information + * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull - public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BeginOnboardingPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); + requestInfo.setContentFromParsable(requestAdapter, "application/json", body); return requestInfo; } /** diff --git a/src/main/java/com/microsoft/graph/beta/generated/devices/DevicesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devices/DevicesRequestBuilder.java index ee957ea34eb..ccb30d18caa 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devices/DevicesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devices/DevicesRequestBuilder.java @@ -5,6 +5,7 @@ import com.microsoft.graph.beta.devices.getbyids.GetByIdsRequestBuilder; import com.microsoft.graph.beta.devices.getuserownedobjects.GetUserOwnedObjectsRequestBuilder; import com.microsoft.graph.beta.devices.item.DeviceItemRequestBuilder; +import com.microsoft.graph.beta.devices.provision.ProvisionRequestBuilder; import com.microsoft.graph.beta.devices.validateproperties.ValidatePropertiesRequestBuilder; import com.microsoft.graph.beta.models.Device; import com.microsoft.graph.beta.models.DeviceCollectionResponse; @@ -59,6 +60,14 @@ public GetByIdsRequestBuilder getByIds() { public GetUserOwnedObjectsRequestBuilder getUserOwnedObjects() { return new GetUserOwnedObjectsRequestBuilder(pathParameters, requestAdapter); } + /** + * Provides operations to call the provision method. + * @return a {@link ProvisionRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ProvisionRequestBuilder provision() { + return new ProvisionRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to call the validateProperties method. * @return a {@link ValidatePropertiesRequestBuilder} diff --git a/src/main/java/com/microsoft/graph/beta/generated/devices/provision/ProvisionPostRequestBody.java b/src/main/java/com/microsoft/graph/beta/generated/devices/provision/ProvisionPostRequestBody.java new file mode 100644 index 00000000000..2a7235e63fe --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/devices/provision/ProvisionPostRequestBody.java @@ -0,0 +1,107 @@ +package com.microsoft.graph.beta.devices.provision; + +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ProvisionPostRequestBody implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link ProvisionPostRequestBody} and sets the default values. + */ + public ProvisionPostRequestBody() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link ProvisionPostRequestBody} + */ + @jakarta.annotation.Nonnull + public static ProvisionPostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new ProvisionPostRequestBody(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(1); + deserializerMap.put("provisioningBlob", (n) -> { this.setProvisioningBlob(n.getStringValue()); }); + return deserializerMap; + } + /** + * Gets the provisioningBlob property value. The provisioningBlob property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getProvisioningBlob() { + return this.backingStore.get("provisioningBlob"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writeStringValue("provisioningBlob", this.getProvisioningBlob()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } + /** + * Sets the provisioningBlob property value. The provisioningBlob property + * @param value Value to set for the provisioningBlob property. + */ + public void setProvisioningBlob(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("provisioningBlob", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/devices/provision/ProvisionRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devices/provision/ProvisionRequestBuilder.java new file mode 100644 index 00000000000..2d746ddf44c --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/devices/provision/ProvisionRequestBuilder.java @@ -0,0 +1,103 @@ +package com.microsoft.graph.beta.devices.provision; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.graph.beta.models.ProvisionResponse; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to call the provision method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ProvisionRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link ProvisionRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public ProvisionRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/devices/provision", pathParameters); + } + /** + * Instantiates a new {@link ProvisionRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public ProvisionRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/devices/provision", rawUrl); + } + /** + * Invoke action provision + * @param body The request body + * @return a {@link ProvisionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public ProvisionResponse post(@jakarta.annotation.Nonnull final ProvisionPostRequestBody body) { + return post(body, null); + } + /** + * Invoke action provision + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link ProvisionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public ProvisionResponse post(@jakarta.annotation.Nonnull final ProvisionPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, ProvisionResponse::createFromDiscriminatorValue); + } + /** + * Invoke action provision + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ProvisionPostRequestBody body) { + return toPostRequestInformation(body, null); + } + /** + * Invoke action provision + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ProvisionPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); + 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. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link ProvisionRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ProvisionRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new ProvisionRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PostRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/impactedresources/ImpactedResourcesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/impactedresources/ImpactedResourcesRequestBuilder.java index 582f4558423..420de0f349a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/directory/impactedresources/ImpactedResourcesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/impactedresources/ImpactedResourcesRequestBuilder.java @@ -1,7 +1,9 @@ package com.microsoft.graph.beta.directory.impactedresources; +import com.microsoft.graph.beta.directory.impactedresources.addtag.AddTagRequestBuilder; import com.microsoft.graph.beta.directory.impactedresources.count.CountRequestBuilder; import com.microsoft.graph.beta.directory.impactedresources.item.ImpactedResourceItemRequestBuilder; +import com.microsoft.graph.beta.directory.impactedresources.removetag.RemoveTagRequestBuilder; import com.microsoft.graph.beta.models.ImpactedResource; import com.microsoft.graph.beta.models.ImpactedResourceCollectionResponse; import com.microsoft.graph.beta.models.odataerrors.ODataError; @@ -23,6 +25,14 @@ */ @jakarta.annotation.Generated("com.microsoft.kiota") public class ImpactedResourcesRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to call the addTag method. + * @return a {@link AddTagRequestBuilder} + */ + @jakarta.annotation.Nonnull + public AddTagRequestBuilder addTag() { + return new AddTagRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} @@ -31,6 +41,14 @@ public class ImpactedResourcesRequestBuilder extends BaseRequestBuilder { public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); } + /** + * Provides operations to call the removeTag method. + * @return a {@link RemoveTagRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RemoveTagRequestBuilder removeTag() { + return new RemoveTagRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to manage the impactedResources property of the microsoft.graph.directory entity. * @param impactedResourceId The unique identifier of impactedResource diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/impactedresources/addtag/AddTagPostRequestBody.java b/src/main/java/com/microsoft/graph/beta/generated/directory/impactedresources/addtag/AddTagPostRequestBody.java new file mode 100644 index 00000000000..46b1e4456df --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/impactedresources/addtag/AddTagPostRequestBody.java @@ -0,0 +1,124 @@ +package com.microsoft.graph.beta.directory.impactedresources.addtag; + +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class AddTagPostRequestBody implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link AddTagPostRequestBody} and sets the default values. + */ + public AddTagPostRequestBody() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link AddTagPostRequestBody} + */ + @jakarta.annotation.Nonnull + public static AddTagPostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new AddTagPostRequestBody(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * Gets the displayName property value. The displayName property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getDisplayName() { + return this.backingStore.get("displayName"); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(2); + deserializerMap.put("displayName", (n) -> { this.setDisplayName(n.getStringValue()); }); + deserializerMap.put("resourceIds", (n) -> { this.setResourceIds(n.getCollectionOfPrimitiveValues(String.class)); }); + return deserializerMap; + } + /** + * Gets the resourceIds property value. The resourceIds property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getResourceIds() { + return this.backingStore.get("resourceIds"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writeStringValue("displayName", this.getDisplayName()); + writer.writeCollectionOfPrimitiveValues("resourceIds", this.getResourceIds()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } + /** + * Sets the displayName property value. The displayName property + * @param value Value to set for the displayName property. + */ + public void setDisplayName(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("displayName", value); + } + /** + * Sets the resourceIds property value. The resourceIds property + * @param value Value to set for the resourceIds property. + */ + public void setResourceIds(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("resourceIds", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/GovernancePolicyTemplateCollectionResponse.java b/src/main/java/com/microsoft/graph/beta/generated/directory/impactedresources/addtag/AddTagPostResponse.java similarity index 69% rename from src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/GovernancePolicyTemplateCollectionResponse.java rename to src/main/java/com/microsoft/graph/beta/generated/directory/impactedresources/addtag/AddTagPostResponse.java index a0fed7ded18..d57afaf662c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/GovernancePolicyTemplateCollectionResponse.java +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/impactedresources/addtag/AddTagPostResponse.java @@ -1,6 +1,7 @@ -package com.microsoft.graph.beta.models.tenantgovernanceservices; +package com.microsoft.graph.beta.directory.impactedresources.addtag; import com.microsoft.graph.beta.models.BaseCollectionPaginationCountResponse; +import com.microsoft.graph.beta.models.ImpactedResource; import com.microsoft.kiota.serialization.Parsable; import com.microsoft.kiota.serialization.ParseNode; import com.microsoft.kiota.serialization.SerializationWriter; @@ -8,22 +9,22 @@ import java.util.Map; import java.util.Objects; @jakarta.annotation.Generated("com.microsoft.kiota") -public class GovernancePolicyTemplateCollectionResponse extends BaseCollectionPaginationCountResponse implements Parsable { +public class AddTagPostResponse extends BaseCollectionPaginationCountResponse implements Parsable { /** - * Instantiates a new {@link GovernancePolicyTemplateCollectionResponse} and sets the default values. + * Instantiates a new {@link AddTagPostResponse} and sets the default values. */ - public GovernancePolicyTemplateCollectionResponse() { + public AddTagPostResponse() { super(); } /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object - * @return a {@link GovernancePolicyTemplateCollectionResponse} + * @return a {@link AddTagPostResponse} */ @jakarta.annotation.Nonnull - public static GovernancePolicyTemplateCollectionResponse createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + public static AddTagPostResponse createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { Objects.requireNonNull(parseNode); - return new GovernancePolicyTemplateCollectionResponse(); + return new AddTagPostResponse(); } /** * The deserialization information for the current model @@ -32,15 +33,15 @@ public static GovernancePolicyTemplateCollectionResponse createFromDiscriminator @jakarta.annotation.Nonnull public Map> getFieldDeserializers() { final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); - deserializerMap.put("value", (n) -> { this.setValue(n.getCollectionOfObjectValues(GovernancePolicyTemplate::createFromDiscriminatorValue)); }); + deserializerMap.put("value", (n) -> { this.setValue(n.getCollectionOfObjectValues(ImpactedResource::createFromDiscriminatorValue)); }); return deserializerMap; } /** * Gets the value property value. The value property - * @return a {@link java.util.List} + * @return a {@link java.util.List} */ @jakarta.annotation.Nullable - public java.util.List getValue() { + public java.util.List getValue() { return this.backingStore.get("value"); } /** @@ -56,7 +57,7 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ * Sets the value property value. The value property * @param value Value to set for the value property. */ - public void setValue(@jakarta.annotation.Nullable final java.util.List value) { + public void setValue(@jakarta.annotation.Nullable final java.util.List value) { this.backingStore.set("value", value); } } diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/impactedresources/addtag/AddTagRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/impactedresources/addtag/AddTagRequestBuilder.java new file mode 100644 index 00000000000..7029afb594f --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/impactedresources/addtag/AddTagRequestBuilder.java @@ -0,0 +1,102 @@ +package com.microsoft.graph.beta.directory.impactedresources.addtag; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to call the addTag method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class AddTagRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link AddTagRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public AddTagRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/impactedResources/addTag", pathParameters); + } + /** + * Instantiates a new {@link AddTagRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public AddTagRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/impactedResources/addTag", rawUrl); + } + /** + * Invoke action addTag + * @param body The request body + * @return a {@link AddTagPostResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public AddTagPostResponse post(@jakarta.annotation.Nonnull final AddTagPostRequestBody body) { + return post(body, null); + } + /** + * Invoke action addTag + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link AddTagPostResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public AddTagPostResponse post(@jakarta.annotation.Nonnull final AddTagPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, AddTagPostResponse::createFromDiscriminatorValue); + } + /** + * Invoke action addTag + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AddTagPostRequestBody body) { + return toPostRequestInformation(body, null); + } + /** + * Invoke action addTag + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AddTagPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); + 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. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link AddTagRequestBuilder} + */ + @jakarta.annotation.Nonnull + public AddTagRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new AddTagRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PostRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/impactedresources/item/ImpactedResourceItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/impactedresources/item/ImpactedResourceItemRequestBuilder.java index 9bbd5a09a15..5d54a69ba96 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/directory/impactedresources/item/ImpactedResourceItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/impactedresources/item/ImpactedResourceItemRequestBuilder.java @@ -1,9 +1,15 @@ package com.microsoft.graph.beta.directory.impactedresources.item; +import com.microsoft.graph.beta.directory.impactedresources.item.acceptrisk.AcceptRiskRequestBuilder; +import com.microsoft.graph.beta.directory.impactedresources.item.addtag.AddTagRequestBuilder; +import com.microsoft.graph.beta.directory.impactedresources.item.applyalternatemitigation.ApplyAlternateMitigationRequestBuilder; import com.microsoft.graph.beta.directory.impactedresources.item.complete.CompleteRequestBuilder; import com.microsoft.graph.beta.directory.impactedresources.item.dismiss.DismissRequestBuilder; +import com.microsoft.graph.beta.directory.impactedresources.item.markplanned.MarkPlannedRequestBuilder; import com.microsoft.graph.beta.directory.impactedresources.item.postpone.PostponeRequestBuilder; import com.microsoft.graph.beta.directory.impactedresources.item.reactivate.ReactivateRequestBuilder; +import com.microsoft.graph.beta.directory.impactedresources.item.removetag.RemoveTagRequestBuilder; +import com.microsoft.graph.beta.directory.impactedresources.item.tags.TagsRequestBuilder; import com.microsoft.graph.beta.models.ImpactedResource; import com.microsoft.graph.beta.models.odataerrors.ODataError; import com.microsoft.kiota.BaseRequestBuilder; @@ -24,6 +30,30 @@ */ @jakarta.annotation.Generated("com.microsoft.kiota") public class ImpactedResourceItemRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to call the acceptRisk method. + * @return a {@link AcceptRiskRequestBuilder} + */ + @jakarta.annotation.Nonnull + public AcceptRiskRequestBuilder acceptRisk() { + return new AcceptRiskRequestBuilder(pathParameters, requestAdapter); + } + /** + * Provides operations to call the addTag method. + * @return a {@link AddTagRequestBuilder} + */ + @jakarta.annotation.Nonnull + public AddTagRequestBuilder addTag() { + return new AddTagRequestBuilder(pathParameters, requestAdapter); + } + /** + * Provides operations to call the applyAlternateMitigation method. + * @return a {@link ApplyAlternateMitigationRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ApplyAlternateMitigationRequestBuilder applyAlternateMitigation() { + return new ApplyAlternateMitigationRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to call the complete method. * @return a {@link CompleteRequestBuilder} @@ -40,6 +70,14 @@ public CompleteRequestBuilder complete() { public DismissRequestBuilder dismiss() { return new DismissRequestBuilder(pathParameters, requestAdapter); } + /** + * Provides operations to call the markPlanned method. + * @return a {@link MarkPlannedRequestBuilder} + */ + @jakarta.annotation.Nonnull + public MarkPlannedRequestBuilder markPlanned() { + return new MarkPlannedRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to call the postpone method. * @return a {@link PostponeRequestBuilder} @@ -56,6 +94,22 @@ public PostponeRequestBuilder postpone() { public ReactivateRequestBuilder reactivate() { return new ReactivateRequestBuilder(pathParameters, requestAdapter); } + /** + * Provides operations to call the removeTag method. + * @return a {@link RemoveTagRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RemoveTagRequestBuilder removeTag() { + return new RemoveTagRequestBuilder(pathParameters, requestAdapter); + } + /** + * Provides operations to manage the tags property of the microsoft.graph.impactedResource entity. + * @return a {@link TagsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public TagsRequestBuilder tags() { + return new TagsRequestBuilder(pathParameters, requestAdapter); + } /** * Instantiates a new {@link ImpactedResourceItemRequestBuilder} and sets the default values. * @param pathParameters Path parameters for the request diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/impactedresources/item/acceptrisk/AcceptRiskRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/impactedresources/item/acceptrisk/AcceptRiskRequestBuilder.java new file mode 100644 index 00000000000..8d5c0eee641 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/impactedresources/item/acceptrisk/AcceptRiskRequestBuilder.java @@ -0,0 +1,96 @@ +package com.microsoft.graph.beta.directory.impactedresources.item.acceptrisk; + +import com.microsoft.graph.beta.models.ImpactedResource; +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to call the acceptRisk method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class AcceptRiskRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link AcceptRiskRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public AcceptRiskRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/impactedResources/{impactedResource%2Did}/acceptRisk", pathParameters); + } + /** + * Instantiates a new {@link AcceptRiskRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public AcceptRiskRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/impactedResources/{impactedResource%2Did}/acceptRisk", rawUrl); + } + /** + * Invoke action acceptRisk + * @return a {@link ImpactedResource} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public ImpactedResource post() { + return post(null); + } + /** + * Invoke action acceptRisk + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link ImpactedResource} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public ImpactedResource post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, ImpactedResource::createFromDiscriminatorValue); + } + /** + * Invoke action acceptRisk + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation() { + return toPostRequestInformation(null); + } + /** + * Invoke action acceptRisk + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); + 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. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link AcceptRiskRequestBuilder} + */ + @jakarta.annotation.Nonnull + public AcceptRiskRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new AcceptRiskRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PostRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/impactedresources/item/addtag/AddTagPostRequestBody.java b/src/main/java/com/microsoft/graph/beta/generated/directory/impactedresources/item/addtag/AddTagPostRequestBody.java new file mode 100644 index 00000000000..b4e16bd0b32 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/impactedresources/item/addtag/AddTagPostRequestBody.java @@ -0,0 +1,107 @@ +package com.microsoft.graph.beta.directory.impactedresources.item.addtag; + +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class AddTagPostRequestBody implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link AddTagPostRequestBody} and sets the default values. + */ + public AddTagPostRequestBody() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link AddTagPostRequestBody} + */ + @jakarta.annotation.Nonnull + public static AddTagPostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new AddTagPostRequestBody(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * Gets the displayName property value. The displayName property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getDisplayName() { + return this.backingStore.get("displayName"); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(1); + deserializerMap.put("displayName", (n) -> { this.setDisplayName(n.getStringValue()); }); + return deserializerMap; + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writeStringValue("displayName", this.getDisplayName()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } + /** + * Sets the displayName property value. The displayName property + * @param value Value to set for the displayName property. + */ + public void setDisplayName(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("displayName", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/impactedresources/item/addtag/AddTagRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/impactedresources/item/addtag/AddTagRequestBuilder.java new file mode 100644 index 00000000000..9ce8cfb5d02 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/impactedresources/item/addtag/AddTagRequestBuilder.java @@ -0,0 +1,103 @@ +package com.microsoft.graph.beta.directory.impactedresources.item.addtag; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.graph.beta.models.RecommendationTag; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to call the addTag method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class AddTagRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link AddTagRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public AddTagRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/impactedResources/{impactedResource%2Did}/addTag", pathParameters); + } + /** + * Instantiates a new {@link AddTagRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public AddTagRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/impactedResources/{impactedResource%2Did}/addTag", rawUrl); + } + /** + * Invoke action addTag + * @param body The request body + * @return a {@link RecommendationTag} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public RecommendationTag post(@jakarta.annotation.Nonnull final AddTagPostRequestBody body) { + return post(body, null); + } + /** + * Invoke action addTag + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RecommendationTag} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public RecommendationTag post(@jakarta.annotation.Nonnull final AddTagPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, RecommendationTag::createFromDiscriminatorValue); + } + /** + * Invoke action addTag + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AddTagPostRequestBody body) { + return toPostRequestInformation(body, null); + } + /** + * Invoke action addTag + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AddTagPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); + 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. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link AddTagRequestBuilder} + */ + @jakarta.annotation.Nonnull + public AddTagRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new AddTagRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PostRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/impactedresources/item/applyalternatemitigation/ApplyAlternateMitigationRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/impactedresources/item/applyalternatemitigation/ApplyAlternateMitigationRequestBuilder.java new file mode 100644 index 00000000000..ec5e6612d77 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/impactedresources/item/applyalternatemitigation/ApplyAlternateMitigationRequestBuilder.java @@ -0,0 +1,96 @@ +package com.microsoft.graph.beta.directory.impactedresources.item.applyalternatemitigation; + +import com.microsoft.graph.beta.models.ImpactedResource; +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to call the applyAlternateMitigation method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ApplyAlternateMitigationRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link ApplyAlternateMitigationRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public ApplyAlternateMitigationRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/impactedResources/{impactedResource%2Did}/applyAlternateMitigation", pathParameters); + } + /** + * Instantiates a new {@link ApplyAlternateMitigationRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public ApplyAlternateMitigationRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/impactedResources/{impactedResource%2Did}/applyAlternateMitigation", rawUrl); + } + /** + * Invoke action applyAlternateMitigation + * @return a {@link ImpactedResource} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public ImpactedResource post() { + return post(null); + } + /** + * Invoke action applyAlternateMitigation + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link ImpactedResource} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public ImpactedResource post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, ImpactedResource::createFromDiscriminatorValue); + } + /** + * Invoke action applyAlternateMitigation + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation() { + return toPostRequestInformation(null); + } + /** + * Invoke action applyAlternateMitigation + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); + 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. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link ApplyAlternateMitigationRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ApplyAlternateMitigationRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new ApplyAlternateMitigationRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PostRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/impactedresources/item/markplanned/MarkPlannedRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/impactedresources/item/markplanned/MarkPlannedRequestBuilder.java new file mode 100644 index 00000000000..24dde11cac0 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/impactedresources/item/markplanned/MarkPlannedRequestBuilder.java @@ -0,0 +1,96 @@ +package com.microsoft.graph.beta.directory.impactedresources.item.markplanned; + +import com.microsoft.graph.beta.models.ImpactedResource; +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to call the markPlanned method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class MarkPlannedRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link MarkPlannedRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public MarkPlannedRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/impactedResources/{impactedResource%2Did}/markPlanned", pathParameters); + } + /** + * Instantiates a new {@link MarkPlannedRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public MarkPlannedRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/impactedResources/{impactedResource%2Did}/markPlanned", rawUrl); + } + /** + * Invoke action markPlanned + * @return a {@link ImpactedResource} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public ImpactedResource post() { + return post(null); + } + /** + * Invoke action markPlanned + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link ImpactedResource} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public ImpactedResource post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, ImpactedResource::createFromDiscriminatorValue); + } + /** + * Invoke action markPlanned + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation() { + return toPostRequestInformation(null); + } + /** + * Invoke action markPlanned + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); + 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. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link MarkPlannedRequestBuilder} + */ + @jakarta.annotation.Nonnull + public MarkPlannedRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new MarkPlannedRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PostRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/impactedresources/item/removetag/RemoveTagPostRequestBody.java b/src/main/java/com/microsoft/graph/beta/generated/directory/impactedresources/item/removetag/RemoveTagPostRequestBody.java new file mode 100644 index 00000000000..c7884a2826c --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/impactedresources/item/removetag/RemoveTagPostRequestBody.java @@ -0,0 +1,107 @@ +package com.microsoft.graph.beta.directory.impactedresources.item.removetag; + +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RemoveTagPostRequestBody implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link RemoveTagPostRequestBody} and sets the default values. + */ + public RemoveTagPostRequestBody() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link RemoveTagPostRequestBody} + */ + @jakarta.annotation.Nonnull + public static RemoveTagPostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new RemoveTagPostRequestBody(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(1); + deserializerMap.put("tagId", (n) -> { this.setTagId(n.getStringValue()); }); + return deserializerMap; + } + /** + * Gets the tagId property value. The tagId property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getTagId() { + return this.backingStore.get("tagId"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writeStringValue("tagId", this.getTagId()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } + /** + * Sets the tagId property value. The tagId property + * @param value Value to set for the tagId property. + */ + public void setTagId(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("tagId", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/impactedresources/item/removetag/RemoveTagRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/impactedresources/item/removetag/RemoveTagRequestBuilder.java new file mode 100644 index 00000000000..af5aef5c927 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/impactedresources/item/removetag/RemoveTagRequestBuilder.java @@ -0,0 +1,103 @@ +package com.microsoft.graph.beta.directory.impactedresources.item.removetag; + +import com.microsoft.graph.beta.models.ImpactedResource; +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to call the removeTag method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RemoveTagRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link RemoveTagRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public RemoveTagRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/impactedResources/{impactedResource%2Did}/removeTag", pathParameters); + } + /** + * Instantiates a new {@link RemoveTagRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public RemoveTagRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/impactedResources/{impactedResource%2Did}/removeTag", rawUrl); + } + /** + * Invoke action removeTag + * @param body The request body + * @return a {@link ImpactedResource} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public ImpactedResource post(@jakarta.annotation.Nonnull final RemoveTagPostRequestBody body) { + return post(body, null); + } + /** + * Invoke action removeTag + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link ImpactedResource} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public ImpactedResource post(@jakarta.annotation.Nonnull final RemoveTagPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, ImpactedResource::createFromDiscriminatorValue); + } + /** + * Invoke action removeTag + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RemoveTagPostRequestBody body) { + return toPostRequestInformation(body, null); + } + /** + * Invoke action removeTag + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RemoveTagPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); + 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. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link RemoveTagRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RemoveTagRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new RemoveTagRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PostRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/impactedresources/item/tags/TagsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/impactedresources/item/tags/TagsRequestBuilder.java new file mode 100644 index 00000000000..f3950f54a08 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/impactedresources/item/tags/TagsRequestBuilder.java @@ -0,0 +1,243 @@ +package com.microsoft.graph.beta.directory.impactedresources.item.tags; + +import com.microsoft.graph.beta.directory.impactedresources.item.tags.count.CountRequestBuilder; +import com.microsoft.graph.beta.directory.impactedresources.item.tags.item.RecommendationTagItemRequestBuilder; +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.graph.beta.models.RecommendationTag; +import com.microsoft.graph.beta.models.RecommendationTagCollectionResponse; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to manage the tags property of the microsoft.graph.impactedResource entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class TagsRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to count the resources in the collection. + * @return a {@link CountRequestBuilder} + */ + @jakarta.annotation.Nonnull + public CountRequestBuilder count() { + return new CountRequestBuilder(pathParameters, requestAdapter); + } + /** + * Provides operations to manage the tags property of the microsoft.graph.impactedResource entity. + * @param recommendationTagId The unique identifier of recommendationTag + * @return a {@link RecommendationTagItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RecommendationTagItemRequestBuilder byRecommendationTagId(@jakarta.annotation.Nonnull final String recommendationTagId) { + Objects.requireNonNull(recommendationTagId); + final HashMap urlTplParams = new HashMap(this.pathParameters); + urlTplParams.put("recommendationTag%2Did", recommendationTagId); + return new RecommendationTagItemRequestBuilder(urlTplParams, requestAdapter); + } + /** + * Instantiates a new {@link TagsRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public TagsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/impactedResources/{impactedResource%2Did}/tags{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters); + } + /** + * Instantiates a new {@link TagsRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public TagsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/impactedResources/{impactedResource%2Did}/tags{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); + } + /** + * Get tags from directory + * @return a {@link RecommendationTagCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public RecommendationTagCollectionResponse get() { + return get(null); + } + /** + * Get tags from directory + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RecommendationTagCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public RecommendationTagCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, RecommendationTagCollectionResponse::createFromDiscriminatorValue); + } + /** + * Create new navigation property to tags for directory + * @param body The request body + * @return a {@link RecommendationTag} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public RecommendationTag post(@jakarta.annotation.Nonnull final RecommendationTag body) { + return post(body, null); + } + /** + * Create new navigation property to tags for directory + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RecommendationTag} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public RecommendationTag post(@jakarta.annotation.Nonnull final RecommendationTag body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, RecommendationTag::createFromDiscriminatorValue); + } + /** + * Get tags from directory + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get tags from directory + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Create new navigation property to tags for directory + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RecommendationTag body) { + return toPostRequestInformation(body, null); + } + /** + * Create new navigation property to tags for directory + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RecommendationTag body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); + 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. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link TagsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public TagsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new TagsRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get tags from directory + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Include count of items + */ + @jakarta.annotation.Nullable + public Boolean count; + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Filter items by property values + */ + @jakarta.annotation.Nullable + public String filter; + /** + * Order items by property values + */ + @jakarta.annotation.Nullable + public String[] orderby; + /** + * Search items by search phrases + */ + @jakarta.annotation.Nullable + public String search; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Skip the first n items + */ + @jakarta.annotation.Nullable + public Integer skip; + /** + * Show only the first n items + */ + @jakarta.annotation.Nullable + public Integer top; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24count", count); + allQueryParams.put("%24filter", filter); + allQueryParams.put("%24search", search); + allQueryParams.put("%24skip", skip); + allQueryParams.put("%24top", top); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24orderby", orderby); + allQueryParams.put("%24select", select); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PostRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/employeeexperience/roles/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/impactedresources/item/tags/count/CountRequestBuilder.java similarity index 93% rename from src/main/java/com/microsoft/graph/beta/generated/employeeexperience/roles/count/CountRequestBuilder.java rename to src/main/java/com/microsoft/graph/beta/generated/directory/impactedresources/item/tags/count/CountRequestBuilder.java index 4f30b0dc0ff..ef3b617496c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/employeeexperience/roles/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/impactedresources/item/tags/count/CountRequestBuilder.java @@ -1,4 +1,4 @@ -package com.microsoft.graph.beta.employeeexperience.roles.count; +package com.microsoft.graph.beta.directory.impactedresources.item.tags.count; import com.microsoft.graph.beta.models.odataerrors.ODataError; import com.microsoft.kiota.BaseRequestBuilder; @@ -25,7 +25,7 @@ public class CountRequestBuilder extends BaseRequestBuilder { * @param requestAdapter The request adapter to use to execute the requests. */ public CountRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { - super(requestAdapter, "{+baseurl}/employeeExperience/roles/$count{?%24filter,%24search}", pathParameters); + super(requestAdapter, "{+baseurl}/directory/impactedResources/{impactedResource%2Did}/tags/$count{?%24filter,%24search}", pathParameters); } /** * Instantiates a new {@link CountRequestBuilder} and sets the default values. @@ -33,7 +33,7 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/impactedResources/{impactedResource%2Did}/tags/{recommendationTag%2Did}{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link RecommendationTagItemRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public RecommendationTagItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/impactedResources/{impactedResource%2Did}/tags/{recommendationTag%2Did}{?%24expand,%24select}", rawUrl); + } + /** + * Delete navigation property tags for directory + * @throws ODataError When receiving a 4XX or 5XX status code + */ + public void delete() { + delete(null); + } + /** + * Delete navigation property tags for directory + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @throws ODataError When receiving a 4XX or 5XX status code + */ + public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); + } + /** + * Get tags from directory + * @return a {@link RecommendationTag} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public RecommendationTag get() { + return get(null); + } + /** + * Get tags from directory + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RecommendationTag} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public RecommendationTag get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, RecommendationTag::createFromDiscriminatorValue); + } + /** + * Update the navigation property tags in directory + * @param body The request body + * @return a {@link RecommendationTag} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public RecommendationTag patch(@jakarta.annotation.Nonnull final RecommendationTag body) { + return patch(body, null); + } + /** + * Update the navigation property tags in directory + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RecommendationTag} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public RecommendationTag patch(@jakarta.annotation.Nonnull final RecommendationTag body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, RecommendationTag::createFromDiscriminatorValue); + } + /** + * Delete navigation property tags for directory + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toDeleteRequestInformation() { + return toDeleteRequestInformation(null); + } + /** + * Delete navigation property tags for directory + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Get tags from directory + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get tags from directory + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Update the navigation property tags in directory + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final RecommendationTag body) { + return toPatchRequestInformation(body, null); + } + /** + * Update the navigation property tags in directory + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final RecommendationTag body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new); + 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. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link RecommendationTagItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RecommendationTagItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new RecommendationTagItemRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class DeleteRequestConfiguration extends BaseRequestConfiguration { + } + /** + * Get tags from directory + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24select", select); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PatchRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/impactedresources/removetag/RemoveTagPostRequestBody.java b/src/main/java/com/microsoft/graph/beta/generated/directory/impactedresources/removetag/RemoveTagPostRequestBody.java new file mode 100644 index 00000000000..50180fc2346 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/impactedresources/removetag/RemoveTagPostRequestBody.java @@ -0,0 +1,124 @@ +package com.microsoft.graph.beta.directory.impactedresources.removetag; + +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RemoveTagPostRequestBody implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link RemoveTagPostRequestBody} and sets the default values. + */ + public RemoveTagPostRequestBody() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link RemoveTagPostRequestBody} + */ + @jakarta.annotation.Nonnull + public static RemoveTagPostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new RemoveTagPostRequestBody(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * Gets the displayName property value. The displayName property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getDisplayName() { + return this.backingStore.get("displayName"); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(2); + deserializerMap.put("displayName", (n) -> { this.setDisplayName(n.getStringValue()); }); + deserializerMap.put("resourceIds", (n) -> { this.setResourceIds(n.getCollectionOfPrimitiveValues(String.class)); }); + return deserializerMap; + } + /** + * Gets the resourceIds property value. The resourceIds property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getResourceIds() { + return this.backingStore.get("resourceIds"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writeStringValue("displayName", this.getDisplayName()); + writer.writeCollectionOfPrimitiveValues("resourceIds", this.getResourceIds()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } + /** + * Sets the displayName property value. The displayName property + * @param value Value to set for the displayName property. + */ + public void setDisplayName(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("displayName", value); + } + /** + * Sets the resourceIds property value. The resourceIds property + * @param value Value to set for the resourceIds property. + */ + public void setResourceIds(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("resourceIds", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/impactedresources/removetag/RemoveTagPostResponse.java b/src/main/java/com/microsoft/graph/beta/generated/directory/impactedresources/removetag/RemoveTagPostResponse.java new file mode 100644 index 00000000000..59135cc692f --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/impactedresources/removetag/RemoveTagPostResponse.java @@ -0,0 +1,63 @@ +package com.microsoft.graph.beta.directory.impactedresources.removetag; + +import com.microsoft.graph.beta.models.BaseCollectionPaginationCountResponse; +import com.microsoft.graph.beta.models.ImpactedResource; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RemoveTagPostResponse extends BaseCollectionPaginationCountResponse implements Parsable { + /** + * Instantiates a new {@link RemoveTagPostResponse} and sets the default values. + */ + public RemoveTagPostResponse() { + super(); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link RemoveTagPostResponse} + */ + @jakarta.annotation.Nonnull + public static RemoveTagPostResponse createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new RemoveTagPostResponse(); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("value", (n) -> { this.setValue(n.getCollectionOfObjectValues(ImpactedResource::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the value property value. The value property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getValue() { + return this.backingStore.get("value"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeCollectionOfObjectValues("value", this.getValue()); + } + /** + * Sets the value property value. The value property + * @param value Value to set for the value property. + */ + public void setValue(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("value", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/impactedresources/removetag/RemoveTagRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/impactedresources/removetag/RemoveTagRequestBuilder.java new file mode 100644 index 00000000000..83540098363 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/impactedresources/removetag/RemoveTagRequestBuilder.java @@ -0,0 +1,102 @@ +package com.microsoft.graph.beta.directory.impactedresources.removetag; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to call the removeTag method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RemoveTagRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link RemoveTagRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public RemoveTagRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/impactedResources/removeTag", pathParameters); + } + /** + * Instantiates a new {@link RemoveTagRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public RemoveTagRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/impactedResources/removeTag", rawUrl); + } + /** + * Invoke action removeTag + * @param body The request body + * @return a {@link RemoveTagPostResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public RemoveTagPostResponse post(@jakarta.annotation.Nonnull final RemoveTagPostRequestBody body) { + return post(body, null); + } + /** + * Invoke action removeTag + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RemoveTagPostResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public RemoveTagPostResponse post(@jakarta.annotation.Nonnull final RemoveTagPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, RemoveTagPostResponse::createFromDiscriminatorValue); + } + /** + * Invoke action removeTag + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RemoveTagPostRequestBody body) { + return toPostRequestInformation(body, null); + } + /** + * Invoke action removeTag + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RemoveTagPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); + 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. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link RemoveTagRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RemoveTagRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new RemoveTagRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PostRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/recommendations/item/RecommendationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/recommendations/item/RecommendationItemRequestBuilder.java index 5324c8adc38..30e4649e3da 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/directory/recommendations/item/RecommendationItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/recommendations/item/RecommendationItemRequestBuilder.java @@ -1,10 +1,16 @@ package com.microsoft.graph.beta.directory.recommendations.item; +import com.microsoft.graph.beta.directory.recommendations.item.acceptrisk.AcceptRiskRequestBuilder; +import com.microsoft.graph.beta.directory.recommendations.item.addtag.AddTagRequestBuilder; +import com.microsoft.graph.beta.directory.recommendations.item.applyalternatemitigation.ApplyAlternateMitigationRequestBuilder; import com.microsoft.graph.beta.directory.recommendations.item.complete.CompleteRequestBuilder; import com.microsoft.graph.beta.directory.recommendations.item.dismiss.DismissRequestBuilder; import com.microsoft.graph.beta.directory.recommendations.item.impactedresources.ImpactedResourcesRequestBuilder; +import com.microsoft.graph.beta.directory.recommendations.item.markplanned.MarkPlannedRequestBuilder; import com.microsoft.graph.beta.directory.recommendations.item.postpone.PostponeRequestBuilder; import com.microsoft.graph.beta.directory.recommendations.item.reactivate.ReactivateRequestBuilder; +import com.microsoft.graph.beta.directory.recommendations.item.removetag.RemoveTagRequestBuilder; +import com.microsoft.graph.beta.directory.recommendations.item.tags.TagsRequestBuilder; import com.microsoft.graph.beta.models.odataerrors.ODataError; import com.microsoft.graph.beta.models.Recommendation; import com.microsoft.kiota.BaseRequestBuilder; @@ -25,6 +31,30 @@ */ @jakarta.annotation.Generated("com.microsoft.kiota") public class RecommendationItemRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to call the acceptRisk method. + * @return a {@link AcceptRiskRequestBuilder} + */ + @jakarta.annotation.Nonnull + public AcceptRiskRequestBuilder acceptRisk() { + return new AcceptRiskRequestBuilder(pathParameters, requestAdapter); + } + /** + * Provides operations to call the addTag method. + * @return a {@link AddTagRequestBuilder} + */ + @jakarta.annotation.Nonnull + public AddTagRequestBuilder addTag() { + return new AddTagRequestBuilder(pathParameters, requestAdapter); + } + /** + * Provides operations to call the applyAlternateMitigation method. + * @return a {@link ApplyAlternateMitigationRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ApplyAlternateMitigationRequestBuilder applyAlternateMitigation() { + return new ApplyAlternateMitigationRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to call the complete method. * @return a {@link CompleteRequestBuilder} @@ -49,6 +79,14 @@ public DismissRequestBuilder dismiss() { public ImpactedResourcesRequestBuilder impactedResources() { return new ImpactedResourcesRequestBuilder(pathParameters, requestAdapter); } + /** + * Provides operations to call the markPlanned method. + * @return a {@link MarkPlannedRequestBuilder} + */ + @jakarta.annotation.Nonnull + public MarkPlannedRequestBuilder markPlanned() { + return new MarkPlannedRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to call the postpone method. * @return a {@link PostponeRequestBuilder} @@ -65,6 +103,22 @@ public PostponeRequestBuilder postpone() { public ReactivateRequestBuilder reactivate() { return new ReactivateRequestBuilder(pathParameters, requestAdapter); } + /** + * Provides operations to call the removeTag method. + * @return a {@link RemoveTagRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RemoveTagRequestBuilder removeTag() { + return new RemoveTagRequestBuilder(pathParameters, requestAdapter); + } + /** + * Provides operations to manage the tags property of the microsoft.graph.recommendationBase entity. + * @return a {@link TagsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public TagsRequestBuilder tags() { + return new TagsRequestBuilder(pathParameters, requestAdapter); + } /** * Instantiates a new {@link RecommendationItemRequestBuilder} and sets the default values. * @param pathParameters Path parameters for the request diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/recommendations/item/acceptrisk/AcceptRiskRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/recommendations/item/acceptrisk/AcceptRiskRequestBuilder.java new file mode 100644 index 00000000000..c92310c269a --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/recommendations/item/acceptrisk/AcceptRiskRequestBuilder.java @@ -0,0 +1,96 @@ +package com.microsoft.graph.beta.directory.recommendations.item.acceptrisk; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.graph.beta.models.Recommendation; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to call the acceptRisk method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class AcceptRiskRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link AcceptRiskRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public AcceptRiskRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/recommendations/{recommendation%2Did}/acceptRisk", pathParameters); + } + /** + * Instantiates a new {@link AcceptRiskRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public AcceptRiskRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/recommendations/{recommendation%2Did}/acceptRisk", rawUrl); + } + /** + * Invoke action acceptRisk + * @return a {@link Recommendation} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public Recommendation post() { + return post(null); + } + /** + * Invoke action acceptRisk + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link Recommendation} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public Recommendation post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, Recommendation::createFromDiscriminatorValue); + } + /** + * Invoke action acceptRisk + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation() { + return toPostRequestInformation(null); + } + /** + * Invoke action acceptRisk + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); + 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. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link AcceptRiskRequestBuilder} + */ + @jakarta.annotation.Nonnull + public AcceptRiskRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new AcceptRiskRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PostRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/recommendations/item/addtag/AddTagPostRequestBody.java b/src/main/java/com/microsoft/graph/beta/generated/directory/recommendations/item/addtag/AddTagPostRequestBody.java new file mode 100644 index 00000000000..f12e6174b1d --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/recommendations/item/addtag/AddTagPostRequestBody.java @@ -0,0 +1,107 @@ +package com.microsoft.graph.beta.directory.recommendations.item.addtag; + +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class AddTagPostRequestBody implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link AddTagPostRequestBody} and sets the default values. + */ + public AddTagPostRequestBody() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link AddTagPostRequestBody} + */ + @jakarta.annotation.Nonnull + public static AddTagPostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new AddTagPostRequestBody(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * Gets the displayName property value. The displayName property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getDisplayName() { + return this.backingStore.get("displayName"); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(1); + deserializerMap.put("displayName", (n) -> { this.setDisplayName(n.getStringValue()); }); + return deserializerMap; + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writeStringValue("displayName", this.getDisplayName()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } + /** + * Sets the displayName property value. The displayName property + * @param value Value to set for the displayName property. + */ + public void setDisplayName(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("displayName", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/recommendations/item/addtag/AddTagRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/recommendations/item/addtag/AddTagRequestBuilder.java new file mode 100644 index 00000000000..179405bef5f --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/recommendations/item/addtag/AddTagRequestBuilder.java @@ -0,0 +1,103 @@ +package com.microsoft.graph.beta.directory.recommendations.item.addtag; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.graph.beta.models.RecommendationTag; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to call the addTag method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class AddTagRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link AddTagRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public AddTagRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/recommendations/{recommendation%2Did}/addTag", pathParameters); + } + /** + * Instantiates a new {@link AddTagRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public AddTagRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/recommendations/{recommendation%2Did}/addTag", rawUrl); + } + /** + * Invoke action addTag + * @param body The request body + * @return a {@link RecommendationTag} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public RecommendationTag post(@jakarta.annotation.Nonnull final AddTagPostRequestBody body) { + return post(body, null); + } + /** + * Invoke action addTag + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RecommendationTag} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public RecommendationTag post(@jakarta.annotation.Nonnull final AddTagPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, RecommendationTag::createFromDiscriminatorValue); + } + /** + * Invoke action addTag + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AddTagPostRequestBody body) { + return toPostRequestInformation(body, null); + } + /** + * Invoke action addTag + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AddTagPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); + 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. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link AddTagRequestBuilder} + */ + @jakarta.annotation.Nonnull + public AddTagRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new AddTagRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PostRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/recommendations/item/applyalternatemitigation/ApplyAlternateMitigationRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/recommendations/item/applyalternatemitigation/ApplyAlternateMitigationRequestBuilder.java new file mode 100644 index 00000000000..24488c15736 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/recommendations/item/applyalternatemitigation/ApplyAlternateMitigationRequestBuilder.java @@ -0,0 +1,96 @@ +package com.microsoft.graph.beta.directory.recommendations.item.applyalternatemitigation; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.graph.beta.models.Recommendation; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to call the applyAlternateMitigation method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ApplyAlternateMitigationRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link ApplyAlternateMitigationRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public ApplyAlternateMitigationRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/recommendations/{recommendation%2Did}/applyAlternateMitigation", pathParameters); + } + /** + * Instantiates a new {@link ApplyAlternateMitigationRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public ApplyAlternateMitigationRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/recommendations/{recommendation%2Did}/applyAlternateMitigation", rawUrl); + } + /** + * Invoke action applyAlternateMitigation + * @return a {@link Recommendation} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public Recommendation post() { + return post(null); + } + /** + * Invoke action applyAlternateMitigation + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link Recommendation} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public Recommendation post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, Recommendation::createFromDiscriminatorValue); + } + /** + * Invoke action applyAlternateMitigation + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation() { + return toPostRequestInformation(null); + } + /** + * Invoke action applyAlternateMitigation + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); + 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. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link ApplyAlternateMitigationRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ApplyAlternateMitigationRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new ApplyAlternateMitigationRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PostRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/recommendations/item/impactedresources/ImpactedResourcesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/recommendations/item/impactedresources/ImpactedResourcesRequestBuilder.java index e8cbc39c179..2136184e32f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/directory/recommendations/item/impactedresources/ImpactedResourcesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/recommendations/item/impactedresources/ImpactedResourcesRequestBuilder.java @@ -1,7 +1,9 @@ package com.microsoft.graph.beta.directory.recommendations.item.impactedresources; +import com.microsoft.graph.beta.directory.recommendations.item.impactedresources.addtag.AddTagRequestBuilder; import com.microsoft.graph.beta.directory.recommendations.item.impactedresources.count.CountRequestBuilder; import com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.ImpactedResourceItemRequestBuilder; +import com.microsoft.graph.beta.directory.recommendations.item.impactedresources.removetag.RemoveTagRequestBuilder; import com.microsoft.graph.beta.models.ImpactedResource; import com.microsoft.graph.beta.models.ImpactedResourceCollectionResponse; import com.microsoft.graph.beta.models.odataerrors.ODataError; @@ -23,6 +25,14 @@ */ @jakarta.annotation.Generated("com.microsoft.kiota") public class ImpactedResourcesRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to call the addTag method. + * @return a {@link AddTagRequestBuilder} + */ + @jakarta.annotation.Nonnull + public AddTagRequestBuilder addTag() { + return new AddTagRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} @@ -31,6 +41,14 @@ public class ImpactedResourcesRequestBuilder extends BaseRequestBuilder { public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); } + /** + * Provides operations to call the removeTag method. + * @return a {@link RemoveTagRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RemoveTagRequestBuilder removeTag() { + return new RemoveTagRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to manage the impactedResources property of the microsoft.graph.recommendationBase entity. * @param impactedResourceId The unique identifier of impactedResource diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/recommendations/item/impactedresources/addtag/AddTagPostRequestBody.java b/src/main/java/com/microsoft/graph/beta/generated/directory/recommendations/item/impactedresources/addtag/AddTagPostRequestBody.java new file mode 100644 index 00000000000..5ae0de9dbee --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/recommendations/item/impactedresources/addtag/AddTagPostRequestBody.java @@ -0,0 +1,124 @@ +package com.microsoft.graph.beta.directory.recommendations.item.impactedresources.addtag; + +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class AddTagPostRequestBody implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link AddTagPostRequestBody} and sets the default values. + */ + public AddTagPostRequestBody() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link AddTagPostRequestBody} + */ + @jakarta.annotation.Nonnull + public static AddTagPostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new AddTagPostRequestBody(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * Gets the displayName property value. The displayName property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getDisplayName() { + return this.backingStore.get("displayName"); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(2); + deserializerMap.put("displayName", (n) -> { this.setDisplayName(n.getStringValue()); }); + deserializerMap.put("resourceIds", (n) -> { this.setResourceIds(n.getCollectionOfPrimitiveValues(String.class)); }); + return deserializerMap; + } + /** + * Gets the resourceIds property value. The resourceIds property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getResourceIds() { + return this.backingStore.get("resourceIds"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writeStringValue("displayName", this.getDisplayName()); + writer.writeCollectionOfPrimitiveValues("resourceIds", this.getResourceIds()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } + /** + * Sets the displayName property value. The displayName property + * @param value Value to set for the displayName property. + */ + public void setDisplayName(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("displayName", value); + } + /** + * Sets the resourceIds property value. The resourceIds property + * @param value Value to set for the resourceIds property. + */ + public void setResourceIds(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("resourceIds", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/recommendations/item/impactedresources/addtag/AddTagPostResponse.java b/src/main/java/com/microsoft/graph/beta/generated/directory/recommendations/item/impactedresources/addtag/AddTagPostResponse.java new file mode 100644 index 00000000000..a506d99b45b --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/recommendations/item/impactedresources/addtag/AddTagPostResponse.java @@ -0,0 +1,63 @@ +package com.microsoft.graph.beta.directory.recommendations.item.impactedresources.addtag; + +import com.microsoft.graph.beta.models.BaseCollectionPaginationCountResponse; +import com.microsoft.graph.beta.models.ImpactedResource; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class AddTagPostResponse extends BaseCollectionPaginationCountResponse implements Parsable { + /** + * Instantiates a new {@link AddTagPostResponse} and sets the default values. + */ + public AddTagPostResponse() { + super(); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link AddTagPostResponse} + */ + @jakarta.annotation.Nonnull + public static AddTagPostResponse createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new AddTagPostResponse(); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("value", (n) -> { this.setValue(n.getCollectionOfObjectValues(ImpactedResource::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the value property value. The value property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getValue() { + return this.backingStore.get("value"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeCollectionOfObjectValues("value", this.getValue()); + } + /** + * Sets the value property value. The value property + * @param value Value to set for the value property. + */ + public void setValue(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("value", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/recommendations/item/impactedresources/addtag/AddTagRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/recommendations/item/impactedresources/addtag/AddTagRequestBuilder.java new file mode 100644 index 00000000000..2f3230aeed2 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/recommendations/item/impactedresources/addtag/AddTagRequestBuilder.java @@ -0,0 +1,102 @@ +package com.microsoft.graph.beta.directory.recommendations.item.impactedresources.addtag; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to call the addTag method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class AddTagRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link AddTagRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public AddTagRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/recommendations/{recommendation%2Did}/impactedResources/addTag", pathParameters); + } + /** + * Instantiates a new {@link AddTagRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public AddTagRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/recommendations/{recommendation%2Did}/impactedResources/addTag", rawUrl); + } + /** + * Invoke action addTag + * @param body The request body + * @return a {@link AddTagPostResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public AddTagPostResponse post(@jakarta.annotation.Nonnull final AddTagPostRequestBody body) { + return post(body, null); + } + /** + * Invoke action addTag + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link AddTagPostResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public AddTagPostResponse post(@jakarta.annotation.Nonnull final AddTagPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, AddTagPostResponse::createFromDiscriminatorValue); + } + /** + * Invoke action addTag + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AddTagPostRequestBody body) { + return toPostRequestInformation(body, null); + } + /** + * Invoke action addTag + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AddTagPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); + 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. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link AddTagRequestBuilder} + */ + @jakarta.annotation.Nonnull + public AddTagRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new AddTagRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PostRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/recommendations/item/impactedresources/item/ImpactedResourceItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/recommendations/item/impactedresources/item/ImpactedResourceItemRequestBuilder.java index b43b89a4dfc..e49d11589ca 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/directory/recommendations/item/impactedresources/item/ImpactedResourceItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/recommendations/item/impactedresources/item/ImpactedResourceItemRequestBuilder.java @@ -1,9 +1,15 @@ package com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item; +import com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.acceptrisk.AcceptRiskRequestBuilder; +import com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.addtag.AddTagRequestBuilder; +import com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.applyalternatemitigation.ApplyAlternateMitigationRequestBuilder; import com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.complete.CompleteRequestBuilder; import com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.dismiss.DismissRequestBuilder; +import com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.markplanned.MarkPlannedRequestBuilder; import com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.postpone.PostponeRequestBuilder; import com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.reactivate.ReactivateRequestBuilder; +import com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.removetag.RemoveTagRequestBuilder; +import com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.tags.TagsRequestBuilder; import com.microsoft.graph.beta.models.ImpactedResource; import com.microsoft.graph.beta.models.odataerrors.ODataError; import com.microsoft.kiota.BaseRequestBuilder; @@ -24,6 +30,30 @@ */ @jakarta.annotation.Generated("com.microsoft.kiota") public class ImpactedResourceItemRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to call the acceptRisk method. + * @return a {@link AcceptRiskRequestBuilder} + */ + @jakarta.annotation.Nonnull + public AcceptRiskRequestBuilder acceptRisk() { + return new AcceptRiskRequestBuilder(pathParameters, requestAdapter); + } + /** + * Provides operations to call the addTag method. + * @return a {@link AddTagRequestBuilder} + */ + @jakarta.annotation.Nonnull + public AddTagRequestBuilder addTag() { + return new AddTagRequestBuilder(pathParameters, requestAdapter); + } + /** + * Provides operations to call the applyAlternateMitigation method. + * @return a {@link ApplyAlternateMitigationRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ApplyAlternateMitigationRequestBuilder applyAlternateMitigation() { + return new ApplyAlternateMitigationRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to call the complete method. * @return a {@link CompleteRequestBuilder} @@ -40,6 +70,14 @@ public CompleteRequestBuilder complete() { public DismissRequestBuilder dismiss() { return new DismissRequestBuilder(pathParameters, requestAdapter); } + /** + * Provides operations to call the markPlanned method. + * @return a {@link MarkPlannedRequestBuilder} + */ + @jakarta.annotation.Nonnull + public MarkPlannedRequestBuilder markPlanned() { + return new MarkPlannedRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to call the postpone method. * @return a {@link PostponeRequestBuilder} @@ -56,6 +94,22 @@ public PostponeRequestBuilder postpone() { public ReactivateRequestBuilder reactivate() { return new ReactivateRequestBuilder(pathParameters, requestAdapter); } + /** + * Provides operations to call the removeTag method. + * @return a {@link RemoveTagRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RemoveTagRequestBuilder removeTag() { + return new RemoveTagRequestBuilder(pathParameters, requestAdapter); + } + /** + * Provides operations to manage the tags property of the microsoft.graph.impactedResource entity. + * @return a {@link TagsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public TagsRequestBuilder tags() { + return new TagsRequestBuilder(pathParameters, requestAdapter); + } /** * Instantiates a new {@link ImpactedResourceItemRequestBuilder} and sets the default values. * @param pathParameters Path parameters for the request diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/recommendations/item/impactedresources/item/acceptrisk/AcceptRiskRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/recommendations/item/impactedresources/item/acceptrisk/AcceptRiskRequestBuilder.java new file mode 100644 index 00000000000..1c05286ae3a --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/recommendations/item/impactedresources/item/acceptrisk/AcceptRiskRequestBuilder.java @@ -0,0 +1,96 @@ +package com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.acceptrisk; + +import com.microsoft.graph.beta.models.ImpactedResource; +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to call the acceptRisk method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class AcceptRiskRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link AcceptRiskRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public AcceptRiskRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/recommendations/{recommendation%2Did}/impactedResources/{impactedResource%2Did}/acceptRisk", pathParameters); + } + /** + * Instantiates a new {@link AcceptRiskRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public AcceptRiskRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/recommendations/{recommendation%2Did}/impactedResources/{impactedResource%2Did}/acceptRisk", rawUrl); + } + /** + * Invoke action acceptRisk + * @return a {@link ImpactedResource} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public ImpactedResource post() { + return post(null); + } + /** + * Invoke action acceptRisk + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link ImpactedResource} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public ImpactedResource post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, ImpactedResource::createFromDiscriminatorValue); + } + /** + * Invoke action acceptRisk + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation() { + return toPostRequestInformation(null); + } + /** + * Invoke action acceptRisk + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); + 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. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link AcceptRiskRequestBuilder} + */ + @jakarta.annotation.Nonnull + public AcceptRiskRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new AcceptRiskRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PostRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/recommendations/item/impactedresources/item/addtag/AddTagPostRequestBody.java b/src/main/java/com/microsoft/graph/beta/generated/directory/recommendations/item/impactedresources/item/addtag/AddTagPostRequestBody.java new file mode 100644 index 00000000000..3d571c195ad --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/recommendations/item/impactedresources/item/addtag/AddTagPostRequestBody.java @@ -0,0 +1,107 @@ +package com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.addtag; + +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class AddTagPostRequestBody implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link AddTagPostRequestBody} and sets the default values. + */ + public AddTagPostRequestBody() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link AddTagPostRequestBody} + */ + @jakarta.annotation.Nonnull + public static AddTagPostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new AddTagPostRequestBody(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * Gets the displayName property value. The displayName property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getDisplayName() { + return this.backingStore.get("displayName"); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(1); + deserializerMap.put("displayName", (n) -> { this.setDisplayName(n.getStringValue()); }); + return deserializerMap; + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writeStringValue("displayName", this.getDisplayName()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } + /** + * Sets the displayName property value. The displayName property + * @param value Value to set for the displayName property. + */ + public void setDisplayName(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("displayName", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/recommendations/item/impactedresources/item/addtag/AddTagRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/recommendations/item/impactedresources/item/addtag/AddTagRequestBuilder.java new file mode 100644 index 00000000000..ec1a3948ec9 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/recommendations/item/impactedresources/item/addtag/AddTagRequestBuilder.java @@ -0,0 +1,103 @@ +package com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.addtag; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.graph.beta.models.RecommendationTag; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to call the addTag method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class AddTagRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link AddTagRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public AddTagRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/recommendations/{recommendation%2Did}/impactedResources/{impactedResource%2Did}/addTag", pathParameters); + } + /** + * Instantiates a new {@link AddTagRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public AddTagRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/recommendations/{recommendation%2Did}/impactedResources/{impactedResource%2Did}/addTag", rawUrl); + } + /** + * Invoke action addTag + * @param body The request body + * @return a {@link RecommendationTag} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public RecommendationTag post(@jakarta.annotation.Nonnull final AddTagPostRequestBody body) { + return post(body, null); + } + /** + * Invoke action addTag + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RecommendationTag} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public RecommendationTag post(@jakarta.annotation.Nonnull final AddTagPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, RecommendationTag::createFromDiscriminatorValue); + } + /** + * Invoke action addTag + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AddTagPostRequestBody body) { + return toPostRequestInformation(body, null); + } + /** + * Invoke action addTag + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AddTagPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); + 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. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link AddTagRequestBuilder} + */ + @jakarta.annotation.Nonnull + public AddTagRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new AddTagRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PostRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/recommendations/item/impactedresources/item/applyalternatemitigation/ApplyAlternateMitigationRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/recommendations/item/impactedresources/item/applyalternatemitigation/ApplyAlternateMitigationRequestBuilder.java new file mode 100644 index 00000000000..a999072848d --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/recommendations/item/impactedresources/item/applyalternatemitigation/ApplyAlternateMitigationRequestBuilder.java @@ -0,0 +1,96 @@ +package com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.applyalternatemitigation; + +import com.microsoft.graph.beta.models.ImpactedResource; +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to call the applyAlternateMitigation method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ApplyAlternateMitigationRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link ApplyAlternateMitigationRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public ApplyAlternateMitigationRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/recommendations/{recommendation%2Did}/impactedResources/{impactedResource%2Did}/applyAlternateMitigation", pathParameters); + } + /** + * Instantiates a new {@link ApplyAlternateMitigationRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public ApplyAlternateMitigationRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/recommendations/{recommendation%2Did}/impactedResources/{impactedResource%2Did}/applyAlternateMitigation", rawUrl); + } + /** + * Invoke action applyAlternateMitigation + * @return a {@link ImpactedResource} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public ImpactedResource post() { + return post(null); + } + /** + * Invoke action applyAlternateMitigation + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link ImpactedResource} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public ImpactedResource post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, ImpactedResource::createFromDiscriminatorValue); + } + /** + * Invoke action applyAlternateMitigation + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation() { + return toPostRequestInformation(null); + } + /** + * Invoke action applyAlternateMitigation + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); + 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. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link ApplyAlternateMitigationRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ApplyAlternateMitigationRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new ApplyAlternateMitigationRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PostRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/recommendations/item/impactedresources/item/markplanned/MarkPlannedRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/recommendations/item/impactedresources/item/markplanned/MarkPlannedRequestBuilder.java new file mode 100644 index 00000000000..2ff87836eee --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/recommendations/item/impactedresources/item/markplanned/MarkPlannedRequestBuilder.java @@ -0,0 +1,96 @@ +package com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.markplanned; + +import com.microsoft.graph.beta.models.ImpactedResource; +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to call the markPlanned method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class MarkPlannedRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link MarkPlannedRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public MarkPlannedRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/recommendations/{recommendation%2Did}/impactedResources/{impactedResource%2Did}/markPlanned", pathParameters); + } + /** + * Instantiates a new {@link MarkPlannedRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public MarkPlannedRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/recommendations/{recommendation%2Did}/impactedResources/{impactedResource%2Did}/markPlanned", rawUrl); + } + /** + * Invoke action markPlanned + * @return a {@link ImpactedResource} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public ImpactedResource post() { + return post(null); + } + /** + * Invoke action markPlanned + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link ImpactedResource} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public ImpactedResource post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, ImpactedResource::createFromDiscriminatorValue); + } + /** + * Invoke action markPlanned + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation() { + return toPostRequestInformation(null); + } + /** + * Invoke action markPlanned + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); + 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. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link MarkPlannedRequestBuilder} + */ + @jakarta.annotation.Nonnull + public MarkPlannedRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new MarkPlannedRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PostRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/recommendations/item/impactedresources/item/removetag/RemoveTagPostRequestBody.java b/src/main/java/com/microsoft/graph/beta/generated/directory/recommendations/item/impactedresources/item/removetag/RemoveTagPostRequestBody.java new file mode 100644 index 00000000000..71eb72150d9 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/recommendations/item/impactedresources/item/removetag/RemoveTagPostRequestBody.java @@ -0,0 +1,107 @@ +package com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.removetag; + +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RemoveTagPostRequestBody implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link RemoveTagPostRequestBody} and sets the default values. + */ + public RemoveTagPostRequestBody() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link RemoveTagPostRequestBody} + */ + @jakarta.annotation.Nonnull + public static RemoveTagPostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new RemoveTagPostRequestBody(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(1); + deserializerMap.put("tagId", (n) -> { this.setTagId(n.getStringValue()); }); + return deserializerMap; + } + /** + * Gets the tagId property value. The tagId property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getTagId() { + return this.backingStore.get("tagId"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writeStringValue("tagId", this.getTagId()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } + /** + * Sets the tagId property value. The tagId property + * @param value Value to set for the tagId property. + */ + public void setTagId(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("tagId", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/recommendations/item/impactedresources/item/removetag/RemoveTagRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/recommendations/item/impactedresources/item/removetag/RemoveTagRequestBuilder.java new file mode 100644 index 00000000000..560bfc8f045 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/recommendations/item/impactedresources/item/removetag/RemoveTagRequestBuilder.java @@ -0,0 +1,103 @@ +package com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.removetag; + +import com.microsoft.graph.beta.models.ImpactedResource; +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to call the removeTag method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RemoveTagRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link RemoveTagRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public RemoveTagRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/recommendations/{recommendation%2Did}/impactedResources/{impactedResource%2Did}/removeTag", pathParameters); + } + /** + * Instantiates a new {@link RemoveTagRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public RemoveTagRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/recommendations/{recommendation%2Did}/impactedResources/{impactedResource%2Did}/removeTag", rawUrl); + } + /** + * Invoke action removeTag + * @param body The request body + * @return a {@link ImpactedResource} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public ImpactedResource post(@jakarta.annotation.Nonnull final RemoveTagPostRequestBody body) { + return post(body, null); + } + /** + * Invoke action removeTag + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link ImpactedResource} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public ImpactedResource post(@jakarta.annotation.Nonnull final RemoveTagPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, ImpactedResource::createFromDiscriminatorValue); + } + /** + * Invoke action removeTag + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RemoveTagPostRequestBody body) { + return toPostRequestInformation(body, null); + } + /** + * Invoke action removeTag + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RemoveTagPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); + 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. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link RemoveTagRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RemoveTagRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new RemoveTagRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PostRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/recommendations/item/impactedresources/item/tags/TagsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/recommendations/item/impactedresources/item/tags/TagsRequestBuilder.java new file mode 100644 index 00000000000..e627ed9fe3a --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/recommendations/item/impactedresources/item/tags/TagsRequestBuilder.java @@ -0,0 +1,243 @@ +package com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.tags; + +import com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.tags.count.CountRequestBuilder; +import com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.tags.item.RecommendationTagItemRequestBuilder; +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.graph.beta.models.RecommendationTag; +import com.microsoft.graph.beta.models.RecommendationTagCollectionResponse; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to manage the tags property of the microsoft.graph.impactedResource entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class TagsRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to count the resources in the collection. + * @return a {@link CountRequestBuilder} + */ + @jakarta.annotation.Nonnull + public CountRequestBuilder count() { + return new CountRequestBuilder(pathParameters, requestAdapter); + } + /** + * Provides operations to manage the tags property of the microsoft.graph.impactedResource entity. + * @param recommendationTagId The unique identifier of recommendationTag + * @return a {@link RecommendationTagItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RecommendationTagItemRequestBuilder byRecommendationTagId(@jakarta.annotation.Nonnull final String recommendationTagId) { + Objects.requireNonNull(recommendationTagId); + final HashMap urlTplParams = new HashMap(this.pathParameters); + urlTplParams.put("recommendationTag%2Did", recommendationTagId); + return new RecommendationTagItemRequestBuilder(urlTplParams, requestAdapter); + } + /** + * Instantiates a new {@link TagsRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public TagsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/recommendations/{recommendation%2Did}/impactedResources/{impactedResource%2Did}/tags{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters); + } + /** + * Instantiates a new {@link TagsRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public TagsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/recommendations/{recommendation%2Did}/impactedResources/{impactedResource%2Did}/tags{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); + } + /** + * Get tags from directory + * @return a {@link RecommendationTagCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public RecommendationTagCollectionResponse get() { + return get(null); + } + /** + * Get tags from directory + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RecommendationTagCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public RecommendationTagCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, RecommendationTagCollectionResponse::createFromDiscriminatorValue); + } + /** + * Create new navigation property to tags for directory + * @param body The request body + * @return a {@link RecommendationTag} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public RecommendationTag post(@jakarta.annotation.Nonnull final RecommendationTag body) { + return post(body, null); + } + /** + * Create new navigation property to tags for directory + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RecommendationTag} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public RecommendationTag post(@jakarta.annotation.Nonnull final RecommendationTag body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, RecommendationTag::createFromDiscriminatorValue); + } + /** + * Get tags from directory + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get tags from directory + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Create new navigation property to tags for directory + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RecommendationTag body) { + return toPostRequestInformation(body, null); + } + /** + * Create new navigation property to tags for directory + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RecommendationTag body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); + 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. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link TagsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public TagsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new TagsRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get tags from directory + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Include count of items + */ + @jakarta.annotation.Nullable + public Boolean count; + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Filter items by property values + */ + @jakarta.annotation.Nullable + public String filter; + /** + * Order items by property values + */ + @jakarta.annotation.Nullable + public String[] orderby; + /** + * Search items by search phrases + */ + @jakarta.annotation.Nullable + public String search; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Skip the first n items + */ + @jakarta.annotation.Nullable + public Integer skip; + /** + * Show only the first n items + */ + @jakarta.annotation.Nullable + public Integer top; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24count", count); + allQueryParams.put("%24filter", filter); + allQueryParams.put("%24search", search); + allQueryParams.put("%24skip", skip); + allQueryParams.put("%24top", top); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24orderby", orderby); + allQueryParams.put("%24select", select); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PostRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/employeeexperience/engagementasyncoperations/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/recommendations/item/impactedresources/item/tags/count/CountRequestBuilder.java similarity index 92% rename from src/main/java/com/microsoft/graph/beta/generated/employeeexperience/engagementasyncoperations/count/CountRequestBuilder.java rename to src/main/java/com/microsoft/graph/beta/generated/directory/recommendations/item/impactedresources/item/tags/count/CountRequestBuilder.java index 8a1ecde15fa..5a47303e150 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/employeeexperience/engagementasyncoperations/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/recommendations/item/impactedresources/item/tags/count/CountRequestBuilder.java @@ -1,4 +1,4 @@ -package com.microsoft.graph.beta.employeeexperience.engagementasyncoperations.count; +package com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.tags.count; import com.microsoft.graph.beta.models.odataerrors.ODataError; import com.microsoft.kiota.BaseRequestBuilder; @@ -25,7 +25,7 @@ public class CountRequestBuilder extends BaseRequestBuilder { * @param requestAdapter The request adapter to use to execute the requests. */ public CountRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { - super(requestAdapter, "{+baseurl}/employeeExperience/engagementAsyncOperations/$count{?%24filter,%24search}", pathParameters); + super(requestAdapter, "{+baseurl}/directory/recommendations/{recommendation%2Did}/impactedResources/{impactedResource%2Did}/tags/$count{?%24filter,%24search}", pathParameters); } /** * Instantiates a new {@link CountRequestBuilder} and sets the default values. @@ -33,7 +33,7 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/recommendations/{recommendation%2Did}/impactedResources/{impactedResource%2Did}/tags/{recommendationTag%2Did}{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link RecommendationTagItemRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public RecommendationTagItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/recommendations/{recommendation%2Did}/impactedResources/{impactedResource%2Did}/tags/{recommendationTag%2Did}{?%24expand,%24select}", rawUrl); + } + /** + * Delete navigation property tags for directory + * @throws ODataError When receiving a 4XX or 5XX status code + */ + public void delete() { + delete(null); + } + /** + * Delete navigation property tags for directory + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @throws ODataError When receiving a 4XX or 5XX status code + */ + public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); + } + /** + * Get tags from directory + * @return a {@link RecommendationTag} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public RecommendationTag get() { + return get(null); + } + /** + * Get tags from directory + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RecommendationTag} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public RecommendationTag get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, RecommendationTag::createFromDiscriminatorValue); + } + /** + * Update the navigation property tags in directory + * @param body The request body + * @return a {@link RecommendationTag} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public RecommendationTag patch(@jakarta.annotation.Nonnull final RecommendationTag body) { + return patch(body, null); + } + /** + * Update the navigation property tags in directory + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RecommendationTag} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public RecommendationTag patch(@jakarta.annotation.Nonnull final RecommendationTag body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, RecommendationTag::createFromDiscriminatorValue); + } + /** + * Delete navigation property tags for directory + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toDeleteRequestInformation() { + return toDeleteRequestInformation(null); + } + /** + * Delete navigation property tags for directory + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Get tags from directory + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get tags from directory + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Update the navigation property tags in directory + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final RecommendationTag body) { + return toPatchRequestInformation(body, null); + } + /** + * Update the navigation property tags in directory + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final RecommendationTag body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new); + 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. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link RecommendationTagItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RecommendationTagItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new RecommendationTagItemRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class DeleteRequestConfiguration extends BaseRequestConfiguration { + } + /** + * Get tags from directory + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24select", select); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PatchRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/recommendations/item/impactedresources/removetag/RemoveTagPostRequestBody.java b/src/main/java/com/microsoft/graph/beta/generated/directory/recommendations/item/impactedresources/removetag/RemoveTagPostRequestBody.java new file mode 100644 index 00000000000..ca45544cf4a --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/recommendations/item/impactedresources/removetag/RemoveTagPostRequestBody.java @@ -0,0 +1,124 @@ +package com.microsoft.graph.beta.directory.recommendations.item.impactedresources.removetag; + +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RemoveTagPostRequestBody implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link RemoveTagPostRequestBody} and sets the default values. + */ + public RemoveTagPostRequestBody() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link RemoveTagPostRequestBody} + */ + @jakarta.annotation.Nonnull + public static RemoveTagPostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new RemoveTagPostRequestBody(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * Gets the displayName property value. The displayName property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getDisplayName() { + return this.backingStore.get("displayName"); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(2); + deserializerMap.put("displayName", (n) -> { this.setDisplayName(n.getStringValue()); }); + deserializerMap.put("resourceIds", (n) -> { this.setResourceIds(n.getCollectionOfPrimitiveValues(String.class)); }); + return deserializerMap; + } + /** + * Gets the resourceIds property value. The resourceIds property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getResourceIds() { + return this.backingStore.get("resourceIds"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writeStringValue("displayName", this.getDisplayName()); + writer.writeCollectionOfPrimitiveValues("resourceIds", this.getResourceIds()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } + /** + * Sets the displayName property value. The displayName property + * @param value Value to set for the displayName property. + */ + public void setDisplayName(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("displayName", value); + } + /** + * Sets the resourceIds property value. The resourceIds property + * @param value Value to set for the resourceIds property. + */ + public void setResourceIds(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("resourceIds", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/recommendations/item/impactedresources/removetag/RemoveTagPostResponse.java b/src/main/java/com/microsoft/graph/beta/generated/directory/recommendations/item/impactedresources/removetag/RemoveTagPostResponse.java new file mode 100644 index 00000000000..a25848b592e --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/recommendations/item/impactedresources/removetag/RemoveTagPostResponse.java @@ -0,0 +1,63 @@ +package com.microsoft.graph.beta.directory.recommendations.item.impactedresources.removetag; + +import com.microsoft.graph.beta.models.BaseCollectionPaginationCountResponse; +import com.microsoft.graph.beta.models.ImpactedResource; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RemoveTagPostResponse extends BaseCollectionPaginationCountResponse implements Parsable { + /** + * Instantiates a new {@link RemoveTagPostResponse} and sets the default values. + */ + public RemoveTagPostResponse() { + super(); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link RemoveTagPostResponse} + */ + @jakarta.annotation.Nonnull + public static RemoveTagPostResponse createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new RemoveTagPostResponse(); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("value", (n) -> { this.setValue(n.getCollectionOfObjectValues(ImpactedResource::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the value property value. The value property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getValue() { + return this.backingStore.get("value"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeCollectionOfObjectValues("value", this.getValue()); + } + /** + * Sets the value property value. The value property + * @param value Value to set for the value property. + */ + public void setValue(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("value", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/recommendations/item/impactedresources/removetag/RemoveTagRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/recommendations/item/impactedresources/removetag/RemoveTagRequestBuilder.java new file mode 100644 index 00000000000..66b4f9c0f24 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/recommendations/item/impactedresources/removetag/RemoveTagRequestBuilder.java @@ -0,0 +1,102 @@ +package com.microsoft.graph.beta.directory.recommendations.item.impactedresources.removetag; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to call the removeTag method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RemoveTagRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link RemoveTagRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public RemoveTagRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/recommendations/{recommendation%2Did}/impactedResources/removeTag", pathParameters); + } + /** + * Instantiates a new {@link RemoveTagRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public RemoveTagRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/recommendations/{recommendation%2Did}/impactedResources/removeTag", rawUrl); + } + /** + * Invoke action removeTag + * @param body The request body + * @return a {@link RemoveTagPostResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public RemoveTagPostResponse post(@jakarta.annotation.Nonnull final RemoveTagPostRequestBody body) { + return post(body, null); + } + /** + * Invoke action removeTag + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RemoveTagPostResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public RemoveTagPostResponse post(@jakarta.annotation.Nonnull final RemoveTagPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, RemoveTagPostResponse::createFromDiscriminatorValue); + } + /** + * Invoke action removeTag + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RemoveTagPostRequestBody body) { + return toPostRequestInformation(body, null); + } + /** + * Invoke action removeTag + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RemoveTagPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); + 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. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link RemoveTagRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RemoveTagRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new RemoveTagRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PostRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/recommendations/item/markplanned/MarkPlannedRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/recommendations/item/markplanned/MarkPlannedRequestBuilder.java new file mode 100644 index 00000000000..b1bb106107a --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/recommendations/item/markplanned/MarkPlannedRequestBuilder.java @@ -0,0 +1,96 @@ +package com.microsoft.graph.beta.directory.recommendations.item.markplanned; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.graph.beta.models.Recommendation; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to call the markPlanned method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class MarkPlannedRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link MarkPlannedRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public MarkPlannedRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/recommendations/{recommendation%2Did}/markPlanned", pathParameters); + } + /** + * Instantiates a new {@link MarkPlannedRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public MarkPlannedRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/recommendations/{recommendation%2Did}/markPlanned", rawUrl); + } + /** + * Invoke action markPlanned + * @return a {@link Recommendation} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public Recommendation post() { + return post(null); + } + /** + * Invoke action markPlanned + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link Recommendation} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public Recommendation post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, Recommendation::createFromDiscriminatorValue); + } + /** + * Invoke action markPlanned + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation() { + return toPostRequestInformation(null); + } + /** + * Invoke action markPlanned + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); + 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. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link MarkPlannedRequestBuilder} + */ + @jakarta.annotation.Nonnull + public MarkPlannedRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new MarkPlannedRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PostRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/recommendations/item/removetag/RemoveTagPostRequestBody.java b/src/main/java/com/microsoft/graph/beta/generated/directory/recommendations/item/removetag/RemoveTagPostRequestBody.java new file mode 100644 index 00000000000..fbbbef1419e --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/recommendations/item/removetag/RemoveTagPostRequestBody.java @@ -0,0 +1,107 @@ +package com.microsoft.graph.beta.directory.recommendations.item.removetag; + +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RemoveTagPostRequestBody implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link RemoveTagPostRequestBody} and sets the default values. + */ + public RemoveTagPostRequestBody() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link RemoveTagPostRequestBody} + */ + @jakarta.annotation.Nonnull + public static RemoveTagPostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new RemoveTagPostRequestBody(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(1); + deserializerMap.put("tagId", (n) -> { this.setTagId(n.getStringValue()); }); + return deserializerMap; + } + /** + * Gets the tagId property value. The tagId property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getTagId() { + return this.backingStore.get("tagId"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writeStringValue("tagId", this.getTagId()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } + /** + * Sets the tagId property value. The tagId property + * @param value Value to set for the tagId property. + */ + public void setTagId(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("tagId", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/recommendations/item/removetag/RemoveTagRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/recommendations/item/removetag/RemoveTagRequestBuilder.java new file mode 100644 index 00000000000..3753a856d68 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/recommendations/item/removetag/RemoveTagRequestBuilder.java @@ -0,0 +1,103 @@ +package com.microsoft.graph.beta.directory.recommendations.item.removetag; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.graph.beta.models.Recommendation; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to call the removeTag method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RemoveTagRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link RemoveTagRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public RemoveTagRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/recommendations/{recommendation%2Did}/removeTag", pathParameters); + } + /** + * Instantiates a new {@link RemoveTagRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public RemoveTagRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/recommendations/{recommendation%2Did}/removeTag", rawUrl); + } + /** + * Invoke action removeTag + * @param body The request body + * @return a {@link Recommendation} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public Recommendation post(@jakarta.annotation.Nonnull final RemoveTagPostRequestBody body) { + return post(body, null); + } + /** + * Invoke action removeTag + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link Recommendation} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public Recommendation post(@jakarta.annotation.Nonnull final RemoveTagPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, Recommendation::createFromDiscriminatorValue); + } + /** + * Invoke action removeTag + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RemoveTagPostRequestBody body) { + return toPostRequestInformation(body, null); + } + /** + * Invoke action removeTag + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RemoveTagPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); + 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. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link RemoveTagRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RemoveTagRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new RemoveTagRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PostRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/recommendations/item/tags/TagsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/recommendations/item/tags/TagsRequestBuilder.java new file mode 100644 index 00000000000..7d7739fe159 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/recommendations/item/tags/TagsRequestBuilder.java @@ -0,0 +1,243 @@ +package com.microsoft.graph.beta.directory.recommendations.item.tags; + +import com.microsoft.graph.beta.directory.recommendations.item.tags.count.CountRequestBuilder; +import com.microsoft.graph.beta.directory.recommendations.item.tags.item.RecommendationTagItemRequestBuilder; +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.graph.beta.models.RecommendationTag; +import com.microsoft.graph.beta.models.RecommendationTagCollectionResponse; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to manage the tags property of the microsoft.graph.recommendationBase entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class TagsRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to count the resources in the collection. + * @return a {@link CountRequestBuilder} + */ + @jakarta.annotation.Nonnull + public CountRequestBuilder count() { + return new CountRequestBuilder(pathParameters, requestAdapter); + } + /** + * Provides operations to manage the tags property of the microsoft.graph.recommendationBase entity. + * @param recommendationTagId The unique identifier of recommendationTag + * @return a {@link RecommendationTagItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RecommendationTagItemRequestBuilder byRecommendationTagId(@jakarta.annotation.Nonnull final String recommendationTagId) { + Objects.requireNonNull(recommendationTagId); + final HashMap urlTplParams = new HashMap(this.pathParameters); + urlTplParams.put("recommendationTag%2Did", recommendationTagId); + return new RecommendationTagItemRequestBuilder(urlTplParams, requestAdapter); + } + /** + * Instantiates a new {@link TagsRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public TagsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/recommendations/{recommendation%2Did}/tags{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters); + } + /** + * Instantiates a new {@link TagsRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public TagsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/recommendations/{recommendation%2Did}/tags{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); + } + /** + * Get tags from directory + * @return a {@link RecommendationTagCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public RecommendationTagCollectionResponse get() { + return get(null); + } + /** + * Get tags from directory + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RecommendationTagCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public RecommendationTagCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, RecommendationTagCollectionResponse::createFromDiscriminatorValue); + } + /** + * Create new navigation property to tags for directory + * @param body The request body + * @return a {@link RecommendationTag} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public RecommendationTag post(@jakarta.annotation.Nonnull final RecommendationTag body) { + return post(body, null); + } + /** + * Create new navigation property to tags for directory + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RecommendationTag} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public RecommendationTag post(@jakarta.annotation.Nonnull final RecommendationTag body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, RecommendationTag::createFromDiscriminatorValue); + } + /** + * Get tags from directory + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get tags from directory + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Create new navigation property to tags for directory + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RecommendationTag body) { + return toPostRequestInformation(body, null); + } + /** + * Create new navigation property to tags for directory + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RecommendationTag body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); + 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. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link TagsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public TagsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new TagsRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get tags from directory + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Include count of items + */ + @jakarta.annotation.Nullable + public Boolean count; + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Filter items by property values + */ + @jakarta.annotation.Nullable + public String filter; + /** + * Order items by property values + */ + @jakarta.annotation.Nullable + public String[] orderby; + /** + * Search items by search phrases + */ + @jakarta.annotation.Nullable + public String search; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Skip the first n items + */ + @jakarta.annotation.Nullable + public Integer skip; + /** + * Show only the first n items + */ + @jakarta.annotation.Nullable + public Integer top; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24count", count); + allQueryParams.put("%24filter", filter); + allQueryParams.put("%24search", search); + allQueryParams.put("%24skip", skip); + allQueryParams.put("%24top", top); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24orderby", orderby); + allQueryParams.put("%24select", select); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PostRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/configurationmanagement/configurationsnapshots/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/recommendations/item/tags/count/CountRequestBuilder.java similarity index 94% rename from src/main/java/com/microsoft/graph/beta/generated/admin/configurationmanagement/configurationsnapshots/count/CountRequestBuilder.java rename to src/main/java/com/microsoft/graph/beta/generated/directory/recommendations/item/tags/count/CountRequestBuilder.java index 60d5b72b971..fcee9ea8ad5 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/admin/configurationmanagement/configurationsnapshots/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/recommendations/item/tags/count/CountRequestBuilder.java @@ -1,4 +1,4 @@ -package com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshots.count; +package com.microsoft.graph.beta.directory.recommendations.item.tags.count; import com.microsoft.graph.beta.models.odataerrors.ODataError; import com.microsoft.kiota.BaseRequestBuilder; @@ -25,7 +25,7 @@ public class CountRequestBuilder extends BaseRequestBuilder { * @param requestAdapter The request adapter to use to execute the requests. */ public CountRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { - super(requestAdapter, "{+baseurl}/admin/configurationManagement/configurationSnapshots/$count{?%24filter,%24search}", pathParameters); + super(requestAdapter, "{+baseurl}/directory/recommendations/{recommendation%2Did}/tags/$count{?%24filter,%24search}", pathParameters); } /** * Instantiates a new {@link CountRequestBuilder} and sets the default values. @@ -33,7 +33,7 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/recommendations/{recommendation%2Did}/tags/{recommendationTag%2Did}{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link RecommendationTagItemRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public RecommendationTagItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/recommendations/{recommendation%2Did}/tags/{recommendationTag%2Did}{?%24expand,%24select}", rawUrl); + } + /** + * Delete navigation property tags for directory + * @throws ODataError When receiving a 4XX or 5XX status code + */ + public void delete() { + delete(null); + } + /** + * Delete navigation property tags for directory + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @throws ODataError When receiving a 4XX or 5XX status code + */ + public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); + } + /** + * Get tags from directory + * @return a {@link RecommendationTag} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public RecommendationTag get() { + return get(null); + } + /** + * Get tags from directory + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RecommendationTag} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public RecommendationTag get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, RecommendationTag::createFromDiscriminatorValue); + } + /** + * Update the navigation property tags in directory + * @param body The request body + * @return a {@link RecommendationTag} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public RecommendationTag patch(@jakarta.annotation.Nonnull final RecommendationTag body) { + return patch(body, null); + } + /** + * Update the navigation property tags in directory + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RecommendationTag} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public RecommendationTag patch(@jakarta.annotation.Nonnull final RecommendationTag body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, RecommendationTag::createFromDiscriminatorValue); + } + /** + * Delete navigation property tags for directory + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toDeleteRequestInformation() { + return toDeleteRequestInformation(null); + } + /** + * Delete navigation property tags for directory + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Get tags from directory + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get tags from directory + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Update the navigation property tags in directory + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final RecommendationTag body) { + return toPatchRequestInformation(body, null); + } + /** + * Update the navigation property tags in directory + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final RecommendationTag body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new); + 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. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link RecommendationTagItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RecommendationTagItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new RecommendationTagItemRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class DeleteRequestConfiguration extends BaseRequestConfiguration { + } + /** + * Get tags from directory + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24select", select); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PatchRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/TenantGovernanceRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/TenantGovernanceRequestBuilder.java index 4ef68b6e7da..089118e7868 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/TenantGovernanceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/TenantGovernanceRequestBuilder.java @@ -7,7 +7,7 @@ import com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.RelatedTenantsRequestBuilder; import com.microsoft.graph.beta.directory.tenantgovernance.settings.SettingsRequestBuilder; import com.microsoft.graph.beta.models.odataerrors.ODataError; -import com.microsoft.graph.beta.models.tenantgovernanceservices.TenantGovernance; +import com.microsoft.graph.beta.models.TenantGovernance; import com.microsoft.kiota.BaseRequestBuilder; import com.microsoft.kiota.BaseRequestConfiguration; import com.microsoft.kiota.HttpMethod; @@ -27,7 +27,7 @@ @jakarta.annotation.Generated("com.microsoft.kiota") public class TenantGovernanceRequestBuilder extends BaseRequestBuilder { /** - * Provides operations to manage the governanceInvitations property of the microsoft.graph.tenantGovernanceServices.tenantGovernance entity. + * Provides operations to manage the governanceInvitations property of the microsoft.graph.tenantGovernance entity. * @return a {@link GovernanceInvitationsRequestBuilder} */ @jakarta.annotation.Nonnull @@ -35,7 +35,7 @@ public GovernanceInvitationsRequestBuilder governanceInvitations() { return new GovernanceInvitationsRequestBuilder(pathParameters, requestAdapter); } /** - * Provides operations to manage the governancePolicyTemplates property of the microsoft.graph.tenantGovernanceServices.tenantGovernance entity. + * Provides operations to manage the governancePolicyTemplates property of the microsoft.graph.tenantGovernance entity. * @return a {@link GovernancePolicyTemplatesRequestBuilder} */ @jakarta.annotation.Nonnull @@ -43,7 +43,7 @@ public GovernancePolicyTemplatesRequestBuilder governancePolicyTemplates() { return new GovernancePolicyTemplatesRequestBuilder(pathParameters, requestAdapter); } /** - * Provides operations to manage the governanceRelationships property of the microsoft.graph.tenantGovernanceServices.tenantGovernance entity. + * Provides operations to manage the governanceRelationships property of the microsoft.graph.tenantGovernance entity. * @return a {@link GovernanceRelationshipsRequestBuilder} */ @jakarta.annotation.Nonnull @@ -51,7 +51,7 @@ public GovernanceRelationshipsRequestBuilder governanceRelationships() { return new GovernanceRelationshipsRequestBuilder(pathParameters, requestAdapter); } /** - * Provides operations to manage the governanceRequests property of the microsoft.graph.tenantGovernanceServices.tenantGovernance entity. + * Provides operations to manage the governanceRequests property of the microsoft.graph.tenantGovernance entity. * @return a {@link GovernanceRequestsRequestBuilder} */ @jakarta.annotation.Nonnull @@ -59,7 +59,7 @@ public GovernanceRequestsRequestBuilder governanceRequests() { return new GovernanceRequestsRequestBuilder(pathParameters, requestAdapter); } /** - * Provides operations to manage the relatedTenants property of the microsoft.graph.tenantGovernanceServices.tenantGovernance entity. + * Provides operations to manage the relatedTenants property of the microsoft.graph.tenantGovernance entity. * @return a {@link RelatedTenantsRequestBuilder} */ @jakarta.annotation.Nonnull @@ -67,7 +67,7 @@ public RelatedTenantsRequestBuilder relatedTenants() { return new RelatedTenantsRequestBuilder(pathParameters, requestAdapter); } /** - * Provides operations to manage the settings property of the microsoft.graph.tenantGovernanceServices.tenantGovernance entity. + * Provides operations to manage the settings property of the microsoft.graph.tenantGovernance entity. * @return a {@link SettingsRequestBuilder} */ @jakarta.annotation.Nonnull diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/governanceinvitations/GovernanceInvitationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/governanceinvitations/GovernanceInvitationsRequestBuilder.java index 9a990d7d572..de55bcd7775 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/governanceinvitations/GovernanceInvitationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/governanceinvitations/GovernanceInvitationsRequestBuilder.java @@ -2,9 +2,9 @@ import com.microsoft.graph.beta.directory.tenantgovernance.governanceinvitations.count.CountRequestBuilder; import com.microsoft.graph.beta.directory.tenantgovernance.governanceinvitations.item.GovernanceInvitationItemRequestBuilder; +import com.microsoft.graph.beta.models.GovernanceInvitation; +import com.microsoft.graph.beta.models.GovernanceInvitationCollectionResponse; import com.microsoft.graph.beta.models.odataerrors.ODataError; -import com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceInvitation; -import com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceInvitationCollectionResponse; import com.microsoft.kiota.BaseRequestBuilder; import com.microsoft.kiota.BaseRequestConfiguration; import com.microsoft.kiota.HttpMethod; @@ -19,7 +19,7 @@ import java.util.Map; import java.util.Objects; /** - * Provides operations to manage the governanceInvitations property of the microsoft.graph.tenantGovernanceServices.tenantGovernance entity. + * Provides operations to manage the governanceInvitations property of the microsoft.graph.tenantGovernance entity. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GovernanceInvitationsRequestBuilder extends BaseRequestBuilder { @@ -32,7 +32,7 @@ public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); } /** - * Provides operations to manage the governanceInvitations property of the microsoft.graph.tenantGovernanceServices.tenantGovernance entity. + * Provides operations to manage the governanceInvitations property of the microsoft.graph.tenantGovernance entity. * @param governanceInvitationId The unique identifier of governanceInvitation * @return a {@link GovernanceInvitationItemRequestBuilder} */ diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/governanceinvitations/item/GovernanceInvitationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/governanceinvitations/item/GovernanceInvitationItemRequestBuilder.java index 2603ddd13a3..15fad9c5511 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/governanceinvitations/item/GovernanceInvitationItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/governanceinvitations/item/GovernanceInvitationItemRequestBuilder.java @@ -1,7 +1,7 @@ package com.microsoft.graph.beta.directory.tenantgovernance.governanceinvitations.item; +import com.microsoft.graph.beta.models.GovernanceInvitation; import com.microsoft.graph.beta.models.odataerrors.ODataError; -import com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceInvitation; import com.microsoft.kiota.BaseRequestBuilder; import com.microsoft.kiota.BaseRequestConfiguration; import com.microsoft.kiota.HttpMethod; @@ -16,7 +16,7 @@ import java.util.Map; import java.util.Objects; /** - * Provides operations to manage the governanceInvitations property of the microsoft.graph.tenantGovernanceServices.tenantGovernance entity. + * Provides operations to manage the governanceInvitations property of the microsoft.graph.tenantGovernance entity. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GovernanceInvitationItemRequestBuilder extends BaseRequestBuilder { diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/governancepolicytemplates/GovernancePolicyTemplatesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/governancepolicytemplates/GovernancePolicyTemplatesRequestBuilder.java index 762ab6b1e5a..613e943bdd2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/governancepolicytemplates/GovernancePolicyTemplatesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/governancepolicytemplates/GovernancePolicyTemplatesRequestBuilder.java @@ -1,10 +1,10 @@ package com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates; import com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.count.CountRequestBuilder; -import com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.item.GovernancePolicyTemplateItemRequestBuilder; +import com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.item.TenantGovernancePolicyTemplateItemRequestBuilder; import com.microsoft.graph.beta.models.odataerrors.ODataError; -import com.microsoft.graph.beta.models.tenantgovernanceservices.GovernancePolicyTemplate; -import com.microsoft.graph.beta.models.tenantgovernanceservices.GovernancePolicyTemplateCollectionResponse; +import com.microsoft.graph.beta.models.TenantGovernancePolicyTemplate; +import com.microsoft.graph.beta.models.TenantGovernancePolicyTemplateCollectionResponse; import com.microsoft.kiota.BaseRequestBuilder; import com.microsoft.kiota.BaseRequestConfiguration; import com.microsoft.kiota.HttpMethod; @@ -19,7 +19,7 @@ import java.util.Map; import java.util.Objects; /** - * Provides operations to manage the governancePolicyTemplates property of the microsoft.graph.tenantGovernanceServices.tenantGovernance entity. + * Provides operations to manage the governancePolicyTemplates property of the microsoft.graph.tenantGovernance entity. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GovernancePolicyTemplatesRequestBuilder extends BaseRequestBuilder { @@ -32,16 +32,16 @@ public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); } /** - * Provides operations to manage the governancePolicyTemplates property of the microsoft.graph.tenantGovernanceServices.tenantGovernance entity. - * @param governancePolicyTemplateId The unique identifier of governancePolicyTemplate - * @return a {@link GovernancePolicyTemplateItemRequestBuilder} + * Provides operations to manage the governancePolicyTemplates property of the microsoft.graph.tenantGovernance entity. + * @param tenantGovernancePolicyTemplateId The unique identifier of tenantGovernancePolicyTemplate + * @return a {@link TenantGovernancePolicyTemplateItemRequestBuilder} */ @jakarta.annotation.Nonnull - public GovernancePolicyTemplateItemRequestBuilder byGovernancePolicyTemplateId(@jakarta.annotation.Nonnull final String governancePolicyTemplateId) { - Objects.requireNonNull(governancePolicyTemplateId); + public TenantGovernancePolicyTemplateItemRequestBuilder byTenantGovernancePolicyTemplateId(@jakarta.annotation.Nonnull final String tenantGovernancePolicyTemplateId) { + Objects.requireNonNull(tenantGovernancePolicyTemplateId); final HashMap urlTplParams = new HashMap(this.pathParameters); - urlTplParams.put("governancePolicyTemplate%2Did", governancePolicyTemplateId); - return new GovernancePolicyTemplateItemRequestBuilder(urlTplParams, requestAdapter); + urlTplParams.put("tenantGovernancePolicyTemplate%2Did", tenantGovernancePolicyTemplateId); + return new TenantGovernancePolicyTemplateItemRequestBuilder(urlTplParams, requestAdapter); } /** * Instantiates a new {@link GovernancePolicyTemplatesRequestBuilder} and sets the default values. @@ -61,54 +61,54 @@ public GovernancePolicyTemplatesRequestBuilder(@jakarta.annotation.Nonnull final } /** * Get a list of the governancePolicyTemplate objects and their properties. Policy templates define the configuration that is applied when establishing governance relationships. - * @return a {@link GovernancePolicyTemplateCollectionResponse} + * @return a {@link TenantGovernancePolicyTemplateCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here */ @jakarta.annotation.Nullable - public GovernancePolicyTemplateCollectionResponse get() { + public TenantGovernancePolicyTemplateCollectionResponse get() { return get(null); } /** * Get a list of the governancePolicyTemplate objects and their properties. Policy templates define the configuration that is applied when establishing governance relationships. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return a {@link GovernancePolicyTemplateCollectionResponse} + * @return a {@link TenantGovernancePolicyTemplateCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here */ @jakarta.annotation.Nullable - public GovernancePolicyTemplateCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + public TenantGovernancePolicyTemplateCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); - return this.requestAdapter.send(requestInfo, errorMapping, GovernancePolicyTemplateCollectionResponse::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, TenantGovernancePolicyTemplateCollectionResponse::createFromDiscriminatorValue); } /** * Create a new governancePolicyTemplate that defines the configuration for establishing governance relationships, including role assignments and applications to provision. * @param body The request body - * @return a {@link GovernancePolicyTemplate} + * @return a {@link TenantGovernancePolicyTemplate} * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here */ @jakarta.annotation.Nullable - public GovernancePolicyTemplate post(@jakarta.annotation.Nonnull final GovernancePolicyTemplate body) { + public TenantGovernancePolicyTemplate post(@jakarta.annotation.Nonnull final TenantGovernancePolicyTemplate body) { return post(body, null); } /** * Create a new governancePolicyTemplate that defines the configuration for establishing governance relationships, including role assignments and applications to provision. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return a {@link GovernancePolicyTemplate} + * @return a {@link TenantGovernancePolicyTemplate} * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here */ @jakarta.annotation.Nullable - public GovernancePolicyTemplate post(@jakarta.annotation.Nonnull final GovernancePolicyTemplate body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + public TenantGovernancePolicyTemplate post(@jakarta.annotation.Nonnull final TenantGovernancePolicyTemplate body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); final HashMap> errorMapping = new HashMap>(); errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); - return this.requestAdapter.send(requestInfo, errorMapping, GovernancePolicyTemplate::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, TenantGovernancePolicyTemplate::createFromDiscriminatorValue); } /** * Get a list of the governancePolicyTemplate objects and their properties. Policy templates define the configuration that is applied when establishing governance relationships. @@ -136,7 +136,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull - public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GovernancePolicyTemplate body) { + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final TenantGovernancePolicyTemplate body) { return toPostRequestInformation(body, null); } /** @@ -146,7 +146,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull - public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GovernancePolicyTemplate body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final TenantGovernancePolicyTemplate body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/governancepolicytemplates/item/GovernancePolicyTemplateItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/governancepolicytemplates/item/TenantGovernancePolicyTemplateItemRequestBuilder.java similarity index 81% rename from src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/governancepolicytemplates/item/GovernancePolicyTemplateItemRequestBuilder.java rename to src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/governancepolicytemplates/item/TenantGovernancePolicyTemplateItemRequestBuilder.java index b63626d1a65..7e6632a32f6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/governancepolicytemplates/item/GovernancePolicyTemplateItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/governancepolicytemplates/item/TenantGovernancePolicyTemplateItemRequestBuilder.java @@ -1,7 +1,7 @@ package com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.item; import com.microsoft.graph.beta.models.odataerrors.ODataError; -import com.microsoft.graph.beta.models.tenantgovernanceservices.GovernancePolicyTemplate; +import com.microsoft.graph.beta.models.TenantGovernancePolicyTemplate; import com.microsoft.kiota.BaseRequestBuilder; import com.microsoft.kiota.BaseRequestConfiguration; import com.microsoft.kiota.HttpMethod; @@ -16,25 +16,25 @@ import java.util.Map; import java.util.Objects; /** - * Provides operations to manage the governancePolicyTemplates property of the microsoft.graph.tenantGovernanceServices.tenantGovernance entity. + * Provides operations to manage the governancePolicyTemplates property of the microsoft.graph.tenantGovernance entity. */ @jakarta.annotation.Generated("com.microsoft.kiota") -public class GovernancePolicyTemplateItemRequestBuilder extends BaseRequestBuilder { +public class TenantGovernancePolicyTemplateItemRequestBuilder extends BaseRequestBuilder { /** - * Instantiates a new {@link GovernancePolicyTemplateItemRequestBuilder} and sets the default values. + * Instantiates a new {@link TenantGovernancePolicyTemplateItemRequestBuilder} and sets the default values. * @param pathParameters Path parameters for the request * @param requestAdapter The request adapter to use to execute the requests. */ - public GovernancePolicyTemplateItemRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { - super(requestAdapter, "{+baseurl}/directory/tenantGovernance/governancePolicyTemplates/{governancePolicyTemplate%2Did}{?%24expand,%24select}", pathParameters); + public TenantGovernancePolicyTemplateItemRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/tenantGovernance/governancePolicyTemplates/{tenantGovernancePolicyTemplate%2Did}{?%24expand,%24select}", pathParameters); } /** - * Instantiates a new {@link GovernancePolicyTemplateItemRequestBuilder} and sets the default values. + * Instantiates a new {@link TenantGovernancePolicyTemplateItemRequestBuilder} and sets the default values. * @param rawUrl The raw URL to use for the request builder. * @param requestAdapter The request adapter to use to execute the requests. */ - public GovernancePolicyTemplateItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { - super(requestAdapter, "{+baseurl}/directory/tenantGovernance/governancePolicyTemplates/{governancePolicyTemplate%2Did}{?%24expand,%24select}", rawUrl); + public TenantGovernancePolicyTemplateItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/tenantGovernance/governancePolicyTemplates/{tenantGovernancePolicyTemplate%2Did}{?%24expand,%24select}", rawUrl); } /** * Delete a governancePolicyTemplate object. You can't delete the default template or templates currently used by active relationships. @@ -58,54 +58,54 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume } /** * Read the properties of a governancePolicyTemplate object. - * @return a {@link GovernancePolicyTemplate} + * @return a {@link TenantGovernancePolicyTemplate} * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here */ @jakarta.annotation.Nullable - public GovernancePolicyTemplate get() { + public TenantGovernancePolicyTemplate get() { return get(null); } /** * Read the properties of a governancePolicyTemplate object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return a {@link GovernancePolicyTemplate} + * @return a {@link TenantGovernancePolicyTemplate} * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here */ @jakarta.annotation.Nullable - public GovernancePolicyTemplate get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + public TenantGovernancePolicyTemplate get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); - return this.requestAdapter.send(requestInfo, errorMapping, GovernancePolicyTemplate::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, TenantGovernancePolicyTemplate::createFromDiscriminatorValue); } /** * Update the properties of a governancePolicyTemplate object. * @param body The request body - * @return a {@link GovernancePolicyTemplate} + * @return a {@link TenantGovernancePolicyTemplate} * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here */ @jakarta.annotation.Nullable - public GovernancePolicyTemplate patch(@jakarta.annotation.Nonnull final GovernancePolicyTemplate body) { + public TenantGovernancePolicyTemplate patch(@jakarta.annotation.Nonnull final TenantGovernancePolicyTemplate body) { return patch(body, null); } /** * Update the properties of a governancePolicyTemplate object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return a {@link GovernancePolicyTemplate} + * @return a {@link TenantGovernancePolicyTemplate} * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here */ @jakarta.annotation.Nullable - public GovernancePolicyTemplate patch(@jakarta.annotation.Nonnull final GovernancePolicyTemplate body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + public TenantGovernancePolicyTemplate patch(@jakarta.annotation.Nonnull final TenantGovernancePolicyTemplate body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); final HashMap> errorMapping = new HashMap>(); errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); - return this.requestAdapter.send(requestInfo, errorMapping, GovernancePolicyTemplate::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, TenantGovernancePolicyTemplate::createFromDiscriminatorValue); } /** * Delete a governancePolicyTemplate object. You can't delete the default template or templates currently used by active relationships. @@ -153,7 +153,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull - public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final GovernancePolicyTemplate body) { + public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final TenantGovernancePolicyTemplate body) { return toPatchRequestInformation(body, null); } /** @@ -163,7 +163,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull - public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final GovernancePolicyTemplate body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final TenantGovernancePolicyTemplate body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new); @@ -174,12 +174,12 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull /** * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. - * @return a {@link GovernancePolicyTemplateItemRequestBuilder} + * @return a {@link TenantGovernancePolicyTemplateItemRequestBuilder} */ @jakarta.annotation.Nonnull - public GovernancePolicyTemplateItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + public TenantGovernancePolicyTemplateItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); - return new GovernancePolicyTemplateItemRequestBuilder(rawUrl, requestAdapter); + return new TenantGovernancePolicyTemplateItemRequestBuilder(rawUrl, requestAdapter); } /** * Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/governancerelationships/GovernanceRelationshipsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/governancerelationships/GovernanceRelationshipsRequestBuilder.java index b9f06e05509..88272beecbf 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/governancerelationships/GovernanceRelationshipsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/governancerelationships/GovernanceRelationshipsRequestBuilder.java @@ -2,9 +2,9 @@ import com.microsoft.graph.beta.directory.tenantgovernance.governancerelationships.count.CountRequestBuilder; import com.microsoft.graph.beta.directory.tenantgovernance.governancerelationships.item.GovernanceRelationshipItemRequestBuilder; +import com.microsoft.graph.beta.models.GovernanceRelationship; +import com.microsoft.graph.beta.models.GovernanceRelationshipCollectionResponse; import com.microsoft.graph.beta.models.odataerrors.ODataError; -import com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRelationship; -import com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRelationshipCollectionResponse; import com.microsoft.kiota.BaseRequestBuilder; import com.microsoft.kiota.BaseRequestConfiguration; import com.microsoft.kiota.HttpMethod; @@ -19,7 +19,7 @@ import java.util.Map; import java.util.Objects; /** - * Provides operations to manage the governanceRelationships property of the microsoft.graph.tenantGovernanceServices.tenantGovernance entity. + * Provides operations to manage the governanceRelationships property of the microsoft.graph.tenantGovernance entity. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GovernanceRelationshipsRequestBuilder extends BaseRequestBuilder { @@ -32,7 +32,7 @@ public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); } /** - * Provides operations to manage the governanceRelationships property of the microsoft.graph.tenantGovernanceServices.tenantGovernance entity. + * Provides operations to manage the governanceRelationships property of the microsoft.graph.tenantGovernance entity. * @param governanceRelationshipId The unique identifier of governanceRelationship * @return a {@link GovernanceRelationshipItemRequestBuilder} */ diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/governancerelationships/item/GovernanceRelationshipItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/governancerelationships/item/GovernanceRelationshipItemRequestBuilder.java index 9ce09da0e9b..d7e166b42c5 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/governancerelationships/item/GovernanceRelationshipItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/governancerelationships/item/GovernanceRelationshipItemRequestBuilder.java @@ -1,7 +1,7 @@ package com.microsoft.graph.beta.directory.tenantgovernance.governancerelationships.item; +import com.microsoft.graph.beta.models.GovernanceRelationship; import com.microsoft.graph.beta.models.odataerrors.ODataError; -import com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRelationship; import com.microsoft.kiota.BaseRequestBuilder; import com.microsoft.kiota.BaseRequestConfiguration; import com.microsoft.kiota.HttpMethod; @@ -16,7 +16,7 @@ import java.util.Map; import java.util.Objects; /** - * Provides operations to manage the governanceRelationships property of the microsoft.graph.tenantGovernanceServices.tenantGovernance entity. + * Provides operations to manage the governanceRelationships property of the microsoft.graph.tenantGovernance entity. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GovernanceRelationshipItemRequestBuilder extends BaseRequestBuilder { diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/governancerequests/GovernanceRequestsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/governancerequests/GovernanceRequestsRequestBuilder.java index 17dd8c0c8df..7b54d652e0c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/governancerequests/GovernanceRequestsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/governancerequests/GovernanceRequestsRequestBuilder.java @@ -2,9 +2,9 @@ import com.microsoft.graph.beta.directory.tenantgovernance.governancerequests.count.CountRequestBuilder; import com.microsoft.graph.beta.directory.tenantgovernance.governancerequests.item.GovernanceRequestItemRequestBuilder; +import com.microsoft.graph.beta.models.GovernanceRequest; +import com.microsoft.graph.beta.models.GovernanceRequestCollectionResponse; import com.microsoft.graph.beta.models.odataerrors.ODataError; -import com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRequest; -import com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRequestCollectionResponse; import com.microsoft.kiota.BaseRequestBuilder; import com.microsoft.kiota.BaseRequestConfiguration; import com.microsoft.kiota.HttpMethod; @@ -19,7 +19,7 @@ import java.util.Map; import java.util.Objects; /** - * Provides operations to manage the governanceRequests property of the microsoft.graph.tenantGovernanceServices.tenantGovernance entity. + * Provides operations to manage the governanceRequests property of the microsoft.graph.tenantGovernance entity. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GovernanceRequestsRequestBuilder extends BaseRequestBuilder { @@ -32,7 +32,7 @@ public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); } /** - * Provides operations to manage the governanceRequests property of the microsoft.graph.tenantGovernanceServices.tenantGovernance entity. + * Provides operations to manage the governanceRequests property of the microsoft.graph.tenantGovernance entity. * @param governanceRequestId The unique identifier of governanceRequest * @return a {@link GovernanceRequestItemRequestBuilder} */ diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/governancerequests/item/GovernanceRequestItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/governancerequests/item/GovernanceRequestItemRequestBuilder.java index 9dcdae2b471..e40ed69c5d7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/governancerequests/item/GovernanceRequestItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/governancerequests/item/GovernanceRequestItemRequestBuilder.java @@ -1,8 +1,8 @@ package com.microsoft.graph.beta.directory.tenantgovernance.governancerequests.item; import com.microsoft.graph.beta.directory.tenantgovernance.governancerequests.item.governancepolicytemplate.GovernancePolicyTemplateRequestBuilder; +import com.microsoft.graph.beta.models.GovernanceRequest; import com.microsoft.graph.beta.models.odataerrors.ODataError; -import com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRequest; import com.microsoft.kiota.BaseRequestBuilder; import com.microsoft.kiota.BaseRequestConfiguration; import com.microsoft.kiota.HttpMethod; @@ -17,12 +17,12 @@ import java.util.Map; import java.util.Objects; /** - * Provides operations to manage the governanceRequests property of the microsoft.graph.tenantGovernanceServices.tenantGovernance entity. + * Provides operations to manage the governanceRequests property of the microsoft.graph.tenantGovernance entity. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GovernanceRequestItemRequestBuilder extends BaseRequestBuilder { /** - * Provides operations to manage the governancePolicyTemplate property of the microsoft.graph.tenantGovernanceServices.governanceRequest entity. + * Provides operations to manage the governancePolicyTemplate property of the microsoft.graph.governanceRequest entity. * @return a {@link GovernancePolicyTemplateRequestBuilder} */ @jakarta.annotation.Nonnull diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/governancerequests/item/governancepolicytemplate/GovernancePolicyTemplateRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/governancerequests/item/governancepolicytemplate/GovernancePolicyTemplateRequestBuilder.java index fa5c04dabd6..c03a9655357 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/governancerequests/item/governancepolicytemplate/GovernancePolicyTemplateRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/governancerequests/item/governancepolicytemplate/GovernancePolicyTemplateRequestBuilder.java @@ -1,7 +1,7 @@ package com.microsoft.graph.beta.directory.tenantgovernance.governancerequests.item.governancepolicytemplate; import com.microsoft.graph.beta.models.odataerrors.ODataError; -import com.microsoft.graph.beta.models.tenantgovernanceservices.GovernancePolicyTemplate; +import com.microsoft.graph.beta.models.TenantGovernancePolicyTemplate; import com.microsoft.kiota.BaseRequestBuilder; import com.microsoft.kiota.BaseRequestConfiguration; import com.microsoft.kiota.HttpMethod; @@ -16,7 +16,7 @@ import java.util.Map; import java.util.Objects; /** - * Provides operations to manage the governancePolicyTemplate property of the microsoft.graph.tenantGovernanceServices.governanceRequest entity. + * Provides operations to manage the governancePolicyTemplate property of the microsoft.graph.governanceRequest entity. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GovernancePolicyTemplateRequestBuilder extends BaseRequestBuilder { @@ -37,29 +37,29 @@ public GovernancePolicyTemplateRequestBuilder(@jakarta.annotation.Nonnull final super(requestAdapter, "{+baseurl}/directory/tenantGovernance/governanceRequests/{governanceRequest%2Did}/governancePolicyTemplate{?%24expand,%24select}", rawUrl); } /** - * The governance policy template associated with this request. - * @return a {@link GovernancePolicyTemplate} + * Get governancePolicyTemplate from directory + * @return a {@link TenantGovernancePolicyTemplate} * @throws ODataError When receiving a 4XX or 5XX status code */ @jakarta.annotation.Nullable - public GovernancePolicyTemplate get() { + public TenantGovernancePolicyTemplate get() { return get(null); } /** - * The governance policy template associated with this request. + * Get governancePolicyTemplate from directory * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return a {@link GovernancePolicyTemplate} + * @return a {@link TenantGovernancePolicyTemplate} * @throws ODataError When receiving a 4XX or 5XX status code */ @jakarta.annotation.Nullable - public GovernancePolicyTemplate get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + public TenantGovernancePolicyTemplate get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); - return this.requestAdapter.send(requestInfo, errorMapping, GovernancePolicyTemplate::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, TenantGovernancePolicyTemplate::createFromDiscriminatorValue); } /** - * The governance policy template associated with this request. + * Get governancePolicyTemplate from directory * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -67,7 +67,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * The governance policy template associated with this request. + * Get governancePolicyTemplate from directory * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -89,7 +89,7 @@ public GovernancePolicyTemplateRequestBuilder withUrl(@jakarta.annotation.Nonnul return new GovernancePolicyTemplateRequestBuilder(rawUrl, requestAdapter); } /** - * The governance policy template associated with this request. + * Get governancePolicyTemplate from directory */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/relatedtenants/RelatedTenantsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/relatedtenants/RelatedTenantsRequestBuilder.java index 331057a0231..879ba7937ed 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/relatedtenants/RelatedTenantsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/relatedtenants/RelatedTenantsRequestBuilder.java @@ -2,11 +2,11 @@ import com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.count.CountRequestBuilder; import com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item.RelatedTenantItemRequestBuilder; -import com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.microsoftgraphtenantgovernanceservicesrefresh.MicrosoftGraphTenantGovernanceServicesRefreshRequestBuilder; -import com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.microsoftgraphtenantgovernanceservicesrefreshstatus.MicrosoftGraphTenantGovernanceServicesRefreshStatusRequestBuilder; +import com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.refresh.RefreshRequestBuilder; +import com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.refreshstatus.RefreshStatusRequestBuilder; import com.microsoft.graph.beta.models.odataerrors.ODataError; -import com.microsoft.graph.beta.models.tenantgovernanceservices.RelatedTenant; -import com.microsoft.graph.beta.models.tenantgovernanceservices.RelatedTenantCollectionResponse; +import com.microsoft.graph.beta.models.RelatedTenant; +import com.microsoft.graph.beta.models.RelatedTenantCollectionResponse; import com.microsoft.kiota.BaseRequestBuilder; import com.microsoft.kiota.BaseRequestConfiguration; import com.microsoft.kiota.HttpMethod; @@ -21,7 +21,7 @@ import java.util.Map; import java.util.Objects; /** - * Provides operations to manage the relatedTenants property of the microsoft.graph.tenantGovernanceServices.tenantGovernance entity. + * Provides operations to manage the relatedTenants property of the microsoft.graph.tenantGovernance entity. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class RelatedTenantsRequestBuilder extends BaseRequestBuilder { @@ -35,22 +35,22 @@ public CountRequestBuilder count() { } /** * Provides operations to call the refresh method. - * @return a {@link MicrosoftGraphTenantGovernanceServicesRefreshRequestBuilder} + * @return a {@link RefreshRequestBuilder} */ @jakarta.annotation.Nonnull - public MicrosoftGraphTenantGovernanceServicesRefreshRequestBuilder microsoftGraphTenantGovernanceServicesRefresh() { - return new MicrosoftGraphTenantGovernanceServicesRefreshRequestBuilder(pathParameters, requestAdapter); + public RefreshRequestBuilder refresh() { + return new RefreshRequestBuilder(pathParameters, requestAdapter); } /** * Provides operations to call the refreshStatus method. - * @return a {@link MicrosoftGraphTenantGovernanceServicesRefreshStatusRequestBuilder} + * @return a {@link RefreshStatusRequestBuilder} */ @jakarta.annotation.Nonnull - public MicrosoftGraphTenantGovernanceServicesRefreshStatusRequestBuilder microsoftGraphTenantGovernanceServicesRefreshStatus() { - return new MicrosoftGraphTenantGovernanceServicesRefreshStatusRequestBuilder(pathParameters, requestAdapter); + public RefreshStatusRequestBuilder refreshStatus() { + return new RefreshStatusRequestBuilder(pathParameters, requestAdapter); } /** - * Provides operations to manage the relatedTenants property of the microsoft.graph.tenantGovernanceServices.tenantGovernance entity. + * Provides operations to manage the relatedTenants property of the microsoft.graph.tenantGovernance entity. * @param relatedTenantId The unique identifier of relatedTenant * @return a {@link RelatedTenantItemRequestBuilder} */ diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/relatedtenants/item/RelatedTenantItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/relatedtenants/item/RelatedTenantItemRequestBuilder.java index c58f2246983..02b4461f19b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/relatedtenants/item/RelatedTenantItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/relatedtenants/item/RelatedTenantItemRequestBuilder.java @@ -6,7 +6,7 @@ import com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item.billingmetrics.BillingMetricsRequestBuilder; import com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item.multitenantapplicationmetrics.MultiTenantApplicationMetricsRequestBuilder; import com.microsoft.graph.beta.models.odataerrors.ODataError; -import com.microsoft.graph.beta.models.tenantgovernanceservices.RelatedTenant; +import com.microsoft.graph.beta.models.RelatedTenant; import com.microsoft.kiota.BaseRequestBuilder; import com.microsoft.kiota.BaseRequestConfiguration; import com.microsoft.kiota.HttpMethod; @@ -21,12 +21,12 @@ import java.util.Map; import java.util.Objects; /** - * Provides operations to manage the relatedTenants property of the microsoft.graph.tenantGovernanceServices.tenantGovernance entity. + * Provides operations to manage the relatedTenants property of the microsoft.graph.tenantGovernance entity. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class RelatedTenantItemRequestBuilder extends BaseRequestBuilder { /** - * Provides operations to manage the appB2BSignInActivityMetrics property of the microsoft.graph.tenantGovernanceServices.relatedTenant entity. + * Provides operations to manage the appB2BSignInActivityMetrics property of the microsoft.graph.relatedTenant entity. * @return a {@link AppB2BSignInActivityMetricsRequestBuilder} */ @jakarta.annotation.Nonnull @@ -34,7 +34,7 @@ public AppB2BSignInActivityMetricsRequestBuilder appB2BSignInActivityMetrics() { return new AppB2BSignInActivityMetricsRequestBuilder(pathParameters, requestAdapter); } /** - * Provides operations to manage the b2BRegistrationMetrics property of the microsoft.graph.tenantGovernanceServices.relatedTenant entity. + * Provides operations to manage the b2BRegistrationMetrics property of the microsoft.graph.relatedTenant entity. * @return a {@link B2BRegistrationMetricsRequestBuilder} */ @jakarta.annotation.Nonnull @@ -42,7 +42,7 @@ public B2BRegistrationMetricsRequestBuilder b2BRegistrationMetrics() { return new B2BRegistrationMetricsRequestBuilder(pathParameters, requestAdapter); } /** - * Provides operations to manage the b2BSignInActivityMetrics property of the microsoft.graph.tenantGovernanceServices.relatedTenant entity. + * Provides operations to manage the b2BSignInActivityMetrics property of the microsoft.graph.relatedTenant entity. * @return a {@link B2BSignInActivityMetricsRequestBuilder} */ @jakarta.annotation.Nonnull @@ -50,7 +50,7 @@ public B2BSignInActivityMetricsRequestBuilder b2BSignInActivityMetrics() { return new B2BSignInActivityMetricsRequestBuilder(pathParameters, requestAdapter); } /** - * Provides operations to manage the billingMetrics property of the microsoft.graph.tenantGovernanceServices.relatedTenant entity. + * Provides operations to manage the billingMetrics property of the microsoft.graph.relatedTenant entity. * @return a {@link BillingMetricsRequestBuilder} */ @jakarta.annotation.Nonnull @@ -58,7 +58,7 @@ public BillingMetricsRequestBuilder billingMetrics() { return new BillingMetricsRequestBuilder(pathParameters, requestAdapter); } /** - * Provides operations to manage the multiTenantApplicationMetrics property of the microsoft.graph.tenantGovernanceServices.relatedTenant entity. + * Provides operations to manage the multiTenantApplicationMetrics property of the microsoft.graph.relatedTenant entity. * @return a {@link MultiTenantApplicationMetricsRequestBuilder} */ @jakarta.annotation.Nonnull diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/relatedtenants/item/appb2bsigninactivitymetrics/AppB2BSignInActivityMetricsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/relatedtenants/item/appb2bsigninactivitymetrics/AppB2BSignInActivityMetricsRequestBuilder.java index dbd3ebefd6f..e762f71ef88 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/relatedtenants/item/appb2bsigninactivitymetrics/AppB2BSignInActivityMetricsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/relatedtenants/item/appb2bsigninactivitymetrics/AppB2BSignInActivityMetricsRequestBuilder.java @@ -1,7 +1,7 @@ package com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item.appb2bsigninactivitymetrics; +import com.microsoft.graph.beta.models.B2BSignInActivityMetrics; import com.microsoft.graph.beta.models.odataerrors.ODataError; -import com.microsoft.graph.beta.models.tenantgovernanceservices.B2BSignInActivityMetrics; import com.microsoft.kiota.BaseRequestBuilder; import com.microsoft.kiota.BaseRequestConfiguration; import com.microsoft.kiota.HttpMethod; @@ -16,7 +16,7 @@ import java.util.Map; import java.util.Objects; /** - * Provides operations to manage the appB2BSignInActivityMetrics property of the microsoft.graph.tenantGovernanceServices.relatedTenant entity. + * Provides operations to manage the appB2BSignInActivityMetrics property of the microsoft.graph.relatedTenant entity. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class AppB2BSignInActivityMetricsRequestBuilder extends BaseRequestBuilder { @@ -37,7 +37,7 @@ public AppB2BSignInActivityMetricsRequestBuilder(@jakarta.annotation.Nonnull fin super(requestAdapter, "{+baseurl}/directory/tenantGovernance/relatedTenants/{relatedTenant%2Did}/appB2BSignInActivityMetrics{?%24expand,%24select}", rawUrl); } /** - * B2B sign-in activity metrics for this related tenant. Expanded by default. + * Get appB2BSignInActivityMetrics from directory * @return a {@link B2BSignInActivityMetrics} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -46,7 +46,7 @@ public B2BSignInActivityMetrics get() { return get(null); } /** - * B2B sign-in activity metrics for this related tenant. Expanded by default. + * Get appB2BSignInActivityMetrics from directory * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link B2BSignInActivityMetrics} * @throws ODataError When receiving a 4XX or 5XX status code @@ -59,7 +59,7 @@ public B2BSignInActivityMetrics get(@jakarta.annotation.Nullable final java.util return this.requestAdapter.send(requestInfo, errorMapping, B2BSignInActivityMetrics::createFromDiscriminatorValue); } /** - * B2B sign-in activity metrics for this related tenant. Expanded by default. + * Get appB2BSignInActivityMetrics from directory * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -67,7 +67,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * B2B sign-in activity metrics for this related tenant. Expanded by default. + * Get appB2BSignInActivityMetrics from directory * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -89,7 +89,7 @@ public AppB2BSignInActivityMetricsRequestBuilder withUrl(@jakarta.annotation.Non return new AppB2BSignInActivityMetricsRequestBuilder(rawUrl, requestAdapter); } /** - * B2B sign-in activity metrics for this related tenant. Expanded by default. + * Get appB2BSignInActivityMetrics from directory */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/relatedtenants/item/b2bregistrationmetrics/B2BRegistrationMetricsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/relatedtenants/item/b2bregistrationmetrics/B2BRegistrationMetricsRequestBuilder.java index cb856b55024..dc80fa8ef71 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/relatedtenants/item/b2bregistrationmetrics/B2BRegistrationMetricsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/relatedtenants/item/b2bregistrationmetrics/B2BRegistrationMetricsRequestBuilder.java @@ -1,7 +1,7 @@ package com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item.b2bregistrationmetrics; +import com.microsoft.graph.beta.models.B2bRegistrationMetrics; import com.microsoft.graph.beta.models.odataerrors.ODataError; -import com.microsoft.graph.beta.models.tenantgovernanceservices.B2bRegistrationMetrics; import com.microsoft.kiota.BaseRequestBuilder; import com.microsoft.kiota.BaseRequestConfiguration; import com.microsoft.kiota.HttpMethod; @@ -16,7 +16,7 @@ import java.util.Map; import java.util.Objects; /** - * Provides operations to manage the b2BRegistrationMetrics property of the microsoft.graph.tenantGovernanceServices.relatedTenant entity. + * Provides operations to manage the b2BRegistrationMetrics property of the microsoft.graph.relatedTenant entity. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class B2BRegistrationMetricsRequestBuilder extends BaseRequestBuilder { @@ -37,7 +37,7 @@ public B2BRegistrationMetricsRequestBuilder(@jakarta.annotation.Nonnull final St super(requestAdapter, "{+baseurl}/directory/tenantGovernance/relatedTenants/{relatedTenant%2Did}/b2BRegistrationMetrics{?%24expand,%24select}", rawUrl); } /** - * B2B registration metrics for this related tenant. Expanded by default. + * Get b2BRegistrationMetrics from directory * @return a {@link B2bRegistrationMetrics} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -46,7 +46,7 @@ public B2bRegistrationMetrics get() { return get(null); } /** - * B2B registration metrics for this related tenant. Expanded by default. + * Get b2BRegistrationMetrics from directory * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link B2bRegistrationMetrics} * @throws ODataError When receiving a 4XX or 5XX status code @@ -59,7 +59,7 @@ public B2bRegistrationMetrics get(@jakarta.annotation.Nullable final java.util.f return this.requestAdapter.send(requestInfo, errorMapping, B2bRegistrationMetrics::createFromDiscriminatorValue); } /** - * B2B registration metrics for this related tenant. Expanded by default. + * Get b2BRegistrationMetrics from directory * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -67,7 +67,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * B2B registration metrics for this related tenant. Expanded by default. + * Get b2BRegistrationMetrics from directory * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -89,7 +89,7 @@ public B2BRegistrationMetricsRequestBuilder withUrl(@jakarta.annotation.Nonnull return new B2BRegistrationMetricsRequestBuilder(rawUrl, requestAdapter); } /** - * B2B registration metrics for this related tenant. Expanded by default. + * Get b2BRegistrationMetrics from directory */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/relatedtenants/item/b2bsigninactivitymetrics/B2BSignInActivityMetricsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/relatedtenants/item/b2bsigninactivitymetrics/B2BSignInActivityMetricsRequestBuilder.java index 37cd6f07889..d2e82fcc58b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/relatedtenants/item/b2bsigninactivitymetrics/B2BSignInActivityMetricsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/relatedtenants/item/b2bsigninactivitymetrics/B2BSignInActivityMetricsRequestBuilder.java @@ -1,7 +1,7 @@ package com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item.b2bsigninactivitymetrics; +import com.microsoft.graph.beta.models.B2BSignInActivityMetrics; import com.microsoft.graph.beta.models.odataerrors.ODataError; -import com.microsoft.graph.beta.models.tenantgovernanceservices.B2BSignInActivityMetrics; import com.microsoft.kiota.BaseRequestBuilder; import com.microsoft.kiota.BaseRequestConfiguration; import com.microsoft.kiota.HttpMethod; @@ -16,7 +16,7 @@ import java.util.Map; import java.util.Objects; /** - * Provides operations to manage the b2BSignInActivityMetrics property of the microsoft.graph.tenantGovernanceServices.relatedTenant entity. + * Provides operations to manage the b2BSignInActivityMetrics property of the microsoft.graph.relatedTenant entity. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class B2BSignInActivityMetricsRequestBuilder extends BaseRequestBuilder { @@ -37,7 +37,7 @@ public B2BSignInActivityMetricsRequestBuilder(@jakarta.annotation.Nonnull final super(requestAdapter, "{+baseurl}/directory/tenantGovernance/relatedTenants/{relatedTenant%2Did}/b2BSignInActivityMetrics{?%24expand,%24select}", rawUrl); } /** - * B2B sign-in activity metrics for this related tenant. Expanded by default. + * Get b2BSignInActivityMetrics from directory * @return a {@link B2BSignInActivityMetrics} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -46,7 +46,7 @@ public B2BSignInActivityMetrics get() { return get(null); } /** - * B2B sign-in activity metrics for this related tenant. Expanded by default. + * Get b2BSignInActivityMetrics from directory * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link B2BSignInActivityMetrics} * @throws ODataError When receiving a 4XX or 5XX status code @@ -59,7 +59,7 @@ public B2BSignInActivityMetrics get(@jakarta.annotation.Nullable final java.util return this.requestAdapter.send(requestInfo, errorMapping, B2BSignInActivityMetrics::createFromDiscriminatorValue); } /** - * B2B sign-in activity metrics for this related tenant. Expanded by default. + * Get b2BSignInActivityMetrics from directory * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -67,7 +67,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * B2B sign-in activity metrics for this related tenant. Expanded by default. + * Get b2BSignInActivityMetrics from directory * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -89,7 +89,7 @@ public B2BSignInActivityMetricsRequestBuilder withUrl(@jakarta.annotation.Nonnul return new B2BSignInActivityMetricsRequestBuilder(rawUrl, requestAdapter); } /** - * B2B sign-in activity metrics for this related tenant. Expanded by default. + * Get b2BSignInActivityMetrics from directory */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/relatedtenants/item/billingmetrics/BillingMetricsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/relatedtenants/item/billingmetrics/BillingMetricsRequestBuilder.java index 9d52febbcc2..ba81470780e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/relatedtenants/item/billingmetrics/BillingMetricsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/relatedtenants/item/billingmetrics/BillingMetricsRequestBuilder.java @@ -1,7 +1,7 @@ package com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item.billingmetrics; +import com.microsoft.graph.beta.models.BillingMetrics; import com.microsoft.graph.beta.models.odataerrors.ODataError; -import com.microsoft.graph.beta.models.tenantgovernanceservices.BillingMetrics; import com.microsoft.kiota.BaseRequestBuilder; import com.microsoft.kiota.BaseRequestConfiguration; import com.microsoft.kiota.HttpMethod; @@ -16,7 +16,7 @@ import java.util.Map; import java.util.Objects; /** - * Provides operations to manage the billingMetrics property of the microsoft.graph.tenantGovernanceServices.relatedTenant entity. + * Provides operations to manage the billingMetrics property of the microsoft.graph.relatedTenant entity. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class BillingMetricsRequestBuilder extends BaseRequestBuilder { @@ -37,7 +37,7 @@ public BillingMetricsRequestBuilder(@jakarta.annotation.Nonnull final String raw super(requestAdapter, "{+baseurl}/directory/tenantGovernance/relatedTenants/{relatedTenant%2Did}/billingMetrics{?%24expand,%24select}", rawUrl); } /** - * Billing metrics for this related tenant. Expanded by default. + * Get billingMetrics from directory * @return a {@link BillingMetrics} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -46,7 +46,7 @@ public BillingMetrics get() { return get(null); } /** - * Billing metrics for this related tenant. Expanded by default. + * Get billingMetrics from directory * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link BillingMetrics} * @throws ODataError When receiving a 4XX or 5XX status code @@ -59,7 +59,7 @@ public BillingMetrics get(@jakarta.annotation.Nullable final java.util.function. return this.requestAdapter.send(requestInfo, errorMapping, BillingMetrics::createFromDiscriminatorValue); } /** - * Billing metrics for this related tenant. Expanded by default. + * Get billingMetrics from directory * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -67,7 +67,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Billing metrics for this related tenant. Expanded by default. + * Get billingMetrics from directory * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -89,7 +89,7 @@ public BillingMetricsRequestBuilder withUrl(@jakarta.annotation.Nonnull final St return new BillingMetricsRequestBuilder(rawUrl, requestAdapter); } /** - * Billing metrics for this related tenant. Expanded by default. + * Get billingMetrics from directory */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/relatedtenants/item/multitenantapplicationmetrics/MultiTenantApplicationMetricsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/relatedtenants/item/multitenantapplicationmetrics/MultiTenantApplicationMetricsRequestBuilder.java index 43269aebf87..a36206b413f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/relatedtenants/item/multitenantapplicationmetrics/MultiTenantApplicationMetricsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/relatedtenants/item/multitenantapplicationmetrics/MultiTenantApplicationMetricsRequestBuilder.java @@ -1,7 +1,7 @@ package com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item.multitenantapplicationmetrics; +import com.microsoft.graph.beta.models.MultiTenantApplicationMetrics; import com.microsoft.graph.beta.models.odataerrors.ODataError; -import com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationMetrics; import com.microsoft.kiota.BaseRequestBuilder; import com.microsoft.kiota.BaseRequestConfiguration; import com.microsoft.kiota.HttpMethod; @@ -16,7 +16,7 @@ import java.util.Map; import java.util.Objects; /** - * Provides operations to manage the multiTenantApplicationMetrics property of the microsoft.graph.tenantGovernanceServices.relatedTenant entity. + * Provides operations to manage the multiTenantApplicationMetrics property of the microsoft.graph.relatedTenant entity. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class MultiTenantApplicationMetricsRequestBuilder extends BaseRequestBuilder { @@ -37,7 +37,7 @@ public MultiTenantApplicationMetricsRequestBuilder(@jakarta.annotation.Nonnull f super(requestAdapter, "{+baseurl}/directory/tenantGovernance/relatedTenants/{relatedTenant%2Did}/multiTenantApplicationMetrics{?%24expand,%24select}", rawUrl); } /** - * Multi-tenant application usage metrics for this related tenant. Expanded by default. + * Get multiTenantApplicationMetrics from directory * @return a {@link MultiTenantApplicationMetrics} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -46,7 +46,7 @@ public MultiTenantApplicationMetrics get() { return get(null); } /** - * Multi-tenant application usage metrics for this related tenant. Expanded by default. + * Get multiTenantApplicationMetrics from directory * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MultiTenantApplicationMetrics} * @throws ODataError When receiving a 4XX or 5XX status code @@ -59,7 +59,7 @@ public MultiTenantApplicationMetrics get(@jakarta.annotation.Nullable final java return this.requestAdapter.send(requestInfo, errorMapping, MultiTenantApplicationMetrics::createFromDiscriminatorValue); } /** - * Multi-tenant application usage metrics for this related tenant. Expanded by default. + * Get multiTenantApplicationMetrics from directory * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -67,7 +67,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Multi-tenant application usage metrics for this related tenant. Expanded by default. + * Get multiTenantApplicationMetrics from directory * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -89,7 +89,7 @@ public MultiTenantApplicationMetricsRequestBuilder withUrl(@jakarta.annotation.N return new MultiTenantApplicationMetricsRequestBuilder(rawUrl, requestAdapter); } /** - * Multi-tenant application usage metrics for this related tenant. Expanded by default. + * Get multiTenantApplicationMetrics from directory */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/relatedtenants/microsoftgraphtenantgovernanceservicesrefresh/MicrosoftGraphTenantGovernanceServicesRefreshRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/relatedtenants/refresh/RefreshRequestBuilder.java similarity index 76% rename from src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/relatedtenants/microsoftgraphtenantgovernanceservicesrefresh/MicrosoftGraphTenantGovernanceServicesRefreshRequestBuilder.java rename to src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/relatedtenants/refresh/RefreshRequestBuilder.java index c28621a1fd6..8423892c411 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/relatedtenants/microsoftgraphtenantgovernanceservicesrefresh/MicrosoftGraphTenantGovernanceServicesRefreshRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/relatedtenants/refresh/RefreshRequestBuilder.java @@ -1,4 +1,4 @@ -package com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.microsoftgraphtenantgovernanceservicesrefresh; +package com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.refresh; import com.microsoft.graph.beta.models.odataerrors.ODataError; import com.microsoft.kiota.BaseRequestBuilder; @@ -17,22 +17,22 @@ * Provides operations to call the refresh method. */ @jakarta.annotation.Generated("com.microsoft.kiota") -public class MicrosoftGraphTenantGovernanceServicesRefreshRequestBuilder extends BaseRequestBuilder { +public class RefreshRequestBuilder extends BaseRequestBuilder { /** - * Instantiates a new {@link MicrosoftGraphTenantGovernanceServicesRefreshRequestBuilder} and sets the default values. + * Instantiates a new {@link RefreshRequestBuilder} and sets the default values. * @param pathParameters Path parameters for the request * @param requestAdapter The request adapter to use to execute the requests. */ - public MicrosoftGraphTenantGovernanceServicesRefreshRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { - super(requestAdapter, "{+baseurl}/directory/tenantGovernance/relatedTenants/microsoft.graph.tenantGovernanceServices.refresh", pathParameters); + public RefreshRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/tenantGovernance/relatedTenants/refresh", pathParameters); } /** - * Instantiates a new {@link MicrosoftGraphTenantGovernanceServicesRefreshRequestBuilder} and sets the default values. + * Instantiates a new {@link RefreshRequestBuilder} and sets the default values. * @param rawUrl The raw URL to use for the request builder. * @param requestAdapter The request adapter to use to execute the requests. */ - public MicrosoftGraphTenantGovernanceServicesRefreshRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { - super(requestAdapter, "{+baseurl}/directory/tenantGovernance/relatedTenants/microsoft.graph.tenantGovernanceServices.refresh", rawUrl); + public RefreshRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/tenantGovernance/relatedTenants/refresh", rawUrl); } /** * Manually refresh the list of related tenants. The list is also automatically refreshed daily. @@ -77,12 +77,12 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable /** * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. - * @return a {@link MicrosoftGraphTenantGovernanceServicesRefreshRequestBuilder} + * @return a {@link RefreshRequestBuilder} */ @jakarta.annotation.Nonnull - public MicrosoftGraphTenantGovernanceServicesRefreshRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + public RefreshRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); - return new MicrosoftGraphTenantGovernanceServicesRefreshRequestBuilder(rawUrl, requestAdapter); + return new RefreshRequestBuilder(rawUrl, requestAdapter); } /** * Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/relatedtenants/microsoftgraphtenantgovernanceservicesrefreshstatus/MicrosoftGraphTenantGovernanceServicesRefreshStatusRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/relatedtenants/refreshstatus/RefreshStatusRequestBuilder.java similarity index 74% rename from src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/relatedtenants/microsoftgraphtenantgovernanceservicesrefreshstatus/MicrosoftGraphTenantGovernanceServicesRefreshStatusRequestBuilder.java rename to src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/relatedtenants/refreshstatus/RefreshStatusRequestBuilder.java index 2c9a335f406..e1b5464e410 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/relatedtenants/microsoftgraphtenantgovernanceservicesrefreshstatus/MicrosoftGraphTenantGovernanceServicesRefreshStatusRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/relatedtenants/refreshstatus/RefreshStatusRequestBuilder.java @@ -1,7 +1,7 @@ -package com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.microsoftgraphtenantgovernanceservicesrefreshstatus; +package com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.refreshstatus; import com.microsoft.graph.beta.models.odataerrors.ODataError; -import com.microsoft.graph.beta.models.tenantgovernanceservices.RelatedTenantsRefreshStatus; +import com.microsoft.graph.beta.models.RelatedTenantsRefreshStatus; import com.microsoft.kiota.BaseRequestBuilder; import com.microsoft.kiota.BaseRequestConfiguration; import com.microsoft.kiota.HttpMethod; @@ -18,22 +18,22 @@ * Provides operations to call the refreshStatus method. */ @jakarta.annotation.Generated("com.microsoft.kiota") -public class MicrosoftGraphTenantGovernanceServicesRefreshStatusRequestBuilder extends BaseRequestBuilder { +public class RefreshStatusRequestBuilder extends BaseRequestBuilder { /** - * Instantiates a new {@link MicrosoftGraphTenantGovernanceServicesRefreshStatusRequestBuilder} and sets the default values. + * Instantiates a new {@link RefreshStatusRequestBuilder} and sets the default values. * @param pathParameters Path parameters for the request * @param requestAdapter The request adapter to use to execute the requests. */ - public MicrosoftGraphTenantGovernanceServicesRefreshStatusRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { - super(requestAdapter, "{+baseurl}/directory/tenantGovernance/relatedTenants/microsoft.graph.tenantGovernanceServices.refreshStatus()", pathParameters); + public RefreshStatusRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/tenantGovernance/relatedTenants/refreshStatus()", pathParameters); } /** - * Instantiates a new {@link MicrosoftGraphTenantGovernanceServicesRefreshStatusRequestBuilder} and sets the default values. + * Instantiates a new {@link RefreshStatusRequestBuilder} and sets the default values. * @param rawUrl The raw URL to use for the request builder. * @param requestAdapter The request adapter to use to execute the requests. */ - public MicrosoftGraphTenantGovernanceServicesRefreshStatusRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { - super(requestAdapter, "{+baseurl}/directory/tenantGovernance/relatedTenants/microsoft.graph.tenantGovernanceServices.refreshStatus()", rawUrl); + public RefreshStatusRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/tenantGovernance/relatedTenants/refreshStatus()", rawUrl); } /** * Get the status of the related tenants refresh action. @@ -82,12 +82,12 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f /** * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. - * @return a {@link MicrosoftGraphTenantGovernanceServicesRefreshStatusRequestBuilder} + * @return a {@link RefreshStatusRequestBuilder} */ @jakarta.annotation.Nonnull - public MicrosoftGraphTenantGovernanceServicesRefreshStatusRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + public RefreshStatusRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); - return new MicrosoftGraphTenantGovernanceServicesRefreshStatusRequestBuilder(rawUrl, requestAdapter); + return new RefreshStatusRequestBuilder(rawUrl, requestAdapter); } /** * Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/settings/SettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/settings/SettingsRequestBuilder.java index ca1e0758422..3f5bfeb1493 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/settings/SettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/settings/SettingsRequestBuilder.java @@ -1,8 +1,8 @@ package com.microsoft.graph.beta.directory.tenantgovernance.settings; -import com.microsoft.graph.beta.directory.tenantgovernance.settings.microsoftgraphtenantgovernanceservicesenablerelatedtenants.MicrosoftGraphTenantGovernanceServicesEnableRelatedTenantsRequestBuilder; +import com.microsoft.graph.beta.directory.tenantgovernance.settings.enablerelatedtenants.EnableRelatedTenantsRequestBuilder; import com.microsoft.graph.beta.models.odataerrors.ODataError; -import com.microsoft.graph.beta.models.tenantgovernanceservices.TenantGovernanceSetting; +import com.microsoft.graph.beta.models.TenantGovernanceSetting; import com.microsoft.kiota.BaseRequestBuilder; import com.microsoft.kiota.BaseRequestConfiguration; import com.microsoft.kiota.HttpMethod; @@ -17,17 +17,17 @@ import java.util.Map; import java.util.Objects; /** - * Provides operations to manage the settings property of the microsoft.graph.tenantGovernanceServices.tenantGovernance entity. + * Provides operations to manage the settings property of the microsoft.graph.tenantGovernance entity. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class SettingsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to call the enableRelatedTenants method. - * @return a {@link MicrosoftGraphTenantGovernanceServicesEnableRelatedTenantsRequestBuilder} + * @return a {@link EnableRelatedTenantsRequestBuilder} */ @jakarta.annotation.Nonnull - public MicrosoftGraphTenantGovernanceServicesEnableRelatedTenantsRequestBuilder microsoftGraphTenantGovernanceServicesEnableRelatedTenants() { - return new MicrosoftGraphTenantGovernanceServicesEnableRelatedTenantsRequestBuilder(pathParameters, requestAdapter); + public EnableRelatedTenantsRequestBuilder enableRelatedTenants() { + return new EnableRelatedTenantsRequestBuilder(pathParameters, requestAdapter); } /** * Instantiates a new {@link SettingsRequestBuilder} and sets the default values. diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/settings/microsoftgraphtenantgovernanceservicesenablerelatedtenants/MicrosoftGraphTenantGovernanceServicesEnableRelatedTenantsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/settings/enablerelatedtenants/EnableRelatedTenantsRequestBuilder.java similarity index 76% rename from src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/settings/microsoftgraphtenantgovernanceservicesenablerelatedtenants/MicrosoftGraphTenantGovernanceServicesEnableRelatedTenantsRequestBuilder.java rename to src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/settings/enablerelatedtenants/EnableRelatedTenantsRequestBuilder.java index e3ffda08802..dcf8523cdc4 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/settings/microsoftgraphtenantgovernanceservicesenablerelatedtenants/MicrosoftGraphTenantGovernanceServicesEnableRelatedTenantsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/settings/enablerelatedtenants/EnableRelatedTenantsRequestBuilder.java @@ -1,4 +1,4 @@ -package com.microsoft.graph.beta.directory.tenantgovernance.settings.microsoftgraphtenantgovernanceservicesenablerelatedtenants; +package com.microsoft.graph.beta.directory.tenantgovernance.settings.enablerelatedtenants; import com.microsoft.graph.beta.models.odataerrors.ODataError; import com.microsoft.kiota.BaseRequestBuilder; @@ -17,22 +17,22 @@ * Provides operations to call the enableRelatedTenants method. */ @jakarta.annotation.Generated("com.microsoft.kiota") -public class MicrosoftGraphTenantGovernanceServicesEnableRelatedTenantsRequestBuilder extends BaseRequestBuilder { +public class EnableRelatedTenantsRequestBuilder extends BaseRequestBuilder { /** - * Instantiates a new {@link MicrosoftGraphTenantGovernanceServicesEnableRelatedTenantsRequestBuilder} and sets the default values. + * Instantiates a new {@link EnableRelatedTenantsRequestBuilder} and sets the default values. * @param pathParameters Path parameters for the request * @param requestAdapter The request adapter to use to execute the requests. */ - public MicrosoftGraphTenantGovernanceServicesEnableRelatedTenantsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { - super(requestAdapter, "{+baseurl}/directory/tenantGovernance/settings/microsoft.graph.tenantGovernanceServices.enableRelatedTenants", pathParameters); + public EnableRelatedTenantsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/tenantGovernance/settings/enableRelatedTenants", pathParameters); } /** - * Instantiates a new {@link MicrosoftGraphTenantGovernanceServicesEnableRelatedTenantsRequestBuilder} and sets the default values. + * Instantiates a new {@link EnableRelatedTenantsRequestBuilder} and sets the default values. * @param rawUrl The raw URL to use for the request builder. * @param requestAdapter The request adapter to use to execute the requests. */ - public MicrosoftGraphTenantGovernanceServicesEnableRelatedTenantsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { - super(requestAdapter, "{+baseurl}/directory/tenantGovernance/settings/microsoft.graph.tenantGovernanceServices.enableRelatedTenants", rawUrl); + public EnableRelatedTenantsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/directory/tenantGovernance/settings/enableRelatedTenants", rawUrl); } /** * Enable the related tenants feature for tenant discovery. After calling this action, the isRelatedTenantsEnabled property of tenantGovernanceSetting is set to true, which allows the use of related tenant APIs. @@ -77,12 +77,12 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable /** * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. - * @return a {@link MicrosoftGraphTenantGovernanceServicesEnableRelatedTenantsRequestBuilder} + * @return a {@link EnableRelatedTenantsRequestBuilder} */ @jakarta.annotation.Nonnull - public MicrosoftGraphTenantGovernanceServicesEnableRelatedTenantsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + public EnableRelatedTenantsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); - return new MicrosoftGraphTenantGovernanceServicesEnableRelatedTenantsRequestBuilder(rawUrl, requestAdapter); + return new EnableRelatedTenantsRequestBuilder(rawUrl, requestAdapter); } /** * Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/assignsensitivitylabel/AssignSensitivityLabelPostRequestBody.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/assignsensitivitylabel/AssignSensitivityLabelPostRequestBody.java index 8ad94e64563..0602ce34dc5 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/assignsensitivitylabel/AssignSensitivityLabelPostRequestBody.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/assignsensitivitylabel/AssignSensitivityLabelPostRequestBody.java @@ -1,6 +1,7 @@ package com.microsoft.graph.beta.drives.item.items.item.assignsensitivitylabel; import com.microsoft.graph.beta.models.SensitivityLabelAssignmentMethod; +import com.microsoft.graph.beta.models.UserIdentity; import com.microsoft.kiota.serialization.AdditionalDataHolder; import com.microsoft.kiota.serialization.Parsable; import com.microsoft.kiota.serialization.ParseNode; @@ -48,6 +49,14 @@ public Map getAdditionalData() { } return value; } + /** + * Gets the appliedByUser property value. The appliedByUser property + * @return a {@link UserIdentity} + */ + @jakarta.annotation.Nullable + public UserIdentity getAppliedByUser() { + return this.backingStore.get("appliedByUser"); + } /** * Gets the assignmentMethod property value. The assignmentMethod property * @return a {@link SensitivityLabelAssignmentMethod} @@ -70,7 +79,8 @@ public BackingStore getBackingStore() { */ @jakarta.annotation.Nonnull public Map> getFieldDeserializers() { - final HashMap> deserializerMap = new HashMap>(3); + final HashMap> deserializerMap = new HashMap>(4); + deserializerMap.put("appliedByUser", (n) -> { this.setAppliedByUser(n.getObjectValue(UserIdentity::createFromDiscriminatorValue)); }); deserializerMap.put("assignmentMethod", (n) -> { this.setAssignmentMethod(n.getEnumValue(SensitivityLabelAssignmentMethod::forValue)); }); deserializerMap.put("justificationText", (n) -> { this.setJustificationText(n.getStringValue()); }); deserializerMap.put("sensitivityLabelId", (n) -> { this.setSensitivityLabelId(n.getStringValue()); }); @@ -98,6 +108,7 @@ public String getSensitivityLabelId() { */ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { Objects.requireNonNull(writer); + writer.writeObjectValue("appliedByUser", this.getAppliedByUser()); writer.writeEnumValue("assignmentMethod", this.getAssignmentMethod()); writer.writeStringValue("justificationText", this.getJustificationText()); writer.writeStringValue("sensitivityLabelId", this.getSensitivityLabelId()); @@ -110,6 +121,13 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { this.backingStore.set("additionalData", value); } + /** + * Sets the appliedByUser property value. The appliedByUser property + * @param value Value to set for the appliedByUser property. + */ + public void setAppliedByUser(@jakarta.annotation.Nullable final UserIdentity value) { + this.backingStore.set("appliedByUser", value); + } /** * Sets the assignmentMethod property value. The assignmentMethod property * @param value Value to set for the assignmentMethod property. diff --git a/src/main/java/com/microsoft/graph/beta/generated/employeeexperience/communities/CommunitiesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/employeeexperience/communities/CommunitiesRequestBuilder.java index 718a41c7ba8..fa29a11251b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/employeeexperience/communities/CommunitiesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/employeeexperience/communities/CommunitiesRequestBuilder.java @@ -1,6 +1,5 @@ package com.microsoft.graph.beta.employeeexperience.communities; -import com.microsoft.graph.beta.employeeexperience.communities.count.CountRequestBuilder; import com.microsoft.graph.beta.employeeexperience.communities.item.CommunityItemRequestBuilder; import com.microsoft.graph.beta.models.Community; import com.microsoft.graph.beta.models.CommunityCollectionResponse; @@ -23,14 +22,6 @@ */ @jakarta.annotation.Generated("com.microsoft.kiota") public class CommunitiesRequestBuilder extends BaseRequestBuilder { - /** - * Provides operations to count the resources in the collection. - * @return a {@link CountRequestBuilder} - */ - @jakarta.annotation.Nonnull - public CountRequestBuilder count() { - return new CountRequestBuilder(pathParameters, requestAdapter); - } /** * Provides operations to manage the communities property of the microsoft.graph.employeeExperience entity. * @param communityId The unique identifier of community diff --git a/src/main/java/com/microsoft/graph/beta/generated/employeeexperience/engagementasyncoperations/EngagementAsyncOperationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/employeeexperience/engagementasyncoperations/EngagementAsyncOperationsRequestBuilder.java index 6b7f728c18f..0dfe71afce6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/employeeexperience/engagementasyncoperations/EngagementAsyncOperationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/employeeexperience/engagementasyncoperations/EngagementAsyncOperationsRequestBuilder.java @@ -1,8 +1,6 @@ package com.microsoft.graph.beta.employeeexperience.engagementasyncoperations; -import com.microsoft.graph.beta.employeeexperience.engagementasyncoperations.count.CountRequestBuilder; import com.microsoft.graph.beta.employeeexperience.engagementasyncoperations.item.EngagementAsyncOperationItemRequestBuilder; -import com.microsoft.graph.beta.models.EngagementAsyncOperation; import com.microsoft.graph.beta.models.EngagementAsyncOperationCollectionResponse; import com.microsoft.graph.beta.models.odataerrors.ODataError; import com.microsoft.kiota.BaseRequestBuilder; @@ -23,14 +21,6 @@ */ @jakarta.annotation.Generated("com.microsoft.kiota") public class EngagementAsyncOperationsRequestBuilder extends BaseRequestBuilder { - /** - * Provides operations to count the resources in the collection. - * @return a {@link CountRequestBuilder} - */ - @jakarta.annotation.Nonnull - public CountRequestBuilder count() { - return new CountRequestBuilder(pathParameters, requestAdapter); - } /** * Provides operations to manage the engagementAsyncOperations property of the microsoft.graph.employeeExperience entity. * @param engagementAsyncOperationId The unique identifier of engagementAsyncOperation @@ -81,31 +71,6 @@ public EngagementAsyncOperationCollectionResponse get(@jakarta.annotation.Nullab errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); return this.requestAdapter.send(requestInfo, errorMapping, EngagementAsyncOperationCollectionResponse::createFromDiscriminatorValue); } - /** - * Create new navigation property to engagementAsyncOperations for employeeExperience - * @param body The request body - * @return a {@link EngagementAsyncOperation} - * @throws ODataError When receiving a 4XX or 5XX status code - */ - @jakarta.annotation.Nullable - public EngagementAsyncOperation post(@jakarta.annotation.Nonnull final EngagementAsyncOperation body) { - return post(body, null); - } - /** - * Create new navigation property to engagementAsyncOperations for employeeExperience - * @param body The request body - * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return a {@link EngagementAsyncOperation} - * @throws ODataError When receiving a 4XX or 5XX status code - */ - @jakarta.annotation.Nullable - public EngagementAsyncOperation post(@jakarta.annotation.Nonnull final EngagementAsyncOperation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - Objects.requireNonNull(body); - final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); - final HashMap> errorMapping = new HashMap>(); - errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); - return this.requestAdapter.send(requestInfo, errorMapping, EngagementAsyncOperation::createFromDiscriminatorValue); - } /** * Get an engagementAsyncOperation to track a long-running operation request. * @return a {@link RequestInformation} @@ -126,30 +91,6 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; } - /** - * Create new navigation property to engagementAsyncOperations for employeeExperience - * @param body The request body - * @return a {@link RequestInformation} - */ - @jakarta.annotation.Nonnull - public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final EngagementAsyncOperation body) { - return toPostRequestInformation(body, null); - } - /** - * Create new navigation property to engagementAsyncOperations for employeeExperience - * @param body The request body - * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return a {@link RequestInformation} - */ - @jakarta.annotation.Nonnull - public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final EngagementAsyncOperation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); - requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); - 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. * @param rawUrl The raw URL to use for the request builder. @@ -234,10 +175,4 @@ public class GetRequestConfiguration extends BaseRequestConfiguration { @jakarta.annotation.Nullable public GetQueryParameters queryParameters = new GetQueryParameters(); } - /** - * Configuration for the request such as headers, query parameters, and middleware options. - */ - @jakarta.annotation.Generated("com.microsoft.kiota") - public class PostRequestConfiguration extends BaseRequestConfiguration { - } } diff --git a/src/main/java/com/microsoft/graph/beta/generated/employeeexperience/engagementasyncoperations/item/EngagementAsyncOperationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/employeeexperience/engagementasyncoperations/item/EngagementAsyncOperationItemRequestBuilder.java index 8c963fafb3a..a374d386933 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/employeeexperience/engagementasyncoperations/item/EngagementAsyncOperationItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/employeeexperience/engagementasyncoperations/item/EngagementAsyncOperationItemRequestBuilder.java @@ -36,24 +36,6 @@ public EngagementAsyncOperationItemRequestBuilder(@jakarta.annotation.Nonnull fi public EngagementAsyncOperationItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { super(requestAdapter, "{+baseurl}/employeeExperience/engagementAsyncOperations/{engagementAsyncOperation%2Did}{?%24expand,%24select}", rawUrl); } - /** - * Delete navigation property engagementAsyncOperations for employeeExperience - * @throws ODataError When receiving a 4XX or 5XX status code - */ - public void delete() { - delete(null); - } - /** - * Delete navigation property engagementAsyncOperations for employeeExperience - * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @throws ODataError When receiving a 4XX or 5XX status code - */ - public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); - final HashMap> errorMapping = new HashMap>(); - errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); - this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); - } /** * Get an engagementAsyncOperation to track a long-running operation request. * @return a {@link EngagementAsyncOperation} @@ -78,51 +60,6 @@ public EngagementAsyncOperation get(@jakarta.annotation.Nullable final java.util errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); return this.requestAdapter.send(requestInfo, errorMapping, EngagementAsyncOperation::createFromDiscriminatorValue); } - /** - * Update the navigation property engagementAsyncOperations in employeeExperience - * @param body The request body - * @return a {@link EngagementAsyncOperation} - * @throws ODataError When receiving a 4XX or 5XX status code - */ - @jakarta.annotation.Nullable - public EngagementAsyncOperation patch(@jakarta.annotation.Nonnull final EngagementAsyncOperation body) { - return patch(body, null); - } - /** - * Update the navigation property engagementAsyncOperations in employeeExperience - * @param body The request body - * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return a {@link EngagementAsyncOperation} - * @throws ODataError When receiving a 4XX or 5XX status code - */ - @jakarta.annotation.Nullable - public EngagementAsyncOperation patch(@jakarta.annotation.Nonnull final EngagementAsyncOperation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - Objects.requireNonNull(body); - final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); - final HashMap> errorMapping = new HashMap>(); - errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); - return this.requestAdapter.send(requestInfo, errorMapping, EngagementAsyncOperation::createFromDiscriminatorValue); - } - /** - * Delete navigation property engagementAsyncOperations for employeeExperience - * @return a {@link RequestInformation} - */ - @jakarta.annotation.Nonnull - public RequestInformation toDeleteRequestInformation() { - return toDeleteRequestInformation(null); - } - /** - * Delete navigation property engagementAsyncOperations for employeeExperience - * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return a {@link RequestInformation} - */ - @jakarta.annotation.Nonnull - public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); - requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); - requestInfo.headers.tryAdd("Accept", "application/json"); - return requestInfo; - } /** * Get an engagementAsyncOperation to track a long-running operation request. * @return a {@link RequestInformation} @@ -143,30 +80,6 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; } - /** - * Update the navigation property engagementAsyncOperations in employeeExperience - * @param body The request body - * @return a {@link RequestInformation} - */ - @jakarta.annotation.Nonnull - public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final EngagementAsyncOperation body) { - return toPatchRequestInformation(body, null); - } - /** - * Update the navigation property engagementAsyncOperations in employeeExperience - * @param body The request body - * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return a {@link RequestInformation} - */ - @jakarta.annotation.Nonnull - public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final EngagementAsyncOperation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); - requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new); - 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. * @param rawUrl The raw URL to use for the request builder. @@ -177,12 +90,6 @@ public EngagementAsyncOperationItemRequestBuilder withUrl(@jakarta.annotation.No Objects.requireNonNull(rawUrl); return new EngagementAsyncOperationItemRequestBuilder(rawUrl, requestAdapter); } - /** - * Configuration for the request such as headers, query parameters, and middleware options. - */ - @jakarta.annotation.Generated("com.microsoft.kiota") - public class DeleteRequestConfiguration extends BaseRequestConfiguration { - } /** * Get an engagementAsyncOperation to track a long-running operation request. */ @@ -221,10 +128,4 @@ public class GetRequestConfiguration extends BaseRequestConfiguration { @jakarta.annotation.Nullable public GetQueryParameters queryParameters = new GetQueryParameters(); } - /** - * Configuration for the request such as headers, query parameters, and middleware options. - */ - @jakarta.annotation.Generated("com.microsoft.kiota") - public class PatchRequestConfiguration extends BaseRequestConfiguration { - } } diff --git a/src/main/java/com/microsoft/graph/beta/generated/employeeexperience/roles/RolesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/employeeexperience/roles/RolesRequestBuilder.java index fa20ea3455b..f8689b2a0c0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/employeeexperience/roles/RolesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/employeeexperience/roles/RolesRequestBuilder.java @@ -1,8 +1,6 @@ package com.microsoft.graph.beta.employeeexperience.roles; -import com.microsoft.graph.beta.employeeexperience.roles.count.CountRequestBuilder; import com.microsoft.graph.beta.employeeexperience.roles.item.EngagementRoleItemRequestBuilder; -import com.microsoft.graph.beta.models.EngagementRole; import com.microsoft.graph.beta.models.EngagementRoleCollectionResponse; import com.microsoft.graph.beta.models.odataerrors.ODataError; import com.microsoft.kiota.BaseRequestBuilder; @@ -23,14 +21,6 @@ */ @jakarta.annotation.Generated("com.microsoft.kiota") public class RolesRequestBuilder extends BaseRequestBuilder { - /** - * Provides operations to count the resources in the collection. - * @return a {@link CountRequestBuilder} - */ - @jakarta.annotation.Nonnull - public CountRequestBuilder count() { - return new CountRequestBuilder(pathParameters, requestAdapter); - } /** * Provides operations to manage the roles property of the microsoft.graph.employeeExperience entity. * @param engagementRoleId The unique identifier of engagementRole @@ -83,31 +73,6 @@ public EngagementRoleCollectionResponse get(@jakarta.annotation.Nullable final j errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); return this.requestAdapter.send(requestInfo, errorMapping, EngagementRoleCollectionResponse::createFromDiscriminatorValue); } - /** - * Create new navigation property to roles for employeeExperience - * @param body The request body - * @return a {@link EngagementRole} - * @throws ODataError When receiving a 4XX or 5XX status code - */ - @jakarta.annotation.Nullable - public EngagementRole post(@jakarta.annotation.Nonnull final EngagementRole body) { - return post(body, null); - } - /** - * Create new navigation property to roles for employeeExperience - * @param body The request body - * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return a {@link EngagementRole} - * @throws ODataError When receiving a 4XX or 5XX status code - */ - @jakarta.annotation.Nullable - public EngagementRole post(@jakarta.annotation.Nonnull final EngagementRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - Objects.requireNonNull(body); - final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); - final HashMap> errorMapping = new HashMap>(); - errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); - return this.requestAdapter.send(requestInfo, errorMapping, EngagementRole::createFromDiscriminatorValue); - } /** * Get a list of all the roles that can be assigned in Viva Engage. * @return a {@link RequestInformation} @@ -128,30 +93,6 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; } - /** - * Create new navigation property to roles for employeeExperience - * @param body The request body - * @return a {@link RequestInformation} - */ - @jakarta.annotation.Nonnull - public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final EngagementRole body) { - return toPostRequestInformation(body, null); - } - /** - * Create new navigation property to roles for employeeExperience - * @param body The request body - * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return a {@link RequestInformation} - */ - @jakarta.annotation.Nonnull - public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final EngagementRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); - requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); - 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. * @param rawUrl The raw URL to use for the request builder. @@ -236,10 +177,4 @@ public class GetRequestConfiguration extends BaseRequestConfiguration { @jakarta.annotation.Nullable public GetQueryParameters queryParameters = new GetQueryParameters(); } - /** - * Configuration for the request such as headers, query parameters, and middleware options. - */ - @jakarta.annotation.Generated("com.microsoft.kiota") - public class PostRequestConfiguration extends BaseRequestConfiguration { - } } diff --git a/src/main/java/com/microsoft/graph/beta/generated/employeeexperience/roles/item/EngagementRoleItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/employeeexperience/roles/item/EngagementRoleItemRequestBuilder.java index 1d1ea507dec..e9eed1bc7d5 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/employeeexperience/roles/item/EngagementRoleItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/employeeexperience/roles/item/EngagementRoleItemRequestBuilder.java @@ -45,24 +45,6 @@ public EngagementRoleItemRequestBuilder(@jakarta.annotation.Nonnull final HashMa public EngagementRoleItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { super(requestAdapter, "{+baseurl}/employeeExperience/roles/{engagementRole%2Did}{?%24expand,%24select}", rawUrl); } - /** - * Delete navigation property roles for employeeExperience - * @throws ODataError When receiving a 4XX or 5XX status code - */ - public void delete() { - delete(null); - } - /** - * Delete navigation property roles for employeeExperience - * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @throws ODataError When receiving a 4XX or 5XX status code - */ - public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); - final HashMap> errorMapping = new HashMap>(); - errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); - this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); - } /** * A collection of roles in Viva Engage. * @return a {@link EngagementRole} @@ -85,51 +67,6 @@ public EngagementRole get(@jakarta.annotation.Nullable final java.util.function. errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); return this.requestAdapter.send(requestInfo, errorMapping, EngagementRole::createFromDiscriminatorValue); } - /** - * Update the navigation property roles in employeeExperience - * @param body The request body - * @return a {@link EngagementRole} - * @throws ODataError When receiving a 4XX or 5XX status code - */ - @jakarta.annotation.Nullable - public EngagementRole patch(@jakarta.annotation.Nonnull final EngagementRole body) { - return patch(body, null); - } - /** - * Update the navigation property roles in employeeExperience - * @param body The request body - * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return a {@link EngagementRole} - * @throws ODataError When receiving a 4XX or 5XX status code - */ - @jakarta.annotation.Nullable - public EngagementRole patch(@jakarta.annotation.Nonnull final EngagementRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - Objects.requireNonNull(body); - final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); - final HashMap> errorMapping = new HashMap>(); - errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); - return this.requestAdapter.send(requestInfo, errorMapping, EngagementRole::createFromDiscriminatorValue); - } - /** - * Delete navigation property roles for employeeExperience - * @return a {@link RequestInformation} - */ - @jakarta.annotation.Nonnull - public RequestInformation toDeleteRequestInformation() { - return toDeleteRequestInformation(null); - } - /** - * Delete navigation property roles for employeeExperience - * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return a {@link RequestInformation} - */ - @jakarta.annotation.Nonnull - public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); - requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); - requestInfo.headers.tryAdd("Accept", "application/json"); - return requestInfo; - } /** * A collection of roles in Viva Engage. * @return a {@link RequestInformation} @@ -150,30 +87,6 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; } - /** - * Update the navigation property roles in employeeExperience - * @param body The request body - * @return a {@link RequestInformation} - */ - @jakarta.annotation.Nonnull - public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final EngagementRole body) { - return toPatchRequestInformation(body, null); - } - /** - * Update the navigation property roles in employeeExperience - * @param body The request body - * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return a {@link RequestInformation} - */ - @jakarta.annotation.Nonnull - public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final EngagementRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); - requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new); - 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. * @param rawUrl The raw URL to use for the request builder. @@ -184,12 +97,6 @@ public EngagementRoleItemRequestBuilder withUrl(@jakarta.annotation.Nonnull fina Objects.requireNonNull(rawUrl); return new EngagementRoleItemRequestBuilder(rawUrl, requestAdapter); } - /** - * Configuration for the request such as headers, query parameters, and middleware options. - */ - @jakarta.annotation.Generated("com.microsoft.kiota") - public class DeleteRequestConfiguration extends BaseRequestConfiguration { - } /** * A collection of roles in Viva Engage. */ @@ -228,10 +135,4 @@ public class GetRequestConfiguration extends BaseRequestConfiguration { @jakarta.annotation.Nullable public GetQueryParameters queryParameters = new GetQueryParameters(); } - /** - * Configuration for the request such as headers, query parameters, and middleware options. - */ - @jakarta.annotation.Generated("com.microsoft.kiota") - public class PatchRequestConfiguration extends BaseRequestConfiguration { - } } diff --git a/src/main/java/com/microsoft/graph/beta/generated/employeeexperience/roles/item/members/item/EngagementRoleMemberItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/employeeexperience/roles/item/members/item/EngagementRoleMemberItemRequestBuilder.java index 340ad435444..825cb542619 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/employeeexperience/roles/item/members/item/EngagementRoleMemberItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/employeeexperience/roles/item/members/item/EngagementRoleMemberItemRequestBuilder.java @@ -87,31 +87,6 @@ public EngagementRoleMember get(@jakarta.annotation.Nullable final java.util.fun errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); return this.requestAdapter.send(requestInfo, errorMapping, EngagementRoleMember::createFromDiscriminatorValue); } - /** - * Update the navigation property members in employeeExperience - * @param body The request body - * @return a {@link EngagementRoleMember} - * @throws ODataError When receiving a 4XX or 5XX status code - */ - @jakarta.annotation.Nullable - public EngagementRoleMember patch(@jakarta.annotation.Nonnull final EngagementRoleMember body) { - return patch(body, null); - } - /** - * Update the navigation property members in employeeExperience - * @param body The request body - * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return a {@link EngagementRoleMember} - * @throws ODataError When receiving a 4XX or 5XX status code - */ - @jakarta.annotation.Nullable - public EngagementRoleMember patch(@jakarta.annotation.Nonnull final EngagementRoleMember body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - Objects.requireNonNull(body); - final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); - final HashMap> errorMapping = new HashMap>(); - errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); - return this.requestAdapter.send(requestInfo, errorMapping, EngagementRoleMember::createFromDiscriminatorValue); - } /** * Delete a Viva Engage role from a user. * @return a {@link RequestInformation} @@ -152,30 +127,6 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; } - /** - * Update the navigation property members in employeeExperience - * @param body The request body - * @return a {@link RequestInformation} - */ - @jakarta.annotation.Nonnull - public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final EngagementRoleMember body) { - return toPatchRequestInformation(body, null); - } - /** - * Update the navigation property members in employeeExperience - * @param body The request body - * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return a {@link RequestInformation} - */ - @jakarta.annotation.Nonnull - public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final EngagementRoleMember body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); - requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new); - 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. * @param rawUrl The raw URL to use for the request builder. @@ -230,10 +181,4 @@ public class GetRequestConfiguration extends BaseRequestConfiguration { @jakarta.annotation.Nullable public GetQueryParameters queryParameters = new GetQueryParameters(); } - /** - * Configuration for the request such as headers, query parameters, and middleware options. - */ - @jakarta.annotation.Generated("com.microsoft.kiota") - public class PatchRequestConfiguration extends BaseRequestConfiguration { - } } diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/IdentityGovernanceRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/IdentityGovernanceRequestBuilder.java index 8c2e396707b..6241429f4ae 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/IdentityGovernanceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/IdentityGovernanceRequestBuilder.java @@ -34,7 +34,10 @@ public class IdentityGovernanceRequestBuilder extends BaseRequestBuilder { /** * Provides operations to manage the accessReviews property of the microsoft.graph.identityGovernance entity. * @return a {@link AccessReviewsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessReviewsRequestBuilder accessReviews() { return new AccessReviewsRequestBuilder(pathParameters, requestAdapter); @@ -42,7 +45,10 @@ public AccessReviewsRequestBuilder accessReviews() { /** * Provides operations to manage the appConsent property of the microsoft.graph.identityGovernance entity. * @return a {@link AppConsentRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AppConsentRequestBuilder appConsent() { return new AppConsentRequestBuilder(pathParameters, requestAdapter); @@ -50,7 +56,10 @@ public AppConsentRequestBuilder appConsent() { /** * Provides operations to manage the catalogs property of the microsoft.graph.identityGovernance entity. * @return a {@link CatalogsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CatalogsRequestBuilder catalogs() { return new CatalogsRequestBuilder(pathParameters, requestAdapter); @@ -58,7 +67,10 @@ public CatalogsRequestBuilder catalogs() { /** * Provides operations to manage the entitlementManagement property of the microsoft.graph.identityGovernance entity. * @return a {@link EntitlementManagementRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public EntitlementManagementRequestBuilder entitlementManagement() { return new EntitlementManagementRequestBuilder(pathParameters, requestAdapter); @@ -66,7 +78,10 @@ public EntitlementManagementRequestBuilder entitlementManagement() { /** * Provides operations to manage the lifecycleWorkflows property of the microsoft.graph.identityGovernance entity. * @return a {@link LifecycleWorkflowsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public LifecycleWorkflowsRequestBuilder lifecycleWorkflows() { return new LifecycleWorkflowsRequestBuilder(pathParameters, requestAdapter); @@ -74,7 +89,10 @@ public LifecycleWorkflowsRequestBuilder lifecycleWorkflows() { /** * Provides operations to manage the permissionsAnalytics property of the microsoft.graph.identityGovernance entity. * @return a {@link PermissionsAnalyticsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public PermissionsAnalyticsRequestBuilder permissionsAnalytics() { return new PermissionsAnalyticsRequestBuilder(pathParameters, requestAdapter); @@ -82,7 +100,10 @@ public PermissionsAnalyticsRequestBuilder permissionsAnalytics() { /** * Provides operations to manage the permissionsManagement property of the microsoft.graph.identityGovernance entity. * @return a {@link PermissionsManagementRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public PermissionsManagementRequestBuilder permissionsManagement() { return new PermissionsManagementRequestBuilder(pathParameters, requestAdapter); @@ -90,7 +111,10 @@ public PermissionsManagementRequestBuilder permissionsManagement() { /** * Provides operations to manage the privilegedAccess property of the microsoft.graph.identityGovernance entity. * @return a {@link PrivilegedAccessRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public PrivilegedAccessRequestBuilder privilegedAccess() { return new PrivilegedAccessRequestBuilder(pathParameters, requestAdapter); @@ -98,7 +122,10 @@ public PrivilegedAccessRequestBuilder privilegedAccess() { /** * Provides operations to manage the roleManagementAlerts property of the microsoft.graph.identityGovernance entity. * @return a {@link RoleManagementAlertsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public RoleManagementAlertsRequestBuilder roleManagementAlerts() { return new RoleManagementAlertsRequestBuilder(pathParameters, requestAdapter); @@ -106,7 +133,10 @@ public RoleManagementAlertsRequestBuilder roleManagementAlerts() { /** * Provides operations to manage the termsOfUse property of the microsoft.graph.identityGovernance entity. * @return a {@link TermsOfUseRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public TermsOfUseRequestBuilder termsOfUse() { return new TermsOfUseRequestBuilder(pathParameters, requestAdapter); @@ -144,8 +174,11 @@ public IdentityGovernanceRequestBuilder(@jakarta.annotation.Nonnull final String * Get identityGovernance * @return a {@link IdentityGovernance} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public IdentityGovernance get() { return get(null); } @@ -154,8 +187,11 @@ public IdentityGovernance get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link IdentityGovernance} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public IdentityGovernance get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -167,8 +203,11 @@ public IdentityGovernance get(@jakarta.annotation.Nullable final java.util.funct * @param body The request body * @return a {@link IdentityGovernance} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public IdentityGovernance patch(@jakarta.annotation.Nonnull final IdentityGovernance body) { return patch(body, null); } @@ -178,8 +217,11 @@ public IdentityGovernance patch(@jakarta.annotation.Nonnull final IdentityGovern * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link IdentityGovernance} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public IdentityGovernance patch(@jakarta.annotation.Nonnull final IdentityGovernance body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -190,8 +232,11 @@ public IdentityGovernance patch(@jakarta.annotation.Nonnull final IdentityGovern /** * Get identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -199,8 +244,11 @@ public RequestInformation toGetRequestInformation() { * Get identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -211,8 +259,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final IdentityGovernance body) { return toPatchRequestInformation(body, null); } @@ -221,8 +272,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final IdentityGovernance body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -235,8 +289,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link IdentityGovernanceRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public IdentityGovernanceRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new IdentityGovernanceRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/AccessReviewsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/AccessReviewsRequestBuilder.java index caeb39ba208..af53fcbf496 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/AccessReviewsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/AccessReviewsRequestBuilder.java @@ -29,7 +29,10 @@ public class AccessReviewsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to manage the decisions property of the microsoft.graph.accessReviewSet entity. * @return a {@link DecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public DecisionsRequestBuilder decisions() { return new DecisionsRequestBuilder(pathParameters, requestAdapter); @@ -37,7 +40,10 @@ public DecisionsRequestBuilder decisions() { /** * Provides operations to manage the definitions property of the microsoft.graph.accessReviewSet entity. * @return a {@link DefinitionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public DefinitionsRequestBuilder definitions() { return new DefinitionsRequestBuilder(pathParameters, requestAdapter); @@ -45,7 +51,10 @@ public DefinitionsRequestBuilder definitions() { /** * Provides operations to manage the historyDefinitions property of the microsoft.graph.accessReviewSet entity. * @return a {@link HistoryDefinitionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public HistoryDefinitionsRequestBuilder historyDefinitions() { return new HistoryDefinitionsRequestBuilder(pathParameters, requestAdapter); @@ -53,7 +62,10 @@ public HistoryDefinitionsRequestBuilder historyDefinitions() { /** * Provides operations to manage the instances property of the microsoft.graph.accessReviewSet entity. * @return a {@link InstancesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public InstancesRequestBuilder instances() { return new InstancesRequestBuilder(pathParameters, requestAdapter); @@ -61,7 +73,10 @@ public InstancesRequestBuilder instances() { /** * Provides operations to manage the policy property of the microsoft.graph.accessReviewSet entity. * @return a {@link PolicyRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public PolicyRequestBuilder policy() { return new PolicyRequestBuilder(pathParameters, requestAdapter); @@ -69,7 +84,10 @@ public PolicyRequestBuilder policy() { /** * Provides operations to manage the unified property of the microsoft.graph.accessReviewSet entity. * @return a {@link UnifiedRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public UnifiedRequestBuilder unified() { return new UnifiedRequestBuilder(pathParameters, requestAdapter); @@ -93,7 +111,10 @@ public AccessReviewsRequestBuilder(@jakarta.annotation.Nonnull final String rawU /** * Delete navigation property accessReviews for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -101,7 +122,10 @@ public void delete() { * Delete navigation property accessReviews for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -112,8 +136,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Get accessReviews from identityGovernance * @return a {@link AccessReviewSet} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewSet get() { return get(null); } @@ -122,8 +149,11 @@ public AccessReviewSet get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewSet} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewSet get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -135,8 +165,11 @@ public AccessReviewSet get(@jakarta.annotation.Nullable final java.util.function * @param body The request body * @return a {@link AccessReviewSet} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewSet patch(@jakarta.annotation.Nonnull final AccessReviewSet body) { return patch(body, null); } @@ -146,8 +179,11 @@ public AccessReviewSet patch(@jakarta.annotation.Nonnull final AccessReviewSet b * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewSet} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewSet patch(@jakarta.annotation.Nonnull final AccessReviewSet body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -158,8 +194,11 @@ public AccessReviewSet patch(@jakarta.annotation.Nonnull final AccessReviewSet b /** * Delete navigation property accessReviews for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -167,8 +206,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property accessReviews for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -178,8 +220,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Get accessReviews from identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -187,8 +232,11 @@ public RequestInformation toGetRequestInformation() { * Get accessReviews from identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -199,8 +247,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property accessReviews in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewSet body) { return toPatchRequestInformation(body, null); } @@ -209,8 +260,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewSet body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -223,8 +277,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessReviewsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessReviewsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessReviewsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/DecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/DecisionsRequestBuilder.java index cb9e591f9de..a14acdbd5d6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/DecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/DecisionsRequestBuilder.java @@ -28,7 +28,10 @@ public class DecisionsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -36,7 +39,10 @@ public CountRequestBuilder count() { /** * Provides operations to call the recordAllDecisions method. * @return a {@link RecordAllDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public RecordAllDecisionsRequestBuilder recordAllDecisions() { return new RecordAllDecisionsRequestBuilder(pathParameters, requestAdapter); @@ -45,8 +51,11 @@ public RecordAllDecisionsRequestBuilder recordAllDecisions() { * Provides operations to manage the decisions property of the microsoft.graph.accessReviewSet entity. * @param accessReviewInstanceDecisionItemId The unique identifier of accessReviewInstanceDecisionItem * @return a {@link AccessReviewInstanceDecisionItemItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessReviewInstanceDecisionItemItemRequestBuilder byAccessReviewInstanceDecisionItemId(@jakarta.annotation.Nonnull final String accessReviewInstanceDecisionItemId) { Objects.requireNonNull(accessReviewInstanceDecisionItemId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -73,8 +82,11 @@ public DecisionsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, * Provides operations to call the filterByCurrentUser method. * @param on Usage: on='{on}' * @return a {@link FilterByCurrentUserWithOnRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilterByCurrentUserWithOnRequestBuilder filterByCurrentUserWithOn(@jakarta.annotation.Nonnull final String on) { Objects.requireNonNull(on); return new FilterByCurrentUserWithOnRequestBuilder(pathParameters, requestAdapter, on); @@ -83,8 +95,11 @@ public FilterByCurrentUserWithOnRequestBuilder filterByCurrentUserWithOn(@jakart * Represents a Microsoft Entra access review decision on an instance of a review. * @return a {@link AccessReviewInstanceDecisionItemCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItemCollectionResponse get() { return get(null); } @@ -93,8 +108,11 @@ public AccessReviewInstanceDecisionItemCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstanceDecisionItemCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItemCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -106,8 +124,11 @@ public AccessReviewInstanceDecisionItemCollectionResponse get(@jakarta.annotatio * @param body The request body * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem post(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body) { return post(body, null); } @@ -117,8 +138,11 @@ public AccessReviewInstanceDecisionItem post(@jakarta.annotation.Nonnull final A * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem post(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -129,8 +153,11 @@ public AccessReviewInstanceDecisionItem post(@jakarta.annotation.Nonnull final A /** * Represents a Microsoft Entra access review decision on an instance of a review. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -138,8 +165,11 @@ public RequestInformation toGetRequestInformation() { * Represents a Microsoft Entra access review decision on an instance of a review. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -150,8 +180,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to decisions for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body) { return toPostRequestInformation(body, null); } @@ -160,8 +193,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -174,8 +210,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link DecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public DecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new DecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/count/CountRequestBuilder.java index dab514182af..84f35da047f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java index 46184520ea4..6a08a777c0c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java @@ -41,9 +41,12 @@ public FilterByCurrentUserWithOnRequestBuilder(@jakarta.annotation.Nonnull final * Retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. * @return a {@link FilterByCurrentUserWithOnGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public FilterByCurrentUserWithOnGetResponse get() { return get(null); } @@ -52,9 +55,12 @@ public FilterByCurrentUserWithOnGetResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link FilterByCurrentUserWithOnGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public FilterByCurrentUserWithOnGetResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -64,8 +70,11 @@ public FilterByCurrentUserWithOnGetResponse get(@jakarta.annotation.Nullable fin /** * Retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -73,8 +82,11 @@ public RequestInformation toGetRequestInformation() { * Retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -85,8 +97,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link FilterByCurrentUserWithOnRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilterByCurrentUserWithOnRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new FilterByCurrentUserWithOnRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/AccessReviewInstanceDecisionItemItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/AccessReviewInstanceDecisionItemItemRequestBuilder.java index f512813ced0..9cf3c394d9a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/AccessReviewInstanceDecisionItemItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/AccessReviewInstanceDecisionItemItemRequestBuilder.java @@ -25,7 +25,10 @@ public class AccessReviewInstanceDecisionItemItemRequestBuilder extends BaseRequ /** * Provides operations to manage the insights property of the microsoft.graph.accessReviewInstanceDecisionItem entity. * @return a {@link InsightsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public InsightsRequestBuilder insights() { return new InsightsRequestBuilder(pathParameters, requestAdapter); @@ -33,7 +36,10 @@ public InsightsRequestBuilder insights() { /** * Provides operations to manage the instance property of the microsoft.graph.accessReviewInstanceDecisionItem entity. * @return a {@link InstanceRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public InstanceRequestBuilder instance() { return new InstanceRequestBuilder(pathParameters, requestAdapter); @@ -57,7 +63,10 @@ public AccessReviewInstanceDecisionItemItemRequestBuilder(@jakarta.annotation.No /** * Delete navigation property decisions for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -65,7 +74,10 @@ public void delete() { * Delete navigation property decisions for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -76,8 +88,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Represents a Microsoft Entra access review decision on an instance of a review. * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem get() { return get(null); } @@ -86,8 +101,11 @@ public AccessReviewInstanceDecisionItem get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -99,8 +117,11 @@ public AccessReviewInstanceDecisionItem get(@jakarta.annotation.Nullable final j * @param body The request body * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem patch(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body) { return patch(body, null); } @@ -110,8 +131,11 @@ public AccessReviewInstanceDecisionItem patch(@jakarta.annotation.Nonnull final * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem patch(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -122,8 +146,11 @@ public AccessReviewInstanceDecisionItem patch(@jakarta.annotation.Nonnull final /** * Delete navigation property decisions for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -131,8 +158,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property decisions for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -142,8 +172,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Represents a Microsoft Entra access review decision on an instance of a review. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -151,8 +184,11 @@ public RequestInformation toGetRequestInformation() { * Represents a Microsoft Entra access review decision on an instance of a review. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -163,8 +199,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property decisions in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body) { return toPatchRequestInformation(body, null); } @@ -173,8 +212,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -187,8 +229,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessReviewInstanceDecisionItemItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessReviewInstanceDecisionItemItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessReviewInstanceDecisionItemItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/insights/InsightsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/insights/InsightsRequestBuilder.java index fef165fb883..ef8bf18b691 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/insights/InsightsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/insights/InsightsRequestBuilder.java @@ -26,7 +26,10 @@ public class InsightsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the insights property of the microsoft.graph.accessReviewInstanceDecisionItem entity. * @param governanceInsightId The unique identifier of governanceInsight * @return a {@link GovernanceInsightItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public GovernanceInsightItemRequestBuilder byGovernanceInsightId(@jakarta.annotation.Nonnull final String governanceInsightId) { Objects.requireNonNull(governanceInsightId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public InsightsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @return a {@link GovernanceInsightCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsightCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public GovernanceInsightCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GovernanceInsightCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsightCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public GovernanceInsightCollectionResponse get(@jakarta.annotation.Nullable fina * @param body The request body * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight post(@jakarta.annotation.Nonnull final GovernanceInsight body) { return post(body, null); } @@ -97,8 +112,11 @@ public GovernanceInsight post(@jakarta.annotation.Nonnull final GovernanceInsigh * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight post(@jakarta.annotation.Nonnull final GovernanceInsight body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public GovernanceInsight post(@jakarta.annotation.Nonnull final GovernanceInsigh /** * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to insights for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GovernanceInsight body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GovernanceInsight body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link InsightsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public InsightsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new InsightsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/insights/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/insights/count/CountRequestBuilder.java index d40549dad33..8825354a8cb 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/insights/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/insights/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/insights/item/GovernanceInsightItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/insights/item/GovernanceInsightItemRequestBuilder.java index 861d49ad199..a94e37342bd 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/insights/item/GovernanceInsightItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/insights/item/GovernanceInsightItemRequestBuilder.java @@ -39,7 +39,10 @@ public GovernanceInsightItemRequestBuilder(@jakarta.annotation.Nonnull final Str /** * Delete navigation property insights for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -47,7 +50,10 @@ public void delete() { * Delete navigation property insights for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -58,8 +64,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight get() { return get(null); } @@ -68,8 +77,11 @@ public GovernanceInsight get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -81,8 +93,11 @@ public GovernanceInsight get(@jakarta.annotation.Nullable final java.util.functi * @param body The request body * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight patch(@jakarta.annotation.Nonnull final GovernanceInsight body) { return patch(body, null); } @@ -92,8 +107,11 @@ public GovernanceInsight patch(@jakarta.annotation.Nonnull final GovernanceInsig * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight patch(@jakarta.annotation.Nonnull final GovernanceInsight body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -104,8 +122,11 @@ public GovernanceInsight patch(@jakarta.annotation.Nonnull final GovernanceInsig /** * Delete navigation property insights for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -113,8 +134,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property insights for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -133,8 +160,11 @@ public RequestInformation toGetRequestInformation() { * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -145,8 +175,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property insights in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final GovernanceInsight body) { return toPatchRequestInformation(body, null); } @@ -155,8 +188,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final GovernanceInsight body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -169,8 +205,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link GovernanceInsightItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public GovernanceInsightItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new GovernanceInsightItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/InstanceRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/InstanceRequestBuilder.java index c48529d2328..e6d2d5b736b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/InstanceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/InstanceRequestBuilder.java @@ -35,7 +35,10 @@ public class InstanceRequestBuilder extends BaseRequestBuilder { /** * Provides operations to call the acceptRecommendations method. * @return a {@link AcceptRecommendationsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AcceptRecommendationsRequestBuilder acceptRecommendations() { return new AcceptRecommendationsRequestBuilder(pathParameters, requestAdapter); @@ -43,7 +46,10 @@ public AcceptRecommendationsRequestBuilder acceptRecommendations() { /** * Provides operations to call the applyDecisions method. * @return a {@link ApplyDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ApplyDecisionsRequestBuilder applyDecisions() { return new ApplyDecisionsRequestBuilder(pathParameters, requestAdapter); @@ -51,7 +57,10 @@ public ApplyDecisionsRequestBuilder applyDecisions() { /** * Provides operations to call the batchApplyCustomDataProvidedResourceDecisions method. * @return a {@link BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder batchApplyCustomDataProvidedResourceDecisions() { return new BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder(pathParameters, requestAdapter); @@ -59,7 +68,10 @@ public BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder batchApplyCus /** * Provides operations to call the batchRecordDecisions method. * @return a {@link BatchRecordDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public BatchRecordDecisionsRequestBuilder batchRecordDecisions() { return new BatchRecordDecisionsRequestBuilder(pathParameters, requestAdapter); @@ -67,7 +79,10 @@ public BatchRecordDecisionsRequestBuilder batchRecordDecisions() { /** * Provides operations to manage the contactedReviewers property of the microsoft.graph.accessReviewInstance entity. * @return a {@link ContactedReviewersRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ContactedReviewersRequestBuilder contactedReviewers() { return new ContactedReviewersRequestBuilder(pathParameters, requestAdapter); @@ -75,7 +90,10 @@ public ContactedReviewersRequestBuilder contactedReviewers() { /** * Provides operations to manage the decisions property of the microsoft.graph.accessReviewInstance entity. * @return a {@link DecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public DecisionsRequestBuilder decisions() { return new DecisionsRequestBuilder(pathParameters, requestAdapter); @@ -83,7 +101,10 @@ public DecisionsRequestBuilder decisions() { /** * Provides operations to manage the definition property of the microsoft.graph.accessReviewInstance entity. * @return a {@link DefinitionRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public DefinitionRequestBuilder definition() { return new DefinitionRequestBuilder(pathParameters, requestAdapter); @@ -91,7 +112,10 @@ public DefinitionRequestBuilder definition() { /** * Provides operations to call the resetDecisions method. * @return a {@link ResetDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ResetDecisionsRequestBuilder resetDecisions() { return new ResetDecisionsRequestBuilder(pathParameters, requestAdapter); @@ -99,7 +123,10 @@ public ResetDecisionsRequestBuilder resetDecisions() { /** * Provides operations to call the sendReminder method. * @return a {@link SendReminderRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public SendReminderRequestBuilder sendReminder() { return new SendReminderRequestBuilder(pathParameters, requestAdapter); @@ -107,7 +134,10 @@ public SendReminderRequestBuilder sendReminder() { /** * Provides operations to manage the stages property of the microsoft.graph.accessReviewInstance entity. * @return a {@link StagesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public StagesRequestBuilder stages() { return new StagesRequestBuilder(pathParameters, requestAdapter); @@ -115,7 +145,10 @@ public StagesRequestBuilder stages() { /** * Provides operations to call the stop method. * @return a {@link StopRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public StopRequestBuilder stop() { return new StopRequestBuilder(pathParameters, requestAdapter); @@ -123,7 +156,10 @@ public StopRequestBuilder stop() { /** * Provides operations to call the stopApplyDecisions method. * @return a {@link StopApplyDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public StopApplyDecisionsRequestBuilder stopApplyDecisions() { return new StopApplyDecisionsRequestBuilder(pathParameters, requestAdapter); @@ -147,7 +183,10 @@ public InstanceRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ /** * Delete navigation property instance for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -155,7 +194,10 @@ public void delete() { * Delete navigation property instance for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -166,8 +208,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * There's exactly one accessReviewInstance associated with each decision. The instance is the parent of the decision item, representing the recurrence of the access review the decision is made on. * @return a {@link AccessReviewInstance} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstance get() { return get(null); } @@ -176,8 +221,11 @@ public AccessReviewInstance get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstance} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstance get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -189,8 +237,11 @@ public AccessReviewInstance get(@jakarta.annotation.Nullable final java.util.fun * @param body The request body * @return a {@link AccessReviewInstance} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstance patch(@jakarta.annotation.Nonnull final AccessReviewInstance body) { return patch(body, null); } @@ -200,8 +251,11 @@ public AccessReviewInstance patch(@jakarta.annotation.Nonnull final AccessReview * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstance} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstance patch(@jakarta.annotation.Nonnull final AccessReviewInstance body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -212,8 +266,11 @@ public AccessReviewInstance patch(@jakarta.annotation.Nonnull final AccessReview /** * Delete navigation property instance for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -221,8 +278,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property instance for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -232,8 +292,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * There's exactly one accessReviewInstance associated with each decision. The instance is the parent of the decision item, representing the recurrence of the access review the decision is made on. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -241,8 +304,11 @@ public RequestInformation toGetRequestInformation() { * There's exactly one accessReviewInstance associated with each decision. The instance is the parent of the decision item, representing the recurrence of the access review the decision is made on. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -253,8 +319,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property instance in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstance body) { return toPatchRequestInformation(body, null); } @@ -263,8 +332,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstance body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -277,8 +349,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link InstanceRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public InstanceRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new InstanceRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/acceptrecommendations/AcceptRecommendationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/acceptrecommendations/AcceptRecommendationsRequestBuilder.java index 752291161f6..0f0c72087ea 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/acceptrecommendations/AcceptRecommendationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/acceptrecommendations/AcceptRecommendationsRequestBuilder.java @@ -37,8 +37,11 @@ public AcceptRecommendationsRequestBuilder(@jakarta.annotation.Nonnull final Str /** * Allows the acceptance of recommendations on all accessReviewInstanceDecisionItem objects that haven't been reviewed for an accessReviewInstance object for which the calling user is a reviewer. Recommendations are generated if recommendationsEnabled is true on the accessReviewScheduleDefinition object. If there isn't a recommendation on an accessReviewInstanceDecisionItem object no decision will be recorded. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * Allows the acceptance of recommendations on all accessReviewInstanceDecisionItem objects that haven't been reviewed for an accessReviewInstance object for which the calling user is a reviewer. Recommendations are generated if recommendationsEnabled is true on the accessReviewScheduleDefinition object. If there isn't a recommendation on an accessReviewInstanceDecisionItem object no decision will be recorded. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Allows the acceptance of recommendations on all accessReviewInstanceDecisionItem objects that haven't been reviewed for an accessReviewInstance object for which the calling user is a reviewer. Recommendations are generated if recommendationsEnabled is true on the accessReviewScheduleDefinition object. If there isn't a recommendation on an accessReviewInstanceDecisionItem object no decision will be recorded. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * Allows the acceptance of recommendations on all accessReviewInstanceDecisionItem objects that haven't been reviewed for an accessReviewInstance object for which the calling user is a reviewer. Recommendations are generated if recommendationsEnabled is true on the accessReviewScheduleDefinition object. If there isn't a recommendation on an accessReviewInstanceDecisionItem object no decision will be recorded. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AcceptRecommendationsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AcceptRecommendationsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AcceptRecommendationsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/applydecisions/ApplyDecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/applydecisions/ApplyDecisionsRequestBuilder.java index c73553c744f..97367192af8 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/applydecisions/ApplyDecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/applydecisions/ApplyDecisionsRequestBuilder.java @@ -37,8 +37,11 @@ public ApplyDecisionsRequestBuilder(@jakarta.annotation.Nonnull final String raw /** * Apply review decisions on an accessReviewInstance if the decisions were not applied automatically because the autoApplyDecisionsEnabled property is false in the review's accessReviewScheduleSettings. The status of the accessReviewInstance must be Completed to call this method. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * Apply review decisions on an accessReviewInstance if the decisions were not applied automatically because the autoApplyDecisionsEnabled property is false in the review's accessReviewScheduleSettings. The status of the accessReviewInstance must be Completed to call this method. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Apply review decisions on an accessReviewInstance if the decisions were not applied automatically because the autoApplyDecisionsEnabled property is false in the review's accessReviewScheduleSettings. The status of the accessReviewInstance must be Completed to call this method. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * Apply review decisions on an accessReviewInstance if the decisions were not applied automatically because the autoApplyDecisionsEnabled property is false in the review's accessReviewScheduleSettings. The status of the accessReviewInstance must be Completed to call this method. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ApplyDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ApplyDecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ApplyDecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/batchapplycustomdataprovidedresourcedecisions/BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/batchapplycustomdataprovidedresourcedecisions/BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder.java index 52032d2a279..4bea6c476c0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/batchapplycustomdataprovidedresourcedecisions/BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/batchapplycustomdataprovidedresourcedecisions/BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder.java @@ -38,8 +38,11 @@ public BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder(@jakarta.anno * Enables reviewers to set the applyResult and applyDescription on all accessReviewInstanceDecisionItem objects in a specific accessReviewInstance in batches by using customDataProvidedResourceId. NOTE: The access review instance must be in an Applying state. * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final BatchApplyCustomDataProvidedResourceDecisionsPostRequestBody body) { post(body, null); } @@ -48,8 +51,11 @@ public void post(@jakarta.annotation.Nonnull final BatchApplyCustomDataProvidedR * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final BatchApplyCustomDataProvidedResourceDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -61,8 +67,11 @@ public void post(@jakarta.annotation.Nonnull final BatchApplyCustomDataProvidedR * Enables reviewers to set the applyResult and applyDescription on all accessReviewInstanceDecisionItem objects in a specific accessReviewInstance in batches by using customDataProvidedResourceId. NOTE: The access review instance must be in an Applying state. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BatchApplyCustomDataProvidedResourceDecisionsPostRequestBody body) { return toPostRequestInformation(body, null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BatchApplyCustomDataProvidedResourceDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -85,8 +97,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/batchrecorddecisions/BatchRecordDecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/batchrecorddecisions/BatchRecordDecisionsRequestBuilder.java index 4bc3eaeae61..c4fa38c2a55 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/batchrecorddecisions/BatchRecordDecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/batchrecorddecisions/BatchRecordDecisionsRequestBuilder.java @@ -38,8 +38,11 @@ public BatchRecordDecisionsRequestBuilder(@jakarta.annotation.Nonnull final Stri * Enables reviewers to review all accessReviewInstanceDecisionItem objects in a specific pending accessReviewInstance in batches by using principalId, resourceId, or neither. * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostRequestBody body) { post(body, null); } @@ -48,8 +51,11 @@ public void post(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostReque * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -61,8 +67,11 @@ public void post(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostReque * Enables reviewers to review all accessReviewInstanceDecisionItem objects in a specific pending accessReviewInstance in batches by using principalId, resourceId, or neither. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostRequestBody body) { return toPostRequestInformation(body, null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -85,8 +97,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link BatchRecordDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public BatchRecordDecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new BatchRecordDecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/contactedreviewers/ContactedReviewersRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/contactedreviewers/ContactedReviewersRequestBuilder.java index a13e3b6c92e..86cf261505d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/contactedreviewers/ContactedReviewersRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/contactedreviewers/ContactedReviewersRequestBuilder.java @@ -26,7 +26,10 @@ public class ContactedReviewersRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the contactedReviewers property of the microsoft.graph.accessReviewInstance entity. * @param accessReviewReviewerId The unique identifier of accessReviewReviewer * @return a {@link AccessReviewReviewerItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessReviewReviewerItemRequestBuilder byAccessReviewReviewerId(@jakarta.annotation.Nonnull final String accessReviewReviewerId) { Objects.requireNonNull(accessReviewReviewerId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public ContactedReviewersRequestBuilder(@jakarta.annotation.Nonnull final String * Returns the collection of reviewers who were contacted to complete this review. While the reviewers and fallbackReviewers properties of the accessReviewScheduleDefinition might specify group owners or managers as reviewers, contactedReviewers returns their individual identities. Supports $select. Read-only. * @return a {@link AccessReviewReviewerCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewReviewerCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public AccessReviewReviewerCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewReviewerCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewReviewerCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public AccessReviewReviewerCollectionResponse get(@jakarta.annotation.Nullable f * @param body The request body * @return a {@link AccessReviewReviewer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewReviewer post(@jakarta.annotation.Nonnull final AccessReviewReviewer body) { return post(body, null); } @@ -97,8 +112,11 @@ public AccessReviewReviewer post(@jakarta.annotation.Nonnull final AccessReviewR * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewReviewer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewReviewer post(@jakarta.annotation.Nonnull final AccessReviewReviewer body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public AccessReviewReviewer post(@jakarta.annotation.Nonnull final AccessReviewR /** * Returns the collection of reviewers who were contacted to complete this review. While the reviewers and fallbackReviewers properties of the accessReviewScheduleDefinition might specify group owners or managers as reviewers, contactedReviewers returns their individual identities. Supports $select. Read-only. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Returns the collection of reviewers who were contacted to complete this review. While the reviewers and fallbackReviewers properties of the accessReviewScheduleDefinition might specify group owners or managers as reviewers, contactedReviewers returns their individual identities. Supports $select. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to contactedReviewers for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewReviewer body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewReviewer body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ContactedReviewersRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ContactedReviewersRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ContactedReviewersRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/contactedreviewers/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/contactedreviewers/count/CountRequestBuilder.java index d1dc4db3b69..81764c53640 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/contactedreviewers/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/contactedreviewers/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/contactedreviewers/item/AccessReviewReviewerItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/contactedreviewers/item/AccessReviewReviewerItemRequestBuilder.java index 4a82d9b7d9a..fc546d8d376 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/contactedreviewers/item/AccessReviewReviewerItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/contactedreviewers/item/AccessReviewReviewerItemRequestBuilder.java @@ -39,7 +39,10 @@ public AccessReviewReviewerItemRequestBuilder(@jakarta.annotation.Nonnull final /** * Delete navigation property contactedReviewers for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -47,7 +50,10 @@ public void delete() { * Delete navigation property contactedReviewers for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -58,8 +64,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Returns the collection of reviewers who were contacted to complete this review. While the reviewers and fallbackReviewers properties of the accessReviewScheduleDefinition might specify group owners or managers as reviewers, contactedReviewers returns their individual identities. Supports $select. Read-only. * @return a {@link AccessReviewReviewer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewReviewer get() { return get(null); } @@ -68,8 +77,11 @@ public AccessReviewReviewer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewReviewer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewReviewer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -81,8 +93,11 @@ public AccessReviewReviewer get(@jakarta.annotation.Nullable final java.util.fun * @param body The request body * @return a {@link AccessReviewReviewer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewReviewer patch(@jakarta.annotation.Nonnull final AccessReviewReviewer body) { return patch(body, null); } @@ -92,8 +107,11 @@ public AccessReviewReviewer patch(@jakarta.annotation.Nonnull final AccessReview * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewReviewer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewReviewer patch(@jakarta.annotation.Nonnull final AccessReviewReviewer body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -104,8 +122,11 @@ public AccessReviewReviewer patch(@jakarta.annotation.Nonnull final AccessReview /** * Delete navigation property contactedReviewers for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -113,8 +134,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property contactedReviewers for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Returns the collection of reviewers who were contacted to complete this review. While the reviewers and fallbackReviewers properties of the accessReviewScheduleDefinition might specify group owners or managers as reviewers, contactedReviewers returns their individual identities. Supports $select. Read-only. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -133,8 +160,11 @@ public RequestInformation toGetRequestInformation() { * Returns the collection of reviewers who were contacted to complete this review. While the reviewers and fallbackReviewers properties of the accessReviewScheduleDefinition might specify group owners or managers as reviewers, contactedReviewers returns their individual identities. Supports $select. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -145,8 +175,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property contactedReviewers in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewReviewer body) { return toPatchRequestInformation(body, null); } @@ -155,8 +188,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewReviewer body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -169,8 +205,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessReviewReviewerItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessReviewReviewerItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessReviewReviewerItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/decisions/DecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/decisions/DecisionsRequestBuilder.java index f2bc0f5da49..1d924a925ee 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/decisions/DecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/decisions/DecisionsRequestBuilder.java @@ -28,7 +28,10 @@ public class DecisionsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -36,7 +39,10 @@ public CountRequestBuilder count() { /** * Provides operations to call the recordAllDecisions method. * @return a {@link RecordAllDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public RecordAllDecisionsRequestBuilder recordAllDecisions() { return new RecordAllDecisionsRequestBuilder(pathParameters, requestAdapter); @@ -45,8 +51,11 @@ public RecordAllDecisionsRequestBuilder recordAllDecisions() { * Provides operations to manage the decisions property of the microsoft.graph.accessReviewInstance entity. * @param accessReviewInstanceDecisionItemId1 The unique identifier of accessReviewInstanceDecisionItem * @return a {@link AccessReviewInstanceDecisionItemItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessReviewInstanceDecisionItemItemRequestBuilder byAccessReviewInstanceDecisionItemId1(@jakarta.annotation.Nonnull final String accessReviewInstanceDecisionItemId1) { Objects.requireNonNull(accessReviewInstanceDecisionItemId1); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -73,8 +82,11 @@ public DecisionsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, * Provides operations to call the filterByCurrentUser method. * @param on Usage: on='{on}' * @return a {@link FilterByCurrentUserWithOnRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilterByCurrentUserWithOnRequestBuilder filterByCurrentUserWithOn(@jakarta.annotation.Nonnull final String on) { Objects.requireNonNull(on); return new FilterByCurrentUserWithOnRequestBuilder(pathParameters, requestAdapter, on); @@ -83,8 +95,11 @@ public FilterByCurrentUserWithOnRequestBuilder filterByCurrentUserWithOn(@jakart * Each user reviewed in an accessReviewInstance has a decision item representing if they were approved, denied, or not yet reviewed. * @return a {@link AccessReviewInstanceDecisionItemCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItemCollectionResponse get() { return get(null); } @@ -93,8 +108,11 @@ public AccessReviewInstanceDecisionItemCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstanceDecisionItemCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItemCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -106,8 +124,11 @@ public AccessReviewInstanceDecisionItemCollectionResponse get(@jakarta.annotatio * @param body The request body * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem post(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body) { return post(body, null); } @@ -117,8 +138,11 @@ public AccessReviewInstanceDecisionItem post(@jakarta.annotation.Nonnull final A * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem post(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -129,8 +153,11 @@ public AccessReviewInstanceDecisionItem post(@jakarta.annotation.Nonnull final A /** * Each user reviewed in an accessReviewInstance has a decision item representing if they were approved, denied, or not yet reviewed. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -138,8 +165,11 @@ public RequestInformation toGetRequestInformation() { * Each user reviewed in an accessReviewInstance has a decision item representing if they were approved, denied, or not yet reviewed. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -150,8 +180,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to decisions for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body) { return toPostRequestInformation(body, null); } @@ -160,8 +193,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -174,8 +210,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link DecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public DecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new DecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/decisions/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/decisions/count/CountRequestBuilder.java index a50375d589e..afbf4195ad2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/decisions/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/decisions/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/decisions/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/decisions/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java index a484d876d03..60ccf0d8b67 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/decisions/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/decisions/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java @@ -41,9 +41,12 @@ public FilterByCurrentUserWithOnRequestBuilder(@jakarta.annotation.Nonnull final * Retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. * @return a {@link FilterByCurrentUserWithOnGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public FilterByCurrentUserWithOnGetResponse get() { return get(null); } @@ -52,9 +55,12 @@ public FilterByCurrentUserWithOnGetResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link FilterByCurrentUserWithOnGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public FilterByCurrentUserWithOnGetResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -64,8 +70,11 @@ public FilterByCurrentUserWithOnGetResponse get(@jakarta.annotation.Nullable fin /** * Retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -73,8 +82,11 @@ public RequestInformation toGetRequestInformation() { * Retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -85,8 +97,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link FilterByCurrentUserWithOnRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilterByCurrentUserWithOnRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new FilterByCurrentUserWithOnRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/decisions/item/AccessReviewInstanceDecisionItemItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/decisions/item/AccessReviewInstanceDecisionItemItemRequestBuilder.java index c9c28e623ca..8e2eac6c1f9 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/decisions/item/AccessReviewInstanceDecisionItemItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/decisions/item/AccessReviewInstanceDecisionItemItemRequestBuilder.java @@ -24,7 +24,10 @@ public class AccessReviewInstanceDecisionItemItemRequestBuilder extends BaseRequ /** * Provides operations to manage the insights property of the microsoft.graph.accessReviewInstanceDecisionItem entity. * @return a {@link InsightsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public InsightsRequestBuilder insights() { return new InsightsRequestBuilder(pathParameters, requestAdapter); @@ -48,7 +51,10 @@ public AccessReviewInstanceDecisionItemItemRequestBuilder(@jakarta.annotation.No /** * Delete navigation property decisions for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -56,7 +62,10 @@ public void delete() { * Delete navigation property decisions for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -67,8 +76,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Each user reviewed in an accessReviewInstance has a decision item representing if they were approved, denied, or not yet reviewed. * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem get() { return get(null); } @@ -77,8 +89,11 @@ public AccessReviewInstanceDecisionItem get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -90,8 +105,11 @@ public AccessReviewInstanceDecisionItem get(@jakarta.annotation.Nullable final j * @param body The request body * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem patch(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body) { return patch(body, null); } @@ -101,8 +119,11 @@ public AccessReviewInstanceDecisionItem patch(@jakarta.annotation.Nonnull final * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem patch(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -113,8 +134,11 @@ public AccessReviewInstanceDecisionItem patch(@jakarta.annotation.Nonnull final /** * Delete navigation property decisions for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -122,8 +146,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property decisions for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -133,8 +160,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Each user reviewed in an accessReviewInstance has a decision item representing if they were approved, denied, or not yet reviewed. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -142,8 +172,11 @@ public RequestInformation toGetRequestInformation() { * Each user reviewed in an accessReviewInstance has a decision item representing if they were approved, denied, or not yet reviewed. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -154,8 +187,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property decisions in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body) { return toPatchRequestInformation(body, null); } @@ -164,8 +200,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -178,8 +217,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessReviewInstanceDecisionItemItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessReviewInstanceDecisionItemItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessReviewInstanceDecisionItemItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/decisions/item/insights/InsightsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/decisions/item/insights/InsightsRequestBuilder.java index e5d0d8a72a2..1d4b5bffd8f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/decisions/item/insights/InsightsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/decisions/item/insights/InsightsRequestBuilder.java @@ -26,7 +26,10 @@ public class InsightsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the insights property of the microsoft.graph.accessReviewInstanceDecisionItem entity. * @param governanceInsightId The unique identifier of governanceInsight * @return a {@link GovernanceInsightItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public GovernanceInsightItemRequestBuilder byGovernanceInsightId(@jakarta.annotation.Nonnull final String governanceInsightId) { Objects.requireNonNull(governanceInsightId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public InsightsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @return a {@link GovernanceInsightCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsightCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public GovernanceInsightCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GovernanceInsightCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsightCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public GovernanceInsightCollectionResponse get(@jakarta.annotation.Nullable fina * @param body The request body * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight post(@jakarta.annotation.Nonnull final GovernanceInsight body) { return post(body, null); } @@ -97,8 +112,11 @@ public GovernanceInsight post(@jakarta.annotation.Nonnull final GovernanceInsigh * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight post(@jakarta.annotation.Nonnull final GovernanceInsight body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public GovernanceInsight post(@jakarta.annotation.Nonnull final GovernanceInsigh /** * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to insights for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GovernanceInsight body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GovernanceInsight body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link InsightsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public InsightsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new InsightsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/decisions/item/insights/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/decisions/item/insights/count/CountRequestBuilder.java index 78d8a21a9e8..604c676f66d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/decisions/item/insights/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/decisions/item/insights/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/decisions/item/insights/item/GovernanceInsightItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/decisions/item/insights/item/GovernanceInsightItemRequestBuilder.java index bf8f02c12e5..03e21bd4b82 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/decisions/item/insights/item/GovernanceInsightItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/decisions/item/insights/item/GovernanceInsightItemRequestBuilder.java @@ -39,7 +39,10 @@ public GovernanceInsightItemRequestBuilder(@jakarta.annotation.Nonnull final Str /** * Delete navigation property insights for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -47,7 +50,10 @@ public void delete() { * Delete navigation property insights for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -58,8 +64,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight get() { return get(null); } @@ -68,8 +77,11 @@ public GovernanceInsight get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -81,8 +93,11 @@ public GovernanceInsight get(@jakarta.annotation.Nullable final java.util.functi * @param body The request body * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight patch(@jakarta.annotation.Nonnull final GovernanceInsight body) { return patch(body, null); } @@ -92,8 +107,11 @@ public GovernanceInsight patch(@jakarta.annotation.Nonnull final GovernanceInsig * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight patch(@jakarta.annotation.Nonnull final GovernanceInsight body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -104,8 +122,11 @@ public GovernanceInsight patch(@jakarta.annotation.Nonnull final GovernanceInsig /** * Delete navigation property insights for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -113,8 +134,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property insights for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -133,8 +160,11 @@ public RequestInformation toGetRequestInformation() { * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -145,8 +175,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property insights in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final GovernanceInsight body) { return toPatchRequestInformation(body, null); } @@ -155,8 +188,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final GovernanceInsight body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -169,8 +205,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link GovernanceInsightItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public GovernanceInsightItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new GovernanceInsightItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/decisions/recordalldecisions/RecordAllDecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/decisions/recordalldecisions/RecordAllDecisionsRequestBuilder.java index c32839c0a50..790046f3a86 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/decisions/recordalldecisions/RecordAllDecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/decisions/recordalldecisions/RecordAllDecisionsRequestBuilder.java @@ -38,8 +38,11 @@ public RecordAllDecisionsRequestBuilder(@jakarta.annotation.Nonnull final String * As a reviewer of an access review, record a decision for an accessReviewInstanceDecisionItem that is assigned to you and that matches the principal or resource IDs specified. If no IDs are specified, the decisions will apply to every accessReviewInstanceDecisionItem for which you are the reviewer. * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequestBody body) { post(body, null); } @@ -48,8 +51,11 @@ public void post(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequest * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -61,8 +67,11 @@ public void post(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequest * As a reviewer of an access review, record a decision for an accessReviewInstanceDecisionItem that is assigned to you and that matches the principal or resource IDs specified. If no IDs are specified, the decisions will apply to every accessReviewInstanceDecisionItem for which you are the reviewer. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequestBody body) { return toPostRequestInformation(body, null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -85,8 +97,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RecordAllDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RecordAllDecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RecordAllDecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/definition/DefinitionRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/definition/DefinitionRequestBuilder.java index b3a82962d12..ef01d5db0d5 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/definition/DefinitionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/definition/DefinitionRequestBuilder.java @@ -40,8 +40,11 @@ public DefinitionRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, * There's exactly one accessReviewScheduleDefinition associated with each instance. It's the parent schedule for the instance, where instances are created for each recurrence of a review definition and each group selected to review by the definition. * @return a {@link AccessReviewScheduleDefinition} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewScheduleDefinition get() { return get(null); } @@ -50,8 +53,11 @@ public AccessReviewScheduleDefinition get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewScheduleDefinition} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewScheduleDefinition get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public AccessReviewScheduleDefinition get(@jakarta.annotation.Nullable final jav /** * There's exactly one accessReviewScheduleDefinition associated with each instance. It's the parent schedule for the instance, where instances are created for each recurrence of a review definition and each group selected to review by the definition. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * There's exactly one accessReviewScheduleDefinition associated with each instance. It's the parent schedule for the instance, where instances are created for each recurrence of a review definition and each group selected to review by the definition. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link DefinitionRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public DefinitionRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new DefinitionRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/resetdecisions/ResetDecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/resetdecisions/ResetDecisionsRequestBuilder.java index 6f30d2d1391..7aa833947ce 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/resetdecisions/ResetDecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/resetdecisions/ResetDecisionsRequestBuilder.java @@ -37,8 +37,11 @@ public ResetDecisionsRequestBuilder(@jakarta.annotation.Nonnull final String raw /** * Resets decisions of all accessReviewInstanceDecisionItem objects on an accessReviewInstance to notReviewed. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * Resets decisions of all accessReviewInstanceDecisionItem objects on an accessReviewInstance to notReviewed. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Resets decisions of all accessReviewInstanceDecisionItem objects on an accessReviewInstance to notReviewed. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * Resets decisions of all accessReviewInstanceDecisionItem objects on an accessReviewInstance to notReviewed. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ResetDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ResetDecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ResetDecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/sendreminder/SendReminderRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/sendreminder/SendReminderRequestBuilder.java index 0278b2cdb64..ef828a42b43 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/sendreminder/SendReminderRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/sendreminder/SendReminderRequestBuilder.java @@ -37,8 +37,11 @@ public SendReminderRequestBuilder(@jakarta.annotation.Nonnull final String rawUr /** * Send a reminder to the reviewers of a currently active accessReviewInstance. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * Send a reminder to the reviewers of a currently active accessReviewInstance. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Send a reminder to the reviewers of a currently active accessReviewInstance. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * Send a reminder to the reviewers of a currently active accessReviewInstance. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link SendReminderRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public SendReminderRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new SendReminderRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/stages/StagesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/stages/StagesRequestBuilder.java index f1ec1627c26..33a636e05d1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/stages/StagesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/stages/StagesRequestBuilder.java @@ -27,7 +27,10 @@ public class StagesRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -36,8 +39,11 @@ public CountRequestBuilder count() { * Provides operations to manage the stages property of the microsoft.graph.accessReviewInstance entity. * @param accessReviewStageId The unique identifier of accessReviewStage * @return a {@link AccessReviewStageItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessReviewStageItemRequestBuilder byAccessReviewStageId(@jakarta.annotation.Nonnull final String accessReviewStageId) { Objects.requireNonNull(accessReviewStageId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -64,8 +70,11 @@ public StagesRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ja * Provides operations to call the filterByCurrentUser method. * @param on Usage: on='{on}' * @return a {@link FilterByCurrentUserWithOnRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilterByCurrentUserWithOnRequestBuilder filterByCurrentUserWithOn(@jakarta.annotation.Nonnull final String on) { Objects.requireNonNull(on); return new FilterByCurrentUserWithOnRequestBuilder(pathParameters, requestAdapter, on); @@ -74,8 +83,11 @@ public FilterByCurrentUserWithOnRequestBuilder filterByCurrentUserWithOn(@jakart * If the instance has multiple stages, this returns the collection of stages. A new stage will only be created when the previous stage ends. The existence, number, and settings of stages on a review instance are created based on the accessReviewStageSettings on the parent accessReviewScheduleDefinition. * @return a {@link AccessReviewStageCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewStageCollectionResponse get() { return get(null); } @@ -84,8 +96,11 @@ public AccessReviewStageCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewStageCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewStageCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -97,8 +112,11 @@ public AccessReviewStageCollectionResponse get(@jakarta.annotation.Nullable fina * @param body The request body * @return a {@link AccessReviewStage} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewStage post(@jakarta.annotation.Nonnull final AccessReviewStage body) { return post(body, null); } @@ -108,8 +126,11 @@ public AccessReviewStage post(@jakarta.annotation.Nonnull final AccessReviewStag * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewStage} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewStage post(@jakarta.annotation.Nonnull final AccessReviewStage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -120,8 +141,11 @@ public AccessReviewStage post(@jakarta.annotation.Nonnull final AccessReviewStag /** * If the instance has multiple stages, this returns the collection of stages. A new stage will only be created when the previous stage ends. The existence, number, and settings of stages on a review instance are created based on the accessReviewStageSettings on the parent accessReviewScheduleDefinition. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -129,8 +153,11 @@ public RequestInformation toGetRequestInformation() { * If the instance has multiple stages, this returns the collection of stages. A new stage will only be created when the previous stage ends. The existence, number, and settings of stages on a review instance are created based on the accessReviewStageSettings on the parent accessReviewScheduleDefinition. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -141,8 +168,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to stages for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewStage body) { return toPostRequestInformation(body, null); } @@ -151,8 +181,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewStage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -165,8 +198,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link StagesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public StagesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new StagesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/stages/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/stages/count/CountRequestBuilder.java index c5d1f3aea0e..728e3f175fc 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/stages/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/stages/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/stages/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/stages/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java index be7970146c0..9f0b4e904e4 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/stages/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/stages/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java @@ -41,9 +41,12 @@ public FilterByCurrentUserWithOnRequestBuilder(@jakarta.annotation.Nonnull final * Return all accessReviewStage objects on a given accessReviewInstance where the calling user is a reviewer on one or more accessReviewInstanceDecisionItem objects. * @return a {@link FilterByCurrentUserWithOnGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public FilterByCurrentUserWithOnGetResponse get() { return get(null); } @@ -52,9 +55,12 @@ public FilterByCurrentUserWithOnGetResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link FilterByCurrentUserWithOnGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public FilterByCurrentUserWithOnGetResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -64,8 +70,11 @@ public FilterByCurrentUserWithOnGetResponse get(@jakarta.annotation.Nullable fin /** * Return all accessReviewStage objects on a given accessReviewInstance where the calling user is a reviewer on one or more accessReviewInstanceDecisionItem objects. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -73,8 +82,11 @@ public RequestInformation toGetRequestInformation() { * Return all accessReviewStage objects on a given accessReviewInstance where the calling user is a reviewer on one or more accessReviewInstanceDecisionItem objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -85,8 +97,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link FilterByCurrentUserWithOnRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilterByCurrentUserWithOnRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new FilterByCurrentUserWithOnRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/stages/item/AccessReviewStageItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/stages/item/AccessReviewStageItemRequestBuilder.java index d6eddd45a7c..ebd22e19019 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/stages/item/AccessReviewStageItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/stages/item/AccessReviewStageItemRequestBuilder.java @@ -27,7 +27,10 @@ public class AccessReviewStageItemRequestBuilder extends BaseRequestBuilder { /** * Provides operations to call the acceptRecommendations method. * @return a {@link AcceptRecommendationsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AcceptRecommendationsRequestBuilder acceptRecommendations() { return new AcceptRecommendationsRequestBuilder(pathParameters, requestAdapter); @@ -35,7 +38,10 @@ public AcceptRecommendationsRequestBuilder acceptRecommendations() { /** * Provides operations to call the batchRecordDecisions method. * @return a {@link BatchRecordDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public BatchRecordDecisionsRequestBuilder batchRecordDecisions() { return new BatchRecordDecisionsRequestBuilder(pathParameters, requestAdapter); @@ -43,7 +49,10 @@ public BatchRecordDecisionsRequestBuilder batchRecordDecisions() { /** * Provides operations to manage the decisions property of the microsoft.graph.accessReviewStage entity. * @return a {@link DecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public DecisionsRequestBuilder decisions() { return new DecisionsRequestBuilder(pathParameters, requestAdapter); @@ -51,7 +60,10 @@ public DecisionsRequestBuilder decisions() { /** * Provides operations to call the stop method. * @return a {@link StopRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public StopRequestBuilder stop() { return new StopRequestBuilder(pathParameters, requestAdapter); @@ -75,7 +87,10 @@ public AccessReviewStageItemRequestBuilder(@jakarta.annotation.Nonnull final Str /** * Delete navigation property stages for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -83,7 +98,10 @@ public void delete() { * Delete navigation property stages for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -94,8 +112,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * If the instance has multiple stages, this returns the collection of stages. A new stage will only be created when the previous stage ends. The existence, number, and settings of stages on a review instance are created based on the accessReviewStageSettings on the parent accessReviewScheduleDefinition. * @return a {@link AccessReviewStage} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewStage get() { return get(null); } @@ -104,8 +125,11 @@ public AccessReviewStage get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewStage} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewStage get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -117,8 +141,11 @@ public AccessReviewStage get(@jakarta.annotation.Nullable final java.util.functi * @param body The request body * @return a {@link AccessReviewStage} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewStage patch(@jakarta.annotation.Nonnull final AccessReviewStage body) { return patch(body, null); } @@ -128,8 +155,11 @@ public AccessReviewStage patch(@jakarta.annotation.Nonnull final AccessReviewSta * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewStage} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewStage patch(@jakarta.annotation.Nonnull final AccessReviewStage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -140,8 +170,11 @@ public AccessReviewStage patch(@jakarta.annotation.Nonnull final AccessReviewSta /** * Delete navigation property stages for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -149,8 +182,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property stages for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -160,8 +196,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * If the instance has multiple stages, this returns the collection of stages. A new stage will only be created when the previous stage ends. The existence, number, and settings of stages on a review instance are created based on the accessReviewStageSettings on the parent accessReviewScheduleDefinition. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -169,8 +208,11 @@ public RequestInformation toGetRequestInformation() { * If the instance has multiple stages, this returns the collection of stages. A new stage will only be created when the previous stage ends. The existence, number, and settings of stages on a review instance are created based on the accessReviewStageSettings on the parent accessReviewScheduleDefinition. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -181,8 +223,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property stages in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewStage body) { return toPatchRequestInformation(body, null); } @@ -191,8 +236,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewStage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -205,8 +253,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessReviewStageItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessReviewStageItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessReviewStageItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/stages/item/acceptrecommendations/AcceptRecommendationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/stages/item/acceptrecommendations/AcceptRecommendationsRequestBuilder.java index 253d4660ebd..49ce7165986 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/stages/item/acceptrecommendations/AcceptRecommendationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/stages/item/acceptrecommendations/AcceptRecommendationsRequestBuilder.java @@ -37,8 +37,11 @@ public AcceptRecommendationsRequestBuilder(@jakarta.annotation.Nonnull final Str /** * Accept the recommendations on all accessReviewInstanceDecisionItem objects that haven't been reviewed within a single accessReviewStage of a multi-stage accessReviewInstance. Recommendations are generated if recommendationsEnabled is true on the accessReviewScheduleDefinition object. If there's no recommendation on an accessReviewInstanceDecisionItem object, no decision is recorded. This action accepts recommendations for the decisions in a specific stage only, unlike accessReviewInstance: acceptRecommendations, which operates across the entire instance. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * Accept the recommendations on all accessReviewInstanceDecisionItem objects that haven't been reviewed within a single accessReviewStage of a multi-stage accessReviewInstance. Recommendations are generated if recommendationsEnabled is true on the accessReviewScheduleDefinition object. If there's no recommendation on an accessReviewInstanceDecisionItem object, no decision is recorded. This action accepts recommendations for the decisions in a specific stage only, unlike accessReviewInstance: acceptRecommendations, which operates across the entire instance. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Accept the recommendations on all accessReviewInstanceDecisionItem objects that haven't been reviewed within a single accessReviewStage of a multi-stage accessReviewInstance. Recommendations are generated if recommendationsEnabled is true on the accessReviewScheduleDefinition object. If there's no recommendation on an accessReviewInstanceDecisionItem object, no decision is recorded. This action accepts recommendations for the decisions in a specific stage only, unlike accessReviewInstance: acceptRecommendations, which operates across the entire instance. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * Accept the recommendations on all accessReviewInstanceDecisionItem objects that haven't been reviewed within a single accessReviewStage of a multi-stage accessReviewInstance. Recommendations are generated if recommendationsEnabled is true on the accessReviewScheduleDefinition object. If there's no recommendation on an accessReviewInstanceDecisionItem object, no decision is recorded. This action accepts recommendations for the decisions in a specific stage only, unlike accessReviewInstance: acceptRecommendations, which operates across the entire instance. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AcceptRecommendationsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AcceptRecommendationsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AcceptRecommendationsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/stages/item/batchrecorddecisions/BatchRecordDecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/stages/item/batchrecorddecisions/BatchRecordDecisionsRequestBuilder.java index cb76ed3795a..e307fab64ad 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/stages/item/batchrecorddecisions/BatchRecordDecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/stages/item/batchrecorddecisions/BatchRecordDecisionsRequestBuilder.java @@ -38,8 +38,11 @@ public BatchRecordDecisionsRequestBuilder(@jakarta.annotation.Nonnull final Stri * Record decisions in bulk for all accessReviewInstanceDecisionItem objects within a single accessReviewStage of a multi-stage accessReviewInstance, by using principalId, resourceId, or neither. This action records decisions for a specific stage only, unlike accessReviewInstance: batchRecordDecisions, which operates across the entire instance. * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostRequestBody body) { post(body, null); } @@ -48,8 +51,11 @@ public void post(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostReque * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -61,8 +67,11 @@ public void post(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostReque * Record decisions in bulk for all accessReviewInstanceDecisionItem objects within a single accessReviewStage of a multi-stage accessReviewInstance, by using principalId, resourceId, or neither. This action records decisions for a specific stage only, unlike accessReviewInstance: batchRecordDecisions, which operates across the entire instance. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostRequestBody body) { return toPostRequestInformation(body, null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -85,8 +97,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link BatchRecordDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public BatchRecordDecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new BatchRecordDecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/stages/item/decisions/DecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/stages/item/decisions/DecisionsRequestBuilder.java index 3e1dd93f872..4497de6b6c3 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/stages/item/decisions/DecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/stages/item/decisions/DecisionsRequestBuilder.java @@ -28,7 +28,10 @@ public class DecisionsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -36,7 +39,10 @@ public CountRequestBuilder count() { /** * Provides operations to call the recordAllDecisions method. * @return a {@link RecordAllDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public RecordAllDecisionsRequestBuilder recordAllDecisions() { return new RecordAllDecisionsRequestBuilder(pathParameters, requestAdapter); @@ -45,8 +51,11 @@ public RecordAllDecisionsRequestBuilder recordAllDecisions() { * Provides operations to manage the decisions property of the microsoft.graph.accessReviewStage entity. * @param accessReviewInstanceDecisionItemId1 The unique identifier of accessReviewInstanceDecisionItem * @return a {@link AccessReviewInstanceDecisionItemItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessReviewInstanceDecisionItemItemRequestBuilder byAccessReviewInstanceDecisionItemId1(@jakarta.annotation.Nonnull final String accessReviewInstanceDecisionItemId1) { Objects.requireNonNull(accessReviewInstanceDecisionItemId1); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -73,8 +82,11 @@ public DecisionsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, * Provides operations to call the filterByCurrentUser method. * @param on Usage: on='{on}' * @return a {@link FilterByCurrentUserWithOnRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilterByCurrentUserWithOnRequestBuilder filterByCurrentUserWithOn(@jakarta.annotation.Nonnull final String on) { Objects.requireNonNull(on); return new FilterByCurrentUserWithOnRequestBuilder(pathParameters, requestAdapter, on); @@ -83,8 +95,11 @@ public FilterByCurrentUserWithOnRequestBuilder filterByCurrentUserWithOn(@jakart * Each user reviewed in an accessReviewStage has a decision item representing if they were approved, denied, or not yet reviewed. * @return a {@link AccessReviewInstanceDecisionItemCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItemCollectionResponse get() { return get(null); } @@ -93,8 +108,11 @@ public AccessReviewInstanceDecisionItemCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstanceDecisionItemCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItemCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -106,8 +124,11 @@ public AccessReviewInstanceDecisionItemCollectionResponse get(@jakarta.annotatio * @param body The request body * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem post(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body) { return post(body, null); } @@ -117,8 +138,11 @@ public AccessReviewInstanceDecisionItem post(@jakarta.annotation.Nonnull final A * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem post(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -129,8 +153,11 @@ public AccessReviewInstanceDecisionItem post(@jakarta.annotation.Nonnull final A /** * Each user reviewed in an accessReviewStage has a decision item representing if they were approved, denied, or not yet reviewed. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -138,8 +165,11 @@ public RequestInformation toGetRequestInformation() { * Each user reviewed in an accessReviewStage has a decision item representing if they were approved, denied, or not yet reviewed. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -150,8 +180,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to decisions for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body) { return toPostRequestInformation(body, null); } @@ -160,8 +193,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -174,8 +210,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link DecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public DecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new DecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/stages/item/decisions/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/stages/item/decisions/count/CountRequestBuilder.java index 711ca2334ad..008b345e50c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/stages/item/decisions/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/stages/item/decisions/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/stages/item/decisions/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/stages/item/decisions/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java index 27dea0cbe24..4299471e88e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/stages/item/decisions/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/stages/item/decisions/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java @@ -41,9 +41,12 @@ public FilterByCurrentUserWithOnRequestBuilder(@jakarta.annotation.Nonnull final * Retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. * @return a {@link FilterByCurrentUserWithOnGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public FilterByCurrentUserWithOnGetResponse get() { return get(null); } @@ -52,9 +55,12 @@ public FilterByCurrentUserWithOnGetResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link FilterByCurrentUserWithOnGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public FilterByCurrentUserWithOnGetResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -64,8 +70,11 @@ public FilterByCurrentUserWithOnGetResponse get(@jakarta.annotation.Nullable fin /** * Retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -73,8 +82,11 @@ public RequestInformation toGetRequestInformation() { * Retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -85,8 +97,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link FilterByCurrentUserWithOnRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilterByCurrentUserWithOnRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new FilterByCurrentUserWithOnRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/stages/item/decisions/item/AccessReviewInstanceDecisionItemItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/stages/item/decisions/item/AccessReviewInstanceDecisionItemItemRequestBuilder.java index ca6312c9292..7468d86fe99 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/stages/item/decisions/item/AccessReviewInstanceDecisionItemItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/stages/item/decisions/item/AccessReviewInstanceDecisionItemItemRequestBuilder.java @@ -24,7 +24,10 @@ public class AccessReviewInstanceDecisionItemItemRequestBuilder extends BaseRequ /** * Provides operations to manage the insights property of the microsoft.graph.accessReviewInstanceDecisionItem entity. * @return a {@link InsightsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public InsightsRequestBuilder insights() { return new InsightsRequestBuilder(pathParameters, requestAdapter); @@ -48,7 +51,10 @@ public AccessReviewInstanceDecisionItemItemRequestBuilder(@jakarta.annotation.No /** * Delete navigation property decisions for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -56,7 +62,10 @@ public void delete() { * Delete navigation property decisions for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -67,8 +76,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Each user reviewed in an accessReviewStage has a decision item representing if they were approved, denied, or not yet reviewed. * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem get() { return get(null); } @@ -77,8 +89,11 @@ public AccessReviewInstanceDecisionItem get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -90,8 +105,11 @@ public AccessReviewInstanceDecisionItem get(@jakarta.annotation.Nullable final j * @param body The request body * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem patch(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body) { return patch(body, null); } @@ -101,8 +119,11 @@ public AccessReviewInstanceDecisionItem patch(@jakarta.annotation.Nonnull final * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem patch(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -113,8 +134,11 @@ public AccessReviewInstanceDecisionItem patch(@jakarta.annotation.Nonnull final /** * Delete navigation property decisions for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -122,8 +146,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property decisions for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -133,8 +160,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Each user reviewed in an accessReviewStage has a decision item representing if they were approved, denied, or not yet reviewed. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -142,8 +172,11 @@ public RequestInformation toGetRequestInformation() { * Each user reviewed in an accessReviewStage has a decision item representing if they were approved, denied, or not yet reviewed. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -154,8 +187,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property decisions in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body) { return toPatchRequestInformation(body, null); } @@ -164,8 +200,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -178,8 +217,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessReviewInstanceDecisionItemItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessReviewInstanceDecisionItemItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessReviewInstanceDecisionItemItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/stages/item/decisions/item/insights/InsightsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/stages/item/decisions/item/insights/InsightsRequestBuilder.java index 0b44c709613..49925ed9640 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/stages/item/decisions/item/insights/InsightsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/stages/item/decisions/item/insights/InsightsRequestBuilder.java @@ -26,7 +26,10 @@ public class InsightsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the insights property of the microsoft.graph.accessReviewInstanceDecisionItem entity. * @param governanceInsightId The unique identifier of governanceInsight * @return a {@link GovernanceInsightItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public GovernanceInsightItemRequestBuilder byGovernanceInsightId(@jakarta.annotation.Nonnull final String governanceInsightId) { Objects.requireNonNull(governanceInsightId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public InsightsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @return a {@link GovernanceInsightCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsightCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public GovernanceInsightCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GovernanceInsightCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsightCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public GovernanceInsightCollectionResponse get(@jakarta.annotation.Nullable fina * @param body The request body * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight post(@jakarta.annotation.Nonnull final GovernanceInsight body) { return post(body, null); } @@ -97,8 +112,11 @@ public GovernanceInsight post(@jakarta.annotation.Nonnull final GovernanceInsigh * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight post(@jakarta.annotation.Nonnull final GovernanceInsight body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public GovernanceInsight post(@jakarta.annotation.Nonnull final GovernanceInsigh /** * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to insights for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GovernanceInsight body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GovernanceInsight body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link InsightsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public InsightsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new InsightsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/stages/item/decisions/item/insights/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/stages/item/decisions/item/insights/count/CountRequestBuilder.java index 141a811e7b7..63e39b89012 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/stages/item/decisions/item/insights/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/stages/item/decisions/item/insights/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/stages/item/decisions/item/insights/item/GovernanceInsightItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/stages/item/decisions/item/insights/item/GovernanceInsightItemRequestBuilder.java index 4278acdb43a..16cbe3c427b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/stages/item/decisions/item/insights/item/GovernanceInsightItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/stages/item/decisions/item/insights/item/GovernanceInsightItemRequestBuilder.java @@ -39,7 +39,10 @@ public GovernanceInsightItemRequestBuilder(@jakarta.annotation.Nonnull final Str /** * Delete navigation property insights for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -47,7 +50,10 @@ public void delete() { * Delete navigation property insights for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -58,8 +64,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight get() { return get(null); } @@ -68,8 +77,11 @@ public GovernanceInsight get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -81,8 +93,11 @@ public GovernanceInsight get(@jakarta.annotation.Nullable final java.util.functi * @param body The request body * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight patch(@jakarta.annotation.Nonnull final GovernanceInsight body) { return patch(body, null); } @@ -92,8 +107,11 @@ public GovernanceInsight patch(@jakarta.annotation.Nonnull final GovernanceInsig * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight patch(@jakarta.annotation.Nonnull final GovernanceInsight body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -104,8 +122,11 @@ public GovernanceInsight patch(@jakarta.annotation.Nonnull final GovernanceInsig /** * Delete navigation property insights for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -113,8 +134,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property insights for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -133,8 +160,11 @@ public RequestInformation toGetRequestInformation() { * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -145,8 +175,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property insights in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final GovernanceInsight body) { return toPatchRequestInformation(body, null); } @@ -155,8 +188,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final GovernanceInsight body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -169,8 +205,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link GovernanceInsightItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public GovernanceInsightItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new GovernanceInsightItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/stages/item/decisions/recordalldecisions/RecordAllDecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/stages/item/decisions/recordalldecisions/RecordAllDecisionsRequestBuilder.java index fbc50432f7c..b1efd36f390 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/stages/item/decisions/recordalldecisions/RecordAllDecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/stages/item/decisions/recordalldecisions/RecordAllDecisionsRequestBuilder.java @@ -38,8 +38,11 @@ public RecordAllDecisionsRequestBuilder(@jakarta.annotation.Nonnull final String * As a reviewer of an access review, record a decision for an accessReviewInstanceDecisionItem that is assigned to you and that matches the principal or resource IDs specified. If no IDs are specified, the decisions will apply to every accessReviewInstanceDecisionItem for which you are the reviewer. * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequestBody body) { post(body, null); } @@ -48,8 +51,11 @@ public void post(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequest * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -61,8 +67,11 @@ public void post(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequest * As a reviewer of an access review, record a decision for an accessReviewInstanceDecisionItem that is assigned to you and that matches the principal or resource IDs specified. If no IDs are specified, the decisions will apply to every accessReviewInstanceDecisionItem for which you are the reviewer. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequestBody body) { return toPostRequestInformation(body, null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -85,8 +97,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RecordAllDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RecordAllDecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RecordAllDecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/stages/item/stop/StopRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/stages/item/stop/StopRequestBuilder.java index 004cdb0155d..84c635a175f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/stages/item/stop/StopRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/stages/item/stop/StopRequestBuilder.java @@ -37,8 +37,11 @@ public StopRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jaka /** * Stop an access review stage that is inProgress. After the access review stage stops, the stage status will be Completed and the reviewers can no longer give input. If there are subsequent stages that depend on the completed stage, the next stage will be created. The accessReviewInstanceDecisionItem objects will always reflect the last decisions recorded across all stages at that given time, regardless of the status of the stages. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * Stop an access review stage that is inProgress. After the access review stage stops, the stage status will be Completed and the reviewers can no longer give input. If there are subsequent stages that depend on the completed stage, the next stage will be created. The accessReviewInstanceDecisionItem objects will always reflect the last decisions recorded across all stages at that given time, regardless of the status of the stages. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Stop an access review stage that is inProgress. After the access review stage stops, the stage status will be Completed and the reviewers can no longer give input. If there are subsequent stages that depend on the completed stage, the next stage will be created. The accessReviewInstanceDecisionItem objects will always reflect the last decisions recorded across all stages at that given time, regardless of the status of the stages. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * Stop an access review stage that is inProgress. After the access review stage stops, the stage status will be Completed and the reviewers can no longer give input. If there are subsequent stages that depend on the completed stage, the next stage will be created. The accessReviewInstanceDecisionItem objects will always reflect the last decisions recorded across all stages at that given time, regardless of the status of the stages. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link StopRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public StopRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new StopRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/stop/StopRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/stop/StopRequestBuilder.java index 3ed131226f9..658d22293d6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/stop/StopRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/stop/StopRequestBuilder.java @@ -37,8 +37,11 @@ public StopRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jaka /** * Stop a currently active accessReviewInstance. After the access review instance stops, the instance status will be Completed, the reviewers can no longer give input, and the access review decisions can be applied. Stopping an instance will not effect future instances. To prevent a recurring access review from starting future instances, update the schedule definition to change its scheduled end date. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * Stop a currently active accessReviewInstance. After the access review instance stops, the instance status will be Completed, the reviewers can no longer give input, and the access review decisions can be applied. Stopping an instance will not effect future instances. To prevent a recurring access review from starting future instances, update the schedule definition to change its scheduled end date. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Stop a currently active accessReviewInstance. After the access review instance stops, the instance status will be Completed, the reviewers can no longer give input, and the access review decisions can be applied. Stopping an instance will not effect future instances. To prevent a recurring access review from starting future instances, update the schedule definition to change its scheduled end date. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * Stop a currently active accessReviewInstance. After the access review instance stops, the instance status will be Completed, the reviewers can no longer give input, and the access review decisions can be applied. Stopping an instance will not effect future instances. To prevent a recurring access review from starting future instances, update the schedule definition to change its scheduled end date. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link StopRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public StopRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new StopRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/stopapplydecisions/StopApplyDecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/stopapplydecisions/StopApplyDecisionsRequestBuilder.java index 0fb559451b4..502afb81d0e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/stopapplydecisions/StopApplyDecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/stopapplydecisions/StopApplyDecisionsRequestBuilder.java @@ -37,7 +37,10 @@ public StopApplyDecisionsRequestBuilder(@jakarta.annotation.Nonnull final String /** * Invoke action stopApplyDecisions * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void post() { post(null); } @@ -45,7 +48,10 @@ public void post() { * Invoke action stopApplyDecisions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -55,8 +61,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Invoke action stopApplyDecisions * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -64,8 +73,11 @@ public RequestInformation toPostRequestInformation() { * Invoke action stopApplyDecisions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -76,8 +88,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link StopApplyDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public StopApplyDecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new StopApplyDecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/recordalldecisions/RecordAllDecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/recordalldecisions/RecordAllDecisionsRequestBuilder.java index 4470d679e1f..11a3cd985af 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/recordalldecisions/RecordAllDecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/recordalldecisions/RecordAllDecisionsRequestBuilder.java @@ -38,8 +38,11 @@ public RecordAllDecisionsRequestBuilder(@jakarta.annotation.Nonnull final String * As a reviewer of an access review, record a decision for an accessReviewInstanceDecisionItem that is assigned to you and that matches the principal or resource IDs specified. If no IDs are specified, the decisions will apply to every accessReviewInstanceDecisionItem for which you are the reviewer. * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequestBody body) { post(body, null); } @@ -48,8 +51,11 @@ public void post(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequest * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -61,8 +67,11 @@ public void post(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequest * As a reviewer of an access review, record a decision for an accessReviewInstanceDecisionItem that is assigned to you and that matches the principal or resource IDs specified. If no IDs are specified, the decisions will apply to every accessReviewInstanceDecisionItem for which you are the reviewer. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequestBody body) { return toPostRequestInformation(body, null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -85,8 +97,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RecordAllDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RecordAllDecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RecordAllDecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/DefinitionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/DefinitionsRequestBuilder.java index 629dfb81480..1eef995d9a2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/DefinitionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/DefinitionsRequestBuilder.java @@ -27,7 +27,10 @@ public class DefinitionsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -36,8 +39,11 @@ public CountRequestBuilder count() { * Provides operations to manage the definitions property of the microsoft.graph.accessReviewSet entity. * @param accessReviewScheduleDefinitionId The unique identifier of accessReviewScheduleDefinition * @return a {@link AccessReviewScheduleDefinitionItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessReviewScheduleDefinitionItemRequestBuilder byAccessReviewScheduleDefinitionId(@jakarta.annotation.Nonnull final String accessReviewScheduleDefinitionId) { Objects.requireNonNull(accessReviewScheduleDefinitionId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -64,8 +70,11 @@ public DefinitionsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl * Provides operations to call the filterByCurrentUser method. * @param on Usage: on='{on}' * @return a {@link FilterByCurrentUserWithOnRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilterByCurrentUserWithOnRequestBuilder filterByCurrentUserWithOn(@jakarta.annotation.Nonnull final String on) { Objects.requireNonNull(on); return new FilterByCurrentUserWithOnRequestBuilder(pathParameters, requestAdapter, on); @@ -74,9 +83,12 @@ public FilterByCurrentUserWithOnRequestBuilder filterByCurrentUserWithOn(@jakart * Retrieve the accessReviewScheduleDefinition objects. A list of zero or more accessReviewScheduleDefinition objects are returned, including all of their nested properties, for each access review series created. This doesn't include the associated accessReviewInstance objects. * @return a {@link AccessReviewScheduleDefinitionCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewScheduleDefinitionCollectionResponse get() { return get(null); } @@ -85,9 +97,12 @@ public AccessReviewScheduleDefinitionCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewScheduleDefinitionCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewScheduleDefinitionCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -99,9 +114,12 @@ public AccessReviewScheduleDefinitionCollectionResponse get(@jakarta.annotation. * @param body The request body * @return a {@link AccessReviewScheduleDefinition} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewScheduleDefinition post(@jakarta.annotation.Nonnull final AccessReviewScheduleDefinition body) { return post(body, null); } @@ -111,9 +129,12 @@ public AccessReviewScheduleDefinition post(@jakarta.annotation.Nonnull final Acc * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewScheduleDefinition} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewScheduleDefinition post(@jakarta.annotation.Nonnull final AccessReviewScheduleDefinition body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -124,8 +145,11 @@ public AccessReviewScheduleDefinition post(@jakarta.annotation.Nonnull final Acc /** * Retrieve the accessReviewScheduleDefinition objects. A list of zero or more accessReviewScheduleDefinition objects are returned, including all of their nested properties, for each access review series created. This doesn't include the associated accessReviewInstance objects. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -133,8 +157,11 @@ public RequestInformation toGetRequestInformation() { * Retrieve the accessReviewScheduleDefinition objects. A list of zero or more accessReviewScheduleDefinition objects are returned, including all of their nested properties, for each access review series created. This doesn't include the associated accessReviewInstance objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -145,8 +172,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create a new accessReviewScheduleDefinition object. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewScheduleDefinition body) { return toPostRequestInformation(body, null); } @@ -155,8 +185,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewScheduleDefinition body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -169,8 +202,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link DefinitionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public DefinitionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new DefinitionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/count/CountRequestBuilder.java index 96793b87776..e937f4cbd6e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java index ef51feabed9..667c3dbaaff 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java @@ -41,9 +41,12 @@ public FilterByCurrentUserWithOnRequestBuilder(@jakarta.annotation.Nonnull final * Returns accessReviewScheduleDefinition objects where the calling user is a reviewer on one or more accessReviewInstance objects. * @return a {@link FilterByCurrentUserWithOnGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public FilterByCurrentUserWithOnGetResponse get() { return get(null); } @@ -52,9 +55,12 @@ public FilterByCurrentUserWithOnGetResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link FilterByCurrentUserWithOnGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public FilterByCurrentUserWithOnGetResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -64,8 +70,11 @@ public FilterByCurrentUserWithOnGetResponse get(@jakarta.annotation.Nullable fin /** * Returns accessReviewScheduleDefinition objects where the calling user is a reviewer on one or more accessReviewInstance objects. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -73,8 +82,11 @@ public RequestInformation toGetRequestInformation() { * Returns accessReviewScheduleDefinition objects where the calling user is a reviewer on one or more accessReviewInstance objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -85,8 +97,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link FilterByCurrentUserWithOnRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilterByCurrentUserWithOnRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new FilterByCurrentUserWithOnRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/AccessReviewScheduleDefinitionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/AccessReviewScheduleDefinitionItemRequestBuilder.java index 06a8c2d568d..c886c899283 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/AccessReviewScheduleDefinitionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/AccessReviewScheduleDefinitionItemRequestBuilder.java @@ -25,7 +25,10 @@ public class AccessReviewScheduleDefinitionItemRequestBuilder extends BaseReques /** * Provides operations to manage the instances property of the microsoft.graph.accessReviewScheduleDefinition entity. * @return a {@link InstancesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public InstancesRequestBuilder instances() { return new InstancesRequestBuilder(pathParameters, requestAdapter); @@ -33,7 +36,10 @@ public InstancesRequestBuilder instances() { /** * Provides operations to call the stop method. * @return a {@link StopRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public StopRequestBuilder stop() { return new StopRequestBuilder(pathParameters, requestAdapter); @@ -57,8 +63,11 @@ public AccessReviewScheduleDefinitionItemRequestBuilder(@jakarta.annotation.Nonn /** * Delete an accessReviewScheduleDefinition object. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void delete() { delete(null); } @@ -66,8 +75,11 @@ public void delete() { * Delete an accessReviewScheduleDefinition object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -78,9 +90,12 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Retrieve an accessReviewScheduleDefinition object by ID. This returns all properties of the scheduled access review series except for the associated accessReviewInstances. Each accessReviewScheduleDefinition has at least one instance. An instance represents a review for a specific resource (such as a particular group's members), during one occurrence (for example, March 2021) of a recurring review. To retrieve the instances of the access review series, use the list accessReviewInstance API. * @return a {@link AccessReviewScheduleDefinition} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewScheduleDefinition get() { return get(null); } @@ -89,9 +104,12 @@ public AccessReviewScheduleDefinition get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewScheduleDefinition} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewScheduleDefinition get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -103,9 +121,12 @@ public AccessReviewScheduleDefinition get(@jakarta.annotation.Nullable final jav * @param body The request body * @return a {@link AccessReviewScheduleDefinition} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewScheduleDefinition put(@jakarta.annotation.Nonnull final AccessReviewScheduleDefinition body) { return put(body, null); } @@ -115,9 +136,12 @@ public AccessReviewScheduleDefinition put(@jakarta.annotation.Nonnull final Acce * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewScheduleDefinition} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewScheduleDefinition put(@jakarta.annotation.Nonnull final AccessReviewScheduleDefinition body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPutRequestInformation(body, requestConfiguration); @@ -128,8 +152,11 @@ public AccessReviewScheduleDefinition put(@jakarta.annotation.Nonnull final Acce /** * Delete an accessReviewScheduleDefinition object. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -137,8 +164,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete an accessReviewScheduleDefinition object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -148,8 +178,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Retrieve an accessReviewScheduleDefinition object by ID. This returns all properties of the scheduled access review series except for the associated accessReviewInstances. Each accessReviewScheduleDefinition has at least one instance. An instance represents a review for a specific resource (such as a particular group's members), during one occurrence (for example, March 2021) of a recurring review. To retrieve the instances of the access review series, use the list accessReviewInstance API. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -157,8 +190,11 @@ public RequestInformation toGetRequestInformation() { * Retrieve an accessReviewScheduleDefinition object by ID. This returns all properties of the scheduled access review series except for the associated accessReviewInstances. Each accessReviewScheduleDefinition has at least one instance. An instance represents a review for a specific resource (such as a particular group's members), during one occurrence (for example, March 2021) of a recurring review. To retrieve the instances of the access review series, use the list accessReviewInstance API. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -169,8 +205,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update an existing accessReviewScheduleDefinition object to change one or more of its properties. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull final AccessReviewScheduleDefinition body) { return toPutRequestInformation(body, null); } @@ -179,8 +218,11 @@ public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull fi * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull final AccessReviewScheduleDefinition body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PUT, urlTemplate, pathParameters); @@ -193,8 +235,11 @@ public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull fi * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessReviewScheduleDefinitionItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessReviewScheduleDefinitionItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessReviewScheduleDefinitionItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/InstancesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/InstancesRequestBuilder.java index b026dee320e..c78e95c2a5d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/InstancesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/InstancesRequestBuilder.java @@ -27,7 +27,10 @@ public class InstancesRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -36,8 +39,11 @@ public CountRequestBuilder count() { * Provides operations to manage the instances property of the microsoft.graph.accessReviewScheduleDefinition entity. * @param accessReviewInstanceId The unique identifier of accessReviewInstance * @return a {@link AccessReviewInstanceItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessReviewInstanceItemRequestBuilder byAccessReviewInstanceId(@jakarta.annotation.Nonnull final String accessReviewInstanceId) { Objects.requireNonNull(accessReviewInstanceId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -64,8 +70,11 @@ public InstancesRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, * Provides operations to call the filterByCurrentUser method. * @param on Usage: on='{on}' * @return a {@link FilterByCurrentUserWithOnRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilterByCurrentUserWithOnRequestBuilder filterByCurrentUserWithOn(@jakarta.annotation.Nonnull final String on) { Objects.requireNonNull(on); return new FilterByCurrentUserWithOnRequestBuilder(pathParameters, requestAdapter, on); @@ -74,9 +83,12 @@ public FilterByCurrentUserWithOnRequestBuilder filterByCurrentUserWithOn(@jakart * Retrieve the accessReviewInstance objects for a specific accessReviewScheduleDefinition. A list of zero or more accessReviewInstance objects are returned, including all of their nested properties. Returned objects don't include associated accessReviewInstanceDecisionItems. To retrieve the decisions on the instance, use List accessReviewInstanceDecisionItem. * @return a {@link AccessReviewInstanceCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceCollectionResponse get() { return get(null); } @@ -85,9 +97,12 @@ public AccessReviewInstanceCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstanceCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -99,8 +114,11 @@ public AccessReviewInstanceCollectionResponse get(@jakarta.annotation.Nullable f * @param body The request body * @return a {@link AccessReviewInstance} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstance post(@jakarta.annotation.Nonnull final AccessReviewInstance body) { return post(body, null); } @@ -110,8 +128,11 @@ public AccessReviewInstance post(@jakarta.annotation.Nonnull final AccessReviewI * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstance} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstance post(@jakarta.annotation.Nonnull final AccessReviewInstance body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -122,8 +143,11 @@ public AccessReviewInstance post(@jakarta.annotation.Nonnull final AccessReviewI /** * Retrieve the accessReviewInstance objects for a specific accessReviewScheduleDefinition. A list of zero or more accessReviewInstance objects are returned, including all of their nested properties. Returned objects don't include associated accessReviewInstanceDecisionItems. To retrieve the decisions on the instance, use List accessReviewInstanceDecisionItem. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -131,8 +155,11 @@ public RequestInformation toGetRequestInformation() { * Retrieve the accessReviewInstance objects for a specific accessReviewScheduleDefinition. A list of zero or more accessReviewInstance objects are returned, including all of their nested properties. Returned objects don't include associated accessReviewInstanceDecisionItems. To retrieve the decisions on the instance, use List accessReviewInstanceDecisionItem. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -143,8 +170,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to instances for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstance body) { return toPostRequestInformation(body, null); } @@ -153,8 +183,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstance body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -167,8 +200,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link InstancesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public InstancesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new InstancesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/count/CountRequestBuilder.java index e27e7c14d32..4d76f736655 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java index fd6288c56b9..954d92406bb 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java @@ -41,9 +41,12 @@ public FilterByCurrentUserWithOnRequestBuilder(@jakarta.annotation.Nonnull final * Returns all accessReviewInstance objects on a given accessReviewScheduleDefinition where the calling user is a reviewer on one or more accessReviewInstanceDecisionItem objects. * @return a {@link FilterByCurrentUserWithOnGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public FilterByCurrentUserWithOnGetResponse get() { return get(null); } @@ -52,9 +55,12 @@ public FilterByCurrentUserWithOnGetResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link FilterByCurrentUserWithOnGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public FilterByCurrentUserWithOnGetResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -64,8 +70,11 @@ public FilterByCurrentUserWithOnGetResponse get(@jakarta.annotation.Nullable fin /** * Returns all accessReviewInstance objects on a given accessReviewScheduleDefinition where the calling user is a reviewer on one or more accessReviewInstanceDecisionItem objects. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -73,8 +82,11 @@ public RequestInformation toGetRequestInformation() { * Returns all accessReviewInstance objects on a given accessReviewScheduleDefinition where the calling user is a reviewer on one or more accessReviewInstanceDecisionItem objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -85,8 +97,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link FilterByCurrentUserWithOnRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilterByCurrentUserWithOnRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new FilterByCurrentUserWithOnRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/AccessReviewInstanceItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/AccessReviewInstanceItemRequestBuilder.java index e9954420b77..d0bfa4df1ea 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/AccessReviewInstanceItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/AccessReviewInstanceItemRequestBuilder.java @@ -35,7 +35,10 @@ public class AccessReviewInstanceItemRequestBuilder extends BaseRequestBuilder { /** * Provides operations to call the acceptRecommendations method. * @return a {@link AcceptRecommendationsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AcceptRecommendationsRequestBuilder acceptRecommendations() { return new AcceptRecommendationsRequestBuilder(pathParameters, requestAdapter); @@ -43,7 +46,10 @@ public AcceptRecommendationsRequestBuilder acceptRecommendations() { /** * Provides operations to call the applyDecisions method. * @return a {@link ApplyDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ApplyDecisionsRequestBuilder applyDecisions() { return new ApplyDecisionsRequestBuilder(pathParameters, requestAdapter); @@ -51,7 +57,10 @@ public ApplyDecisionsRequestBuilder applyDecisions() { /** * Provides operations to call the batchApplyCustomDataProvidedResourceDecisions method. * @return a {@link BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder batchApplyCustomDataProvidedResourceDecisions() { return new BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder(pathParameters, requestAdapter); @@ -59,7 +68,10 @@ public BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder batchApplyCus /** * Provides operations to call the batchRecordDecisions method. * @return a {@link BatchRecordDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public BatchRecordDecisionsRequestBuilder batchRecordDecisions() { return new BatchRecordDecisionsRequestBuilder(pathParameters, requestAdapter); @@ -67,7 +79,10 @@ public BatchRecordDecisionsRequestBuilder batchRecordDecisions() { /** * Provides operations to manage the contactedReviewers property of the microsoft.graph.accessReviewInstance entity. * @return a {@link ContactedReviewersRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ContactedReviewersRequestBuilder contactedReviewers() { return new ContactedReviewersRequestBuilder(pathParameters, requestAdapter); @@ -75,7 +90,10 @@ public ContactedReviewersRequestBuilder contactedReviewers() { /** * Provides operations to manage the decisions property of the microsoft.graph.accessReviewInstance entity. * @return a {@link DecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public DecisionsRequestBuilder decisions() { return new DecisionsRequestBuilder(pathParameters, requestAdapter); @@ -83,7 +101,10 @@ public DecisionsRequestBuilder decisions() { /** * Provides operations to manage the definition property of the microsoft.graph.accessReviewInstance entity. * @return a {@link DefinitionRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public DefinitionRequestBuilder definition() { return new DefinitionRequestBuilder(pathParameters, requestAdapter); @@ -91,7 +112,10 @@ public DefinitionRequestBuilder definition() { /** * Provides operations to call the resetDecisions method. * @return a {@link ResetDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ResetDecisionsRequestBuilder resetDecisions() { return new ResetDecisionsRequestBuilder(pathParameters, requestAdapter); @@ -99,7 +123,10 @@ public ResetDecisionsRequestBuilder resetDecisions() { /** * Provides operations to call the sendReminder method. * @return a {@link SendReminderRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public SendReminderRequestBuilder sendReminder() { return new SendReminderRequestBuilder(pathParameters, requestAdapter); @@ -107,7 +134,10 @@ public SendReminderRequestBuilder sendReminder() { /** * Provides operations to manage the stages property of the microsoft.graph.accessReviewInstance entity. * @return a {@link StagesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public StagesRequestBuilder stages() { return new StagesRequestBuilder(pathParameters, requestAdapter); @@ -115,7 +145,10 @@ public StagesRequestBuilder stages() { /** * Provides operations to call the stop method. * @return a {@link StopRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public StopRequestBuilder stop() { return new StopRequestBuilder(pathParameters, requestAdapter); @@ -123,7 +156,10 @@ public StopRequestBuilder stop() { /** * Provides operations to call the stopApplyDecisions method. * @return a {@link StopApplyDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public StopApplyDecisionsRequestBuilder stopApplyDecisions() { return new StopApplyDecisionsRequestBuilder(pathParameters, requestAdapter); @@ -147,7 +183,10 @@ public AccessReviewInstanceItemRequestBuilder(@jakarta.annotation.Nonnull final /** * Delete navigation property instances for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -155,7 +194,10 @@ public void delete() { * Delete navigation property instances for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -166,9 +208,12 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Retrieve an accessReviewInstance object using the identifier of an accessReviewInstance and its parent accessReviewScheduleDefinition. This returns all properties of the instance except for the associated accessReviewInstanceDecisionItems. To retrieve the decisions on the instance, use List accessReviewInstanceDecisionItem. * @return a {@link AccessReviewInstance} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstance get() { return get(null); } @@ -177,9 +222,12 @@ public AccessReviewInstance get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstance} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstance get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -191,9 +239,12 @@ public AccessReviewInstance get(@jakarta.annotation.Nullable final java.util.fun * @param body The request body * @return a {@link AccessReviewInstance} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstance patch(@jakarta.annotation.Nonnull final AccessReviewInstance body) { return patch(body, null); } @@ -203,9 +254,12 @@ public AccessReviewInstance patch(@jakarta.annotation.Nonnull final AccessReview * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstance} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstance patch(@jakarta.annotation.Nonnull final AccessReviewInstance body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -216,8 +270,11 @@ public AccessReviewInstance patch(@jakarta.annotation.Nonnull final AccessReview /** * Delete navigation property instances for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -225,8 +282,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property instances for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -236,8 +296,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Retrieve an accessReviewInstance object using the identifier of an accessReviewInstance and its parent accessReviewScheduleDefinition. This returns all properties of the instance except for the associated accessReviewInstanceDecisionItems. To retrieve the decisions on the instance, use List accessReviewInstanceDecisionItem. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -245,8 +308,11 @@ public RequestInformation toGetRequestInformation() { * Retrieve an accessReviewInstance object using the identifier of an accessReviewInstance and its parent accessReviewScheduleDefinition. This returns all properties of the instance except for the associated accessReviewInstanceDecisionItems. To retrieve the decisions on the instance, use List accessReviewInstanceDecisionItem. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -257,8 +323,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the properties of an accessReviewInstance object. Only the reviewers and fallbackReviewers properties can be updated but the scope property is also required in the request body. You can only add reviewers to the fallbackReviewers property but can't remove existing fallbackReviewers. To update an accessReviewInstance, its status must be InProgress. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstance body) { return toPatchRequestInformation(body, null); } @@ -267,8 +336,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstance body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -281,8 +353,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessReviewInstanceItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessReviewInstanceItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessReviewInstanceItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/acceptrecommendations/AcceptRecommendationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/acceptrecommendations/AcceptRecommendationsRequestBuilder.java index ab60a316ad7..d376997511d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/acceptrecommendations/AcceptRecommendationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/acceptrecommendations/AcceptRecommendationsRequestBuilder.java @@ -37,8 +37,11 @@ public AcceptRecommendationsRequestBuilder(@jakarta.annotation.Nonnull final Str /** * Allows the acceptance of recommendations on all accessReviewInstanceDecisionItem objects that haven't been reviewed for an accessReviewInstance object for which the calling user is a reviewer. Recommendations are generated if recommendationsEnabled is true on the accessReviewScheduleDefinition object. If there isn't a recommendation on an accessReviewInstanceDecisionItem object no decision will be recorded. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * Allows the acceptance of recommendations on all accessReviewInstanceDecisionItem objects that haven't been reviewed for an accessReviewInstance object for which the calling user is a reviewer. Recommendations are generated if recommendationsEnabled is true on the accessReviewScheduleDefinition object. If there isn't a recommendation on an accessReviewInstanceDecisionItem object no decision will be recorded. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Allows the acceptance of recommendations on all accessReviewInstanceDecisionItem objects that haven't been reviewed for an accessReviewInstance object for which the calling user is a reviewer. Recommendations are generated if recommendationsEnabled is true on the accessReviewScheduleDefinition object. If there isn't a recommendation on an accessReviewInstanceDecisionItem object no decision will be recorded. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * Allows the acceptance of recommendations on all accessReviewInstanceDecisionItem objects that haven't been reviewed for an accessReviewInstance object for which the calling user is a reviewer. Recommendations are generated if recommendationsEnabled is true on the accessReviewScheduleDefinition object. If there isn't a recommendation on an accessReviewInstanceDecisionItem object no decision will be recorded. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AcceptRecommendationsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AcceptRecommendationsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AcceptRecommendationsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/applydecisions/ApplyDecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/applydecisions/ApplyDecisionsRequestBuilder.java index d3a207aee8e..e5202692709 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/applydecisions/ApplyDecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/applydecisions/ApplyDecisionsRequestBuilder.java @@ -37,8 +37,11 @@ public ApplyDecisionsRequestBuilder(@jakarta.annotation.Nonnull final String raw /** * Apply review decisions on an accessReviewInstance if the decisions were not applied automatically because the autoApplyDecisionsEnabled property is false in the review's accessReviewScheduleSettings. The status of the accessReviewInstance must be Completed to call this method. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * Apply review decisions on an accessReviewInstance if the decisions were not applied automatically because the autoApplyDecisionsEnabled property is false in the review's accessReviewScheduleSettings. The status of the accessReviewInstance must be Completed to call this method. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Apply review decisions on an accessReviewInstance if the decisions were not applied automatically because the autoApplyDecisionsEnabled property is false in the review's accessReviewScheduleSettings. The status of the accessReviewInstance must be Completed to call this method. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * Apply review decisions on an accessReviewInstance if the decisions were not applied automatically because the autoApplyDecisionsEnabled property is false in the review's accessReviewScheduleSettings. The status of the accessReviewInstance must be Completed to call this method. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ApplyDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ApplyDecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ApplyDecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/batchapplycustomdataprovidedresourcedecisions/BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/batchapplycustomdataprovidedresourcedecisions/BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder.java index fb2ff056c80..148d49da1c7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/batchapplycustomdataprovidedresourcedecisions/BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/batchapplycustomdataprovidedresourcedecisions/BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder.java @@ -38,8 +38,11 @@ public BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder(@jakarta.anno * Enables reviewers to set the applyResult and applyDescription on all accessReviewInstanceDecisionItem objects in a specific accessReviewInstance in batches by using customDataProvidedResourceId. NOTE: The access review instance must be in an Applying state. * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final BatchApplyCustomDataProvidedResourceDecisionsPostRequestBody body) { post(body, null); } @@ -48,8 +51,11 @@ public void post(@jakarta.annotation.Nonnull final BatchApplyCustomDataProvidedR * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final BatchApplyCustomDataProvidedResourceDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -61,8 +67,11 @@ public void post(@jakarta.annotation.Nonnull final BatchApplyCustomDataProvidedR * Enables reviewers to set the applyResult and applyDescription on all accessReviewInstanceDecisionItem objects in a specific accessReviewInstance in batches by using customDataProvidedResourceId. NOTE: The access review instance must be in an Applying state. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BatchApplyCustomDataProvidedResourceDecisionsPostRequestBody body) { return toPostRequestInformation(body, null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BatchApplyCustomDataProvidedResourceDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -85,8 +97,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/batchrecorddecisions/BatchRecordDecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/batchrecorddecisions/BatchRecordDecisionsRequestBuilder.java index b40b7e82582..0fa1d3e36d3 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/batchrecorddecisions/BatchRecordDecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/batchrecorddecisions/BatchRecordDecisionsRequestBuilder.java @@ -38,8 +38,11 @@ public BatchRecordDecisionsRequestBuilder(@jakarta.annotation.Nonnull final Stri * Enables reviewers to review all accessReviewInstanceDecisionItem objects in a specific pending accessReviewInstance in batches by using principalId, resourceId, or neither. * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostRequestBody body) { post(body, null); } @@ -48,8 +51,11 @@ public void post(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostReque * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -61,8 +67,11 @@ public void post(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostReque * Enables reviewers to review all accessReviewInstanceDecisionItem objects in a specific pending accessReviewInstance in batches by using principalId, resourceId, or neither. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostRequestBody body) { return toPostRequestInformation(body, null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -85,8 +97,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link BatchRecordDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public BatchRecordDecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new BatchRecordDecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/contactedreviewers/ContactedReviewersRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/contactedreviewers/ContactedReviewersRequestBuilder.java index e4f47ce3689..884daa039dc 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/contactedreviewers/ContactedReviewersRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/contactedreviewers/ContactedReviewersRequestBuilder.java @@ -26,7 +26,10 @@ public class ContactedReviewersRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the contactedReviewers property of the microsoft.graph.accessReviewInstance entity. * @param accessReviewReviewerId The unique identifier of accessReviewReviewer * @return a {@link AccessReviewReviewerItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessReviewReviewerItemRequestBuilder byAccessReviewReviewerId(@jakarta.annotation.Nonnull final String accessReviewReviewerId) { Objects.requireNonNull(accessReviewReviewerId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,9 +69,12 @@ public ContactedReviewersRequestBuilder(@jakarta.annotation.Nonnull final String * Get the reviewers for an access review instance, irrespective of whether or not they have received a notification. The reviewers are represented by an accessReviewReviewer object. A list of zero or more objects are returned, including all of their nested properties. * @return a {@link AccessReviewReviewerCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewReviewerCollectionResponse get() { return get(null); } @@ -74,9 +83,12 @@ public AccessReviewReviewerCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewReviewerCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewReviewerCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -88,8 +100,11 @@ public AccessReviewReviewerCollectionResponse get(@jakarta.annotation.Nullable f * @param body The request body * @return a {@link AccessReviewReviewer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewReviewer post(@jakarta.annotation.Nonnull final AccessReviewReviewer body) { return post(body, null); } @@ -99,8 +114,11 @@ public AccessReviewReviewer post(@jakarta.annotation.Nonnull final AccessReviewR * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewReviewer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewReviewer post(@jakarta.annotation.Nonnull final AccessReviewReviewer body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -111,8 +129,11 @@ public AccessReviewReviewer post(@jakarta.annotation.Nonnull final AccessReviewR /** * Get the reviewers for an access review instance, irrespective of whether or not they have received a notification. The reviewers are represented by an accessReviewReviewer object. A list of zero or more objects are returned, including all of their nested properties. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -120,8 +141,11 @@ public RequestInformation toGetRequestInformation() { * Get the reviewers for an access review instance, irrespective of whether or not they have received a notification. The reviewers are represented by an accessReviewReviewer object. A list of zero or more objects are returned, including all of their nested properties. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -132,8 +156,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to contactedReviewers for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewReviewer body) { return toPostRequestInformation(body, null); } @@ -142,8 +169,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewReviewer body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -156,8 +186,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ContactedReviewersRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ContactedReviewersRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ContactedReviewersRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/contactedreviewers/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/contactedreviewers/count/CountRequestBuilder.java index 21b7aab7a75..60798d884ed 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/contactedreviewers/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/contactedreviewers/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/contactedreviewers/item/AccessReviewReviewerItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/contactedreviewers/item/AccessReviewReviewerItemRequestBuilder.java index a706ea34247..99ad8f48186 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/contactedreviewers/item/AccessReviewReviewerItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/contactedreviewers/item/AccessReviewReviewerItemRequestBuilder.java @@ -39,7 +39,10 @@ public AccessReviewReviewerItemRequestBuilder(@jakarta.annotation.Nonnull final /** * Delete navigation property contactedReviewers for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -47,7 +50,10 @@ public void delete() { * Delete navigation property contactedReviewers for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -58,8 +64,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Returns the collection of reviewers who were contacted to complete this review. While the reviewers and fallbackReviewers properties of the accessReviewScheduleDefinition might specify group owners or managers as reviewers, contactedReviewers returns their individual identities. Supports $select. Read-only. * @return a {@link AccessReviewReviewer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewReviewer get() { return get(null); } @@ -68,8 +77,11 @@ public AccessReviewReviewer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewReviewer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewReviewer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -81,8 +93,11 @@ public AccessReviewReviewer get(@jakarta.annotation.Nullable final java.util.fun * @param body The request body * @return a {@link AccessReviewReviewer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewReviewer patch(@jakarta.annotation.Nonnull final AccessReviewReviewer body) { return patch(body, null); } @@ -92,8 +107,11 @@ public AccessReviewReviewer patch(@jakarta.annotation.Nonnull final AccessReview * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewReviewer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewReviewer patch(@jakarta.annotation.Nonnull final AccessReviewReviewer body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -104,8 +122,11 @@ public AccessReviewReviewer patch(@jakarta.annotation.Nonnull final AccessReview /** * Delete navigation property contactedReviewers for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -113,8 +134,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property contactedReviewers for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Returns the collection of reviewers who were contacted to complete this review. While the reviewers and fallbackReviewers properties of the accessReviewScheduleDefinition might specify group owners or managers as reviewers, contactedReviewers returns their individual identities. Supports $select. Read-only. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -133,8 +160,11 @@ public RequestInformation toGetRequestInformation() { * Returns the collection of reviewers who were contacted to complete this review. While the reviewers and fallbackReviewers properties of the accessReviewScheduleDefinition might specify group owners or managers as reviewers, contactedReviewers returns their individual identities. Supports $select. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -145,8 +175,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property contactedReviewers in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewReviewer body) { return toPatchRequestInformation(body, null); } @@ -155,8 +188,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewReviewer body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -169,8 +205,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessReviewReviewerItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessReviewReviewerItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessReviewReviewerItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/DecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/DecisionsRequestBuilder.java index 07faa7f78cb..a3f81f30696 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/DecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/DecisionsRequestBuilder.java @@ -28,7 +28,10 @@ public class DecisionsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -36,7 +39,10 @@ public CountRequestBuilder count() { /** * Provides operations to call the recordAllDecisions method. * @return a {@link RecordAllDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public RecordAllDecisionsRequestBuilder recordAllDecisions() { return new RecordAllDecisionsRequestBuilder(pathParameters, requestAdapter); @@ -45,8 +51,11 @@ public RecordAllDecisionsRequestBuilder recordAllDecisions() { * Provides operations to manage the decisions property of the microsoft.graph.accessReviewInstance entity. * @param accessReviewInstanceDecisionItemId The unique identifier of accessReviewInstanceDecisionItem * @return a {@link AccessReviewInstanceDecisionItemItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessReviewInstanceDecisionItemItemRequestBuilder byAccessReviewInstanceDecisionItemId(@jakarta.annotation.Nonnull final String accessReviewInstanceDecisionItemId) { Objects.requireNonNull(accessReviewInstanceDecisionItemId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -73,8 +82,11 @@ public DecisionsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, * Provides operations to call the filterByCurrentUser method. * @param on Usage: on='{on}' * @return a {@link FilterByCurrentUserWithOnRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilterByCurrentUserWithOnRequestBuilder filterByCurrentUserWithOn(@jakarta.annotation.Nonnull final String on) { Objects.requireNonNull(on); return new FilterByCurrentUserWithOnRequestBuilder(pathParameters, requestAdapter, on); @@ -83,9 +95,12 @@ public FilterByCurrentUserWithOnRequestBuilder filterByCurrentUserWithOn(@jakart * Retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. * @return a {@link AccessReviewInstanceDecisionItemCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItemCollectionResponse get() { return get(null); } @@ -94,9 +109,12 @@ public AccessReviewInstanceDecisionItemCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstanceDecisionItemCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItemCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -108,8 +126,11 @@ public AccessReviewInstanceDecisionItemCollectionResponse get(@jakarta.annotatio * @param body The request body * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem post(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body) { return post(body, null); } @@ -119,8 +140,11 @@ public AccessReviewInstanceDecisionItem post(@jakarta.annotation.Nonnull final A * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem post(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -131,8 +155,11 @@ public AccessReviewInstanceDecisionItem post(@jakarta.annotation.Nonnull final A /** * Retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -140,8 +167,11 @@ public RequestInformation toGetRequestInformation() { * Retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -152,8 +182,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to decisions for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body) { return toPostRequestInformation(body, null); } @@ -162,8 +195,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -176,8 +212,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link DecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public DecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new DecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/count/CountRequestBuilder.java index 13edc4531f7..c60c04213b7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java index 080caf73d50..b8d72c8259e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java @@ -41,9 +41,12 @@ public FilterByCurrentUserWithOnRequestBuilder(@jakarta.annotation.Nonnull final * Retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. * @return a {@link FilterByCurrentUserWithOnGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public FilterByCurrentUserWithOnGetResponse get() { return get(null); } @@ -52,9 +55,12 @@ public FilterByCurrentUserWithOnGetResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link FilterByCurrentUserWithOnGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public FilterByCurrentUserWithOnGetResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -64,8 +70,11 @@ public FilterByCurrentUserWithOnGetResponse get(@jakarta.annotation.Nullable fin /** * Retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -73,8 +82,11 @@ public RequestInformation toGetRequestInformation() { * Retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -85,8 +97,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link FilterByCurrentUserWithOnRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilterByCurrentUserWithOnRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new FilterByCurrentUserWithOnRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/AccessReviewInstanceDecisionItemItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/AccessReviewInstanceDecisionItemItemRequestBuilder.java index c2af2dca50c..e54f7b23e57 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/AccessReviewInstanceDecisionItemItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/AccessReviewInstanceDecisionItemItemRequestBuilder.java @@ -25,7 +25,10 @@ public class AccessReviewInstanceDecisionItemItemRequestBuilder extends BaseRequ /** * Provides operations to manage the insights property of the microsoft.graph.accessReviewInstanceDecisionItem entity. * @return a {@link InsightsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public InsightsRequestBuilder insights() { return new InsightsRequestBuilder(pathParameters, requestAdapter); @@ -33,7 +36,10 @@ public InsightsRequestBuilder insights() { /** * Provides operations to manage the instance property of the microsoft.graph.accessReviewInstanceDecisionItem entity. * @return a {@link InstanceRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public InstanceRequestBuilder instance() { return new InstanceRequestBuilder(pathParameters, requestAdapter); @@ -57,7 +63,10 @@ public AccessReviewInstanceDecisionItemItemRequestBuilder(@jakarta.annotation.No /** * Delete navigation property decisions for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -65,7 +74,10 @@ public void delete() { * Delete navigation property decisions for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -76,9 +88,12 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Read the properties and relationships of an accessReviewInstanceDecisionItem object. * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem get() { return get(null); } @@ -87,9 +102,12 @@ public AccessReviewInstanceDecisionItem get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -101,9 +119,12 @@ public AccessReviewInstanceDecisionItem get(@jakarta.annotation.Nullable final j * @param body The request body * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem patch(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body) { return patch(body, null); } @@ -113,9 +134,12 @@ public AccessReviewInstanceDecisionItem patch(@jakarta.annotation.Nonnull final * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem patch(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -126,8 +150,11 @@ public AccessReviewInstanceDecisionItem patch(@jakarta.annotation.Nonnull final /** * Delete navigation property decisions for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -135,8 +162,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property decisions for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -146,8 +176,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Read the properties and relationships of an accessReviewInstanceDecisionItem object. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -155,8 +188,11 @@ public RequestInformation toGetRequestInformation() { * Read the properties and relationships of an accessReviewInstanceDecisionItem object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -167,8 +203,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update access decisions, known as accessReviewInstanceDecisionItems, for which the user is the reviewer. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body) { return toPatchRequestInformation(body, null); } @@ -177,8 +216,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -191,8 +233,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessReviewInstanceDecisionItemItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessReviewInstanceDecisionItemItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessReviewInstanceDecisionItemItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/insights/InsightsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/insights/InsightsRequestBuilder.java index e2694717203..efb3f5a76ce 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/insights/InsightsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/insights/InsightsRequestBuilder.java @@ -26,7 +26,10 @@ public class InsightsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the insights property of the microsoft.graph.accessReviewInstanceDecisionItem entity. * @param governanceInsightId The unique identifier of governanceInsight * @return a {@link GovernanceInsightItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public GovernanceInsightItemRequestBuilder byGovernanceInsightId(@jakarta.annotation.Nonnull final String governanceInsightId) { Objects.requireNonNull(governanceInsightId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public InsightsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @return a {@link GovernanceInsightCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsightCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public GovernanceInsightCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GovernanceInsightCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsightCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public GovernanceInsightCollectionResponse get(@jakarta.annotation.Nullable fina * @param body The request body * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight post(@jakarta.annotation.Nonnull final GovernanceInsight body) { return post(body, null); } @@ -97,8 +112,11 @@ public GovernanceInsight post(@jakarta.annotation.Nonnull final GovernanceInsigh * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight post(@jakarta.annotation.Nonnull final GovernanceInsight body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public GovernanceInsight post(@jakarta.annotation.Nonnull final GovernanceInsigh /** * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to insights for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GovernanceInsight body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GovernanceInsight body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link InsightsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public InsightsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new InsightsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/insights/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/insights/count/CountRequestBuilder.java index ac644f0f97e..5f70bbd6eeb 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/insights/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/insights/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/insights/item/GovernanceInsightItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/insights/item/GovernanceInsightItemRequestBuilder.java index c55e85c3244..d50d8b737da 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/insights/item/GovernanceInsightItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/insights/item/GovernanceInsightItemRequestBuilder.java @@ -39,7 +39,10 @@ public GovernanceInsightItemRequestBuilder(@jakarta.annotation.Nonnull final Str /** * Delete navigation property insights for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -47,7 +50,10 @@ public void delete() { * Delete navigation property insights for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -58,8 +64,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight get() { return get(null); } @@ -68,8 +77,11 @@ public GovernanceInsight get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -81,8 +93,11 @@ public GovernanceInsight get(@jakarta.annotation.Nullable final java.util.functi * @param body The request body * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight patch(@jakarta.annotation.Nonnull final GovernanceInsight body) { return patch(body, null); } @@ -92,8 +107,11 @@ public GovernanceInsight patch(@jakarta.annotation.Nonnull final GovernanceInsig * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight patch(@jakarta.annotation.Nonnull final GovernanceInsight body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -104,8 +122,11 @@ public GovernanceInsight patch(@jakarta.annotation.Nonnull final GovernanceInsig /** * Delete navigation property insights for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -113,8 +134,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property insights for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -133,8 +160,11 @@ public RequestInformation toGetRequestInformation() { * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -145,8 +175,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property insights in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final GovernanceInsight body) { return toPatchRequestInformation(body, null); } @@ -155,8 +188,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final GovernanceInsight body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -169,8 +205,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link GovernanceInsightItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public GovernanceInsightItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new GovernanceInsightItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/InstanceRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/InstanceRequestBuilder.java index 1ffcd58d160..65134385a2a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/InstanceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/InstanceRequestBuilder.java @@ -34,7 +34,10 @@ public class InstanceRequestBuilder extends BaseRequestBuilder { /** * Provides operations to call the acceptRecommendations method. * @return a {@link AcceptRecommendationsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AcceptRecommendationsRequestBuilder acceptRecommendations() { return new AcceptRecommendationsRequestBuilder(pathParameters, requestAdapter); @@ -42,7 +45,10 @@ public AcceptRecommendationsRequestBuilder acceptRecommendations() { /** * Provides operations to call the applyDecisions method. * @return a {@link ApplyDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ApplyDecisionsRequestBuilder applyDecisions() { return new ApplyDecisionsRequestBuilder(pathParameters, requestAdapter); @@ -50,7 +56,10 @@ public ApplyDecisionsRequestBuilder applyDecisions() { /** * Provides operations to call the batchApplyCustomDataProvidedResourceDecisions method. * @return a {@link BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder batchApplyCustomDataProvidedResourceDecisions() { return new BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder(pathParameters, requestAdapter); @@ -58,7 +67,10 @@ public BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder batchApplyCus /** * Provides operations to call the batchRecordDecisions method. * @return a {@link BatchRecordDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public BatchRecordDecisionsRequestBuilder batchRecordDecisions() { return new BatchRecordDecisionsRequestBuilder(pathParameters, requestAdapter); @@ -66,7 +78,10 @@ public BatchRecordDecisionsRequestBuilder batchRecordDecisions() { /** * Provides operations to manage the contactedReviewers property of the microsoft.graph.accessReviewInstance entity. * @return a {@link ContactedReviewersRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ContactedReviewersRequestBuilder contactedReviewers() { return new ContactedReviewersRequestBuilder(pathParameters, requestAdapter); @@ -74,7 +89,10 @@ public ContactedReviewersRequestBuilder contactedReviewers() { /** * Provides operations to manage the definition property of the microsoft.graph.accessReviewInstance entity. * @return a {@link DefinitionRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public DefinitionRequestBuilder definition() { return new DefinitionRequestBuilder(pathParameters, requestAdapter); @@ -82,7 +100,10 @@ public DefinitionRequestBuilder definition() { /** * Provides operations to call the resetDecisions method. * @return a {@link ResetDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ResetDecisionsRequestBuilder resetDecisions() { return new ResetDecisionsRequestBuilder(pathParameters, requestAdapter); @@ -90,7 +111,10 @@ public ResetDecisionsRequestBuilder resetDecisions() { /** * Provides operations to call the sendReminder method. * @return a {@link SendReminderRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public SendReminderRequestBuilder sendReminder() { return new SendReminderRequestBuilder(pathParameters, requestAdapter); @@ -98,7 +122,10 @@ public SendReminderRequestBuilder sendReminder() { /** * Provides operations to manage the stages property of the microsoft.graph.accessReviewInstance entity. * @return a {@link StagesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public StagesRequestBuilder stages() { return new StagesRequestBuilder(pathParameters, requestAdapter); @@ -106,7 +133,10 @@ public StagesRequestBuilder stages() { /** * Provides operations to call the stop method. * @return a {@link StopRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public StopRequestBuilder stop() { return new StopRequestBuilder(pathParameters, requestAdapter); @@ -114,7 +144,10 @@ public StopRequestBuilder stop() { /** * Provides operations to call the stopApplyDecisions method. * @return a {@link StopApplyDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public StopApplyDecisionsRequestBuilder stopApplyDecisions() { return new StopApplyDecisionsRequestBuilder(pathParameters, requestAdapter); @@ -138,7 +171,10 @@ public InstanceRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ /** * Delete navigation property instance for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -146,7 +182,10 @@ public void delete() { * Delete navigation property instance for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -157,8 +196,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * There's exactly one accessReviewInstance associated with each decision. The instance is the parent of the decision item, representing the recurrence of the access review the decision is made on. * @return a {@link AccessReviewInstance} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstance get() { return get(null); } @@ -167,8 +209,11 @@ public AccessReviewInstance get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstance} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstance get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -180,8 +225,11 @@ public AccessReviewInstance get(@jakarta.annotation.Nullable final java.util.fun * @param body The request body * @return a {@link AccessReviewInstance} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstance patch(@jakarta.annotation.Nonnull final AccessReviewInstance body) { return patch(body, null); } @@ -191,8 +239,11 @@ public AccessReviewInstance patch(@jakarta.annotation.Nonnull final AccessReview * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstance} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstance patch(@jakarta.annotation.Nonnull final AccessReviewInstance body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -203,8 +254,11 @@ public AccessReviewInstance patch(@jakarta.annotation.Nonnull final AccessReview /** * Delete navigation property instance for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -212,8 +266,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property instance for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -223,8 +280,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * There's exactly one accessReviewInstance associated with each decision. The instance is the parent of the decision item, representing the recurrence of the access review the decision is made on. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -232,8 +292,11 @@ public RequestInformation toGetRequestInformation() { * There's exactly one accessReviewInstance associated with each decision. The instance is the parent of the decision item, representing the recurrence of the access review the decision is made on. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -244,8 +307,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property instance in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstance body) { return toPatchRequestInformation(body, null); } @@ -254,8 +320,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstance body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -268,8 +337,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link InstanceRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public InstanceRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new InstanceRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/acceptrecommendations/AcceptRecommendationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/acceptrecommendations/AcceptRecommendationsRequestBuilder.java index 39709ca9d1d..96517bf7029 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/acceptrecommendations/AcceptRecommendationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/acceptrecommendations/AcceptRecommendationsRequestBuilder.java @@ -37,8 +37,11 @@ public AcceptRecommendationsRequestBuilder(@jakarta.annotation.Nonnull final Str /** * Allows the acceptance of recommendations on all accessReviewInstanceDecisionItem objects that haven't been reviewed for an accessReviewInstance object for which the calling user is a reviewer. Recommendations are generated if recommendationsEnabled is true on the accessReviewScheduleDefinition object. If there isn't a recommendation on an accessReviewInstanceDecisionItem object no decision will be recorded. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * Allows the acceptance of recommendations on all accessReviewInstanceDecisionItem objects that haven't been reviewed for an accessReviewInstance object for which the calling user is a reviewer. Recommendations are generated if recommendationsEnabled is true on the accessReviewScheduleDefinition object. If there isn't a recommendation on an accessReviewInstanceDecisionItem object no decision will be recorded. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Allows the acceptance of recommendations on all accessReviewInstanceDecisionItem objects that haven't been reviewed for an accessReviewInstance object for which the calling user is a reviewer. Recommendations are generated if recommendationsEnabled is true on the accessReviewScheduleDefinition object. If there isn't a recommendation on an accessReviewInstanceDecisionItem object no decision will be recorded. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * Allows the acceptance of recommendations on all accessReviewInstanceDecisionItem objects that haven't been reviewed for an accessReviewInstance object for which the calling user is a reviewer. Recommendations are generated if recommendationsEnabled is true on the accessReviewScheduleDefinition object. If there isn't a recommendation on an accessReviewInstanceDecisionItem object no decision will be recorded. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AcceptRecommendationsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AcceptRecommendationsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AcceptRecommendationsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/applydecisions/ApplyDecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/applydecisions/ApplyDecisionsRequestBuilder.java index f7991888486..a957f38f162 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/applydecisions/ApplyDecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/applydecisions/ApplyDecisionsRequestBuilder.java @@ -37,8 +37,11 @@ public ApplyDecisionsRequestBuilder(@jakarta.annotation.Nonnull final String raw /** * Apply review decisions on an accessReviewInstance if the decisions were not applied automatically because the autoApplyDecisionsEnabled property is false in the review's accessReviewScheduleSettings. The status of the accessReviewInstance must be Completed to call this method. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * Apply review decisions on an accessReviewInstance if the decisions were not applied automatically because the autoApplyDecisionsEnabled property is false in the review's accessReviewScheduleSettings. The status of the accessReviewInstance must be Completed to call this method. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Apply review decisions on an accessReviewInstance if the decisions were not applied automatically because the autoApplyDecisionsEnabled property is false in the review's accessReviewScheduleSettings. The status of the accessReviewInstance must be Completed to call this method. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * Apply review decisions on an accessReviewInstance if the decisions were not applied automatically because the autoApplyDecisionsEnabled property is false in the review's accessReviewScheduleSettings. The status of the accessReviewInstance must be Completed to call this method. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ApplyDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ApplyDecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ApplyDecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/batchapplycustomdataprovidedresourcedecisions/BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/batchapplycustomdataprovidedresourcedecisions/BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder.java index 0ddbc57cfc4..b43ce278b54 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/batchapplycustomdataprovidedresourcedecisions/BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/batchapplycustomdataprovidedresourcedecisions/BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder.java @@ -38,8 +38,11 @@ public BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder(@jakarta.anno * Enables reviewers to set the applyResult and applyDescription on all accessReviewInstanceDecisionItem objects in a specific accessReviewInstance in batches by using customDataProvidedResourceId. NOTE: The access review instance must be in an Applying state. * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final BatchApplyCustomDataProvidedResourceDecisionsPostRequestBody body) { post(body, null); } @@ -48,8 +51,11 @@ public void post(@jakarta.annotation.Nonnull final BatchApplyCustomDataProvidedR * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final BatchApplyCustomDataProvidedResourceDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -61,8 +67,11 @@ public void post(@jakarta.annotation.Nonnull final BatchApplyCustomDataProvidedR * Enables reviewers to set the applyResult and applyDescription on all accessReviewInstanceDecisionItem objects in a specific accessReviewInstance in batches by using customDataProvidedResourceId. NOTE: The access review instance must be in an Applying state. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BatchApplyCustomDataProvidedResourceDecisionsPostRequestBody body) { return toPostRequestInformation(body, null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BatchApplyCustomDataProvidedResourceDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -85,8 +97,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/batchrecorddecisions/BatchRecordDecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/batchrecorddecisions/BatchRecordDecisionsRequestBuilder.java index 8b5ddd57812..4063effd26e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/batchrecorddecisions/BatchRecordDecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/batchrecorddecisions/BatchRecordDecisionsRequestBuilder.java @@ -38,8 +38,11 @@ public BatchRecordDecisionsRequestBuilder(@jakarta.annotation.Nonnull final Stri * Enables reviewers to review all accessReviewInstanceDecisionItem objects in a specific pending accessReviewInstance in batches by using principalId, resourceId, or neither. * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostRequestBody body) { post(body, null); } @@ -48,8 +51,11 @@ public void post(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostReque * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -61,8 +67,11 @@ public void post(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostReque * Enables reviewers to review all accessReviewInstanceDecisionItem objects in a specific pending accessReviewInstance in batches by using principalId, resourceId, or neither. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostRequestBody body) { return toPostRequestInformation(body, null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -85,8 +97,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link BatchRecordDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public BatchRecordDecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new BatchRecordDecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/contactedreviewers/ContactedReviewersRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/contactedreviewers/ContactedReviewersRequestBuilder.java index 6ab354eac8e..ef8e3c80941 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/contactedreviewers/ContactedReviewersRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/contactedreviewers/ContactedReviewersRequestBuilder.java @@ -26,7 +26,10 @@ public class ContactedReviewersRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the contactedReviewers property of the microsoft.graph.accessReviewInstance entity. * @param accessReviewReviewerId The unique identifier of accessReviewReviewer * @return a {@link AccessReviewReviewerItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessReviewReviewerItemRequestBuilder byAccessReviewReviewerId(@jakarta.annotation.Nonnull final String accessReviewReviewerId) { Objects.requireNonNull(accessReviewReviewerId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public ContactedReviewersRequestBuilder(@jakarta.annotation.Nonnull final String * Returns the collection of reviewers who were contacted to complete this review. While the reviewers and fallbackReviewers properties of the accessReviewScheduleDefinition might specify group owners or managers as reviewers, contactedReviewers returns their individual identities. Supports $select. Read-only. * @return a {@link AccessReviewReviewerCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewReviewerCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public AccessReviewReviewerCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewReviewerCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewReviewerCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public AccessReviewReviewerCollectionResponse get(@jakarta.annotation.Nullable f * @param body The request body * @return a {@link AccessReviewReviewer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewReviewer post(@jakarta.annotation.Nonnull final AccessReviewReviewer body) { return post(body, null); } @@ -97,8 +112,11 @@ public AccessReviewReviewer post(@jakarta.annotation.Nonnull final AccessReviewR * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewReviewer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewReviewer post(@jakarta.annotation.Nonnull final AccessReviewReviewer body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public AccessReviewReviewer post(@jakarta.annotation.Nonnull final AccessReviewR /** * Returns the collection of reviewers who were contacted to complete this review. While the reviewers and fallbackReviewers properties of the accessReviewScheduleDefinition might specify group owners or managers as reviewers, contactedReviewers returns their individual identities. Supports $select. Read-only. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Returns the collection of reviewers who were contacted to complete this review. While the reviewers and fallbackReviewers properties of the accessReviewScheduleDefinition might specify group owners or managers as reviewers, contactedReviewers returns their individual identities. Supports $select. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to contactedReviewers for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewReviewer body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewReviewer body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ContactedReviewersRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ContactedReviewersRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ContactedReviewersRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/contactedreviewers/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/contactedreviewers/count/CountRequestBuilder.java index e9f98701c4d..978cd652933 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/contactedreviewers/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/contactedreviewers/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/contactedreviewers/item/AccessReviewReviewerItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/contactedreviewers/item/AccessReviewReviewerItemRequestBuilder.java index dfed45050e2..4ad90461499 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/contactedreviewers/item/AccessReviewReviewerItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/contactedreviewers/item/AccessReviewReviewerItemRequestBuilder.java @@ -39,7 +39,10 @@ public AccessReviewReviewerItemRequestBuilder(@jakarta.annotation.Nonnull final /** * Delete navigation property contactedReviewers for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -47,7 +50,10 @@ public void delete() { * Delete navigation property contactedReviewers for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -58,8 +64,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Returns the collection of reviewers who were contacted to complete this review. While the reviewers and fallbackReviewers properties of the accessReviewScheduleDefinition might specify group owners or managers as reviewers, contactedReviewers returns their individual identities. Supports $select. Read-only. * @return a {@link AccessReviewReviewer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewReviewer get() { return get(null); } @@ -68,8 +77,11 @@ public AccessReviewReviewer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewReviewer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewReviewer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -81,8 +93,11 @@ public AccessReviewReviewer get(@jakarta.annotation.Nullable final java.util.fun * @param body The request body * @return a {@link AccessReviewReviewer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewReviewer patch(@jakarta.annotation.Nonnull final AccessReviewReviewer body) { return patch(body, null); } @@ -92,8 +107,11 @@ public AccessReviewReviewer patch(@jakarta.annotation.Nonnull final AccessReview * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewReviewer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewReviewer patch(@jakarta.annotation.Nonnull final AccessReviewReviewer body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -104,8 +122,11 @@ public AccessReviewReviewer patch(@jakarta.annotation.Nonnull final AccessReview /** * Delete navigation property contactedReviewers for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -113,8 +134,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property contactedReviewers for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Returns the collection of reviewers who were contacted to complete this review. While the reviewers and fallbackReviewers properties of the accessReviewScheduleDefinition might specify group owners or managers as reviewers, contactedReviewers returns their individual identities. Supports $select. Read-only. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -133,8 +160,11 @@ public RequestInformation toGetRequestInformation() { * Returns the collection of reviewers who were contacted to complete this review. While the reviewers and fallbackReviewers properties of the accessReviewScheduleDefinition might specify group owners or managers as reviewers, contactedReviewers returns their individual identities. Supports $select. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -145,8 +175,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property contactedReviewers in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewReviewer body) { return toPatchRequestInformation(body, null); } @@ -155,8 +188,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewReviewer body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -169,8 +205,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessReviewReviewerItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessReviewReviewerItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessReviewReviewerItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/definition/DefinitionRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/definition/DefinitionRequestBuilder.java index 0f2e118487e..477e7c5854f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/definition/DefinitionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/definition/DefinitionRequestBuilder.java @@ -40,8 +40,11 @@ public DefinitionRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, * There's exactly one accessReviewScheduleDefinition associated with each instance. It's the parent schedule for the instance, where instances are created for each recurrence of a review definition and each group selected to review by the definition. * @return a {@link AccessReviewScheduleDefinition} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewScheduleDefinition get() { return get(null); } @@ -50,8 +53,11 @@ public AccessReviewScheduleDefinition get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewScheduleDefinition} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewScheduleDefinition get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public AccessReviewScheduleDefinition get(@jakarta.annotation.Nullable final jav /** * There's exactly one accessReviewScheduleDefinition associated with each instance. It's the parent schedule for the instance, where instances are created for each recurrence of a review definition and each group selected to review by the definition. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * There's exactly one accessReviewScheduleDefinition associated with each instance. It's the parent schedule for the instance, where instances are created for each recurrence of a review definition and each group selected to review by the definition. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link DefinitionRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public DefinitionRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new DefinitionRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/resetdecisions/ResetDecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/resetdecisions/ResetDecisionsRequestBuilder.java index 6462a8dbe38..ce9bf845ecb 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/resetdecisions/ResetDecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/resetdecisions/ResetDecisionsRequestBuilder.java @@ -37,8 +37,11 @@ public ResetDecisionsRequestBuilder(@jakarta.annotation.Nonnull final String raw /** * Resets decisions of all accessReviewInstanceDecisionItem objects on an accessReviewInstance to notReviewed. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * Resets decisions of all accessReviewInstanceDecisionItem objects on an accessReviewInstance to notReviewed. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Resets decisions of all accessReviewInstanceDecisionItem objects on an accessReviewInstance to notReviewed. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * Resets decisions of all accessReviewInstanceDecisionItem objects on an accessReviewInstance to notReviewed. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ResetDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ResetDecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ResetDecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/sendreminder/SendReminderRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/sendreminder/SendReminderRequestBuilder.java index 234d1c8b334..0ac6ad65a56 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/sendreminder/SendReminderRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/sendreminder/SendReminderRequestBuilder.java @@ -37,8 +37,11 @@ public SendReminderRequestBuilder(@jakarta.annotation.Nonnull final String rawUr /** * Send a reminder to the reviewers of a currently active accessReviewInstance. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * Send a reminder to the reviewers of a currently active accessReviewInstance. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Send a reminder to the reviewers of a currently active accessReviewInstance. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * Send a reminder to the reviewers of a currently active accessReviewInstance. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link SendReminderRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public SendReminderRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new SendReminderRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/stages/StagesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/stages/StagesRequestBuilder.java index 996c2ecf023..f7e0a10646b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/stages/StagesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/stages/StagesRequestBuilder.java @@ -27,7 +27,10 @@ public class StagesRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -36,8 +39,11 @@ public CountRequestBuilder count() { * Provides operations to manage the stages property of the microsoft.graph.accessReviewInstance entity. * @param accessReviewStageId The unique identifier of accessReviewStage * @return a {@link AccessReviewStageItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessReviewStageItemRequestBuilder byAccessReviewStageId(@jakarta.annotation.Nonnull final String accessReviewStageId) { Objects.requireNonNull(accessReviewStageId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -64,8 +70,11 @@ public StagesRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ja * Provides operations to call the filterByCurrentUser method. * @param on Usage: on='{on}' * @return a {@link FilterByCurrentUserWithOnRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilterByCurrentUserWithOnRequestBuilder filterByCurrentUserWithOn(@jakarta.annotation.Nonnull final String on) { Objects.requireNonNull(on); return new FilterByCurrentUserWithOnRequestBuilder(pathParameters, requestAdapter, on); @@ -74,8 +83,11 @@ public FilterByCurrentUserWithOnRequestBuilder filterByCurrentUserWithOn(@jakart * If the instance has multiple stages, this returns the collection of stages. A new stage will only be created when the previous stage ends. The existence, number, and settings of stages on a review instance are created based on the accessReviewStageSettings on the parent accessReviewScheduleDefinition. * @return a {@link AccessReviewStageCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewStageCollectionResponse get() { return get(null); } @@ -84,8 +96,11 @@ public AccessReviewStageCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewStageCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewStageCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -97,8 +112,11 @@ public AccessReviewStageCollectionResponse get(@jakarta.annotation.Nullable fina * @param body The request body * @return a {@link AccessReviewStage} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewStage post(@jakarta.annotation.Nonnull final AccessReviewStage body) { return post(body, null); } @@ -108,8 +126,11 @@ public AccessReviewStage post(@jakarta.annotation.Nonnull final AccessReviewStag * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewStage} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewStage post(@jakarta.annotation.Nonnull final AccessReviewStage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -120,8 +141,11 @@ public AccessReviewStage post(@jakarta.annotation.Nonnull final AccessReviewStag /** * If the instance has multiple stages, this returns the collection of stages. A new stage will only be created when the previous stage ends. The existence, number, and settings of stages on a review instance are created based on the accessReviewStageSettings on the parent accessReviewScheduleDefinition. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -129,8 +153,11 @@ public RequestInformation toGetRequestInformation() { * If the instance has multiple stages, this returns the collection of stages. A new stage will only be created when the previous stage ends. The existence, number, and settings of stages on a review instance are created based on the accessReviewStageSettings on the parent accessReviewScheduleDefinition. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -141,8 +168,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to stages for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewStage body) { return toPostRequestInformation(body, null); } @@ -151,8 +181,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewStage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -165,8 +198,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link StagesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public StagesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new StagesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/stages/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/stages/count/CountRequestBuilder.java index 0ca15a5c63f..a6b8e755438 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/stages/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/stages/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/stages/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/stages/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java index 6dba0a38681..ed53653e808 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/stages/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/stages/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java @@ -41,9 +41,12 @@ public FilterByCurrentUserWithOnRequestBuilder(@jakarta.annotation.Nonnull final * Return all accessReviewStage objects on a given accessReviewInstance where the calling user is a reviewer on one or more accessReviewInstanceDecisionItem objects. * @return a {@link FilterByCurrentUserWithOnGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public FilterByCurrentUserWithOnGetResponse get() { return get(null); } @@ -52,9 +55,12 @@ public FilterByCurrentUserWithOnGetResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link FilterByCurrentUserWithOnGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public FilterByCurrentUserWithOnGetResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -64,8 +70,11 @@ public FilterByCurrentUserWithOnGetResponse get(@jakarta.annotation.Nullable fin /** * Return all accessReviewStage objects on a given accessReviewInstance where the calling user is a reviewer on one or more accessReviewInstanceDecisionItem objects. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -73,8 +82,11 @@ public RequestInformation toGetRequestInformation() { * Return all accessReviewStage objects on a given accessReviewInstance where the calling user is a reviewer on one or more accessReviewInstanceDecisionItem objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -85,8 +97,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link FilterByCurrentUserWithOnRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilterByCurrentUserWithOnRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new FilterByCurrentUserWithOnRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/stages/item/AccessReviewStageItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/stages/item/AccessReviewStageItemRequestBuilder.java index b130036f65e..79a58db10d2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/stages/item/AccessReviewStageItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/stages/item/AccessReviewStageItemRequestBuilder.java @@ -27,7 +27,10 @@ public class AccessReviewStageItemRequestBuilder extends BaseRequestBuilder { /** * Provides operations to call the acceptRecommendations method. * @return a {@link AcceptRecommendationsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AcceptRecommendationsRequestBuilder acceptRecommendations() { return new AcceptRecommendationsRequestBuilder(pathParameters, requestAdapter); @@ -35,7 +38,10 @@ public AcceptRecommendationsRequestBuilder acceptRecommendations() { /** * Provides operations to call the batchRecordDecisions method. * @return a {@link BatchRecordDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public BatchRecordDecisionsRequestBuilder batchRecordDecisions() { return new BatchRecordDecisionsRequestBuilder(pathParameters, requestAdapter); @@ -43,7 +49,10 @@ public BatchRecordDecisionsRequestBuilder batchRecordDecisions() { /** * Provides operations to manage the decisions property of the microsoft.graph.accessReviewStage entity. * @return a {@link DecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public DecisionsRequestBuilder decisions() { return new DecisionsRequestBuilder(pathParameters, requestAdapter); @@ -51,7 +60,10 @@ public DecisionsRequestBuilder decisions() { /** * Provides operations to call the stop method. * @return a {@link StopRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public StopRequestBuilder stop() { return new StopRequestBuilder(pathParameters, requestAdapter); @@ -75,7 +87,10 @@ public AccessReviewStageItemRequestBuilder(@jakarta.annotation.Nonnull final Str /** * Delete navigation property stages for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -83,7 +98,10 @@ public void delete() { * Delete navigation property stages for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -94,8 +112,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * If the instance has multiple stages, this returns the collection of stages. A new stage will only be created when the previous stage ends. The existence, number, and settings of stages on a review instance are created based on the accessReviewStageSettings on the parent accessReviewScheduleDefinition. * @return a {@link AccessReviewStage} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewStage get() { return get(null); } @@ -104,8 +125,11 @@ public AccessReviewStage get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewStage} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewStage get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -117,8 +141,11 @@ public AccessReviewStage get(@jakarta.annotation.Nullable final java.util.functi * @param body The request body * @return a {@link AccessReviewStage} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewStage patch(@jakarta.annotation.Nonnull final AccessReviewStage body) { return patch(body, null); } @@ -128,8 +155,11 @@ public AccessReviewStage patch(@jakarta.annotation.Nonnull final AccessReviewSta * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewStage} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewStage patch(@jakarta.annotation.Nonnull final AccessReviewStage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -140,8 +170,11 @@ public AccessReviewStage patch(@jakarta.annotation.Nonnull final AccessReviewSta /** * Delete navigation property stages for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -149,8 +182,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property stages for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -160,8 +196,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * If the instance has multiple stages, this returns the collection of stages. A new stage will only be created when the previous stage ends. The existence, number, and settings of stages on a review instance are created based on the accessReviewStageSettings on the parent accessReviewScheduleDefinition. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -169,8 +208,11 @@ public RequestInformation toGetRequestInformation() { * If the instance has multiple stages, this returns the collection of stages. A new stage will only be created when the previous stage ends. The existence, number, and settings of stages on a review instance are created based on the accessReviewStageSettings on the parent accessReviewScheduleDefinition. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -181,8 +223,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property stages in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewStage body) { return toPatchRequestInformation(body, null); } @@ -191,8 +236,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewStage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -205,8 +253,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessReviewStageItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessReviewStageItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessReviewStageItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/stages/item/acceptrecommendations/AcceptRecommendationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/stages/item/acceptrecommendations/AcceptRecommendationsRequestBuilder.java index 13dd823419b..07300af5fbd 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/stages/item/acceptrecommendations/AcceptRecommendationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/stages/item/acceptrecommendations/AcceptRecommendationsRequestBuilder.java @@ -37,8 +37,11 @@ public AcceptRecommendationsRequestBuilder(@jakarta.annotation.Nonnull final Str /** * Accept the recommendations on all accessReviewInstanceDecisionItem objects that haven't been reviewed within a single accessReviewStage of a multi-stage accessReviewInstance. Recommendations are generated if recommendationsEnabled is true on the accessReviewScheduleDefinition object. If there's no recommendation on an accessReviewInstanceDecisionItem object, no decision is recorded. This action accepts recommendations for the decisions in a specific stage only, unlike accessReviewInstance: acceptRecommendations, which operates across the entire instance. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * Accept the recommendations on all accessReviewInstanceDecisionItem objects that haven't been reviewed within a single accessReviewStage of a multi-stage accessReviewInstance. Recommendations are generated if recommendationsEnabled is true on the accessReviewScheduleDefinition object. If there's no recommendation on an accessReviewInstanceDecisionItem object, no decision is recorded. This action accepts recommendations for the decisions in a specific stage only, unlike accessReviewInstance: acceptRecommendations, which operates across the entire instance. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Accept the recommendations on all accessReviewInstanceDecisionItem objects that haven't been reviewed within a single accessReviewStage of a multi-stage accessReviewInstance. Recommendations are generated if recommendationsEnabled is true on the accessReviewScheduleDefinition object. If there's no recommendation on an accessReviewInstanceDecisionItem object, no decision is recorded. This action accepts recommendations for the decisions in a specific stage only, unlike accessReviewInstance: acceptRecommendations, which operates across the entire instance. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * Accept the recommendations on all accessReviewInstanceDecisionItem objects that haven't been reviewed within a single accessReviewStage of a multi-stage accessReviewInstance. Recommendations are generated if recommendationsEnabled is true on the accessReviewScheduleDefinition object. If there's no recommendation on an accessReviewInstanceDecisionItem object, no decision is recorded. This action accepts recommendations for the decisions in a specific stage only, unlike accessReviewInstance: acceptRecommendations, which operates across the entire instance. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AcceptRecommendationsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AcceptRecommendationsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AcceptRecommendationsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/stages/item/batchrecorddecisions/BatchRecordDecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/stages/item/batchrecorddecisions/BatchRecordDecisionsRequestBuilder.java index b8b3a02f56f..4ef28dbb5ca 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/stages/item/batchrecorddecisions/BatchRecordDecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/stages/item/batchrecorddecisions/BatchRecordDecisionsRequestBuilder.java @@ -38,8 +38,11 @@ public BatchRecordDecisionsRequestBuilder(@jakarta.annotation.Nonnull final Stri * Record decisions in bulk for all accessReviewInstanceDecisionItem objects within a single accessReviewStage of a multi-stage accessReviewInstance, by using principalId, resourceId, or neither. This action records decisions for a specific stage only, unlike accessReviewInstance: batchRecordDecisions, which operates across the entire instance. * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostRequestBody body) { post(body, null); } @@ -48,8 +51,11 @@ public void post(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostReque * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -61,8 +67,11 @@ public void post(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostReque * Record decisions in bulk for all accessReviewInstanceDecisionItem objects within a single accessReviewStage of a multi-stage accessReviewInstance, by using principalId, resourceId, or neither. This action records decisions for a specific stage only, unlike accessReviewInstance: batchRecordDecisions, which operates across the entire instance. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostRequestBody body) { return toPostRequestInformation(body, null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -85,8 +97,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link BatchRecordDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public BatchRecordDecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new BatchRecordDecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/stages/item/decisions/DecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/stages/item/decisions/DecisionsRequestBuilder.java index 7a174938b90..9d87b297091 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/stages/item/decisions/DecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/stages/item/decisions/DecisionsRequestBuilder.java @@ -28,7 +28,10 @@ public class DecisionsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -36,7 +39,10 @@ public CountRequestBuilder count() { /** * Provides operations to call the recordAllDecisions method. * @return a {@link RecordAllDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public RecordAllDecisionsRequestBuilder recordAllDecisions() { return new RecordAllDecisionsRequestBuilder(pathParameters, requestAdapter); @@ -45,8 +51,11 @@ public RecordAllDecisionsRequestBuilder recordAllDecisions() { * Provides operations to manage the decisions property of the microsoft.graph.accessReviewStage entity. * @param accessReviewInstanceDecisionItemId1 The unique identifier of accessReviewInstanceDecisionItem * @return a {@link AccessReviewInstanceDecisionItemItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessReviewInstanceDecisionItemItemRequestBuilder byAccessReviewInstanceDecisionItemId1(@jakarta.annotation.Nonnull final String accessReviewInstanceDecisionItemId1) { Objects.requireNonNull(accessReviewInstanceDecisionItemId1); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -73,8 +82,11 @@ public DecisionsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, * Provides operations to call the filterByCurrentUser method. * @param on Usage: on='{on}' * @return a {@link FilterByCurrentUserWithOnRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilterByCurrentUserWithOnRequestBuilder filterByCurrentUserWithOn(@jakarta.annotation.Nonnull final String on) { Objects.requireNonNull(on); return new FilterByCurrentUserWithOnRequestBuilder(pathParameters, requestAdapter, on); @@ -83,8 +95,11 @@ public FilterByCurrentUserWithOnRequestBuilder filterByCurrentUserWithOn(@jakart * Each user reviewed in an accessReviewStage has a decision item representing if they were approved, denied, or not yet reviewed. * @return a {@link AccessReviewInstanceDecisionItemCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItemCollectionResponse get() { return get(null); } @@ -93,8 +108,11 @@ public AccessReviewInstanceDecisionItemCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstanceDecisionItemCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItemCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -106,8 +124,11 @@ public AccessReviewInstanceDecisionItemCollectionResponse get(@jakarta.annotatio * @param body The request body * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem post(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body) { return post(body, null); } @@ -117,8 +138,11 @@ public AccessReviewInstanceDecisionItem post(@jakarta.annotation.Nonnull final A * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem post(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -129,8 +153,11 @@ public AccessReviewInstanceDecisionItem post(@jakarta.annotation.Nonnull final A /** * Each user reviewed in an accessReviewStage has a decision item representing if they were approved, denied, or not yet reviewed. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -138,8 +165,11 @@ public RequestInformation toGetRequestInformation() { * Each user reviewed in an accessReviewStage has a decision item representing if they were approved, denied, or not yet reviewed. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -150,8 +180,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to decisions for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body) { return toPostRequestInformation(body, null); } @@ -160,8 +193,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -174,8 +210,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link DecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public DecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new DecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/stages/item/decisions/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/stages/item/decisions/count/CountRequestBuilder.java index d3a479ae296..0a0dde32aff 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/stages/item/decisions/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/stages/item/decisions/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/stages/item/decisions/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/stages/item/decisions/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java index f4b3103beb1..1089abd22e7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/stages/item/decisions/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/stages/item/decisions/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java @@ -41,9 +41,12 @@ public FilterByCurrentUserWithOnRequestBuilder(@jakarta.annotation.Nonnull final * Retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. * @return a {@link FilterByCurrentUserWithOnGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public FilterByCurrentUserWithOnGetResponse get() { return get(null); } @@ -52,9 +55,12 @@ public FilterByCurrentUserWithOnGetResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link FilterByCurrentUserWithOnGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public FilterByCurrentUserWithOnGetResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -64,8 +70,11 @@ public FilterByCurrentUserWithOnGetResponse get(@jakarta.annotation.Nullable fin /** * Retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -73,8 +82,11 @@ public RequestInformation toGetRequestInformation() { * Retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -85,8 +97,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link FilterByCurrentUserWithOnRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilterByCurrentUserWithOnRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new FilterByCurrentUserWithOnRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/stages/item/decisions/item/AccessReviewInstanceDecisionItemItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/stages/item/decisions/item/AccessReviewInstanceDecisionItemItemRequestBuilder.java index d8b6d330102..4638261d757 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/stages/item/decisions/item/AccessReviewInstanceDecisionItemItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/stages/item/decisions/item/AccessReviewInstanceDecisionItemItemRequestBuilder.java @@ -24,7 +24,10 @@ public class AccessReviewInstanceDecisionItemItemRequestBuilder extends BaseRequ /** * Provides operations to manage the insights property of the microsoft.graph.accessReviewInstanceDecisionItem entity. * @return a {@link InsightsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public InsightsRequestBuilder insights() { return new InsightsRequestBuilder(pathParameters, requestAdapter); @@ -48,7 +51,10 @@ public AccessReviewInstanceDecisionItemItemRequestBuilder(@jakarta.annotation.No /** * Delete navigation property decisions for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -56,7 +62,10 @@ public void delete() { * Delete navigation property decisions for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -67,8 +76,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Each user reviewed in an accessReviewStage has a decision item representing if they were approved, denied, or not yet reviewed. * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem get() { return get(null); } @@ -77,8 +89,11 @@ public AccessReviewInstanceDecisionItem get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -90,8 +105,11 @@ public AccessReviewInstanceDecisionItem get(@jakarta.annotation.Nullable final j * @param body The request body * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem patch(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body) { return patch(body, null); } @@ -101,8 +119,11 @@ public AccessReviewInstanceDecisionItem patch(@jakarta.annotation.Nonnull final * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem patch(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -113,8 +134,11 @@ public AccessReviewInstanceDecisionItem patch(@jakarta.annotation.Nonnull final /** * Delete navigation property decisions for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -122,8 +146,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property decisions for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -133,8 +160,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Each user reviewed in an accessReviewStage has a decision item representing if they were approved, denied, or not yet reviewed. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -142,8 +172,11 @@ public RequestInformation toGetRequestInformation() { * Each user reviewed in an accessReviewStage has a decision item representing if they were approved, denied, or not yet reviewed. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -154,8 +187,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property decisions in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body) { return toPatchRequestInformation(body, null); } @@ -164,8 +200,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -178,8 +217,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessReviewInstanceDecisionItemItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessReviewInstanceDecisionItemItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessReviewInstanceDecisionItemItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/stages/item/decisions/item/insights/InsightsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/stages/item/decisions/item/insights/InsightsRequestBuilder.java index f39b84f6e06..1aa16b3d33a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/stages/item/decisions/item/insights/InsightsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/stages/item/decisions/item/insights/InsightsRequestBuilder.java @@ -26,7 +26,10 @@ public class InsightsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the insights property of the microsoft.graph.accessReviewInstanceDecisionItem entity. * @param governanceInsightId The unique identifier of governanceInsight * @return a {@link GovernanceInsightItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public GovernanceInsightItemRequestBuilder byGovernanceInsightId(@jakarta.annotation.Nonnull final String governanceInsightId) { Objects.requireNonNull(governanceInsightId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public InsightsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @return a {@link GovernanceInsightCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsightCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public GovernanceInsightCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GovernanceInsightCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsightCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public GovernanceInsightCollectionResponse get(@jakarta.annotation.Nullable fina * @param body The request body * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight post(@jakarta.annotation.Nonnull final GovernanceInsight body) { return post(body, null); } @@ -97,8 +112,11 @@ public GovernanceInsight post(@jakarta.annotation.Nonnull final GovernanceInsigh * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight post(@jakarta.annotation.Nonnull final GovernanceInsight body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public GovernanceInsight post(@jakarta.annotation.Nonnull final GovernanceInsigh /** * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to insights for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GovernanceInsight body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GovernanceInsight body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link InsightsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public InsightsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new InsightsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/stages/item/decisions/item/insights/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/stages/item/decisions/item/insights/count/CountRequestBuilder.java index 2d1b1785d82..a8e7f1f44a3 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/stages/item/decisions/item/insights/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/stages/item/decisions/item/insights/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/stages/item/decisions/item/insights/item/GovernanceInsightItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/stages/item/decisions/item/insights/item/GovernanceInsightItemRequestBuilder.java index 97d5009c2e8..1c40a1da421 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/stages/item/decisions/item/insights/item/GovernanceInsightItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/stages/item/decisions/item/insights/item/GovernanceInsightItemRequestBuilder.java @@ -39,7 +39,10 @@ public GovernanceInsightItemRequestBuilder(@jakarta.annotation.Nonnull final Str /** * Delete navigation property insights for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -47,7 +50,10 @@ public void delete() { * Delete navigation property insights for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -58,8 +64,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight get() { return get(null); } @@ -68,8 +77,11 @@ public GovernanceInsight get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -81,8 +93,11 @@ public GovernanceInsight get(@jakarta.annotation.Nullable final java.util.functi * @param body The request body * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight patch(@jakarta.annotation.Nonnull final GovernanceInsight body) { return patch(body, null); } @@ -92,8 +107,11 @@ public GovernanceInsight patch(@jakarta.annotation.Nonnull final GovernanceInsig * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight patch(@jakarta.annotation.Nonnull final GovernanceInsight body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -104,8 +122,11 @@ public GovernanceInsight patch(@jakarta.annotation.Nonnull final GovernanceInsig /** * Delete navigation property insights for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -113,8 +134,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property insights for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -133,8 +160,11 @@ public RequestInformation toGetRequestInformation() { * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -145,8 +175,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property insights in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final GovernanceInsight body) { return toPatchRequestInformation(body, null); } @@ -155,8 +188,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final GovernanceInsight body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -169,8 +205,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link GovernanceInsightItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public GovernanceInsightItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new GovernanceInsightItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/stages/item/decisions/recordalldecisions/RecordAllDecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/stages/item/decisions/recordalldecisions/RecordAllDecisionsRequestBuilder.java index 8f6461383a9..851f41f4610 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/stages/item/decisions/recordalldecisions/RecordAllDecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/stages/item/decisions/recordalldecisions/RecordAllDecisionsRequestBuilder.java @@ -38,8 +38,11 @@ public RecordAllDecisionsRequestBuilder(@jakarta.annotation.Nonnull final String * As a reviewer of an access review, record a decision for an accessReviewInstanceDecisionItem that is assigned to you and that matches the principal or resource IDs specified. If no IDs are specified, the decisions will apply to every accessReviewInstanceDecisionItem for which you are the reviewer. * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequestBody body) { post(body, null); } @@ -48,8 +51,11 @@ public void post(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequest * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -61,8 +67,11 @@ public void post(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequest * As a reviewer of an access review, record a decision for an accessReviewInstanceDecisionItem that is assigned to you and that matches the principal or resource IDs specified. If no IDs are specified, the decisions will apply to every accessReviewInstanceDecisionItem for which you are the reviewer. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequestBody body) { return toPostRequestInformation(body, null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -85,8 +97,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RecordAllDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RecordAllDecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RecordAllDecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/stages/item/stop/StopRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/stages/item/stop/StopRequestBuilder.java index 6ae0c96501d..9ac9d4d3a7d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/stages/item/stop/StopRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/stages/item/stop/StopRequestBuilder.java @@ -37,8 +37,11 @@ public StopRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jaka /** * Stop an access review stage that is inProgress. After the access review stage stops, the stage status will be Completed and the reviewers can no longer give input. If there are subsequent stages that depend on the completed stage, the next stage will be created. The accessReviewInstanceDecisionItem objects will always reflect the last decisions recorded across all stages at that given time, regardless of the status of the stages. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * Stop an access review stage that is inProgress. After the access review stage stops, the stage status will be Completed and the reviewers can no longer give input. If there are subsequent stages that depend on the completed stage, the next stage will be created. The accessReviewInstanceDecisionItem objects will always reflect the last decisions recorded across all stages at that given time, regardless of the status of the stages. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Stop an access review stage that is inProgress. After the access review stage stops, the stage status will be Completed and the reviewers can no longer give input. If there are subsequent stages that depend on the completed stage, the next stage will be created. The accessReviewInstanceDecisionItem objects will always reflect the last decisions recorded across all stages at that given time, regardless of the status of the stages. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * Stop an access review stage that is inProgress. After the access review stage stops, the stage status will be Completed and the reviewers can no longer give input. If there are subsequent stages that depend on the completed stage, the next stage will be created. The accessReviewInstanceDecisionItem objects will always reflect the last decisions recorded across all stages at that given time, regardless of the status of the stages. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link StopRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public StopRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new StopRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/stop/StopRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/stop/StopRequestBuilder.java index e286ec173a3..1021034cab4 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/stop/StopRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/stop/StopRequestBuilder.java @@ -37,8 +37,11 @@ public StopRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jaka /** * Stop a currently active accessReviewInstance. After the access review instance stops, the instance status will be Completed, the reviewers can no longer give input, and the access review decisions can be applied. Stopping an instance will not effect future instances. To prevent a recurring access review from starting future instances, update the schedule definition to change its scheduled end date. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * Stop a currently active accessReviewInstance. After the access review instance stops, the instance status will be Completed, the reviewers can no longer give input, and the access review decisions can be applied. Stopping an instance will not effect future instances. To prevent a recurring access review from starting future instances, update the schedule definition to change its scheduled end date. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Stop a currently active accessReviewInstance. After the access review instance stops, the instance status will be Completed, the reviewers can no longer give input, and the access review decisions can be applied. Stopping an instance will not effect future instances. To prevent a recurring access review from starting future instances, update the schedule definition to change its scheduled end date. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * Stop a currently active accessReviewInstance. After the access review instance stops, the instance status will be Completed, the reviewers can no longer give input, and the access review decisions can be applied. Stopping an instance will not effect future instances. To prevent a recurring access review from starting future instances, update the schedule definition to change its scheduled end date. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link StopRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public StopRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new StopRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/stopapplydecisions/StopApplyDecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/stopapplydecisions/StopApplyDecisionsRequestBuilder.java index d528fca6f77..59ea51d5b0e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/stopapplydecisions/StopApplyDecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/stopapplydecisions/StopApplyDecisionsRequestBuilder.java @@ -37,7 +37,10 @@ public StopApplyDecisionsRequestBuilder(@jakarta.annotation.Nonnull final String /** * Invoke action stopApplyDecisions * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void post() { post(null); } @@ -45,7 +48,10 @@ public void post() { * Invoke action stopApplyDecisions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -55,8 +61,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Invoke action stopApplyDecisions * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -64,8 +73,11 @@ public RequestInformation toPostRequestInformation() { * Invoke action stopApplyDecisions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -76,8 +88,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link StopApplyDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public StopApplyDecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new StopApplyDecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/recordalldecisions/RecordAllDecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/recordalldecisions/RecordAllDecisionsRequestBuilder.java index 4f8375784a1..176678592ba 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/recordalldecisions/RecordAllDecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/recordalldecisions/RecordAllDecisionsRequestBuilder.java @@ -38,8 +38,11 @@ public RecordAllDecisionsRequestBuilder(@jakarta.annotation.Nonnull final String * As a reviewer of an access review, record a decision for an accessReviewInstanceDecisionItem that is assigned to you and that matches the principal or resource IDs specified. If no IDs are specified, the decisions will apply to every accessReviewInstanceDecisionItem for which you are the reviewer. * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequestBody body) { post(body, null); } @@ -48,8 +51,11 @@ public void post(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequest * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -61,8 +67,11 @@ public void post(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequest * As a reviewer of an access review, record a decision for an accessReviewInstanceDecisionItem that is assigned to you and that matches the principal or resource IDs specified. If no IDs are specified, the decisions will apply to every accessReviewInstanceDecisionItem for which you are the reviewer. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequestBody body) { return toPostRequestInformation(body, null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -85,8 +97,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RecordAllDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RecordAllDecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RecordAllDecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/definition/DefinitionRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/definition/DefinitionRequestBuilder.java index e635ac5acd3..a54fea97ab1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/definition/DefinitionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/definition/DefinitionRequestBuilder.java @@ -40,8 +40,11 @@ public DefinitionRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, * There's exactly one accessReviewScheduleDefinition associated with each instance. It's the parent schedule for the instance, where instances are created for each recurrence of a review definition and each group selected to review by the definition. * @return a {@link AccessReviewScheduleDefinition} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewScheduleDefinition get() { return get(null); } @@ -50,8 +53,11 @@ public AccessReviewScheduleDefinition get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewScheduleDefinition} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewScheduleDefinition get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public AccessReviewScheduleDefinition get(@jakarta.annotation.Nullable final jav /** * There's exactly one accessReviewScheduleDefinition associated with each instance. It's the parent schedule for the instance, where instances are created for each recurrence of a review definition and each group selected to review by the definition. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * There's exactly one accessReviewScheduleDefinition associated with each instance. It's the parent schedule for the instance, where instances are created for each recurrence of a review definition and each group selected to review by the definition. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link DefinitionRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public DefinitionRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new DefinitionRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/resetdecisions/ResetDecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/resetdecisions/ResetDecisionsRequestBuilder.java index f2ca14c59eb..6d3ad7beb23 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/resetdecisions/ResetDecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/resetdecisions/ResetDecisionsRequestBuilder.java @@ -37,8 +37,11 @@ public ResetDecisionsRequestBuilder(@jakarta.annotation.Nonnull final String raw /** * Resets decisions of all accessReviewInstanceDecisionItem objects on an accessReviewInstance to notReviewed. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * Resets decisions of all accessReviewInstanceDecisionItem objects on an accessReviewInstance to notReviewed. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Resets decisions of all accessReviewInstanceDecisionItem objects on an accessReviewInstance to notReviewed. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * Resets decisions of all accessReviewInstanceDecisionItem objects on an accessReviewInstance to notReviewed. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ResetDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ResetDecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ResetDecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/sendreminder/SendReminderRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/sendreminder/SendReminderRequestBuilder.java index aa589edd770..a77b8b53521 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/sendreminder/SendReminderRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/sendreminder/SendReminderRequestBuilder.java @@ -37,8 +37,11 @@ public SendReminderRequestBuilder(@jakarta.annotation.Nonnull final String rawUr /** * Send a reminder to the reviewers of a currently active accessReviewInstance. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * Send a reminder to the reviewers of a currently active accessReviewInstance. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Send a reminder to the reviewers of a currently active accessReviewInstance. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * Send a reminder to the reviewers of a currently active accessReviewInstance. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link SendReminderRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public SendReminderRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new SendReminderRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/StagesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/StagesRequestBuilder.java index c266e8239b5..3c3f6205d5d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/StagesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/StagesRequestBuilder.java @@ -27,7 +27,10 @@ public class StagesRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -36,8 +39,11 @@ public CountRequestBuilder count() { * Provides operations to manage the stages property of the microsoft.graph.accessReviewInstance entity. * @param accessReviewStageId The unique identifier of accessReviewStage * @return a {@link AccessReviewStageItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessReviewStageItemRequestBuilder byAccessReviewStageId(@jakarta.annotation.Nonnull final String accessReviewStageId) { Objects.requireNonNull(accessReviewStageId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -64,8 +70,11 @@ public StagesRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ja * Provides operations to call the filterByCurrentUser method. * @param on Usage: on='{on}' * @return a {@link FilterByCurrentUserWithOnRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilterByCurrentUserWithOnRequestBuilder filterByCurrentUserWithOn(@jakarta.annotation.Nonnull final String on) { Objects.requireNonNull(on); return new FilterByCurrentUserWithOnRequestBuilder(pathParameters, requestAdapter, on); @@ -74,9 +83,12 @@ public FilterByCurrentUserWithOnRequestBuilder filterByCurrentUserWithOn(@jakart * Retrieve the accessReviewStage objects for a specific accessReviewInstance in a multi-stage access review. * @return a {@link AccessReviewStageCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewStageCollectionResponse get() { return get(null); } @@ -85,9 +97,12 @@ public AccessReviewStageCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewStageCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewStageCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -99,8 +114,11 @@ public AccessReviewStageCollectionResponse get(@jakarta.annotation.Nullable fina * @param body The request body * @return a {@link AccessReviewStage} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewStage post(@jakarta.annotation.Nonnull final AccessReviewStage body) { return post(body, null); } @@ -110,8 +128,11 @@ public AccessReviewStage post(@jakarta.annotation.Nonnull final AccessReviewStag * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewStage} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewStage post(@jakarta.annotation.Nonnull final AccessReviewStage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -122,8 +143,11 @@ public AccessReviewStage post(@jakarta.annotation.Nonnull final AccessReviewStag /** * Retrieve the accessReviewStage objects for a specific accessReviewInstance in a multi-stage access review. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -131,8 +155,11 @@ public RequestInformation toGetRequestInformation() { * Retrieve the accessReviewStage objects for a specific accessReviewInstance in a multi-stage access review. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -143,8 +170,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to stages for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewStage body) { return toPostRequestInformation(body, null); } @@ -153,8 +183,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewStage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -167,8 +200,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link StagesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public StagesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new StagesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/count/CountRequestBuilder.java index 66382ed9357..6918bb4f07c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java index 9d6166bf5af..453016d99d3 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java @@ -41,9 +41,12 @@ public FilterByCurrentUserWithOnRequestBuilder(@jakarta.annotation.Nonnull final * Return all accessReviewStage objects on a given accessReviewInstance where the calling user is a reviewer on one or more accessReviewInstanceDecisionItem objects. * @return a {@link FilterByCurrentUserWithOnGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public FilterByCurrentUserWithOnGetResponse get() { return get(null); } @@ -52,9 +55,12 @@ public FilterByCurrentUserWithOnGetResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link FilterByCurrentUserWithOnGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public FilterByCurrentUserWithOnGetResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -64,8 +70,11 @@ public FilterByCurrentUserWithOnGetResponse get(@jakarta.annotation.Nullable fin /** * Return all accessReviewStage objects on a given accessReviewInstance where the calling user is a reviewer on one or more accessReviewInstanceDecisionItem objects. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -73,8 +82,11 @@ public RequestInformation toGetRequestInformation() { * Return all accessReviewStage objects on a given accessReviewInstance where the calling user is a reviewer on one or more accessReviewInstanceDecisionItem objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -85,8 +97,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link FilterByCurrentUserWithOnRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilterByCurrentUserWithOnRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new FilterByCurrentUserWithOnRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/AccessReviewStageItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/AccessReviewStageItemRequestBuilder.java index 541011c0134..ab4c72faaf3 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/AccessReviewStageItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/AccessReviewStageItemRequestBuilder.java @@ -27,7 +27,10 @@ public class AccessReviewStageItemRequestBuilder extends BaseRequestBuilder { /** * Provides operations to call the acceptRecommendations method. * @return a {@link AcceptRecommendationsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AcceptRecommendationsRequestBuilder acceptRecommendations() { return new AcceptRecommendationsRequestBuilder(pathParameters, requestAdapter); @@ -35,7 +38,10 @@ public AcceptRecommendationsRequestBuilder acceptRecommendations() { /** * Provides operations to call the batchRecordDecisions method. * @return a {@link BatchRecordDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public BatchRecordDecisionsRequestBuilder batchRecordDecisions() { return new BatchRecordDecisionsRequestBuilder(pathParameters, requestAdapter); @@ -43,7 +49,10 @@ public BatchRecordDecisionsRequestBuilder batchRecordDecisions() { /** * Provides operations to manage the decisions property of the microsoft.graph.accessReviewStage entity. * @return a {@link DecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public DecisionsRequestBuilder decisions() { return new DecisionsRequestBuilder(pathParameters, requestAdapter); @@ -51,7 +60,10 @@ public DecisionsRequestBuilder decisions() { /** * Provides operations to call the stop method. * @return a {@link StopRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public StopRequestBuilder stop() { return new StopRequestBuilder(pathParameters, requestAdapter); @@ -75,7 +87,10 @@ public AccessReviewStageItemRequestBuilder(@jakarta.annotation.Nonnull final Str /** * Delete navigation property stages for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -83,7 +98,10 @@ public void delete() { * Delete navigation property stages for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -94,9 +112,12 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Retrieve the properties and relationships of an accessReviewStage object. * @return a {@link AccessReviewStage} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewStage get() { return get(null); } @@ -105,9 +126,12 @@ public AccessReviewStage get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewStage} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewStage get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -119,9 +143,12 @@ public AccessReviewStage get(@jakarta.annotation.Nullable final java.util.functi * @param body The request body * @return a {@link AccessReviewStage} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewStage patch(@jakarta.annotation.Nonnull final AccessReviewStage body) { return patch(body, null); } @@ -131,9 +158,12 @@ public AccessReviewStage patch(@jakarta.annotation.Nonnull final AccessReviewSta * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewStage} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewStage patch(@jakarta.annotation.Nonnull final AccessReviewStage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -144,8 +174,11 @@ public AccessReviewStage patch(@jakarta.annotation.Nonnull final AccessReviewSta /** * Delete navigation property stages for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -153,8 +186,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property stages for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -164,8 +200,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Retrieve the properties and relationships of an accessReviewStage object. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -173,8 +212,11 @@ public RequestInformation toGetRequestInformation() { * Retrieve the properties and relationships of an accessReviewStage object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -185,8 +227,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the properties of an accessReviewStage object. Only the reviewers and fallbackReviewers properties can be updated. You can only add reviewers to the fallbackReviewers property but can't remove existing fallbackReviewers. To update an accessReviewStage, its status must be NotStarted, Initializing, or InProgress. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewStage body) { return toPatchRequestInformation(body, null); } @@ -195,8 +240,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewStage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -209,8 +257,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessReviewStageItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessReviewStageItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessReviewStageItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/acceptrecommendations/AcceptRecommendationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/acceptrecommendations/AcceptRecommendationsRequestBuilder.java index 180914bbd4a..b78dd2bef5a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/acceptrecommendations/AcceptRecommendationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/acceptrecommendations/AcceptRecommendationsRequestBuilder.java @@ -37,8 +37,11 @@ public AcceptRecommendationsRequestBuilder(@jakarta.annotation.Nonnull final Str /** * Accept the recommendations on all accessReviewInstanceDecisionItem objects that haven't been reviewed within a single accessReviewStage of a multi-stage accessReviewInstance. Recommendations are generated if recommendationsEnabled is true on the accessReviewScheduleDefinition object. If there's no recommendation on an accessReviewInstanceDecisionItem object, no decision is recorded. This action accepts recommendations for the decisions in a specific stage only, unlike accessReviewInstance: acceptRecommendations, which operates across the entire instance. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * Accept the recommendations on all accessReviewInstanceDecisionItem objects that haven't been reviewed within a single accessReviewStage of a multi-stage accessReviewInstance. Recommendations are generated if recommendationsEnabled is true on the accessReviewScheduleDefinition object. If there's no recommendation on an accessReviewInstanceDecisionItem object, no decision is recorded. This action accepts recommendations for the decisions in a specific stage only, unlike accessReviewInstance: acceptRecommendations, which operates across the entire instance. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Accept the recommendations on all accessReviewInstanceDecisionItem objects that haven't been reviewed within a single accessReviewStage of a multi-stage accessReviewInstance. Recommendations are generated if recommendationsEnabled is true on the accessReviewScheduleDefinition object. If there's no recommendation on an accessReviewInstanceDecisionItem object, no decision is recorded. This action accepts recommendations for the decisions in a specific stage only, unlike accessReviewInstance: acceptRecommendations, which operates across the entire instance. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * Accept the recommendations on all accessReviewInstanceDecisionItem objects that haven't been reviewed within a single accessReviewStage of a multi-stage accessReviewInstance. Recommendations are generated if recommendationsEnabled is true on the accessReviewScheduleDefinition object. If there's no recommendation on an accessReviewInstanceDecisionItem object, no decision is recorded. This action accepts recommendations for the decisions in a specific stage only, unlike accessReviewInstance: acceptRecommendations, which operates across the entire instance. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AcceptRecommendationsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AcceptRecommendationsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AcceptRecommendationsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/batchrecorddecisions/BatchRecordDecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/batchrecorddecisions/BatchRecordDecisionsRequestBuilder.java index 409e8f861ab..ecdc62e5c0a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/batchrecorddecisions/BatchRecordDecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/batchrecorddecisions/BatchRecordDecisionsRequestBuilder.java @@ -38,8 +38,11 @@ public BatchRecordDecisionsRequestBuilder(@jakarta.annotation.Nonnull final Stri * Record decisions in bulk for all accessReviewInstanceDecisionItem objects within a single accessReviewStage of a multi-stage accessReviewInstance, by using principalId, resourceId, or neither. This action records decisions for a specific stage only, unlike accessReviewInstance: batchRecordDecisions, which operates across the entire instance. * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostRequestBody body) { post(body, null); } @@ -48,8 +51,11 @@ public void post(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostReque * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -61,8 +67,11 @@ public void post(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostReque * Record decisions in bulk for all accessReviewInstanceDecisionItem objects within a single accessReviewStage of a multi-stage accessReviewInstance, by using principalId, resourceId, or neither. This action records decisions for a specific stage only, unlike accessReviewInstance: batchRecordDecisions, which operates across the entire instance. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostRequestBody body) { return toPostRequestInformation(body, null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -85,8 +97,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link BatchRecordDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public BatchRecordDecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new BatchRecordDecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/DecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/DecisionsRequestBuilder.java index 737a89f8ddc..8a1e8a5a5a6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/DecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/DecisionsRequestBuilder.java @@ -28,7 +28,10 @@ public class DecisionsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -36,7 +39,10 @@ public CountRequestBuilder count() { /** * Provides operations to call the recordAllDecisions method. * @return a {@link RecordAllDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public RecordAllDecisionsRequestBuilder recordAllDecisions() { return new RecordAllDecisionsRequestBuilder(pathParameters, requestAdapter); @@ -45,8 +51,11 @@ public RecordAllDecisionsRequestBuilder recordAllDecisions() { * Provides operations to manage the decisions property of the microsoft.graph.accessReviewStage entity. * @param accessReviewInstanceDecisionItemId The unique identifier of accessReviewInstanceDecisionItem * @return a {@link AccessReviewInstanceDecisionItemItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessReviewInstanceDecisionItemItemRequestBuilder byAccessReviewInstanceDecisionItemId(@jakarta.annotation.Nonnull final String accessReviewInstanceDecisionItemId) { Objects.requireNonNull(accessReviewInstanceDecisionItemId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -73,8 +82,11 @@ public DecisionsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, * Provides operations to call the filterByCurrentUser method. * @param on Usage: on='{on}' * @return a {@link FilterByCurrentUserWithOnRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilterByCurrentUserWithOnRequestBuilder filterByCurrentUserWithOn(@jakarta.annotation.Nonnull final String on) { Objects.requireNonNull(on); return new FilterByCurrentUserWithOnRequestBuilder(pathParameters, requestAdapter, on); @@ -83,9 +95,12 @@ public FilterByCurrentUserWithOnRequestBuilder filterByCurrentUserWithOn(@jakart * Get the accessReviewInstanceDecisionItem objects from an accessReviewStage in a multi-stage access review. * @return a {@link AccessReviewInstanceDecisionItemCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItemCollectionResponse get() { return get(null); } @@ -94,9 +109,12 @@ public AccessReviewInstanceDecisionItemCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstanceDecisionItemCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItemCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -108,8 +126,11 @@ public AccessReviewInstanceDecisionItemCollectionResponse get(@jakarta.annotatio * @param body The request body * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem post(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body) { return post(body, null); } @@ -119,8 +140,11 @@ public AccessReviewInstanceDecisionItem post(@jakarta.annotation.Nonnull final A * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem post(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -131,8 +155,11 @@ public AccessReviewInstanceDecisionItem post(@jakarta.annotation.Nonnull final A /** * Get the accessReviewInstanceDecisionItem objects from an accessReviewStage in a multi-stage access review. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -140,8 +167,11 @@ public RequestInformation toGetRequestInformation() { * Get the accessReviewInstanceDecisionItem objects from an accessReviewStage in a multi-stage access review. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -152,8 +182,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to decisions for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body) { return toPostRequestInformation(body, null); } @@ -162,8 +195,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -176,8 +212,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link DecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public DecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new DecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/count/CountRequestBuilder.java index 9bb6430834a..130ded30a74 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java index 59696ef4d93..b64291479fc 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java @@ -41,9 +41,12 @@ public FilterByCurrentUserWithOnRequestBuilder(@jakarta.annotation.Nonnull final * Retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. * @return a {@link FilterByCurrentUserWithOnGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public FilterByCurrentUserWithOnGetResponse get() { return get(null); } @@ -52,9 +55,12 @@ public FilterByCurrentUserWithOnGetResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link FilterByCurrentUserWithOnGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public FilterByCurrentUserWithOnGetResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -64,8 +70,11 @@ public FilterByCurrentUserWithOnGetResponse get(@jakarta.annotation.Nullable fin /** * Retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -73,8 +82,11 @@ public RequestInformation toGetRequestInformation() { * Retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -85,8 +97,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link FilterByCurrentUserWithOnRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilterByCurrentUserWithOnRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new FilterByCurrentUserWithOnRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/AccessReviewInstanceDecisionItemItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/AccessReviewInstanceDecisionItemItemRequestBuilder.java index ba765704de5..6ef5fb107b9 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/AccessReviewInstanceDecisionItemItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/AccessReviewInstanceDecisionItemItemRequestBuilder.java @@ -25,7 +25,10 @@ public class AccessReviewInstanceDecisionItemItemRequestBuilder extends BaseRequ /** * Provides operations to manage the insights property of the microsoft.graph.accessReviewInstanceDecisionItem entity. * @return a {@link InsightsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public InsightsRequestBuilder insights() { return new InsightsRequestBuilder(pathParameters, requestAdapter); @@ -33,7 +36,10 @@ public InsightsRequestBuilder insights() { /** * Provides operations to manage the instance property of the microsoft.graph.accessReviewInstanceDecisionItem entity. * @return a {@link InstanceRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public InstanceRequestBuilder instance() { return new InstanceRequestBuilder(pathParameters, requestAdapter); @@ -57,7 +63,10 @@ public AccessReviewInstanceDecisionItemItemRequestBuilder(@jakarta.annotation.No /** * Delete navigation property decisions for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -65,7 +74,10 @@ public void delete() { * Delete navigation property decisions for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -76,9 +88,12 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Read the properties and relationships of an accessReviewInstanceDecisionItem object. * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem get() { return get(null); } @@ -87,9 +102,12 @@ public AccessReviewInstanceDecisionItem get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -101,9 +119,12 @@ public AccessReviewInstanceDecisionItem get(@jakarta.annotation.Nullable final j * @param body The request body * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem patch(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body) { return patch(body, null); } @@ -113,9 +134,12 @@ public AccessReviewInstanceDecisionItem patch(@jakarta.annotation.Nonnull final * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem patch(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -126,8 +150,11 @@ public AccessReviewInstanceDecisionItem patch(@jakarta.annotation.Nonnull final /** * Delete navigation property decisions for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -135,8 +162,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property decisions for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -146,8 +176,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Read the properties and relationships of an accessReviewInstanceDecisionItem object. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -155,8 +188,11 @@ public RequestInformation toGetRequestInformation() { * Read the properties and relationships of an accessReviewInstanceDecisionItem object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -167,8 +203,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update access decisions, known as accessReviewInstanceDecisionItems, for which the user is the reviewer. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body) { return toPatchRequestInformation(body, null); } @@ -177,8 +216,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -191,8 +233,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessReviewInstanceDecisionItemItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessReviewInstanceDecisionItemItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessReviewInstanceDecisionItemItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/insights/InsightsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/insights/InsightsRequestBuilder.java index 092846e1e03..6263b2fda42 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/insights/InsightsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/insights/InsightsRequestBuilder.java @@ -26,7 +26,10 @@ public class InsightsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the insights property of the microsoft.graph.accessReviewInstanceDecisionItem entity. * @param governanceInsightId The unique identifier of governanceInsight * @return a {@link GovernanceInsightItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public GovernanceInsightItemRequestBuilder byGovernanceInsightId(@jakarta.annotation.Nonnull final String governanceInsightId) { Objects.requireNonNull(governanceInsightId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public InsightsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @return a {@link GovernanceInsightCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsightCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public GovernanceInsightCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GovernanceInsightCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsightCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public GovernanceInsightCollectionResponse get(@jakarta.annotation.Nullable fina * @param body The request body * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight post(@jakarta.annotation.Nonnull final GovernanceInsight body) { return post(body, null); } @@ -97,8 +112,11 @@ public GovernanceInsight post(@jakarta.annotation.Nonnull final GovernanceInsigh * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight post(@jakarta.annotation.Nonnull final GovernanceInsight body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public GovernanceInsight post(@jakarta.annotation.Nonnull final GovernanceInsigh /** * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to insights for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GovernanceInsight body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GovernanceInsight body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link InsightsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public InsightsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new InsightsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/insights/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/insights/count/CountRequestBuilder.java index d580e84ec8f..0aa97584724 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/insights/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/insights/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/insights/item/GovernanceInsightItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/insights/item/GovernanceInsightItemRequestBuilder.java index bd7121cc843..2c64d25da05 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/insights/item/GovernanceInsightItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/insights/item/GovernanceInsightItemRequestBuilder.java @@ -39,7 +39,10 @@ public GovernanceInsightItemRequestBuilder(@jakarta.annotation.Nonnull final Str /** * Delete navigation property insights for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -47,7 +50,10 @@ public void delete() { * Delete navigation property insights for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -58,8 +64,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight get() { return get(null); } @@ -68,8 +77,11 @@ public GovernanceInsight get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -81,8 +93,11 @@ public GovernanceInsight get(@jakarta.annotation.Nullable final java.util.functi * @param body The request body * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight patch(@jakarta.annotation.Nonnull final GovernanceInsight body) { return patch(body, null); } @@ -92,8 +107,11 @@ public GovernanceInsight patch(@jakarta.annotation.Nonnull final GovernanceInsig * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight patch(@jakarta.annotation.Nonnull final GovernanceInsight body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -104,8 +122,11 @@ public GovernanceInsight patch(@jakarta.annotation.Nonnull final GovernanceInsig /** * Delete navigation property insights for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -113,8 +134,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property insights for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -133,8 +160,11 @@ public RequestInformation toGetRequestInformation() { * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -145,8 +175,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property insights in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final GovernanceInsight body) { return toPatchRequestInformation(body, null); } @@ -155,8 +188,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final GovernanceInsight body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -169,8 +205,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link GovernanceInsightItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public GovernanceInsightItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new GovernanceInsightItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/instance/InstanceRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/instance/InstanceRequestBuilder.java index 5071be2c9c6..c7fe72cd374 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/instance/InstanceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/instance/InstanceRequestBuilder.java @@ -34,7 +34,10 @@ public class InstanceRequestBuilder extends BaseRequestBuilder { /** * Provides operations to call the acceptRecommendations method. * @return a {@link AcceptRecommendationsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AcceptRecommendationsRequestBuilder acceptRecommendations() { return new AcceptRecommendationsRequestBuilder(pathParameters, requestAdapter); @@ -42,7 +45,10 @@ public AcceptRecommendationsRequestBuilder acceptRecommendations() { /** * Provides operations to call the applyDecisions method. * @return a {@link ApplyDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ApplyDecisionsRequestBuilder applyDecisions() { return new ApplyDecisionsRequestBuilder(pathParameters, requestAdapter); @@ -50,7 +56,10 @@ public ApplyDecisionsRequestBuilder applyDecisions() { /** * Provides operations to call the batchApplyCustomDataProvidedResourceDecisions method. * @return a {@link BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder batchApplyCustomDataProvidedResourceDecisions() { return new BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder(pathParameters, requestAdapter); @@ -58,7 +67,10 @@ public BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder batchApplyCus /** * Provides operations to call the batchRecordDecisions method. * @return a {@link BatchRecordDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public BatchRecordDecisionsRequestBuilder batchRecordDecisions() { return new BatchRecordDecisionsRequestBuilder(pathParameters, requestAdapter); @@ -66,7 +78,10 @@ public BatchRecordDecisionsRequestBuilder batchRecordDecisions() { /** * Provides operations to manage the contactedReviewers property of the microsoft.graph.accessReviewInstance entity. * @return a {@link ContactedReviewersRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ContactedReviewersRequestBuilder contactedReviewers() { return new ContactedReviewersRequestBuilder(pathParameters, requestAdapter); @@ -74,7 +89,10 @@ public ContactedReviewersRequestBuilder contactedReviewers() { /** * Provides operations to manage the decisions property of the microsoft.graph.accessReviewInstance entity. * @return a {@link DecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public DecisionsRequestBuilder decisions() { return new DecisionsRequestBuilder(pathParameters, requestAdapter); @@ -82,7 +100,10 @@ public DecisionsRequestBuilder decisions() { /** * Provides operations to manage the definition property of the microsoft.graph.accessReviewInstance entity. * @return a {@link DefinitionRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public DefinitionRequestBuilder definition() { return new DefinitionRequestBuilder(pathParameters, requestAdapter); @@ -90,7 +111,10 @@ public DefinitionRequestBuilder definition() { /** * Provides operations to call the resetDecisions method. * @return a {@link ResetDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ResetDecisionsRequestBuilder resetDecisions() { return new ResetDecisionsRequestBuilder(pathParameters, requestAdapter); @@ -98,7 +122,10 @@ public ResetDecisionsRequestBuilder resetDecisions() { /** * Provides operations to call the sendReminder method. * @return a {@link SendReminderRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public SendReminderRequestBuilder sendReminder() { return new SendReminderRequestBuilder(pathParameters, requestAdapter); @@ -106,7 +133,10 @@ public SendReminderRequestBuilder sendReminder() { /** * Provides operations to call the stop method. * @return a {@link StopRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public StopRequestBuilder stop() { return new StopRequestBuilder(pathParameters, requestAdapter); @@ -114,7 +144,10 @@ public StopRequestBuilder stop() { /** * Provides operations to call the stopApplyDecisions method. * @return a {@link StopApplyDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public StopApplyDecisionsRequestBuilder stopApplyDecisions() { return new StopApplyDecisionsRequestBuilder(pathParameters, requestAdapter); @@ -138,7 +171,10 @@ public InstanceRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ /** * Delete navigation property instance for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -146,7 +182,10 @@ public void delete() { * Delete navigation property instance for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -157,8 +196,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * There's exactly one accessReviewInstance associated with each decision. The instance is the parent of the decision item, representing the recurrence of the access review the decision is made on. * @return a {@link AccessReviewInstance} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstance get() { return get(null); } @@ -167,8 +209,11 @@ public AccessReviewInstance get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstance} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstance get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -180,8 +225,11 @@ public AccessReviewInstance get(@jakarta.annotation.Nullable final java.util.fun * @param body The request body * @return a {@link AccessReviewInstance} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstance patch(@jakarta.annotation.Nonnull final AccessReviewInstance body) { return patch(body, null); } @@ -191,8 +239,11 @@ public AccessReviewInstance patch(@jakarta.annotation.Nonnull final AccessReview * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstance} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstance patch(@jakarta.annotation.Nonnull final AccessReviewInstance body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -203,8 +254,11 @@ public AccessReviewInstance patch(@jakarta.annotation.Nonnull final AccessReview /** * Delete navigation property instance for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -212,8 +266,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property instance for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -223,8 +280,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * There's exactly one accessReviewInstance associated with each decision. The instance is the parent of the decision item, representing the recurrence of the access review the decision is made on. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -232,8 +292,11 @@ public RequestInformation toGetRequestInformation() { * There's exactly one accessReviewInstance associated with each decision. The instance is the parent of the decision item, representing the recurrence of the access review the decision is made on. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -244,8 +307,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property instance in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstance body) { return toPatchRequestInformation(body, null); } @@ -254,8 +320,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstance body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -268,8 +337,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link InstanceRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public InstanceRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new InstanceRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/instance/acceptrecommendations/AcceptRecommendationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/instance/acceptrecommendations/AcceptRecommendationsRequestBuilder.java index ee10ff43a85..40f8ec69be6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/instance/acceptrecommendations/AcceptRecommendationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/instance/acceptrecommendations/AcceptRecommendationsRequestBuilder.java @@ -37,8 +37,11 @@ public AcceptRecommendationsRequestBuilder(@jakarta.annotation.Nonnull final Str /** * Allows the acceptance of recommendations on all accessReviewInstanceDecisionItem objects that haven't been reviewed for an accessReviewInstance object for which the calling user is a reviewer. Recommendations are generated if recommendationsEnabled is true on the accessReviewScheduleDefinition object. If there isn't a recommendation on an accessReviewInstanceDecisionItem object no decision will be recorded. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * Allows the acceptance of recommendations on all accessReviewInstanceDecisionItem objects that haven't been reviewed for an accessReviewInstance object for which the calling user is a reviewer. Recommendations are generated if recommendationsEnabled is true on the accessReviewScheduleDefinition object. If there isn't a recommendation on an accessReviewInstanceDecisionItem object no decision will be recorded. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Allows the acceptance of recommendations on all accessReviewInstanceDecisionItem objects that haven't been reviewed for an accessReviewInstance object for which the calling user is a reviewer. Recommendations are generated if recommendationsEnabled is true on the accessReviewScheduleDefinition object. If there isn't a recommendation on an accessReviewInstanceDecisionItem object no decision will be recorded. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * Allows the acceptance of recommendations on all accessReviewInstanceDecisionItem objects that haven't been reviewed for an accessReviewInstance object for which the calling user is a reviewer. Recommendations are generated if recommendationsEnabled is true on the accessReviewScheduleDefinition object. If there isn't a recommendation on an accessReviewInstanceDecisionItem object no decision will be recorded. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AcceptRecommendationsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AcceptRecommendationsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AcceptRecommendationsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/instance/applydecisions/ApplyDecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/instance/applydecisions/ApplyDecisionsRequestBuilder.java index cef16f73dff..33c978ce426 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/instance/applydecisions/ApplyDecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/instance/applydecisions/ApplyDecisionsRequestBuilder.java @@ -37,8 +37,11 @@ public ApplyDecisionsRequestBuilder(@jakarta.annotation.Nonnull final String raw /** * Apply review decisions on an accessReviewInstance if the decisions were not applied automatically because the autoApplyDecisionsEnabled property is false in the review's accessReviewScheduleSettings. The status of the accessReviewInstance must be Completed to call this method. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * Apply review decisions on an accessReviewInstance if the decisions were not applied automatically because the autoApplyDecisionsEnabled property is false in the review's accessReviewScheduleSettings. The status of the accessReviewInstance must be Completed to call this method. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Apply review decisions on an accessReviewInstance if the decisions were not applied automatically because the autoApplyDecisionsEnabled property is false in the review's accessReviewScheduleSettings. The status of the accessReviewInstance must be Completed to call this method. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * Apply review decisions on an accessReviewInstance if the decisions were not applied automatically because the autoApplyDecisionsEnabled property is false in the review's accessReviewScheduleSettings. The status of the accessReviewInstance must be Completed to call this method. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ApplyDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ApplyDecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ApplyDecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/instance/batchapplycustomdataprovidedresourcedecisions/BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/instance/batchapplycustomdataprovidedresourcedecisions/BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder.java index 257f044e71f..c33074938dd 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/instance/batchapplycustomdataprovidedresourcedecisions/BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/instance/batchapplycustomdataprovidedresourcedecisions/BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder.java @@ -38,8 +38,11 @@ public BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder(@jakarta.anno * Enables reviewers to set the applyResult and applyDescription on all accessReviewInstanceDecisionItem objects in a specific accessReviewInstance in batches by using customDataProvidedResourceId. NOTE: The access review instance must be in an Applying state. * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final BatchApplyCustomDataProvidedResourceDecisionsPostRequestBody body) { post(body, null); } @@ -48,8 +51,11 @@ public void post(@jakarta.annotation.Nonnull final BatchApplyCustomDataProvidedR * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final BatchApplyCustomDataProvidedResourceDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -61,8 +67,11 @@ public void post(@jakarta.annotation.Nonnull final BatchApplyCustomDataProvidedR * Enables reviewers to set the applyResult and applyDescription on all accessReviewInstanceDecisionItem objects in a specific accessReviewInstance in batches by using customDataProvidedResourceId. NOTE: The access review instance must be in an Applying state. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BatchApplyCustomDataProvidedResourceDecisionsPostRequestBody body) { return toPostRequestInformation(body, null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BatchApplyCustomDataProvidedResourceDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -85,8 +97,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/instance/batchrecorddecisions/BatchRecordDecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/instance/batchrecorddecisions/BatchRecordDecisionsRequestBuilder.java index 50d9ef34b7e..9166f7d8002 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/instance/batchrecorddecisions/BatchRecordDecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/instance/batchrecorddecisions/BatchRecordDecisionsRequestBuilder.java @@ -38,8 +38,11 @@ public BatchRecordDecisionsRequestBuilder(@jakarta.annotation.Nonnull final Stri * Enables reviewers to review all accessReviewInstanceDecisionItem objects in a specific pending accessReviewInstance in batches by using principalId, resourceId, or neither. * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostRequestBody body) { post(body, null); } @@ -48,8 +51,11 @@ public void post(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostReque * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -61,8 +67,11 @@ public void post(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostReque * Enables reviewers to review all accessReviewInstanceDecisionItem objects in a specific pending accessReviewInstance in batches by using principalId, resourceId, or neither. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostRequestBody body) { return toPostRequestInformation(body, null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -85,8 +97,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link BatchRecordDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public BatchRecordDecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new BatchRecordDecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/instance/contactedreviewers/ContactedReviewersRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/instance/contactedreviewers/ContactedReviewersRequestBuilder.java index 72074a0cb01..d5101cd0ec6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/instance/contactedreviewers/ContactedReviewersRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/instance/contactedreviewers/ContactedReviewersRequestBuilder.java @@ -26,7 +26,10 @@ public class ContactedReviewersRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the contactedReviewers property of the microsoft.graph.accessReviewInstance entity. * @param accessReviewReviewerId The unique identifier of accessReviewReviewer * @return a {@link AccessReviewReviewerItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessReviewReviewerItemRequestBuilder byAccessReviewReviewerId(@jakarta.annotation.Nonnull final String accessReviewReviewerId) { Objects.requireNonNull(accessReviewReviewerId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public ContactedReviewersRequestBuilder(@jakarta.annotation.Nonnull final String * Returns the collection of reviewers who were contacted to complete this review. While the reviewers and fallbackReviewers properties of the accessReviewScheduleDefinition might specify group owners or managers as reviewers, contactedReviewers returns their individual identities. Supports $select. Read-only. * @return a {@link AccessReviewReviewerCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewReviewerCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public AccessReviewReviewerCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewReviewerCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewReviewerCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public AccessReviewReviewerCollectionResponse get(@jakarta.annotation.Nullable f * @param body The request body * @return a {@link AccessReviewReviewer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewReviewer post(@jakarta.annotation.Nonnull final AccessReviewReviewer body) { return post(body, null); } @@ -97,8 +112,11 @@ public AccessReviewReviewer post(@jakarta.annotation.Nonnull final AccessReviewR * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewReviewer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewReviewer post(@jakarta.annotation.Nonnull final AccessReviewReviewer body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public AccessReviewReviewer post(@jakarta.annotation.Nonnull final AccessReviewR /** * Returns the collection of reviewers who were contacted to complete this review. While the reviewers and fallbackReviewers properties of the accessReviewScheduleDefinition might specify group owners or managers as reviewers, contactedReviewers returns their individual identities. Supports $select. Read-only. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Returns the collection of reviewers who were contacted to complete this review. While the reviewers and fallbackReviewers properties of the accessReviewScheduleDefinition might specify group owners or managers as reviewers, contactedReviewers returns their individual identities. Supports $select. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to contactedReviewers for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewReviewer body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewReviewer body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ContactedReviewersRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ContactedReviewersRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ContactedReviewersRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/instance/contactedreviewers/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/instance/contactedreviewers/count/CountRequestBuilder.java index 9b8e625ec85..c9ab425fa22 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/instance/contactedreviewers/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/instance/contactedreviewers/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/instance/contactedreviewers/item/AccessReviewReviewerItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/instance/contactedreviewers/item/AccessReviewReviewerItemRequestBuilder.java index 17dc57e3f9d..3db9a81d2b4 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/instance/contactedreviewers/item/AccessReviewReviewerItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/instance/contactedreviewers/item/AccessReviewReviewerItemRequestBuilder.java @@ -39,7 +39,10 @@ public AccessReviewReviewerItemRequestBuilder(@jakarta.annotation.Nonnull final /** * Delete navigation property contactedReviewers for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -47,7 +50,10 @@ public void delete() { * Delete navigation property contactedReviewers for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -58,8 +64,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Returns the collection of reviewers who were contacted to complete this review. While the reviewers and fallbackReviewers properties of the accessReviewScheduleDefinition might specify group owners or managers as reviewers, contactedReviewers returns their individual identities. Supports $select. Read-only. * @return a {@link AccessReviewReviewer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewReviewer get() { return get(null); } @@ -68,8 +77,11 @@ public AccessReviewReviewer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewReviewer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewReviewer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -81,8 +93,11 @@ public AccessReviewReviewer get(@jakarta.annotation.Nullable final java.util.fun * @param body The request body * @return a {@link AccessReviewReviewer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewReviewer patch(@jakarta.annotation.Nonnull final AccessReviewReviewer body) { return patch(body, null); } @@ -92,8 +107,11 @@ public AccessReviewReviewer patch(@jakarta.annotation.Nonnull final AccessReview * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewReviewer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewReviewer patch(@jakarta.annotation.Nonnull final AccessReviewReviewer body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -104,8 +122,11 @@ public AccessReviewReviewer patch(@jakarta.annotation.Nonnull final AccessReview /** * Delete navigation property contactedReviewers for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -113,8 +134,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property contactedReviewers for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Returns the collection of reviewers who were contacted to complete this review. While the reviewers and fallbackReviewers properties of the accessReviewScheduleDefinition might specify group owners or managers as reviewers, contactedReviewers returns their individual identities. Supports $select. Read-only. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -133,8 +160,11 @@ public RequestInformation toGetRequestInformation() { * Returns the collection of reviewers who were contacted to complete this review. While the reviewers and fallbackReviewers properties of the accessReviewScheduleDefinition might specify group owners or managers as reviewers, contactedReviewers returns their individual identities. Supports $select. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -145,8 +175,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property contactedReviewers in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewReviewer body) { return toPatchRequestInformation(body, null); } @@ -155,8 +188,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewReviewer body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -169,8 +205,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessReviewReviewerItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessReviewReviewerItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessReviewReviewerItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/instance/decisions/DecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/instance/decisions/DecisionsRequestBuilder.java index 3f6e080a15f..5a8c4331611 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/instance/decisions/DecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/instance/decisions/DecisionsRequestBuilder.java @@ -28,7 +28,10 @@ public class DecisionsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -36,7 +39,10 @@ public CountRequestBuilder count() { /** * Provides operations to call the recordAllDecisions method. * @return a {@link RecordAllDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public RecordAllDecisionsRequestBuilder recordAllDecisions() { return new RecordAllDecisionsRequestBuilder(pathParameters, requestAdapter); @@ -45,8 +51,11 @@ public RecordAllDecisionsRequestBuilder recordAllDecisions() { * Provides operations to manage the decisions property of the microsoft.graph.accessReviewInstance entity. * @param accessReviewInstanceDecisionItemId1 The unique identifier of accessReviewInstanceDecisionItem * @return a {@link AccessReviewInstanceDecisionItemItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessReviewInstanceDecisionItemItemRequestBuilder byAccessReviewInstanceDecisionItemId1(@jakarta.annotation.Nonnull final String accessReviewInstanceDecisionItemId1) { Objects.requireNonNull(accessReviewInstanceDecisionItemId1); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -73,8 +82,11 @@ public DecisionsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, * Provides operations to call the filterByCurrentUser method. * @param on Usage: on='{on}' * @return a {@link FilterByCurrentUserWithOnRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilterByCurrentUserWithOnRequestBuilder filterByCurrentUserWithOn(@jakarta.annotation.Nonnull final String on) { Objects.requireNonNull(on); return new FilterByCurrentUserWithOnRequestBuilder(pathParameters, requestAdapter, on); @@ -83,8 +95,11 @@ public FilterByCurrentUserWithOnRequestBuilder filterByCurrentUserWithOn(@jakart * Each user reviewed in an accessReviewInstance has a decision item representing if they were approved, denied, or not yet reviewed. * @return a {@link AccessReviewInstanceDecisionItemCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItemCollectionResponse get() { return get(null); } @@ -93,8 +108,11 @@ public AccessReviewInstanceDecisionItemCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstanceDecisionItemCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItemCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -106,8 +124,11 @@ public AccessReviewInstanceDecisionItemCollectionResponse get(@jakarta.annotatio * @param body The request body * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem post(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body) { return post(body, null); } @@ -117,8 +138,11 @@ public AccessReviewInstanceDecisionItem post(@jakarta.annotation.Nonnull final A * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem post(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -129,8 +153,11 @@ public AccessReviewInstanceDecisionItem post(@jakarta.annotation.Nonnull final A /** * Each user reviewed in an accessReviewInstance has a decision item representing if they were approved, denied, or not yet reviewed. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -138,8 +165,11 @@ public RequestInformation toGetRequestInformation() { * Each user reviewed in an accessReviewInstance has a decision item representing if they were approved, denied, or not yet reviewed. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -150,8 +180,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to decisions for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body) { return toPostRequestInformation(body, null); } @@ -160,8 +193,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -174,8 +210,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link DecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public DecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new DecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/instance/decisions/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/instance/decisions/count/CountRequestBuilder.java index 192539b9e9c..01fdda0964b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/instance/decisions/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/instance/decisions/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/instance/decisions/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/instance/decisions/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java index ee35828e974..2f7503accb9 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/instance/decisions/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/instance/decisions/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java @@ -41,9 +41,12 @@ public FilterByCurrentUserWithOnRequestBuilder(@jakarta.annotation.Nonnull final * Retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. * @return a {@link FilterByCurrentUserWithOnGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public FilterByCurrentUserWithOnGetResponse get() { return get(null); } @@ -52,9 +55,12 @@ public FilterByCurrentUserWithOnGetResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link FilterByCurrentUserWithOnGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public FilterByCurrentUserWithOnGetResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -64,8 +70,11 @@ public FilterByCurrentUserWithOnGetResponse get(@jakarta.annotation.Nullable fin /** * Retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -73,8 +82,11 @@ public RequestInformation toGetRequestInformation() { * Retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -85,8 +97,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link FilterByCurrentUserWithOnRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilterByCurrentUserWithOnRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new FilterByCurrentUserWithOnRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/instance/decisions/item/AccessReviewInstanceDecisionItemItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/instance/decisions/item/AccessReviewInstanceDecisionItemItemRequestBuilder.java index bf62b8b2f6c..b754b66e53a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/instance/decisions/item/AccessReviewInstanceDecisionItemItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/instance/decisions/item/AccessReviewInstanceDecisionItemItemRequestBuilder.java @@ -24,7 +24,10 @@ public class AccessReviewInstanceDecisionItemItemRequestBuilder extends BaseRequ /** * Provides operations to manage the insights property of the microsoft.graph.accessReviewInstanceDecisionItem entity. * @return a {@link InsightsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public InsightsRequestBuilder insights() { return new InsightsRequestBuilder(pathParameters, requestAdapter); @@ -48,7 +51,10 @@ public AccessReviewInstanceDecisionItemItemRequestBuilder(@jakarta.annotation.No /** * Delete navigation property decisions for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -56,7 +62,10 @@ public void delete() { * Delete navigation property decisions for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -67,8 +76,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Each user reviewed in an accessReviewInstance has a decision item representing if they were approved, denied, or not yet reviewed. * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem get() { return get(null); } @@ -77,8 +89,11 @@ public AccessReviewInstanceDecisionItem get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -90,8 +105,11 @@ public AccessReviewInstanceDecisionItem get(@jakarta.annotation.Nullable final j * @param body The request body * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem patch(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body) { return patch(body, null); } @@ -101,8 +119,11 @@ public AccessReviewInstanceDecisionItem patch(@jakarta.annotation.Nonnull final * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem patch(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -113,8 +134,11 @@ public AccessReviewInstanceDecisionItem patch(@jakarta.annotation.Nonnull final /** * Delete navigation property decisions for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -122,8 +146,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property decisions for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -133,8 +160,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Each user reviewed in an accessReviewInstance has a decision item representing if they were approved, denied, or not yet reviewed. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -142,8 +172,11 @@ public RequestInformation toGetRequestInformation() { * Each user reviewed in an accessReviewInstance has a decision item representing if they were approved, denied, or not yet reviewed. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -154,8 +187,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property decisions in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body) { return toPatchRequestInformation(body, null); } @@ -164,8 +200,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -178,8 +217,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessReviewInstanceDecisionItemItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessReviewInstanceDecisionItemItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessReviewInstanceDecisionItemItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/instance/decisions/item/insights/InsightsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/instance/decisions/item/insights/InsightsRequestBuilder.java index 90dae895589..0bffd948cd6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/instance/decisions/item/insights/InsightsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/instance/decisions/item/insights/InsightsRequestBuilder.java @@ -26,7 +26,10 @@ public class InsightsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the insights property of the microsoft.graph.accessReviewInstanceDecisionItem entity. * @param governanceInsightId The unique identifier of governanceInsight * @return a {@link GovernanceInsightItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public GovernanceInsightItemRequestBuilder byGovernanceInsightId(@jakarta.annotation.Nonnull final String governanceInsightId) { Objects.requireNonNull(governanceInsightId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public InsightsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @return a {@link GovernanceInsightCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsightCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public GovernanceInsightCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GovernanceInsightCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsightCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public GovernanceInsightCollectionResponse get(@jakarta.annotation.Nullable fina * @param body The request body * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight post(@jakarta.annotation.Nonnull final GovernanceInsight body) { return post(body, null); } @@ -97,8 +112,11 @@ public GovernanceInsight post(@jakarta.annotation.Nonnull final GovernanceInsigh * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight post(@jakarta.annotation.Nonnull final GovernanceInsight body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public GovernanceInsight post(@jakarta.annotation.Nonnull final GovernanceInsigh /** * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to insights for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GovernanceInsight body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GovernanceInsight body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link InsightsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public InsightsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new InsightsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/instance/decisions/item/insights/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/instance/decisions/item/insights/count/CountRequestBuilder.java index 181edbe1825..bd4be3a5f06 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/instance/decisions/item/insights/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/instance/decisions/item/insights/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/instance/decisions/item/insights/item/GovernanceInsightItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/instance/decisions/item/insights/item/GovernanceInsightItemRequestBuilder.java index e8e74084e13..0a81ffbcaf7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/instance/decisions/item/insights/item/GovernanceInsightItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/instance/decisions/item/insights/item/GovernanceInsightItemRequestBuilder.java @@ -39,7 +39,10 @@ public GovernanceInsightItemRequestBuilder(@jakarta.annotation.Nonnull final Str /** * Delete navigation property insights for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -47,7 +50,10 @@ public void delete() { * Delete navigation property insights for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -58,8 +64,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight get() { return get(null); } @@ -68,8 +77,11 @@ public GovernanceInsight get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -81,8 +93,11 @@ public GovernanceInsight get(@jakarta.annotation.Nullable final java.util.functi * @param body The request body * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight patch(@jakarta.annotation.Nonnull final GovernanceInsight body) { return patch(body, null); } @@ -92,8 +107,11 @@ public GovernanceInsight patch(@jakarta.annotation.Nonnull final GovernanceInsig * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight patch(@jakarta.annotation.Nonnull final GovernanceInsight body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -104,8 +122,11 @@ public GovernanceInsight patch(@jakarta.annotation.Nonnull final GovernanceInsig /** * Delete navigation property insights for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -113,8 +134,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property insights for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -133,8 +160,11 @@ public RequestInformation toGetRequestInformation() { * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -145,8 +175,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property insights in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final GovernanceInsight body) { return toPatchRequestInformation(body, null); } @@ -155,8 +188,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final GovernanceInsight body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -169,8 +205,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link GovernanceInsightItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public GovernanceInsightItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new GovernanceInsightItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/instance/decisions/recordalldecisions/RecordAllDecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/instance/decisions/recordalldecisions/RecordAllDecisionsRequestBuilder.java index 7fb77d4e500..e93e691e8be 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/instance/decisions/recordalldecisions/RecordAllDecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/instance/decisions/recordalldecisions/RecordAllDecisionsRequestBuilder.java @@ -38,8 +38,11 @@ public RecordAllDecisionsRequestBuilder(@jakarta.annotation.Nonnull final String * As a reviewer of an access review, record a decision for an accessReviewInstanceDecisionItem that is assigned to you and that matches the principal or resource IDs specified. If no IDs are specified, the decisions will apply to every accessReviewInstanceDecisionItem for which you are the reviewer. * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequestBody body) { post(body, null); } @@ -48,8 +51,11 @@ public void post(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequest * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -61,8 +67,11 @@ public void post(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequest * As a reviewer of an access review, record a decision for an accessReviewInstanceDecisionItem that is assigned to you and that matches the principal or resource IDs specified. If no IDs are specified, the decisions will apply to every accessReviewInstanceDecisionItem for which you are the reviewer. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequestBody body) { return toPostRequestInformation(body, null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -85,8 +97,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RecordAllDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RecordAllDecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RecordAllDecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/instance/definition/DefinitionRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/instance/definition/DefinitionRequestBuilder.java index 94564255eb2..0660ad663fe 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/instance/definition/DefinitionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/instance/definition/DefinitionRequestBuilder.java @@ -40,8 +40,11 @@ public DefinitionRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, * There's exactly one accessReviewScheduleDefinition associated with each instance. It's the parent schedule for the instance, where instances are created for each recurrence of a review definition and each group selected to review by the definition. * @return a {@link AccessReviewScheduleDefinition} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewScheduleDefinition get() { return get(null); } @@ -50,8 +53,11 @@ public AccessReviewScheduleDefinition get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewScheduleDefinition} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewScheduleDefinition get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public AccessReviewScheduleDefinition get(@jakarta.annotation.Nullable final jav /** * There's exactly one accessReviewScheduleDefinition associated with each instance. It's the parent schedule for the instance, where instances are created for each recurrence of a review definition and each group selected to review by the definition. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * There's exactly one accessReviewScheduleDefinition associated with each instance. It's the parent schedule for the instance, where instances are created for each recurrence of a review definition and each group selected to review by the definition. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link DefinitionRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public DefinitionRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new DefinitionRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/instance/resetdecisions/ResetDecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/instance/resetdecisions/ResetDecisionsRequestBuilder.java index e24ead9e8ad..33993a52abe 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/instance/resetdecisions/ResetDecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/instance/resetdecisions/ResetDecisionsRequestBuilder.java @@ -37,8 +37,11 @@ public ResetDecisionsRequestBuilder(@jakarta.annotation.Nonnull final String raw /** * Resets decisions of all accessReviewInstanceDecisionItem objects on an accessReviewInstance to notReviewed. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * Resets decisions of all accessReviewInstanceDecisionItem objects on an accessReviewInstance to notReviewed. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Resets decisions of all accessReviewInstanceDecisionItem objects on an accessReviewInstance to notReviewed. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * Resets decisions of all accessReviewInstanceDecisionItem objects on an accessReviewInstance to notReviewed. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ResetDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ResetDecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ResetDecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/instance/sendreminder/SendReminderRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/instance/sendreminder/SendReminderRequestBuilder.java index 89ee42bb877..df93a5126af 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/instance/sendreminder/SendReminderRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/instance/sendreminder/SendReminderRequestBuilder.java @@ -37,8 +37,11 @@ public SendReminderRequestBuilder(@jakarta.annotation.Nonnull final String rawUr /** * Send a reminder to the reviewers of a currently active accessReviewInstance. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * Send a reminder to the reviewers of a currently active accessReviewInstance. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Send a reminder to the reviewers of a currently active accessReviewInstance. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * Send a reminder to the reviewers of a currently active accessReviewInstance. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link SendReminderRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public SendReminderRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new SendReminderRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/instance/stop/StopRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/instance/stop/StopRequestBuilder.java index b8608c2b8ec..6b0cfedb11e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/instance/stop/StopRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/instance/stop/StopRequestBuilder.java @@ -37,8 +37,11 @@ public StopRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jaka /** * Stop a currently active accessReviewInstance. After the access review instance stops, the instance status will be Completed, the reviewers can no longer give input, and the access review decisions can be applied. Stopping an instance will not effect future instances. To prevent a recurring access review from starting future instances, update the schedule definition to change its scheduled end date. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * Stop a currently active accessReviewInstance. After the access review instance stops, the instance status will be Completed, the reviewers can no longer give input, and the access review decisions can be applied. Stopping an instance will not effect future instances. To prevent a recurring access review from starting future instances, update the schedule definition to change its scheduled end date. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Stop a currently active accessReviewInstance. After the access review instance stops, the instance status will be Completed, the reviewers can no longer give input, and the access review decisions can be applied. Stopping an instance will not effect future instances. To prevent a recurring access review from starting future instances, update the schedule definition to change its scheduled end date. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * Stop a currently active accessReviewInstance. After the access review instance stops, the instance status will be Completed, the reviewers can no longer give input, and the access review decisions can be applied. Stopping an instance will not effect future instances. To prevent a recurring access review from starting future instances, update the schedule definition to change its scheduled end date. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link StopRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public StopRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new StopRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/instance/stopapplydecisions/StopApplyDecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/instance/stopapplydecisions/StopApplyDecisionsRequestBuilder.java index 1ed028bd089..6468999dafa 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/instance/stopapplydecisions/StopApplyDecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/instance/stopapplydecisions/StopApplyDecisionsRequestBuilder.java @@ -37,7 +37,10 @@ public StopApplyDecisionsRequestBuilder(@jakarta.annotation.Nonnull final String /** * Invoke action stopApplyDecisions * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void post() { post(null); } @@ -45,7 +48,10 @@ public void post() { * Invoke action stopApplyDecisions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -55,8 +61,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Invoke action stopApplyDecisions * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -64,8 +73,11 @@ public RequestInformation toPostRequestInformation() { * Invoke action stopApplyDecisions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -76,8 +88,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link StopApplyDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public StopApplyDecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new StopApplyDecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/recordalldecisions/RecordAllDecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/recordalldecisions/RecordAllDecisionsRequestBuilder.java index c910f1b4224..e2c3b9278e1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/recordalldecisions/RecordAllDecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/recordalldecisions/RecordAllDecisionsRequestBuilder.java @@ -38,8 +38,11 @@ public RecordAllDecisionsRequestBuilder(@jakarta.annotation.Nonnull final String * As a reviewer of an access review, record a decision for an accessReviewInstanceDecisionItem that is assigned to you and that matches the principal or resource IDs specified. If no IDs are specified, the decisions will apply to every accessReviewInstanceDecisionItem for which you are the reviewer. * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequestBody body) { post(body, null); } @@ -48,8 +51,11 @@ public void post(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequest * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -61,8 +67,11 @@ public void post(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequest * As a reviewer of an access review, record a decision for an accessReviewInstanceDecisionItem that is assigned to you and that matches the principal or resource IDs specified. If no IDs are specified, the decisions will apply to every accessReviewInstanceDecisionItem for which you are the reviewer. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequestBody body) { return toPostRequestInformation(body, null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -85,8 +97,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RecordAllDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RecordAllDecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RecordAllDecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/stop/StopRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/stop/StopRequestBuilder.java index 19788342c99..b5062ebd2e3 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/stop/StopRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/stop/StopRequestBuilder.java @@ -37,8 +37,11 @@ public StopRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jaka /** * Stop an access review stage that is inProgress. After the access review stage stops, the stage status will be Completed and the reviewers can no longer give input. If there are subsequent stages that depend on the completed stage, the next stage will be created. The accessReviewInstanceDecisionItem objects will always reflect the last decisions recorded across all stages at that given time, regardless of the status of the stages. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * Stop an access review stage that is inProgress. After the access review stage stops, the stage status will be Completed and the reviewers can no longer give input. If there are subsequent stages that depend on the completed stage, the next stage will be created. The accessReviewInstanceDecisionItem objects will always reflect the last decisions recorded across all stages at that given time, regardless of the status of the stages. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Stop an access review stage that is inProgress. After the access review stage stops, the stage status will be Completed and the reviewers can no longer give input. If there are subsequent stages that depend on the completed stage, the next stage will be created. The accessReviewInstanceDecisionItem objects will always reflect the last decisions recorded across all stages at that given time, regardless of the status of the stages. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * Stop an access review stage that is inProgress. After the access review stage stops, the stage status will be Completed and the reviewers can no longer give input. If there are subsequent stages that depend on the completed stage, the next stage will be created. The accessReviewInstanceDecisionItem objects will always reflect the last decisions recorded across all stages at that given time, regardless of the status of the stages. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link StopRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public StopRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new StopRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stop/StopRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stop/StopRequestBuilder.java index ecf45c93672..105f4f80484 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stop/StopRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stop/StopRequestBuilder.java @@ -37,8 +37,11 @@ public StopRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jaka /** * Stop a currently active accessReviewInstance. After the access review instance stops, the instance status will be Completed, the reviewers can no longer give input, and the access review decisions can be applied. Stopping an instance will not effect future instances. To prevent a recurring access review from starting future instances, update the schedule definition to change its scheduled end date. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * Stop a currently active accessReviewInstance. After the access review instance stops, the instance status will be Completed, the reviewers can no longer give input, and the access review decisions can be applied. Stopping an instance will not effect future instances. To prevent a recurring access review from starting future instances, update the schedule definition to change its scheduled end date. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Stop a currently active accessReviewInstance. After the access review instance stops, the instance status will be Completed, the reviewers can no longer give input, and the access review decisions can be applied. Stopping an instance will not effect future instances. To prevent a recurring access review from starting future instances, update the schedule definition to change its scheduled end date. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * Stop a currently active accessReviewInstance. After the access review instance stops, the instance status will be Completed, the reviewers can no longer give input, and the access review decisions can be applied. Stopping an instance will not effect future instances. To prevent a recurring access review from starting future instances, update the schedule definition to change its scheduled end date. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link StopRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public StopRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new StopRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stopapplydecisions/StopApplyDecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stopapplydecisions/StopApplyDecisionsRequestBuilder.java index 1feca248358..ea30edbe233 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stopapplydecisions/StopApplyDecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stopapplydecisions/StopApplyDecisionsRequestBuilder.java @@ -37,7 +37,10 @@ public StopApplyDecisionsRequestBuilder(@jakarta.annotation.Nonnull final String /** * Invoke action stopApplyDecisions * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void post() { post(null); } @@ -45,7 +48,10 @@ public void post() { * Invoke action stopApplyDecisions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -55,8 +61,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Invoke action stopApplyDecisions * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -64,8 +73,11 @@ public RequestInformation toPostRequestInformation() { * Invoke action stopApplyDecisions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -76,8 +88,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link StopApplyDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public StopApplyDecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new StopApplyDecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/stop/StopRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/stop/StopRequestBuilder.java index 721c592bb51..b9865d7f2a2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/stop/StopRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/stop/StopRequestBuilder.java @@ -37,7 +37,10 @@ public StopRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jaka /** * Invoke action stop * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void post() { post(null); } @@ -45,7 +48,10 @@ public void post() { * Invoke action stop * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -55,8 +61,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Invoke action stop * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -64,8 +73,11 @@ public RequestInformation toPostRequestInformation() { * Invoke action stop * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -76,8 +88,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link StopRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public StopRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new StopRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/historydefinitions/HistoryDefinitionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/historydefinitions/HistoryDefinitionsRequestBuilder.java index c7e27562701..0781477b12e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/historydefinitions/HistoryDefinitionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/historydefinitions/HistoryDefinitionsRequestBuilder.java @@ -26,7 +26,10 @@ public class HistoryDefinitionsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the historyDefinitions property of the microsoft.graph.accessReviewSet entity. * @param accessReviewHistoryDefinitionId The unique identifier of accessReviewHistoryDefinition * @return a {@link AccessReviewHistoryDefinitionItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessReviewHistoryDefinitionItemRequestBuilder byAccessReviewHistoryDefinitionId(@jakarta.annotation.Nonnull final String accessReviewHistoryDefinitionId) { Objects.requireNonNull(accessReviewHistoryDefinitionId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,9 +69,12 @@ public HistoryDefinitionsRequestBuilder(@jakarta.annotation.Nonnull final String * Retrieve the accessReviewHistoryDefinition objects created in the last 30 days, including all nested properties. * @return a {@link AccessReviewHistoryDefinitionCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewHistoryDefinitionCollectionResponse get() { return get(null); } @@ -74,9 +83,12 @@ public AccessReviewHistoryDefinitionCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewHistoryDefinitionCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewHistoryDefinitionCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -88,9 +100,12 @@ public AccessReviewHistoryDefinitionCollectionResponse get(@jakarta.annotation.N * @param body The request body * @return a {@link AccessReviewHistoryDefinition} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewHistoryDefinition post(@jakarta.annotation.Nonnull final AccessReviewHistoryDefinition body) { return post(body, null); } @@ -100,9 +115,12 @@ public AccessReviewHistoryDefinition post(@jakarta.annotation.Nonnull final Acce * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewHistoryDefinition} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewHistoryDefinition post(@jakarta.annotation.Nonnull final AccessReviewHistoryDefinition body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -113,8 +131,11 @@ public AccessReviewHistoryDefinition post(@jakarta.annotation.Nonnull final Acce /** * Retrieve the accessReviewHistoryDefinition objects created in the last 30 days, including all nested properties. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -122,8 +143,11 @@ public RequestInformation toGetRequestInformation() { * Retrieve the accessReviewHistoryDefinition objects created in the last 30 days, including all nested properties. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -134,8 +158,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create a new accessReviewHistoryDefinition object. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewHistoryDefinition body) { return toPostRequestInformation(body, null); } @@ -144,8 +171,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewHistoryDefinition body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -158,8 +188,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link HistoryDefinitionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public HistoryDefinitionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new HistoryDefinitionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/historydefinitions/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/historydefinitions/count/CountRequestBuilder.java index e83db9935b7..74c56230bac 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/historydefinitions/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/historydefinitions/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/historydefinitions/item/AccessReviewHistoryDefinitionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/historydefinitions/item/AccessReviewHistoryDefinitionItemRequestBuilder.java index 0060547248c..b5474dc29cb 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/historydefinitions/item/AccessReviewHistoryDefinitionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/historydefinitions/item/AccessReviewHistoryDefinitionItemRequestBuilder.java @@ -24,7 +24,10 @@ public class AccessReviewHistoryDefinitionItemRequestBuilder extends BaseRequest /** * Provides operations to manage the instances property of the microsoft.graph.accessReviewHistoryDefinition entity. * @return a {@link InstancesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public InstancesRequestBuilder instances() { return new InstancesRequestBuilder(pathParameters, requestAdapter); @@ -48,7 +51,10 @@ public AccessReviewHistoryDefinitionItemRequestBuilder(@jakarta.annotation.Nonnu /** * Delete navigation property historyDefinitions for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -56,7 +62,10 @@ public void delete() { * Delete navigation property historyDefinitions for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -67,9 +76,12 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Retrieve an accessReviewHistoryDefinition object by its identifier. All of the properties of the access review history definition object are returned. If the definition is 30 days or older, a 404 Not Found error is returned. * @return a {@link AccessReviewHistoryDefinition} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewHistoryDefinition get() { return get(null); } @@ -78,9 +90,12 @@ public AccessReviewHistoryDefinition get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewHistoryDefinition} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewHistoryDefinition get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -92,8 +107,11 @@ public AccessReviewHistoryDefinition get(@jakarta.annotation.Nullable final java * @param body The request body * @return a {@link AccessReviewHistoryDefinition} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewHistoryDefinition patch(@jakarta.annotation.Nonnull final AccessReviewHistoryDefinition body) { return patch(body, null); } @@ -103,8 +121,11 @@ public AccessReviewHistoryDefinition patch(@jakarta.annotation.Nonnull final Acc * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewHistoryDefinition} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewHistoryDefinition patch(@jakarta.annotation.Nonnull final AccessReviewHistoryDefinition body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -115,8 +136,11 @@ public AccessReviewHistoryDefinition patch(@jakarta.annotation.Nonnull final Acc /** * Delete navigation property historyDefinitions for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property historyDefinitions for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -135,8 +162,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Retrieve an accessReviewHistoryDefinition object by its identifier. All of the properties of the access review history definition object are returned. If the definition is 30 days or older, a 404 Not Found error is returned. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -144,8 +174,11 @@ public RequestInformation toGetRequestInformation() { * Retrieve an accessReviewHistoryDefinition object by its identifier. All of the properties of the access review history definition object are returned. If the definition is 30 days or older, a 404 Not Found error is returned. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -156,8 +189,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property historyDefinitions in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewHistoryDefinition body) { return toPatchRequestInformation(body, null); } @@ -166,8 +202,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewHistoryDefinition body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -180,8 +219,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessReviewHistoryDefinitionItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessReviewHistoryDefinitionItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessReviewHistoryDefinitionItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/historydefinitions/item/instances/InstancesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/historydefinitions/item/instances/InstancesRequestBuilder.java index 2afef47df73..ff473618dd2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/historydefinitions/item/instances/InstancesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/historydefinitions/item/instances/InstancesRequestBuilder.java @@ -26,7 +26,10 @@ public class InstancesRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the instances property of the microsoft.graph.accessReviewHistoryDefinition entity. * @param accessReviewHistoryInstanceId The unique identifier of accessReviewHistoryInstance * @return a {@link AccessReviewHistoryInstanceItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessReviewHistoryInstanceItemRequestBuilder byAccessReviewHistoryInstanceId(@jakarta.annotation.Nonnull final String accessReviewHistoryInstanceId) { Objects.requireNonNull(accessReviewHistoryInstanceId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,9 +69,12 @@ public InstancesRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, * Retrieve the instances of an access review history definition created in the last 30 days. * @return a {@link AccessReviewHistoryInstanceCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewHistoryInstanceCollectionResponse get() { return get(null); } @@ -74,9 +83,12 @@ public AccessReviewHistoryInstanceCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewHistoryInstanceCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewHistoryInstanceCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -88,8 +100,11 @@ public AccessReviewHistoryInstanceCollectionResponse get(@jakarta.annotation.Nul * @param body The request body * @return a {@link AccessReviewHistoryInstance} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewHistoryInstance post(@jakarta.annotation.Nonnull final AccessReviewHistoryInstance body) { return post(body, null); } @@ -99,8 +114,11 @@ public AccessReviewHistoryInstance post(@jakarta.annotation.Nonnull final Access * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewHistoryInstance} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewHistoryInstance post(@jakarta.annotation.Nonnull final AccessReviewHistoryInstance body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -111,8 +129,11 @@ public AccessReviewHistoryInstance post(@jakarta.annotation.Nonnull final Access /** * Retrieve the instances of an access review history definition created in the last 30 days. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -120,8 +141,11 @@ public RequestInformation toGetRequestInformation() { * Retrieve the instances of an access review history definition created in the last 30 days. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -132,8 +156,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to instances for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewHistoryInstance body) { return toPostRequestInformation(body, null); } @@ -142,8 +169,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewHistoryInstance body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -156,8 +186,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link InstancesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public InstancesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new InstancesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/historydefinitions/item/instances/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/historydefinitions/item/instances/count/CountRequestBuilder.java index 9c1ded3a43d..1638a103289 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/historydefinitions/item/instances/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/historydefinitions/item/instances/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/historydefinitions/item/instances/item/AccessReviewHistoryInstanceItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/historydefinitions/item/instances/item/AccessReviewHistoryInstanceItemRequestBuilder.java index 500e20e7841..b3bb3241412 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/historydefinitions/item/instances/item/AccessReviewHistoryInstanceItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/historydefinitions/item/instances/item/AccessReviewHistoryInstanceItemRequestBuilder.java @@ -24,7 +24,10 @@ public class AccessReviewHistoryInstanceItemRequestBuilder extends BaseRequestBu /** * Provides operations to call the generateDownloadUri method. * @return a {@link GenerateDownloadUriRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public GenerateDownloadUriRequestBuilder generateDownloadUri() { return new GenerateDownloadUriRequestBuilder(pathParameters, requestAdapter); @@ -48,7 +51,10 @@ public AccessReviewHistoryInstanceItemRequestBuilder(@jakarta.annotation.Nonnull /** * Delete navigation property instances for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -56,7 +62,10 @@ public void delete() { * Delete navigation property instances for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -67,8 +76,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * If the accessReviewHistoryDefinition is a recurring definition, instances represent each recurrence. A definition that doesn't recur will have exactly one instance. * @return a {@link AccessReviewHistoryInstance} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewHistoryInstance get() { return get(null); } @@ -77,8 +89,11 @@ public AccessReviewHistoryInstance get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewHistoryInstance} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewHistoryInstance get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -90,8 +105,11 @@ public AccessReviewHistoryInstance get(@jakarta.annotation.Nullable final java.u * @param body The request body * @return a {@link AccessReviewHistoryInstance} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewHistoryInstance patch(@jakarta.annotation.Nonnull final AccessReviewHistoryInstance body) { return patch(body, null); } @@ -101,8 +119,11 @@ public AccessReviewHistoryInstance patch(@jakarta.annotation.Nonnull final Acces * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewHistoryInstance} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewHistoryInstance patch(@jakarta.annotation.Nonnull final AccessReviewHistoryInstance body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -113,8 +134,11 @@ public AccessReviewHistoryInstance patch(@jakarta.annotation.Nonnull final Acces /** * Delete navigation property instances for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -122,8 +146,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property instances for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -133,8 +160,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * If the accessReviewHistoryDefinition is a recurring definition, instances represent each recurrence. A definition that doesn't recur will have exactly one instance. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -142,8 +172,11 @@ public RequestInformation toGetRequestInformation() { * If the accessReviewHistoryDefinition is a recurring definition, instances represent each recurrence. A definition that doesn't recur will have exactly one instance. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -154,8 +187,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property instances in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewHistoryInstance body) { return toPatchRequestInformation(body, null); } @@ -164,8 +200,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewHistoryInstance body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -178,8 +217,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessReviewHistoryInstanceItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessReviewHistoryInstanceItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessReviewHistoryInstanceItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/historydefinitions/item/instances/item/generatedownloaduri/GenerateDownloadUriRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/historydefinitions/item/instances/item/generatedownloaduri/GenerateDownloadUriRequestBuilder.java index cc43950074d..ea893bdc70d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/historydefinitions/item/instances/item/generatedownloaduri/GenerateDownloadUriRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/historydefinitions/item/instances/item/generatedownloaduri/GenerateDownloadUriRequestBuilder.java @@ -39,9 +39,12 @@ public GenerateDownloadUriRequestBuilder(@jakarta.annotation.Nonnull final Strin * Generates a URI for an accessReviewHistoryInstance object the status for which is done. Each URI can be used to retrieve the instance's review history data. Each URI is valid for 24 hours and can be retrieved by fetching the downloadUri property from the accessReviewHistoryInstance object. * @return a {@link AccessReviewHistoryInstance} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewHistoryInstance post() { return post(null); } @@ -50,9 +53,12 @@ public AccessReviewHistoryInstance post() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewHistoryInstance} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewHistoryInstance post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -62,8 +68,11 @@ public AccessReviewHistoryInstance post(@jakarta.annotation.Nullable final java. /** * Generates a URI for an accessReviewHistoryInstance object the status for which is done. Each URI can be used to retrieve the instance's review history data. Each URI is valid for 24 hours and can be retrieved by fetching the downloadUri property from the accessReviewHistoryInstance object. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation() { * Generates a URI for an accessReviewHistoryInstance object the status for which is done. Each URI can be used to retrieve the instance's review history data. Each URI is valid for 24 hours and can be retrieved by fetching the downloadUri property from the accessReviewHistoryInstance object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -83,8 +95,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link GenerateDownloadUriRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public GenerateDownloadUriRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new GenerateDownloadUriRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/InstancesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/InstancesRequestBuilder.java index baddeeb3179..24fffed6ab0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/InstancesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/InstancesRequestBuilder.java @@ -27,7 +27,10 @@ public class InstancesRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -36,8 +39,11 @@ public CountRequestBuilder count() { * Provides operations to manage the instances property of the microsoft.graph.accessReviewSet entity. * @param accessReviewInstanceId The unique identifier of accessReviewInstance * @return a {@link AccessReviewInstanceItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessReviewInstanceItemRequestBuilder byAccessReviewInstanceId(@jakarta.annotation.Nonnull final String accessReviewInstanceId) { Objects.requireNonNull(accessReviewInstanceId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -64,8 +70,11 @@ public InstancesRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, * Provides operations to call the filterByCurrentUser method. * @param on Usage: on='{on}' * @return a {@link FilterByCurrentUserWithOnRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilterByCurrentUserWithOnRequestBuilder filterByCurrentUserWithOn(@jakarta.annotation.Nonnull final String on) { Objects.requireNonNull(on); return new FilterByCurrentUserWithOnRequestBuilder(pathParameters, requestAdapter, on); @@ -74,8 +83,11 @@ public FilterByCurrentUserWithOnRequestBuilder filterByCurrentUserWithOn(@jakart * Represents the instance of a review. * @return a {@link AccessReviewInstanceCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceCollectionResponse get() { return get(null); } @@ -84,8 +96,11 @@ public AccessReviewInstanceCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstanceCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -97,8 +112,11 @@ public AccessReviewInstanceCollectionResponse get(@jakarta.annotation.Nullable f * @param body The request body * @return a {@link AccessReviewInstance} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstance post(@jakarta.annotation.Nonnull final AccessReviewInstance body) { return post(body, null); } @@ -108,8 +126,11 @@ public AccessReviewInstance post(@jakarta.annotation.Nonnull final AccessReviewI * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstance} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstance post(@jakarta.annotation.Nonnull final AccessReviewInstance body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -120,8 +141,11 @@ public AccessReviewInstance post(@jakarta.annotation.Nonnull final AccessReviewI /** * Represents the instance of a review. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -129,8 +153,11 @@ public RequestInformation toGetRequestInformation() { * Represents the instance of a review. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -141,8 +168,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to instances for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstance body) { return toPostRequestInformation(body, null); } @@ -151,8 +181,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstance body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -165,8 +198,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link InstancesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public InstancesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new InstancesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/count/CountRequestBuilder.java index c786d87bd55..61034763d8f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java index 4b18aca4a3d..e347c65102f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java @@ -41,9 +41,12 @@ public FilterByCurrentUserWithOnRequestBuilder(@jakarta.annotation.Nonnull final * Returns all accessReviewInstance objects on a given accessReviewScheduleDefinition where the calling user is a reviewer on one or more accessReviewInstanceDecisionItem objects. * @return a {@link FilterByCurrentUserWithOnGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public FilterByCurrentUserWithOnGetResponse get() { return get(null); } @@ -52,9 +55,12 @@ public FilterByCurrentUserWithOnGetResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link FilterByCurrentUserWithOnGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public FilterByCurrentUserWithOnGetResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -64,8 +70,11 @@ public FilterByCurrentUserWithOnGetResponse get(@jakarta.annotation.Nullable fin /** * Returns all accessReviewInstance objects on a given accessReviewScheduleDefinition where the calling user is a reviewer on one or more accessReviewInstanceDecisionItem objects. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -73,8 +82,11 @@ public RequestInformation toGetRequestInformation() { * Returns all accessReviewInstance objects on a given accessReviewScheduleDefinition where the calling user is a reviewer on one or more accessReviewInstanceDecisionItem objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -85,8 +97,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link FilterByCurrentUserWithOnRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilterByCurrentUserWithOnRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new FilterByCurrentUserWithOnRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/AccessReviewInstanceItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/AccessReviewInstanceItemRequestBuilder.java index 9f605cdee7c..871facefaeb 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/AccessReviewInstanceItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/AccessReviewInstanceItemRequestBuilder.java @@ -35,7 +35,10 @@ public class AccessReviewInstanceItemRequestBuilder extends BaseRequestBuilder { /** * Provides operations to call the acceptRecommendations method. * @return a {@link AcceptRecommendationsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AcceptRecommendationsRequestBuilder acceptRecommendations() { return new AcceptRecommendationsRequestBuilder(pathParameters, requestAdapter); @@ -43,7 +46,10 @@ public AcceptRecommendationsRequestBuilder acceptRecommendations() { /** * Provides operations to call the applyDecisions method. * @return a {@link ApplyDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ApplyDecisionsRequestBuilder applyDecisions() { return new ApplyDecisionsRequestBuilder(pathParameters, requestAdapter); @@ -51,7 +57,10 @@ public ApplyDecisionsRequestBuilder applyDecisions() { /** * Provides operations to call the batchApplyCustomDataProvidedResourceDecisions method. * @return a {@link BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder batchApplyCustomDataProvidedResourceDecisions() { return new BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder(pathParameters, requestAdapter); @@ -59,7 +68,10 @@ public BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder batchApplyCus /** * Provides operations to call the batchRecordDecisions method. * @return a {@link BatchRecordDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public BatchRecordDecisionsRequestBuilder batchRecordDecisions() { return new BatchRecordDecisionsRequestBuilder(pathParameters, requestAdapter); @@ -67,7 +79,10 @@ public BatchRecordDecisionsRequestBuilder batchRecordDecisions() { /** * Provides operations to manage the contactedReviewers property of the microsoft.graph.accessReviewInstance entity. * @return a {@link ContactedReviewersRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ContactedReviewersRequestBuilder contactedReviewers() { return new ContactedReviewersRequestBuilder(pathParameters, requestAdapter); @@ -75,7 +90,10 @@ public ContactedReviewersRequestBuilder contactedReviewers() { /** * Provides operations to manage the decisions property of the microsoft.graph.accessReviewInstance entity. * @return a {@link DecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public DecisionsRequestBuilder decisions() { return new DecisionsRequestBuilder(pathParameters, requestAdapter); @@ -83,7 +101,10 @@ public DecisionsRequestBuilder decisions() { /** * Provides operations to manage the definition property of the microsoft.graph.accessReviewInstance entity. * @return a {@link DefinitionRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public DefinitionRequestBuilder definition() { return new DefinitionRequestBuilder(pathParameters, requestAdapter); @@ -91,7 +112,10 @@ public DefinitionRequestBuilder definition() { /** * Provides operations to call the resetDecisions method. * @return a {@link ResetDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ResetDecisionsRequestBuilder resetDecisions() { return new ResetDecisionsRequestBuilder(pathParameters, requestAdapter); @@ -99,7 +123,10 @@ public ResetDecisionsRequestBuilder resetDecisions() { /** * Provides operations to call the sendReminder method. * @return a {@link SendReminderRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public SendReminderRequestBuilder sendReminder() { return new SendReminderRequestBuilder(pathParameters, requestAdapter); @@ -107,7 +134,10 @@ public SendReminderRequestBuilder sendReminder() { /** * Provides operations to manage the stages property of the microsoft.graph.accessReviewInstance entity. * @return a {@link StagesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public StagesRequestBuilder stages() { return new StagesRequestBuilder(pathParameters, requestAdapter); @@ -115,7 +145,10 @@ public StagesRequestBuilder stages() { /** * Provides operations to call the stop method. * @return a {@link StopRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public StopRequestBuilder stop() { return new StopRequestBuilder(pathParameters, requestAdapter); @@ -123,7 +156,10 @@ public StopRequestBuilder stop() { /** * Provides operations to call the stopApplyDecisions method. * @return a {@link StopApplyDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public StopApplyDecisionsRequestBuilder stopApplyDecisions() { return new StopApplyDecisionsRequestBuilder(pathParameters, requestAdapter); @@ -147,7 +183,10 @@ public AccessReviewInstanceItemRequestBuilder(@jakarta.annotation.Nonnull final /** * Delete navigation property instances for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -155,7 +194,10 @@ public void delete() { * Delete navigation property instances for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -166,8 +208,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Represents the instance of a review. * @return a {@link AccessReviewInstance} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstance get() { return get(null); } @@ -176,8 +221,11 @@ public AccessReviewInstance get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstance} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstance get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -189,8 +237,11 @@ public AccessReviewInstance get(@jakarta.annotation.Nullable final java.util.fun * @param body The request body * @return a {@link AccessReviewInstance} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstance patch(@jakarta.annotation.Nonnull final AccessReviewInstance body) { return patch(body, null); } @@ -200,8 +251,11 @@ public AccessReviewInstance patch(@jakarta.annotation.Nonnull final AccessReview * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstance} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstance patch(@jakarta.annotation.Nonnull final AccessReviewInstance body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -212,8 +266,11 @@ public AccessReviewInstance patch(@jakarta.annotation.Nonnull final AccessReview /** * Delete navigation property instances for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -221,8 +278,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property instances for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -232,8 +292,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Represents the instance of a review. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -241,8 +304,11 @@ public RequestInformation toGetRequestInformation() { * Represents the instance of a review. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -253,8 +319,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property instances in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstance body) { return toPatchRequestInformation(body, null); } @@ -263,8 +332,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstance body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -277,8 +349,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessReviewInstanceItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessReviewInstanceItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessReviewInstanceItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/acceptrecommendations/AcceptRecommendationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/acceptrecommendations/AcceptRecommendationsRequestBuilder.java index 0aab696fad9..ec4016b9662 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/acceptrecommendations/AcceptRecommendationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/acceptrecommendations/AcceptRecommendationsRequestBuilder.java @@ -37,8 +37,11 @@ public AcceptRecommendationsRequestBuilder(@jakarta.annotation.Nonnull final Str /** * Allows the acceptance of recommendations on all accessReviewInstanceDecisionItem objects that haven't been reviewed for an accessReviewInstance object for which the calling user is a reviewer. Recommendations are generated if recommendationsEnabled is true on the accessReviewScheduleDefinition object. If there isn't a recommendation on an accessReviewInstanceDecisionItem object no decision will be recorded. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * Allows the acceptance of recommendations on all accessReviewInstanceDecisionItem objects that haven't been reviewed for an accessReviewInstance object for which the calling user is a reviewer. Recommendations are generated if recommendationsEnabled is true on the accessReviewScheduleDefinition object. If there isn't a recommendation on an accessReviewInstanceDecisionItem object no decision will be recorded. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Allows the acceptance of recommendations on all accessReviewInstanceDecisionItem objects that haven't been reviewed for an accessReviewInstance object for which the calling user is a reviewer. Recommendations are generated if recommendationsEnabled is true on the accessReviewScheduleDefinition object. If there isn't a recommendation on an accessReviewInstanceDecisionItem object no decision will be recorded. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * Allows the acceptance of recommendations on all accessReviewInstanceDecisionItem objects that haven't been reviewed for an accessReviewInstance object for which the calling user is a reviewer. Recommendations are generated if recommendationsEnabled is true on the accessReviewScheduleDefinition object. If there isn't a recommendation on an accessReviewInstanceDecisionItem object no decision will be recorded. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AcceptRecommendationsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AcceptRecommendationsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AcceptRecommendationsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/applydecisions/ApplyDecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/applydecisions/ApplyDecisionsRequestBuilder.java index 7e5fab57f0c..4d55ad54dde 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/applydecisions/ApplyDecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/applydecisions/ApplyDecisionsRequestBuilder.java @@ -37,8 +37,11 @@ public ApplyDecisionsRequestBuilder(@jakarta.annotation.Nonnull final String raw /** * Apply review decisions on an accessReviewInstance if the decisions were not applied automatically because the autoApplyDecisionsEnabled property is false in the review's accessReviewScheduleSettings. The status of the accessReviewInstance must be Completed to call this method. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * Apply review decisions on an accessReviewInstance if the decisions were not applied automatically because the autoApplyDecisionsEnabled property is false in the review's accessReviewScheduleSettings. The status of the accessReviewInstance must be Completed to call this method. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Apply review decisions on an accessReviewInstance if the decisions were not applied automatically because the autoApplyDecisionsEnabled property is false in the review's accessReviewScheduleSettings. The status of the accessReviewInstance must be Completed to call this method. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * Apply review decisions on an accessReviewInstance if the decisions were not applied automatically because the autoApplyDecisionsEnabled property is false in the review's accessReviewScheduleSettings. The status of the accessReviewInstance must be Completed to call this method. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ApplyDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ApplyDecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ApplyDecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/batchapplycustomdataprovidedresourcedecisions/BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/batchapplycustomdataprovidedresourcedecisions/BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder.java index 4ade32b2b5a..a2fa90bd34a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/batchapplycustomdataprovidedresourcedecisions/BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/batchapplycustomdataprovidedresourcedecisions/BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder.java @@ -38,8 +38,11 @@ public BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder(@jakarta.anno * Enables reviewers to set the applyResult and applyDescription on all accessReviewInstanceDecisionItem objects in a specific accessReviewInstance in batches by using customDataProvidedResourceId. NOTE: The access review instance must be in an Applying state. * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final BatchApplyCustomDataProvidedResourceDecisionsPostRequestBody body) { post(body, null); } @@ -48,8 +51,11 @@ public void post(@jakarta.annotation.Nonnull final BatchApplyCustomDataProvidedR * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final BatchApplyCustomDataProvidedResourceDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -61,8 +67,11 @@ public void post(@jakarta.annotation.Nonnull final BatchApplyCustomDataProvidedR * Enables reviewers to set the applyResult and applyDescription on all accessReviewInstanceDecisionItem objects in a specific accessReviewInstance in batches by using customDataProvidedResourceId. NOTE: The access review instance must be in an Applying state. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BatchApplyCustomDataProvidedResourceDecisionsPostRequestBody body) { return toPostRequestInformation(body, null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BatchApplyCustomDataProvidedResourceDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -85,8 +97,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/batchrecorddecisions/BatchRecordDecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/batchrecorddecisions/BatchRecordDecisionsRequestBuilder.java index 93257f4a5f1..dd50e5ca250 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/batchrecorddecisions/BatchRecordDecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/batchrecorddecisions/BatchRecordDecisionsRequestBuilder.java @@ -38,8 +38,11 @@ public BatchRecordDecisionsRequestBuilder(@jakarta.annotation.Nonnull final Stri * Enables reviewers to review all accessReviewInstanceDecisionItem objects in a specific pending accessReviewInstance in batches by using principalId, resourceId, or neither. * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostRequestBody body) { post(body, null); } @@ -48,8 +51,11 @@ public void post(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostReque * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -61,8 +67,11 @@ public void post(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostReque * Enables reviewers to review all accessReviewInstanceDecisionItem objects in a specific pending accessReviewInstance in batches by using principalId, resourceId, or neither. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostRequestBody body) { return toPostRequestInformation(body, null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -85,8 +97,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link BatchRecordDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public BatchRecordDecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new BatchRecordDecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/contactedreviewers/ContactedReviewersRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/contactedreviewers/ContactedReviewersRequestBuilder.java index e8d803536f9..c32d3652256 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/contactedreviewers/ContactedReviewersRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/contactedreviewers/ContactedReviewersRequestBuilder.java @@ -26,7 +26,10 @@ public class ContactedReviewersRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the contactedReviewers property of the microsoft.graph.accessReviewInstance entity. * @param accessReviewReviewerId The unique identifier of accessReviewReviewer * @return a {@link AccessReviewReviewerItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessReviewReviewerItemRequestBuilder byAccessReviewReviewerId(@jakarta.annotation.Nonnull final String accessReviewReviewerId) { Objects.requireNonNull(accessReviewReviewerId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public ContactedReviewersRequestBuilder(@jakarta.annotation.Nonnull final String * Returns the collection of reviewers who were contacted to complete this review. While the reviewers and fallbackReviewers properties of the accessReviewScheduleDefinition might specify group owners or managers as reviewers, contactedReviewers returns their individual identities. Supports $select. Read-only. * @return a {@link AccessReviewReviewerCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewReviewerCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public AccessReviewReviewerCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewReviewerCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewReviewerCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public AccessReviewReviewerCollectionResponse get(@jakarta.annotation.Nullable f * @param body The request body * @return a {@link AccessReviewReviewer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewReviewer post(@jakarta.annotation.Nonnull final AccessReviewReviewer body) { return post(body, null); } @@ -97,8 +112,11 @@ public AccessReviewReviewer post(@jakarta.annotation.Nonnull final AccessReviewR * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewReviewer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewReviewer post(@jakarta.annotation.Nonnull final AccessReviewReviewer body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public AccessReviewReviewer post(@jakarta.annotation.Nonnull final AccessReviewR /** * Returns the collection of reviewers who were contacted to complete this review. While the reviewers and fallbackReviewers properties of the accessReviewScheduleDefinition might specify group owners or managers as reviewers, contactedReviewers returns their individual identities. Supports $select. Read-only. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Returns the collection of reviewers who were contacted to complete this review. While the reviewers and fallbackReviewers properties of the accessReviewScheduleDefinition might specify group owners or managers as reviewers, contactedReviewers returns their individual identities. Supports $select. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to contactedReviewers for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewReviewer body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewReviewer body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ContactedReviewersRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ContactedReviewersRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ContactedReviewersRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/contactedreviewers/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/contactedreviewers/count/CountRequestBuilder.java index df6754a9aa8..b0cde83de89 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/contactedreviewers/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/contactedreviewers/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/contactedreviewers/item/AccessReviewReviewerItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/contactedreviewers/item/AccessReviewReviewerItemRequestBuilder.java index 1093ab88297..6b8bf704871 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/contactedreviewers/item/AccessReviewReviewerItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/contactedreviewers/item/AccessReviewReviewerItemRequestBuilder.java @@ -39,7 +39,10 @@ public AccessReviewReviewerItemRequestBuilder(@jakarta.annotation.Nonnull final /** * Delete navigation property contactedReviewers for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -47,7 +50,10 @@ public void delete() { * Delete navigation property contactedReviewers for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -58,8 +64,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Returns the collection of reviewers who were contacted to complete this review. While the reviewers and fallbackReviewers properties of the accessReviewScheduleDefinition might specify group owners or managers as reviewers, contactedReviewers returns their individual identities. Supports $select. Read-only. * @return a {@link AccessReviewReviewer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewReviewer get() { return get(null); } @@ -68,8 +77,11 @@ public AccessReviewReviewer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewReviewer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewReviewer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -81,8 +93,11 @@ public AccessReviewReviewer get(@jakarta.annotation.Nullable final java.util.fun * @param body The request body * @return a {@link AccessReviewReviewer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewReviewer patch(@jakarta.annotation.Nonnull final AccessReviewReviewer body) { return patch(body, null); } @@ -92,8 +107,11 @@ public AccessReviewReviewer patch(@jakarta.annotation.Nonnull final AccessReview * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewReviewer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewReviewer patch(@jakarta.annotation.Nonnull final AccessReviewReviewer body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -104,8 +122,11 @@ public AccessReviewReviewer patch(@jakarta.annotation.Nonnull final AccessReview /** * Delete navigation property contactedReviewers for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -113,8 +134,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property contactedReviewers for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Returns the collection of reviewers who were contacted to complete this review. While the reviewers and fallbackReviewers properties of the accessReviewScheduleDefinition might specify group owners or managers as reviewers, contactedReviewers returns their individual identities. Supports $select. Read-only. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -133,8 +160,11 @@ public RequestInformation toGetRequestInformation() { * Returns the collection of reviewers who were contacted to complete this review. While the reviewers and fallbackReviewers properties of the accessReviewScheduleDefinition might specify group owners or managers as reviewers, contactedReviewers returns their individual identities. Supports $select. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -145,8 +175,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property contactedReviewers in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewReviewer body) { return toPatchRequestInformation(body, null); } @@ -155,8 +188,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewReviewer body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -169,8 +205,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessReviewReviewerItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessReviewReviewerItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessReviewReviewerItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/DecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/DecisionsRequestBuilder.java index b7863fe616f..d2068cdb3e8 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/DecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/DecisionsRequestBuilder.java @@ -28,7 +28,10 @@ public class DecisionsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -36,7 +39,10 @@ public CountRequestBuilder count() { /** * Provides operations to call the recordAllDecisions method. * @return a {@link RecordAllDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public RecordAllDecisionsRequestBuilder recordAllDecisions() { return new RecordAllDecisionsRequestBuilder(pathParameters, requestAdapter); @@ -45,8 +51,11 @@ public RecordAllDecisionsRequestBuilder recordAllDecisions() { * Provides operations to manage the decisions property of the microsoft.graph.accessReviewInstance entity. * @param accessReviewInstanceDecisionItemId The unique identifier of accessReviewInstanceDecisionItem * @return a {@link AccessReviewInstanceDecisionItemItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessReviewInstanceDecisionItemItemRequestBuilder byAccessReviewInstanceDecisionItemId(@jakarta.annotation.Nonnull final String accessReviewInstanceDecisionItemId) { Objects.requireNonNull(accessReviewInstanceDecisionItemId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -73,8 +82,11 @@ public DecisionsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, * Provides operations to call the filterByCurrentUser method. * @param on Usage: on='{on}' * @return a {@link FilterByCurrentUserWithOnRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilterByCurrentUserWithOnRequestBuilder filterByCurrentUserWithOn(@jakarta.annotation.Nonnull final String on) { Objects.requireNonNull(on); return new FilterByCurrentUserWithOnRequestBuilder(pathParameters, requestAdapter, on); @@ -83,8 +95,11 @@ public FilterByCurrentUserWithOnRequestBuilder filterByCurrentUserWithOn(@jakart * Each user reviewed in an accessReviewInstance has a decision item representing if they were approved, denied, or not yet reviewed. * @return a {@link AccessReviewInstanceDecisionItemCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItemCollectionResponse get() { return get(null); } @@ -93,8 +108,11 @@ public AccessReviewInstanceDecisionItemCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstanceDecisionItemCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItemCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -106,8 +124,11 @@ public AccessReviewInstanceDecisionItemCollectionResponse get(@jakarta.annotatio * @param body The request body * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem post(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body) { return post(body, null); } @@ -117,8 +138,11 @@ public AccessReviewInstanceDecisionItem post(@jakarta.annotation.Nonnull final A * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem post(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -129,8 +153,11 @@ public AccessReviewInstanceDecisionItem post(@jakarta.annotation.Nonnull final A /** * Each user reviewed in an accessReviewInstance has a decision item representing if they were approved, denied, or not yet reviewed. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -138,8 +165,11 @@ public RequestInformation toGetRequestInformation() { * Each user reviewed in an accessReviewInstance has a decision item representing if they were approved, denied, or not yet reviewed. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -150,8 +180,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to decisions for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body) { return toPostRequestInformation(body, null); } @@ -160,8 +193,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -174,8 +210,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link DecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public DecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new DecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/count/CountRequestBuilder.java index 74f80115f19..293fedc06bc 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java index 9cef39a10cf..4b7afb20c3f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java @@ -41,9 +41,12 @@ public FilterByCurrentUserWithOnRequestBuilder(@jakarta.annotation.Nonnull final * Retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. * @return a {@link FilterByCurrentUserWithOnGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public FilterByCurrentUserWithOnGetResponse get() { return get(null); } @@ -52,9 +55,12 @@ public FilterByCurrentUserWithOnGetResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link FilterByCurrentUserWithOnGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public FilterByCurrentUserWithOnGetResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -64,8 +70,11 @@ public FilterByCurrentUserWithOnGetResponse get(@jakarta.annotation.Nullable fin /** * Retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -73,8 +82,11 @@ public RequestInformation toGetRequestInformation() { * Retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -85,8 +97,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link FilterByCurrentUserWithOnRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilterByCurrentUserWithOnRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new FilterByCurrentUserWithOnRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/AccessReviewInstanceDecisionItemItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/AccessReviewInstanceDecisionItemItemRequestBuilder.java index c6571d7af7a..70b873b6d98 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/AccessReviewInstanceDecisionItemItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/AccessReviewInstanceDecisionItemItemRequestBuilder.java @@ -25,7 +25,10 @@ public class AccessReviewInstanceDecisionItemItemRequestBuilder extends BaseRequ /** * Provides operations to manage the insights property of the microsoft.graph.accessReviewInstanceDecisionItem entity. * @return a {@link InsightsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public InsightsRequestBuilder insights() { return new InsightsRequestBuilder(pathParameters, requestAdapter); @@ -33,7 +36,10 @@ public InsightsRequestBuilder insights() { /** * Provides operations to manage the instance property of the microsoft.graph.accessReviewInstanceDecisionItem entity. * @return a {@link InstanceRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public InstanceRequestBuilder instance() { return new InstanceRequestBuilder(pathParameters, requestAdapter); @@ -57,7 +63,10 @@ public AccessReviewInstanceDecisionItemItemRequestBuilder(@jakarta.annotation.No /** * Delete navigation property decisions for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -65,7 +74,10 @@ public void delete() { * Delete navigation property decisions for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -76,8 +88,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Each user reviewed in an accessReviewInstance has a decision item representing if they were approved, denied, or not yet reviewed. * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem get() { return get(null); } @@ -86,8 +101,11 @@ public AccessReviewInstanceDecisionItem get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -99,8 +117,11 @@ public AccessReviewInstanceDecisionItem get(@jakarta.annotation.Nullable final j * @param body The request body * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem patch(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body) { return patch(body, null); } @@ -110,8 +131,11 @@ public AccessReviewInstanceDecisionItem patch(@jakarta.annotation.Nonnull final * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem patch(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -122,8 +146,11 @@ public AccessReviewInstanceDecisionItem patch(@jakarta.annotation.Nonnull final /** * Delete navigation property decisions for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -131,8 +158,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property decisions for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -142,8 +172,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Each user reviewed in an accessReviewInstance has a decision item representing if they were approved, denied, or not yet reviewed. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -151,8 +184,11 @@ public RequestInformation toGetRequestInformation() { * Each user reviewed in an accessReviewInstance has a decision item representing if they were approved, denied, or not yet reviewed. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -163,8 +199,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property decisions in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body) { return toPatchRequestInformation(body, null); } @@ -173,8 +212,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -187,8 +229,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessReviewInstanceDecisionItemItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessReviewInstanceDecisionItemItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessReviewInstanceDecisionItemItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/insights/InsightsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/insights/InsightsRequestBuilder.java index 0a86a3bb8ad..ba50782aa72 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/insights/InsightsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/insights/InsightsRequestBuilder.java @@ -26,7 +26,10 @@ public class InsightsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the insights property of the microsoft.graph.accessReviewInstanceDecisionItem entity. * @param governanceInsightId The unique identifier of governanceInsight * @return a {@link GovernanceInsightItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public GovernanceInsightItemRequestBuilder byGovernanceInsightId(@jakarta.annotation.Nonnull final String governanceInsightId) { Objects.requireNonNull(governanceInsightId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public InsightsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @return a {@link GovernanceInsightCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsightCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public GovernanceInsightCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GovernanceInsightCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsightCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public GovernanceInsightCollectionResponse get(@jakarta.annotation.Nullable fina * @param body The request body * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight post(@jakarta.annotation.Nonnull final GovernanceInsight body) { return post(body, null); } @@ -97,8 +112,11 @@ public GovernanceInsight post(@jakarta.annotation.Nonnull final GovernanceInsigh * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight post(@jakarta.annotation.Nonnull final GovernanceInsight body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public GovernanceInsight post(@jakarta.annotation.Nonnull final GovernanceInsigh /** * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to insights for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GovernanceInsight body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GovernanceInsight body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link InsightsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public InsightsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new InsightsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/insights/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/insights/count/CountRequestBuilder.java index 5f5aa4b0b6a..f30c33572b8 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/insights/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/insights/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/insights/item/GovernanceInsightItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/insights/item/GovernanceInsightItemRequestBuilder.java index e12f3d8ad28..fcd80c06033 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/insights/item/GovernanceInsightItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/insights/item/GovernanceInsightItemRequestBuilder.java @@ -39,7 +39,10 @@ public GovernanceInsightItemRequestBuilder(@jakarta.annotation.Nonnull final Str /** * Delete navigation property insights for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -47,7 +50,10 @@ public void delete() { * Delete navigation property insights for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -58,8 +64,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight get() { return get(null); } @@ -68,8 +77,11 @@ public GovernanceInsight get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -81,8 +93,11 @@ public GovernanceInsight get(@jakarta.annotation.Nullable final java.util.functi * @param body The request body * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight patch(@jakarta.annotation.Nonnull final GovernanceInsight body) { return patch(body, null); } @@ -92,8 +107,11 @@ public GovernanceInsight patch(@jakarta.annotation.Nonnull final GovernanceInsig * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight patch(@jakarta.annotation.Nonnull final GovernanceInsight body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -104,8 +122,11 @@ public GovernanceInsight patch(@jakarta.annotation.Nonnull final GovernanceInsig /** * Delete navigation property insights for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -113,8 +134,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property insights for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -133,8 +160,11 @@ public RequestInformation toGetRequestInformation() { * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -145,8 +175,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property insights in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final GovernanceInsight body) { return toPatchRequestInformation(body, null); } @@ -155,8 +188,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final GovernanceInsight body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -169,8 +205,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link GovernanceInsightItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public GovernanceInsightItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new GovernanceInsightItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/instance/InstanceRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/instance/InstanceRequestBuilder.java index e0752511074..8b1db977f93 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/instance/InstanceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/instance/InstanceRequestBuilder.java @@ -34,7 +34,10 @@ public class InstanceRequestBuilder extends BaseRequestBuilder { /** * Provides operations to call the acceptRecommendations method. * @return a {@link AcceptRecommendationsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AcceptRecommendationsRequestBuilder acceptRecommendations() { return new AcceptRecommendationsRequestBuilder(pathParameters, requestAdapter); @@ -42,7 +45,10 @@ public AcceptRecommendationsRequestBuilder acceptRecommendations() { /** * Provides operations to call the applyDecisions method. * @return a {@link ApplyDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ApplyDecisionsRequestBuilder applyDecisions() { return new ApplyDecisionsRequestBuilder(pathParameters, requestAdapter); @@ -50,7 +56,10 @@ public ApplyDecisionsRequestBuilder applyDecisions() { /** * Provides operations to call the batchApplyCustomDataProvidedResourceDecisions method. * @return a {@link BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder batchApplyCustomDataProvidedResourceDecisions() { return new BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder(pathParameters, requestAdapter); @@ -58,7 +67,10 @@ public BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder batchApplyCus /** * Provides operations to call the batchRecordDecisions method. * @return a {@link BatchRecordDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public BatchRecordDecisionsRequestBuilder batchRecordDecisions() { return new BatchRecordDecisionsRequestBuilder(pathParameters, requestAdapter); @@ -66,7 +78,10 @@ public BatchRecordDecisionsRequestBuilder batchRecordDecisions() { /** * Provides operations to manage the contactedReviewers property of the microsoft.graph.accessReviewInstance entity. * @return a {@link ContactedReviewersRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ContactedReviewersRequestBuilder contactedReviewers() { return new ContactedReviewersRequestBuilder(pathParameters, requestAdapter); @@ -74,7 +89,10 @@ public ContactedReviewersRequestBuilder contactedReviewers() { /** * Provides operations to manage the definition property of the microsoft.graph.accessReviewInstance entity. * @return a {@link DefinitionRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public DefinitionRequestBuilder definition() { return new DefinitionRequestBuilder(pathParameters, requestAdapter); @@ -82,7 +100,10 @@ public DefinitionRequestBuilder definition() { /** * Provides operations to call the resetDecisions method. * @return a {@link ResetDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ResetDecisionsRequestBuilder resetDecisions() { return new ResetDecisionsRequestBuilder(pathParameters, requestAdapter); @@ -90,7 +111,10 @@ public ResetDecisionsRequestBuilder resetDecisions() { /** * Provides operations to call the sendReminder method. * @return a {@link SendReminderRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public SendReminderRequestBuilder sendReminder() { return new SendReminderRequestBuilder(pathParameters, requestAdapter); @@ -98,7 +122,10 @@ public SendReminderRequestBuilder sendReminder() { /** * Provides operations to manage the stages property of the microsoft.graph.accessReviewInstance entity. * @return a {@link StagesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public StagesRequestBuilder stages() { return new StagesRequestBuilder(pathParameters, requestAdapter); @@ -106,7 +133,10 @@ public StagesRequestBuilder stages() { /** * Provides operations to call the stop method. * @return a {@link StopRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public StopRequestBuilder stop() { return new StopRequestBuilder(pathParameters, requestAdapter); @@ -114,7 +144,10 @@ public StopRequestBuilder stop() { /** * Provides operations to call the stopApplyDecisions method. * @return a {@link StopApplyDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public StopApplyDecisionsRequestBuilder stopApplyDecisions() { return new StopApplyDecisionsRequestBuilder(pathParameters, requestAdapter); @@ -138,7 +171,10 @@ public InstanceRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ /** * Delete navigation property instance for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -146,7 +182,10 @@ public void delete() { * Delete navigation property instance for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -157,8 +196,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * There's exactly one accessReviewInstance associated with each decision. The instance is the parent of the decision item, representing the recurrence of the access review the decision is made on. * @return a {@link AccessReviewInstance} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstance get() { return get(null); } @@ -167,8 +209,11 @@ public AccessReviewInstance get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstance} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstance get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -180,8 +225,11 @@ public AccessReviewInstance get(@jakarta.annotation.Nullable final java.util.fun * @param body The request body * @return a {@link AccessReviewInstance} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstance patch(@jakarta.annotation.Nonnull final AccessReviewInstance body) { return patch(body, null); } @@ -191,8 +239,11 @@ public AccessReviewInstance patch(@jakarta.annotation.Nonnull final AccessReview * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstance} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstance patch(@jakarta.annotation.Nonnull final AccessReviewInstance body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -203,8 +254,11 @@ public AccessReviewInstance patch(@jakarta.annotation.Nonnull final AccessReview /** * Delete navigation property instance for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -212,8 +266,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property instance for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -223,8 +280,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * There's exactly one accessReviewInstance associated with each decision. The instance is the parent of the decision item, representing the recurrence of the access review the decision is made on. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -232,8 +292,11 @@ public RequestInformation toGetRequestInformation() { * There's exactly one accessReviewInstance associated with each decision. The instance is the parent of the decision item, representing the recurrence of the access review the decision is made on. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -244,8 +307,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property instance in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstance body) { return toPatchRequestInformation(body, null); } @@ -254,8 +320,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstance body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -268,8 +337,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link InstanceRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public InstanceRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new InstanceRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/instance/acceptrecommendations/AcceptRecommendationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/instance/acceptrecommendations/AcceptRecommendationsRequestBuilder.java index bbf32494189..b091b02796d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/instance/acceptrecommendations/AcceptRecommendationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/instance/acceptrecommendations/AcceptRecommendationsRequestBuilder.java @@ -37,8 +37,11 @@ public AcceptRecommendationsRequestBuilder(@jakarta.annotation.Nonnull final Str /** * Allows the acceptance of recommendations on all accessReviewInstanceDecisionItem objects that haven't been reviewed for an accessReviewInstance object for which the calling user is a reviewer. Recommendations are generated if recommendationsEnabled is true on the accessReviewScheduleDefinition object. If there isn't a recommendation on an accessReviewInstanceDecisionItem object no decision will be recorded. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * Allows the acceptance of recommendations on all accessReviewInstanceDecisionItem objects that haven't been reviewed for an accessReviewInstance object for which the calling user is a reviewer. Recommendations are generated if recommendationsEnabled is true on the accessReviewScheduleDefinition object. If there isn't a recommendation on an accessReviewInstanceDecisionItem object no decision will be recorded. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Allows the acceptance of recommendations on all accessReviewInstanceDecisionItem objects that haven't been reviewed for an accessReviewInstance object for which the calling user is a reviewer. Recommendations are generated if recommendationsEnabled is true on the accessReviewScheduleDefinition object. If there isn't a recommendation on an accessReviewInstanceDecisionItem object no decision will be recorded. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * Allows the acceptance of recommendations on all accessReviewInstanceDecisionItem objects that haven't been reviewed for an accessReviewInstance object for which the calling user is a reviewer. Recommendations are generated if recommendationsEnabled is true on the accessReviewScheduleDefinition object. If there isn't a recommendation on an accessReviewInstanceDecisionItem object no decision will be recorded. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AcceptRecommendationsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AcceptRecommendationsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AcceptRecommendationsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/instance/applydecisions/ApplyDecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/instance/applydecisions/ApplyDecisionsRequestBuilder.java index 3442e45669b..b62f1d9e267 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/instance/applydecisions/ApplyDecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/instance/applydecisions/ApplyDecisionsRequestBuilder.java @@ -37,8 +37,11 @@ public ApplyDecisionsRequestBuilder(@jakarta.annotation.Nonnull final String raw /** * Apply review decisions on an accessReviewInstance if the decisions were not applied automatically because the autoApplyDecisionsEnabled property is false in the review's accessReviewScheduleSettings. The status of the accessReviewInstance must be Completed to call this method. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * Apply review decisions on an accessReviewInstance if the decisions were not applied automatically because the autoApplyDecisionsEnabled property is false in the review's accessReviewScheduleSettings. The status of the accessReviewInstance must be Completed to call this method. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Apply review decisions on an accessReviewInstance if the decisions were not applied automatically because the autoApplyDecisionsEnabled property is false in the review's accessReviewScheduleSettings. The status of the accessReviewInstance must be Completed to call this method. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * Apply review decisions on an accessReviewInstance if the decisions were not applied automatically because the autoApplyDecisionsEnabled property is false in the review's accessReviewScheduleSettings. The status of the accessReviewInstance must be Completed to call this method. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ApplyDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ApplyDecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ApplyDecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/instance/batchapplycustomdataprovidedresourcedecisions/BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/instance/batchapplycustomdataprovidedresourcedecisions/BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder.java index 6d44dfd0ee6..9c599eeb7ba 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/instance/batchapplycustomdataprovidedresourcedecisions/BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/instance/batchapplycustomdataprovidedresourcedecisions/BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder.java @@ -38,8 +38,11 @@ public BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder(@jakarta.anno * Enables reviewers to set the applyResult and applyDescription on all accessReviewInstanceDecisionItem objects in a specific accessReviewInstance in batches by using customDataProvidedResourceId. NOTE: The access review instance must be in an Applying state. * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final BatchApplyCustomDataProvidedResourceDecisionsPostRequestBody body) { post(body, null); } @@ -48,8 +51,11 @@ public void post(@jakarta.annotation.Nonnull final BatchApplyCustomDataProvidedR * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final BatchApplyCustomDataProvidedResourceDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -61,8 +67,11 @@ public void post(@jakarta.annotation.Nonnull final BatchApplyCustomDataProvidedR * Enables reviewers to set the applyResult and applyDescription on all accessReviewInstanceDecisionItem objects in a specific accessReviewInstance in batches by using customDataProvidedResourceId. NOTE: The access review instance must be in an Applying state. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BatchApplyCustomDataProvidedResourceDecisionsPostRequestBody body) { return toPostRequestInformation(body, null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BatchApplyCustomDataProvidedResourceDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -85,8 +97,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/instance/batchrecorddecisions/BatchRecordDecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/instance/batchrecorddecisions/BatchRecordDecisionsRequestBuilder.java index ae9c2c6bb10..7c4c1160736 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/instance/batchrecorddecisions/BatchRecordDecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/instance/batchrecorddecisions/BatchRecordDecisionsRequestBuilder.java @@ -38,8 +38,11 @@ public BatchRecordDecisionsRequestBuilder(@jakarta.annotation.Nonnull final Stri * Enables reviewers to review all accessReviewInstanceDecisionItem objects in a specific pending accessReviewInstance in batches by using principalId, resourceId, or neither. * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostRequestBody body) { post(body, null); } @@ -48,8 +51,11 @@ public void post(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostReque * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -61,8 +67,11 @@ public void post(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostReque * Enables reviewers to review all accessReviewInstanceDecisionItem objects in a specific pending accessReviewInstance in batches by using principalId, resourceId, or neither. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostRequestBody body) { return toPostRequestInformation(body, null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -85,8 +97,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link BatchRecordDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public BatchRecordDecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new BatchRecordDecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/instance/contactedreviewers/ContactedReviewersRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/instance/contactedreviewers/ContactedReviewersRequestBuilder.java index 3d0e16468d0..f2968698fff 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/instance/contactedreviewers/ContactedReviewersRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/instance/contactedreviewers/ContactedReviewersRequestBuilder.java @@ -26,7 +26,10 @@ public class ContactedReviewersRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the contactedReviewers property of the microsoft.graph.accessReviewInstance entity. * @param accessReviewReviewerId The unique identifier of accessReviewReviewer * @return a {@link AccessReviewReviewerItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessReviewReviewerItemRequestBuilder byAccessReviewReviewerId(@jakarta.annotation.Nonnull final String accessReviewReviewerId) { Objects.requireNonNull(accessReviewReviewerId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public ContactedReviewersRequestBuilder(@jakarta.annotation.Nonnull final String * Returns the collection of reviewers who were contacted to complete this review. While the reviewers and fallbackReviewers properties of the accessReviewScheduleDefinition might specify group owners or managers as reviewers, contactedReviewers returns their individual identities. Supports $select. Read-only. * @return a {@link AccessReviewReviewerCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewReviewerCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public AccessReviewReviewerCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewReviewerCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewReviewerCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public AccessReviewReviewerCollectionResponse get(@jakarta.annotation.Nullable f * @param body The request body * @return a {@link AccessReviewReviewer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewReviewer post(@jakarta.annotation.Nonnull final AccessReviewReviewer body) { return post(body, null); } @@ -97,8 +112,11 @@ public AccessReviewReviewer post(@jakarta.annotation.Nonnull final AccessReviewR * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewReviewer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewReviewer post(@jakarta.annotation.Nonnull final AccessReviewReviewer body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public AccessReviewReviewer post(@jakarta.annotation.Nonnull final AccessReviewR /** * Returns the collection of reviewers who were contacted to complete this review. While the reviewers and fallbackReviewers properties of the accessReviewScheduleDefinition might specify group owners or managers as reviewers, contactedReviewers returns their individual identities. Supports $select. Read-only. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Returns the collection of reviewers who were contacted to complete this review. While the reviewers and fallbackReviewers properties of the accessReviewScheduleDefinition might specify group owners or managers as reviewers, contactedReviewers returns their individual identities. Supports $select. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to contactedReviewers for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewReviewer body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewReviewer body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ContactedReviewersRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ContactedReviewersRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ContactedReviewersRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/instance/contactedreviewers/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/instance/contactedreviewers/count/CountRequestBuilder.java index 37950a585d8..5adae8d720d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/instance/contactedreviewers/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/instance/contactedreviewers/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/instance/contactedreviewers/item/AccessReviewReviewerItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/instance/contactedreviewers/item/AccessReviewReviewerItemRequestBuilder.java index c8cf653d3ee..726df03bfc7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/instance/contactedreviewers/item/AccessReviewReviewerItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/instance/contactedreviewers/item/AccessReviewReviewerItemRequestBuilder.java @@ -39,7 +39,10 @@ public AccessReviewReviewerItemRequestBuilder(@jakarta.annotation.Nonnull final /** * Delete navigation property contactedReviewers for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -47,7 +50,10 @@ public void delete() { * Delete navigation property contactedReviewers for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -58,8 +64,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Returns the collection of reviewers who were contacted to complete this review. While the reviewers and fallbackReviewers properties of the accessReviewScheduleDefinition might specify group owners or managers as reviewers, contactedReviewers returns their individual identities. Supports $select. Read-only. * @return a {@link AccessReviewReviewer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewReviewer get() { return get(null); } @@ -68,8 +77,11 @@ public AccessReviewReviewer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewReviewer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewReviewer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -81,8 +93,11 @@ public AccessReviewReviewer get(@jakarta.annotation.Nullable final java.util.fun * @param body The request body * @return a {@link AccessReviewReviewer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewReviewer patch(@jakarta.annotation.Nonnull final AccessReviewReviewer body) { return patch(body, null); } @@ -92,8 +107,11 @@ public AccessReviewReviewer patch(@jakarta.annotation.Nonnull final AccessReview * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewReviewer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewReviewer patch(@jakarta.annotation.Nonnull final AccessReviewReviewer body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -104,8 +122,11 @@ public AccessReviewReviewer patch(@jakarta.annotation.Nonnull final AccessReview /** * Delete navigation property contactedReviewers for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -113,8 +134,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property contactedReviewers for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Returns the collection of reviewers who were contacted to complete this review. While the reviewers and fallbackReviewers properties of the accessReviewScheduleDefinition might specify group owners or managers as reviewers, contactedReviewers returns their individual identities. Supports $select. Read-only. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -133,8 +160,11 @@ public RequestInformation toGetRequestInformation() { * Returns the collection of reviewers who were contacted to complete this review. While the reviewers and fallbackReviewers properties of the accessReviewScheduleDefinition might specify group owners or managers as reviewers, contactedReviewers returns their individual identities. Supports $select. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -145,8 +175,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property contactedReviewers in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewReviewer body) { return toPatchRequestInformation(body, null); } @@ -155,8 +188,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewReviewer body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -169,8 +205,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessReviewReviewerItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessReviewReviewerItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessReviewReviewerItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/instance/definition/DefinitionRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/instance/definition/DefinitionRequestBuilder.java index f3d3ce24a2e..4d262125f86 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/instance/definition/DefinitionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/instance/definition/DefinitionRequestBuilder.java @@ -40,8 +40,11 @@ public DefinitionRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, * There's exactly one accessReviewScheduleDefinition associated with each instance. It's the parent schedule for the instance, where instances are created for each recurrence of a review definition and each group selected to review by the definition. * @return a {@link AccessReviewScheduleDefinition} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewScheduleDefinition get() { return get(null); } @@ -50,8 +53,11 @@ public AccessReviewScheduleDefinition get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewScheduleDefinition} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewScheduleDefinition get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public AccessReviewScheduleDefinition get(@jakarta.annotation.Nullable final jav /** * There's exactly one accessReviewScheduleDefinition associated with each instance. It's the parent schedule for the instance, where instances are created for each recurrence of a review definition and each group selected to review by the definition. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * There's exactly one accessReviewScheduleDefinition associated with each instance. It's the parent schedule for the instance, where instances are created for each recurrence of a review definition and each group selected to review by the definition. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link DefinitionRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public DefinitionRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new DefinitionRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/instance/resetdecisions/ResetDecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/instance/resetdecisions/ResetDecisionsRequestBuilder.java index 85f2aeddc9b..a2f8ab6c94b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/instance/resetdecisions/ResetDecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/instance/resetdecisions/ResetDecisionsRequestBuilder.java @@ -37,8 +37,11 @@ public ResetDecisionsRequestBuilder(@jakarta.annotation.Nonnull final String raw /** * Resets decisions of all accessReviewInstanceDecisionItem objects on an accessReviewInstance to notReviewed. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * Resets decisions of all accessReviewInstanceDecisionItem objects on an accessReviewInstance to notReviewed. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Resets decisions of all accessReviewInstanceDecisionItem objects on an accessReviewInstance to notReviewed. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * Resets decisions of all accessReviewInstanceDecisionItem objects on an accessReviewInstance to notReviewed. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ResetDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ResetDecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ResetDecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/instance/sendreminder/SendReminderRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/instance/sendreminder/SendReminderRequestBuilder.java index 1a9def7147e..cbad55af43f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/instance/sendreminder/SendReminderRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/instance/sendreminder/SendReminderRequestBuilder.java @@ -37,8 +37,11 @@ public SendReminderRequestBuilder(@jakarta.annotation.Nonnull final String rawUr /** * Send a reminder to the reviewers of a currently active accessReviewInstance. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * Send a reminder to the reviewers of a currently active accessReviewInstance. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Send a reminder to the reviewers of a currently active accessReviewInstance. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * Send a reminder to the reviewers of a currently active accessReviewInstance. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link SendReminderRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public SendReminderRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new SendReminderRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/instance/stages/StagesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/instance/stages/StagesRequestBuilder.java index 77bbbe65f8b..d6a65783473 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/instance/stages/StagesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/instance/stages/StagesRequestBuilder.java @@ -27,7 +27,10 @@ public class StagesRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -36,8 +39,11 @@ public CountRequestBuilder count() { * Provides operations to manage the stages property of the microsoft.graph.accessReviewInstance entity. * @param accessReviewStageId The unique identifier of accessReviewStage * @return a {@link AccessReviewStageItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessReviewStageItemRequestBuilder byAccessReviewStageId(@jakarta.annotation.Nonnull final String accessReviewStageId) { Objects.requireNonNull(accessReviewStageId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -64,8 +70,11 @@ public StagesRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ja * Provides operations to call the filterByCurrentUser method. * @param on Usage: on='{on}' * @return a {@link FilterByCurrentUserWithOnRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilterByCurrentUserWithOnRequestBuilder filterByCurrentUserWithOn(@jakarta.annotation.Nonnull final String on) { Objects.requireNonNull(on); return new FilterByCurrentUserWithOnRequestBuilder(pathParameters, requestAdapter, on); @@ -74,8 +83,11 @@ public FilterByCurrentUserWithOnRequestBuilder filterByCurrentUserWithOn(@jakart * If the instance has multiple stages, this returns the collection of stages. A new stage will only be created when the previous stage ends. The existence, number, and settings of stages on a review instance are created based on the accessReviewStageSettings on the parent accessReviewScheduleDefinition. * @return a {@link AccessReviewStageCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewStageCollectionResponse get() { return get(null); } @@ -84,8 +96,11 @@ public AccessReviewStageCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewStageCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewStageCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -97,8 +112,11 @@ public AccessReviewStageCollectionResponse get(@jakarta.annotation.Nullable fina * @param body The request body * @return a {@link AccessReviewStage} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewStage post(@jakarta.annotation.Nonnull final AccessReviewStage body) { return post(body, null); } @@ -108,8 +126,11 @@ public AccessReviewStage post(@jakarta.annotation.Nonnull final AccessReviewStag * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewStage} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewStage post(@jakarta.annotation.Nonnull final AccessReviewStage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -120,8 +141,11 @@ public AccessReviewStage post(@jakarta.annotation.Nonnull final AccessReviewStag /** * If the instance has multiple stages, this returns the collection of stages. A new stage will only be created when the previous stage ends. The existence, number, and settings of stages on a review instance are created based on the accessReviewStageSettings on the parent accessReviewScheduleDefinition. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -129,8 +153,11 @@ public RequestInformation toGetRequestInformation() { * If the instance has multiple stages, this returns the collection of stages. A new stage will only be created when the previous stage ends. The existence, number, and settings of stages on a review instance are created based on the accessReviewStageSettings on the parent accessReviewScheduleDefinition. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -141,8 +168,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to stages for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewStage body) { return toPostRequestInformation(body, null); } @@ -151,8 +181,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewStage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -165,8 +198,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link StagesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public StagesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new StagesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/instance/stages/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/instance/stages/count/CountRequestBuilder.java index 2b241a8b237..a2fbe794090 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/instance/stages/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/instance/stages/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/instance/stages/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/instance/stages/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java index 315a08e6dc4..005e5c9af0f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/instance/stages/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/instance/stages/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java @@ -41,9 +41,12 @@ public FilterByCurrentUserWithOnRequestBuilder(@jakarta.annotation.Nonnull final * Return all accessReviewStage objects on a given accessReviewInstance where the calling user is a reviewer on one or more accessReviewInstanceDecisionItem objects. * @return a {@link FilterByCurrentUserWithOnGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public FilterByCurrentUserWithOnGetResponse get() { return get(null); } @@ -52,9 +55,12 @@ public FilterByCurrentUserWithOnGetResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link FilterByCurrentUserWithOnGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public FilterByCurrentUserWithOnGetResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -64,8 +70,11 @@ public FilterByCurrentUserWithOnGetResponse get(@jakarta.annotation.Nullable fin /** * Return all accessReviewStage objects on a given accessReviewInstance where the calling user is a reviewer on one or more accessReviewInstanceDecisionItem objects. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -73,8 +82,11 @@ public RequestInformation toGetRequestInformation() { * Return all accessReviewStage objects on a given accessReviewInstance where the calling user is a reviewer on one or more accessReviewInstanceDecisionItem objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -85,8 +97,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link FilterByCurrentUserWithOnRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilterByCurrentUserWithOnRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new FilterByCurrentUserWithOnRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/instance/stages/item/AccessReviewStageItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/instance/stages/item/AccessReviewStageItemRequestBuilder.java index df718cc9cde..b942b7c0f63 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/instance/stages/item/AccessReviewStageItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/instance/stages/item/AccessReviewStageItemRequestBuilder.java @@ -27,7 +27,10 @@ public class AccessReviewStageItemRequestBuilder extends BaseRequestBuilder { /** * Provides operations to call the acceptRecommendations method. * @return a {@link AcceptRecommendationsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AcceptRecommendationsRequestBuilder acceptRecommendations() { return new AcceptRecommendationsRequestBuilder(pathParameters, requestAdapter); @@ -35,7 +38,10 @@ public AcceptRecommendationsRequestBuilder acceptRecommendations() { /** * Provides operations to call the batchRecordDecisions method. * @return a {@link BatchRecordDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public BatchRecordDecisionsRequestBuilder batchRecordDecisions() { return new BatchRecordDecisionsRequestBuilder(pathParameters, requestAdapter); @@ -43,7 +49,10 @@ public BatchRecordDecisionsRequestBuilder batchRecordDecisions() { /** * Provides operations to manage the decisions property of the microsoft.graph.accessReviewStage entity. * @return a {@link DecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public DecisionsRequestBuilder decisions() { return new DecisionsRequestBuilder(pathParameters, requestAdapter); @@ -51,7 +60,10 @@ public DecisionsRequestBuilder decisions() { /** * Provides operations to call the stop method. * @return a {@link StopRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public StopRequestBuilder stop() { return new StopRequestBuilder(pathParameters, requestAdapter); @@ -75,7 +87,10 @@ public AccessReviewStageItemRequestBuilder(@jakarta.annotation.Nonnull final Str /** * Delete navigation property stages for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -83,7 +98,10 @@ public void delete() { * Delete navigation property stages for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -94,8 +112,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * If the instance has multiple stages, this returns the collection of stages. A new stage will only be created when the previous stage ends. The existence, number, and settings of stages on a review instance are created based on the accessReviewStageSettings on the parent accessReviewScheduleDefinition. * @return a {@link AccessReviewStage} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewStage get() { return get(null); } @@ -104,8 +125,11 @@ public AccessReviewStage get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewStage} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewStage get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -117,8 +141,11 @@ public AccessReviewStage get(@jakarta.annotation.Nullable final java.util.functi * @param body The request body * @return a {@link AccessReviewStage} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewStage patch(@jakarta.annotation.Nonnull final AccessReviewStage body) { return patch(body, null); } @@ -128,8 +155,11 @@ public AccessReviewStage patch(@jakarta.annotation.Nonnull final AccessReviewSta * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewStage} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewStage patch(@jakarta.annotation.Nonnull final AccessReviewStage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -140,8 +170,11 @@ public AccessReviewStage patch(@jakarta.annotation.Nonnull final AccessReviewSta /** * Delete navigation property stages for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -149,8 +182,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property stages for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -160,8 +196,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * If the instance has multiple stages, this returns the collection of stages. A new stage will only be created when the previous stage ends. The existence, number, and settings of stages on a review instance are created based on the accessReviewStageSettings on the parent accessReviewScheduleDefinition. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -169,8 +208,11 @@ public RequestInformation toGetRequestInformation() { * If the instance has multiple stages, this returns the collection of stages. A new stage will only be created when the previous stage ends. The existence, number, and settings of stages on a review instance are created based on the accessReviewStageSettings on the parent accessReviewScheduleDefinition. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -181,8 +223,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property stages in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewStage body) { return toPatchRequestInformation(body, null); } @@ -191,8 +236,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewStage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -205,8 +253,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessReviewStageItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessReviewStageItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessReviewStageItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/instance/stages/item/acceptrecommendations/AcceptRecommendationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/instance/stages/item/acceptrecommendations/AcceptRecommendationsRequestBuilder.java index bf7abf79093..7e074384801 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/instance/stages/item/acceptrecommendations/AcceptRecommendationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/instance/stages/item/acceptrecommendations/AcceptRecommendationsRequestBuilder.java @@ -37,8 +37,11 @@ public AcceptRecommendationsRequestBuilder(@jakarta.annotation.Nonnull final Str /** * Accept the recommendations on all accessReviewInstanceDecisionItem objects that haven't been reviewed within a single accessReviewStage of a multi-stage accessReviewInstance. Recommendations are generated if recommendationsEnabled is true on the accessReviewScheduleDefinition object. If there's no recommendation on an accessReviewInstanceDecisionItem object, no decision is recorded. This action accepts recommendations for the decisions in a specific stage only, unlike accessReviewInstance: acceptRecommendations, which operates across the entire instance. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * Accept the recommendations on all accessReviewInstanceDecisionItem objects that haven't been reviewed within a single accessReviewStage of a multi-stage accessReviewInstance. Recommendations are generated if recommendationsEnabled is true on the accessReviewScheduleDefinition object. If there's no recommendation on an accessReviewInstanceDecisionItem object, no decision is recorded. This action accepts recommendations for the decisions in a specific stage only, unlike accessReviewInstance: acceptRecommendations, which operates across the entire instance. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Accept the recommendations on all accessReviewInstanceDecisionItem objects that haven't been reviewed within a single accessReviewStage of a multi-stage accessReviewInstance. Recommendations are generated if recommendationsEnabled is true on the accessReviewScheduleDefinition object. If there's no recommendation on an accessReviewInstanceDecisionItem object, no decision is recorded. This action accepts recommendations for the decisions in a specific stage only, unlike accessReviewInstance: acceptRecommendations, which operates across the entire instance. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * Accept the recommendations on all accessReviewInstanceDecisionItem objects that haven't been reviewed within a single accessReviewStage of a multi-stage accessReviewInstance. Recommendations are generated if recommendationsEnabled is true on the accessReviewScheduleDefinition object. If there's no recommendation on an accessReviewInstanceDecisionItem object, no decision is recorded. This action accepts recommendations for the decisions in a specific stage only, unlike accessReviewInstance: acceptRecommendations, which operates across the entire instance. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AcceptRecommendationsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AcceptRecommendationsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AcceptRecommendationsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/instance/stages/item/batchrecorddecisions/BatchRecordDecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/instance/stages/item/batchrecorddecisions/BatchRecordDecisionsRequestBuilder.java index 352a831f9c5..fda1086e6be 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/instance/stages/item/batchrecorddecisions/BatchRecordDecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/instance/stages/item/batchrecorddecisions/BatchRecordDecisionsRequestBuilder.java @@ -38,8 +38,11 @@ public BatchRecordDecisionsRequestBuilder(@jakarta.annotation.Nonnull final Stri * Record decisions in bulk for all accessReviewInstanceDecisionItem objects within a single accessReviewStage of a multi-stage accessReviewInstance, by using principalId, resourceId, or neither. This action records decisions for a specific stage only, unlike accessReviewInstance: batchRecordDecisions, which operates across the entire instance. * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostRequestBody body) { post(body, null); } @@ -48,8 +51,11 @@ public void post(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostReque * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -61,8 +67,11 @@ public void post(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostReque * Record decisions in bulk for all accessReviewInstanceDecisionItem objects within a single accessReviewStage of a multi-stage accessReviewInstance, by using principalId, resourceId, or neither. This action records decisions for a specific stage only, unlike accessReviewInstance: batchRecordDecisions, which operates across the entire instance. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostRequestBody body) { return toPostRequestInformation(body, null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -85,8 +97,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link BatchRecordDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public BatchRecordDecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new BatchRecordDecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/instance/stages/item/decisions/DecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/instance/stages/item/decisions/DecisionsRequestBuilder.java index 09b18f5d665..69af8ecaa82 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/instance/stages/item/decisions/DecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/instance/stages/item/decisions/DecisionsRequestBuilder.java @@ -28,7 +28,10 @@ public class DecisionsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -36,7 +39,10 @@ public CountRequestBuilder count() { /** * Provides operations to call the recordAllDecisions method. * @return a {@link RecordAllDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public RecordAllDecisionsRequestBuilder recordAllDecisions() { return new RecordAllDecisionsRequestBuilder(pathParameters, requestAdapter); @@ -45,8 +51,11 @@ public RecordAllDecisionsRequestBuilder recordAllDecisions() { * Provides operations to manage the decisions property of the microsoft.graph.accessReviewStage entity. * @param accessReviewInstanceDecisionItemId1 The unique identifier of accessReviewInstanceDecisionItem * @return a {@link AccessReviewInstanceDecisionItemItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessReviewInstanceDecisionItemItemRequestBuilder byAccessReviewInstanceDecisionItemId1(@jakarta.annotation.Nonnull final String accessReviewInstanceDecisionItemId1) { Objects.requireNonNull(accessReviewInstanceDecisionItemId1); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -73,8 +82,11 @@ public DecisionsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, * Provides operations to call the filterByCurrentUser method. * @param on Usage: on='{on}' * @return a {@link FilterByCurrentUserWithOnRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilterByCurrentUserWithOnRequestBuilder filterByCurrentUserWithOn(@jakarta.annotation.Nonnull final String on) { Objects.requireNonNull(on); return new FilterByCurrentUserWithOnRequestBuilder(pathParameters, requestAdapter, on); @@ -83,8 +95,11 @@ public FilterByCurrentUserWithOnRequestBuilder filterByCurrentUserWithOn(@jakart * Each user reviewed in an accessReviewStage has a decision item representing if they were approved, denied, or not yet reviewed. * @return a {@link AccessReviewInstanceDecisionItemCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItemCollectionResponse get() { return get(null); } @@ -93,8 +108,11 @@ public AccessReviewInstanceDecisionItemCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstanceDecisionItemCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItemCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -106,8 +124,11 @@ public AccessReviewInstanceDecisionItemCollectionResponse get(@jakarta.annotatio * @param body The request body * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem post(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body) { return post(body, null); } @@ -117,8 +138,11 @@ public AccessReviewInstanceDecisionItem post(@jakarta.annotation.Nonnull final A * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem post(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -129,8 +153,11 @@ public AccessReviewInstanceDecisionItem post(@jakarta.annotation.Nonnull final A /** * Each user reviewed in an accessReviewStage has a decision item representing if they were approved, denied, or not yet reviewed. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -138,8 +165,11 @@ public RequestInformation toGetRequestInformation() { * Each user reviewed in an accessReviewStage has a decision item representing if they were approved, denied, or not yet reviewed. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -150,8 +180,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to decisions for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body) { return toPostRequestInformation(body, null); } @@ -160,8 +193,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -174,8 +210,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link DecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public DecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new DecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/instance/stages/item/decisions/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/instance/stages/item/decisions/count/CountRequestBuilder.java index d5a4be07bf2..03bcf70f484 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/instance/stages/item/decisions/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/instance/stages/item/decisions/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/instance/stages/item/decisions/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/instance/stages/item/decisions/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java index f6e145d858e..b4ee0249f94 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/instance/stages/item/decisions/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/instance/stages/item/decisions/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java @@ -41,9 +41,12 @@ public FilterByCurrentUserWithOnRequestBuilder(@jakarta.annotation.Nonnull final * Retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. * @return a {@link FilterByCurrentUserWithOnGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public FilterByCurrentUserWithOnGetResponse get() { return get(null); } @@ -52,9 +55,12 @@ public FilterByCurrentUserWithOnGetResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link FilterByCurrentUserWithOnGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public FilterByCurrentUserWithOnGetResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -64,8 +70,11 @@ public FilterByCurrentUserWithOnGetResponse get(@jakarta.annotation.Nullable fin /** * Retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -73,8 +82,11 @@ public RequestInformation toGetRequestInformation() { * Retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -85,8 +97,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link FilterByCurrentUserWithOnRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilterByCurrentUserWithOnRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new FilterByCurrentUserWithOnRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/instance/stages/item/decisions/item/AccessReviewInstanceDecisionItemItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/instance/stages/item/decisions/item/AccessReviewInstanceDecisionItemItemRequestBuilder.java index 717eac1ac2d..0f197326619 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/instance/stages/item/decisions/item/AccessReviewInstanceDecisionItemItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/instance/stages/item/decisions/item/AccessReviewInstanceDecisionItemItemRequestBuilder.java @@ -24,7 +24,10 @@ public class AccessReviewInstanceDecisionItemItemRequestBuilder extends BaseRequ /** * Provides operations to manage the insights property of the microsoft.graph.accessReviewInstanceDecisionItem entity. * @return a {@link InsightsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public InsightsRequestBuilder insights() { return new InsightsRequestBuilder(pathParameters, requestAdapter); @@ -48,7 +51,10 @@ public AccessReviewInstanceDecisionItemItemRequestBuilder(@jakarta.annotation.No /** * Delete navigation property decisions for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -56,7 +62,10 @@ public void delete() { * Delete navigation property decisions for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -67,8 +76,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Each user reviewed in an accessReviewStage has a decision item representing if they were approved, denied, or not yet reviewed. * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem get() { return get(null); } @@ -77,8 +89,11 @@ public AccessReviewInstanceDecisionItem get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -90,8 +105,11 @@ public AccessReviewInstanceDecisionItem get(@jakarta.annotation.Nullable final j * @param body The request body * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem patch(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body) { return patch(body, null); } @@ -101,8 +119,11 @@ public AccessReviewInstanceDecisionItem patch(@jakarta.annotation.Nonnull final * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem patch(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -113,8 +134,11 @@ public AccessReviewInstanceDecisionItem patch(@jakarta.annotation.Nonnull final /** * Delete navigation property decisions for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -122,8 +146,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property decisions for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -133,8 +160,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Each user reviewed in an accessReviewStage has a decision item representing if they were approved, denied, or not yet reviewed. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -142,8 +172,11 @@ public RequestInformation toGetRequestInformation() { * Each user reviewed in an accessReviewStage has a decision item representing if they were approved, denied, or not yet reviewed. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -154,8 +187,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property decisions in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body) { return toPatchRequestInformation(body, null); } @@ -164,8 +200,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -178,8 +217,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessReviewInstanceDecisionItemItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessReviewInstanceDecisionItemItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessReviewInstanceDecisionItemItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/instance/stages/item/decisions/item/insights/InsightsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/instance/stages/item/decisions/item/insights/InsightsRequestBuilder.java index 47830fb9805..0e583cd4591 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/instance/stages/item/decisions/item/insights/InsightsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/instance/stages/item/decisions/item/insights/InsightsRequestBuilder.java @@ -26,7 +26,10 @@ public class InsightsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the insights property of the microsoft.graph.accessReviewInstanceDecisionItem entity. * @param governanceInsightId The unique identifier of governanceInsight * @return a {@link GovernanceInsightItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public GovernanceInsightItemRequestBuilder byGovernanceInsightId(@jakarta.annotation.Nonnull final String governanceInsightId) { Objects.requireNonNull(governanceInsightId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public InsightsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @return a {@link GovernanceInsightCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsightCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public GovernanceInsightCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GovernanceInsightCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsightCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public GovernanceInsightCollectionResponse get(@jakarta.annotation.Nullable fina * @param body The request body * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight post(@jakarta.annotation.Nonnull final GovernanceInsight body) { return post(body, null); } @@ -97,8 +112,11 @@ public GovernanceInsight post(@jakarta.annotation.Nonnull final GovernanceInsigh * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight post(@jakarta.annotation.Nonnull final GovernanceInsight body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public GovernanceInsight post(@jakarta.annotation.Nonnull final GovernanceInsigh /** * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to insights for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GovernanceInsight body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GovernanceInsight body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link InsightsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public InsightsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new InsightsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/instance/stages/item/decisions/item/insights/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/instance/stages/item/decisions/item/insights/count/CountRequestBuilder.java index ed43a481310..ebd2bdf8654 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/instance/stages/item/decisions/item/insights/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/instance/stages/item/decisions/item/insights/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/instance/stages/item/decisions/item/insights/item/GovernanceInsightItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/instance/stages/item/decisions/item/insights/item/GovernanceInsightItemRequestBuilder.java index 99e14cf2f7e..dbaf0083cb0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/instance/stages/item/decisions/item/insights/item/GovernanceInsightItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/instance/stages/item/decisions/item/insights/item/GovernanceInsightItemRequestBuilder.java @@ -39,7 +39,10 @@ public GovernanceInsightItemRequestBuilder(@jakarta.annotation.Nonnull final Str /** * Delete navigation property insights for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -47,7 +50,10 @@ public void delete() { * Delete navigation property insights for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -58,8 +64,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight get() { return get(null); } @@ -68,8 +77,11 @@ public GovernanceInsight get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -81,8 +93,11 @@ public GovernanceInsight get(@jakarta.annotation.Nullable final java.util.functi * @param body The request body * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight patch(@jakarta.annotation.Nonnull final GovernanceInsight body) { return patch(body, null); } @@ -92,8 +107,11 @@ public GovernanceInsight patch(@jakarta.annotation.Nonnull final GovernanceInsig * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight patch(@jakarta.annotation.Nonnull final GovernanceInsight body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -104,8 +122,11 @@ public GovernanceInsight patch(@jakarta.annotation.Nonnull final GovernanceInsig /** * Delete navigation property insights for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -113,8 +134,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property insights for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -133,8 +160,11 @@ public RequestInformation toGetRequestInformation() { * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -145,8 +175,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property insights in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final GovernanceInsight body) { return toPatchRequestInformation(body, null); } @@ -155,8 +188,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final GovernanceInsight body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -169,8 +205,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link GovernanceInsightItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public GovernanceInsightItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new GovernanceInsightItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/instance/stages/item/decisions/recordalldecisions/RecordAllDecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/instance/stages/item/decisions/recordalldecisions/RecordAllDecisionsRequestBuilder.java index 45aa1e7f940..c3df12ec539 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/instance/stages/item/decisions/recordalldecisions/RecordAllDecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/instance/stages/item/decisions/recordalldecisions/RecordAllDecisionsRequestBuilder.java @@ -38,8 +38,11 @@ public RecordAllDecisionsRequestBuilder(@jakarta.annotation.Nonnull final String * As a reviewer of an access review, record a decision for an accessReviewInstanceDecisionItem that is assigned to you and that matches the principal or resource IDs specified. If no IDs are specified, the decisions will apply to every accessReviewInstanceDecisionItem for which you are the reviewer. * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequestBody body) { post(body, null); } @@ -48,8 +51,11 @@ public void post(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequest * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -61,8 +67,11 @@ public void post(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequest * As a reviewer of an access review, record a decision for an accessReviewInstanceDecisionItem that is assigned to you and that matches the principal or resource IDs specified. If no IDs are specified, the decisions will apply to every accessReviewInstanceDecisionItem for which you are the reviewer. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequestBody body) { return toPostRequestInformation(body, null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -85,8 +97,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RecordAllDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RecordAllDecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RecordAllDecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/instance/stages/item/stop/StopRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/instance/stages/item/stop/StopRequestBuilder.java index 28b90faba00..b035aa3c64b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/instance/stages/item/stop/StopRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/instance/stages/item/stop/StopRequestBuilder.java @@ -37,8 +37,11 @@ public StopRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jaka /** * Stop an access review stage that is inProgress. After the access review stage stops, the stage status will be Completed and the reviewers can no longer give input. If there are subsequent stages that depend on the completed stage, the next stage will be created. The accessReviewInstanceDecisionItem objects will always reflect the last decisions recorded across all stages at that given time, regardless of the status of the stages. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * Stop an access review stage that is inProgress. After the access review stage stops, the stage status will be Completed and the reviewers can no longer give input. If there are subsequent stages that depend on the completed stage, the next stage will be created. The accessReviewInstanceDecisionItem objects will always reflect the last decisions recorded across all stages at that given time, regardless of the status of the stages. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Stop an access review stage that is inProgress. After the access review stage stops, the stage status will be Completed and the reviewers can no longer give input. If there are subsequent stages that depend on the completed stage, the next stage will be created. The accessReviewInstanceDecisionItem objects will always reflect the last decisions recorded across all stages at that given time, regardless of the status of the stages. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * Stop an access review stage that is inProgress. After the access review stage stops, the stage status will be Completed and the reviewers can no longer give input. If there are subsequent stages that depend on the completed stage, the next stage will be created. The accessReviewInstanceDecisionItem objects will always reflect the last decisions recorded across all stages at that given time, regardless of the status of the stages. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link StopRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public StopRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new StopRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/instance/stop/StopRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/instance/stop/StopRequestBuilder.java index b792fe7cdb1..87eca545e2b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/instance/stop/StopRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/instance/stop/StopRequestBuilder.java @@ -37,8 +37,11 @@ public StopRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jaka /** * Stop a currently active accessReviewInstance. After the access review instance stops, the instance status will be Completed, the reviewers can no longer give input, and the access review decisions can be applied. Stopping an instance will not effect future instances. To prevent a recurring access review from starting future instances, update the schedule definition to change its scheduled end date. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * Stop a currently active accessReviewInstance. After the access review instance stops, the instance status will be Completed, the reviewers can no longer give input, and the access review decisions can be applied. Stopping an instance will not effect future instances. To prevent a recurring access review from starting future instances, update the schedule definition to change its scheduled end date. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Stop a currently active accessReviewInstance. After the access review instance stops, the instance status will be Completed, the reviewers can no longer give input, and the access review decisions can be applied. Stopping an instance will not effect future instances. To prevent a recurring access review from starting future instances, update the schedule definition to change its scheduled end date. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * Stop a currently active accessReviewInstance. After the access review instance stops, the instance status will be Completed, the reviewers can no longer give input, and the access review decisions can be applied. Stopping an instance will not effect future instances. To prevent a recurring access review from starting future instances, update the schedule definition to change its scheduled end date. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link StopRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public StopRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new StopRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/instance/stopapplydecisions/StopApplyDecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/instance/stopapplydecisions/StopApplyDecisionsRequestBuilder.java index 46adbb9e6f4..9ecef9845d0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/instance/stopapplydecisions/StopApplyDecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/item/instance/stopapplydecisions/StopApplyDecisionsRequestBuilder.java @@ -37,7 +37,10 @@ public StopApplyDecisionsRequestBuilder(@jakarta.annotation.Nonnull final String /** * Invoke action stopApplyDecisions * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void post() { post(null); } @@ -45,7 +48,10 @@ public void post() { * Invoke action stopApplyDecisions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -55,8 +61,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Invoke action stopApplyDecisions * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -64,8 +73,11 @@ public RequestInformation toPostRequestInformation() { * Invoke action stopApplyDecisions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -76,8 +88,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link StopApplyDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public StopApplyDecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new StopApplyDecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/recordalldecisions/RecordAllDecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/recordalldecisions/RecordAllDecisionsRequestBuilder.java index d782792e55d..417140b97da 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/recordalldecisions/RecordAllDecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/decisions/recordalldecisions/RecordAllDecisionsRequestBuilder.java @@ -38,8 +38,11 @@ public RecordAllDecisionsRequestBuilder(@jakarta.annotation.Nonnull final String * As a reviewer of an access review, record a decision for an accessReviewInstanceDecisionItem that is assigned to you and that matches the principal or resource IDs specified. If no IDs are specified, the decisions will apply to every accessReviewInstanceDecisionItem for which you are the reviewer. * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequestBody body) { post(body, null); } @@ -48,8 +51,11 @@ public void post(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequest * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -61,8 +67,11 @@ public void post(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequest * As a reviewer of an access review, record a decision for an accessReviewInstanceDecisionItem that is assigned to you and that matches the principal or resource IDs specified. If no IDs are specified, the decisions will apply to every accessReviewInstanceDecisionItem for which you are the reviewer. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequestBody body) { return toPostRequestInformation(body, null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -85,8 +97,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RecordAllDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RecordAllDecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RecordAllDecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/definition/DefinitionRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/definition/DefinitionRequestBuilder.java index 44a776c619e..99191e15849 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/definition/DefinitionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/definition/DefinitionRequestBuilder.java @@ -40,8 +40,11 @@ public DefinitionRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, * There's exactly one accessReviewScheduleDefinition associated with each instance. It's the parent schedule for the instance, where instances are created for each recurrence of a review definition and each group selected to review by the definition. * @return a {@link AccessReviewScheduleDefinition} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewScheduleDefinition get() { return get(null); } @@ -50,8 +53,11 @@ public AccessReviewScheduleDefinition get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewScheduleDefinition} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewScheduleDefinition get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public AccessReviewScheduleDefinition get(@jakarta.annotation.Nullable final jav /** * There's exactly one accessReviewScheduleDefinition associated with each instance. It's the parent schedule for the instance, where instances are created for each recurrence of a review definition and each group selected to review by the definition. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * There's exactly one accessReviewScheduleDefinition associated with each instance. It's the parent schedule for the instance, where instances are created for each recurrence of a review definition and each group selected to review by the definition. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link DefinitionRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public DefinitionRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new DefinitionRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/resetdecisions/ResetDecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/resetdecisions/ResetDecisionsRequestBuilder.java index 21cd2216136..4dacf7202dc 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/resetdecisions/ResetDecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/resetdecisions/ResetDecisionsRequestBuilder.java @@ -37,8 +37,11 @@ public ResetDecisionsRequestBuilder(@jakarta.annotation.Nonnull final String raw /** * Resets decisions of all accessReviewInstanceDecisionItem objects on an accessReviewInstance to notReviewed. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * Resets decisions of all accessReviewInstanceDecisionItem objects on an accessReviewInstance to notReviewed. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Resets decisions of all accessReviewInstanceDecisionItem objects on an accessReviewInstance to notReviewed. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * Resets decisions of all accessReviewInstanceDecisionItem objects on an accessReviewInstance to notReviewed. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ResetDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ResetDecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ResetDecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/sendreminder/SendReminderRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/sendreminder/SendReminderRequestBuilder.java index 312653d073e..71f338a3aa4 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/sendreminder/SendReminderRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/sendreminder/SendReminderRequestBuilder.java @@ -37,8 +37,11 @@ public SendReminderRequestBuilder(@jakarta.annotation.Nonnull final String rawUr /** * Send a reminder to the reviewers of a currently active accessReviewInstance. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * Send a reminder to the reviewers of a currently active accessReviewInstance. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Send a reminder to the reviewers of a currently active accessReviewInstance. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * Send a reminder to the reviewers of a currently active accessReviewInstance. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link SendReminderRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public SendReminderRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new SendReminderRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/StagesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/StagesRequestBuilder.java index 22c5a291a59..0215a40f5aa 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/StagesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/StagesRequestBuilder.java @@ -27,7 +27,10 @@ public class StagesRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -36,8 +39,11 @@ public CountRequestBuilder count() { * Provides operations to manage the stages property of the microsoft.graph.accessReviewInstance entity. * @param accessReviewStageId The unique identifier of accessReviewStage * @return a {@link AccessReviewStageItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessReviewStageItemRequestBuilder byAccessReviewStageId(@jakarta.annotation.Nonnull final String accessReviewStageId) { Objects.requireNonNull(accessReviewStageId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -64,8 +70,11 @@ public StagesRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ja * Provides operations to call the filterByCurrentUser method. * @param on Usage: on='{on}' * @return a {@link FilterByCurrentUserWithOnRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilterByCurrentUserWithOnRequestBuilder filterByCurrentUserWithOn(@jakarta.annotation.Nonnull final String on) { Objects.requireNonNull(on); return new FilterByCurrentUserWithOnRequestBuilder(pathParameters, requestAdapter, on); @@ -74,8 +83,11 @@ public FilterByCurrentUserWithOnRequestBuilder filterByCurrentUserWithOn(@jakart * If the instance has multiple stages, this returns the collection of stages. A new stage will only be created when the previous stage ends. The existence, number, and settings of stages on a review instance are created based on the accessReviewStageSettings on the parent accessReviewScheduleDefinition. * @return a {@link AccessReviewStageCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewStageCollectionResponse get() { return get(null); } @@ -84,8 +96,11 @@ public AccessReviewStageCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewStageCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewStageCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -97,8 +112,11 @@ public AccessReviewStageCollectionResponse get(@jakarta.annotation.Nullable fina * @param body The request body * @return a {@link AccessReviewStage} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewStage post(@jakarta.annotation.Nonnull final AccessReviewStage body) { return post(body, null); } @@ -108,8 +126,11 @@ public AccessReviewStage post(@jakarta.annotation.Nonnull final AccessReviewStag * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewStage} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewStage post(@jakarta.annotation.Nonnull final AccessReviewStage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -120,8 +141,11 @@ public AccessReviewStage post(@jakarta.annotation.Nonnull final AccessReviewStag /** * If the instance has multiple stages, this returns the collection of stages. A new stage will only be created when the previous stage ends. The existence, number, and settings of stages on a review instance are created based on the accessReviewStageSettings on the parent accessReviewScheduleDefinition. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -129,8 +153,11 @@ public RequestInformation toGetRequestInformation() { * If the instance has multiple stages, this returns the collection of stages. A new stage will only be created when the previous stage ends. The existence, number, and settings of stages on a review instance are created based on the accessReviewStageSettings on the parent accessReviewScheduleDefinition. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -141,8 +168,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to stages for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewStage body) { return toPostRequestInformation(body, null); } @@ -151,8 +181,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewStage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -165,8 +198,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link StagesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public StagesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new StagesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/count/CountRequestBuilder.java index 4c0d38b0592..77d153ada4b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java index 681791d7b2d..ebc398af52a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java @@ -41,9 +41,12 @@ public FilterByCurrentUserWithOnRequestBuilder(@jakarta.annotation.Nonnull final * Return all accessReviewStage objects on a given accessReviewInstance where the calling user is a reviewer on one or more accessReviewInstanceDecisionItem objects. * @return a {@link FilterByCurrentUserWithOnGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public FilterByCurrentUserWithOnGetResponse get() { return get(null); } @@ -52,9 +55,12 @@ public FilterByCurrentUserWithOnGetResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link FilterByCurrentUserWithOnGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public FilterByCurrentUserWithOnGetResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -64,8 +70,11 @@ public FilterByCurrentUserWithOnGetResponse get(@jakarta.annotation.Nullable fin /** * Return all accessReviewStage objects on a given accessReviewInstance where the calling user is a reviewer on one or more accessReviewInstanceDecisionItem objects. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -73,8 +82,11 @@ public RequestInformation toGetRequestInformation() { * Return all accessReviewStage objects on a given accessReviewInstance where the calling user is a reviewer on one or more accessReviewInstanceDecisionItem objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -85,8 +97,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link FilterByCurrentUserWithOnRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilterByCurrentUserWithOnRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new FilterByCurrentUserWithOnRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/AccessReviewStageItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/AccessReviewStageItemRequestBuilder.java index 686f66a9df1..d9ca04b154d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/AccessReviewStageItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/AccessReviewStageItemRequestBuilder.java @@ -27,7 +27,10 @@ public class AccessReviewStageItemRequestBuilder extends BaseRequestBuilder { /** * Provides operations to call the acceptRecommendations method. * @return a {@link AcceptRecommendationsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AcceptRecommendationsRequestBuilder acceptRecommendations() { return new AcceptRecommendationsRequestBuilder(pathParameters, requestAdapter); @@ -35,7 +38,10 @@ public AcceptRecommendationsRequestBuilder acceptRecommendations() { /** * Provides operations to call the batchRecordDecisions method. * @return a {@link BatchRecordDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public BatchRecordDecisionsRequestBuilder batchRecordDecisions() { return new BatchRecordDecisionsRequestBuilder(pathParameters, requestAdapter); @@ -43,7 +49,10 @@ public BatchRecordDecisionsRequestBuilder batchRecordDecisions() { /** * Provides operations to manage the decisions property of the microsoft.graph.accessReviewStage entity. * @return a {@link DecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public DecisionsRequestBuilder decisions() { return new DecisionsRequestBuilder(pathParameters, requestAdapter); @@ -51,7 +60,10 @@ public DecisionsRequestBuilder decisions() { /** * Provides operations to call the stop method. * @return a {@link StopRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public StopRequestBuilder stop() { return new StopRequestBuilder(pathParameters, requestAdapter); @@ -75,7 +87,10 @@ public AccessReviewStageItemRequestBuilder(@jakarta.annotation.Nonnull final Str /** * Delete navigation property stages for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -83,7 +98,10 @@ public void delete() { * Delete navigation property stages for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -94,8 +112,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * If the instance has multiple stages, this returns the collection of stages. A new stage will only be created when the previous stage ends. The existence, number, and settings of stages on a review instance are created based on the accessReviewStageSettings on the parent accessReviewScheduleDefinition. * @return a {@link AccessReviewStage} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewStage get() { return get(null); } @@ -104,8 +125,11 @@ public AccessReviewStage get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewStage} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewStage get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -117,8 +141,11 @@ public AccessReviewStage get(@jakarta.annotation.Nullable final java.util.functi * @param body The request body * @return a {@link AccessReviewStage} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewStage patch(@jakarta.annotation.Nonnull final AccessReviewStage body) { return patch(body, null); } @@ -128,8 +155,11 @@ public AccessReviewStage patch(@jakarta.annotation.Nonnull final AccessReviewSta * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewStage} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewStage patch(@jakarta.annotation.Nonnull final AccessReviewStage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -140,8 +170,11 @@ public AccessReviewStage patch(@jakarta.annotation.Nonnull final AccessReviewSta /** * Delete navigation property stages for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -149,8 +182,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property stages for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -160,8 +196,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * If the instance has multiple stages, this returns the collection of stages. A new stage will only be created when the previous stage ends. The existence, number, and settings of stages on a review instance are created based on the accessReviewStageSettings on the parent accessReviewScheduleDefinition. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -169,8 +208,11 @@ public RequestInformation toGetRequestInformation() { * If the instance has multiple stages, this returns the collection of stages. A new stage will only be created when the previous stage ends. The existence, number, and settings of stages on a review instance are created based on the accessReviewStageSettings on the parent accessReviewScheduleDefinition. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -181,8 +223,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property stages in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewStage body) { return toPatchRequestInformation(body, null); } @@ -191,8 +236,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewStage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -205,8 +253,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessReviewStageItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessReviewStageItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessReviewStageItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/acceptrecommendations/AcceptRecommendationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/acceptrecommendations/AcceptRecommendationsRequestBuilder.java index 0d3d5b30085..d69b3e14ff2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/acceptrecommendations/AcceptRecommendationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/acceptrecommendations/AcceptRecommendationsRequestBuilder.java @@ -37,8 +37,11 @@ public AcceptRecommendationsRequestBuilder(@jakarta.annotation.Nonnull final Str /** * Accept the recommendations on all accessReviewInstanceDecisionItem objects that haven't been reviewed within a single accessReviewStage of a multi-stage accessReviewInstance. Recommendations are generated if recommendationsEnabled is true on the accessReviewScheduleDefinition object. If there's no recommendation on an accessReviewInstanceDecisionItem object, no decision is recorded. This action accepts recommendations for the decisions in a specific stage only, unlike accessReviewInstance: acceptRecommendations, which operates across the entire instance. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * Accept the recommendations on all accessReviewInstanceDecisionItem objects that haven't been reviewed within a single accessReviewStage of a multi-stage accessReviewInstance. Recommendations are generated if recommendationsEnabled is true on the accessReviewScheduleDefinition object. If there's no recommendation on an accessReviewInstanceDecisionItem object, no decision is recorded. This action accepts recommendations for the decisions in a specific stage only, unlike accessReviewInstance: acceptRecommendations, which operates across the entire instance. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Accept the recommendations on all accessReviewInstanceDecisionItem objects that haven't been reviewed within a single accessReviewStage of a multi-stage accessReviewInstance. Recommendations are generated if recommendationsEnabled is true on the accessReviewScheduleDefinition object. If there's no recommendation on an accessReviewInstanceDecisionItem object, no decision is recorded. This action accepts recommendations for the decisions in a specific stage only, unlike accessReviewInstance: acceptRecommendations, which operates across the entire instance. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * Accept the recommendations on all accessReviewInstanceDecisionItem objects that haven't been reviewed within a single accessReviewStage of a multi-stage accessReviewInstance. Recommendations are generated if recommendationsEnabled is true on the accessReviewScheduleDefinition object. If there's no recommendation on an accessReviewInstanceDecisionItem object, no decision is recorded. This action accepts recommendations for the decisions in a specific stage only, unlike accessReviewInstance: acceptRecommendations, which operates across the entire instance. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AcceptRecommendationsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AcceptRecommendationsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AcceptRecommendationsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/batchrecorddecisions/BatchRecordDecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/batchrecorddecisions/BatchRecordDecisionsRequestBuilder.java index 49114e87f2c..69332a00bbf 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/batchrecorddecisions/BatchRecordDecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/batchrecorddecisions/BatchRecordDecisionsRequestBuilder.java @@ -38,8 +38,11 @@ public BatchRecordDecisionsRequestBuilder(@jakarta.annotation.Nonnull final Stri * Record decisions in bulk for all accessReviewInstanceDecisionItem objects within a single accessReviewStage of a multi-stage accessReviewInstance, by using principalId, resourceId, or neither. This action records decisions for a specific stage only, unlike accessReviewInstance: batchRecordDecisions, which operates across the entire instance. * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostRequestBody body) { post(body, null); } @@ -48,8 +51,11 @@ public void post(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostReque * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -61,8 +67,11 @@ public void post(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostReque * Record decisions in bulk for all accessReviewInstanceDecisionItem objects within a single accessReviewStage of a multi-stage accessReviewInstance, by using principalId, resourceId, or neither. This action records decisions for a specific stage only, unlike accessReviewInstance: batchRecordDecisions, which operates across the entire instance. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostRequestBody body) { return toPostRequestInformation(body, null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -85,8 +97,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link BatchRecordDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public BatchRecordDecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new BatchRecordDecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/decisions/DecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/decisions/DecisionsRequestBuilder.java index 75c5c42bc43..49f11f83343 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/decisions/DecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/decisions/DecisionsRequestBuilder.java @@ -28,7 +28,10 @@ public class DecisionsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -36,7 +39,10 @@ public CountRequestBuilder count() { /** * Provides operations to call the recordAllDecisions method. * @return a {@link RecordAllDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public RecordAllDecisionsRequestBuilder recordAllDecisions() { return new RecordAllDecisionsRequestBuilder(pathParameters, requestAdapter); @@ -45,8 +51,11 @@ public RecordAllDecisionsRequestBuilder recordAllDecisions() { * Provides operations to manage the decisions property of the microsoft.graph.accessReviewStage entity. * @param accessReviewInstanceDecisionItemId The unique identifier of accessReviewInstanceDecisionItem * @return a {@link AccessReviewInstanceDecisionItemItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessReviewInstanceDecisionItemItemRequestBuilder byAccessReviewInstanceDecisionItemId(@jakarta.annotation.Nonnull final String accessReviewInstanceDecisionItemId) { Objects.requireNonNull(accessReviewInstanceDecisionItemId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -73,8 +82,11 @@ public DecisionsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, * Provides operations to call the filterByCurrentUser method. * @param on Usage: on='{on}' * @return a {@link FilterByCurrentUserWithOnRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilterByCurrentUserWithOnRequestBuilder filterByCurrentUserWithOn(@jakarta.annotation.Nonnull final String on) { Objects.requireNonNull(on); return new FilterByCurrentUserWithOnRequestBuilder(pathParameters, requestAdapter, on); @@ -83,8 +95,11 @@ public FilterByCurrentUserWithOnRequestBuilder filterByCurrentUserWithOn(@jakart * Each user reviewed in an accessReviewStage has a decision item representing if they were approved, denied, or not yet reviewed. * @return a {@link AccessReviewInstanceDecisionItemCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItemCollectionResponse get() { return get(null); } @@ -93,8 +108,11 @@ public AccessReviewInstanceDecisionItemCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstanceDecisionItemCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItemCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -106,8 +124,11 @@ public AccessReviewInstanceDecisionItemCollectionResponse get(@jakarta.annotatio * @param body The request body * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem post(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body) { return post(body, null); } @@ -117,8 +138,11 @@ public AccessReviewInstanceDecisionItem post(@jakarta.annotation.Nonnull final A * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem post(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -129,8 +153,11 @@ public AccessReviewInstanceDecisionItem post(@jakarta.annotation.Nonnull final A /** * Each user reviewed in an accessReviewStage has a decision item representing if they were approved, denied, or not yet reviewed. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -138,8 +165,11 @@ public RequestInformation toGetRequestInformation() { * Each user reviewed in an accessReviewStage has a decision item representing if they were approved, denied, or not yet reviewed. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -150,8 +180,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to decisions for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body) { return toPostRequestInformation(body, null); } @@ -160,8 +193,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -174,8 +210,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link DecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public DecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new DecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/decisions/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/decisions/count/CountRequestBuilder.java index d41982b1819..a08cd6aa452 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/decisions/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/decisions/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/decisions/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/decisions/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java index e4c1baf3bbc..824a0451912 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/decisions/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/decisions/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java @@ -41,9 +41,12 @@ public FilterByCurrentUserWithOnRequestBuilder(@jakarta.annotation.Nonnull final * Retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. * @return a {@link FilterByCurrentUserWithOnGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public FilterByCurrentUserWithOnGetResponse get() { return get(null); } @@ -52,9 +55,12 @@ public FilterByCurrentUserWithOnGetResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link FilterByCurrentUserWithOnGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public FilterByCurrentUserWithOnGetResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -64,8 +70,11 @@ public FilterByCurrentUserWithOnGetResponse get(@jakarta.annotation.Nullable fin /** * Retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -73,8 +82,11 @@ public RequestInformation toGetRequestInformation() { * Retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -85,8 +97,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link FilterByCurrentUserWithOnRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilterByCurrentUserWithOnRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new FilterByCurrentUserWithOnRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/decisions/item/AccessReviewInstanceDecisionItemItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/decisions/item/AccessReviewInstanceDecisionItemItemRequestBuilder.java index 706ad98d430..38a301d2da7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/decisions/item/AccessReviewInstanceDecisionItemItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/decisions/item/AccessReviewInstanceDecisionItemItemRequestBuilder.java @@ -25,7 +25,10 @@ public class AccessReviewInstanceDecisionItemItemRequestBuilder extends BaseRequ /** * Provides operations to manage the insights property of the microsoft.graph.accessReviewInstanceDecisionItem entity. * @return a {@link InsightsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public InsightsRequestBuilder insights() { return new InsightsRequestBuilder(pathParameters, requestAdapter); @@ -33,7 +36,10 @@ public InsightsRequestBuilder insights() { /** * Provides operations to manage the instance property of the microsoft.graph.accessReviewInstanceDecisionItem entity. * @return a {@link InstanceRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public InstanceRequestBuilder instance() { return new InstanceRequestBuilder(pathParameters, requestAdapter); @@ -57,7 +63,10 @@ public AccessReviewInstanceDecisionItemItemRequestBuilder(@jakarta.annotation.No /** * Delete navigation property decisions for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -65,7 +74,10 @@ public void delete() { * Delete navigation property decisions for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -76,8 +88,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Each user reviewed in an accessReviewStage has a decision item representing if they were approved, denied, or not yet reviewed. * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem get() { return get(null); } @@ -86,8 +101,11 @@ public AccessReviewInstanceDecisionItem get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -99,8 +117,11 @@ public AccessReviewInstanceDecisionItem get(@jakarta.annotation.Nullable final j * @param body The request body * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem patch(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body) { return patch(body, null); } @@ -110,8 +131,11 @@ public AccessReviewInstanceDecisionItem patch(@jakarta.annotation.Nonnull final * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem patch(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -122,8 +146,11 @@ public AccessReviewInstanceDecisionItem patch(@jakarta.annotation.Nonnull final /** * Delete navigation property decisions for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -131,8 +158,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property decisions for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -142,8 +172,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Each user reviewed in an accessReviewStage has a decision item representing if they were approved, denied, or not yet reviewed. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -151,8 +184,11 @@ public RequestInformation toGetRequestInformation() { * Each user reviewed in an accessReviewStage has a decision item representing if they were approved, denied, or not yet reviewed. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -163,8 +199,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property decisions in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body) { return toPatchRequestInformation(body, null); } @@ -173,8 +212,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -187,8 +229,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessReviewInstanceDecisionItemItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessReviewInstanceDecisionItemItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessReviewInstanceDecisionItemItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/decisions/item/insights/InsightsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/decisions/item/insights/InsightsRequestBuilder.java index e386d763853..dadbfc44077 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/decisions/item/insights/InsightsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/decisions/item/insights/InsightsRequestBuilder.java @@ -26,7 +26,10 @@ public class InsightsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the insights property of the microsoft.graph.accessReviewInstanceDecisionItem entity. * @param governanceInsightId The unique identifier of governanceInsight * @return a {@link GovernanceInsightItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public GovernanceInsightItemRequestBuilder byGovernanceInsightId(@jakarta.annotation.Nonnull final String governanceInsightId) { Objects.requireNonNull(governanceInsightId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public InsightsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @return a {@link GovernanceInsightCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsightCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public GovernanceInsightCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GovernanceInsightCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsightCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public GovernanceInsightCollectionResponse get(@jakarta.annotation.Nullable fina * @param body The request body * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight post(@jakarta.annotation.Nonnull final GovernanceInsight body) { return post(body, null); } @@ -97,8 +112,11 @@ public GovernanceInsight post(@jakarta.annotation.Nonnull final GovernanceInsigh * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight post(@jakarta.annotation.Nonnull final GovernanceInsight body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public GovernanceInsight post(@jakarta.annotation.Nonnull final GovernanceInsigh /** * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to insights for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GovernanceInsight body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GovernanceInsight body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link InsightsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public InsightsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new InsightsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/decisions/item/insights/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/decisions/item/insights/count/CountRequestBuilder.java index 0434bd63b70..0cda1312961 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/decisions/item/insights/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/decisions/item/insights/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/decisions/item/insights/item/GovernanceInsightItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/decisions/item/insights/item/GovernanceInsightItemRequestBuilder.java index 550207dbc7e..33fb4b4a2be 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/decisions/item/insights/item/GovernanceInsightItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/decisions/item/insights/item/GovernanceInsightItemRequestBuilder.java @@ -39,7 +39,10 @@ public GovernanceInsightItemRequestBuilder(@jakarta.annotation.Nonnull final Str /** * Delete navigation property insights for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -47,7 +50,10 @@ public void delete() { * Delete navigation property insights for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -58,8 +64,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight get() { return get(null); } @@ -68,8 +77,11 @@ public GovernanceInsight get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -81,8 +93,11 @@ public GovernanceInsight get(@jakarta.annotation.Nullable final java.util.functi * @param body The request body * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight patch(@jakarta.annotation.Nonnull final GovernanceInsight body) { return patch(body, null); } @@ -92,8 +107,11 @@ public GovernanceInsight patch(@jakarta.annotation.Nonnull final GovernanceInsig * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight patch(@jakarta.annotation.Nonnull final GovernanceInsight body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -104,8 +122,11 @@ public GovernanceInsight patch(@jakarta.annotation.Nonnull final GovernanceInsig /** * Delete navigation property insights for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -113,8 +134,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property insights for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -133,8 +160,11 @@ public RequestInformation toGetRequestInformation() { * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -145,8 +175,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property insights in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final GovernanceInsight body) { return toPatchRequestInformation(body, null); } @@ -155,8 +188,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final GovernanceInsight body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -169,8 +205,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link GovernanceInsightItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public GovernanceInsightItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new GovernanceInsightItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/decisions/item/instance/InstanceRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/decisions/item/instance/InstanceRequestBuilder.java index 77ee8771063..5149a506504 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/decisions/item/instance/InstanceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/decisions/item/instance/InstanceRequestBuilder.java @@ -34,7 +34,10 @@ public class InstanceRequestBuilder extends BaseRequestBuilder { /** * Provides operations to call the acceptRecommendations method. * @return a {@link AcceptRecommendationsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AcceptRecommendationsRequestBuilder acceptRecommendations() { return new AcceptRecommendationsRequestBuilder(pathParameters, requestAdapter); @@ -42,7 +45,10 @@ public AcceptRecommendationsRequestBuilder acceptRecommendations() { /** * Provides operations to call the applyDecisions method. * @return a {@link ApplyDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ApplyDecisionsRequestBuilder applyDecisions() { return new ApplyDecisionsRequestBuilder(pathParameters, requestAdapter); @@ -50,7 +56,10 @@ public ApplyDecisionsRequestBuilder applyDecisions() { /** * Provides operations to call the batchApplyCustomDataProvidedResourceDecisions method. * @return a {@link BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder batchApplyCustomDataProvidedResourceDecisions() { return new BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder(pathParameters, requestAdapter); @@ -58,7 +67,10 @@ public BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder batchApplyCus /** * Provides operations to call the batchRecordDecisions method. * @return a {@link BatchRecordDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public BatchRecordDecisionsRequestBuilder batchRecordDecisions() { return new BatchRecordDecisionsRequestBuilder(pathParameters, requestAdapter); @@ -66,7 +78,10 @@ public BatchRecordDecisionsRequestBuilder batchRecordDecisions() { /** * Provides operations to manage the contactedReviewers property of the microsoft.graph.accessReviewInstance entity. * @return a {@link ContactedReviewersRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ContactedReviewersRequestBuilder contactedReviewers() { return new ContactedReviewersRequestBuilder(pathParameters, requestAdapter); @@ -74,7 +89,10 @@ public ContactedReviewersRequestBuilder contactedReviewers() { /** * Provides operations to manage the decisions property of the microsoft.graph.accessReviewInstance entity. * @return a {@link DecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public DecisionsRequestBuilder decisions() { return new DecisionsRequestBuilder(pathParameters, requestAdapter); @@ -82,7 +100,10 @@ public DecisionsRequestBuilder decisions() { /** * Provides operations to manage the definition property of the microsoft.graph.accessReviewInstance entity. * @return a {@link DefinitionRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public DefinitionRequestBuilder definition() { return new DefinitionRequestBuilder(pathParameters, requestAdapter); @@ -90,7 +111,10 @@ public DefinitionRequestBuilder definition() { /** * Provides operations to call the resetDecisions method. * @return a {@link ResetDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ResetDecisionsRequestBuilder resetDecisions() { return new ResetDecisionsRequestBuilder(pathParameters, requestAdapter); @@ -98,7 +122,10 @@ public ResetDecisionsRequestBuilder resetDecisions() { /** * Provides operations to call the sendReminder method. * @return a {@link SendReminderRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public SendReminderRequestBuilder sendReminder() { return new SendReminderRequestBuilder(pathParameters, requestAdapter); @@ -106,7 +133,10 @@ public SendReminderRequestBuilder sendReminder() { /** * Provides operations to call the stop method. * @return a {@link StopRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public StopRequestBuilder stop() { return new StopRequestBuilder(pathParameters, requestAdapter); @@ -114,7 +144,10 @@ public StopRequestBuilder stop() { /** * Provides operations to call the stopApplyDecisions method. * @return a {@link StopApplyDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public StopApplyDecisionsRequestBuilder stopApplyDecisions() { return new StopApplyDecisionsRequestBuilder(pathParameters, requestAdapter); @@ -138,7 +171,10 @@ public InstanceRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ /** * Delete navigation property instance for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -146,7 +182,10 @@ public void delete() { * Delete navigation property instance for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -157,8 +196,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * There's exactly one accessReviewInstance associated with each decision. The instance is the parent of the decision item, representing the recurrence of the access review the decision is made on. * @return a {@link AccessReviewInstance} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstance get() { return get(null); } @@ -167,8 +209,11 @@ public AccessReviewInstance get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstance} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstance get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -180,8 +225,11 @@ public AccessReviewInstance get(@jakarta.annotation.Nullable final java.util.fun * @param body The request body * @return a {@link AccessReviewInstance} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstance patch(@jakarta.annotation.Nonnull final AccessReviewInstance body) { return patch(body, null); } @@ -191,8 +239,11 @@ public AccessReviewInstance patch(@jakarta.annotation.Nonnull final AccessReview * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstance} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstance patch(@jakarta.annotation.Nonnull final AccessReviewInstance body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -203,8 +254,11 @@ public AccessReviewInstance patch(@jakarta.annotation.Nonnull final AccessReview /** * Delete navigation property instance for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -212,8 +266,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property instance for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -223,8 +280,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * There's exactly one accessReviewInstance associated with each decision. The instance is the parent of the decision item, representing the recurrence of the access review the decision is made on. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -232,8 +292,11 @@ public RequestInformation toGetRequestInformation() { * There's exactly one accessReviewInstance associated with each decision. The instance is the parent of the decision item, representing the recurrence of the access review the decision is made on. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -244,8 +307,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property instance in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstance body) { return toPatchRequestInformation(body, null); } @@ -254,8 +320,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstance body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -268,8 +337,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link InstanceRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public InstanceRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new InstanceRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/decisions/item/instance/acceptrecommendations/AcceptRecommendationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/decisions/item/instance/acceptrecommendations/AcceptRecommendationsRequestBuilder.java index 5837cc2822b..80d3ef9b382 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/decisions/item/instance/acceptrecommendations/AcceptRecommendationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/decisions/item/instance/acceptrecommendations/AcceptRecommendationsRequestBuilder.java @@ -37,8 +37,11 @@ public AcceptRecommendationsRequestBuilder(@jakarta.annotation.Nonnull final Str /** * Allows the acceptance of recommendations on all accessReviewInstanceDecisionItem objects that haven't been reviewed for an accessReviewInstance object for which the calling user is a reviewer. Recommendations are generated if recommendationsEnabled is true on the accessReviewScheduleDefinition object. If there isn't a recommendation on an accessReviewInstanceDecisionItem object no decision will be recorded. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * Allows the acceptance of recommendations on all accessReviewInstanceDecisionItem objects that haven't been reviewed for an accessReviewInstance object for which the calling user is a reviewer. Recommendations are generated if recommendationsEnabled is true on the accessReviewScheduleDefinition object. If there isn't a recommendation on an accessReviewInstanceDecisionItem object no decision will be recorded. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Allows the acceptance of recommendations on all accessReviewInstanceDecisionItem objects that haven't been reviewed for an accessReviewInstance object for which the calling user is a reviewer. Recommendations are generated if recommendationsEnabled is true on the accessReviewScheduleDefinition object. If there isn't a recommendation on an accessReviewInstanceDecisionItem object no decision will be recorded. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * Allows the acceptance of recommendations on all accessReviewInstanceDecisionItem objects that haven't been reviewed for an accessReviewInstance object for which the calling user is a reviewer. Recommendations are generated if recommendationsEnabled is true on the accessReviewScheduleDefinition object. If there isn't a recommendation on an accessReviewInstanceDecisionItem object no decision will be recorded. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AcceptRecommendationsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AcceptRecommendationsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AcceptRecommendationsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/decisions/item/instance/applydecisions/ApplyDecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/decisions/item/instance/applydecisions/ApplyDecisionsRequestBuilder.java index e1b5aa12fa0..3cf1bdd2465 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/decisions/item/instance/applydecisions/ApplyDecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/decisions/item/instance/applydecisions/ApplyDecisionsRequestBuilder.java @@ -37,8 +37,11 @@ public ApplyDecisionsRequestBuilder(@jakarta.annotation.Nonnull final String raw /** * Apply review decisions on an accessReviewInstance if the decisions were not applied automatically because the autoApplyDecisionsEnabled property is false in the review's accessReviewScheduleSettings. The status of the accessReviewInstance must be Completed to call this method. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * Apply review decisions on an accessReviewInstance if the decisions were not applied automatically because the autoApplyDecisionsEnabled property is false in the review's accessReviewScheduleSettings. The status of the accessReviewInstance must be Completed to call this method. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Apply review decisions on an accessReviewInstance if the decisions were not applied automatically because the autoApplyDecisionsEnabled property is false in the review's accessReviewScheduleSettings. The status of the accessReviewInstance must be Completed to call this method. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * Apply review decisions on an accessReviewInstance if the decisions were not applied automatically because the autoApplyDecisionsEnabled property is false in the review's accessReviewScheduleSettings. The status of the accessReviewInstance must be Completed to call this method. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ApplyDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ApplyDecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ApplyDecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/decisions/item/instance/batchapplycustomdataprovidedresourcedecisions/BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/decisions/item/instance/batchapplycustomdataprovidedresourcedecisions/BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder.java index c3bb2fe33f4..e3480e9b7ce 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/decisions/item/instance/batchapplycustomdataprovidedresourcedecisions/BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/decisions/item/instance/batchapplycustomdataprovidedresourcedecisions/BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder.java @@ -38,8 +38,11 @@ public BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder(@jakarta.anno * Enables reviewers to set the applyResult and applyDescription on all accessReviewInstanceDecisionItem objects in a specific accessReviewInstance in batches by using customDataProvidedResourceId. NOTE: The access review instance must be in an Applying state. * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final BatchApplyCustomDataProvidedResourceDecisionsPostRequestBody body) { post(body, null); } @@ -48,8 +51,11 @@ public void post(@jakarta.annotation.Nonnull final BatchApplyCustomDataProvidedR * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final BatchApplyCustomDataProvidedResourceDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -61,8 +67,11 @@ public void post(@jakarta.annotation.Nonnull final BatchApplyCustomDataProvidedR * Enables reviewers to set the applyResult and applyDescription on all accessReviewInstanceDecisionItem objects in a specific accessReviewInstance in batches by using customDataProvidedResourceId. NOTE: The access review instance must be in an Applying state. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BatchApplyCustomDataProvidedResourceDecisionsPostRequestBody body) { return toPostRequestInformation(body, null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BatchApplyCustomDataProvidedResourceDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -85,8 +97,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/decisions/item/instance/batchrecorddecisions/BatchRecordDecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/decisions/item/instance/batchrecorddecisions/BatchRecordDecisionsRequestBuilder.java index 584740b32b5..2bb334eeab3 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/decisions/item/instance/batchrecorddecisions/BatchRecordDecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/decisions/item/instance/batchrecorddecisions/BatchRecordDecisionsRequestBuilder.java @@ -38,8 +38,11 @@ public BatchRecordDecisionsRequestBuilder(@jakarta.annotation.Nonnull final Stri * Enables reviewers to review all accessReviewInstanceDecisionItem objects in a specific pending accessReviewInstance in batches by using principalId, resourceId, or neither. * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostRequestBody body) { post(body, null); } @@ -48,8 +51,11 @@ public void post(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostReque * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -61,8 +67,11 @@ public void post(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostReque * Enables reviewers to review all accessReviewInstanceDecisionItem objects in a specific pending accessReviewInstance in batches by using principalId, resourceId, or neither. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostRequestBody body) { return toPostRequestInformation(body, null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -85,8 +97,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link BatchRecordDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public BatchRecordDecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new BatchRecordDecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/decisions/item/instance/contactedreviewers/ContactedReviewersRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/decisions/item/instance/contactedreviewers/ContactedReviewersRequestBuilder.java index 42730e22390..8b4a277125e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/decisions/item/instance/contactedreviewers/ContactedReviewersRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/decisions/item/instance/contactedreviewers/ContactedReviewersRequestBuilder.java @@ -26,7 +26,10 @@ public class ContactedReviewersRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the contactedReviewers property of the microsoft.graph.accessReviewInstance entity. * @param accessReviewReviewerId The unique identifier of accessReviewReviewer * @return a {@link AccessReviewReviewerItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessReviewReviewerItemRequestBuilder byAccessReviewReviewerId(@jakarta.annotation.Nonnull final String accessReviewReviewerId) { Objects.requireNonNull(accessReviewReviewerId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public ContactedReviewersRequestBuilder(@jakarta.annotation.Nonnull final String * Returns the collection of reviewers who were contacted to complete this review. While the reviewers and fallbackReviewers properties of the accessReviewScheduleDefinition might specify group owners or managers as reviewers, contactedReviewers returns their individual identities. Supports $select. Read-only. * @return a {@link AccessReviewReviewerCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewReviewerCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public AccessReviewReviewerCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewReviewerCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewReviewerCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public AccessReviewReviewerCollectionResponse get(@jakarta.annotation.Nullable f * @param body The request body * @return a {@link AccessReviewReviewer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewReviewer post(@jakarta.annotation.Nonnull final AccessReviewReviewer body) { return post(body, null); } @@ -97,8 +112,11 @@ public AccessReviewReviewer post(@jakarta.annotation.Nonnull final AccessReviewR * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewReviewer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewReviewer post(@jakarta.annotation.Nonnull final AccessReviewReviewer body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public AccessReviewReviewer post(@jakarta.annotation.Nonnull final AccessReviewR /** * Returns the collection of reviewers who were contacted to complete this review. While the reviewers and fallbackReviewers properties of the accessReviewScheduleDefinition might specify group owners or managers as reviewers, contactedReviewers returns their individual identities. Supports $select. Read-only. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Returns the collection of reviewers who were contacted to complete this review. While the reviewers and fallbackReviewers properties of the accessReviewScheduleDefinition might specify group owners or managers as reviewers, contactedReviewers returns their individual identities. Supports $select. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to contactedReviewers for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewReviewer body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewReviewer body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ContactedReviewersRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ContactedReviewersRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ContactedReviewersRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/decisions/item/instance/contactedreviewers/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/decisions/item/instance/contactedreviewers/count/CountRequestBuilder.java index e6b78b15525..90234c35307 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/decisions/item/instance/contactedreviewers/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/decisions/item/instance/contactedreviewers/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/decisions/item/instance/contactedreviewers/item/AccessReviewReviewerItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/decisions/item/instance/contactedreviewers/item/AccessReviewReviewerItemRequestBuilder.java index 867e66889b4..429f9768539 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/decisions/item/instance/contactedreviewers/item/AccessReviewReviewerItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/decisions/item/instance/contactedreviewers/item/AccessReviewReviewerItemRequestBuilder.java @@ -39,7 +39,10 @@ public AccessReviewReviewerItemRequestBuilder(@jakarta.annotation.Nonnull final /** * Delete navigation property contactedReviewers for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -47,7 +50,10 @@ public void delete() { * Delete navigation property contactedReviewers for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -58,8 +64,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Returns the collection of reviewers who were contacted to complete this review. While the reviewers and fallbackReviewers properties of the accessReviewScheduleDefinition might specify group owners or managers as reviewers, contactedReviewers returns their individual identities. Supports $select. Read-only. * @return a {@link AccessReviewReviewer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewReviewer get() { return get(null); } @@ -68,8 +77,11 @@ public AccessReviewReviewer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewReviewer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewReviewer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -81,8 +93,11 @@ public AccessReviewReviewer get(@jakarta.annotation.Nullable final java.util.fun * @param body The request body * @return a {@link AccessReviewReviewer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewReviewer patch(@jakarta.annotation.Nonnull final AccessReviewReviewer body) { return patch(body, null); } @@ -92,8 +107,11 @@ public AccessReviewReviewer patch(@jakarta.annotation.Nonnull final AccessReview * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewReviewer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewReviewer patch(@jakarta.annotation.Nonnull final AccessReviewReviewer body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -104,8 +122,11 @@ public AccessReviewReviewer patch(@jakarta.annotation.Nonnull final AccessReview /** * Delete navigation property contactedReviewers for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -113,8 +134,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property contactedReviewers for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Returns the collection of reviewers who were contacted to complete this review. While the reviewers and fallbackReviewers properties of the accessReviewScheduleDefinition might specify group owners or managers as reviewers, contactedReviewers returns their individual identities. Supports $select. Read-only. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -133,8 +160,11 @@ public RequestInformation toGetRequestInformation() { * Returns the collection of reviewers who were contacted to complete this review. While the reviewers and fallbackReviewers properties of the accessReviewScheduleDefinition might specify group owners or managers as reviewers, contactedReviewers returns their individual identities. Supports $select. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -145,8 +175,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property contactedReviewers in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewReviewer body) { return toPatchRequestInformation(body, null); } @@ -155,8 +188,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewReviewer body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -169,8 +205,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessReviewReviewerItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessReviewReviewerItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessReviewReviewerItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/decisions/item/instance/decisions/DecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/decisions/item/instance/decisions/DecisionsRequestBuilder.java index 670f6abd0ad..caf51884b46 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/decisions/item/instance/decisions/DecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/decisions/item/instance/decisions/DecisionsRequestBuilder.java @@ -28,7 +28,10 @@ public class DecisionsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -36,7 +39,10 @@ public CountRequestBuilder count() { /** * Provides operations to call the recordAllDecisions method. * @return a {@link RecordAllDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public RecordAllDecisionsRequestBuilder recordAllDecisions() { return new RecordAllDecisionsRequestBuilder(pathParameters, requestAdapter); @@ -45,8 +51,11 @@ public RecordAllDecisionsRequestBuilder recordAllDecisions() { * Provides operations to manage the decisions property of the microsoft.graph.accessReviewInstance entity. * @param accessReviewInstanceDecisionItemId1 The unique identifier of accessReviewInstanceDecisionItem * @return a {@link AccessReviewInstanceDecisionItemItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessReviewInstanceDecisionItemItemRequestBuilder byAccessReviewInstanceDecisionItemId1(@jakarta.annotation.Nonnull final String accessReviewInstanceDecisionItemId1) { Objects.requireNonNull(accessReviewInstanceDecisionItemId1); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -73,8 +82,11 @@ public DecisionsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, * Provides operations to call the filterByCurrentUser method. * @param on Usage: on='{on}' * @return a {@link FilterByCurrentUserWithOnRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilterByCurrentUserWithOnRequestBuilder filterByCurrentUserWithOn(@jakarta.annotation.Nonnull final String on) { Objects.requireNonNull(on); return new FilterByCurrentUserWithOnRequestBuilder(pathParameters, requestAdapter, on); @@ -83,8 +95,11 @@ public FilterByCurrentUserWithOnRequestBuilder filterByCurrentUserWithOn(@jakart * Each user reviewed in an accessReviewInstance has a decision item representing if they were approved, denied, or not yet reviewed. * @return a {@link AccessReviewInstanceDecisionItemCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItemCollectionResponse get() { return get(null); } @@ -93,8 +108,11 @@ public AccessReviewInstanceDecisionItemCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstanceDecisionItemCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItemCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -106,8 +124,11 @@ public AccessReviewInstanceDecisionItemCollectionResponse get(@jakarta.annotatio * @param body The request body * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem post(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body) { return post(body, null); } @@ -117,8 +138,11 @@ public AccessReviewInstanceDecisionItem post(@jakarta.annotation.Nonnull final A * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem post(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -129,8 +153,11 @@ public AccessReviewInstanceDecisionItem post(@jakarta.annotation.Nonnull final A /** * Each user reviewed in an accessReviewInstance has a decision item representing if they were approved, denied, or not yet reviewed. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -138,8 +165,11 @@ public RequestInformation toGetRequestInformation() { * Each user reviewed in an accessReviewInstance has a decision item representing if they were approved, denied, or not yet reviewed. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -150,8 +180,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to decisions for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body) { return toPostRequestInformation(body, null); } @@ -160,8 +193,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -174,8 +210,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link DecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public DecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new DecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/decisions/item/instance/decisions/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/decisions/item/instance/decisions/count/CountRequestBuilder.java index 20b10151d03..5b49e8707b5 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/decisions/item/instance/decisions/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/decisions/item/instance/decisions/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/decisions/item/instance/decisions/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/decisions/item/instance/decisions/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java index 202ec57c118..6b91f098384 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/decisions/item/instance/decisions/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/decisions/item/instance/decisions/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java @@ -41,9 +41,12 @@ public FilterByCurrentUserWithOnRequestBuilder(@jakarta.annotation.Nonnull final * Retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. * @return a {@link FilterByCurrentUserWithOnGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public FilterByCurrentUserWithOnGetResponse get() { return get(null); } @@ -52,9 +55,12 @@ public FilterByCurrentUserWithOnGetResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link FilterByCurrentUserWithOnGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public FilterByCurrentUserWithOnGetResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -64,8 +70,11 @@ public FilterByCurrentUserWithOnGetResponse get(@jakarta.annotation.Nullable fin /** * Retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -73,8 +82,11 @@ public RequestInformation toGetRequestInformation() { * Retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -85,8 +97,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link FilterByCurrentUserWithOnRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilterByCurrentUserWithOnRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new FilterByCurrentUserWithOnRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/decisions/item/instance/decisions/item/AccessReviewInstanceDecisionItemItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/decisions/item/instance/decisions/item/AccessReviewInstanceDecisionItemItemRequestBuilder.java index ae0ce6c9b70..c01c561cd24 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/decisions/item/instance/decisions/item/AccessReviewInstanceDecisionItemItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/decisions/item/instance/decisions/item/AccessReviewInstanceDecisionItemItemRequestBuilder.java @@ -24,7 +24,10 @@ public class AccessReviewInstanceDecisionItemItemRequestBuilder extends BaseRequ /** * Provides operations to manage the insights property of the microsoft.graph.accessReviewInstanceDecisionItem entity. * @return a {@link InsightsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public InsightsRequestBuilder insights() { return new InsightsRequestBuilder(pathParameters, requestAdapter); @@ -48,7 +51,10 @@ public AccessReviewInstanceDecisionItemItemRequestBuilder(@jakarta.annotation.No /** * Delete navigation property decisions for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -56,7 +62,10 @@ public void delete() { * Delete navigation property decisions for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -67,8 +76,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Each user reviewed in an accessReviewInstance has a decision item representing if they were approved, denied, or not yet reviewed. * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem get() { return get(null); } @@ -77,8 +89,11 @@ public AccessReviewInstanceDecisionItem get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -90,8 +105,11 @@ public AccessReviewInstanceDecisionItem get(@jakarta.annotation.Nullable final j * @param body The request body * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem patch(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body) { return patch(body, null); } @@ -101,8 +119,11 @@ public AccessReviewInstanceDecisionItem patch(@jakarta.annotation.Nonnull final * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem patch(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -113,8 +134,11 @@ public AccessReviewInstanceDecisionItem patch(@jakarta.annotation.Nonnull final /** * Delete navigation property decisions for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -122,8 +146,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property decisions for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -133,8 +160,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Each user reviewed in an accessReviewInstance has a decision item representing if they were approved, denied, or not yet reviewed. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -142,8 +172,11 @@ public RequestInformation toGetRequestInformation() { * Each user reviewed in an accessReviewInstance has a decision item representing if they were approved, denied, or not yet reviewed. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -154,8 +187,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property decisions in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body) { return toPatchRequestInformation(body, null); } @@ -164,8 +200,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -178,8 +217,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessReviewInstanceDecisionItemItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessReviewInstanceDecisionItemItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessReviewInstanceDecisionItemItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/decisions/item/instance/decisions/item/insights/InsightsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/decisions/item/instance/decisions/item/insights/InsightsRequestBuilder.java index 8c1a56ac590..ab359205b09 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/decisions/item/instance/decisions/item/insights/InsightsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/decisions/item/instance/decisions/item/insights/InsightsRequestBuilder.java @@ -26,7 +26,10 @@ public class InsightsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the insights property of the microsoft.graph.accessReviewInstanceDecisionItem entity. * @param governanceInsightId The unique identifier of governanceInsight * @return a {@link GovernanceInsightItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public GovernanceInsightItemRequestBuilder byGovernanceInsightId(@jakarta.annotation.Nonnull final String governanceInsightId) { Objects.requireNonNull(governanceInsightId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public InsightsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @return a {@link GovernanceInsightCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsightCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public GovernanceInsightCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GovernanceInsightCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsightCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public GovernanceInsightCollectionResponse get(@jakarta.annotation.Nullable fina * @param body The request body * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight post(@jakarta.annotation.Nonnull final GovernanceInsight body) { return post(body, null); } @@ -97,8 +112,11 @@ public GovernanceInsight post(@jakarta.annotation.Nonnull final GovernanceInsigh * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight post(@jakarta.annotation.Nonnull final GovernanceInsight body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public GovernanceInsight post(@jakarta.annotation.Nonnull final GovernanceInsigh /** * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to insights for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GovernanceInsight body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GovernanceInsight body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link InsightsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public InsightsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new InsightsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/decisions/item/instance/decisions/item/insights/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/decisions/item/instance/decisions/item/insights/count/CountRequestBuilder.java index 63341d0f69c..dccfd547872 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/decisions/item/instance/decisions/item/insights/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/decisions/item/instance/decisions/item/insights/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/decisions/item/instance/decisions/item/insights/item/GovernanceInsightItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/decisions/item/instance/decisions/item/insights/item/GovernanceInsightItemRequestBuilder.java index 48be0c609ef..908e9a3a86b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/decisions/item/instance/decisions/item/insights/item/GovernanceInsightItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/decisions/item/instance/decisions/item/insights/item/GovernanceInsightItemRequestBuilder.java @@ -39,7 +39,10 @@ public GovernanceInsightItemRequestBuilder(@jakarta.annotation.Nonnull final Str /** * Delete navigation property insights for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -47,7 +50,10 @@ public void delete() { * Delete navigation property insights for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -58,8 +64,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight get() { return get(null); } @@ -68,8 +77,11 @@ public GovernanceInsight get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -81,8 +93,11 @@ public GovernanceInsight get(@jakarta.annotation.Nullable final java.util.functi * @param body The request body * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight patch(@jakarta.annotation.Nonnull final GovernanceInsight body) { return patch(body, null); } @@ -92,8 +107,11 @@ public GovernanceInsight patch(@jakarta.annotation.Nonnull final GovernanceInsig * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight patch(@jakarta.annotation.Nonnull final GovernanceInsight body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -104,8 +122,11 @@ public GovernanceInsight patch(@jakarta.annotation.Nonnull final GovernanceInsig /** * Delete navigation property insights for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -113,8 +134,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property insights for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -133,8 +160,11 @@ public RequestInformation toGetRequestInformation() { * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -145,8 +175,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property insights in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final GovernanceInsight body) { return toPatchRequestInformation(body, null); } @@ -155,8 +188,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final GovernanceInsight body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -169,8 +205,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link GovernanceInsightItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public GovernanceInsightItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new GovernanceInsightItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/decisions/item/instance/decisions/recordalldecisions/RecordAllDecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/decisions/item/instance/decisions/recordalldecisions/RecordAllDecisionsRequestBuilder.java index da74194213e..bd7cd4de657 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/decisions/item/instance/decisions/recordalldecisions/RecordAllDecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/decisions/item/instance/decisions/recordalldecisions/RecordAllDecisionsRequestBuilder.java @@ -38,8 +38,11 @@ public RecordAllDecisionsRequestBuilder(@jakarta.annotation.Nonnull final String * As a reviewer of an access review, record a decision for an accessReviewInstanceDecisionItem that is assigned to you and that matches the principal or resource IDs specified. If no IDs are specified, the decisions will apply to every accessReviewInstanceDecisionItem for which you are the reviewer. * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequestBody body) { post(body, null); } @@ -48,8 +51,11 @@ public void post(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequest * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -61,8 +67,11 @@ public void post(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequest * As a reviewer of an access review, record a decision for an accessReviewInstanceDecisionItem that is assigned to you and that matches the principal or resource IDs specified. If no IDs are specified, the decisions will apply to every accessReviewInstanceDecisionItem for which you are the reviewer. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequestBody body) { return toPostRequestInformation(body, null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -85,8 +97,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RecordAllDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RecordAllDecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RecordAllDecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/decisions/item/instance/definition/DefinitionRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/decisions/item/instance/definition/DefinitionRequestBuilder.java index 2f0b39826d9..2d580cb3873 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/decisions/item/instance/definition/DefinitionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/decisions/item/instance/definition/DefinitionRequestBuilder.java @@ -40,8 +40,11 @@ public DefinitionRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, * There's exactly one accessReviewScheduleDefinition associated with each instance. It's the parent schedule for the instance, where instances are created for each recurrence of a review definition and each group selected to review by the definition. * @return a {@link AccessReviewScheduleDefinition} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewScheduleDefinition get() { return get(null); } @@ -50,8 +53,11 @@ public AccessReviewScheduleDefinition get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewScheduleDefinition} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewScheduleDefinition get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public AccessReviewScheduleDefinition get(@jakarta.annotation.Nullable final jav /** * There's exactly one accessReviewScheduleDefinition associated with each instance. It's the parent schedule for the instance, where instances are created for each recurrence of a review definition and each group selected to review by the definition. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * There's exactly one accessReviewScheduleDefinition associated with each instance. It's the parent schedule for the instance, where instances are created for each recurrence of a review definition and each group selected to review by the definition. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link DefinitionRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public DefinitionRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new DefinitionRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/decisions/item/instance/resetdecisions/ResetDecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/decisions/item/instance/resetdecisions/ResetDecisionsRequestBuilder.java index e51d32d20d3..bc99e7ed56c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/decisions/item/instance/resetdecisions/ResetDecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/decisions/item/instance/resetdecisions/ResetDecisionsRequestBuilder.java @@ -37,8 +37,11 @@ public ResetDecisionsRequestBuilder(@jakarta.annotation.Nonnull final String raw /** * Resets decisions of all accessReviewInstanceDecisionItem objects on an accessReviewInstance to notReviewed. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * Resets decisions of all accessReviewInstanceDecisionItem objects on an accessReviewInstance to notReviewed. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Resets decisions of all accessReviewInstanceDecisionItem objects on an accessReviewInstance to notReviewed. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * Resets decisions of all accessReviewInstanceDecisionItem objects on an accessReviewInstance to notReviewed. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ResetDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ResetDecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ResetDecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/decisions/item/instance/sendreminder/SendReminderRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/decisions/item/instance/sendreminder/SendReminderRequestBuilder.java index 6f5a35f164a..868bdc2e25b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/decisions/item/instance/sendreminder/SendReminderRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/decisions/item/instance/sendreminder/SendReminderRequestBuilder.java @@ -37,8 +37,11 @@ public SendReminderRequestBuilder(@jakarta.annotation.Nonnull final String rawUr /** * Send a reminder to the reviewers of a currently active accessReviewInstance. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * Send a reminder to the reviewers of a currently active accessReviewInstance. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Send a reminder to the reviewers of a currently active accessReviewInstance. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * Send a reminder to the reviewers of a currently active accessReviewInstance. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link SendReminderRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public SendReminderRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new SendReminderRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/decisions/item/instance/stop/StopRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/decisions/item/instance/stop/StopRequestBuilder.java index 685f5621a19..1ac800ac571 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/decisions/item/instance/stop/StopRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/decisions/item/instance/stop/StopRequestBuilder.java @@ -37,8 +37,11 @@ public StopRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jaka /** * Stop a currently active accessReviewInstance. After the access review instance stops, the instance status will be Completed, the reviewers can no longer give input, and the access review decisions can be applied. Stopping an instance will not effect future instances. To prevent a recurring access review from starting future instances, update the schedule definition to change its scheduled end date. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * Stop a currently active accessReviewInstance. After the access review instance stops, the instance status will be Completed, the reviewers can no longer give input, and the access review decisions can be applied. Stopping an instance will not effect future instances. To prevent a recurring access review from starting future instances, update the schedule definition to change its scheduled end date. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Stop a currently active accessReviewInstance. After the access review instance stops, the instance status will be Completed, the reviewers can no longer give input, and the access review decisions can be applied. Stopping an instance will not effect future instances. To prevent a recurring access review from starting future instances, update the schedule definition to change its scheduled end date. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * Stop a currently active accessReviewInstance. After the access review instance stops, the instance status will be Completed, the reviewers can no longer give input, and the access review decisions can be applied. Stopping an instance will not effect future instances. To prevent a recurring access review from starting future instances, update the schedule definition to change its scheduled end date. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link StopRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public StopRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new StopRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/decisions/item/instance/stopapplydecisions/StopApplyDecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/decisions/item/instance/stopapplydecisions/StopApplyDecisionsRequestBuilder.java index be4146e55ce..e9cbb33d774 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/decisions/item/instance/stopapplydecisions/StopApplyDecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/decisions/item/instance/stopapplydecisions/StopApplyDecisionsRequestBuilder.java @@ -37,7 +37,10 @@ public StopApplyDecisionsRequestBuilder(@jakarta.annotation.Nonnull final String /** * Invoke action stopApplyDecisions * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void post() { post(null); } @@ -45,7 +48,10 @@ public void post() { * Invoke action stopApplyDecisions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -55,8 +61,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Invoke action stopApplyDecisions * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -64,8 +73,11 @@ public RequestInformation toPostRequestInformation() { * Invoke action stopApplyDecisions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -76,8 +88,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link StopApplyDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public StopApplyDecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new StopApplyDecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/decisions/recordalldecisions/RecordAllDecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/decisions/recordalldecisions/RecordAllDecisionsRequestBuilder.java index b7fa39efdb5..81268a97b26 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/decisions/recordalldecisions/RecordAllDecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/decisions/recordalldecisions/RecordAllDecisionsRequestBuilder.java @@ -38,8 +38,11 @@ public RecordAllDecisionsRequestBuilder(@jakarta.annotation.Nonnull final String * As a reviewer of an access review, record a decision for an accessReviewInstanceDecisionItem that is assigned to you and that matches the principal or resource IDs specified. If no IDs are specified, the decisions will apply to every accessReviewInstanceDecisionItem for which you are the reviewer. * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequestBody body) { post(body, null); } @@ -48,8 +51,11 @@ public void post(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequest * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -61,8 +67,11 @@ public void post(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequest * As a reviewer of an access review, record a decision for an accessReviewInstanceDecisionItem that is assigned to you and that matches the principal or resource IDs specified. If no IDs are specified, the decisions will apply to every accessReviewInstanceDecisionItem for which you are the reviewer. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequestBody body) { return toPostRequestInformation(body, null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -85,8 +97,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RecordAllDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RecordAllDecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RecordAllDecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/stop/StopRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/stop/StopRequestBuilder.java index 576d55c0390..b3f4d4565d8 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/stop/StopRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stages/item/stop/StopRequestBuilder.java @@ -37,8 +37,11 @@ public StopRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jaka /** * Stop an access review stage that is inProgress. After the access review stage stops, the stage status will be Completed and the reviewers can no longer give input. If there are subsequent stages that depend on the completed stage, the next stage will be created. The accessReviewInstanceDecisionItem objects will always reflect the last decisions recorded across all stages at that given time, regardless of the status of the stages. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * Stop an access review stage that is inProgress. After the access review stage stops, the stage status will be Completed and the reviewers can no longer give input. If there are subsequent stages that depend on the completed stage, the next stage will be created. The accessReviewInstanceDecisionItem objects will always reflect the last decisions recorded across all stages at that given time, regardless of the status of the stages. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Stop an access review stage that is inProgress. After the access review stage stops, the stage status will be Completed and the reviewers can no longer give input. If there are subsequent stages that depend on the completed stage, the next stage will be created. The accessReviewInstanceDecisionItem objects will always reflect the last decisions recorded across all stages at that given time, regardless of the status of the stages. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * Stop an access review stage that is inProgress. After the access review stage stops, the stage status will be Completed and the reviewers can no longer give input. If there are subsequent stages that depend on the completed stage, the next stage will be created. The accessReviewInstanceDecisionItem objects will always reflect the last decisions recorded across all stages at that given time, regardless of the status of the stages. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link StopRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public StopRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new StopRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stop/StopRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stop/StopRequestBuilder.java index f4c81daf57e..352eaf2c08d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stop/StopRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stop/StopRequestBuilder.java @@ -37,8 +37,11 @@ public StopRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jaka /** * Stop a currently active accessReviewInstance. After the access review instance stops, the instance status will be Completed, the reviewers can no longer give input, and the access review decisions can be applied. Stopping an instance will not effect future instances. To prevent a recurring access review from starting future instances, update the schedule definition to change its scheduled end date. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * Stop a currently active accessReviewInstance. After the access review instance stops, the instance status will be Completed, the reviewers can no longer give input, and the access review decisions can be applied. Stopping an instance will not effect future instances. To prevent a recurring access review from starting future instances, update the schedule definition to change its scheduled end date. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Stop a currently active accessReviewInstance. After the access review instance stops, the instance status will be Completed, the reviewers can no longer give input, and the access review decisions can be applied. Stopping an instance will not effect future instances. To prevent a recurring access review from starting future instances, update the schedule definition to change its scheduled end date. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * Stop a currently active accessReviewInstance. After the access review instance stops, the instance status will be Completed, the reviewers can no longer give input, and the access review decisions can be applied. Stopping an instance will not effect future instances. To prevent a recurring access review from starting future instances, update the schedule definition to change its scheduled end date. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link StopRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public StopRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new StopRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stopapplydecisions/StopApplyDecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stopapplydecisions/StopApplyDecisionsRequestBuilder.java index 0e7d22e40ad..f68d35af67f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stopapplydecisions/StopApplyDecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/instances/item/stopapplydecisions/StopApplyDecisionsRequestBuilder.java @@ -37,7 +37,10 @@ public StopApplyDecisionsRequestBuilder(@jakarta.annotation.Nonnull final String /** * Invoke action stopApplyDecisions * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void post() { post(null); } @@ -45,7 +48,10 @@ public void post() { * Invoke action stopApplyDecisions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -55,8 +61,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Invoke action stopApplyDecisions * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -64,8 +73,11 @@ public RequestInformation toPostRequestInformation() { * Invoke action stopApplyDecisions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -76,8 +88,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link StopApplyDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public StopApplyDecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new StopApplyDecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/policy/PolicyRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/policy/PolicyRequestBuilder.java index 341a41edab9..f56f0d6a296 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/policy/PolicyRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/policy/PolicyRequestBuilder.java @@ -39,7 +39,10 @@ public PolicyRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ja /** * Delete navigation property policy for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -47,7 +50,10 @@ public void delete() { * Delete navigation property policy for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -58,9 +64,12 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Read the properties and relationships of an accessReviewPolicy object. * @return a {@link AccessReviewPolicy} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewPolicy get() { return get(null); } @@ -69,9 +78,12 @@ public AccessReviewPolicy get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewPolicy} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewPolicy get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -83,9 +95,12 @@ public AccessReviewPolicy get(@jakarta.annotation.Nullable final java.util.funct * @param body The request body * @return a {@link AccessReviewPolicy} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewPolicy patch(@jakarta.annotation.Nonnull final AccessReviewPolicy body) { return patch(body, null); } @@ -95,9 +110,12 @@ public AccessReviewPolicy patch(@jakarta.annotation.Nonnull final AccessReviewPo * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewPolicy} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewPolicy patch(@jakarta.annotation.Nonnull final AccessReviewPolicy body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -108,8 +126,11 @@ public AccessReviewPolicy patch(@jakarta.annotation.Nonnull final AccessReviewPo /** * Delete navigation property policy for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -117,8 +138,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property policy for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -128,8 +152,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Read the properties and relationships of an accessReviewPolicy object. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -137,8 +164,11 @@ public RequestInformation toGetRequestInformation() { * Read the properties and relationships of an accessReviewPolicy object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -149,8 +179,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the properties of an accessReviewPolicy object. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewPolicy body) { return toPatchRequestInformation(body, null); } @@ -159,8 +192,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewPolicy body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -173,8 +209,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link PolicyRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public PolicyRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new PolicyRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/UnifiedRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/UnifiedRequestBuilder.java index 8ef5eb9d514..9c2af5a4405 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/UnifiedRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/UnifiedRequestBuilder.java @@ -26,7 +26,10 @@ public class UnifiedRequestBuilder extends BaseRequestBuilder { /** * Provides operations to manage the decisions property of the microsoft.graph.unifiedRoot entity. * @return a {@link DecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public DecisionsRequestBuilder decisions() { return new DecisionsRequestBuilder(pathParameters, requestAdapter); @@ -34,7 +37,10 @@ public DecisionsRequestBuilder decisions() { /** * Provides operations to manage the definitions property of the microsoft.graph.unifiedRoot entity. * @return a {@link DefinitionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public DefinitionsRequestBuilder definitions() { return new DefinitionsRequestBuilder(pathParameters, requestAdapter); @@ -42,7 +48,10 @@ public DefinitionsRequestBuilder definitions() { /** * Provides operations to manage the instances property of the microsoft.graph.unifiedRoot entity. * @return a {@link InstancesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public InstancesRequestBuilder instances() { return new InstancesRequestBuilder(pathParameters, requestAdapter); @@ -66,7 +75,10 @@ public UnifiedRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j /** * Delete navigation property unified for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -74,7 +86,10 @@ public void delete() { * Delete navigation property unified for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -85,8 +100,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Entry point for the unified (vNext) access reviews API surface. Requests under this path are routed to the vNext service through the dedicated accessReviews/unified path segment. * @return a {@link UnifiedRoot} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public UnifiedRoot get() { return get(null); } @@ -95,8 +113,11 @@ public UnifiedRoot get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link UnifiedRoot} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public UnifiedRoot get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -108,8 +129,11 @@ public UnifiedRoot get(@jakarta.annotation.Nullable final java.util.function.Con * @param body The request body * @return a {@link UnifiedRoot} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public UnifiedRoot patch(@jakarta.annotation.Nonnull final UnifiedRoot body) { return patch(body, null); } @@ -119,8 +143,11 @@ public UnifiedRoot patch(@jakarta.annotation.Nonnull final UnifiedRoot body) { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link UnifiedRoot} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public UnifiedRoot patch(@jakarta.annotation.Nonnull final UnifiedRoot body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -131,8 +158,11 @@ public UnifiedRoot patch(@jakarta.annotation.Nonnull final UnifiedRoot body, @ja /** * Delete navigation property unified for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -140,8 +170,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property unified for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -151,8 +184,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Entry point for the unified (vNext) access reviews API surface. Requests under this path are routed to the vNext service through the dedicated accessReviews/unified path segment. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -160,8 +196,11 @@ public RequestInformation toGetRequestInformation() { * Entry point for the unified (vNext) access reviews API surface. Requests under this path are routed to the vNext service through the dedicated accessReviews/unified path segment. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -172,8 +211,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property unified in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final UnifiedRoot body) { return toPatchRequestInformation(body, null); } @@ -182,8 +224,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final UnifiedRoot body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -196,8 +241,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link UnifiedRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public UnifiedRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new UnifiedRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/DecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/DecisionsRequestBuilder.java index ab59fd7681e..e0051a6966c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/DecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/DecisionsRequestBuilder.java @@ -28,7 +28,10 @@ public class DecisionsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -36,7 +39,10 @@ public CountRequestBuilder count() { /** * Provides operations to call the recordAllDecisions method. * @return a {@link RecordAllDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public RecordAllDecisionsRequestBuilder recordAllDecisions() { return new RecordAllDecisionsRequestBuilder(pathParameters, requestAdapter); @@ -45,8 +51,11 @@ public RecordAllDecisionsRequestBuilder recordAllDecisions() { * Provides operations to manage the decisions property of the microsoft.graph.unifiedRoot entity. * @param accessReviewInstanceDecisionItemId The unique identifier of accessReviewInstanceDecisionItem * @return a {@link AccessReviewInstanceDecisionItemItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessReviewInstanceDecisionItemItemRequestBuilder byAccessReviewInstanceDecisionItemId(@jakarta.annotation.Nonnull final String accessReviewInstanceDecisionItemId) { Objects.requireNonNull(accessReviewInstanceDecisionItemId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -73,8 +82,11 @@ public DecisionsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, * Provides operations to call the filterByCurrentUser method. * @param on Usage: on='{on}' * @return a {@link FilterByCurrentUserWithOnRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilterByCurrentUserWithOnRequestBuilder filterByCurrentUserWithOn(@jakarta.annotation.Nonnull final String on) { Objects.requireNonNull(on); return new FilterByCurrentUserWithOnRequestBuilder(pathParameters, requestAdapter, on); @@ -83,8 +95,11 @@ public FilterByCurrentUserWithOnRequestBuilder filterByCurrentUserWithOn(@jakart * Represents the unified (vNext) access review decisions on an instance of a review. * @return a {@link AccessReviewInstanceDecisionItemCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItemCollectionResponse get() { return get(null); } @@ -93,8 +108,11 @@ public AccessReviewInstanceDecisionItemCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstanceDecisionItemCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItemCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -106,8 +124,11 @@ public AccessReviewInstanceDecisionItemCollectionResponse get(@jakarta.annotatio * @param body The request body * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem post(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body) { return post(body, null); } @@ -117,8 +138,11 @@ public AccessReviewInstanceDecisionItem post(@jakarta.annotation.Nonnull final A * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem post(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -129,8 +153,11 @@ public AccessReviewInstanceDecisionItem post(@jakarta.annotation.Nonnull final A /** * Represents the unified (vNext) access review decisions on an instance of a review. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -138,8 +165,11 @@ public RequestInformation toGetRequestInformation() { * Represents the unified (vNext) access review decisions on an instance of a review. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -150,8 +180,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to decisions for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body) { return toPostRequestInformation(body, null); } @@ -160,8 +193,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -174,8 +210,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link DecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public DecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new DecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/count/CountRequestBuilder.java index ef2166a177a..852c7b7a826 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java index 2ac4d899ebf..b874e02e0d0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java @@ -41,9 +41,12 @@ public FilterByCurrentUserWithOnRequestBuilder(@jakarta.annotation.Nonnull final * Retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. * @return a {@link FilterByCurrentUserWithOnGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public FilterByCurrentUserWithOnGetResponse get() { return get(null); } @@ -52,9 +55,12 @@ public FilterByCurrentUserWithOnGetResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link FilterByCurrentUserWithOnGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public FilterByCurrentUserWithOnGetResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -64,8 +70,11 @@ public FilterByCurrentUserWithOnGetResponse get(@jakarta.annotation.Nullable fin /** * Retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -73,8 +82,11 @@ public RequestInformation toGetRequestInformation() { * Retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -85,8 +97,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link FilterByCurrentUserWithOnRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilterByCurrentUserWithOnRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new FilterByCurrentUserWithOnRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/AccessReviewInstanceDecisionItemItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/AccessReviewInstanceDecisionItemItemRequestBuilder.java index 7fb0a793e55..6e2c0aba339 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/AccessReviewInstanceDecisionItemItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/AccessReviewInstanceDecisionItemItemRequestBuilder.java @@ -25,7 +25,10 @@ public class AccessReviewInstanceDecisionItemItemRequestBuilder extends BaseRequ /** * Provides operations to manage the insights property of the microsoft.graph.accessReviewInstanceDecisionItem entity. * @return a {@link InsightsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public InsightsRequestBuilder insights() { return new InsightsRequestBuilder(pathParameters, requestAdapter); @@ -33,7 +36,10 @@ public InsightsRequestBuilder insights() { /** * Provides operations to manage the instance property of the microsoft.graph.accessReviewInstanceDecisionItem entity. * @return a {@link InstanceRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public InstanceRequestBuilder instance() { return new InstanceRequestBuilder(pathParameters, requestAdapter); @@ -57,7 +63,10 @@ public AccessReviewInstanceDecisionItemItemRequestBuilder(@jakarta.annotation.No /** * Delete navigation property decisions for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -65,7 +74,10 @@ public void delete() { * Delete navigation property decisions for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -76,8 +88,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Represents the unified (vNext) access review decisions on an instance of a review. * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem get() { return get(null); } @@ -86,8 +101,11 @@ public AccessReviewInstanceDecisionItem get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -99,8 +117,11 @@ public AccessReviewInstanceDecisionItem get(@jakarta.annotation.Nullable final j * @param body The request body * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem patch(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body) { return patch(body, null); } @@ -110,8 +131,11 @@ public AccessReviewInstanceDecisionItem patch(@jakarta.annotation.Nonnull final * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem patch(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -122,8 +146,11 @@ public AccessReviewInstanceDecisionItem patch(@jakarta.annotation.Nonnull final /** * Delete navigation property decisions for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -131,8 +158,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property decisions for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -142,8 +172,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Represents the unified (vNext) access review decisions on an instance of a review. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -151,8 +184,11 @@ public RequestInformation toGetRequestInformation() { * Represents the unified (vNext) access review decisions on an instance of a review. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -163,8 +199,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property decisions in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body) { return toPatchRequestInformation(body, null); } @@ -173,8 +212,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -187,8 +229,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessReviewInstanceDecisionItemItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessReviewInstanceDecisionItemItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessReviewInstanceDecisionItemItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/insights/InsightsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/insights/InsightsRequestBuilder.java index 438c2258ce5..003d0527e91 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/insights/InsightsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/insights/InsightsRequestBuilder.java @@ -26,7 +26,10 @@ public class InsightsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the insights property of the microsoft.graph.accessReviewInstanceDecisionItem entity. * @param governanceInsightId The unique identifier of governanceInsight * @return a {@link GovernanceInsightItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public GovernanceInsightItemRequestBuilder byGovernanceInsightId(@jakarta.annotation.Nonnull final String governanceInsightId) { Objects.requireNonNull(governanceInsightId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public InsightsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @return a {@link GovernanceInsightCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsightCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public GovernanceInsightCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GovernanceInsightCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsightCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public GovernanceInsightCollectionResponse get(@jakarta.annotation.Nullable fina * @param body The request body * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight post(@jakarta.annotation.Nonnull final GovernanceInsight body) { return post(body, null); } @@ -97,8 +112,11 @@ public GovernanceInsight post(@jakarta.annotation.Nonnull final GovernanceInsigh * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight post(@jakarta.annotation.Nonnull final GovernanceInsight body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public GovernanceInsight post(@jakarta.annotation.Nonnull final GovernanceInsigh /** * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to insights for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GovernanceInsight body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GovernanceInsight body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link InsightsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public InsightsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new InsightsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/insights/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/insights/count/CountRequestBuilder.java index d47340cf668..a995f24f657 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/insights/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/insights/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/insights/item/GovernanceInsightItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/insights/item/GovernanceInsightItemRequestBuilder.java index 390a7577613..4b4aaa0f236 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/insights/item/GovernanceInsightItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/insights/item/GovernanceInsightItemRequestBuilder.java @@ -39,7 +39,10 @@ public GovernanceInsightItemRequestBuilder(@jakarta.annotation.Nonnull final Str /** * Delete navigation property insights for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -47,7 +50,10 @@ public void delete() { * Delete navigation property insights for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -58,8 +64,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight get() { return get(null); } @@ -68,8 +77,11 @@ public GovernanceInsight get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -81,8 +93,11 @@ public GovernanceInsight get(@jakarta.annotation.Nullable final java.util.functi * @param body The request body * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight patch(@jakarta.annotation.Nonnull final GovernanceInsight body) { return patch(body, null); } @@ -92,8 +107,11 @@ public GovernanceInsight patch(@jakarta.annotation.Nonnull final GovernanceInsig * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight patch(@jakarta.annotation.Nonnull final GovernanceInsight body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -104,8 +122,11 @@ public GovernanceInsight patch(@jakarta.annotation.Nonnull final GovernanceInsig /** * Delete navigation property insights for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -113,8 +134,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property insights for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -133,8 +160,11 @@ public RequestInformation toGetRequestInformation() { * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -145,8 +175,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property insights in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final GovernanceInsight body) { return toPatchRequestInformation(body, null); } @@ -155,8 +188,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final GovernanceInsight body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -169,8 +205,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link GovernanceInsightItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public GovernanceInsightItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new GovernanceInsightItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/InstanceRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/InstanceRequestBuilder.java index 0e5625c3cca..d5f69d83a85 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/InstanceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/InstanceRequestBuilder.java @@ -35,7 +35,10 @@ public class InstanceRequestBuilder extends BaseRequestBuilder { /** * Provides operations to call the acceptRecommendations method. * @return a {@link AcceptRecommendationsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AcceptRecommendationsRequestBuilder acceptRecommendations() { return new AcceptRecommendationsRequestBuilder(pathParameters, requestAdapter); @@ -43,7 +46,10 @@ public AcceptRecommendationsRequestBuilder acceptRecommendations() { /** * Provides operations to call the applyDecisions method. * @return a {@link ApplyDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ApplyDecisionsRequestBuilder applyDecisions() { return new ApplyDecisionsRequestBuilder(pathParameters, requestAdapter); @@ -51,7 +57,10 @@ public ApplyDecisionsRequestBuilder applyDecisions() { /** * Provides operations to call the batchApplyCustomDataProvidedResourceDecisions method. * @return a {@link BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder batchApplyCustomDataProvidedResourceDecisions() { return new BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder(pathParameters, requestAdapter); @@ -59,7 +68,10 @@ public BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder batchApplyCus /** * Provides operations to call the batchRecordDecisions method. * @return a {@link BatchRecordDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public BatchRecordDecisionsRequestBuilder batchRecordDecisions() { return new BatchRecordDecisionsRequestBuilder(pathParameters, requestAdapter); @@ -67,7 +79,10 @@ public BatchRecordDecisionsRequestBuilder batchRecordDecisions() { /** * Provides operations to manage the contactedReviewers property of the microsoft.graph.accessReviewInstance entity. * @return a {@link ContactedReviewersRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ContactedReviewersRequestBuilder contactedReviewers() { return new ContactedReviewersRequestBuilder(pathParameters, requestAdapter); @@ -75,7 +90,10 @@ public ContactedReviewersRequestBuilder contactedReviewers() { /** * Provides operations to manage the decisions property of the microsoft.graph.accessReviewInstance entity. * @return a {@link DecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public DecisionsRequestBuilder decisions() { return new DecisionsRequestBuilder(pathParameters, requestAdapter); @@ -83,7 +101,10 @@ public DecisionsRequestBuilder decisions() { /** * Provides operations to manage the definition property of the microsoft.graph.accessReviewInstance entity. * @return a {@link DefinitionRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public DefinitionRequestBuilder definition() { return new DefinitionRequestBuilder(pathParameters, requestAdapter); @@ -91,7 +112,10 @@ public DefinitionRequestBuilder definition() { /** * Provides operations to call the resetDecisions method. * @return a {@link ResetDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ResetDecisionsRequestBuilder resetDecisions() { return new ResetDecisionsRequestBuilder(pathParameters, requestAdapter); @@ -99,7 +123,10 @@ public ResetDecisionsRequestBuilder resetDecisions() { /** * Provides operations to call the sendReminder method. * @return a {@link SendReminderRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public SendReminderRequestBuilder sendReminder() { return new SendReminderRequestBuilder(pathParameters, requestAdapter); @@ -107,7 +134,10 @@ public SendReminderRequestBuilder sendReminder() { /** * Provides operations to manage the stages property of the microsoft.graph.accessReviewInstance entity. * @return a {@link StagesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public StagesRequestBuilder stages() { return new StagesRequestBuilder(pathParameters, requestAdapter); @@ -115,7 +145,10 @@ public StagesRequestBuilder stages() { /** * Provides operations to call the stop method. * @return a {@link StopRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public StopRequestBuilder stop() { return new StopRequestBuilder(pathParameters, requestAdapter); @@ -123,7 +156,10 @@ public StopRequestBuilder stop() { /** * Provides operations to call the stopApplyDecisions method. * @return a {@link StopApplyDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public StopApplyDecisionsRequestBuilder stopApplyDecisions() { return new StopApplyDecisionsRequestBuilder(pathParameters, requestAdapter); @@ -147,7 +183,10 @@ public InstanceRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ /** * Delete navigation property instance for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -155,7 +194,10 @@ public void delete() { * Delete navigation property instance for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -166,8 +208,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * There's exactly one accessReviewInstance associated with each decision. The instance is the parent of the decision item, representing the recurrence of the access review the decision is made on. * @return a {@link AccessReviewInstance} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstance get() { return get(null); } @@ -176,8 +221,11 @@ public AccessReviewInstance get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstance} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstance get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -189,8 +237,11 @@ public AccessReviewInstance get(@jakarta.annotation.Nullable final java.util.fun * @param body The request body * @return a {@link AccessReviewInstance} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstance patch(@jakarta.annotation.Nonnull final AccessReviewInstance body) { return patch(body, null); } @@ -200,8 +251,11 @@ public AccessReviewInstance patch(@jakarta.annotation.Nonnull final AccessReview * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstance} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstance patch(@jakarta.annotation.Nonnull final AccessReviewInstance body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -212,8 +266,11 @@ public AccessReviewInstance patch(@jakarta.annotation.Nonnull final AccessReview /** * Delete navigation property instance for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -221,8 +278,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property instance for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -232,8 +292,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * There's exactly one accessReviewInstance associated with each decision. The instance is the parent of the decision item, representing the recurrence of the access review the decision is made on. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -241,8 +304,11 @@ public RequestInformation toGetRequestInformation() { * There's exactly one accessReviewInstance associated with each decision. The instance is the parent of the decision item, representing the recurrence of the access review the decision is made on. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -253,8 +319,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property instance in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstance body) { return toPatchRequestInformation(body, null); } @@ -263,8 +332,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstance body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -277,8 +349,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link InstanceRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public InstanceRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new InstanceRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/acceptrecommendations/AcceptRecommendationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/acceptrecommendations/AcceptRecommendationsRequestBuilder.java index b560ded7e2c..3954a3c35b7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/acceptrecommendations/AcceptRecommendationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/acceptrecommendations/AcceptRecommendationsRequestBuilder.java @@ -37,8 +37,11 @@ public AcceptRecommendationsRequestBuilder(@jakarta.annotation.Nonnull final Str /** * Allows the acceptance of recommendations on all accessReviewInstanceDecisionItem objects that haven't been reviewed for an accessReviewInstance object for which the calling user is a reviewer. Recommendations are generated if recommendationsEnabled is true on the accessReviewScheduleDefinition object. If there isn't a recommendation on an accessReviewInstanceDecisionItem object no decision will be recorded. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * Allows the acceptance of recommendations on all accessReviewInstanceDecisionItem objects that haven't been reviewed for an accessReviewInstance object for which the calling user is a reviewer. Recommendations are generated if recommendationsEnabled is true on the accessReviewScheduleDefinition object. If there isn't a recommendation on an accessReviewInstanceDecisionItem object no decision will be recorded. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Allows the acceptance of recommendations on all accessReviewInstanceDecisionItem objects that haven't been reviewed for an accessReviewInstance object for which the calling user is a reviewer. Recommendations are generated if recommendationsEnabled is true on the accessReviewScheduleDefinition object. If there isn't a recommendation on an accessReviewInstanceDecisionItem object no decision will be recorded. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * Allows the acceptance of recommendations on all accessReviewInstanceDecisionItem objects that haven't been reviewed for an accessReviewInstance object for which the calling user is a reviewer. Recommendations are generated if recommendationsEnabled is true on the accessReviewScheduleDefinition object. If there isn't a recommendation on an accessReviewInstanceDecisionItem object no decision will be recorded. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AcceptRecommendationsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AcceptRecommendationsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AcceptRecommendationsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/applydecisions/ApplyDecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/applydecisions/ApplyDecisionsRequestBuilder.java index 71d11028c46..46fc91d2b30 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/applydecisions/ApplyDecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/applydecisions/ApplyDecisionsRequestBuilder.java @@ -37,8 +37,11 @@ public ApplyDecisionsRequestBuilder(@jakarta.annotation.Nonnull final String raw /** * Apply review decisions on an accessReviewInstance if the decisions were not applied automatically because the autoApplyDecisionsEnabled property is false in the review's accessReviewScheduleSettings. The status of the accessReviewInstance must be Completed to call this method. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * Apply review decisions on an accessReviewInstance if the decisions were not applied automatically because the autoApplyDecisionsEnabled property is false in the review's accessReviewScheduleSettings. The status of the accessReviewInstance must be Completed to call this method. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Apply review decisions on an accessReviewInstance if the decisions were not applied automatically because the autoApplyDecisionsEnabled property is false in the review's accessReviewScheduleSettings. The status of the accessReviewInstance must be Completed to call this method. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * Apply review decisions on an accessReviewInstance if the decisions were not applied automatically because the autoApplyDecisionsEnabled property is false in the review's accessReviewScheduleSettings. The status of the accessReviewInstance must be Completed to call this method. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ApplyDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ApplyDecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ApplyDecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/batchapplycustomdataprovidedresourcedecisions/BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/batchapplycustomdataprovidedresourcedecisions/BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder.java index 89e2b232b91..834603238f9 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/batchapplycustomdataprovidedresourcedecisions/BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/batchapplycustomdataprovidedresourcedecisions/BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder.java @@ -38,8 +38,11 @@ public BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder(@jakarta.anno * Enables reviewers to set the applyResult and applyDescription on all accessReviewInstanceDecisionItem objects in a specific accessReviewInstance in batches by using customDataProvidedResourceId. NOTE: The access review instance must be in an Applying state. * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final BatchApplyCustomDataProvidedResourceDecisionsPostRequestBody body) { post(body, null); } @@ -48,8 +51,11 @@ public void post(@jakarta.annotation.Nonnull final BatchApplyCustomDataProvidedR * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final BatchApplyCustomDataProvidedResourceDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -61,8 +67,11 @@ public void post(@jakarta.annotation.Nonnull final BatchApplyCustomDataProvidedR * Enables reviewers to set the applyResult and applyDescription on all accessReviewInstanceDecisionItem objects in a specific accessReviewInstance in batches by using customDataProvidedResourceId. NOTE: The access review instance must be in an Applying state. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BatchApplyCustomDataProvidedResourceDecisionsPostRequestBody body) { return toPostRequestInformation(body, null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BatchApplyCustomDataProvidedResourceDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -85,8 +97,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/batchrecorddecisions/BatchRecordDecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/batchrecorddecisions/BatchRecordDecisionsRequestBuilder.java index bf3b481a7ac..772701c41e1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/batchrecorddecisions/BatchRecordDecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/batchrecorddecisions/BatchRecordDecisionsRequestBuilder.java @@ -38,8 +38,11 @@ public BatchRecordDecisionsRequestBuilder(@jakarta.annotation.Nonnull final Stri * Enables reviewers to review all accessReviewInstanceDecisionItem objects in a specific pending accessReviewInstance in batches by using principalId, resourceId, or neither. * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostRequestBody body) { post(body, null); } @@ -48,8 +51,11 @@ public void post(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostReque * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -61,8 +67,11 @@ public void post(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostReque * Enables reviewers to review all accessReviewInstanceDecisionItem objects in a specific pending accessReviewInstance in batches by using principalId, resourceId, or neither. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostRequestBody body) { return toPostRequestInformation(body, null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -85,8 +97,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link BatchRecordDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public BatchRecordDecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new BatchRecordDecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/contactedreviewers/ContactedReviewersRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/contactedreviewers/ContactedReviewersRequestBuilder.java index 516feb96509..b8f8892c312 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/contactedreviewers/ContactedReviewersRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/contactedreviewers/ContactedReviewersRequestBuilder.java @@ -26,7 +26,10 @@ public class ContactedReviewersRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the contactedReviewers property of the microsoft.graph.accessReviewInstance entity. * @param accessReviewReviewerId The unique identifier of accessReviewReviewer * @return a {@link AccessReviewReviewerItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessReviewReviewerItemRequestBuilder byAccessReviewReviewerId(@jakarta.annotation.Nonnull final String accessReviewReviewerId) { Objects.requireNonNull(accessReviewReviewerId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public ContactedReviewersRequestBuilder(@jakarta.annotation.Nonnull final String * Returns the collection of reviewers who were contacted to complete this review. While the reviewers and fallbackReviewers properties of the accessReviewScheduleDefinition might specify group owners or managers as reviewers, contactedReviewers returns their individual identities. Supports $select. Read-only. * @return a {@link AccessReviewReviewerCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewReviewerCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public AccessReviewReviewerCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewReviewerCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewReviewerCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public AccessReviewReviewerCollectionResponse get(@jakarta.annotation.Nullable f * @param body The request body * @return a {@link AccessReviewReviewer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewReviewer post(@jakarta.annotation.Nonnull final AccessReviewReviewer body) { return post(body, null); } @@ -97,8 +112,11 @@ public AccessReviewReviewer post(@jakarta.annotation.Nonnull final AccessReviewR * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewReviewer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewReviewer post(@jakarta.annotation.Nonnull final AccessReviewReviewer body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public AccessReviewReviewer post(@jakarta.annotation.Nonnull final AccessReviewR /** * Returns the collection of reviewers who were contacted to complete this review. While the reviewers and fallbackReviewers properties of the accessReviewScheduleDefinition might specify group owners or managers as reviewers, contactedReviewers returns their individual identities. Supports $select. Read-only. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Returns the collection of reviewers who were contacted to complete this review. While the reviewers and fallbackReviewers properties of the accessReviewScheduleDefinition might specify group owners or managers as reviewers, contactedReviewers returns their individual identities. Supports $select. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to contactedReviewers for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewReviewer body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewReviewer body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ContactedReviewersRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ContactedReviewersRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ContactedReviewersRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/contactedreviewers/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/contactedreviewers/count/CountRequestBuilder.java index 14107f66395..77462489eba 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/contactedreviewers/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/contactedreviewers/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/contactedreviewers/item/AccessReviewReviewerItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/contactedreviewers/item/AccessReviewReviewerItemRequestBuilder.java index c7b05514e30..e6bc7921d2d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/contactedreviewers/item/AccessReviewReviewerItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/contactedreviewers/item/AccessReviewReviewerItemRequestBuilder.java @@ -39,7 +39,10 @@ public AccessReviewReviewerItemRequestBuilder(@jakarta.annotation.Nonnull final /** * Delete navigation property contactedReviewers for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -47,7 +50,10 @@ public void delete() { * Delete navigation property contactedReviewers for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -58,8 +64,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Returns the collection of reviewers who were contacted to complete this review. While the reviewers and fallbackReviewers properties of the accessReviewScheduleDefinition might specify group owners or managers as reviewers, contactedReviewers returns their individual identities. Supports $select. Read-only. * @return a {@link AccessReviewReviewer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewReviewer get() { return get(null); } @@ -68,8 +77,11 @@ public AccessReviewReviewer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewReviewer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewReviewer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -81,8 +93,11 @@ public AccessReviewReviewer get(@jakarta.annotation.Nullable final java.util.fun * @param body The request body * @return a {@link AccessReviewReviewer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewReviewer patch(@jakarta.annotation.Nonnull final AccessReviewReviewer body) { return patch(body, null); } @@ -92,8 +107,11 @@ public AccessReviewReviewer patch(@jakarta.annotation.Nonnull final AccessReview * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewReviewer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewReviewer patch(@jakarta.annotation.Nonnull final AccessReviewReviewer body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -104,8 +122,11 @@ public AccessReviewReviewer patch(@jakarta.annotation.Nonnull final AccessReview /** * Delete navigation property contactedReviewers for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -113,8 +134,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property contactedReviewers for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Returns the collection of reviewers who were contacted to complete this review. While the reviewers and fallbackReviewers properties of the accessReviewScheduleDefinition might specify group owners or managers as reviewers, contactedReviewers returns their individual identities. Supports $select. Read-only. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -133,8 +160,11 @@ public RequestInformation toGetRequestInformation() { * Returns the collection of reviewers who were contacted to complete this review. While the reviewers and fallbackReviewers properties of the accessReviewScheduleDefinition might specify group owners or managers as reviewers, contactedReviewers returns their individual identities. Supports $select. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -145,8 +175,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property contactedReviewers in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewReviewer body) { return toPatchRequestInformation(body, null); } @@ -155,8 +188,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewReviewer body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -169,8 +205,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessReviewReviewerItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessReviewReviewerItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessReviewReviewerItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/decisions/DecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/decisions/DecisionsRequestBuilder.java index e754bc9c6bd..319e2787c20 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/decisions/DecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/decisions/DecisionsRequestBuilder.java @@ -28,7 +28,10 @@ public class DecisionsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -36,7 +39,10 @@ public CountRequestBuilder count() { /** * Provides operations to call the recordAllDecisions method. * @return a {@link RecordAllDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public RecordAllDecisionsRequestBuilder recordAllDecisions() { return new RecordAllDecisionsRequestBuilder(pathParameters, requestAdapter); @@ -45,8 +51,11 @@ public RecordAllDecisionsRequestBuilder recordAllDecisions() { * Provides operations to manage the decisions property of the microsoft.graph.accessReviewInstance entity. * @param accessReviewInstanceDecisionItemId1 The unique identifier of accessReviewInstanceDecisionItem * @return a {@link AccessReviewInstanceDecisionItemItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessReviewInstanceDecisionItemItemRequestBuilder byAccessReviewInstanceDecisionItemId1(@jakarta.annotation.Nonnull final String accessReviewInstanceDecisionItemId1) { Objects.requireNonNull(accessReviewInstanceDecisionItemId1); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -73,8 +82,11 @@ public DecisionsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, * Provides operations to call the filterByCurrentUser method. * @param on Usage: on='{on}' * @return a {@link FilterByCurrentUserWithOnRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilterByCurrentUserWithOnRequestBuilder filterByCurrentUserWithOn(@jakarta.annotation.Nonnull final String on) { Objects.requireNonNull(on); return new FilterByCurrentUserWithOnRequestBuilder(pathParameters, requestAdapter, on); @@ -83,8 +95,11 @@ public FilterByCurrentUserWithOnRequestBuilder filterByCurrentUserWithOn(@jakart * Each user reviewed in an accessReviewInstance has a decision item representing if they were approved, denied, or not yet reviewed. * @return a {@link AccessReviewInstanceDecisionItemCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItemCollectionResponse get() { return get(null); } @@ -93,8 +108,11 @@ public AccessReviewInstanceDecisionItemCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstanceDecisionItemCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItemCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -106,8 +124,11 @@ public AccessReviewInstanceDecisionItemCollectionResponse get(@jakarta.annotatio * @param body The request body * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem post(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body) { return post(body, null); } @@ -117,8 +138,11 @@ public AccessReviewInstanceDecisionItem post(@jakarta.annotation.Nonnull final A * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem post(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -129,8 +153,11 @@ public AccessReviewInstanceDecisionItem post(@jakarta.annotation.Nonnull final A /** * Each user reviewed in an accessReviewInstance has a decision item representing if they were approved, denied, or not yet reviewed. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -138,8 +165,11 @@ public RequestInformation toGetRequestInformation() { * Each user reviewed in an accessReviewInstance has a decision item representing if they were approved, denied, or not yet reviewed. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -150,8 +180,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to decisions for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body) { return toPostRequestInformation(body, null); } @@ -160,8 +193,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -174,8 +210,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link DecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public DecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new DecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/decisions/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/decisions/count/CountRequestBuilder.java index 65f539cf929..ef122343617 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/decisions/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/decisions/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/decisions/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/decisions/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java index 8f2ca07d592..90d4d4aa2d0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/decisions/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/decisions/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java @@ -41,9 +41,12 @@ public FilterByCurrentUserWithOnRequestBuilder(@jakarta.annotation.Nonnull final * Retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. * @return a {@link FilterByCurrentUserWithOnGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public FilterByCurrentUserWithOnGetResponse get() { return get(null); } @@ -52,9 +55,12 @@ public FilterByCurrentUserWithOnGetResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link FilterByCurrentUserWithOnGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public FilterByCurrentUserWithOnGetResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -64,8 +70,11 @@ public FilterByCurrentUserWithOnGetResponse get(@jakarta.annotation.Nullable fin /** * Retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -73,8 +82,11 @@ public RequestInformation toGetRequestInformation() { * Retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -85,8 +97,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link FilterByCurrentUserWithOnRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilterByCurrentUserWithOnRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new FilterByCurrentUserWithOnRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/decisions/item/AccessReviewInstanceDecisionItemItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/decisions/item/AccessReviewInstanceDecisionItemItemRequestBuilder.java index 1c1a3100a9a..2c97fe21288 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/decisions/item/AccessReviewInstanceDecisionItemItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/decisions/item/AccessReviewInstanceDecisionItemItemRequestBuilder.java @@ -24,7 +24,10 @@ public class AccessReviewInstanceDecisionItemItemRequestBuilder extends BaseRequ /** * Provides operations to manage the insights property of the microsoft.graph.accessReviewInstanceDecisionItem entity. * @return a {@link InsightsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public InsightsRequestBuilder insights() { return new InsightsRequestBuilder(pathParameters, requestAdapter); @@ -48,7 +51,10 @@ public AccessReviewInstanceDecisionItemItemRequestBuilder(@jakarta.annotation.No /** * Delete navigation property decisions for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -56,7 +62,10 @@ public void delete() { * Delete navigation property decisions for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -67,8 +76,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Each user reviewed in an accessReviewInstance has a decision item representing if they were approved, denied, or not yet reviewed. * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem get() { return get(null); } @@ -77,8 +89,11 @@ public AccessReviewInstanceDecisionItem get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -90,8 +105,11 @@ public AccessReviewInstanceDecisionItem get(@jakarta.annotation.Nullable final j * @param body The request body * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem patch(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body) { return patch(body, null); } @@ -101,8 +119,11 @@ public AccessReviewInstanceDecisionItem patch(@jakarta.annotation.Nonnull final * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem patch(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -113,8 +134,11 @@ public AccessReviewInstanceDecisionItem patch(@jakarta.annotation.Nonnull final /** * Delete navigation property decisions for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -122,8 +146,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property decisions for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -133,8 +160,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Each user reviewed in an accessReviewInstance has a decision item representing if they were approved, denied, or not yet reviewed. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -142,8 +172,11 @@ public RequestInformation toGetRequestInformation() { * Each user reviewed in an accessReviewInstance has a decision item representing if they were approved, denied, or not yet reviewed. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -154,8 +187,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property decisions in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body) { return toPatchRequestInformation(body, null); } @@ -164,8 +200,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -178,8 +217,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessReviewInstanceDecisionItemItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessReviewInstanceDecisionItemItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessReviewInstanceDecisionItemItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/decisions/item/insights/InsightsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/decisions/item/insights/InsightsRequestBuilder.java index 9f7ee0327da..f6d494b1b23 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/decisions/item/insights/InsightsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/decisions/item/insights/InsightsRequestBuilder.java @@ -26,7 +26,10 @@ public class InsightsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the insights property of the microsoft.graph.accessReviewInstanceDecisionItem entity. * @param governanceInsightId The unique identifier of governanceInsight * @return a {@link GovernanceInsightItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public GovernanceInsightItemRequestBuilder byGovernanceInsightId(@jakarta.annotation.Nonnull final String governanceInsightId) { Objects.requireNonNull(governanceInsightId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public InsightsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @return a {@link GovernanceInsightCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsightCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public GovernanceInsightCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GovernanceInsightCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsightCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public GovernanceInsightCollectionResponse get(@jakarta.annotation.Nullable fina * @param body The request body * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight post(@jakarta.annotation.Nonnull final GovernanceInsight body) { return post(body, null); } @@ -97,8 +112,11 @@ public GovernanceInsight post(@jakarta.annotation.Nonnull final GovernanceInsigh * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight post(@jakarta.annotation.Nonnull final GovernanceInsight body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public GovernanceInsight post(@jakarta.annotation.Nonnull final GovernanceInsigh /** * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to insights for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GovernanceInsight body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GovernanceInsight body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link InsightsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public InsightsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new InsightsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/decisions/item/insights/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/decisions/item/insights/count/CountRequestBuilder.java index fbfd1594fde..bc64e42161a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/decisions/item/insights/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/decisions/item/insights/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/decisions/item/insights/item/GovernanceInsightItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/decisions/item/insights/item/GovernanceInsightItemRequestBuilder.java index b53c271a84f..04ba393e982 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/decisions/item/insights/item/GovernanceInsightItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/decisions/item/insights/item/GovernanceInsightItemRequestBuilder.java @@ -39,7 +39,10 @@ public GovernanceInsightItemRequestBuilder(@jakarta.annotation.Nonnull final Str /** * Delete navigation property insights for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -47,7 +50,10 @@ public void delete() { * Delete navigation property insights for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -58,8 +64,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight get() { return get(null); } @@ -68,8 +77,11 @@ public GovernanceInsight get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -81,8 +93,11 @@ public GovernanceInsight get(@jakarta.annotation.Nullable final java.util.functi * @param body The request body * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight patch(@jakarta.annotation.Nonnull final GovernanceInsight body) { return patch(body, null); } @@ -92,8 +107,11 @@ public GovernanceInsight patch(@jakarta.annotation.Nonnull final GovernanceInsig * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight patch(@jakarta.annotation.Nonnull final GovernanceInsight body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -104,8 +122,11 @@ public GovernanceInsight patch(@jakarta.annotation.Nonnull final GovernanceInsig /** * Delete navigation property insights for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -113,8 +134,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property insights for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -133,8 +160,11 @@ public RequestInformation toGetRequestInformation() { * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -145,8 +175,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property insights in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final GovernanceInsight body) { return toPatchRequestInformation(body, null); } @@ -155,8 +188,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final GovernanceInsight body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -169,8 +205,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link GovernanceInsightItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public GovernanceInsightItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new GovernanceInsightItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/decisions/recordalldecisions/RecordAllDecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/decisions/recordalldecisions/RecordAllDecisionsRequestBuilder.java index 0c79dc20ea1..46939158a70 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/decisions/recordalldecisions/RecordAllDecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/decisions/recordalldecisions/RecordAllDecisionsRequestBuilder.java @@ -38,8 +38,11 @@ public RecordAllDecisionsRequestBuilder(@jakarta.annotation.Nonnull final String * As a reviewer of an access review, record a decision for an accessReviewInstanceDecisionItem that is assigned to you and that matches the principal or resource IDs specified. If no IDs are specified, the decisions will apply to every accessReviewInstanceDecisionItem for which you are the reviewer. * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequestBody body) { post(body, null); } @@ -48,8 +51,11 @@ public void post(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequest * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -61,8 +67,11 @@ public void post(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequest * As a reviewer of an access review, record a decision for an accessReviewInstanceDecisionItem that is assigned to you and that matches the principal or resource IDs specified. If no IDs are specified, the decisions will apply to every accessReviewInstanceDecisionItem for which you are the reviewer. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequestBody body) { return toPostRequestInformation(body, null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -85,8 +97,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RecordAllDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RecordAllDecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RecordAllDecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/definition/DefinitionRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/definition/DefinitionRequestBuilder.java index 972caf18979..775803f0068 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/definition/DefinitionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/definition/DefinitionRequestBuilder.java @@ -40,8 +40,11 @@ public DefinitionRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, * There's exactly one accessReviewScheduleDefinition associated with each instance. It's the parent schedule for the instance, where instances are created for each recurrence of a review definition and each group selected to review by the definition. * @return a {@link AccessReviewScheduleDefinition} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewScheduleDefinition get() { return get(null); } @@ -50,8 +53,11 @@ public AccessReviewScheduleDefinition get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewScheduleDefinition} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewScheduleDefinition get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public AccessReviewScheduleDefinition get(@jakarta.annotation.Nullable final jav /** * There's exactly one accessReviewScheduleDefinition associated with each instance. It's the parent schedule for the instance, where instances are created for each recurrence of a review definition and each group selected to review by the definition. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * There's exactly one accessReviewScheduleDefinition associated with each instance. It's the parent schedule for the instance, where instances are created for each recurrence of a review definition and each group selected to review by the definition. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link DefinitionRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public DefinitionRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new DefinitionRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/resetdecisions/ResetDecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/resetdecisions/ResetDecisionsRequestBuilder.java index 60e288907f4..273cbb3d2b3 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/resetdecisions/ResetDecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/resetdecisions/ResetDecisionsRequestBuilder.java @@ -37,8 +37,11 @@ public ResetDecisionsRequestBuilder(@jakarta.annotation.Nonnull final String raw /** * Resets decisions of all accessReviewInstanceDecisionItem objects on an accessReviewInstance to notReviewed. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * Resets decisions of all accessReviewInstanceDecisionItem objects on an accessReviewInstance to notReviewed. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Resets decisions of all accessReviewInstanceDecisionItem objects on an accessReviewInstance to notReviewed. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * Resets decisions of all accessReviewInstanceDecisionItem objects on an accessReviewInstance to notReviewed. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ResetDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ResetDecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ResetDecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/sendreminder/SendReminderRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/sendreminder/SendReminderRequestBuilder.java index 5231b888d19..f45cf69d335 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/sendreminder/SendReminderRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/sendreminder/SendReminderRequestBuilder.java @@ -37,8 +37,11 @@ public SendReminderRequestBuilder(@jakarta.annotation.Nonnull final String rawUr /** * Send a reminder to the reviewers of a currently active accessReviewInstance. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * Send a reminder to the reviewers of a currently active accessReviewInstance. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Send a reminder to the reviewers of a currently active accessReviewInstance. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * Send a reminder to the reviewers of a currently active accessReviewInstance. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link SendReminderRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public SendReminderRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new SendReminderRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/stages/StagesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/stages/StagesRequestBuilder.java index ead58006452..ae0b515140f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/stages/StagesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/stages/StagesRequestBuilder.java @@ -27,7 +27,10 @@ public class StagesRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -36,8 +39,11 @@ public CountRequestBuilder count() { * Provides operations to manage the stages property of the microsoft.graph.accessReviewInstance entity. * @param accessReviewStageId The unique identifier of accessReviewStage * @return a {@link AccessReviewStageItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessReviewStageItemRequestBuilder byAccessReviewStageId(@jakarta.annotation.Nonnull final String accessReviewStageId) { Objects.requireNonNull(accessReviewStageId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -64,8 +70,11 @@ public StagesRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ja * Provides operations to call the filterByCurrentUser method. * @param on Usage: on='{on}' * @return a {@link FilterByCurrentUserWithOnRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilterByCurrentUserWithOnRequestBuilder filterByCurrentUserWithOn(@jakarta.annotation.Nonnull final String on) { Objects.requireNonNull(on); return new FilterByCurrentUserWithOnRequestBuilder(pathParameters, requestAdapter, on); @@ -74,8 +83,11 @@ public FilterByCurrentUserWithOnRequestBuilder filterByCurrentUserWithOn(@jakart * If the instance has multiple stages, this returns the collection of stages. A new stage will only be created when the previous stage ends. The existence, number, and settings of stages on a review instance are created based on the accessReviewStageSettings on the parent accessReviewScheduleDefinition. * @return a {@link AccessReviewStageCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewStageCollectionResponse get() { return get(null); } @@ -84,8 +96,11 @@ public AccessReviewStageCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewStageCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewStageCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -97,8 +112,11 @@ public AccessReviewStageCollectionResponse get(@jakarta.annotation.Nullable fina * @param body The request body * @return a {@link AccessReviewStage} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewStage post(@jakarta.annotation.Nonnull final AccessReviewStage body) { return post(body, null); } @@ -108,8 +126,11 @@ public AccessReviewStage post(@jakarta.annotation.Nonnull final AccessReviewStag * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewStage} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewStage post(@jakarta.annotation.Nonnull final AccessReviewStage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -120,8 +141,11 @@ public AccessReviewStage post(@jakarta.annotation.Nonnull final AccessReviewStag /** * If the instance has multiple stages, this returns the collection of stages. A new stage will only be created when the previous stage ends. The existence, number, and settings of stages on a review instance are created based on the accessReviewStageSettings on the parent accessReviewScheduleDefinition. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -129,8 +153,11 @@ public RequestInformation toGetRequestInformation() { * If the instance has multiple stages, this returns the collection of stages. A new stage will only be created when the previous stage ends. The existence, number, and settings of stages on a review instance are created based on the accessReviewStageSettings on the parent accessReviewScheduleDefinition. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -141,8 +168,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to stages for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewStage body) { return toPostRequestInformation(body, null); } @@ -151,8 +181,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewStage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -165,8 +198,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link StagesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public StagesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new StagesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/stages/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/stages/count/CountRequestBuilder.java index e9cde970731..70daa695a49 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/stages/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/stages/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/stages/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/stages/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java index 07835698b3e..f48c4d7b125 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/stages/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/stages/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java @@ -41,9 +41,12 @@ public FilterByCurrentUserWithOnRequestBuilder(@jakarta.annotation.Nonnull final * Return all accessReviewStage objects on a given accessReviewInstance where the calling user is a reviewer on one or more accessReviewInstanceDecisionItem objects. * @return a {@link FilterByCurrentUserWithOnGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public FilterByCurrentUserWithOnGetResponse get() { return get(null); } @@ -52,9 +55,12 @@ public FilterByCurrentUserWithOnGetResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link FilterByCurrentUserWithOnGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public FilterByCurrentUserWithOnGetResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -64,8 +70,11 @@ public FilterByCurrentUserWithOnGetResponse get(@jakarta.annotation.Nullable fin /** * Return all accessReviewStage objects on a given accessReviewInstance where the calling user is a reviewer on one or more accessReviewInstanceDecisionItem objects. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -73,8 +82,11 @@ public RequestInformation toGetRequestInformation() { * Return all accessReviewStage objects on a given accessReviewInstance where the calling user is a reviewer on one or more accessReviewInstanceDecisionItem objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -85,8 +97,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link FilterByCurrentUserWithOnRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilterByCurrentUserWithOnRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new FilterByCurrentUserWithOnRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/stages/item/AccessReviewStageItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/stages/item/AccessReviewStageItemRequestBuilder.java index 3ac8a07f141..d0b5b3666c4 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/stages/item/AccessReviewStageItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/stages/item/AccessReviewStageItemRequestBuilder.java @@ -27,7 +27,10 @@ public class AccessReviewStageItemRequestBuilder extends BaseRequestBuilder { /** * Provides operations to call the acceptRecommendations method. * @return a {@link AcceptRecommendationsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AcceptRecommendationsRequestBuilder acceptRecommendations() { return new AcceptRecommendationsRequestBuilder(pathParameters, requestAdapter); @@ -35,7 +38,10 @@ public AcceptRecommendationsRequestBuilder acceptRecommendations() { /** * Provides operations to call the batchRecordDecisions method. * @return a {@link BatchRecordDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public BatchRecordDecisionsRequestBuilder batchRecordDecisions() { return new BatchRecordDecisionsRequestBuilder(pathParameters, requestAdapter); @@ -43,7 +49,10 @@ public BatchRecordDecisionsRequestBuilder batchRecordDecisions() { /** * Provides operations to manage the decisions property of the microsoft.graph.accessReviewStage entity. * @return a {@link DecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public DecisionsRequestBuilder decisions() { return new DecisionsRequestBuilder(pathParameters, requestAdapter); @@ -51,7 +60,10 @@ public DecisionsRequestBuilder decisions() { /** * Provides operations to call the stop method. * @return a {@link StopRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public StopRequestBuilder stop() { return new StopRequestBuilder(pathParameters, requestAdapter); @@ -75,7 +87,10 @@ public AccessReviewStageItemRequestBuilder(@jakarta.annotation.Nonnull final Str /** * Delete navigation property stages for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -83,7 +98,10 @@ public void delete() { * Delete navigation property stages for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -94,8 +112,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * If the instance has multiple stages, this returns the collection of stages. A new stage will only be created when the previous stage ends. The existence, number, and settings of stages on a review instance are created based on the accessReviewStageSettings on the parent accessReviewScheduleDefinition. * @return a {@link AccessReviewStage} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewStage get() { return get(null); } @@ -104,8 +125,11 @@ public AccessReviewStage get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewStage} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewStage get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -117,8 +141,11 @@ public AccessReviewStage get(@jakarta.annotation.Nullable final java.util.functi * @param body The request body * @return a {@link AccessReviewStage} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewStage patch(@jakarta.annotation.Nonnull final AccessReviewStage body) { return patch(body, null); } @@ -128,8 +155,11 @@ public AccessReviewStage patch(@jakarta.annotation.Nonnull final AccessReviewSta * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewStage} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewStage patch(@jakarta.annotation.Nonnull final AccessReviewStage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -140,8 +170,11 @@ public AccessReviewStage patch(@jakarta.annotation.Nonnull final AccessReviewSta /** * Delete navigation property stages for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -149,8 +182,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property stages for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -160,8 +196,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * If the instance has multiple stages, this returns the collection of stages. A new stage will only be created when the previous stage ends. The existence, number, and settings of stages on a review instance are created based on the accessReviewStageSettings on the parent accessReviewScheduleDefinition. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -169,8 +208,11 @@ public RequestInformation toGetRequestInformation() { * If the instance has multiple stages, this returns the collection of stages. A new stage will only be created when the previous stage ends. The existence, number, and settings of stages on a review instance are created based on the accessReviewStageSettings on the parent accessReviewScheduleDefinition. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -181,8 +223,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property stages in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewStage body) { return toPatchRequestInformation(body, null); } @@ -191,8 +236,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewStage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -205,8 +253,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessReviewStageItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessReviewStageItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessReviewStageItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/stages/item/acceptrecommendations/AcceptRecommendationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/stages/item/acceptrecommendations/AcceptRecommendationsRequestBuilder.java index cb1889a4857..ab81a9694c2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/stages/item/acceptrecommendations/AcceptRecommendationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/stages/item/acceptrecommendations/AcceptRecommendationsRequestBuilder.java @@ -37,8 +37,11 @@ public AcceptRecommendationsRequestBuilder(@jakarta.annotation.Nonnull final Str /** * Accept the recommendations on all accessReviewInstanceDecisionItem objects that haven't been reviewed within a single accessReviewStage of a multi-stage accessReviewInstance. Recommendations are generated if recommendationsEnabled is true on the accessReviewScheduleDefinition object. If there's no recommendation on an accessReviewInstanceDecisionItem object, no decision is recorded. This action accepts recommendations for the decisions in a specific stage only, unlike accessReviewInstance: acceptRecommendations, which operates across the entire instance. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * Accept the recommendations on all accessReviewInstanceDecisionItem objects that haven't been reviewed within a single accessReviewStage of a multi-stage accessReviewInstance. Recommendations are generated if recommendationsEnabled is true on the accessReviewScheduleDefinition object. If there's no recommendation on an accessReviewInstanceDecisionItem object, no decision is recorded. This action accepts recommendations for the decisions in a specific stage only, unlike accessReviewInstance: acceptRecommendations, which operates across the entire instance. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Accept the recommendations on all accessReviewInstanceDecisionItem objects that haven't been reviewed within a single accessReviewStage of a multi-stage accessReviewInstance. Recommendations are generated if recommendationsEnabled is true on the accessReviewScheduleDefinition object. If there's no recommendation on an accessReviewInstanceDecisionItem object, no decision is recorded. This action accepts recommendations for the decisions in a specific stage only, unlike accessReviewInstance: acceptRecommendations, which operates across the entire instance. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * Accept the recommendations on all accessReviewInstanceDecisionItem objects that haven't been reviewed within a single accessReviewStage of a multi-stage accessReviewInstance. Recommendations are generated if recommendationsEnabled is true on the accessReviewScheduleDefinition object. If there's no recommendation on an accessReviewInstanceDecisionItem object, no decision is recorded. This action accepts recommendations for the decisions in a specific stage only, unlike accessReviewInstance: acceptRecommendations, which operates across the entire instance. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AcceptRecommendationsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AcceptRecommendationsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AcceptRecommendationsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/stages/item/batchrecorddecisions/BatchRecordDecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/stages/item/batchrecorddecisions/BatchRecordDecisionsRequestBuilder.java index 65d1277a8f7..9aaa68d6bf4 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/stages/item/batchrecorddecisions/BatchRecordDecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/stages/item/batchrecorddecisions/BatchRecordDecisionsRequestBuilder.java @@ -38,8 +38,11 @@ public BatchRecordDecisionsRequestBuilder(@jakarta.annotation.Nonnull final Stri * Record decisions in bulk for all accessReviewInstanceDecisionItem objects within a single accessReviewStage of a multi-stage accessReviewInstance, by using principalId, resourceId, or neither. This action records decisions for a specific stage only, unlike accessReviewInstance: batchRecordDecisions, which operates across the entire instance. * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostRequestBody body) { post(body, null); } @@ -48,8 +51,11 @@ public void post(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostReque * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -61,8 +67,11 @@ public void post(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostReque * Record decisions in bulk for all accessReviewInstanceDecisionItem objects within a single accessReviewStage of a multi-stage accessReviewInstance, by using principalId, resourceId, or neither. This action records decisions for a specific stage only, unlike accessReviewInstance: batchRecordDecisions, which operates across the entire instance. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostRequestBody body) { return toPostRequestInformation(body, null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -85,8 +97,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link BatchRecordDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public BatchRecordDecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new BatchRecordDecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/stages/item/decisions/DecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/stages/item/decisions/DecisionsRequestBuilder.java index 459c2bc560a..68df64e7e87 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/stages/item/decisions/DecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/stages/item/decisions/DecisionsRequestBuilder.java @@ -28,7 +28,10 @@ public class DecisionsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -36,7 +39,10 @@ public CountRequestBuilder count() { /** * Provides operations to call the recordAllDecisions method. * @return a {@link RecordAllDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public RecordAllDecisionsRequestBuilder recordAllDecisions() { return new RecordAllDecisionsRequestBuilder(pathParameters, requestAdapter); @@ -45,8 +51,11 @@ public RecordAllDecisionsRequestBuilder recordAllDecisions() { * Provides operations to manage the decisions property of the microsoft.graph.accessReviewStage entity. * @param accessReviewInstanceDecisionItemId1 The unique identifier of accessReviewInstanceDecisionItem * @return a {@link AccessReviewInstanceDecisionItemItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessReviewInstanceDecisionItemItemRequestBuilder byAccessReviewInstanceDecisionItemId1(@jakarta.annotation.Nonnull final String accessReviewInstanceDecisionItemId1) { Objects.requireNonNull(accessReviewInstanceDecisionItemId1); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -73,8 +82,11 @@ public DecisionsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, * Provides operations to call the filterByCurrentUser method. * @param on Usage: on='{on}' * @return a {@link FilterByCurrentUserWithOnRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilterByCurrentUserWithOnRequestBuilder filterByCurrentUserWithOn(@jakarta.annotation.Nonnull final String on) { Objects.requireNonNull(on); return new FilterByCurrentUserWithOnRequestBuilder(pathParameters, requestAdapter, on); @@ -83,8 +95,11 @@ public FilterByCurrentUserWithOnRequestBuilder filterByCurrentUserWithOn(@jakart * Each user reviewed in an accessReviewStage has a decision item representing if they were approved, denied, or not yet reviewed. * @return a {@link AccessReviewInstanceDecisionItemCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItemCollectionResponse get() { return get(null); } @@ -93,8 +108,11 @@ public AccessReviewInstanceDecisionItemCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstanceDecisionItemCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItemCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -106,8 +124,11 @@ public AccessReviewInstanceDecisionItemCollectionResponse get(@jakarta.annotatio * @param body The request body * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem post(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body) { return post(body, null); } @@ -117,8 +138,11 @@ public AccessReviewInstanceDecisionItem post(@jakarta.annotation.Nonnull final A * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem post(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -129,8 +153,11 @@ public AccessReviewInstanceDecisionItem post(@jakarta.annotation.Nonnull final A /** * Each user reviewed in an accessReviewStage has a decision item representing if they were approved, denied, or not yet reviewed. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -138,8 +165,11 @@ public RequestInformation toGetRequestInformation() { * Each user reviewed in an accessReviewStage has a decision item representing if they were approved, denied, or not yet reviewed. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -150,8 +180,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to decisions for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body) { return toPostRequestInformation(body, null); } @@ -160,8 +193,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -174,8 +210,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link DecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public DecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new DecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/stages/item/decisions/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/stages/item/decisions/count/CountRequestBuilder.java index 562f23b3047..02daa271df9 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/stages/item/decisions/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/stages/item/decisions/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/stages/item/decisions/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/stages/item/decisions/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java index b2233413f25..de5d8b54690 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/stages/item/decisions/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/stages/item/decisions/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java @@ -41,9 +41,12 @@ public FilterByCurrentUserWithOnRequestBuilder(@jakarta.annotation.Nonnull final * Retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. * @return a {@link FilterByCurrentUserWithOnGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public FilterByCurrentUserWithOnGetResponse get() { return get(null); } @@ -52,9 +55,12 @@ public FilterByCurrentUserWithOnGetResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link FilterByCurrentUserWithOnGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public FilterByCurrentUserWithOnGetResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -64,8 +70,11 @@ public FilterByCurrentUserWithOnGetResponse get(@jakarta.annotation.Nullable fin /** * Retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -73,8 +82,11 @@ public RequestInformation toGetRequestInformation() { * Retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -85,8 +97,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link FilterByCurrentUserWithOnRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilterByCurrentUserWithOnRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new FilterByCurrentUserWithOnRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/stages/item/decisions/item/AccessReviewInstanceDecisionItemItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/stages/item/decisions/item/AccessReviewInstanceDecisionItemItemRequestBuilder.java index c1eb7294a6d..b13e2983d16 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/stages/item/decisions/item/AccessReviewInstanceDecisionItemItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/stages/item/decisions/item/AccessReviewInstanceDecisionItemItemRequestBuilder.java @@ -24,7 +24,10 @@ public class AccessReviewInstanceDecisionItemItemRequestBuilder extends BaseRequ /** * Provides operations to manage the insights property of the microsoft.graph.accessReviewInstanceDecisionItem entity. * @return a {@link InsightsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public InsightsRequestBuilder insights() { return new InsightsRequestBuilder(pathParameters, requestAdapter); @@ -48,7 +51,10 @@ public AccessReviewInstanceDecisionItemItemRequestBuilder(@jakarta.annotation.No /** * Delete navigation property decisions for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -56,7 +62,10 @@ public void delete() { * Delete navigation property decisions for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -67,8 +76,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Each user reviewed in an accessReviewStage has a decision item representing if they were approved, denied, or not yet reviewed. * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem get() { return get(null); } @@ -77,8 +89,11 @@ public AccessReviewInstanceDecisionItem get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -90,8 +105,11 @@ public AccessReviewInstanceDecisionItem get(@jakarta.annotation.Nullable final j * @param body The request body * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem patch(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body) { return patch(body, null); } @@ -101,8 +119,11 @@ public AccessReviewInstanceDecisionItem patch(@jakarta.annotation.Nonnull final * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem patch(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -113,8 +134,11 @@ public AccessReviewInstanceDecisionItem patch(@jakarta.annotation.Nonnull final /** * Delete navigation property decisions for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -122,8 +146,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property decisions for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -133,8 +160,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Each user reviewed in an accessReviewStage has a decision item representing if they were approved, denied, or not yet reviewed. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -142,8 +172,11 @@ public RequestInformation toGetRequestInformation() { * Each user reviewed in an accessReviewStage has a decision item representing if they were approved, denied, or not yet reviewed. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -154,8 +187,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property decisions in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body) { return toPatchRequestInformation(body, null); } @@ -164,8 +200,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -178,8 +217,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessReviewInstanceDecisionItemItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessReviewInstanceDecisionItemItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessReviewInstanceDecisionItemItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/stages/item/decisions/item/insights/InsightsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/stages/item/decisions/item/insights/InsightsRequestBuilder.java index b1c80778944..701e84ad9b1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/stages/item/decisions/item/insights/InsightsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/stages/item/decisions/item/insights/InsightsRequestBuilder.java @@ -26,7 +26,10 @@ public class InsightsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the insights property of the microsoft.graph.accessReviewInstanceDecisionItem entity. * @param governanceInsightId The unique identifier of governanceInsight * @return a {@link GovernanceInsightItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public GovernanceInsightItemRequestBuilder byGovernanceInsightId(@jakarta.annotation.Nonnull final String governanceInsightId) { Objects.requireNonNull(governanceInsightId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public InsightsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @return a {@link GovernanceInsightCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsightCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public GovernanceInsightCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GovernanceInsightCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsightCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public GovernanceInsightCollectionResponse get(@jakarta.annotation.Nullable fina * @param body The request body * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight post(@jakarta.annotation.Nonnull final GovernanceInsight body) { return post(body, null); } @@ -97,8 +112,11 @@ public GovernanceInsight post(@jakarta.annotation.Nonnull final GovernanceInsigh * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight post(@jakarta.annotation.Nonnull final GovernanceInsight body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public GovernanceInsight post(@jakarta.annotation.Nonnull final GovernanceInsigh /** * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to insights for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GovernanceInsight body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GovernanceInsight body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link InsightsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public InsightsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new InsightsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/stages/item/decisions/item/insights/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/stages/item/decisions/item/insights/count/CountRequestBuilder.java index 84157d57819..4c2a739db49 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/stages/item/decisions/item/insights/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/stages/item/decisions/item/insights/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/stages/item/decisions/item/insights/item/GovernanceInsightItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/stages/item/decisions/item/insights/item/GovernanceInsightItemRequestBuilder.java index be81e0c268f..79d123354aa 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/stages/item/decisions/item/insights/item/GovernanceInsightItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/stages/item/decisions/item/insights/item/GovernanceInsightItemRequestBuilder.java @@ -39,7 +39,10 @@ public GovernanceInsightItemRequestBuilder(@jakarta.annotation.Nonnull final Str /** * Delete navigation property insights for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -47,7 +50,10 @@ public void delete() { * Delete navigation property insights for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -58,8 +64,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight get() { return get(null); } @@ -68,8 +77,11 @@ public GovernanceInsight get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -81,8 +93,11 @@ public GovernanceInsight get(@jakarta.annotation.Nullable final java.util.functi * @param body The request body * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight patch(@jakarta.annotation.Nonnull final GovernanceInsight body) { return patch(body, null); } @@ -92,8 +107,11 @@ public GovernanceInsight patch(@jakarta.annotation.Nonnull final GovernanceInsig * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight patch(@jakarta.annotation.Nonnull final GovernanceInsight body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -104,8 +122,11 @@ public GovernanceInsight patch(@jakarta.annotation.Nonnull final GovernanceInsig /** * Delete navigation property insights for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -113,8 +134,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property insights for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -133,8 +160,11 @@ public RequestInformation toGetRequestInformation() { * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -145,8 +175,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property insights in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final GovernanceInsight body) { return toPatchRequestInformation(body, null); } @@ -155,8 +188,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final GovernanceInsight body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -169,8 +205,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link GovernanceInsightItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public GovernanceInsightItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new GovernanceInsightItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/stages/item/decisions/recordalldecisions/RecordAllDecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/stages/item/decisions/recordalldecisions/RecordAllDecisionsRequestBuilder.java index 6fa2f2bd72f..8d7abb1d98c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/stages/item/decisions/recordalldecisions/RecordAllDecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/stages/item/decisions/recordalldecisions/RecordAllDecisionsRequestBuilder.java @@ -38,8 +38,11 @@ public RecordAllDecisionsRequestBuilder(@jakarta.annotation.Nonnull final String * As a reviewer of an access review, record a decision for an accessReviewInstanceDecisionItem that is assigned to you and that matches the principal or resource IDs specified. If no IDs are specified, the decisions will apply to every accessReviewInstanceDecisionItem for which you are the reviewer. * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequestBody body) { post(body, null); } @@ -48,8 +51,11 @@ public void post(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequest * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -61,8 +67,11 @@ public void post(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequest * As a reviewer of an access review, record a decision for an accessReviewInstanceDecisionItem that is assigned to you and that matches the principal or resource IDs specified. If no IDs are specified, the decisions will apply to every accessReviewInstanceDecisionItem for which you are the reviewer. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequestBody body) { return toPostRequestInformation(body, null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -85,8 +97,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RecordAllDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RecordAllDecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RecordAllDecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/stages/item/stop/StopRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/stages/item/stop/StopRequestBuilder.java index a1c3d9d8468..53b3b98c9e3 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/stages/item/stop/StopRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/stages/item/stop/StopRequestBuilder.java @@ -37,8 +37,11 @@ public StopRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jaka /** * Stop an access review stage that is inProgress. After the access review stage stops, the stage status will be Completed and the reviewers can no longer give input. If there are subsequent stages that depend on the completed stage, the next stage will be created. The accessReviewInstanceDecisionItem objects will always reflect the last decisions recorded across all stages at that given time, regardless of the status of the stages. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * Stop an access review stage that is inProgress. After the access review stage stops, the stage status will be Completed and the reviewers can no longer give input. If there are subsequent stages that depend on the completed stage, the next stage will be created. The accessReviewInstanceDecisionItem objects will always reflect the last decisions recorded across all stages at that given time, regardless of the status of the stages. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Stop an access review stage that is inProgress. After the access review stage stops, the stage status will be Completed and the reviewers can no longer give input. If there are subsequent stages that depend on the completed stage, the next stage will be created. The accessReviewInstanceDecisionItem objects will always reflect the last decisions recorded across all stages at that given time, regardless of the status of the stages. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * Stop an access review stage that is inProgress. After the access review stage stops, the stage status will be Completed and the reviewers can no longer give input. If there are subsequent stages that depend on the completed stage, the next stage will be created. The accessReviewInstanceDecisionItem objects will always reflect the last decisions recorded across all stages at that given time, regardless of the status of the stages. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link StopRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public StopRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new StopRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/stop/StopRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/stop/StopRequestBuilder.java index df34a599576..d4917ab60e8 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/stop/StopRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/stop/StopRequestBuilder.java @@ -37,8 +37,11 @@ public StopRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jaka /** * Stop a currently active accessReviewInstance. After the access review instance stops, the instance status will be Completed, the reviewers can no longer give input, and the access review decisions can be applied. Stopping an instance will not effect future instances. To prevent a recurring access review from starting future instances, update the schedule definition to change its scheduled end date. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * Stop a currently active accessReviewInstance. After the access review instance stops, the instance status will be Completed, the reviewers can no longer give input, and the access review decisions can be applied. Stopping an instance will not effect future instances. To prevent a recurring access review from starting future instances, update the schedule definition to change its scheduled end date. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Stop a currently active accessReviewInstance. After the access review instance stops, the instance status will be Completed, the reviewers can no longer give input, and the access review decisions can be applied. Stopping an instance will not effect future instances. To prevent a recurring access review from starting future instances, update the schedule definition to change its scheduled end date. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * Stop a currently active accessReviewInstance. After the access review instance stops, the instance status will be Completed, the reviewers can no longer give input, and the access review decisions can be applied. Stopping an instance will not effect future instances. To prevent a recurring access review from starting future instances, update the schedule definition to change its scheduled end date. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link StopRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public StopRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new StopRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/stopapplydecisions/StopApplyDecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/stopapplydecisions/StopApplyDecisionsRequestBuilder.java index f6b7b9fb3c7..e0e43faffd0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/stopapplydecisions/StopApplyDecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/item/instance/stopapplydecisions/StopApplyDecisionsRequestBuilder.java @@ -37,7 +37,10 @@ public StopApplyDecisionsRequestBuilder(@jakarta.annotation.Nonnull final String /** * Invoke action stopApplyDecisions * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void post() { post(null); } @@ -45,7 +48,10 @@ public void post() { * Invoke action stopApplyDecisions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -55,8 +61,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Invoke action stopApplyDecisions * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -64,8 +73,11 @@ public RequestInformation toPostRequestInformation() { * Invoke action stopApplyDecisions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -76,8 +88,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link StopApplyDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public StopApplyDecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new StopApplyDecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/recordalldecisions/RecordAllDecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/recordalldecisions/RecordAllDecisionsRequestBuilder.java index 24ddb6b231c..5a8bdd0f595 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/recordalldecisions/RecordAllDecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/decisions/recordalldecisions/RecordAllDecisionsRequestBuilder.java @@ -38,8 +38,11 @@ public RecordAllDecisionsRequestBuilder(@jakarta.annotation.Nonnull final String * As a reviewer of an access review, record a decision for an accessReviewInstanceDecisionItem that is assigned to you and that matches the principal or resource IDs specified. If no IDs are specified, the decisions will apply to every accessReviewInstanceDecisionItem for which you are the reviewer. * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequestBody body) { post(body, null); } @@ -48,8 +51,11 @@ public void post(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequest * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -61,8 +67,11 @@ public void post(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequest * As a reviewer of an access review, record a decision for an accessReviewInstanceDecisionItem that is assigned to you and that matches the principal or resource IDs specified. If no IDs are specified, the decisions will apply to every accessReviewInstanceDecisionItem for which you are the reviewer. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequestBody body) { return toPostRequestInformation(body, null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -85,8 +97,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RecordAllDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RecordAllDecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RecordAllDecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/DefinitionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/DefinitionsRequestBuilder.java index ad4c467f425..e82bf63b7f9 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/DefinitionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/DefinitionsRequestBuilder.java @@ -27,7 +27,10 @@ public class DefinitionsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -36,8 +39,11 @@ public CountRequestBuilder count() { * Provides operations to manage the definitions property of the microsoft.graph.unifiedRoot entity. * @param accessReviewScheduleDefinitionId The unique identifier of accessReviewScheduleDefinition * @return a {@link AccessReviewScheduleDefinitionItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessReviewScheduleDefinitionItemRequestBuilder byAccessReviewScheduleDefinitionId(@jakarta.annotation.Nonnull final String accessReviewScheduleDefinitionId) { Objects.requireNonNull(accessReviewScheduleDefinitionId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -64,8 +70,11 @@ public DefinitionsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl * Provides operations to call the filterByCurrentUser method. * @param on Usage: on='{on}' * @return a {@link FilterByCurrentUserWithOnRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilterByCurrentUserWithOnRequestBuilder filterByCurrentUserWithOn(@jakarta.annotation.Nonnull final String on) { Objects.requireNonNull(on); return new FilterByCurrentUserWithOnRequestBuilder(pathParameters, requestAdapter, on); @@ -74,9 +83,12 @@ public FilterByCurrentUserWithOnRequestBuilder filterByCurrentUserWithOn(@jakart * Retrieve the accessReviewScheduleDefinition objects for user-centric (catalog-scope) access reviews through the unified route. A list of zero or more accessReviewScheduleDefinition objects is returned, including all of their nested properties, for each access review series created. This doesn't include the associated accessReviewInstance objects. * @return a {@link AccessReviewScheduleDefinitionCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewScheduleDefinitionCollectionResponse get() { return get(null); } @@ -85,9 +97,12 @@ public AccessReviewScheduleDefinitionCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewScheduleDefinitionCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewScheduleDefinitionCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -99,9 +114,12 @@ public AccessReviewScheduleDefinitionCollectionResponse get(@jakarta.annotation. * @param body The request body * @return a {@link AccessReviewScheduleDefinition} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewScheduleDefinition post(@jakarta.annotation.Nonnull final AccessReviewScheduleDefinition body) { return post(body, null); } @@ -111,9 +129,12 @@ public AccessReviewScheduleDefinition post(@jakarta.annotation.Nonnull final Acc * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewScheduleDefinition} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewScheduleDefinition post(@jakarta.annotation.Nonnull final AccessReviewScheduleDefinition body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -124,8 +145,11 @@ public AccessReviewScheduleDefinition post(@jakarta.annotation.Nonnull final Acc /** * Retrieve the accessReviewScheduleDefinition objects for user-centric (catalog-scope) access reviews through the unified route. A list of zero or more accessReviewScheduleDefinition objects is returned, including all of their nested properties, for each access review series created. This doesn't include the associated accessReviewInstance objects. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -133,8 +157,11 @@ public RequestInformation toGetRequestInformation() { * Retrieve the accessReviewScheduleDefinition objects for user-centric (catalog-scope) access reviews through the unified route. A list of zero or more accessReviewScheduleDefinition objects is returned, including all of their nested properties, for each access review series created. This doesn't include the associated accessReviewInstance objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -145,8 +172,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create a new user-centric (catalog-scope) accessReviewScheduleDefinition object through the unified route. With a user-centric review, a reviewer evaluates a principal's access to every group and application contained in an entitlement management catalog in a single review. The catalog is identified in the resourceScopes collection of the principalResourceMembershipsScope. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewScheduleDefinition body) { return toPostRequestInformation(body, null); } @@ -155,8 +185,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewScheduleDefinition body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -169,8 +202,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link DefinitionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public DefinitionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new DefinitionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/count/CountRequestBuilder.java index 780375c1c7e..43d511dba26 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java index 27d787f4a0f..cbdbb3a8855 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java @@ -41,9 +41,12 @@ public FilterByCurrentUserWithOnRequestBuilder(@jakarta.annotation.Nonnull final * Returns accessReviewScheduleDefinition objects where the calling user is a reviewer on one or more accessReviewInstance objects. * @return a {@link FilterByCurrentUserWithOnGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public FilterByCurrentUserWithOnGetResponse get() { return get(null); } @@ -52,9 +55,12 @@ public FilterByCurrentUserWithOnGetResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link FilterByCurrentUserWithOnGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public FilterByCurrentUserWithOnGetResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -64,8 +70,11 @@ public FilterByCurrentUserWithOnGetResponse get(@jakarta.annotation.Nullable fin /** * Returns accessReviewScheduleDefinition objects where the calling user is a reviewer on one or more accessReviewInstance objects. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -73,8 +82,11 @@ public RequestInformation toGetRequestInformation() { * Returns accessReviewScheduleDefinition objects where the calling user is a reviewer on one or more accessReviewInstance objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -85,8 +97,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link FilterByCurrentUserWithOnRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilterByCurrentUserWithOnRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new FilterByCurrentUserWithOnRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/AccessReviewScheduleDefinitionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/AccessReviewScheduleDefinitionItemRequestBuilder.java index acab34010a3..6c34a62459d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/AccessReviewScheduleDefinitionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/AccessReviewScheduleDefinitionItemRequestBuilder.java @@ -25,7 +25,10 @@ public class AccessReviewScheduleDefinitionItemRequestBuilder extends BaseReques /** * Provides operations to manage the instances property of the microsoft.graph.accessReviewScheduleDefinition entity. * @return a {@link InstancesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public InstancesRequestBuilder instances() { return new InstancesRequestBuilder(pathParameters, requestAdapter); @@ -33,7 +36,10 @@ public InstancesRequestBuilder instances() { /** * Provides operations to call the stop method. * @return a {@link StopRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public StopRequestBuilder stop() { return new StopRequestBuilder(pathParameters, requestAdapter); @@ -57,7 +63,10 @@ public AccessReviewScheduleDefinitionItemRequestBuilder(@jakarta.annotation.Nonn /** * Delete navigation property definitions for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -65,7 +74,10 @@ public void delete() { * Delete navigation property definitions for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -76,8 +88,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Represents the unified (vNext) template and scheduling for an access review. * @return a {@link AccessReviewScheduleDefinition} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewScheduleDefinition get() { return get(null); } @@ -86,8 +101,11 @@ public AccessReviewScheduleDefinition get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewScheduleDefinition} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewScheduleDefinition get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -99,8 +117,11 @@ public AccessReviewScheduleDefinition get(@jakarta.annotation.Nullable final jav * @param body The request body * @return a {@link AccessReviewScheduleDefinition} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewScheduleDefinition patch(@jakarta.annotation.Nonnull final AccessReviewScheduleDefinition body) { return patch(body, null); } @@ -110,8 +131,11 @@ public AccessReviewScheduleDefinition patch(@jakarta.annotation.Nonnull final Ac * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewScheduleDefinition} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewScheduleDefinition patch(@jakarta.annotation.Nonnull final AccessReviewScheduleDefinition body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -122,8 +146,11 @@ public AccessReviewScheduleDefinition patch(@jakarta.annotation.Nonnull final Ac /** * Delete navigation property definitions for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -131,8 +158,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property definitions for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -142,8 +172,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Represents the unified (vNext) template and scheduling for an access review. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -151,8 +184,11 @@ public RequestInformation toGetRequestInformation() { * Represents the unified (vNext) template and scheduling for an access review. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -163,8 +199,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property definitions in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewScheduleDefinition body) { return toPatchRequestInformation(body, null); } @@ -173,8 +212,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewScheduleDefinition body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -187,8 +229,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessReviewScheduleDefinitionItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessReviewScheduleDefinitionItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessReviewScheduleDefinitionItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/InstancesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/InstancesRequestBuilder.java index 3215a122ca7..7ca676d51ef 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/InstancesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/InstancesRequestBuilder.java @@ -27,7 +27,10 @@ public class InstancesRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -36,8 +39,11 @@ public CountRequestBuilder count() { * Provides operations to manage the instances property of the microsoft.graph.accessReviewScheduleDefinition entity. * @param accessReviewInstanceId The unique identifier of accessReviewInstance * @return a {@link AccessReviewInstanceItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessReviewInstanceItemRequestBuilder byAccessReviewInstanceId(@jakarta.annotation.Nonnull final String accessReviewInstanceId) { Objects.requireNonNull(accessReviewInstanceId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -64,8 +70,11 @@ public InstancesRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, * Provides operations to call the filterByCurrentUser method. * @param on Usage: on='{on}' * @return a {@link FilterByCurrentUserWithOnRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilterByCurrentUserWithOnRequestBuilder filterByCurrentUserWithOn(@jakarta.annotation.Nonnull final String on) { Objects.requireNonNull(on); return new FilterByCurrentUserWithOnRequestBuilder(pathParameters, requestAdapter, on); @@ -74,8 +83,11 @@ public FilterByCurrentUserWithOnRequestBuilder filterByCurrentUserWithOn(@jakart * Set of access reviews instances for this access review series. Access reviews that don't recur will only have one instance; otherwise, there's an instance for each recurrence. * @return a {@link AccessReviewInstanceCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceCollectionResponse get() { return get(null); } @@ -84,8 +96,11 @@ public AccessReviewInstanceCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstanceCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -97,8 +112,11 @@ public AccessReviewInstanceCollectionResponse get(@jakarta.annotation.Nullable f * @param body The request body * @return a {@link AccessReviewInstance} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstance post(@jakarta.annotation.Nonnull final AccessReviewInstance body) { return post(body, null); } @@ -108,8 +126,11 @@ public AccessReviewInstance post(@jakarta.annotation.Nonnull final AccessReviewI * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstance} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstance post(@jakarta.annotation.Nonnull final AccessReviewInstance body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -120,8 +141,11 @@ public AccessReviewInstance post(@jakarta.annotation.Nonnull final AccessReviewI /** * Set of access reviews instances for this access review series. Access reviews that don't recur will only have one instance; otherwise, there's an instance for each recurrence. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -129,8 +153,11 @@ public RequestInformation toGetRequestInformation() { * Set of access reviews instances for this access review series. Access reviews that don't recur will only have one instance; otherwise, there's an instance for each recurrence. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -141,8 +168,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to instances for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstance body) { return toPostRequestInformation(body, null); } @@ -151,8 +181,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstance body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -165,8 +198,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link InstancesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public InstancesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new InstancesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/count/CountRequestBuilder.java index af460aa9ec9..82e131f94a6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java index f86b850420d..7eeb3ef1909 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java @@ -41,9 +41,12 @@ public FilterByCurrentUserWithOnRequestBuilder(@jakarta.annotation.Nonnull final * Returns all accessReviewInstance objects on a given accessReviewScheduleDefinition where the calling user is a reviewer on one or more accessReviewInstanceDecisionItem objects. * @return a {@link FilterByCurrentUserWithOnGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public FilterByCurrentUserWithOnGetResponse get() { return get(null); } @@ -52,9 +55,12 @@ public FilterByCurrentUserWithOnGetResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link FilterByCurrentUserWithOnGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public FilterByCurrentUserWithOnGetResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -64,8 +70,11 @@ public FilterByCurrentUserWithOnGetResponse get(@jakarta.annotation.Nullable fin /** * Returns all accessReviewInstance objects on a given accessReviewScheduleDefinition where the calling user is a reviewer on one or more accessReviewInstanceDecisionItem objects. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -73,8 +82,11 @@ public RequestInformation toGetRequestInformation() { * Returns all accessReviewInstance objects on a given accessReviewScheduleDefinition where the calling user is a reviewer on one or more accessReviewInstanceDecisionItem objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -85,8 +97,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link FilterByCurrentUserWithOnRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilterByCurrentUserWithOnRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new FilterByCurrentUserWithOnRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/AccessReviewInstanceItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/AccessReviewInstanceItemRequestBuilder.java index 118d5a52874..9a3dba06aba 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/AccessReviewInstanceItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/AccessReviewInstanceItemRequestBuilder.java @@ -35,7 +35,10 @@ public class AccessReviewInstanceItemRequestBuilder extends BaseRequestBuilder { /** * Provides operations to call the acceptRecommendations method. * @return a {@link AcceptRecommendationsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AcceptRecommendationsRequestBuilder acceptRecommendations() { return new AcceptRecommendationsRequestBuilder(pathParameters, requestAdapter); @@ -43,7 +46,10 @@ public AcceptRecommendationsRequestBuilder acceptRecommendations() { /** * Provides operations to call the applyDecisions method. * @return a {@link ApplyDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ApplyDecisionsRequestBuilder applyDecisions() { return new ApplyDecisionsRequestBuilder(pathParameters, requestAdapter); @@ -51,7 +57,10 @@ public ApplyDecisionsRequestBuilder applyDecisions() { /** * Provides operations to call the batchApplyCustomDataProvidedResourceDecisions method. * @return a {@link BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder batchApplyCustomDataProvidedResourceDecisions() { return new BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder(pathParameters, requestAdapter); @@ -59,7 +68,10 @@ public BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder batchApplyCus /** * Provides operations to call the batchRecordDecisions method. * @return a {@link BatchRecordDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public BatchRecordDecisionsRequestBuilder batchRecordDecisions() { return new BatchRecordDecisionsRequestBuilder(pathParameters, requestAdapter); @@ -67,7 +79,10 @@ public BatchRecordDecisionsRequestBuilder batchRecordDecisions() { /** * Provides operations to manage the contactedReviewers property of the microsoft.graph.accessReviewInstance entity. * @return a {@link ContactedReviewersRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ContactedReviewersRequestBuilder contactedReviewers() { return new ContactedReviewersRequestBuilder(pathParameters, requestAdapter); @@ -75,7 +90,10 @@ public ContactedReviewersRequestBuilder contactedReviewers() { /** * Provides operations to manage the decisions property of the microsoft.graph.accessReviewInstance entity. * @return a {@link DecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public DecisionsRequestBuilder decisions() { return new DecisionsRequestBuilder(pathParameters, requestAdapter); @@ -83,7 +101,10 @@ public DecisionsRequestBuilder decisions() { /** * Provides operations to manage the definition property of the microsoft.graph.accessReviewInstance entity. * @return a {@link DefinitionRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public DefinitionRequestBuilder definition() { return new DefinitionRequestBuilder(pathParameters, requestAdapter); @@ -91,7 +112,10 @@ public DefinitionRequestBuilder definition() { /** * Provides operations to call the resetDecisions method. * @return a {@link ResetDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ResetDecisionsRequestBuilder resetDecisions() { return new ResetDecisionsRequestBuilder(pathParameters, requestAdapter); @@ -99,7 +123,10 @@ public ResetDecisionsRequestBuilder resetDecisions() { /** * Provides operations to call the sendReminder method. * @return a {@link SendReminderRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public SendReminderRequestBuilder sendReminder() { return new SendReminderRequestBuilder(pathParameters, requestAdapter); @@ -107,7 +134,10 @@ public SendReminderRequestBuilder sendReminder() { /** * Provides operations to manage the stages property of the microsoft.graph.accessReviewInstance entity. * @return a {@link StagesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public StagesRequestBuilder stages() { return new StagesRequestBuilder(pathParameters, requestAdapter); @@ -115,7 +145,10 @@ public StagesRequestBuilder stages() { /** * Provides operations to call the stop method. * @return a {@link StopRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public StopRequestBuilder stop() { return new StopRequestBuilder(pathParameters, requestAdapter); @@ -123,7 +156,10 @@ public StopRequestBuilder stop() { /** * Provides operations to call the stopApplyDecisions method. * @return a {@link StopApplyDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public StopApplyDecisionsRequestBuilder stopApplyDecisions() { return new StopApplyDecisionsRequestBuilder(pathParameters, requestAdapter); @@ -147,7 +183,10 @@ public AccessReviewInstanceItemRequestBuilder(@jakarta.annotation.Nonnull final /** * Delete navigation property instances for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -155,7 +194,10 @@ public void delete() { * Delete navigation property instances for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -166,8 +208,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Set of access reviews instances for this access review series. Access reviews that don't recur will only have one instance; otherwise, there's an instance for each recurrence. * @return a {@link AccessReviewInstance} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstance get() { return get(null); } @@ -176,8 +221,11 @@ public AccessReviewInstance get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstance} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstance get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -189,8 +237,11 @@ public AccessReviewInstance get(@jakarta.annotation.Nullable final java.util.fun * @param body The request body * @return a {@link AccessReviewInstance} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstance patch(@jakarta.annotation.Nonnull final AccessReviewInstance body) { return patch(body, null); } @@ -200,8 +251,11 @@ public AccessReviewInstance patch(@jakarta.annotation.Nonnull final AccessReview * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstance} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstance patch(@jakarta.annotation.Nonnull final AccessReviewInstance body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -212,8 +266,11 @@ public AccessReviewInstance patch(@jakarta.annotation.Nonnull final AccessReview /** * Delete navigation property instances for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -221,8 +278,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property instances for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -232,8 +292,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Set of access reviews instances for this access review series. Access reviews that don't recur will only have one instance; otherwise, there's an instance for each recurrence. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -241,8 +304,11 @@ public RequestInformation toGetRequestInformation() { * Set of access reviews instances for this access review series. Access reviews that don't recur will only have one instance; otherwise, there's an instance for each recurrence. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -253,8 +319,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property instances in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstance body) { return toPatchRequestInformation(body, null); } @@ -263,8 +332,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstance body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -277,8 +349,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessReviewInstanceItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessReviewInstanceItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessReviewInstanceItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/acceptrecommendations/AcceptRecommendationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/acceptrecommendations/AcceptRecommendationsRequestBuilder.java index a174b16d556..461e5288efe 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/acceptrecommendations/AcceptRecommendationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/acceptrecommendations/AcceptRecommendationsRequestBuilder.java @@ -37,8 +37,11 @@ public AcceptRecommendationsRequestBuilder(@jakarta.annotation.Nonnull final Str /** * Allows the acceptance of recommendations on all accessReviewInstanceDecisionItem objects that haven't been reviewed for an accessReviewInstance object for which the calling user is a reviewer. Recommendations are generated if recommendationsEnabled is true on the accessReviewScheduleDefinition object. If there isn't a recommendation on an accessReviewInstanceDecisionItem object no decision will be recorded. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * Allows the acceptance of recommendations on all accessReviewInstanceDecisionItem objects that haven't been reviewed for an accessReviewInstance object for which the calling user is a reviewer. Recommendations are generated if recommendationsEnabled is true on the accessReviewScheduleDefinition object. If there isn't a recommendation on an accessReviewInstanceDecisionItem object no decision will be recorded. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Allows the acceptance of recommendations on all accessReviewInstanceDecisionItem objects that haven't been reviewed for an accessReviewInstance object for which the calling user is a reviewer. Recommendations are generated if recommendationsEnabled is true on the accessReviewScheduleDefinition object. If there isn't a recommendation on an accessReviewInstanceDecisionItem object no decision will be recorded. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * Allows the acceptance of recommendations on all accessReviewInstanceDecisionItem objects that haven't been reviewed for an accessReviewInstance object for which the calling user is a reviewer. Recommendations are generated if recommendationsEnabled is true on the accessReviewScheduleDefinition object. If there isn't a recommendation on an accessReviewInstanceDecisionItem object no decision will be recorded. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AcceptRecommendationsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AcceptRecommendationsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AcceptRecommendationsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/applydecisions/ApplyDecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/applydecisions/ApplyDecisionsRequestBuilder.java index e675214ec1c..1ab586e8a89 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/applydecisions/ApplyDecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/applydecisions/ApplyDecisionsRequestBuilder.java @@ -37,8 +37,11 @@ public ApplyDecisionsRequestBuilder(@jakarta.annotation.Nonnull final String raw /** * Apply review decisions on an accessReviewInstance if the decisions were not applied automatically because the autoApplyDecisionsEnabled property is false in the review's accessReviewScheduleSettings. The status of the accessReviewInstance must be Completed to call this method. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * Apply review decisions on an accessReviewInstance if the decisions were not applied automatically because the autoApplyDecisionsEnabled property is false in the review's accessReviewScheduleSettings. The status of the accessReviewInstance must be Completed to call this method. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Apply review decisions on an accessReviewInstance if the decisions were not applied automatically because the autoApplyDecisionsEnabled property is false in the review's accessReviewScheduleSettings. The status of the accessReviewInstance must be Completed to call this method. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * Apply review decisions on an accessReviewInstance if the decisions were not applied automatically because the autoApplyDecisionsEnabled property is false in the review's accessReviewScheduleSettings. The status of the accessReviewInstance must be Completed to call this method. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ApplyDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ApplyDecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ApplyDecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/batchapplycustomdataprovidedresourcedecisions/BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/batchapplycustomdataprovidedresourcedecisions/BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder.java index daacb5eab25..10454550d1e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/batchapplycustomdataprovidedresourcedecisions/BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/batchapplycustomdataprovidedresourcedecisions/BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder.java @@ -38,8 +38,11 @@ public BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder(@jakarta.anno * Enables reviewers to set the applyResult and applyDescription on all accessReviewInstanceDecisionItem objects in a specific accessReviewInstance in batches by using customDataProvidedResourceId. NOTE: The access review instance must be in an Applying state. * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final BatchApplyCustomDataProvidedResourceDecisionsPostRequestBody body) { post(body, null); } @@ -48,8 +51,11 @@ public void post(@jakarta.annotation.Nonnull final BatchApplyCustomDataProvidedR * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final BatchApplyCustomDataProvidedResourceDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -61,8 +67,11 @@ public void post(@jakarta.annotation.Nonnull final BatchApplyCustomDataProvidedR * Enables reviewers to set the applyResult and applyDescription on all accessReviewInstanceDecisionItem objects in a specific accessReviewInstance in batches by using customDataProvidedResourceId. NOTE: The access review instance must be in an Applying state. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BatchApplyCustomDataProvidedResourceDecisionsPostRequestBody body) { return toPostRequestInformation(body, null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BatchApplyCustomDataProvidedResourceDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -85,8 +97,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/batchrecorddecisions/BatchRecordDecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/batchrecorddecisions/BatchRecordDecisionsRequestBuilder.java index 2e4f8b08cc9..8ce484e8263 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/batchrecorddecisions/BatchRecordDecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/batchrecorddecisions/BatchRecordDecisionsRequestBuilder.java @@ -38,8 +38,11 @@ public BatchRecordDecisionsRequestBuilder(@jakarta.annotation.Nonnull final Stri * Enables reviewers to review all accessReviewInstanceDecisionItem objects in a specific pending accessReviewInstance in batches by using principalId, resourceId, or neither. * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostRequestBody body) { post(body, null); } @@ -48,8 +51,11 @@ public void post(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostReque * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -61,8 +67,11 @@ public void post(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostReque * Enables reviewers to review all accessReviewInstanceDecisionItem objects in a specific pending accessReviewInstance in batches by using principalId, resourceId, or neither. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostRequestBody body) { return toPostRequestInformation(body, null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -85,8 +97,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link BatchRecordDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public BatchRecordDecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new BatchRecordDecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/contactedreviewers/ContactedReviewersRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/contactedreviewers/ContactedReviewersRequestBuilder.java index 6565e510171..7c5ceb473b7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/contactedreviewers/ContactedReviewersRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/contactedreviewers/ContactedReviewersRequestBuilder.java @@ -26,7 +26,10 @@ public class ContactedReviewersRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the contactedReviewers property of the microsoft.graph.accessReviewInstance entity. * @param accessReviewReviewerId The unique identifier of accessReviewReviewer * @return a {@link AccessReviewReviewerItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessReviewReviewerItemRequestBuilder byAccessReviewReviewerId(@jakarta.annotation.Nonnull final String accessReviewReviewerId) { Objects.requireNonNull(accessReviewReviewerId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public ContactedReviewersRequestBuilder(@jakarta.annotation.Nonnull final String * Returns the collection of reviewers who were contacted to complete this review. While the reviewers and fallbackReviewers properties of the accessReviewScheduleDefinition might specify group owners or managers as reviewers, contactedReviewers returns their individual identities. Supports $select. Read-only. * @return a {@link AccessReviewReviewerCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewReviewerCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public AccessReviewReviewerCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewReviewerCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewReviewerCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public AccessReviewReviewerCollectionResponse get(@jakarta.annotation.Nullable f * @param body The request body * @return a {@link AccessReviewReviewer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewReviewer post(@jakarta.annotation.Nonnull final AccessReviewReviewer body) { return post(body, null); } @@ -97,8 +112,11 @@ public AccessReviewReviewer post(@jakarta.annotation.Nonnull final AccessReviewR * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewReviewer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewReviewer post(@jakarta.annotation.Nonnull final AccessReviewReviewer body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public AccessReviewReviewer post(@jakarta.annotation.Nonnull final AccessReviewR /** * Returns the collection of reviewers who were contacted to complete this review. While the reviewers and fallbackReviewers properties of the accessReviewScheduleDefinition might specify group owners or managers as reviewers, contactedReviewers returns their individual identities. Supports $select. Read-only. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Returns the collection of reviewers who were contacted to complete this review. While the reviewers and fallbackReviewers properties of the accessReviewScheduleDefinition might specify group owners or managers as reviewers, contactedReviewers returns their individual identities. Supports $select. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to contactedReviewers for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewReviewer body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewReviewer body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ContactedReviewersRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ContactedReviewersRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ContactedReviewersRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/contactedreviewers/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/contactedreviewers/count/CountRequestBuilder.java index 073da88c6cb..5ca7dcefcf6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/contactedreviewers/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/contactedreviewers/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/contactedreviewers/item/AccessReviewReviewerItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/contactedreviewers/item/AccessReviewReviewerItemRequestBuilder.java index c5adc114160..ba0d204e2c2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/contactedreviewers/item/AccessReviewReviewerItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/contactedreviewers/item/AccessReviewReviewerItemRequestBuilder.java @@ -39,7 +39,10 @@ public AccessReviewReviewerItemRequestBuilder(@jakarta.annotation.Nonnull final /** * Delete navigation property contactedReviewers for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -47,7 +50,10 @@ public void delete() { * Delete navigation property contactedReviewers for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -58,8 +64,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Returns the collection of reviewers who were contacted to complete this review. While the reviewers and fallbackReviewers properties of the accessReviewScheduleDefinition might specify group owners or managers as reviewers, contactedReviewers returns their individual identities. Supports $select. Read-only. * @return a {@link AccessReviewReviewer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewReviewer get() { return get(null); } @@ -68,8 +77,11 @@ public AccessReviewReviewer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewReviewer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewReviewer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -81,8 +93,11 @@ public AccessReviewReviewer get(@jakarta.annotation.Nullable final java.util.fun * @param body The request body * @return a {@link AccessReviewReviewer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewReviewer patch(@jakarta.annotation.Nonnull final AccessReviewReviewer body) { return patch(body, null); } @@ -92,8 +107,11 @@ public AccessReviewReviewer patch(@jakarta.annotation.Nonnull final AccessReview * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewReviewer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewReviewer patch(@jakarta.annotation.Nonnull final AccessReviewReviewer body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -104,8 +122,11 @@ public AccessReviewReviewer patch(@jakarta.annotation.Nonnull final AccessReview /** * Delete navigation property contactedReviewers for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -113,8 +134,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property contactedReviewers for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Returns the collection of reviewers who were contacted to complete this review. While the reviewers and fallbackReviewers properties of the accessReviewScheduleDefinition might specify group owners or managers as reviewers, contactedReviewers returns their individual identities. Supports $select. Read-only. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -133,8 +160,11 @@ public RequestInformation toGetRequestInformation() { * Returns the collection of reviewers who were contacted to complete this review. While the reviewers and fallbackReviewers properties of the accessReviewScheduleDefinition might specify group owners or managers as reviewers, contactedReviewers returns their individual identities. Supports $select. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -145,8 +175,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property contactedReviewers in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewReviewer body) { return toPatchRequestInformation(body, null); } @@ -155,8 +188,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewReviewer body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -169,8 +205,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessReviewReviewerItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessReviewReviewerItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessReviewReviewerItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/DecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/DecisionsRequestBuilder.java index f716601cee9..27a243ee5f2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/DecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/DecisionsRequestBuilder.java @@ -28,7 +28,10 @@ public class DecisionsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -36,7 +39,10 @@ public CountRequestBuilder count() { /** * Provides operations to call the recordAllDecisions method. * @return a {@link RecordAllDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public RecordAllDecisionsRequestBuilder recordAllDecisions() { return new RecordAllDecisionsRequestBuilder(pathParameters, requestAdapter); @@ -45,8 +51,11 @@ public RecordAllDecisionsRequestBuilder recordAllDecisions() { * Provides operations to manage the decisions property of the microsoft.graph.accessReviewInstance entity. * @param accessReviewInstanceDecisionItemId The unique identifier of accessReviewInstanceDecisionItem * @return a {@link AccessReviewInstanceDecisionItemItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessReviewInstanceDecisionItemItemRequestBuilder byAccessReviewInstanceDecisionItemId(@jakarta.annotation.Nonnull final String accessReviewInstanceDecisionItemId) { Objects.requireNonNull(accessReviewInstanceDecisionItemId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -73,8 +82,11 @@ public DecisionsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, * Provides operations to call the filterByCurrentUser method. * @param on Usage: on='{on}' * @return a {@link FilterByCurrentUserWithOnRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilterByCurrentUserWithOnRequestBuilder filterByCurrentUserWithOn(@jakarta.annotation.Nonnull final String on) { Objects.requireNonNull(on); return new FilterByCurrentUserWithOnRequestBuilder(pathParameters, requestAdapter, on); @@ -83,8 +95,11 @@ public FilterByCurrentUserWithOnRequestBuilder filterByCurrentUserWithOn(@jakart * Each user reviewed in an accessReviewInstance has a decision item representing if they were approved, denied, or not yet reviewed. * @return a {@link AccessReviewInstanceDecisionItemCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItemCollectionResponse get() { return get(null); } @@ -93,8 +108,11 @@ public AccessReviewInstanceDecisionItemCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstanceDecisionItemCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItemCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -106,8 +124,11 @@ public AccessReviewInstanceDecisionItemCollectionResponse get(@jakarta.annotatio * @param body The request body * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem post(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body) { return post(body, null); } @@ -117,8 +138,11 @@ public AccessReviewInstanceDecisionItem post(@jakarta.annotation.Nonnull final A * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem post(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -129,8 +153,11 @@ public AccessReviewInstanceDecisionItem post(@jakarta.annotation.Nonnull final A /** * Each user reviewed in an accessReviewInstance has a decision item representing if they were approved, denied, or not yet reviewed. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -138,8 +165,11 @@ public RequestInformation toGetRequestInformation() { * Each user reviewed in an accessReviewInstance has a decision item representing if they were approved, denied, or not yet reviewed. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -150,8 +180,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to decisions for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body) { return toPostRequestInformation(body, null); } @@ -160,8 +193,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -174,8 +210,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link DecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public DecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new DecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/count/CountRequestBuilder.java index 4b74c454b24..e9e21dcc89f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java index b888595dd40..e8e4d659fa8 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java @@ -41,9 +41,12 @@ public FilterByCurrentUserWithOnRequestBuilder(@jakarta.annotation.Nonnull final * Retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. * @return a {@link FilterByCurrentUserWithOnGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public FilterByCurrentUserWithOnGetResponse get() { return get(null); } @@ -52,9 +55,12 @@ public FilterByCurrentUserWithOnGetResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link FilterByCurrentUserWithOnGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public FilterByCurrentUserWithOnGetResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -64,8 +70,11 @@ public FilterByCurrentUserWithOnGetResponse get(@jakarta.annotation.Nullable fin /** * Retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -73,8 +82,11 @@ public RequestInformation toGetRequestInformation() { * Retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -85,8 +97,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link FilterByCurrentUserWithOnRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilterByCurrentUserWithOnRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new FilterByCurrentUserWithOnRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/AccessReviewInstanceDecisionItemItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/AccessReviewInstanceDecisionItemItemRequestBuilder.java index a19982ccb88..63da81688be 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/AccessReviewInstanceDecisionItemItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/AccessReviewInstanceDecisionItemItemRequestBuilder.java @@ -25,7 +25,10 @@ public class AccessReviewInstanceDecisionItemItemRequestBuilder extends BaseRequ /** * Provides operations to manage the insights property of the microsoft.graph.accessReviewInstanceDecisionItem entity. * @return a {@link InsightsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public InsightsRequestBuilder insights() { return new InsightsRequestBuilder(pathParameters, requestAdapter); @@ -33,7 +36,10 @@ public InsightsRequestBuilder insights() { /** * Provides operations to manage the instance property of the microsoft.graph.accessReviewInstanceDecisionItem entity. * @return a {@link InstanceRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public InstanceRequestBuilder instance() { return new InstanceRequestBuilder(pathParameters, requestAdapter); @@ -57,7 +63,10 @@ public AccessReviewInstanceDecisionItemItemRequestBuilder(@jakarta.annotation.No /** * Delete navigation property decisions for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -65,7 +74,10 @@ public void delete() { * Delete navigation property decisions for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -76,8 +88,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Each user reviewed in an accessReviewInstance has a decision item representing if they were approved, denied, or not yet reviewed. * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem get() { return get(null); } @@ -86,8 +101,11 @@ public AccessReviewInstanceDecisionItem get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -99,8 +117,11 @@ public AccessReviewInstanceDecisionItem get(@jakarta.annotation.Nullable final j * @param body The request body * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem patch(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body) { return patch(body, null); } @@ -110,8 +131,11 @@ public AccessReviewInstanceDecisionItem patch(@jakarta.annotation.Nonnull final * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem patch(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -122,8 +146,11 @@ public AccessReviewInstanceDecisionItem patch(@jakarta.annotation.Nonnull final /** * Delete navigation property decisions for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -131,8 +158,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property decisions for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -142,8 +172,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Each user reviewed in an accessReviewInstance has a decision item representing if they were approved, denied, or not yet reviewed. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -151,8 +184,11 @@ public RequestInformation toGetRequestInformation() { * Each user reviewed in an accessReviewInstance has a decision item representing if they were approved, denied, or not yet reviewed. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -163,8 +199,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property decisions in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body) { return toPatchRequestInformation(body, null); } @@ -173,8 +212,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -187,8 +229,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessReviewInstanceDecisionItemItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessReviewInstanceDecisionItemItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessReviewInstanceDecisionItemItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/insights/InsightsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/insights/InsightsRequestBuilder.java index 9cc292e1c21..c1362c8957a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/insights/InsightsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/insights/InsightsRequestBuilder.java @@ -26,7 +26,10 @@ public class InsightsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the insights property of the microsoft.graph.accessReviewInstanceDecisionItem entity. * @param governanceInsightId The unique identifier of governanceInsight * @return a {@link GovernanceInsightItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public GovernanceInsightItemRequestBuilder byGovernanceInsightId(@jakarta.annotation.Nonnull final String governanceInsightId) { Objects.requireNonNull(governanceInsightId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public InsightsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @return a {@link GovernanceInsightCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsightCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public GovernanceInsightCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GovernanceInsightCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsightCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public GovernanceInsightCollectionResponse get(@jakarta.annotation.Nullable fina * @param body The request body * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight post(@jakarta.annotation.Nonnull final GovernanceInsight body) { return post(body, null); } @@ -97,8 +112,11 @@ public GovernanceInsight post(@jakarta.annotation.Nonnull final GovernanceInsigh * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight post(@jakarta.annotation.Nonnull final GovernanceInsight body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public GovernanceInsight post(@jakarta.annotation.Nonnull final GovernanceInsigh /** * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to insights for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GovernanceInsight body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GovernanceInsight body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link InsightsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public InsightsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new InsightsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/insights/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/insights/count/CountRequestBuilder.java index 5457ab99948..208fb5c2e71 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/insights/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/insights/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/insights/item/GovernanceInsightItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/insights/item/GovernanceInsightItemRequestBuilder.java index b0ed4241e1c..1a89c06b98c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/insights/item/GovernanceInsightItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/insights/item/GovernanceInsightItemRequestBuilder.java @@ -39,7 +39,10 @@ public GovernanceInsightItemRequestBuilder(@jakarta.annotation.Nonnull final Str /** * Delete navigation property insights for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -47,7 +50,10 @@ public void delete() { * Delete navigation property insights for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -58,8 +64,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight get() { return get(null); } @@ -68,8 +77,11 @@ public GovernanceInsight get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -81,8 +93,11 @@ public GovernanceInsight get(@jakarta.annotation.Nullable final java.util.functi * @param body The request body * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight patch(@jakarta.annotation.Nonnull final GovernanceInsight body) { return patch(body, null); } @@ -92,8 +107,11 @@ public GovernanceInsight patch(@jakarta.annotation.Nonnull final GovernanceInsig * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight patch(@jakarta.annotation.Nonnull final GovernanceInsight body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -104,8 +122,11 @@ public GovernanceInsight patch(@jakarta.annotation.Nonnull final GovernanceInsig /** * Delete navigation property insights for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -113,8 +134,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property insights for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -133,8 +160,11 @@ public RequestInformation toGetRequestInformation() { * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -145,8 +175,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property insights in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final GovernanceInsight body) { return toPatchRequestInformation(body, null); } @@ -155,8 +188,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final GovernanceInsight body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -169,8 +205,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link GovernanceInsightItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public GovernanceInsightItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new GovernanceInsightItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/instance/InstanceRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/instance/InstanceRequestBuilder.java index cf293f7d751..1690366aa75 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/instance/InstanceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/instance/InstanceRequestBuilder.java @@ -34,7 +34,10 @@ public class InstanceRequestBuilder extends BaseRequestBuilder { /** * Provides operations to call the acceptRecommendations method. * @return a {@link AcceptRecommendationsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AcceptRecommendationsRequestBuilder acceptRecommendations() { return new AcceptRecommendationsRequestBuilder(pathParameters, requestAdapter); @@ -42,7 +45,10 @@ public AcceptRecommendationsRequestBuilder acceptRecommendations() { /** * Provides operations to call the applyDecisions method. * @return a {@link ApplyDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ApplyDecisionsRequestBuilder applyDecisions() { return new ApplyDecisionsRequestBuilder(pathParameters, requestAdapter); @@ -50,7 +56,10 @@ public ApplyDecisionsRequestBuilder applyDecisions() { /** * Provides operations to call the batchApplyCustomDataProvidedResourceDecisions method. * @return a {@link BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder batchApplyCustomDataProvidedResourceDecisions() { return new BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder(pathParameters, requestAdapter); @@ -58,7 +67,10 @@ public BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder batchApplyCus /** * Provides operations to call the batchRecordDecisions method. * @return a {@link BatchRecordDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public BatchRecordDecisionsRequestBuilder batchRecordDecisions() { return new BatchRecordDecisionsRequestBuilder(pathParameters, requestAdapter); @@ -66,7 +78,10 @@ public BatchRecordDecisionsRequestBuilder batchRecordDecisions() { /** * Provides operations to manage the contactedReviewers property of the microsoft.graph.accessReviewInstance entity. * @return a {@link ContactedReviewersRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ContactedReviewersRequestBuilder contactedReviewers() { return new ContactedReviewersRequestBuilder(pathParameters, requestAdapter); @@ -74,7 +89,10 @@ public ContactedReviewersRequestBuilder contactedReviewers() { /** * Provides operations to manage the definition property of the microsoft.graph.accessReviewInstance entity. * @return a {@link DefinitionRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public DefinitionRequestBuilder definition() { return new DefinitionRequestBuilder(pathParameters, requestAdapter); @@ -82,7 +100,10 @@ public DefinitionRequestBuilder definition() { /** * Provides operations to call the resetDecisions method. * @return a {@link ResetDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ResetDecisionsRequestBuilder resetDecisions() { return new ResetDecisionsRequestBuilder(pathParameters, requestAdapter); @@ -90,7 +111,10 @@ public ResetDecisionsRequestBuilder resetDecisions() { /** * Provides operations to call the sendReminder method. * @return a {@link SendReminderRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public SendReminderRequestBuilder sendReminder() { return new SendReminderRequestBuilder(pathParameters, requestAdapter); @@ -98,7 +122,10 @@ public SendReminderRequestBuilder sendReminder() { /** * Provides operations to manage the stages property of the microsoft.graph.accessReviewInstance entity. * @return a {@link StagesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public StagesRequestBuilder stages() { return new StagesRequestBuilder(pathParameters, requestAdapter); @@ -106,7 +133,10 @@ public StagesRequestBuilder stages() { /** * Provides operations to call the stop method. * @return a {@link StopRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public StopRequestBuilder stop() { return new StopRequestBuilder(pathParameters, requestAdapter); @@ -114,7 +144,10 @@ public StopRequestBuilder stop() { /** * Provides operations to call the stopApplyDecisions method. * @return a {@link StopApplyDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public StopApplyDecisionsRequestBuilder stopApplyDecisions() { return new StopApplyDecisionsRequestBuilder(pathParameters, requestAdapter); @@ -138,7 +171,10 @@ public InstanceRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ /** * Delete navigation property instance for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -146,7 +182,10 @@ public void delete() { * Delete navigation property instance for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -157,8 +196,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * There's exactly one accessReviewInstance associated with each decision. The instance is the parent of the decision item, representing the recurrence of the access review the decision is made on. * @return a {@link AccessReviewInstance} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstance get() { return get(null); } @@ -167,8 +209,11 @@ public AccessReviewInstance get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstance} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstance get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -180,8 +225,11 @@ public AccessReviewInstance get(@jakarta.annotation.Nullable final java.util.fun * @param body The request body * @return a {@link AccessReviewInstance} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstance patch(@jakarta.annotation.Nonnull final AccessReviewInstance body) { return patch(body, null); } @@ -191,8 +239,11 @@ public AccessReviewInstance patch(@jakarta.annotation.Nonnull final AccessReview * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstance} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstance patch(@jakarta.annotation.Nonnull final AccessReviewInstance body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -203,8 +254,11 @@ public AccessReviewInstance patch(@jakarta.annotation.Nonnull final AccessReview /** * Delete navigation property instance for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -212,8 +266,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property instance for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -223,8 +280,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * There's exactly one accessReviewInstance associated with each decision. The instance is the parent of the decision item, representing the recurrence of the access review the decision is made on. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -232,8 +292,11 @@ public RequestInformation toGetRequestInformation() { * There's exactly one accessReviewInstance associated with each decision. The instance is the parent of the decision item, representing the recurrence of the access review the decision is made on. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -244,8 +307,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property instance in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstance body) { return toPatchRequestInformation(body, null); } @@ -254,8 +320,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstance body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -268,8 +337,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link InstanceRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public InstanceRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new InstanceRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/instance/acceptrecommendations/AcceptRecommendationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/instance/acceptrecommendations/AcceptRecommendationsRequestBuilder.java index 2fe82732ace..80b7e64226d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/instance/acceptrecommendations/AcceptRecommendationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/instance/acceptrecommendations/AcceptRecommendationsRequestBuilder.java @@ -37,8 +37,11 @@ public AcceptRecommendationsRequestBuilder(@jakarta.annotation.Nonnull final Str /** * Allows the acceptance of recommendations on all accessReviewInstanceDecisionItem objects that haven't been reviewed for an accessReviewInstance object for which the calling user is a reviewer. Recommendations are generated if recommendationsEnabled is true on the accessReviewScheduleDefinition object. If there isn't a recommendation on an accessReviewInstanceDecisionItem object no decision will be recorded. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * Allows the acceptance of recommendations on all accessReviewInstanceDecisionItem objects that haven't been reviewed for an accessReviewInstance object for which the calling user is a reviewer. Recommendations are generated if recommendationsEnabled is true on the accessReviewScheduleDefinition object. If there isn't a recommendation on an accessReviewInstanceDecisionItem object no decision will be recorded. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Allows the acceptance of recommendations on all accessReviewInstanceDecisionItem objects that haven't been reviewed for an accessReviewInstance object for which the calling user is a reviewer. Recommendations are generated if recommendationsEnabled is true on the accessReviewScheduleDefinition object. If there isn't a recommendation on an accessReviewInstanceDecisionItem object no decision will be recorded. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * Allows the acceptance of recommendations on all accessReviewInstanceDecisionItem objects that haven't been reviewed for an accessReviewInstance object for which the calling user is a reviewer. Recommendations are generated if recommendationsEnabled is true on the accessReviewScheduleDefinition object. If there isn't a recommendation on an accessReviewInstanceDecisionItem object no decision will be recorded. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AcceptRecommendationsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AcceptRecommendationsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AcceptRecommendationsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/instance/applydecisions/ApplyDecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/instance/applydecisions/ApplyDecisionsRequestBuilder.java index cbd72af2600..3c1788bde43 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/instance/applydecisions/ApplyDecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/instance/applydecisions/ApplyDecisionsRequestBuilder.java @@ -37,8 +37,11 @@ public ApplyDecisionsRequestBuilder(@jakarta.annotation.Nonnull final String raw /** * Apply review decisions on an accessReviewInstance if the decisions were not applied automatically because the autoApplyDecisionsEnabled property is false in the review's accessReviewScheduleSettings. The status of the accessReviewInstance must be Completed to call this method. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * Apply review decisions on an accessReviewInstance if the decisions were not applied automatically because the autoApplyDecisionsEnabled property is false in the review's accessReviewScheduleSettings. The status of the accessReviewInstance must be Completed to call this method. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Apply review decisions on an accessReviewInstance if the decisions were not applied automatically because the autoApplyDecisionsEnabled property is false in the review's accessReviewScheduleSettings. The status of the accessReviewInstance must be Completed to call this method. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * Apply review decisions on an accessReviewInstance if the decisions were not applied automatically because the autoApplyDecisionsEnabled property is false in the review's accessReviewScheduleSettings. The status of the accessReviewInstance must be Completed to call this method. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ApplyDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ApplyDecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ApplyDecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/instance/batchapplycustomdataprovidedresourcedecisions/BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/instance/batchapplycustomdataprovidedresourcedecisions/BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder.java index c98c9d71307..4c26ae5e353 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/instance/batchapplycustomdataprovidedresourcedecisions/BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/instance/batchapplycustomdataprovidedresourcedecisions/BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder.java @@ -38,8 +38,11 @@ public BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder(@jakarta.anno * Enables reviewers to set the applyResult and applyDescription on all accessReviewInstanceDecisionItem objects in a specific accessReviewInstance in batches by using customDataProvidedResourceId. NOTE: The access review instance must be in an Applying state. * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final BatchApplyCustomDataProvidedResourceDecisionsPostRequestBody body) { post(body, null); } @@ -48,8 +51,11 @@ public void post(@jakarta.annotation.Nonnull final BatchApplyCustomDataProvidedR * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final BatchApplyCustomDataProvidedResourceDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -61,8 +67,11 @@ public void post(@jakarta.annotation.Nonnull final BatchApplyCustomDataProvidedR * Enables reviewers to set the applyResult and applyDescription on all accessReviewInstanceDecisionItem objects in a specific accessReviewInstance in batches by using customDataProvidedResourceId. NOTE: The access review instance must be in an Applying state. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BatchApplyCustomDataProvidedResourceDecisionsPostRequestBody body) { return toPostRequestInformation(body, null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BatchApplyCustomDataProvidedResourceDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -85,8 +97,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/instance/batchrecorddecisions/BatchRecordDecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/instance/batchrecorddecisions/BatchRecordDecisionsRequestBuilder.java index c1c4f154c94..9327d0e7807 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/instance/batchrecorddecisions/BatchRecordDecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/instance/batchrecorddecisions/BatchRecordDecisionsRequestBuilder.java @@ -38,8 +38,11 @@ public BatchRecordDecisionsRequestBuilder(@jakarta.annotation.Nonnull final Stri * Enables reviewers to review all accessReviewInstanceDecisionItem objects in a specific pending accessReviewInstance in batches by using principalId, resourceId, or neither. * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostRequestBody body) { post(body, null); } @@ -48,8 +51,11 @@ public void post(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostReque * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -61,8 +67,11 @@ public void post(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostReque * Enables reviewers to review all accessReviewInstanceDecisionItem objects in a specific pending accessReviewInstance in batches by using principalId, resourceId, or neither. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostRequestBody body) { return toPostRequestInformation(body, null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -85,8 +97,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link BatchRecordDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public BatchRecordDecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new BatchRecordDecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/instance/contactedreviewers/ContactedReviewersRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/instance/contactedreviewers/ContactedReviewersRequestBuilder.java index a685acd6fe0..1388d4a44e5 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/instance/contactedreviewers/ContactedReviewersRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/instance/contactedreviewers/ContactedReviewersRequestBuilder.java @@ -26,7 +26,10 @@ public class ContactedReviewersRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the contactedReviewers property of the microsoft.graph.accessReviewInstance entity. * @param accessReviewReviewerId The unique identifier of accessReviewReviewer * @return a {@link AccessReviewReviewerItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessReviewReviewerItemRequestBuilder byAccessReviewReviewerId(@jakarta.annotation.Nonnull final String accessReviewReviewerId) { Objects.requireNonNull(accessReviewReviewerId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public ContactedReviewersRequestBuilder(@jakarta.annotation.Nonnull final String * Returns the collection of reviewers who were contacted to complete this review. While the reviewers and fallbackReviewers properties of the accessReviewScheduleDefinition might specify group owners or managers as reviewers, contactedReviewers returns their individual identities. Supports $select. Read-only. * @return a {@link AccessReviewReviewerCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewReviewerCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public AccessReviewReviewerCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewReviewerCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewReviewerCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public AccessReviewReviewerCollectionResponse get(@jakarta.annotation.Nullable f * @param body The request body * @return a {@link AccessReviewReviewer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewReviewer post(@jakarta.annotation.Nonnull final AccessReviewReviewer body) { return post(body, null); } @@ -97,8 +112,11 @@ public AccessReviewReviewer post(@jakarta.annotation.Nonnull final AccessReviewR * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewReviewer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewReviewer post(@jakarta.annotation.Nonnull final AccessReviewReviewer body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public AccessReviewReviewer post(@jakarta.annotation.Nonnull final AccessReviewR /** * Returns the collection of reviewers who were contacted to complete this review. While the reviewers and fallbackReviewers properties of the accessReviewScheduleDefinition might specify group owners or managers as reviewers, contactedReviewers returns their individual identities. Supports $select. Read-only. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Returns the collection of reviewers who were contacted to complete this review. While the reviewers and fallbackReviewers properties of the accessReviewScheduleDefinition might specify group owners or managers as reviewers, contactedReviewers returns their individual identities. Supports $select. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to contactedReviewers for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewReviewer body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewReviewer body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ContactedReviewersRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ContactedReviewersRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ContactedReviewersRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/instance/contactedreviewers/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/instance/contactedreviewers/count/CountRequestBuilder.java index 8221ae250b9..014b00c6fb1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/instance/contactedreviewers/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/instance/contactedreviewers/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/instance/contactedreviewers/item/AccessReviewReviewerItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/instance/contactedreviewers/item/AccessReviewReviewerItemRequestBuilder.java index 8bb9d43f498..4923ce75753 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/instance/contactedreviewers/item/AccessReviewReviewerItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/instance/contactedreviewers/item/AccessReviewReviewerItemRequestBuilder.java @@ -39,7 +39,10 @@ public AccessReviewReviewerItemRequestBuilder(@jakarta.annotation.Nonnull final /** * Delete navigation property contactedReviewers for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -47,7 +50,10 @@ public void delete() { * Delete navigation property contactedReviewers for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -58,8 +64,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Returns the collection of reviewers who were contacted to complete this review. While the reviewers and fallbackReviewers properties of the accessReviewScheduleDefinition might specify group owners or managers as reviewers, contactedReviewers returns their individual identities. Supports $select. Read-only. * @return a {@link AccessReviewReviewer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewReviewer get() { return get(null); } @@ -68,8 +77,11 @@ public AccessReviewReviewer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewReviewer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewReviewer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -81,8 +93,11 @@ public AccessReviewReviewer get(@jakarta.annotation.Nullable final java.util.fun * @param body The request body * @return a {@link AccessReviewReviewer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewReviewer patch(@jakarta.annotation.Nonnull final AccessReviewReviewer body) { return patch(body, null); } @@ -92,8 +107,11 @@ public AccessReviewReviewer patch(@jakarta.annotation.Nonnull final AccessReview * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewReviewer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewReviewer patch(@jakarta.annotation.Nonnull final AccessReviewReviewer body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -104,8 +122,11 @@ public AccessReviewReviewer patch(@jakarta.annotation.Nonnull final AccessReview /** * Delete navigation property contactedReviewers for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -113,8 +134,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property contactedReviewers for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Returns the collection of reviewers who were contacted to complete this review. While the reviewers and fallbackReviewers properties of the accessReviewScheduleDefinition might specify group owners or managers as reviewers, contactedReviewers returns their individual identities. Supports $select. Read-only. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -133,8 +160,11 @@ public RequestInformation toGetRequestInformation() { * Returns the collection of reviewers who were contacted to complete this review. While the reviewers and fallbackReviewers properties of the accessReviewScheduleDefinition might specify group owners or managers as reviewers, contactedReviewers returns their individual identities. Supports $select. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -145,8 +175,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property contactedReviewers in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewReviewer body) { return toPatchRequestInformation(body, null); } @@ -155,8 +188,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewReviewer body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -169,8 +205,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessReviewReviewerItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessReviewReviewerItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessReviewReviewerItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/instance/definition/DefinitionRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/instance/definition/DefinitionRequestBuilder.java index 9774a1881d3..66aec7c2b59 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/instance/definition/DefinitionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/instance/definition/DefinitionRequestBuilder.java @@ -40,8 +40,11 @@ public DefinitionRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, * There's exactly one accessReviewScheduleDefinition associated with each instance. It's the parent schedule for the instance, where instances are created for each recurrence of a review definition and each group selected to review by the definition. * @return a {@link AccessReviewScheduleDefinition} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewScheduleDefinition get() { return get(null); } @@ -50,8 +53,11 @@ public AccessReviewScheduleDefinition get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewScheduleDefinition} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewScheduleDefinition get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public AccessReviewScheduleDefinition get(@jakarta.annotation.Nullable final jav /** * There's exactly one accessReviewScheduleDefinition associated with each instance. It's the parent schedule for the instance, where instances are created for each recurrence of a review definition and each group selected to review by the definition. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * There's exactly one accessReviewScheduleDefinition associated with each instance. It's the parent schedule for the instance, where instances are created for each recurrence of a review definition and each group selected to review by the definition. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link DefinitionRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public DefinitionRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new DefinitionRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/instance/resetdecisions/ResetDecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/instance/resetdecisions/ResetDecisionsRequestBuilder.java index ca85bc51d22..ca41a7a6299 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/instance/resetdecisions/ResetDecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/instance/resetdecisions/ResetDecisionsRequestBuilder.java @@ -37,8 +37,11 @@ public ResetDecisionsRequestBuilder(@jakarta.annotation.Nonnull final String raw /** * Resets decisions of all accessReviewInstanceDecisionItem objects on an accessReviewInstance to notReviewed. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * Resets decisions of all accessReviewInstanceDecisionItem objects on an accessReviewInstance to notReviewed. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Resets decisions of all accessReviewInstanceDecisionItem objects on an accessReviewInstance to notReviewed. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * Resets decisions of all accessReviewInstanceDecisionItem objects on an accessReviewInstance to notReviewed. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ResetDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ResetDecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ResetDecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/instance/sendreminder/SendReminderRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/instance/sendreminder/SendReminderRequestBuilder.java index ed57e7dea86..00fd19f587b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/instance/sendreminder/SendReminderRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/instance/sendreminder/SendReminderRequestBuilder.java @@ -37,8 +37,11 @@ public SendReminderRequestBuilder(@jakarta.annotation.Nonnull final String rawUr /** * Send a reminder to the reviewers of a currently active accessReviewInstance. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * Send a reminder to the reviewers of a currently active accessReviewInstance. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Send a reminder to the reviewers of a currently active accessReviewInstance. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * Send a reminder to the reviewers of a currently active accessReviewInstance. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link SendReminderRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public SendReminderRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new SendReminderRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/instance/stages/StagesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/instance/stages/StagesRequestBuilder.java index 8c367966cb9..3f0e455a67f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/instance/stages/StagesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/instance/stages/StagesRequestBuilder.java @@ -27,7 +27,10 @@ public class StagesRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -36,8 +39,11 @@ public CountRequestBuilder count() { * Provides operations to manage the stages property of the microsoft.graph.accessReviewInstance entity. * @param accessReviewStageId The unique identifier of accessReviewStage * @return a {@link AccessReviewStageItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessReviewStageItemRequestBuilder byAccessReviewStageId(@jakarta.annotation.Nonnull final String accessReviewStageId) { Objects.requireNonNull(accessReviewStageId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -64,8 +70,11 @@ public StagesRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ja * Provides operations to call the filterByCurrentUser method. * @param on Usage: on='{on}' * @return a {@link FilterByCurrentUserWithOnRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilterByCurrentUserWithOnRequestBuilder filterByCurrentUserWithOn(@jakarta.annotation.Nonnull final String on) { Objects.requireNonNull(on); return new FilterByCurrentUserWithOnRequestBuilder(pathParameters, requestAdapter, on); @@ -74,8 +83,11 @@ public FilterByCurrentUserWithOnRequestBuilder filterByCurrentUserWithOn(@jakart * If the instance has multiple stages, this returns the collection of stages. A new stage will only be created when the previous stage ends. The existence, number, and settings of stages on a review instance are created based on the accessReviewStageSettings on the parent accessReviewScheduleDefinition. * @return a {@link AccessReviewStageCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewStageCollectionResponse get() { return get(null); } @@ -84,8 +96,11 @@ public AccessReviewStageCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewStageCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewStageCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -97,8 +112,11 @@ public AccessReviewStageCollectionResponse get(@jakarta.annotation.Nullable fina * @param body The request body * @return a {@link AccessReviewStage} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewStage post(@jakarta.annotation.Nonnull final AccessReviewStage body) { return post(body, null); } @@ -108,8 +126,11 @@ public AccessReviewStage post(@jakarta.annotation.Nonnull final AccessReviewStag * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewStage} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewStage post(@jakarta.annotation.Nonnull final AccessReviewStage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -120,8 +141,11 @@ public AccessReviewStage post(@jakarta.annotation.Nonnull final AccessReviewStag /** * If the instance has multiple stages, this returns the collection of stages. A new stage will only be created when the previous stage ends. The existence, number, and settings of stages on a review instance are created based on the accessReviewStageSettings on the parent accessReviewScheduleDefinition. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -129,8 +153,11 @@ public RequestInformation toGetRequestInformation() { * If the instance has multiple stages, this returns the collection of stages. A new stage will only be created when the previous stage ends. The existence, number, and settings of stages on a review instance are created based on the accessReviewStageSettings on the parent accessReviewScheduleDefinition. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -141,8 +168,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to stages for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewStage body) { return toPostRequestInformation(body, null); } @@ -151,8 +181,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewStage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -165,8 +198,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link StagesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public StagesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new StagesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/instance/stages/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/instance/stages/count/CountRequestBuilder.java index d47ae3670fb..b85310e2999 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/instance/stages/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/instance/stages/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/instance/stages/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/instance/stages/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java index fe032cfec54..bb302832293 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/instance/stages/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/instance/stages/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java @@ -41,9 +41,12 @@ public FilterByCurrentUserWithOnRequestBuilder(@jakarta.annotation.Nonnull final * Return all accessReviewStage objects on a given accessReviewInstance where the calling user is a reviewer on one or more accessReviewInstanceDecisionItem objects. * @return a {@link FilterByCurrentUserWithOnGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public FilterByCurrentUserWithOnGetResponse get() { return get(null); } @@ -52,9 +55,12 @@ public FilterByCurrentUserWithOnGetResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link FilterByCurrentUserWithOnGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public FilterByCurrentUserWithOnGetResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -64,8 +70,11 @@ public FilterByCurrentUserWithOnGetResponse get(@jakarta.annotation.Nullable fin /** * Return all accessReviewStage objects on a given accessReviewInstance where the calling user is a reviewer on one or more accessReviewInstanceDecisionItem objects. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -73,8 +82,11 @@ public RequestInformation toGetRequestInformation() { * Return all accessReviewStage objects on a given accessReviewInstance where the calling user is a reviewer on one or more accessReviewInstanceDecisionItem objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -85,8 +97,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link FilterByCurrentUserWithOnRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilterByCurrentUserWithOnRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new FilterByCurrentUserWithOnRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/instance/stages/item/AccessReviewStageItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/instance/stages/item/AccessReviewStageItemRequestBuilder.java index f20cf5313f7..34044a11b6d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/instance/stages/item/AccessReviewStageItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/instance/stages/item/AccessReviewStageItemRequestBuilder.java @@ -27,7 +27,10 @@ public class AccessReviewStageItemRequestBuilder extends BaseRequestBuilder { /** * Provides operations to call the acceptRecommendations method. * @return a {@link AcceptRecommendationsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AcceptRecommendationsRequestBuilder acceptRecommendations() { return new AcceptRecommendationsRequestBuilder(pathParameters, requestAdapter); @@ -35,7 +38,10 @@ public AcceptRecommendationsRequestBuilder acceptRecommendations() { /** * Provides operations to call the batchRecordDecisions method. * @return a {@link BatchRecordDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public BatchRecordDecisionsRequestBuilder batchRecordDecisions() { return new BatchRecordDecisionsRequestBuilder(pathParameters, requestAdapter); @@ -43,7 +49,10 @@ public BatchRecordDecisionsRequestBuilder batchRecordDecisions() { /** * Provides operations to manage the decisions property of the microsoft.graph.accessReviewStage entity. * @return a {@link DecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public DecisionsRequestBuilder decisions() { return new DecisionsRequestBuilder(pathParameters, requestAdapter); @@ -51,7 +60,10 @@ public DecisionsRequestBuilder decisions() { /** * Provides operations to call the stop method. * @return a {@link StopRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public StopRequestBuilder stop() { return new StopRequestBuilder(pathParameters, requestAdapter); @@ -75,7 +87,10 @@ public AccessReviewStageItemRequestBuilder(@jakarta.annotation.Nonnull final Str /** * Delete navigation property stages for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -83,7 +98,10 @@ public void delete() { * Delete navigation property stages for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -94,8 +112,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * If the instance has multiple stages, this returns the collection of stages. A new stage will only be created when the previous stage ends. The existence, number, and settings of stages on a review instance are created based on the accessReviewStageSettings on the parent accessReviewScheduleDefinition. * @return a {@link AccessReviewStage} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewStage get() { return get(null); } @@ -104,8 +125,11 @@ public AccessReviewStage get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewStage} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewStage get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -117,8 +141,11 @@ public AccessReviewStage get(@jakarta.annotation.Nullable final java.util.functi * @param body The request body * @return a {@link AccessReviewStage} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewStage patch(@jakarta.annotation.Nonnull final AccessReviewStage body) { return patch(body, null); } @@ -128,8 +155,11 @@ public AccessReviewStage patch(@jakarta.annotation.Nonnull final AccessReviewSta * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewStage} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewStage patch(@jakarta.annotation.Nonnull final AccessReviewStage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -140,8 +170,11 @@ public AccessReviewStage patch(@jakarta.annotation.Nonnull final AccessReviewSta /** * Delete navigation property stages for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -149,8 +182,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property stages for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -160,8 +196,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * If the instance has multiple stages, this returns the collection of stages. A new stage will only be created when the previous stage ends. The existence, number, and settings of stages on a review instance are created based on the accessReviewStageSettings on the parent accessReviewScheduleDefinition. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -169,8 +208,11 @@ public RequestInformation toGetRequestInformation() { * If the instance has multiple stages, this returns the collection of stages. A new stage will only be created when the previous stage ends. The existence, number, and settings of stages on a review instance are created based on the accessReviewStageSettings on the parent accessReviewScheduleDefinition. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -181,8 +223,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property stages in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewStage body) { return toPatchRequestInformation(body, null); } @@ -191,8 +236,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewStage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -205,8 +253,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessReviewStageItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessReviewStageItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessReviewStageItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/instance/stages/item/acceptrecommendations/AcceptRecommendationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/instance/stages/item/acceptrecommendations/AcceptRecommendationsRequestBuilder.java index 239636ddb74..f2104fce9f4 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/instance/stages/item/acceptrecommendations/AcceptRecommendationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/instance/stages/item/acceptrecommendations/AcceptRecommendationsRequestBuilder.java @@ -37,8 +37,11 @@ public AcceptRecommendationsRequestBuilder(@jakarta.annotation.Nonnull final Str /** * Accept the recommendations on all accessReviewInstanceDecisionItem objects that haven't been reviewed within a single accessReviewStage of a multi-stage accessReviewInstance. Recommendations are generated if recommendationsEnabled is true on the accessReviewScheduleDefinition object. If there's no recommendation on an accessReviewInstanceDecisionItem object, no decision is recorded. This action accepts recommendations for the decisions in a specific stage only, unlike accessReviewInstance: acceptRecommendations, which operates across the entire instance. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * Accept the recommendations on all accessReviewInstanceDecisionItem objects that haven't been reviewed within a single accessReviewStage of a multi-stage accessReviewInstance. Recommendations are generated if recommendationsEnabled is true on the accessReviewScheduleDefinition object. If there's no recommendation on an accessReviewInstanceDecisionItem object, no decision is recorded. This action accepts recommendations for the decisions in a specific stage only, unlike accessReviewInstance: acceptRecommendations, which operates across the entire instance. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Accept the recommendations on all accessReviewInstanceDecisionItem objects that haven't been reviewed within a single accessReviewStage of a multi-stage accessReviewInstance. Recommendations are generated if recommendationsEnabled is true on the accessReviewScheduleDefinition object. If there's no recommendation on an accessReviewInstanceDecisionItem object, no decision is recorded. This action accepts recommendations for the decisions in a specific stage only, unlike accessReviewInstance: acceptRecommendations, which operates across the entire instance. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * Accept the recommendations on all accessReviewInstanceDecisionItem objects that haven't been reviewed within a single accessReviewStage of a multi-stage accessReviewInstance. Recommendations are generated if recommendationsEnabled is true on the accessReviewScheduleDefinition object. If there's no recommendation on an accessReviewInstanceDecisionItem object, no decision is recorded. This action accepts recommendations for the decisions in a specific stage only, unlike accessReviewInstance: acceptRecommendations, which operates across the entire instance. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AcceptRecommendationsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AcceptRecommendationsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AcceptRecommendationsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/instance/stages/item/batchrecorddecisions/BatchRecordDecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/instance/stages/item/batchrecorddecisions/BatchRecordDecisionsRequestBuilder.java index 0fd46170116..1ab40018f14 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/instance/stages/item/batchrecorddecisions/BatchRecordDecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/instance/stages/item/batchrecorddecisions/BatchRecordDecisionsRequestBuilder.java @@ -38,8 +38,11 @@ public BatchRecordDecisionsRequestBuilder(@jakarta.annotation.Nonnull final Stri * Record decisions in bulk for all accessReviewInstanceDecisionItem objects within a single accessReviewStage of a multi-stage accessReviewInstance, by using principalId, resourceId, or neither. This action records decisions for a specific stage only, unlike accessReviewInstance: batchRecordDecisions, which operates across the entire instance. * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostRequestBody body) { post(body, null); } @@ -48,8 +51,11 @@ public void post(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostReque * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -61,8 +67,11 @@ public void post(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostReque * Record decisions in bulk for all accessReviewInstanceDecisionItem objects within a single accessReviewStage of a multi-stage accessReviewInstance, by using principalId, resourceId, or neither. This action records decisions for a specific stage only, unlike accessReviewInstance: batchRecordDecisions, which operates across the entire instance. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostRequestBody body) { return toPostRequestInformation(body, null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -85,8 +97,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link BatchRecordDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public BatchRecordDecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new BatchRecordDecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/instance/stages/item/decisions/DecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/instance/stages/item/decisions/DecisionsRequestBuilder.java index a53f7b2d9a0..b2fb2a790be 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/instance/stages/item/decisions/DecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/instance/stages/item/decisions/DecisionsRequestBuilder.java @@ -28,7 +28,10 @@ public class DecisionsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -36,7 +39,10 @@ public CountRequestBuilder count() { /** * Provides operations to call the recordAllDecisions method. * @return a {@link RecordAllDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public RecordAllDecisionsRequestBuilder recordAllDecisions() { return new RecordAllDecisionsRequestBuilder(pathParameters, requestAdapter); @@ -45,8 +51,11 @@ public RecordAllDecisionsRequestBuilder recordAllDecisions() { * Provides operations to manage the decisions property of the microsoft.graph.accessReviewStage entity. * @param accessReviewInstanceDecisionItemId1 The unique identifier of accessReviewInstanceDecisionItem * @return a {@link AccessReviewInstanceDecisionItemItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessReviewInstanceDecisionItemItemRequestBuilder byAccessReviewInstanceDecisionItemId1(@jakarta.annotation.Nonnull final String accessReviewInstanceDecisionItemId1) { Objects.requireNonNull(accessReviewInstanceDecisionItemId1); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -73,8 +82,11 @@ public DecisionsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, * Provides operations to call the filterByCurrentUser method. * @param on Usage: on='{on}' * @return a {@link FilterByCurrentUserWithOnRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilterByCurrentUserWithOnRequestBuilder filterByCurrentUserWithOn(@jakarta.annotation.Nonnull final String on) { Objects.requireNonNull(on); return new FilterByCurrentUserWithOnRequestBuilder(pathParameters, requestAdapter, on); @@ -83,8 +95,11 @@ public FilterByCurrentUserWithOnRequestBuilder filterByCurrentUserWithOn(@jakart * Each user reviewed in an accessReviewStage has a decision item representing if they were approved, denied, or not yet reviewed. * @return a {@link AccessReviewInstanceDecisionItemCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItemCollectionResponse get() { return get(null); } @@ -93,8 +108,11 @@ public AccessReviewInstanceDecisionItemCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstanceDecisionItemCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItemCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -106,8 +124,11 @@ public AccessReviewInstanceDecisionItemCollectionResponse get(@jakarta.annotatio * @param body The request body * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem post(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body) { return post(body, null); } @@ -117,8 +138,11 @@ public AccessReviewInstanceDecisionItem post(@jakarta.annotation.Nonnull final A * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem post(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -129,8 +153,11 @@ public AccessReviewInstanceDecisionItem post(@jakarta.annotation.Nonnull final A /** * Each user reviewed in an accessReviewStage has a decision item representing if they were approved, denied, or not yet reviewed. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -138,8 +165,11 @@ public RequestInformation toGetRequestInformation() { * Each user reviewed in an accessReviewStage has a decision item representing if they were approved, denied, or not yet reviewed. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -150,8 +180,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to decisions for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body) { return toPostRequestInformation(body, null); } @@ -160,8 +193,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -174,8 +210,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link DecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public DecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new DecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/instance/stages/item/decisions/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/instance/stages/item/decisions/count/CountRequestBuilder.java index f4d087773c2..c7f6e54ac6c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/instance/stages/item/decisions/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/instance/stages/item/decisions/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/instance/stages/item/decisions/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/instance/stages/item/decisions/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java index fff0d23a74c..86d16c1019a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/instance/stages/item/decisions/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/instance/stages/item/decisions/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java @@ -41,9 +41,12 @@ public FilterByCurrentUserWithOnRequestBuilder(@jakarta.annotation.Nonnull final * Retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. * @return a {@link FilterByCurrentUserWithOnGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public FilterByCurrentUserWithOnGetResponse get() { return get(null); } @@ -52,9 +55,12 @@ public FilterByCurrentUserWithOnGetResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link FilterByCurrentUserWithOnGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public FilterByCurrentUserWithOnGetResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -64,8 +70,11 @@ public FilterByCurrentUserWithOnGetResponse get(@jakarta.annotation.Nullable fin /** * Retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -73,8 +82,11 @@ public RequestInformation toGetRequestInformation() { * Retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -85,8 +97,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link FilterByCurrentUserWithOnRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilterByCurrentUserWithOnRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new FilterByCurrentUserWithOnRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/instance/stages/item/decisions/item/AccessReviewInstanceDecisionItemItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/instance/stages/item/decisions/item/AccessReviewInstanceDecisionItemItemRequestBuilder.java index 26eaf99f8e3..c8492e1924a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/instance/stages/item/decisions/item/AccessReviewInstanceDecisionItemItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/instance/stages/item/decisions/item/AccessReviewInstanceDecisionItemItemRequestBuilder.java @@ -24,7 +24,10 @@ public class AccessReviewInstanceDecisionItemItemRequestBuilder extends BaseRequ /** * Provides operations to manage the insights property of the microsoft.graph.accessReviewInstanceDecisionItem entity. * @return a {@link InsightsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public InsightsRequestBuilder insights() { return new InsightsRequestBuilder(pathParameters, requestAdapter); @@ -48,7 +51,10 @@ public AccessReviewInstanceDecisionItemItemRequestBuilder(@jakarta.annotation.No /** * Delete navigation property decisions for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -56,7 +62,10 @@ public void delete() { * Delete navigation property decisions for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -67,8 +76,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Each user reviewed in an accessReviewStage has a decision item representing if they were approved, denied, or not yet reviewed. * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem get() { return get(null); } @@ -77,8 +89,11 @@ public AccessReviewInstanceDecisionItem get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -90,8 +105,11 @@ public AccessReviewInstanceDecisionItem get(@jakarta.annotation.Nullable final j * @param body The request body * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem patch(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body) { return patch(body, null); } @@ -101,8 +119,11 @@ public AccessReviewInstanceDecisionItem patch(@jakarta.annotation.Nonnull final * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem patch(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -113,8 +134,11 @@ public AccessReviewInstanceDecisionItem patch(@jakarta.annotation.Nonnull final /** * Delete navigation property decisions for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -122,8 +146,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property decisions for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -133,8 +160,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Each user reviewed in an accessReviewStage has a decision item representing if they were approved, denied, or not yet reviewed. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -142,8 +172,11 @@ public RequestInformation toGetRequestInformation() { * Each user reviewed in an accessReviewStage has a decision item representing if they were approved, denied, or not yet reviewed. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -154,8 +187,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property decisions in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body) { return toPatchRequestInformation(body, null); } @@ -164,8 +200,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -178,8 +217,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessReviewInstanceDecisionItemItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessReviewInstanceDecisionItemItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessReviewInstanceDecisionItemItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/instance/stages/item/decisions/item/insights/InsightsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/instance/stages/item/decisions/item/insights/InsightsRequestBuilder.java index 369e2ff3f0c..7bc0be55a91 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/instance/stages/item/decisions/item/insights/InsightsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/instance/stages/item/decisions/item/insights/InsightsRequestBuilder.java @@ -26,7 +26,10 @@ public class InsightsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the insights property of the microsoft.graph.accessReviewInstanceDecisionItem entity. * @param governanceInsightId The unique identifier of governanceInsight * @return a {@link GovernanceInsightItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public GovernanceInsightItemRequestBuilder byGovernanceInsightId(@jakarta.annotation.Nonnull final String governanceInsightId) { Objects.requireNonNull(governanceInsightId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public InsightsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @return a {@link GovernanceInsightCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsightCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public GovernanceInsightCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GovernanceInsightCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsightCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public GovernanceInsightCollectionResponse get(@jakarta.annotation.Nullable fina * @param body The request body * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight post(@jakarta.annotation.Nonnull final GovernanceInsight body) { return post(body, null); } @@ -97,8 +112,11 @@ public GovernanceInsight post(@jakarta.annotation.Nonnull final GovernanceInsigh * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight post(@jakarta.annotation.Nonnull final GovernanceInsight body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public GovernanceInsight post(@jakarta.annotation.Nonnull final GovernanceInsigh /** * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to insights for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GovernanceInsight body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GovernanceInsight body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link InsightsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public InsightsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new InsightsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/instance/stages/item/decisions/item/insights/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/instance/stages/item/decisions/item/insights/count/CountRequestBuilder.java index 56a17c646d8..caa71ae1fc2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/instance/stages/item/decisions/item/insights/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/instance/stages/item/decisions/item/insights/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/instance/stages/item/decisions/item/insights/item/GovernanceInsightItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/instance/stages/item/decisions/item/insights/item/GovernanceInsightItemRequestBuilder.java index 2069623c77b..0f00d5af28d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/instance/stages/item/decisions/item/insights/item/GovernanceInsightItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/instance/stages/item/decisions/item/insights/item/GovernanceInsightItemRequestBuilder.java @@ -39,7 +39,10 @@ public GovernanceInsightItemRequestBuilder(@jakarta.annotation.Nonnull final Str /** * Delete navigation property insights for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -47,7 +50,10 @@ public void delete() { * Delete navigation property insights for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -58,8 +64,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight get() { return get(null); } @@ -68,8 +77,11 @@ public GovernanceInsight get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -81,8 +93,11 @@ public GovernanceInsight get(@jakarta.annotation.Nullable final java.util.functi * @param body The request body * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight patch(@jakarta.annotation.Nonnull final GovernanceInsight body) { return patch(body, null); } @@ -92,8 +107,11 @@ public GovernanceInsight patch(@jakarta.annotation.Nonnull final GovernanceInsig * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight patch(@jakarta.annotation.Nonnull final GovernanceInsight body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -104,8 +122,11 @@ public GovernanceInsight patch(@jakarta.annotation.Nonnull final GovernanceInsig /** * Delete navigation property insights for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -113,8 +134,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property insights for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -133,8 +160,11 @@ public RequestInformation toGetRequestInformation() { * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -145,8 +175,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property insights in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final GovernanceInsight body) { return toPatchRequestInformation(body, null); } @@ -155,8 +188,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final GovernanceInsight body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -169,8 +205,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link GovernanceInsightItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public GovernanceInsightItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new GovernanceInsightItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/instance/stages/item/decisions/recordalldecisions/RecordAllDecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/instance/stages/item/decisions/recordalldecisions/RecordAllDecisionsRequestBuilder.java index a004dfb83ca..fcb481b64d3 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/instance/stages/item/decisions/recordalldecisions/RecordAllDecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/instance/stages/item/decisions/recordalldecisions/RecordAllDecisionsRequestBuilder.java @@ -38,8 +38,11 @@ public RecordAllDecisionsRequestBuilder(@jakarta.annotation.Nonnull final String * As a reviewer of an access review, record a decision for an accessReviewInstanceDecisionItem that is assigned to you and that matches the principal or resource IDs specified. If no IDs are specified, the decisions will apply to every accessReviewInstanceDecisionItem for which you are the reviewer. * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequestBody body) { post(body, null); } @@ -48,8 +51,11 @@ public void post(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequest * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -61,8 +67,11 @@ public void post(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequest * As a reviewer of an access review, record a decision for an accessReviewInstanceDecisionItem that is assigned to you and that matches the principal or resource IDs specified. If no IDs are specified, the decisions will apply to every accessReviewInstanceDecisionItem for which you are the reviewer. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequestBody body) { return toPostRequestInformation(body, null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -85,8 +97,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RecordAllDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RecordAllDecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RecordAllDecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/instance/stages/item/stop/StopRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/instance/stages/item/stop/StopRequestBuilder.java index 596c2034a30..1aac9ade153 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/instance/stages/item/stop/StopRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/instance/stages/item/stop/StopRequestBuilder.java @@ -37,8 +37,11 @@ public StopRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jaka /** * Stop an access review stage that is inProgress. After the access review stage stops, the stage status will be Completed and the reviewers can no longer give input. If there are subsequent stages that depend on the completed stage, the next stage will be created. The accessReviewInstanceDecisionItem objects will always reflect the last decisions recorded across all stages at that given time, regardless of the status of the stages. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * Stop an access review stage that is inProgress. After the access review stage stops, the stage status will be Completed and the reviewers can no longer give input. If there are subsequent stages that depend on the completed stage, the next stage will be created. The accessReviewInstanceDecisionItem objects will always reflect the last decisions recorded across all stages at that given time, regardless of the status of the stages. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Stop an access review stage that is inProgress. After the access review stage stops, the stage status will be Completed and the reviewers can no longer give input. If there are subsequent stages that depend on the completed stage, the next stage will be created. The accessReviewInstanceDecisionItem objects will always reflect the last decisions recorded across all stages at that given time, regardless of the status of the stages. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * Stop an access review stage that is inProgress. After the access review stage stops, the stage status will be Completed and the reviewers can no longer give input. If there are subsequent stages that depend on the completed stage, the next stage will be created. The accessReviewInstanceDecisionItem objects will always reflect the last decisions recorded across all stages at that given time, regardless of the status of the stages. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link StopRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public StopRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new StopRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/instance/stop/StopRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/instance/stop/StopRequestBuilder.java index 42e68044e03..6ccfa65feec 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/instance/stop/StopRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/instance/stop/StopRequestBuilder.java @@ -37,8 +37,11 @@ public StopRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jaka /** * Stop a currently active accessReviewInstance. After the access review instance stops, the instance status will be Completed, the reviewers can no longer give input, and the access review decisions can be applied. Stopping an instance will not effect future instances. To prevent a recurring access review from starting future instances, update the schedule definition to change its scheduled end date. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * Stop a currently active accessReviewInstance. After the access review instance stops, the instance status will be Completed, the reviewers can no longer give input, and the access review decisions can be applied. Stopping an instance will not effect future instances. To prevent a recurring access review from starting future instances, update the schedule definition to change its scheduled end date. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Stop a currently active accessReviewInstance. After the access review instance stops, the instance status will be Completed, the reviewers can no longer give input, and the access review decisions can be applied. Stopping an instance will not effect future instances. To prevent a recurring access review from starting future instances, update the schedule definition to change its scheduled end date. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * Stop a currently active accessReviewInstance. After the access review instance stops, the instance status will be Completed, the reviewers can no longer give input, and the access review decisions can be applied. Stopping an instance will not effect future instances. To prevent a recurring access review from starting future instances, update the schedule definition to change its scheduled end date. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link StopRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public StopRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new StopRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/instance/stopapplydecisions/StopApplyDecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/instance/stopapplydecisions/StopApplyDecisionsRequestBuilder.java index 3471679eb85..85b1f1ad192 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/instance/stopapplydecisions/StopApplyDecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/item/instance/stopapplydecisions/StopApplyDecisionsRequestBuilder.java @@ -37,7 +37,10 @@ public StopApplyDecisionsRequestBuilder(@jakarta.annotation.Nonnull final String /** * Invoke action stopApplyDecisions * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void post() { post(null); } @@ -45,7 +48,10 @@ public void post() { * Invoke action stopApplyDecisions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -55,8 +61,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Invoke action stopApplyDecisions * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -64,8 +73,11 @@ public RequestInformation toPostRequestInformation() { * Invoke action stopApplyDecisions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -76,8 +88,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link StopApplyDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public StopApplyDecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new StopApplyDecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/recordalldecisions/RecordAllDecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/recordalldecisions/RecordAllDecisionsRequestBuilder.java index 7a037f14026..c7b188774de 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/recordalldecisions/RecordAllDecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/decisions/recordalldecisions/RecordAllDecisionsRequestBuilder.java @@ -38,8 +38,11 @@ public RecordAllDecisionsRequestBuilder(@jakarta.annotation.Nonnull final String * As a reviewer of an access review, record a decision for an accessReviewInstanceDecisionItem that is assigned to you and that matches the principal or resource IDs specified. If no IDs are specified, the decisions will apply to every accessReviewInstanceDecisionItem for which you are the reviewer. * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequestBody body) { post(body, null); } @@ -48,8 +51,11 @@ public void post(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequest * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -61,8 +67,11 @@ public void post(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequest * As a reviewer of an access review, record a decision for an accessReviewInstanceDecisionItem that is assigned to you and that matches the principal or resource IDs specified. If no IDs are specified, the decisions will apply to every accessReviewInstanceDecisionItem for which you are the reviewer. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequestBody body) { return toPostRequestInformation(body, null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -85,8 +97,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RecordAllDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RecordAllDecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RecordAllDecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/definition/DefinitionRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/definition/DefinitionRequestBuilder.java index b09a0d19007..7f63b861cae 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/definition/DefinitionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/definition/DefinitionRequestBuilder.java @@ -40,8 +40,11 @@ public DefinitionRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, * There's exactly one accessReviewScheduleDefinition associated with each instance. It's the parent schedule for the instance, where instances are created for each recurrence of a review definition and each group selected to review by the definition. * @return a {@link AccessReviewScheduleDefinition} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewScheduleDefinition get() { return get(null); } @@ -50,8 +53,11 @@ public AccessReviewScheduleDefinition get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewScheduleDefinition} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewScheduleDefinition get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public AccessReviewScheduleDefinition get(@jakarta.annotation.Nullable final jav /** * There's exactly one accessReviewScheduleDefinition associated with each instance. It's the parent schedule for the instance, where instances are created for each recurrence of a review definition and each group selected to review by the definition. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * There's exactly one accessReviewScheduleDefinition associated with each instance. It's the parent schedule for the instance, where instances are created for each recurrence of a review definition and each group selected to review by the definition. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link DefinitionRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public DefinitionRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new DefinitionRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/resetdecisions/ResetDecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/resetdecisions/ResetDecisionsRequestBuilder.java index 3ed46e611ad..3790059ee00 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/resetdecisions/ResetDecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/resetdecisions/ResetDecisionsRequestBuilder.java @@ -37,8 +37,11 @@ public ResetDecisionsRequestBuilder(@jakarta.annotation.Nonnull final String raw /** * Resets decisions of all accessReviewInstanceDecisionItem objects on an accessReviewInstance to notReviewed. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * Resets decisions of all accessReviewInstanceDecisionItem objects on an accessReviewInstance to notReviewed. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Resets decisions of all accessReviewInstanceDecisionItem objects on an accessReviewInstance to notReviewed. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * Resets decisions of all accessReviewInstanceDecisionItem objects on an accessReviewInstance to notReviewed. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ResetDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ResetDecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ResetDecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/sendreminder/SendReminderRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/sendreminder/SendReminderRequestBuilder.java index 2cc2cd90d7a..0d903369875 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/sendreminder/SendReminderRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/sendreminder/SendReminderRequestBuilder.java @@ -37,8 +37,11 @@ public SendReminderRequestBuilder(@jakarta.annotation.Nonnull final String rawUr /** * Send a reminder to the reviewers of a currently active accessReviewInstance. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * Send a reminder to the reviewers of a currently active accessReviewInstance. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Send a reminder to the reviewers of a currently active accessReviewInstance. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * Send a reminder to the reviewers of a currently active accessReviewInstance. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link SendReminderRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public SendReminderRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new SendReminderRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/StagesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/StagesRequestBuilder.java index 60ee260a6fb..84afea14ab4 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/StagesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/StagesRequestBuilder.java @@ -27,7 +27,10 @@ public class StagesRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -36,8 +39,11 @@ public CountRequestBuilder count() { * Provides operations to manage the stages property of the microsoft.graph.accessReviewInstance entity. * @param accessReviewStageId The unique identifier of accessReviewStage * @return a {@link AccessReviewStageItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessReviewStageItemRequestBuilder byAccessReviewStageId(@jakarta.annotation.Nonnull final String accessReviewStageId) { Objects.requireNonNull(accessReviewStageId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -64,8 +70,11 @@ public StagesRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ja * Provides operations to call the filterByCurrentUser method. * @param on Usage: on='{on}' * @return a {@link FilterByCurrentUserWithOnRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilterByCurrentUserWithOnRequestBuilder filterByCurrentUserWithOn(@jakarta.annotation.Nonnull final String on) { Objects.requireNonNull(on); return new FilterByCurrentUserWithOnRequestBuilder(pathParameters, requestAdapter, on); @@ -74,8 +83,11 @@ public FilterByCurrentUserWithOnRequestBuilder filterByCurrentUserWithOn(@jakart * If the instance has multiple stages, this returns the collection of stages. A new stage will only be created when the previous stage ends. The existence, number, and settings of stages on a review instance are created based on the accessReviewStageSettings on the parent accessReviewScheduleDefinition. * @return a {@link AccessReviewStageCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewStageCollectionResponse get() { return get(null); } @@ -84,8 +96,11 @@ public AccessReviewStageCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewStageCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewStageCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -97,8 +112,11 @@ public AccessReviewStageCollectionResponse get(@jakarta.annotation.Nullable fina * @param body The request body * @return a {@link AccessReviewStage} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewStage post(@jakarta.annotation.Nonnull final AccessReviewStage body) { return post(body, null); } @@ -108,8 +126,11 @@ public AccessReviewStage post(@jakarta.annotation.Nonnull final AccessReviewStag * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewStage} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewStage post(@jakarta.annotation.Nonnull final AccessReviewStage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -120,8 +141,11 @@ public AccessReviewStage post(@jakarta.annotation.Nonnull final AccessReviewStag /** * If the instance has multiple stages, this returns the collection of stages. A new stage will only be created when the previous stage ends. The existence, number, and settings of stages on a review instance are created based on the accessReviewStageSettings on the parent accessReviewScheduleDefinition. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -129,8 +153,11 @@ public RequestInformation toGetRequestInformation() { * If the instance has multiple stages, this returns the collection of stages. A new stage will only be created when the previous stage ends. The existence, number, and settings of stages on a review instance are created based on the accessReviewStageSettings on the parent accessReviewScheduleDefinition. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -141,8 +168,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to stages for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewStage body) { return toPostRequestInformation(body, null); } @@ -151,8 +181,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewStage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -165,8 +198,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link StagesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public StagesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new StagesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/count/CountRequestBuilder.java index 68c75ec5d9b..9c9da5660ee 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java index ebeecf531a5..b9ef32deca4 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java @@ -41,9 +41,12 @@ public FilterByCurrentUserWithOnRequestBuilder(@jakarta.annotation.Nonnull final * Return all accessReviewStage objects on a given accessReviewInstance where the calling user is a reviewer on one or more accessReviewInstanceDecisionItem objects. * @return a {@link FilterByCurrentUserWithOnGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public FilterByCurrentUserWithOnGetResponse get() { return get(null); } @@ -52,9 +55,12 @@ public FilterByCurrentUserWithOnGetResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link FilterByCurrentUserWithOnGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public FilterByCurrentUserWithOnGetResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -64,8 +70,11 @@ public FilterByCurrentUserWithOnGetResponse get(@jakarta.annotation.Nullable fin /** * Return all accessReviewStage objects on a given accessReviewInstance where the calling user is a reviewer on one or more accessReviewInstanceDecisionItem objects. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -73,8 +82,11 @@ public RequestInformation toGetRequestInformation() { * Return all accessReviewStage objects on a given accessReviewInstance where the calling user is a reviewer on one or more accessReviewInstanceDecisionItem objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -85,8 +97,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link FilterByCurrentUserWithOnRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilterByCurrentUserWithOnRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new FilterByCurrentUserWithOnRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/AccessReviewStageItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/AccessReviewStageItemRequestBuilder.java index 26804399688..140a81fb966 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/AccessReviewStageItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/AccessReviewStageItemRequestBuilder.java @@ -27,7 +27,10 @@ public class AccessReviewStageItemRequestBuilder extends BaseRequestBuilder { /** * Provides operations to call the acceptRecommendations method. * @return a {@link AcceptRecommendationsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AcceptRecommendationsRequestBuilder acceptRecommendations() { return new AcceptRecommendationsRequestBuilder(pathParameters, requestAdapter); @@ -35,7 +38,10 @@ public AcceptRecommendationsRequestBuilder acceptRecommendations() { /** * Provides operations to call the batchRecordDecisions method. * @return a {@link BatchRecordDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public BatchRecordDecisionsRequestBuilder batchRecordDecisions() { return new BatchRecordDecisionsRequestBuilder(pathParameters, requestAdapter); @@ -43,7 +49,10 @@ public BatchRecordDecisionsRequestBuilder batchRecordDecisions() { /** * Provides operations to manage the decisions property of the microsoft.graph.accessReviewStage entity. * @return a {@link DecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public DecisionsRequestBuilder decisions() { return new DecisionsRequestBuilder(pathParameters, requestAdapter); @@ -51,7 +60,10 @@ public DecisionsRequestBuilder decisions() { /** * Provides operations to call the stop method. * @return a {@link StopRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public StopRequestBuilder stop() { return new StopRequestBuilder(pathParameters, requestAdapter); @@ -75,7 +87,10 @@ public AccessReviewStageItemRequestBuilder(@jakarta.annotation.Nonnull final Str /** * Delete navigation property stages for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -83,7 +98,10 @@ public void delete() { * Delete navigation property stages for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -94,8 +112,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * If the instance has multiple stages, this returns the collection of stages. A new stage will only be created when the previous stage ends. The existence, number, and settings of stages on a review instance are created based on the accessReviewStageSettings on the parent accessReviewScheduleDefinition. * @return a {@link AccessReviewStage} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewStage get() { return get(null); } @@ -104,8 +125,11 @@ public AccessReviewStage get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewStage} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewStage get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -117,8 +141,11 @@ public AccessReviewStage get(@jakarta.annotation.Nullable final java.util.functi * @param body The request body * @return a {@link AccessReviewStage} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewStage patch(@jakarta.annotation.Nonnull final AccessReviewStage body) { return patch(body, null); } @@ -128,8 +155,11 @@ public AccessReviewStage patch(@jakarta.annotation.Nonnull final AccessReviewSta * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewStage} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewStage patch(@jakarta.annotation.Nonnull final AccessReviewStage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -140,8 +170,11 @@ public AccessReviewStage patch(@jakarta.annotation.Nonnull final AccessReviewSta /** * Delete navigation property stages for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -149,8 +182,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property stages for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -160,8 +196,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * If the instance has multiple stages, this returns the collection of stages. A new stage will only be created when the previous stage ends. The existence, number, and settings of stages on a review instance are created based on the accessReviewStageSettings on the parent accessReviewScheduleDefinition. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -169,8 +208,11 @@ public RequestInformation toGetRequestInformation() { * If the instance has multiple stages, this returns the collection of stages. A new stage will only be created when the previous stage ends. The existence, number, and settings of stages on a review instance are created based on the accessReviewStageSettings on the parent accessReviewScheduleDefinition. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -181,8 +223,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property stages in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewStage body) { return toPatchRequestInformation(body, null); } @@ -191,8 +236,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewStage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -205,8 +253,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessReviewStageItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessReviewStageItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessReviewStageItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/acceptrecommendations/AcceptRecommendationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/acceptrecommendations/AcceptRecommendationsRequestBuilder.java index fbb27cc4aac..835f9f14c8a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/acceptrecommendations/AcceptRecommendationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/acceptrecommendations/AcceptRecommendationsRequestBuilder.java @@ -37,8 +37,11 @@ public AcceptRecommendationsRequestBuilder(@jakarta.annotation.Nonnull final Str /** * Accept the recommendations on all accessReviewInstanceDecisionItem objects that haven't been reviewed within a single accessReviewStage of a multi-stage accessReviewInstance. Recommendations are generated if recommendationsEnabled is true on the accessReviewScheduleDefinition object. If there's no recommendation on an accessReviewInstanceDecisionItem object, no decision is recorded. This action accepts recommendations for the decisions in a specific stage only, unlike accessReviewInstance: acceptRecommendations, which operates across the entire instance. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * Accept the recommendations on all accessReviewInstanceDecisionItem objects that haven't been reviewed within a single accessReviewStage of a multi-stage accessReviewInstance. Recommendations are generated if recommendationsEnabled is true on the accessReviewScheduleDefinition object. If there's no recommendation on an accessReviewInstanceDecisionItem object, no decision is recorded. This action accepts recommendations for the decisions in a specific stage only, unlike accessReviewInstance: acceptRecommendations, which operates across the entire instance. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Accept the recommendations on all accessReviewInstanceDecisionItem objects that haven't been reviewed within a single accessReviewStage of a multi-stage accessReviewInstance. Recommendations are generated if recommendationsEnabled is true on the accessReviewScheduleDefinition object. If there's no recommendation on an accessReviewInstanceDecisionItem object, no decision is recorded. This action accepts recommendations for the decisions in a specific stage only, unlike accessReviewInstance: acceptRecommendations, which operates across the entire instance. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * Accept the recommendations on all accessReviewInstanceDecisionItem objects that haven't been reviewed within a single accessReviewStage of a multi-stage accessReviewInstance. Recommendations are generated if recommendationsEnabled is true on the accessReviewScheduleDefinition object. If there's no recommendation on an accessReviewInstanceDecisionItem object, no decision is recorded. This action accepts recommendations for the decisions in a specific stage only, unlike accessReviewInstance: acceptRecommendations, which operates across the entire instance. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AcceptRecommendationsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AcceptRecommendationsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AcceptRecommendationsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/batchrecorddecisions/BatchRecordDecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/batchrecorddecisions/BatchRecordDecisionsRequestBuilder.java index a677d1e9bb9..f3b9a98da9d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/batchrecorddecisions/BatchRecordDecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/batchrecorddecisions/BatchRecordDecisionsRequestBuilder.java @@ -38,8 +38,11 @@ public BatchRecordDecisionsRequestBuilder(@jakarta.annotation.Nonnull final Stri * Record decisions in bulk for all accessReviewInstanceDecisionItem objects within a single accessReviewStage of a multi-stage accessReviewInstance, by using principalId, resourceId, or neither. This action records decisions for a specific stage only, unlike accessReviewInstance: batchRecordDecisions, which operates across the entire instance. * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostRequestBody body) { post(body, null); } @@ -48,8 +51,11 @@ public void post(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostReque * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -61,8 +67,11 @@ public void post(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostReque * Record decisions in bulk for all accessReviewInstanceDecisionItem objects within a single accessReviewStage of a multi-stage accessReviewInstance, by using principalId, resourceId, or neither. This action records decisions for a specific stage only, unlike accessReviewInstance: batchRecordDecisions, which operates across the entire instance. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostRequestBody body) { return toPostRequestInformation(body, null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -85,8 +97,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link BatchRecordDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public BatchRecordDecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new BatchRecordDecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/decisions/DecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/decisions/DecisionsRequestBuilder.java index f4d90fdfe13..0b8a6e3ef9f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/decisions/DecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/decisions/DecisionsRequestBuilder.java @@ -28,7 +28,10 @@ public class DecisionsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -36,7 +39,10 @@ public CountRequestBuilder count() { /** * Provides operations to call the recordAllDecisions method. * @return a {@link RecordAllDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public RecordAllDecisionsRequestBuilder recordAllDecisions() { return new RecordAllDecisionsRequestBuilder(pathParameters, requestAdapter); @@ -45,8 +51,11 @@ public RecordAllDecisionsRequestBuilder recordAllDecisions() { * Provides operations to manage the decisions property of the microsoft.graph.accessReviewStage entity. * @param accessReviewInstanceDecisionItemId The unique identifier of accessReviewInstanceDecisionItem * @return a {@link AccessReviewInstanceDecisionItemItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessReviewInstanceDecisionItemItemRequestBuilder byAccessReviewInstanceDecisionItemId(@jakarta.annotation.Nonnull final String accessReviewInstanceDecisionItemId) { Objects.requireNonNull(accessReviewInstanceDecisionItemId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -73,8 +82,11 @@ public DecisionsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, * Provides operations to call the filterByCurrentUser method. * @param on Usage: on='{on}' * @return a {@link FilterByCurrentUserWithOnRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilterByCurrentUserWithOnRequestBuilder filterByCurrentUserWithOn(@jakarta.annotation.Nonnull final String on) { Objects.requireNonNull(on); return new FilterByCurrentUserWithOnRequestBuilder(pathParameters, requestAdapter, on); @@ -83,8 +95,11 @@ public FilterByCurrentUserWithOnRequestBuilder filterByCurrentUserWithOn(@jakart * Each user reviewed in an accessReviewStage has a decision item representing if they were approved, denied, or not yet reviewed. * @return a {@link AccessReviewInstanceDecisionItemCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItemCollectionResponse get() { return get(null); } @@ -93,8 +108,11 @@ public AccessReviewInstanceDecisionItemCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstanceDecisionItemCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItemCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -106,8 +124,11 @@ public AccessReviewInstanceDecisionItemCollectionResponse get(@jakarta.annotatio * @param body The request body * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem post(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body) { return post(body, null); } @@ -117,8 +138,11 @@ public AccessReviewInstanceDecisionItem post(@jakarta.annotation.Nonnull final A * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem post(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -129,8 +153,11 @@ public AccessReviewInstanceDecisionItem post(@jakarta.annotation.Nonnull final A /** * Each user reviewed in an accessReviewStage has a decision item representing if they were approved, denied, or not yet reviewed. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -138,8 +165,11 @@ public RequestInformation toGetRequestInformation() { * Each user reviewed in an accessReviewStage has a decision item representing if they were approved, denied, or not yet reviewed. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -150,8 +180,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to decisions for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body) { return toPostRequestInformation(body, null); } @@ -160,8 +193,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -174,8 +210,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link DecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public DecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new DecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/decisions/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/decisions/count/CountRequestBuilder.java index 5d63718e00d..f16fcf9b625 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/decisions/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/decisions/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/decisions/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/decisions/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java index 3d790cff4c3..f76cba6027c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/decisions/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/decisions/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java @@ -41,9 +41,12 @@ public FilterByCurrentUserWithOnRequestBuilder(@jakarta.annotation.Nonnull final * Retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. * @return a {@link FilterByCurrentUserWithOnGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public FilterByCurrentUserWithOnGetResponse get() { return get(null); } @@ -52,9 +55,12 @@ public FilterByCurrentUserWithOnGetResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link FilterByCurrentUserWithOnGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public FilterByCurrentUserWithOnGetResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -64,8 +70,11 @@ public FilterByCurrentUserWithOnGetResponse get(@jakarta.annotation.Nullable fin /** * Retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -73,8 +82,11 @@ public RequestInformation toGetRequestInformation() { * Retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -85,8 +97,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link FilterByCurrentUserWithOnRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilterByCurrentUserWithOnRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new FilterByCurrentUserWithOnRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/decisions/item/AccessReviewInstanceDecisionItemItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/decisions/item/AccessReviewInstanceDecisionItemItemRequestBuilder.java index d4ae0db5a81..281f5eb6f6c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/decisions/item/AccessReviewInstanceDecisionItemItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/decisions/item/AccessReviewInstanceDecisionItemItemRequestBuilder.java @@ -25,7 +25,10 @@ public class AccessReviewInstanceDecisionItemItemRequestBuilder extends BaseRequ /** * Provides operations to manage the insights property of the microsoft.graph.accessReviewInstanceDecisionItem entity. * @return a {@link InsightsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public InsightsRequestBuilder insights() { return new InsightsRequestBuilder(pathParameters, requestAdapter); @@ -33,7 +36,10 @@ public InsightsRequestBuilder insights() { /** * Provides operations to manage the instance property of the microsoft.graph.accessReviewInstanceDecisionItem entity. * @return a {@link InstanceRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public InstanceRequestBuilder instance() { return new InstanceRequestBuilder(pathParameters, requestAdapter); @@ -57,7 +63,10 @@ public AccessReviewInstanceDecisionItemItemRequestBuilder(@jakarta.annotation.No /** * Delete navigation property decisions for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -65,7 +74,10 @@ public void delete() { * Delete navigation property decisions for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -76,8 +88,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Each user reviewed in an accessReviewStage has a decision item representing if they were approved, denied, or not yet reviewed. * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem get() { return get(null); } @@ -86,8 +101,11 @@ public AccessReviewInstanceDecisionItem get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -99,8 +117,11 @@ public AccessReviewInstanceDecisionItem get(@jakarta.annotation.Nullable final j * @param body The request body * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem patch(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body) { return patch(body, null); } @@ -110,8 +131,11 @@ public AccessReviewInstanceDecisionItem patch(@jakarta.annotation.Nonnull final * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem patch(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -122,8 +146,11 @@ public AccessReviewInstanceDecisionItem patch(@jakarta.annotation.Nonnull final /** * Delete navigation property decisions for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -131,8 +158,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property decisions for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -142,8 +172,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Each user reviewed in an accessReviewStage has a decision item representing if they were approved, denied, or not yet reviewed. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -151,8 +184,11 @@ public RequestInformation toGetRequestInformation() { * Each user reviewed in an accessReviewStage has a decision item representing if they were approved, denied, or not yet reviewed. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -163,8 +199,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property decisions in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body) { return toPatchRequestInformation(body, null); } @@ -173,8 +212,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -187,8 +229,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessReviewInstanceDecisionItemItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessReviewInstanceDecisionItemItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessReviewInstanceDecisionItemItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/decisions/item/insights/InsightsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/decisions/item/insights/InsightsRequestBuilder.java index 2dab42e94e9..b1dc4c6ec8b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/decisions/item/insights/InsightsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/decisions/item/insights/InsightsRequestBuilder.java @@ -26,7 +26,10 @@ public class InsightsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the insights property of the microsoft.graph.accessReviewInstanceDecisionItem entity. * @param governanceInsightId The unique identifier of governanceInsight * @return a {@link GovernanceInsightItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public GovernanceInsightItemRequestBuilder byGovernanceInsightId(@jakarta.annotation.Nonnull final String governanceInsightId) { Objects.requireNonNull(governanceInsightId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public InsightsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @return a {@link GovernanceInsightCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsightCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public GovernanceInsightCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GovernanceInsightCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsightCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public GovernanceInsightCollectionResponse get(@jakarta.annotation.Nullable fina * @param body The request body * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight post(@jakarta.annotation.Nonnull final GovernanceInsight body) { return post(body, null); } @@ -97,8 +112,11 @@ public GovernanceInsight post(@jakarta.annotation.Nonnull final GovernanceInsigh * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight post(@jakarta.annotation.Nonnull final GovernanceInsight body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public GovernanceInsight post(@jakarta.annotation.Nonnull final GovernanceInsigh /** * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to insights for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GovernanceInsight body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GovernanceInsight body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link InsightsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public InsightsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new InsightsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/decisions/item/insights/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/decisions/item/insights/count/CountRequestBuilder.java index a8ca3497920..9ed22af1136 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/decisions/item/insights/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/decisions/item/insights/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/decisions/item/insights/item/GovernanceInsightItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/decisions/item/insights/item/GovernanceInsightItemRequestBuilder.java index 0866e778954..03535c423fe 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/decisions/item/insights/item/GovernanceInsightItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/decisions/item/insights/item/GovernanceInsightItemRequestBuilder.java @@ -39,7 +39,10 @@ public GovernanceInsightItemRequestBuilder(@jakarta.annotation.Nonnull final Str /** * Delete navigation property insights for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -47,7 +50,10 @@ public void delete() { * Delete navigation property insights for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -58,8 +64,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight get() { return get(null); } @@ -68,8 +77,11 @@ public GovernanceInsight get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -81,8 +93,11 @@ public GovernanceInsight get(@jakarta.annotation.Nullable final java.util.functi * @param body The request body * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight patch(@jakarta.annotation.Nonnull final GovernanceInsight body) { return patch(body, null); } @@ -92,8 +107,11 @@ public GovernanceInsight patch(@jakarta.annotation.Nonnull final GovernanceInsig * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight patch(@jakarta.annotation.Nonnull final GovernanceInsight body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -104,8 +122,11 @@ public GovernanceInsight patch(@jakarta.annotation.Nonnull final GovernanceInsig /** * Delete navigation property insights for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -113,8 +134,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property insights for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -133,8 +160,11 @@ public RequestInformation toGetRequestInformation() { * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -145,8 +175,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property insights in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final GovernanceInsight body) { return toPatchRequestInformation(body, null); } @@ -155,8 +188,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final GovernanceInsight body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -169,8 +205,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link GovernanceInsightItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public GovernanceInsightItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new GovernanceInsightItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/decisions/item/instance/InstanceRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/decisions/item/instance/InstanceRequestBuilder.java index 0fe14224aaa..173ca85cb71 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/decisions/item/instance/InstanceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/decisions/item/instance/InstanceRequestBuilder.java @@ -34,7 +34,10 @@ public class InstanceRequestBuilder extends BaseRequestBuilder { /** * Provides operations to call the acceptRecommendations method. * @return a {@link AcceptRecommendationsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AcceptRecommendationsRequestBuilder acceptRecommendations() { return new AcceptRecommendationsRequestBuilder(pathParameters, requestAdapter); @@ -42,7 +45,10 @@ public AcceptRecommendationsRequestBuilder acceptRecommendations() { /** * Provides operations to call the applyDecisions method. * @return a {@link ApplyDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ApplyDecisionsRequestBuilder applyDecisions() { return new ApplyDecisionsRequestBuilder(pathParameters, requestAdapter); @@ -50,7 +56,10 @@ public ApplyDecisionsRequestBuilder applyDecisions() { /** * Provides operations to call the batchApplyCustomDataProvidedResourceDecisions method. * @return a {@link BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder batchApplyCustomDataProvidedResourceDecisions() { return new BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder(pathParameters, requestAdapter); @@ -58,7 +67,10 @@ public BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder batchApplyCus /** * Provides operations to call the batchRecordDecisions method. * @return a {@link BatchRecordDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public BatchRecordDecisionsRequestBuilder batchRecordDecisions() { return new BatchRecordDecisionsRequestBuilder(pathParameters, requestAdapter); @@ -66,7 +78,10 @@ public BatchRecordDecisionsRequestBuilder batchRecordDecisions() { /** * Provides operations to manage the contactedReviewers property of the microsoft.graph.accessReviewInstance entity. * @return a {@link ContactedReviewersRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ContactedReviewersRequestBuilder contactedReviewers() { return new ContactedReviewersRequestBuilder(pathParameters, requestAdapter); @@ -74,7 +89,10 @@ public ContactedReviewersRequestBuilder contactedReviewers() { /** * Provides operations to manage the decisions property of the microsoft.graph.accessReviewInstance entity. * @return a {@link DecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public DecisionsRequestBuilder decisions() { return new DecisionsRequestBuilder(pathParameters, requestAdapter); @@ -82,7 +100,10 @@ public DecisionsRequestBuilder decisions() { /** * Provides operations to manage the definition property of the microsoft.graph.accessReviewInstance entity. * @return a {@link DefinitionRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public DefinitionRequestBuilder definition() { return new DefinitionRequestBuilder(pathParameters, requestAdapter); @@ -90,7 +111,10 @@ public DefinitionRequestBuilder definition() { /** * Provides operations to call the resetDecisions method. * @return a {@link ResetDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ResetDecisionsRequestBuilder resetDecisions() { return new ResetDecisionsRequestBuilder(pathParameters, requestAdapter); @@ -98,7 +122,10 @@ public ResetDecisionsRequestBuilder resetDecisions() { /** * Provides operations to call the sendReminder method. * @return a {@link SendReminderRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public SendReminderRequestBuilder sendReminder() { return new SendReminderRequestBuilder(pathParameters, requestAdapter); @@ -106,7 +133,10 @@ public SendReminderRequestBuilder sendReminder() { /** * Provides operations to call the stop method. * @return a {@link StopRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public StopRequestBuilder stop() { return new StopRequestBuilder(pathParameters, requestAdapter); @@ -114,7 +144,10 @@ public StopRequestBuilder stop() { /** * Provides operations to call the stopApplyDecisions method. * @return a {@link StopApplyDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public StopApplyDecisionsRequestBuilder stopApplyDecisions() { return new StopApplyDecisionsRequestBuilder(pathParameters, requestAdapter); @@ -138,7 +171,10 @@ public InstanceRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ /** * Delete navigation property instance for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -146,7 +182,10 @@ public void delete() { * Delete navigation property instance for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -157,8 +196,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * There's exactly one accessReviewInstance associated with each decision. The instance is the parent of the decision item, representing the recurrence of the access review the decision is made on. * @return a {@link AccessReviewInstance} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstance get() { return get(null); } @@ -167,8 +209,11 @@ public AccessReviewInstance get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstance} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstance get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -180,8 +225,11 @@ public AccessReviewInstance get(@jakarta.annotation.Nullable final java.util.fun * @param body The request body * @return a {@link AccessReviewInstance} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstance patch(@jakarta.annotation.Nonnull final AccessReviewInstance body) { return patch(body, null); } @@ -191,8 +239,11 @@ public AccessReviewInstance patch(@jakarta.annotation.Nonnull final AccessReview * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstance} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstance patch(@jakarta.annotation.Nonnull final AccessReviewInstance body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -203,8 +254,11 @@ public AccessReviewInstance patch(@jakarta.annotation.Nonnull final AccessReview /** * Delete navigation property instance for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -212,8 +266,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property instance for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -223,8 +280,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * There's exactly one accessReviewInstance associated with each decision. The instance is the parent of the decision item, representing the recurrence of the access review the decision is made on. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -232,8 +292,11 @@ public RequestInformation toGetRequestInformation() { * There's exactly one accessReviewInstance associated with each decision. The instance is the parent of the decision item, representing the recurrence of the access review the decision is made on. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -244,8 +307,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property instance in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstance body) { return toPatchRequestInformation(body, null); } @@ -254,8 +320,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstance body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -268,8 +337,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link InstanceRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public InstanceRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new InstanceRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/decisions/item/instance/acceptrecommendations/AcceptRecommendationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/decisions/item/instance/acceptrecommendations/AcceptRecommendationsRequestBuilder.java index 6e82b1d4d36..ea5f4455f42 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/decisions/item/instance/acceptrecommendations/AcceptRecommendationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/decisions/item/instance/acceptrecommendations/AcceptRecommendationsRequestBuilder.java @@ -37,8 +37,11 @@ public AcceptRecommendationsRequestBuilder(@jakarta.annotation.Nonnull final Str /** * Allows the acceptance of recommendations on all accessReviewInstanceDecisionItem objects that haven't been reviewed for an accessReviewInstance object for which the calling user is a reviewer. Recommendations are generated if recommendationsEnabled is true on the accessReviewScheduleDefinition object. If there isn't a recommendation on an accessReviewInstanceDecisionItem object no decision will be recorded. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * Allows the acceptance of recommendations on all accessReviewInstanceDecisionItem objects that haven't been reviewed for an accessReviewInstance object for which the calling user is a reviewer. Recommendations are generated if recommendationsEnabled is true on the accessReviewScheduleDefinition object. If there isn't a recommendation on an accessReviewInstanceDecisionItem object no decision will be recorded. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Allows the acceptance of recommendations on all accessReviewInstanceDecisionItem objects that haven't been reviewed for an accessReviewInstance object for which the calling user is a reviewer. Recommendations are generated if recommendationsEnabled is true on the accessReviewScheduleDefinition object. If there isn't a recommendation on an accessReviewInstanceDecisionItem object no decision will be recorded. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * Allows the acceptance of recommendations on all accessReviewInstanceDecisionItem objects that haven't been reviewed for an accessReviewInstance object for which the calling user is a reviewer. Recommendations are generated if recommendationsEnabled is true on the accessReviewScheduleDefinition object. If there isn't a recommendation on an accessReviewInstanceDecisionItem object no decision will be recorded. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AcceptRecommendationsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AcceptRecommendationsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AcceptRecommendationsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/decisions/item/instance/applydecisions/ApplyDecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/decisions/item/instance/applydecisions/ApplyDecisionsRequestBuilder.java index bfe060dbc0d..0bdf6d30c30 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/decisions/item/instance/applydecisions/ApplyDecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/decisions/item/instance/applydecisions/ApplyDecisionsRequestBuilder.java @@ -37,8 +37,11 @@ public ApplyDecisionsRequestBuilder(@jakarta.annotation.Nonnull final String raw /** * Apply review decisions on an accessReviewInstance if the decisions were not applied automatically because the autoApplyDecisionsEnabled property is false in the review's accessReviewScheduleSettings. The status of the accessReviewInstance must be Completed to call this method. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * Apply review decisions on an accessReviewInstance if the decisions were not applied automatically because the autoApplyDecisionsEnabled property is false in the review's accessReviewScheduleSettings. The status of the accessReviewInstance must be Completed to call this method. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Apply review decisions on an accessReviewInstance if the decisions were not applied automatically because the autoApplyDecisionsEnabled property is false in the review's accessReviewScheduleSettings. The status of the accessReviewInstance must be Completed to call this method. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * Apply review decisions on an accessReviewInstance if the decisions were not applied automatically because the autoApplyDecisionsEnabled property is false in the review's accessReviewScheduleSettings. The status of the accessReviewInstance must be Completed to call this method. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ApplyDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ApplyDecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ApplyDecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/decisions/item/instance/batchapplycustomdataprovidedresourcedecisions/BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/decisions/item/instance/batchapplycustomdataprovidedresourcedecisions/BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder.java index 9da6e119aa5..35a98887d2f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/decisions/item/instance/batchapplycustomdataprovidedresourcedecisions/BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/decisions/item/instance/batchapplycustomdataprovidedresourcedecisions/BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder.java @@ -38,8 +38,11 @@ public BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder(@jakarta.anno * Enables reviewers to set the applyResult and applyDescription on all accessReviewInstanceDecisionItem objects in a specific accessReviewInstance in batches by using customDataProvidedResourceId. NOTE: The access review instance must be in an Applying state. * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final BatchApplyCustomDataProvidedResourceDecisionsPostRequestBody body) { post(body, null); } @@ -48,8 +51,11 @@ public void post(@jakarta.annotation.Nonnull final BatchApplyCustomDataProvidedR * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final BatchApplyCustomDataProvidedResourceDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -61,8 +67,11 @@ public void post(@jakarta.annotation.Nonnull final BatchApplyCustomDataProvidedR * Enables reviewers to set the applyResult and applyDescription on all accessReviewInstanceDecisionItem objects in a specific accessReviewInstance in batches by using customDataProvidedResourceId. NOTE: The access review instance must be in an Applying state. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BatchApplyCustomDataProvidedResourceDecisionsPostRequestBody body) { return toPostRequestInformation(body, null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BatchApplyCustomDataProvidedResourceDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -85,8 +97,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/decisions/item/instance/batchrecorddecisions/BatchRecordDecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/decisions/item/instance/batchrecorddecisions/BatchRecordDecisionsRequestBuilder.java index 4d2ba22397a..1cb4a3d0ff0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/decisions/item/instance/batchrecorddecisions/BatchRecordDecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/decisions/item/instance/batchrecorddecisions/BatchRecordDecisionsRequestBuilder.java @@ -38,8 +38,11 @@ public BatchRecordDecisionsRequestBuilder(@jakarta.annotation.Nonnull final Stri * Enables reviewers to review all accessReviewInstanceDecisionItem objects in a specific pending accessReviewInstance in batches by using principalId, resourceId, or neither. * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostRequestBody body) { post(body, null); } @@ -48,8 +51,11 @@ public void post(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostReque * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -61,8 +67,11 @@ public void post(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostReque * Enables reviewers to review all accessReviewInstanceDecisionItem objects in a specific pending accessReviewInstance in batches by using principalId, resourceId, or neither. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostRequestBody body) { return toPostRequestInformation(body, null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -85,8 +97,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link BatchRecordDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public BatchRecordDecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new BatchRecordDecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/decisions/item/instance/contactedreviewers/ContactedReviewersRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/decisions/item/instance/contactedreviewers/ContactedReviewersRequestBuilder.java index 059b400e51a..fc49fd9b24b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/decisions/item/instance/contactedreviewers/ContactedReviewersRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/decisions/item/instance/contactedreviewers/ContactedReviewersRequestBuilder.java @@ -26,7 +26,10 @@ public class ContactedReviewersRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the contactedReviewers property of the microsoft.graph.accessReviewInstance entity. * @param accessReviewReviewerId The unique identifier of accessReviewReviewer * @return a {@link AccessReviewReviewerItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessReviewReviewerItemRequestBuilder byAccessReviewReviewerId(@jakarta.annotation.Nonnull final String accessReviewReviewerId) { Objects.requireNonNull(accessReviewReviewerId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public ContactedReviewersRequestBuilder(@jakarta.annotation.Nonnull final String * Returns the collection of reviewers who were contacted to complete this review. While the reviewers and fallbackReviewers properties of the accessReviewScheduleDefinition might specify group owners or managers as reviewers, contactedReviewers returns their individual identities. Supports $select. Read-only. * @return a {@link AccessReviewReviewerCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewReviewerCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public AccessReviewReviewerCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewReviewerCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewReviewerCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public AccessReviewReviewerCollectionResponse get(@jakarta.annotation.Nullable f * @param body The request body * @return a {@link AccessReviewReviewer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewReviewer post(@jakarta.annotation.Nonnull final AccessReviewReviewer body) { return post(body, null); } @@ -97,8 +112,11 @@ public AccessReviewReviewer post(@jakarta.annotation.Nonnull final AccessReviewR * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewReviewer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewReviewer post(@jakarta.annotation.Nonnull final AccessReviewReviewer body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public AccessReviewReviewer post(@jakarta.annotation.Nonnull final AccessReviewR /** * Returns the collection of reviewers who were contacted to complete this review. While the reviewers and fallbackReviewers properties of the accessReviewScheduleDefinition might specify group owners or managers as reviewers, contactedReviewers returns their individual identities. Supports $select. Read-only. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Returns the collection of reviewers who were contacted to complete this review. While the reviewers and fallbackReviewers properties of the accessReviewScheduleDefinition might specify group owners or managers as reviewers, contactedReviewers returns their individual identities. Supports $select. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to contactedReviewers for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewReviewer body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewReviewer body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ContactedReviewersRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ContactedReviewersRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ContactedReviewersRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/decisions/item/instance/contactedreviewers/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/decisions/item/instance/contactedreviewers/count/CountRequestBuilder.java index 5667d676ff4..560f259c388 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/decisions/item/instance/contactedreviewers/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/decisions/item/instance/contactedreviewers/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/decisions/item/instance/contactedreviewers/item/AccessReviewReviewerItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/decisions/item/instance/contactedreviewers/item/AccessReviewReviewerItemRequestBuilder.java index 488b81db5cd..20dd4cd5eed 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/decisions/item/instance/contactedreviewers/item/AccessReviewReviewerItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/decisions/item/instance/contactedreviewers/item/AccessReviewReviewerItemRequestBuilder.java @@ -39,7 +39,10 @@ public AccessReviewReviewerItemRequestBuilder(@jakarta.annotation.Nonnull final /** * Delete navigation property contactedReviewers for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -47,7 +50,10 @@ public void delete() { * Delete navigation property contactedReviewers for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -58,8 +64,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Returns the collection of reviewers who were contacted to complete this review. While the reviewers and fallbackReviewers properties of the accessReviewScheduleDefinition might specify group owners or managers as reviewers, contactedReviewers returns their individual identities. Supports $select. Read-only. * @return a {@link AccessReviewReviewer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewReviewer get() { return get(null); } @@ -68,8 +77,11 @@ public AccessReviewReviewer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewReviewer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewReviewer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -81,8 +93,11 @@ public AccessReviewReviewer get(@jakarta.annotation.Nullable final java.util.fun * @param body The request body * @return a {@link AccessReviewReviewer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewReviewer patch(@jakarta.annotation.Nonnull final AccessReviewReviewer body) { return patch(body, null); } @@ -92,8 +107,11 @@ public AccessReviewReviewer patch(@jakarta.annotation.Nonnull final AccessReview * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewReviewer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewReviewer patch(@jakarta.annotation.Nonnull final AccessReviewReviewer body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -104,8 +122,11 @@ public AccessReviewReviewer patch(@jakarta.annotation.Nonnull final AccessReview /** * Delete navigation property contactedReviewers for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -113,8 +134,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property contactedReviewers for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Returns the collection of reviewers who were contacted to complete this review. While the reviewers and fallbackReviewers properties of the accessReviewScheduleDefinition might specify group owners or managers as reviewers, contactedReviewers returns their individual identities. Supports $select. Read-only. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -133,8 +160,11 @@ public RequestInformation toGetRequestInformation() { * Returns the collection of reviewers who were contacted to complete this review. While the reviewers and fallbackReviewers properties of the accessReviewScheduleDefinition might specify group owners or managers as reviewers, contactedReviewers returns their individual identities. Supports $select. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -145,8 +175,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property contactedReviewers in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewReviewer body) { return toPatchRequestInformation(body, null); } @@ -155,8 +188,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewReviewer body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -169,8 +205,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessReviewReviewerItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessReviewReviewerItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessReviewReviewerItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/decisions/item/instance/decisions/DecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/decisions/item/instance/decisions/DecisionsRequestBuilder.java index e6f93031f8e..7062082ecb9 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/decisions/item/instance/decisions/DecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/decisions/item/instance/decisions/DecisionsRequestBuilder.java @@ -28,7 +28,10 @@ public class DecisionsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -36,7 +39,10 @@ public CountRequestBuilder count() { /** * Provides operations to call the recordAllDecisions method. * @return a {@link RecordAllDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public RecordAllDecisionsRequestBuilder recordAllDecisions() { return new RecordAllDecisionsRequestBuilder(pathParameters, requestAdapter); @@ -45,8 +51,11 @@ public RecordAllDecisionsRequestBuilder recordAllDecisions() { * Provides operations to manage the decisions property of the microsoft.graph.accessReviewInstance entity. * @param accessReviewInstanceDecisionItemId1 The unique identifier of accessReviewInstanceDecisionItem * @return a {@link AccessReviewInstanceDecisionItemItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessReviewInstanceDecisionItemItemRequestBuilder byAccessReviewInstanceDecisionItemId1(@jakarta.annotation.Nonnull final String accessReviewInstanceDecisionItemId1) { Objects.requireNonNull(accessReviewInstanceDecisionItemId1); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -73,8 +82,11 @@ public DecisionsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, * Provides operations to call the filterByCurrentUser method. * @param on Usage: on='{on}' * @return a {@link FilterByCurrentUserWithOnRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilterByCurrentUserWithOnRequestBuilder filterByCurrentUserWithOn(@jakarta.annotation.Nonnull final String on) { Objects.requireNonNull(on); return new FilterByCurrentUserWithOnRequestBuilder(pathParameters, requestAdapter, on); @@ -83,8 +95,11 @@ public FilterByCurrentUserWithOnRequestBuilder filterByCurrentUserWithOn(@jakart * Each user reviewed in an accessReviewInstance has a decision item representing if they were approved, denied, or not yet reviewed. * @return a {@link AccessReviewInstanceDecisionItemCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItemCollectionResponse get() { return get(null); } @@ -93,8 +108,11 @@ public AccessReviewInstanceDecisionItemCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstanceDecisionItemCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItemCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -106,8 +124,11 @@ public AccessReviewInstanceDecisionItemCollectionResponse get(@jakarta.annotatio * @param body The request body * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem post(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body) { return post(body, null); } @@ -117,8 +138,11 @@ public AccessReviewInstanceDecisionItem post(@jakarta.annotation.Nonnull final A * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem post(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -129,8 +153,11 @@ public AccessReviewInstanceDecisionItem post(@jakarta.annotation.Nonnull final A /** * Each user reviewed in an accessReviewInstance has a decision item representing if they were approved, denied, or not yet reviewed. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -138,8 +165,11 @@ public RequestInformation toGetRequestInformation() { * Each user reviewed in an accessReviewInstance has a decision item representing if they were approved, denied, or not yet reviewed. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -150,8 +180,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to decisions for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body) { return toPostRequestInformation(body, null); } @@ -160,8 +193,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -174,8 +210,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link DecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public DecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new DecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/decisions/item/instance/decisions/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/decisions/item/instance/decisions/count/CountRequestBuilder.java index 614899ba401..54dd1ae73ac 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/decisions/item/instance/decisions/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/decisions/item/instance/decisions/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/decisions/item/instance/decisions/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/decisions/item/instance/decisions/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java index b5f4452e3f1..7be38a56a4a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/decisions/item/instance/decisions/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/decisions/item/instance/decisions/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java @@ -41,9 +41,12 @@ public FilterByCurrentUserWithOnRequestBuilder(@jakarta.annotation.Nonnull final * Retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. * @return a {@link FilterByCurrentUserWithOnGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public FilterByCurrentUserWithOnGetResponse get() { return get(null); } @@ -52,9 +55,12 @@ public FilterByCurrentUserWithOnGetResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link FilterByCurrentUserWithOnGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public FilterByCurrentUserWithOnGetResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -64,8 +70,11 @@ public FilterByCurrentUserWithOnGetResponse get(@jakarta.annotation.Nullable fin /** * Retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -73,8 +82,11 @@ public RequestInformation toGetRequestInformation() { * Retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -85,8 +97,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link FilterByCurrentUserWithOnRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilterByCurrentUserWithOnRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new FilterByCurrentUserWithOnRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/decisions/item/instance/decisions/item/AccessReviewInstanceDecisionItemItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/decisions/item/instance/decisions/item/AccessReviewInstanceDecisionItemItemRequestBuilder.java index 4397ad3727a..ed0827f65b1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/decisions/item/instance/decisions/item/AccessReviewInstanceDecisionItemItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/decisions/item/instance/decisions/item/AccessReviewInstanceDecisionItemItemRequestBuilder.java @@ -24,7 +24,10 @@ public class AccessReviewInstanceDecisionItemItemRequestBuilder extends BaseRequ /** * Provides operations to manage the insights property of the microsoft.graph.accessReviewInstanceDecisionItem entity. * @return a {@link InsightsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public InsightsRequestBuilder insights() { return new InsightsRequestBuilder(pathParameters, requestAdapter); @@ -48,7 +51,10 @@ public AccessReviewInstanceDecisionItemItemRequestBuilder(@jakarta.annotation.No /** * Delete navigation property decisions for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -56,7 +62,10 @@ public void delete() { * Delete navigation property decisions for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -67,8 +76,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Each user reviewed in an accessReviewInstance has a decision item representing if they were approved, denied, or not yet reviewed. * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem get() { return get(null); } @@ -77,8 +89,11 @@ public AccessReviewInstanceDecisionItem get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -90,8 +105,11 @@ public AccessReviewInstanceDecisionItem get(@jakarta.annotation.Nullable final j * @param body The request body * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem patch(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body) { return patch(body, null); } @@ -101,8 +119,11 @@ public AccessReviewInstanceDecisionItem patch(@jakarta.annotation.Nonnull final * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem patch(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -113,8 +134,11 @@ public AccessReviewInstanceDecisionItem patch(@jakarta.annotation.Nonnull final /** * Delete navigation property decisions for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -122,8 +146,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property decisions for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -133,8 +160,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Each user reviewed in an accessReviewInstance has a decision item representing if they were approved, denied, or not yet reviewed. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -142,8 +172,11 @@ public RequestInformation toGetRequestInformation() { * Each user reviewed in an accessReviewInstance has a decision item representing if they were approved, denied, or not yet reviewed. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -154,8 +187,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property decisions in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body) { return toPatchRequestInformation(body, null); } @@ -164,8 +200,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -178,8 +217,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessReviewInstanceDecisionItemItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessReviewInstanceDecisionItemItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessReviewInstanceDecisionItemItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/decisions/item/instance/decisions/item/insights/InsightsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/decisions/item/instance/decisions/item/insights/InsightsRequestBuilder.java index 0b76e3e82c7..1a45c95e9ab 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/decisions/item/instance/decisions/item/insights/InsightsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/decisions/item/instance/decisions/item/insights/InsightsRequestBuilder.java @@ -26,7 +26,10 @@ public class InsightsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the insights property of the microsoft.graph.accessReviewInstanceDecisionItem entity. * @param governanceInsightId The unique identifier of governanceInsight * @return a {@link GovernanceInsightItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public GovernanceInsightItemRequestBuilder byGovernanceInsightId(@jakarta.annotation.Nonnull final String governanceInsightId) { Objects.requireNonNull(governanceInsightId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public InsightsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @return a {@link GovernanceInsightCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsightCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public GovernanceInsightCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GovernanceInsightCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsightCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public GovernanceInsightCollectionResponse get(@jakarta.annotation.Nullable fina * @param body The request body * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight post(@jakarta.annotation.Nonnull final GovernanceInsight body) { return post(body, null); } @@ -97,8 +112,11 @@ public GovernanceInsight post(@jakarta.annotation.Nonnull final GovernanceInsigh * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight post(@jakarta.annotation.Nonnull final GovernanceInsight body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public GovernanceInsight post(@jakarta.annotation.Nonnull final GovernanceInsigh /** * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to insights for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GovernanceInsight body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GovernanceInsight body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link InsightsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public InsightsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new InsightsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/decisions/item/instance/decisions/item/insights/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/decisions/item/instance/decisions/item/insights/count/CountRequestBuilder.java index 7e3ffc062b1..0bd4895d480 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/decisions/item/instance/decisions/item/insights/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/decisions/item/instance/decisions/item/insights/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/decisions/item/instance/decisions/item/insights/item/GovernanceInsightItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/decisions/item/instance/decisions/item/insights/item/GovernanceInsightItemRequestBuilder.java index 6c7070712f8..7fe924fe239 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/decisions/item/instance/decisions/item/insights/item/GovernanceInsightItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/decisions/item/instance/decisions/item/insights/item/GovernanceInsightItemRequestBuilder.java @@ -39,7 +39,10 @@ public GovernanceInsightItemRequestBuilder(@jakarta.annotation.Nonnull final Str /** * Delete navigation property insights for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -47,7 +50,10 @@ public void delete() { * Delete navigation property insights for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -58,8 +64,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight get() { return get(null); } @@ -68,8 +77,11 @@ public GovernanceInsight get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -81,8 +93,11 @@ public GovernanceInsight get(@jakarta.annotation.Nullable final java.util.functi * @param body The request body * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight patch(@jakarta.annotation.Nonnull final GovernanceInsight body) { return patch(body, null); } @@ -92,8 +107,11 @@ public GovernanceInsight patch(@jakarta.annotation.Nonnull final GovernanceInsig * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight patch(@jakarta.annotation.Nonnull final GovernanceInsight body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -104,8 +122,11 @@ public GovernanceInsight patch(@jakarta.annotation.Nonnull final GovernanceInsig /** * Delete navigation property insights for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -113,8 +134,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property insights for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -133,8 +160,11 @@ public RequestInformation toGetRequestInformation() { * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -145,8 +175,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property insights in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final GovernanceInsight body) { return toPatchRequestInformation(body, null); } @@ -155,8 +188,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final GovernanceInsight body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -169,8 +205,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link GovernanceInsightItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public GovernanceInsightItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new GovernanceInsightItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/decisions/item/instance/decisions/recordalldecisions/RecordAllDecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/decisions/item/instance/decisions/recordalldecisions/RecordAllDecisionsRequestBuilder.java index 50d0afa4a98..837aff9c4e7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/decisions/item/instance/decisions/recordalldecisions/RecordAllDecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/decisions/item/instance/decisions/recordalldecisions/RecordAllDecisionsRequestBuilder.java @@ -38,8 +38,11 @@ public RecordAllDecisionsRequestBuilder(@jakarta.annotation.Nonnull final String * As a reviewer of an access review, record a decision for an accessReviewInstanceDecisionItem that is assigned to you and that matches the principal or resource IDs specified. If no IDs are specified, the decisions will apply to every accessReviewInstanceDecisionItem for which you are the reviewer. * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequestBody body) { post(body, null); } @@ -48,8 +51,11 @@ public void post(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequest * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -61,8 +67,11 @@ public void post(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequest * As a reviewer of an access review, record a decision for an accessReviewInstanceDecisionItem that is assigned to you and that matches the principal or resource IDs specified. If no IDs are specified, the decisions will apply to every accessReviewInstanceDecisionItem for which you are the reviewer. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequestBody body) { return toPostRequestInformation(body, null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -85,8 +97,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RecordAllDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RecordAllDecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RecordAllDecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/decisions/item/instance/definition/DefinitionRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/decisions/item/instance/definition/DefinitionRequestBuilder.java index 5114795d6f3..6a8d4e9500e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/decisions/item/instance/definition/DefinitionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/decisions/item/instance/definition/DefinitionRequestBuilder.java @@ -40,8 +40,11 @@ public DefinitionRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, * There's exactly one accessReviewScheduleDefinition associated with each instance. It's the parent schedule for the instance, where instances are created for each recurrence of a review definition and each group selected to review by the definition. * @return a {@link AccessReviewScheduleDefinition} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewScheduleDefinition get() { return get(null); } @@ -50,8 +53,11 @@ public AccessReviewScheduleDefinition get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewScheduleDefinition} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewScheduleDefinition get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public AccessReviewScheduleDefinition get(@jakarta.annotation.Nullable final jav /** * There's exactly one accessReviewScheduleDefinition associated with each instance. It's the parent schedule for the instance, where instances are created for each recurrence of a review definition and each group selected to review by the definition. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * There's exactly one accessReviewScheduleDefinition associated with each instance. It's the parent schedule for the instance, where instances are created for each recurrence of a review definition and each group selected to review by the definition. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link DefinitionRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public DefinitionRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new DefinitionRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/decisions/item/instance/resetdecisions/ResetDecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/decisions/item/instance/resetdecisions/ResetDecisionsRequestBuilder.java index 6598b3e624f..b1cdf7b1e7b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/decisions/item/instance/resetdecisions/ResetDecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/decisions/item/instance/resetdecisions/ResetDecisionsRequestBuilder.java @@ -37,8 +37,11 @@ public ResetDecisionsRequestBuilder(@jakarta.annotation.Nonnull final String raw /** * Resets decisions of all accessReviewInstanceDecisionItem objects on an accessReviewInstance to notReviewed. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * Resets decisions of all accessReviewInstanceDecisionItem objects on an accessReviewInstance to notReviewed. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Resets decisions of all accessReviewInstanceDecisionItem objects on an accessReviewInstance to notReviewed. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * Resets decisions of all accessReviewInstanceDecisionItem objects on an accessReviewInstance to notReviewed. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ResetDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ResetDecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ResetDecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/decisions/item/instance/sendreminder/SendReminderRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/decisions/item/instance/sendreminder/SendReminderRequestBuilder.java index 1b79a9025b0..d968cfb5bb3 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/decisions/item/instance/sendreminder/SendReminderRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/decisions/item/instance/sendreminder/SendReminderRequestBuilder.java @@ -37,8 +37,11 @@ public SendReminderRequestBuilder(@jakarta.annotation.Nonnull final String rawUr /** * Send a reminder to the reviewers of a currently active accessReviewInstance. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * Send a reminder to the reviewers of a currently active accessReviewInstance. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Send a reminder to the reviewers of a currently active accessReviewInstance. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * Send a reminder to the reviewers of a currently active accessReviewInstance. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link SendReminderRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public SendReminderRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new SendReminderRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/decisions/item/instance/stop/StopRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/decisions/item/instance/stop/StopRequestBuilder.java index bb7716422fe..6484c61d180 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/decisions/item/instance/stop/StopRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/decisions/item/instance/stop/StopRequestBuilder.java @@ -37,8 +37,11 @@ public StopRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jaka /** * Stop a currently active accessReviewInstance. After the access review instance stops, the instance status will be Completed, the reviewers can no longer give input, and the access review decisions can be applied. Stopping an instance will not effect future instances. To prevent a recurring access review from starting future instances, update the schedule definition to change its scheduled end date. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * Stop a currently active accessReviewInstance. After the access review instance stops, the instance status will be Completed, the reviewers can no longer give input, and the access review decisions can be applied. Stopping an instance will not effect future instances. To prevent a recurring access review from starting future instances, update the schedule definition to change its scheduled end date. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Stop a currently active accessReviewInstance. After the access review instance stops, the instance status will be Completed, the reviewers can no longer give input, and the access review decisions can be applied. Stopping an instance will not effect future instances. To prevent a recurring access review from starting future instances, update the schedule definition to change its scheduled end date. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * Stop a currently active accessReviewInstance. After the access review instance stops, the instance status will be Completed, the reviewers can no longer give input, and the access review decisions can be applied. Stopping an instance will not effect future instances. To prevent a recurring access review from starting future instances, update the schedule definition to change its scheduled end date. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link StopRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public StopRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new StopRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/decisions/item/instance/stopapplydecisions/StopApplyDecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/decisions/item/instance/stopapplydecisions/StopApplyDecisionsRequestBuilder.java index 6003f24a513..b19084c443b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/decisions/item/instance/stopapplydecisions/StopApplyDecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/decisions/item/instance/stopapplydecisions/StopApplyDecisionsRequestBuilder.java @@ -37,7 +37,10 @@ public StopApplyDecisionsRequestBuilder(@jakarta.annotation.Nonnull final String /** * Invoke action stopApplyDecisions * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void post() { post(null); } @@ -45,7 +48,10 @@ public void post() { * Invoke action stopApplyDecisions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -55,8 +61,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Invoke action stopApplyDecisions * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -64,8 +73,11 @@ public RequestInformation toPostRequestInformation() { * Invoke action stopApplyDecisions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -76,8 +88,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link StopApplyDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public StopApplyDecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new StopApplyDecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/decisions/recordalldecisions/RecordAllDecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/decisions/recordalldecisions/RecordAllDecisionsRequestBuilder.java index 5dbe870e918..5cf1755e2a2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/decisions/recordalldecisions/RecordAllDecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/decisions/recordalldecisions/RecordAllDecisionsRequestBuilder.java @@ -38,8 +38,11 @@ public RecordAllDecisionsRequestBuilder(@jakarta.annotation.Nonnull final String * As a reviewer of an access review, record a decision for an accessReviewInstanceDecisionItem that is assigned to you and that matches the principal or resource IDs specified. If no IDs are specified, the decisions will apply to every accessReviewInstanceDecisionItem for which you are the reviewer. * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequestBody body) { post(body, null); } @@ -48,8 +51,11 @@ public void post(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequest * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -61,8 +67,11 @@ public void post(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequest * As a reviewer of an access review, record a decision for an accessReviewInstanceDecisionItem that is assigned to you and that matches the principal or resource IDs specified. If no IDs are specified, the decisions will apply to every accessReviewInstanceDecisionItem for which you are the reviewer. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequestBody body) { return toPostRequestInformation(body, null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -85,8 +97,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RecordAllDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RecordAllDecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RecordAllDecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/stop/StopRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/stop/StopRequestBuilder.java index b4e19e20a9e..37f6b115b13 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/stop/StopRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stages/item/stop/StopRequestBuilder.java @@ -37,8 +37,11 @@ public StopRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jaka /** * Stop an access review stage that is inProgress. After the access review stage stops, the stage status will be Completed and the reviewers can no longer give input. If there are subsequent stages that depend on the completed stage, the next stage will be created. The accessReviewInstanceDecisionItem objects will always reflect the last decisions recorded across all stages at that given time, regardless of the status of the stages. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * Stop an access review stage that is inProgress. After the access review stage stops, the stage status will be Completed and the reviewers can no longer give input. If there are subsequent stages that depend on the completed stage, the next stage will be created. The accessReviewInstanceDecisionItem objects will always reflect the last decisions recorded across all stages at that given time, regardless of the status of the stages. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Stop an access review stage that is inProgress. After the access review stage stops, the stage status will be Completed and the reviewers can no longer give input. If there are subsequent stages that depend on the completed stage, the next stage will be created. The accessReviewInstanceDecisionItem objects will always reflect the last decisions recorded across all stages at that given time, regardless of the status of the stages. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * Stop an access review stage that is inProgress. After the access review stage stops, the stage status will be Completed and the reviewers can no longer give input. If there are subsequent stages that depend on the completed stage, the next stage will be created. The accessReviewInstanceDecisionItem objects will always reflect the last decisions recorded across all stages at that given time, regardless of the status of the stages. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link StopRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public StopRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new StopRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stop/StopRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stop/StopRequestBuilder.java index d1310c5938c..f3cf0ae94a9 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stop/StopRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stop/StopRequestBuilder.java @@ -37,8 +37,11 @@ public StopRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jaka /** * Stop a currently active accessReviewInstance. After the access review instance stops, the instance status will be Completed, the reviewers can no longer give input, and the access review decisions can be applied. Stopping an instance will not effect future instances. To prevent a recurring access review from starting future instances, update the schedule definition to change its scheduled end date. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * Stop a currently active accessReviewInstance. After the access review instance stops, the instance status will be Completed, the reviewers can no longer give input, and the access review decisions can be applied. Stopping an instance will not effect future instances. To prevent a recurring access review from starting future instances, update the schedule definition to change its scheduled end date. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Stop a currently active accessReviewInstance. After the access review instance stops, the instance status will be Completed, the reviewers can no longer give input, and the access review decisions can be applied. Stopping an instance will not effect future instances. To prevent a recurring access review from starting future instances, update the schedule definition to change its scheduled end date. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * Stop a currently active accessReviewInstance. After the access review instance stops, the instance status will be Completed, the reviewers can no longer give input, and the access review decisions can be applied. Stopping an instance will not effect future instances. To prevent a recurring access review from starting future instances, update the schedule definition to change its scheduled end date. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link StopRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public StopRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new StopRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stopapplydecisions/StopApplyDecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stopapplydecisions/StopApplyDecisionsRequestBuilder.java index 3cf76877023..a25c41d9cbe 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stopapplydecisions/StopApplyDecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/stopapplydecisions/StopApplyDecisionsRequestBuilder.java @@ -37,7 +37,10 @@ public StopApplyDecisionsRequestBuilder(@jakarta.annotation.Nonnull final String /** * Invoke action stopApplyDecisions * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void post() { post(null); } @@ -45,7 +48,10 @@ public void post() { * Invoke action stopApplyDecisions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -55,8 +61,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Invoke action stopApplyDecisions * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -64,8 +73,11 @@ public RequestInformation toPostRequestInformation() { * Invoke action stopApplyDecisions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -76,8 +88,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link StopApplyDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public StopApplyDecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new StopApplyDecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/stop/StopRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/stop/StopRequestBuilder.java index 64474297eff..351d290cf3c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/stop/StopRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/definitions/item/stop/StopRequestBuilder.java @@ -37,7 +37,10 @@ public StopRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jaka /** * Invoke action stop * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void post() { post(null); } @@ -45,7 +48,10 @@ public void post() { * Invoke action stop * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -55,8 +61,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Invoke action stop * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -64,8 +73,11 @@ public RequestInformation toPostRequestInformation() { * Invoke action stop * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -76,8 +88,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link StopRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public StopRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new StopRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/InstancesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/InstancesRequestBuilder.java index 823abb2a04b..9177b44585c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/InstancesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/InstancesRequestBuilder.java @@ -27,7 +27,10 @@ public class InstancesRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -36,8 +39,11 @@ public CountRequestBuilder count() { * Provides operations to manage the instances property of the microsoft.graph.unifiedRoot entity. * @param accessReviewInstanceId The unique identifier of accessReviewInstance * @return a {@link AccessReviewInstanceItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessReviewInstanceItemRequestBuilder byAccessReviewInstanceId(@jakarta.annotation.Nonnull final String accessReviewInstanceId) { Objects.requireNonNull(accessReviewInstanceId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -64,8 +70,11 @@ public InstancesRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, * Provides operations to call the filterByCurrentUser method. * @param on Usage: on='{on}' * @return a {@link FilterByCurrentUserWithOnRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilterByCurrentUserWithOnRequestBuilder filterByCurrentUserWithOn(@jakarta.annotation.Nonnull final String on) { Objects.requireNonNull(on); return new FilterByCurrentUserWithOnRequestBuilder(pathParameters, requestAdapter, on); @@ -74,8 +83,11 @@ public FilterByCurrentUserWithOnRequestBuilder filterByCurrentUserWithOn(@jakart * Represents the unified (vNext) instance of a review. * @return a {@link AccessReviewInstanceCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceCollectionResponse get() { return get(null); } @@ -84,8 +96,11 @@ public AccessReviewInstanceCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstanceCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -97,8 +112,11 @@ public AccessReviewInstanceCollectionResponse get(@jakarta.annotation.Nullable f * @param body The request body * @return a {@link AccessReviewInstance} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstance post(@jakarta.annotation.Nonnull final AccessReviewInstance body) { return post(body, null); } @@ -108,8 +126,11 @@ public AccessReviewInstance post(@jakarta.annotation.Nonnull final AccessReviewI * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstance} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstance post(@jakarta.annotation.Nonnull final AccessReviewInstance body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -120,8 +141,11 @@ public AccessReviewInstance post(@jakarta.annotation.Nonnull final AccessReviewI /** * Represents the unified (vNext) instance of a review. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -129,8 +153,11 @@ public RequestInformation toGetRequestInformation() { * Represents the unified (vNext) instance of a review. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -141,8 +168,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to instances for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstance body) { return toPostRequestInformation(body, null); } @@ -151,8 +181,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstance body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -165,8 +198,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link InstancesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public InstancesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new InstancesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/count/CountRequestBuilder.java index 7ebf154d095..85891e289e0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java index d8a4ccd9203..b48d174ab85 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java @@ -41,9 +41,12 @@ public FilterByCurrentUserWithOnRequestBuilder(@jakarta.annotation.Nonnull final * Returns all accessReviewInstance objects on a given accessReviewScheduleDefinition where the calling user is a reviewer on one or more accessReviewInstanceDecisionItem objects. * @return a {@link FilterByCurrentUserWithOnGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public FilterByCurrentUserWithOnGetResponse get() { return get(null); } @@ -52,9 +55,12 @@ public FilterByCurrentUserWithOnGetResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link FilterByCurrentUserWithOnGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public FilterByCurrentUserWithOnGetResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -64,8 +70,11 @@ public FilterByCurrentUserWithOnGetResponse get(@jakarta.annotation.Nullable fin /** * Returns all accessReviewInstance objects on a given accessReviewScheduleDefinition where the calling user is a reviewer on one or more accessReviewInstanceDecisionItem objects. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -73,8 +82,11 @@ public RequestInformation toGetRequestInformation() { * Returns all accessReviewInstance objects on a given accessReviewScheduleDefinition where the calling user is a reviewer on one or more accessReviewInstanceDecisionItem objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -85,8 +97,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link FilterByCurrentUserWithOnRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilterByCurrentUserWithOnRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new FilterByCurrentUserWithOnRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/AccessReviewInstanceItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/AccessReviewInstanceItemRequestBuilder.java index 376413c4086..6b4208df1cc 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/AccessReviewInstanceItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/AccessReviewInstanceItemRequestBuilder.java @@ -35,7 +35,10 @@ public class AccessReviewInstanceItemRequestBuilder extends BaseRequestBuilder { /** * Provides operations to call the acceptRecommendations method. * @return a {@link AcceptRecommendationsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AcceptRecommendationsRequestBuilder acceptRecommendations() { return new AcceptRecommendationsRequestBuilder(pathParameters, requestAdapter); @@ -43,7 +46,10 @@ public AcceptRecommendationsRequestBuilder acceptRecommendations() { /** * Provides operations to call the applyDecisions method. * @return a {@link ApplyDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ApplyDecisionsRequestBuilder applyDecisions() { return new ApplyDecisionsRequestBuilder(pathParameters, requestAdapter); @@ -51,7 +57,10 @@ public ApplyDecisionsRequestBuilder applyDecisions() { /** * Provides operations to call the batchApplyCustomDataProvidedResourceDecisions method. * @return a {@link BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder batchApplyCustomDataProvidedResourceDecisions() { return new BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder(pathParameters, requestAdapter); @@ -59,7 +68,10 @@ public BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder batchApplyCus /** * Provides operations to call the batchRecordDecisions method. * @return a {@link BatchRecordDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public BatchRecordDecisionsRequestBuilder batchRecordDecisions() { return new BatchRecordDecisionsRequestBuilder(pathParameters, requestAdapter); @@ -67,7 +79,10 @@ public BatchRecordDecisionsRequestBuilder batchRecordDecisions() { /** * Provides operations to manage the contactedReviewers property of the microsoft.graph.accessReviewInstance entity. * @return a {@link ContactedReviewersRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ContactedReviewersRequestBuilder contactedReviewers() { return new ContactedReviewersRequestBuilder(pathParameters, requestAdapter); @@ -75,7 +90,10 @@ public ContactedReviewersRequestBuilder contactedReviewers() { /** * Provides operations to manage the decisions property of the microsoft.graph.accessReviewInstance entity. * @return a {@link DecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public DecisionsRequestBuilder decisions() { return new DecisionsRequestBuilder(pathParameters, requestAdapter); @@ -83,7 +101,10 @@ public DecisionsRequestBuilder decisions() { /** * Provides operations to manage the definition property of the microsoft.graph.accessReviewInstance entity. * @return a {@link DefinitionRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public DefinitionRequestBuilder definition() { return new DefinitionRequestBuilder(pathParameters, requestAdapter); @@ -91,7 +112,10 @@ public DefinitionRequestBuilder definition() { /** * Provides operations to call the resetDecisions method. * @return a {@link ResetDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ResetDecisionsRequestBuilder resetDecisions() { return new ResetDecisionsRequestBuilder(pathParameters, requestAdapter); @@ -99,7 +123,10 @@ public ResetDecisionsRequestBuilder resetDecisions() { /** * Provides operations to call the sendReminder method. * @return a {@link SendReminderRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public SendReminderRequestBuilder sendReminder() { return new SendReminderRequestBuilder(pathParameters, requestAdapter); @@ -107,7 +134,10 @@ public SendReminderRequestBuilder sendReminder() { /** * Provides operations to manage the stages property of the microsoft.graph.accessReviewInstance entity. * @return a {@link StagesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public StagesRequestBuilder stages() { return new StagesRequestBuilder(pathParameters, requestAdapter); @@ -115,7 +145,10 @@ public StagesRequestBuilder stages() { /** * Provides operations to call the stop method. * @return a {@link StopRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public StopRequestBuilder stop() { return new StopRequestBuilder(pathParameters, requestAdapter); @@ -123,7 +156,10 @@ public StopRequestBuilder stop() { /** * Provides operations to call the stopApplyDecisions method. * @return a {@link StopApplyDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public StopApplyDecisionsRequestBuilder stopApplyDecisions() { return new StopApplyDecisionsRequestBuilder(pathParameters, requestAdapter); @@ -147,7 +183,10 @@ public AccessReviewInstanceItemRequestBuilder(@jakarta.annotation.Nonnull final /** * Delete navigation property instances for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -155,7 +194,10 @@ public void delete() { * Delete navigation property instances for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -166,8 +208,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Represents the unified (vNext) instance of a review. * @return a {@link AccessReviewInstance} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstance get() { return get(null); } @@ -176,8 +221,11 @@ public AccessReviewInstance get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstance} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstance get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -189,8 +237,11 @@ public AccessReviewInstance get(@jakarta.annotation.Nullable final java.util.fun * @param body The request body * @return a {@link AccessReviewInstance} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstance patch(@jakarta.annotation.Nonnull final AccessReviewInstance body) { return patch(body, null); } @@ -200,8 +251,11 @@ public AccessReviewInstance patch(@jakarta.annotation.Nonnull final AccessReview * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstance} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstance patch(@jakarta.annotation.Nonnull final AccessReviewInstance body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -212,8 +266,11 @@ public AccessReviewInstance patch(@jakarta.annotation.Nonnull final AccessReview /** * Delete navigation property instances for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -221,8 +278,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property instances for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -232,8 +292,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Represents the unified (vNext) instance of a review. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -241,8 +304,11 @@ public RequestInformation toGetRequestInformation() { * Represents the unified (vNext) instance of a review. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -253,8 +319,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property instances in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstance body) { return toPatchRequestInformation(body, null); } @@ -263,8 +332,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstance body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -277,8 +349,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessReviewInstanceItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessReviewInstanceItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessReviewInstanceItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/acceptrecommendations/AcceptRecommendationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/acceptrecommendations/AcceptRecommendationsRequestBuilder.java index 830224e144a..3df47bebb5b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/acceptrecommendations/AcceptRecommendationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/acceptrecommendations/AcceptRecommendationsRequestBuilder.java @@ -37,8 +37,11 @@ public AcceptRecommendationsRequestBuilder(@jakarta.annotation.Nonnull final Str /** * Allows the acceptance of recommendations on all accessReviewInstanceDecisionItem objects that haven't been reviewed for an accessReviewInstance object for which the calling user is a reviewer. Recommendations are generated if recommendationsEnabled is true on the accessReviewScheduleDefinition object. If there isn't a recommendation on an accessReviewInstanceDecisionItem object no decision will be recorded. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * Allows the acceptance of recommendations on all accessReviewInstanceDecisionItem objects that haven't been reviewed for an accessReviewInstance object for which the calling user is a reviewer. Recommendations are generated if recommendationsEnabled is true on the accessReviewScheduleDefinition object. If there isn't a recommendation on an accessReviewInstanceDecisionItem object no decision will be recorded. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Allows the acceptance of recommendations on all accessReviewInstanceDecisionItem objects that haven't been reviewed for an accessReviewInstance object for which the calling user is a reviewer. Recommendations are generated if recommendationsEnabled is true on the accessReviewScheduleDefinition object. If there isn't a recommendation on an accessReviewInstanceDecisionItem object no decision will be recorded. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * Allows the acceptance of recommendations on all accessReviewInstanceDecisionItem objects that haven't been reviewed for an accessReviewInstance object for which the calling user is a reviewer. Recommendations are generated if recommendationsEnabled is true on the accessReviewScheduleDefinition object. If there isn't a recommendation on an accessReviewInstanceDecisionItem object no decision will be recorded. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AcceptRecommendationsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AcceptRecommendationsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AcceptRecommendationsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/applydecisions/ApplyDecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/applydecisions/ApplyDecisionsRequestBuilder.java index 200e08880e9..cf781500054 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/applydecisions/ApplyDecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/applydecisions/ApplyDecisionsRequestBuilder.java @@ -37,8 +37,11 @@ public ApplyDecisionsRequestBuilder(@jakarta.annotation.Nonnull final String raw /** * Apply review decisions on an accessReviewInstance if the decisions were not applied automatically because the autoApplyDecisionsEnabled property is false in the review's accessReviewScheduleSettings. The status of the accessReviewInstance must be Completed to call this method. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * Apply review decisions on an accessReviewInstance if the decisions were not applied automatically because the autoApplyDecisionsEnabled property is false in the review's accessReviewScheduleSettings. The status of the accessReviewInstance must be Completed to call this method. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Apply review decisions on an accessReviewInstance if the decisions were not applied automatically because the autoApplyDecisionsEnabled property is false in the review's accessReviewScheduleSettings. The status of the accessReviewInstance must be Completed to call this method. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * Apply review decisions on an accessReviewInstance if the decisions were not applied automatically because the autoApplyDecisionsEnabled property is false in the review's accessReviewScheduleSettings. The status of the accessReviewInstance must be Completed to call this method. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ApplyDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ApplyDecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ApplyDecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/batchapplycustomdataprovidedresourcedecisions/BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/batchapplycustomdataprovidedresourcedecisions/BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder.java index 566a640420e..c4d6dc9058b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/batchapplycustomdataprovidedresourcedecisions/BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/batchapplycustomdataprovidedresourcedecisions/BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder.java @@ -38,8 +38,11 @@ public BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder(@jakarta.anno * Enables reviewers to set the applyResult and applyDescription on all accessReviewInstanceDecisionItem objects in a specific accessReviewInstance in batches by using customDataProvidedResourceId. NOTE: The access review instance must be in an Applying state. * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final BatchApplyCustomDataProvidedResourceDecisionsPostRequestBody body) { post(body, null); } @@ -48,8 +51,11 @@ public void post(@jakarta.annotation.Nonnull final BatchApplyCustomDataProvidedR * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final BatchApplyCustomDataProvidedResourceDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -61,8 +67,11 @@ public void post(@jakarta.annotation.Nonnull final BatchApplyCustomDataProvidedR * Enables reviewers to set the applyResult and applyDescription on all accessReviewInstanceDecisionItem objects in a specific accessReviewInstance in batches by using customDataProvidedResourceId. NOTE: The access review instance must be in an Applying state. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BatchApplyCustomDataProvidedResourceDecisionsPostRequestBody body) { return toPostRequestInformation(body, null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BatchApplyCustomDataProvidedResourceDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -85,8 +97,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/batchrecorddecisions/BatchRecordDecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/batchrecorddecisions/BatchRecordDecisionsRequestBuilder.java index 39cd25e43ed..d52f650254b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/batchrecorddecisions/BatchRecordDecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/batchrecorddecisions/BatchRecordDecisionsRequestBuilder.java @@ -38,8 +38,11 @@ public BatchRecordDecisionsRequestBuilder(@jakarta.annotation.Nonnull final Stri * Enables reviewers to review all accessReviewInstanceDecisionItem objects in a specific pending accessReviewInstance in batches by using principalId, resourceId, or neither. * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostRequestBody body) { post(body, null); } @@ -48,8 +51,11 @@ public void post(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostReque * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -61,8 +67,11 @@ public void post(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostReque * Enables reviewers to review all accessReviewInstanceDecisionItem objects in a specific pending accessReviewInstance in batches by using principalId, resourceId, or neither. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostRequestBody body) { return toPostRequestInformation(body, null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -85,8 +97,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link BatchRecordDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public BatchRecordDecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new BatchRecordDecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/contactedreviewers/ContactedReviewersRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/contactedreviewers/ContactedReviewersRequestBuilder.java index 5884cd9fe02..29e6a1d0fd8 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/contactedreviewers/ContactedReviewersRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/contactedreviewers/ContactedReviewersRequestBuilder.java @@ -26,7 +26,10 @@ public class ContactedReviewersRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the contactedReviewers property of the microsoft.graph.accessReviewInstance entity. * @param accessReviewReviewerId The unique identifier of accessReviewReviewer * @return a {@link AccessReviewReviewerItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessReviewReviewerItemRequestBuilder byAccessReviewReviewerId(@jakarta.annotation.Nonnull final String accessReviewReviewerId) { Objects.requireNonNull(accessReviewReviewerId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public ContactedReviewersRequestBuilder(@jakarta.annotation.Nonnull final String * Returns the collection of reviewers who were contacted to complete this review. While the reviewers and fallbackReviewers properties of the accessReviewScheduleDefinition might specify group owners or managers as reviewers, contactedReviewers returns their individual identities. Supports $select. Read-only. * @return a {@link AccessReviewReviewerCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewReviewerCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public AccessReviewReviewerCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewReviewerCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewReviewerCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public AccessReviewReviewerCollectionResponse get(@jakarta.annotation.Nullable f * @param body The request body * @return a {@link AccessReviewReviewer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewReviewer post(@jakarta.annotation.Nonnull final AccessReviewReviewer body) { return post(body, null); } @@ -97,8 +112,11 @@ public AccessReviewReviewer post(@jakarta.annotation.Nonnull final AccessReviewR * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewReviewer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewReviewer post(@jakarta.annotation.Nonnull final AccessReviewReviewer body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public AccessReviewReviewer post(@jakarta.annotation.Nonnull final AccessReviewR /** * Returns the collection of reviewers who were contacted to complete this review. While the reviewers and fallbackReviewers properties of the accessReviewScheduleDefinition might specify group owners or managers as reviewers, contactedReviewers returns their individual identities. Supports $select. Read-only. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Returns the collection of reviewers who were contacted to complete this review. While the reviewers and fallbackReviewers properties of the accessReviewScheduleDefinition might specify group owners or managers as reviewers, contactedReviewers returns their individual identities. Supports $select. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to contactedReviewers for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewReviewer body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewReviewer body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ContactedReviewersRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ContactedReviewersRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ContactedReviewersRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/contactedreviewers/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/contactedreviewers/count/CountRequestBuilder.java index fe477551840..8243c835fd8 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/contactedreviewers/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/contactedreviewers/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/contactedreviewers/item/AccessReviewReviewerItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/contactedreviewers/item/AccessReviewReviewerItemRequestBuilder.java index efdb9d083b2..bd4058b83b0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/contactedreviewers/item/AccessReviewReviewerItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/contactedreviewers/item/AccessReviewReviewerItemRequestBuilder.java @@ -39,7 +39,10 @@ public AccessReviewReviewerItemRequestBuilder(@jakarta.annotation.Nonnull final /** * Delete navigation property contactedReviewers for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -47,7 +50,10 @@ public void delete() { * Delete navigation property contactedReviewers for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -58,8 +64,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Returns the collection of reviewers who were contacted to complete this review. While the reviewers and fallbackReviewers properties of the accessReviewScheduleDefinition might specify group owners or managers as reviewers, contactedReviewers returns their individual identities. Supports $select. Read-only. * @return a {@link AccessReviewReviewer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewReviewer get() { return get(null); } @@ -68,8 +77,11 @@ public AccessReviewReviewer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewReviewer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewReviewer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -81,8 +93,11 @@ public AccessReviewReviewer get(@jakarta.annotation.Nullable final java.util.fun * @param body The request body * @return a {@link AccessReviewReviewer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewReviewer patch(@jakarta.annotation.Nonnull final AccessReviewReviewer body) { return patch(body, null); } @@ -92,8 +107,11 @@ public AccessReviewReviewer patch(@jakarta.annotation.Nonnull final AccessReview * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewReviewer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewReviewer patch(@jakarta.annotation.Nonnull final AccessReviewReviewer body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -104,8 +122,11 @@ public AccessReviewReviewer patch(@jakarta.annotation.Nonnull final AccessReview /** * Delete navigation property contactedReviewers for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -113,8 +134,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property contactedReviewers for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Returns the collection of reviewers who were contacted to complete this review. While the reviewers and fallbackReviewers properties of the accessReviewScheduleDefinition might specify group owners or managers as reviewers, contactedReviewers returns their individual identities. Supports $select. Read-only. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -133,8 +160,11 @@ public RequestInformation toGetRequestInformation() { * Returns the collection of reviewers who were contacted to complete this review. While the reviewers and fallbackReviewers properties of the accessReviewScheduleDefinition might specify group owners or managers as reviewers, contactedReviewers returns their individual identities. Supports $select. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -145,8 +175,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property contactedReviewers in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewReviewer body) { return toPatchRequestInformation(body, null); } @@ -155,8 +188,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewReviewer body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -169,8 +205,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessReviewReviewerItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessReviewReviewerItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessReviewReviewerItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/DecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/DecisionsRequestBuilder.java index 9614e976ef8..76a771d612b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/DecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/DecisionsRequestBuilder.java @@ -28,7 +28,10 @@ public class DecisionsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -36,7 +39,10 @@ public CountRequestBuilder count() { /** * Provides operations to call the recordAllDecisions method. * @return a {@link RecordAllDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public RecordAllDecisionsRequestBuilder recordAllDecisions() { return new RecordAllDecisionsRequestBuilder(pathParameters, requestAdapter); @@ -45,8 +51,11 @@ public RecordAllDecisionsRequestBuilder recordAllDecisions() { * Provides operations to manage the decisions property of the microsoft.graph.accessReviewInstance entity. * @param accessReviewInstanceDecisionItemId The unique identifier of accessReviewInstanceDecisionItem * @return a {@link AccessReviewInstanceDecisionItemItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessReviewInstanceDecisionItemItemRequestBuilder byAccessReviewInstanceDecisionItemId(@jakarta.annotation.Nonnull final String accessReviewInstanceDecisionItemId) { Objects.requireNonNull(accessReviewInstanceDecisionItemId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -73,8 +82,11 @@ public DecisionsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, * Provides operations to call the filterByCurrentUser method. * @param on Usage: on='{on}' * @return a {@link FilterByCurrentUserWithOnRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilterByCurrentUserWithOnRequestBuilder filterByCurrentUserWithOn(@jakarta.annotation.Nonnull final String on) { Objects.requireNonNull(on); return new FilterByCurrentUserWithOnRequestBuilder(pathParameters, requestAdapter, on); @@ -83,8 +95,11 @@ public FilterByCurrentUserWithOnRequestBuilder filterByCurrentUserWithOn(@jakart * Each user reviewed in an accessReviewInstance has a decision item representing if they were approved, denied, or not yet reviewed. * @return a {@link AccessReviewInstanceDecisionItemCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItemCollectionResponse get() { return get(null); } @@ -93,8 +108,11 @@ public AccessReviewInstanceDecisionItemCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstanceDecisionItemCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItemCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -106,8 +124,11 @@ public AccessReviewInstanceDecisionItemCollectionResponse get(@jakarta.annotatio * @param body The request body * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem post(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body) { return post(body, null); } @@ -117,8 +138,11 @@ public AccessReviewInstanceDecisionItem post(@jakarta.annotation.Nonnull final A * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem post(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -129,8 +153,11 @@ public AccessReviewInstanceDecisionItem post(@jakarta.annotation.Nonnull final A /** * Each user reviewed in an accessReviewInstance has a decision item representing if they were approved, denied, or not yet reviewed. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -138,8 +165,11 @@ public RequestInformation toGetRequestInformation() { * Each user reviewed in an accessReviewInstance has a decision item representing if they were approved, denied, or not yet reviewed. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -150,8 +180,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to decisions for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body) { return toPostRequestInformation(body, null); } @@ -160,8 +193,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -174,8 +210,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link DecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public DecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new DecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/count/CountRequestBuilder.java index 244e64e60cb..9b2e219d619 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java index 0788a4970b2..03cd9e4d670 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java @@ -41,9 +41,12 @@ public FilterByCurrentUserWithOnRequestBuilder(@jakarta.annotation.Nonnull final * Retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. * @return a {@link FilterByCurrentUserWithOnGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public FilterByCurrentUserWithOnGetResponse get() { return get(null); } @@ -52,9 +55,12 @@ public FilterByCurrentUserWithOnGetResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link FilterByCurrentUserWithOnGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public FilterByCurrentUserWithOnGetResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -64,8 +70,11 @@ public FilterByCurrentUserWithOnGetResponse get(@jakarta.annotation.Nullable fin /** * Retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -73,8 +82,11 @@ public RequestInformation toGetRequestInformation() { * Retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -85,8 +97,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link FilterByCurrentUserWithOnRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilterByCurrentUserWithOnRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new FilterByCurrentUserWithOnRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/AccessReviewInstanceDecisionItemItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/AccessReviewInstanceDecisionItemItemRequestBuilder.java index 3db63c80cf4..a5ae098b37c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/AccessReviewInstanceDecisionItemItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/AccessReviewInstanceDecisionItemItemRequestBuilder.java @@ -25,7 +25,10 @@ public class AccessReviewInstanceDecisionItemItemRequestBuilder extends BaseRequ /** * Provides operations to manage the insights property of the microsoft.graph.accessReviewInstanceDecisionItem entity. * @return a {@link InsightsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public InsightsRequestBuilder insights() { return new InsightsRequestBuilder(pathParameters, requestAdapter); @@ -33,7 +36,10 @@ public InsightsRequestBuilder insights() { /** * Provides operations to manage the instance property of the microsoft.graph.accessReviewInstanceDecisionItem entity. * @return a {@link InstanceRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public InstanceRequestBuilder instance() { return new InstanceRequestBuilder(pathParameters, requestAdapter); @@ -57,7 +63,10 @@ public AccessReviewInstanceDecisionItemItemRequestBuilder(@jakarta.annotation.No /** * Delete navigation property decisions for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -65,7 +74,10 @@ public void delete() { * Delete navigation property decisions for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -76,8 +88,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Each user reviewed in an accessReviewInstance has a decision item representing if they were approved, denied, or not yet reviewed. * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem get() { return get(null); } @@ -86,8 +101,11 @@ public AccessReviewInstanceDecisionItem get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -99,8 +117,11 @@ public AccessReviewInstanceDecisionItem get(@jakarta.annotation.Nullable final j * @param body The request body * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem patch(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body) { return patch(body, null); } @@ -110,8 +131,11 @@ public AccessReviewInstanceDecisionItem patch(@jakarta.annotation.Nonnull final * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem patch(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -122,8 +146,11 @@ public AccessReviewInstanceDecisionItem patch(@jakarta.annotation.Nonnull final /** * Delete navigation property decisions for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -131,8 +158,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property decisions for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -142,8 +172,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Each user reviewed in an accessReviewInstance has a decision item representing if they were approved, denied, or not yet reviewed. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -151,8 +184,11 @@ public RequestInformation toGetRequestInformation() { * Each user reviewed in an accessReviewInstance has a decision item representing if they were approved, denied, or not yet reviewed. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -163,8 +199,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property decisions in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body) { return toPatchRequestInformation(body, null); } @@ -173,8 +212,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -187,8 +229,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessReviewInstanceDecisionItemItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessReviewInstanceDecisionItemItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessReviewInstanceDecisionItemItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/insights/InsightsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/insights/InsightsRequestBuilder.java index f399f989fd6..f03a3f8efda 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/insights/InsightsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/insights/InsightsRequestBuilder.java @@ -26,7 +26,10 @@ public class InsightsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the insights property of the microsoft.graph.accessReviewInstanceDecisionItem entity. * @param governanceInsightId The unique identifier of governanceInsight * @return a {@link GovernanceInsightItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public GovernanceInsightItemRequestBuilder byGovernanceInsightId(@jakarta.annotation.Nonnull final String governanceInsightId) { Objects.requireNonNull(governanceInsightId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public InsightsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @return a {@link GovernanceInsightCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsightCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public GovernanceInsightCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GovernanceInsightCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsightCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public GovernanceInsightCollectionResponse get(@jakarta.annotation.Nullable fina * @param body The request body * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight post(@jakarta.annotation.Nonnull final GovernanceInsight body) { return post(body, null); } @@ -97,8 +112,11 @@ public GovernanceInsight post(@jakarta.annotation.Nonnull final GovernanceInsigh * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight post(@jakarta.annotation.Nonnull final GovernanceInsight body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public GovernanceInsight post(@jakarta.annotation.Nonnull final GovernanceInsigh /** * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to insights for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GovernanceInsight body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GovernanceInsight body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link InsightsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public InsightsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new InsightsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/insights/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/insights/count/CountRequestBuilder.java index c29ad25f4c0..cd708709210 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/insights/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/insights/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/insights/item/GovernanceInsightItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/insights/item/GovernanceInsightItemRequestBuilder.java index fb53a15ac70..9da2a1b4807 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/insights/item/GovernanceInsightItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/insights/item/GovernanceInsightItemRequestBuilder.java @@ -39,7 +39,10 @@ public GovernanceInsightItemRequestBuilder(@jakarta.annotation.Nonnull final Str /** * Delete navigation property insights for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -47,7 +50,10 @@ public void delete() { * Delete navigation property insights for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -58,8 +64,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight get() { return get(null); } @@ -68,8 +77,11 @@ public GovernanceInsight get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -81,8 +93,11 @@ public GovernanceInsight get(@jakarta.annotation.Nullable final java.util.functi * @param body The request body * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight patch(@jakarta.annotation.Nonnull final GovernanceInsight body) { return patch(body, null); } @@ -92,8 +107,11 @@ public GovernanceInsight patch(@jakarta.annotation.Nonnull final GovernanceInsig * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight patch(@jakarta.annotation.Nonnull final GovernanceInsight body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -104,8 +122,11 @@ public GovernanceInsight patch(@jakarta.annotation.Nonnull final GovernanceInsig /** * Delete navigation property insights for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -113,8 +134,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property insights for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -133,8 +160,11 @@ public RequestInformation toGetRequestInformation() { * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -145,8 +175,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property insights in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final GovernanceInsight body) { return toPatchRequestInformation(body, null); } @@ -155,8 +188,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final GovernanceInsight body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -169,8 +205,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link GovernanceInsightItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public GovernanceInsightItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new GovernanceInsightItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/instance/InstanceRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/instance/InstanceRequestBuilder.java index e92035578bb..1ec69e58f54 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/instance/InstanceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/instance/InstanceRequestBuilder.java @@ -34,7 +34,10 @@ public class InstanceRequestBuilder extends BaseRequestBuilder { /** * Provides operations to call the acceptRecommendations method. * @return a {@link AcceptRecommendationsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AcceptRecommendationsRequestBuilder acceptRecommendations() { return new AcceptRecommendationsRequestBuilder(pathParameters, requestAdapter); @@ -42,7 +45,10 @@ public AcceptRecommendationsRequestBuilder acceptRecommendations() { /** * Provides operations to call the applyDecisions method. * @return a {@link ApplyDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ApplyDecisionsRequestBuilder applyDecisions() { return new ApplyDecisionsRequestBuilder(pathParameters, requestAdapter); @@ -50,7 +56,10 @@ public ApplyDecisionsRequestBuilder applyDecisions() { /** * Provides operations to call the batchApplyCustomDataProvidedResourceDecisions method. * @return a {@link BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder batchApplyCustomDataProvidedResourceDecisions() { return new BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder(pathParameters, requestAdapter); @@ -58,7 +67,10 @@ public BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder batchApplyCus /** * Provides operations to call the batchRecordDecisions method. * @return a {@link BatchRecordDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public BatchRecordDecisionsRequestBuilder batchRecordDecisions() { return new BatchRecordDecisionsRequestBuilder(pathParameters, requestAdapter); @@ -66,7 +78,10 @@ public BatchRecordDecisionsRequestBuilder batchRecordDecisions() { /** * Provides operations to manage the contactedReviewers property of the microsoft.graph.accessReviewInstance entity. * @return a {@link ContactedReviewersRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ContactedReviewersRequestBuilder contactedReviewers() { return new ContactedReviewersRequestBuilder(pathParameters, requestAdapter); @@ -74,7 +89,10 @@ public ContactedReviewersRequestBuilder contactedReviewers() { /** * Provides operations to manage the definition property of the microsoft.graph.accessReviewInstance entity. * @return a {@link DefinitionRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public DefinitionRequestBuilder definition() { return new DefinitionRequestBuilder(pathParameters, requestAdapter); @@ -82,7 +100,10 @@ public DefinitionRequestBuilder definition() { /** * Provides operations to call the resetDecisions method. * @return a {@link ResetDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ResetDecisionsRequestBuilder resetDecisions() { return new ResetDecisionsRequestBuilder(pathParameters, requestAdapter); @@ -90,7 +111,10 @@ public ResetDecisionsRequestBuilder resetDecisions() { /** * Provides operations to call the sendReminder method. * @return a {@link SendReminderRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public SendReminderRequestBuilder sendReminder() { return new SendReminderRequestBuilder(pathParameters, requestAdapter); @@ -98,7 +122,10 @@ public SendReminderRequestBuilder sendReminder() { /** * Provides operations to manage the stages property of the microsoft.graph.accessReviewInstance entity. * @return a {@link StagesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public StagesRequestBuilder stages() { return new StagesRequestBuilder(pathParameters, requestAdapter); @@ -106,7 +133,10 @@ public StagesRequestBuilder stages() { /** * Provides operations to call the stop method. * @return a {@link StopRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public StopRequestBuilder stop() { return new StopRequestBuilder(pathParameters, requestAdapter); @@ -114,7 +144,10 @@ public StopRequestBuilder stop() { /** * Provides operations to call the stopApplyDecisions method. * @return a {@link StopApplyDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public StopApplyDecisionsRequestBuilder stopApplyDecisions() { return new StopApplyDecisionsRequestBuilder(pathParameters, requestAdapter); @@ -138,7 +171,10 @@ public InstanceRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ /** * Delete navigation property instance for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -146,7 +182,10 @@ public void delete() { * Delete navigation property instance for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -157,8 +196,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * There's exactly one accessReviewInstance associated with each decision. The instance is the parent of the decision item, representing the recurrence of the access review the decision is made on. * @return a {@link AccessReviewInstance} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstance get() { return get(null); } @@ -167,8 +209,11 @@ public AccessReviewInstance get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstance} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstance get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -180,8 +225,11 @@ public AccessReviewInstance get(@jakarta.annotation.Nullable final java.util.fun * @param body The request body * @return a {@link AccessReviewInstance} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstance patch(@jakarta.annotation.Nonnull final AccessReviewInstance body) { return patch(body, null); } @@ -191,8 +239,11 @@ public AccessReviewInstance patch(@jakarta.annotation.Nonnull final AccessReview * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstance} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstance patch(@jakarta.annotation.Nonnull final AccessReviewInstance body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -203,8 +254,11 @@ public AccessReviewInstance patch(@jakarta.annotation.Nonnull final AccessReview /** * Delete navigation property instance for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -212,8 +266,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property instance for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -223,8 +280,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * There's exactly one accessReviewInstance associated with each decision. The instance is the parent of the decision item, representing the recurrence of the access review the decision is made on. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -232,8 +292,11 @@ public RequestInformation toGetRequestInformation() { * There's exactly one accessReviewInstance associated with each decision. The instance is the parent of the decision item, representing the recurrence of the access review the decision is made on. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -244,8 +307,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property instance in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstance body) { return toPatchRequestInformation(body, null); } @@ -254,8 +320,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstance body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -268,8 +337,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link InstanceRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public InstanceRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new InstanceRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/instance/acceptrecommendations/AcceptRecommendationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/instance/acceptrecommendations/AcceptRecommendationsRequestBuilder.java index a941aafef94..b9393dc571a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/instance/acceptrecommendations/AcceptRecommendationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/instance/acceptrecommendations/AcceptRecommendationsRequestBuilder.java @@ -37,8 +37,11 @@ public AcceptRecommendationsRequestBuilder(@jakarta.annotation.Nonnull final Str /** * Allows the acceptance of recommendations on all accessReviewInstanceDecisionItem objects that haven't been reviewed for an accessReviewInstance object for which the calling user is a reviewer. Recommendations are generated if recommendationsEnabled is true on the accessReviewScheduleDefinition object. If there isn't a recommendation on an accessReviewInstanceDecisionItem object no decision will be recorded. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * Allows the acceptance of recommendations on all accessReviewInstanceDecisionItem objects that haven't been reviewed for an accessReviewInstance object for which the calling user is a reviewer. Recommendations are generated if recommendationsEnabled is true on the accessReviewScheduleDefinition object. If there isn't a recommendation on an accessReviewInstanceDecisionItem object no decision will be recorded. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Allows the acceptance of recommendations on all accessReviewInstanceDecisionItem objects that haven't been reviewed for an accessReviewInstance object for which the calling user is a reviewer. Recommendations are generated if recommendationsEnabled is true on the accessReviewScheduleDefinition object. If there isn't a recommendation on an accessReviewInstanceDecisionItem object no decision will be recorded. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * Allows the acceptance of recommendations on all accessReviewInstanceDecisionItem objects that haven't been reviewed for an accessReviewInstance object for which the calling user is a reviewer. Recommendations are generated if recommendationsEnabled is true on the accessReviewScheduleDefinition object. If there isn't a recommendation on an accessReviewInstanceDecisionItem object no decision will be recorded. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AcceptRecommendationsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AcceptRecommendationsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AcceptRecommendationsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/instance/applydecisions/ApplyDecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/instance/applydecisions/ApplyDecisionsRequestBuilder.java index a704596a533..96fd182138f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/instance/applydecisions/ApplyDecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/instance/applydecisions/ApplyDecisionsRequestBuilder.java @@ -37,8 +37,11 @@ public ApplyDecisionsRequestBuilder(@jakarta.annotation.Nonnull final String raw /** * Apply review decisions on an accessReviewInstance if the decisions were not applied automatically because the autoApplyDecisionsEnabled property is false in the review's accessReviewScheduleSettings. The status of the accessReviewInstance must be Completed to call this method. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * Apply review decisions on an accessReviewInstance if the decisions were not applied automatically because the autoApplyDecisionsEnabled property is false in the review's accessReviewScheduleSettings. The status of the accessReviewInstance must be Completed to call this method. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Apply review decisions on an accessReviewInstance if the decisions were not applied automatically because the autoApplyDecisionsEnabled property is false in the review's accessReviewScheduleSettings. The status of the accessReviewInstance must be Completed to call this method. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * Apply review decisions on an accessReviewInstance if the decisions were not applied automatically because the autoApplyDecisionsEnabled property is false in the review's accessReviewScheduleSettings. The status of the accessReviewInstance must be Completed to call this method. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ApplyDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ApplyDecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ApplyDecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/instance/batchapplycustomdataprovidedresourcedecisions/BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/instance/batchapplycustomdataprovidedresourcedecisions/BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder.java index ded33829fe5..cf6d2813fdf 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/instance/batchapplycustomdataprovidedresourcedecisions/BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/instance/batchapplycustomdataprovidedresourcedecisions/BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder.java @@ -38,8 +38,11 @@ public BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder(@jakarta.anno * Enables reviewers to set the applyResult and applyDescription on all accessReviewInstanceDecisionItem objects in a specific accessReviewInstance in batches by using customDataProvidedResourceId. NOTE: The access review instance must be in an Applying state. * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final BatchApplyCustomDataProvidedResourceDecisionsPostRequestBody body) { post(body, null); } @@ -48,8 +51,11 @@ public void post(@jakarta.annotation.Nonnull final BatchApplyCustomDataProvidedR * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final BatchApplyCustomDataProvidedResourceDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -61,8 +67,11 @@ public void post(@jakarta.annotation.Nonnull final BatchApplyCustomDataProvidedR * Enables reviewers to set the applyResult and applyDescription on all accessReviewInstanceDecisionItem objects in a specific accessReviewInstance in batches by using customDataProvidedResourceId. NOTE: The access review instance must be in an Applying state. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BatchApplyCustomDataProvidedResourceDecisionsPostRequestBody body) { return toPostRequestInformation(body, null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BatchApplyCustomDataProvidedResourceDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -85,8 +97,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/instance/batchrecorddecisions/BatchRecordDecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/instance/batchrecorddecisions/BatchRecordDecisionsRequestBuilder.java index df02b01497e..7f581d25338 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/instance/batchrecorddecisions/BatchRecordDecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/instance/batchrecorddecisions/BatchRecordDecisionsRequestBuilder.java @@ -38,8 +38,11 @@ public BatchRecordDecisionsRequestBuilder(@jakarta.annotation.Nonnull final Stri * Enables reviewers to review all accessReviewInstanceDecisionItem objects in a specific pending accessReviewInstance in batches by using principalId, resourceId, or neither. * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostRequestBody body) { post(body, null); } @@ -48,8 +51,11 @@ public void post(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostReque * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -61,8 +67,11 @@ public void post(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostReque * Enables reviewers to review all accessReviewInstanceDecisionItem objects in a specific pending accessReviewInstance in batches by using principalId, resourceId, or neither. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostRequestBody body) { return toPostRequestInformation(body, null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -85,8 +97,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link BatchRecordDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public BatchRecordDecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new BatchRecordDecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/instance/contactedreviewers/ContactedReviewersRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/instance/contactedreviewers/ContactedReviewersRequestBuilder.java index 143e27dd089..8f05ebd8276 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/instance/contactedreviewers/ContactedReviewersRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/instance/contactedreviewers/ContactedReviewersRequestBuilder.java @@ -26,7 +26,10 @@ public class ContactedReviewersRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the contactedReviewers property of the microsoft.graph.accessReviewInstance entity. * @param accessReviewReviewerId The unique identifier of accessReviewReviewer * @return a {@link AccessReviewReviewerItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessReviewReviewerItemRequestBuilder byAccessReviewReviewerId(@jakarta.annotation.Nonnull final String accessReviewReviewerId) { Objects.requireNonNull(accessReviewReviewerId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public ContactedReviewersRequestBuilder(@jakarta.annotation.Nonnull final String * Returns the collection of reviewers who were contacted to complete this review. While the reviewers and fallbackReviewers properties of the accessReviewScheduleDefinition might specify group owners or managers as reviewers, contactedReviewers returns their individual identities. Supports $select. Read-only. * @return a {@link AccessReviewReviewerCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewReviewerCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public AccessReviewReviewerCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewReviewerCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewReviewerCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public AccessReviewReviewerCollectionResponse get(@jakarta.annotation.Nullable f * @param body The request body * @return a {@link AccessReviewReviewer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewReviewer post(@jakarta.annotation.Nonnull final AccessReviewReviewer body) { return post(body, null); } @@ -97,8 +112,11 @@ public AccessReviewReviewer post(@jakarta.annotation.Nonnull final AccessReviewR * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewReviewer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewReviewer post(@jakarta.annotation.Nonnull final AccessReviewReviewer body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public AccessReviewReviewer post(@jakarta.annotation.Nonnull final AccessReviewR /** * Returns the collection of reviewers who were contacted to complete this review. While the reviewers and fallbackReviewers properties of the accessReviewScheduleDefinition might specify group owners or managers as reviewers, contactedReviewers returns their individual identities. Supports $select. Read-only. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Returns the collection of reviewers who were contacted to complete this review. While the reviewers and fallbackReviewers properties of the accessReviewScheduleDefinition might specify group owners or managers as reviewers, contactedReviewers returns their individual identities. Supports $select. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to contactedReviewers for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewReviewer body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewReviewer body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ContactedReviewersRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ContactedReviewersRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ContactedReviewersRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/instance/contactedreviewers/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/instance/contactedreviewers/count/CountRequestBuilder.java index 49486616fe2..5ae2463efe8 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/instance/contactedreviewers/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/instance/contactedreviewers/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/instance/contactedreviewers/item/AccessReviewReviewerItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/instance/contactedreviewers/item/AccessReviewReviewerItemRequestBuilder.java index d556ad768b3..15753c326f7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/instance/contactedreviewers/item/AccessReviewReviewerItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/instance/contactedreviewers/item/AccessReviewReviewerItemRequestBuilder.java @@ -39,7 +39,10 @@ public AccessReviewReviewerItemRequestBuilder(@jakarta.annotation.Nonnull final /** * Delete navigation property contactedReviewers for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -47,7 +50,10 @@ public void delete() { * Delete navigation property contactedReviewers for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -58,8 +64,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Returns the collection of reviewers who were contacted to complete this review. While the reviewers and fallbackReviewers properties of the accessReviewScheduleDefinition might specify group owners or managers as reviewers, contactedReviewers returns their individual identities. Supports $select. Read-only. * @return a {@link AccessReviewReviewer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewReviewer get() { return get(null); } @@ -68,8 +77,11 @@ public AccessReviewReviewer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewReviewer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewReviewer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -81,8 +93,11 @@ public AccessReviewReviewer get(@jakarta.annotation.Nullable final java.util.fun * @param body The request body * @return a {@link AccessReviewReviewer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewReviewer patch(@jakarta.annotation.Nonnull final AccessReviewReviewer body) { return patch(body, null); } @@ -92,8 +107,11 @@ public AccessReviewReviewer patch(@jakarta.annotation.Nonnull final AccessReview * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewReviewer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewReviewer patch(@jakarta.annotation.Nonnull final AccessReviewReviewer body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -104,8 +122,11 @@ public AccessReviewReviewer patch(@jakarta.annotation.Nonnull final AccessReview /** * Delete navigation property contactedReviewers for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -113,8 +134,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property contactedReviewers for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Returns the collection of reviewers who were contacted to complete this review. While the reviewers and fallbackReviewers properties of the accessReviewScheduleDefinition might specify group owners or managers as reviewers, contactedReviewers returns their individual identities. Supports $select. Read-only. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -133,8 +160,11 @@ public RequestInformation toGetRequestInformation() { * Returns the collection of reviewers who were contacted to complete this review. While the reviewers and fallbackReviewers properties of the accessReviewScheduleDefinition might specify group owners or managers as reviewers, contactedReviewers returns their individual identities. Supports $select. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -145,8 +175,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property contactedReviewers in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewReviewer body) { return toPatchRequestInformation(body, null); } @@ -155,8 +188,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewReviewer body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -169,8 +205,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessReviewReviewerItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessReviewReviewerItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessReviewReviewerItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/instance/definition/DefinitionRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/instance/definition/DefinitionRequestBuilder.java index 184ebed54bd..9d8dba7d630 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/instance/definition/DefinitionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/instance/definition/DefinitionRequestBuilder.java @@ -40,8 +40,11 @@ public DefinitionRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, * There's exactly one accessReviewScheduleDefinition associated with each instance. It's the parent schedule for the instance, where instances are created for each recurrence of a review definition and each group selected to review by the definition. * @return a {@link AccessReviewScheduleDefinition} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewScheduleDefinition get() { return get(null); } @@ -50,8 +53,11 @@ public AccessReviewScheduleDefinition get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewScheduleDefinition} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewScheduleDefinition get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public AccessReviewScheduleDefinition get(@jakarta.annotation.Nullable final jav /** * There's exactly one accessReviewScheduleDefinition associated with each instance. It's the parent schedule for the instance, where instances are created for each recurrence of a review definition and each group selected to review by the definition. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * There's exactly one accessReviewScheduleDefinition associated with each instance. It's the parent schedule for the instance, where instances are created for each recurrence of a review definition and each group selected to review by the definition. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link DefinitionRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public DefinitionRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new DefinitionRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/instance/resetdecisions/ResetDecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/instance/resetdecisions/ResetDecisionsRequestBuilder.java index 783c10094d0..7fc5b38c60e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/instance/resetdecisions/ResetDecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/instance/resetdecisions/ResetDecisionsRequestBuilder.java @@ -37,8 +37,11 @@ public ResetDecisionsRequestBuilder(@jakarta.annotation.Nonnull final String raw /** * Resets decisions of all accessReviewInstanceDecisionItem objects on an accessReviewInstance to notReviewed. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * Resets decisions of all accessReviewInstanceDecisionItem objects on an accessReviewInstance to notReviewed. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Resets decisions of all accessReviewInstanceDecisionItem objects on an accessReviewInstance to notReviewed. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * Resets decisions of all accessReviewInstanceDecisionItem objects on an accessReviewInstance to notReviewed. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ResetDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ResetDecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ResetDecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/instance/sendreminder/SendReminderRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/instance/sendreminder/SendReminderRequestBuilder.java index b531a6bb2f4..db2408dcbd9 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/instance/sendreminder/SendReminderRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/instance/sendreminder/SendReminderRequestBuilder.java @@ -37,8 +37,11 @@ public SendReminderRequestBuilder(@jakarta.annotation.Nonnull final String rawUr /** * Send a reminder to the reviewers of a currently active accessReviewInstance. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * Send a reminder to the reviewers of a currently active accessReviewInstance. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Send a reminder to the reviewers of a currently active accessReviewInstance. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * Send a reminder to the reviewers of a currently active accessReviewInstance. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link SendReminderRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public SendReminderRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new SendReminderRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/instance/stages/StagesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/instance/stages/StagesRequestBuilder.java index cc4f0b95d4c..42972486b2b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/instance/stages/StagesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/instance/stages/StagesRequestBuilder.java @@ -27,7 +27,10 @@ public class StagesRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -36,8 +39,11 @@ public CountRequestBuilder count() { * Provides operations to manage the stages property of the microsoft.graph.accessReviewInstance entity. * @param accessReviewStageId The unique identifier of accessReviewStage * @return a {@link AccessReviewStageItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessReviewStageItemRequestBuilder byAccessReviewStageId(@jakarta.annotation.Nonnull final String accessReviewStageId) { Objects.requireNonNull(accessReviewStageId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -64,8 +70,11 @@ public StagesRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ja * Provides operations to call the filterByCurrentUser method. * @param on Usage: on='{on}' * @return a {@link FilterByCurrentUserWithOnRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilterByCurrentUserWithOnRequestBuilder filterByCurrentUserWithOn(@jakarta.annotation.Nonnull final String on) { Objects.requireNonNull(on); return new FilterByCurrentUserWithOnRequestBuilder(pathParameters, requestAdapter, on); @@ -74,8 +83,11 @@ public FilterByCurrentUserWithOnRequestBuilder filterByCurrentUserWithOn(@jakart * If the instance has multiple stages, this returns the collection of stages. A new stage will only be created when the previous stage ends. The existence, number, and settings of stages on a review instance are created based on the accessReviewStageSettings on the parent accessReviewScheduleDefinition. * @return a {@link AccessReviewStageCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewStageCollectionResponse get() { return get(null); } @@ -84,8 +96,11 @@ public AccessReviewStageCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewStageCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewStageCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -97,8 +112,11 @@ public AccessReviewStageCollectionResponse get(@jakarta.annotation.Nullable fina * @param body The request body * @return a {@link AccessReviewStage} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewStage post(@jakarta.annotation.Nonnull final AccessReviewStage body) { return post(body, null); } @@ -108,8 +126,11 @@ public AccessReviewStage post(@jakarta.annotation.Nonnull final AccessReviewStag * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewStage} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewStage post(@jakarta.annotation.Nonnull final AccessReviewStage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -120,8 +141,11 @@ public AccessReviewStage post(@jakarta.annotation.Nonnull final AccessReviewStag /** * If the instance has multiple stages, this returns the collection of stages. A new stage will only be created when the previous stage ends. The existence, number, and settings of stages on a review instance are created based on the accessReviewStageSettings on the parent accessReviewScheduleDefinition. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -129,8 +153,11 @@ public RequestInformation toGetRequestInformation() { * If the instance has multiple stages, this returns the collection of stages. A new stage will only be created when the previous stage ends. The existence, number, and settings of stages on a review instance are created based on the accessReviewStageSettings on the parent accessReviewScheduleDefinition. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -141,8 +168,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to stages for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewStage body) { return toPostRequestInformation(body, null); } @@ -151,8 +181,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewStage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -165,8 +198,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link StagesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public StagesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new StagesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/instance/stages/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/instance/stages/count/CountRequestBuilder.java index 3bbf5eeb165..b2b430bc169 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/instance/stages/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/instance/stages/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/instance/stages/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/instance/stages/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java index 138c37e7610..dd7bae5bb14 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/instance/stages/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/instance/stages/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java @@ -41,9 +41,12 @@ public FilterByCurrentUserWithOnRequestBuilder(@jakarta.annotation.Nonnull final * Return all accessReviewStage objects on a given accessReviewInstance where the calling user is a reviewer on one or more accessReviewInstanceDecisionItem objects. * @return a {@link FilterByCurrentUserWithOnGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public FilterByCurrentUserWithOnGetResponse get() { return get(null); } @@ -52,9 +55,12 @@ public FilterByCurrentUserWithOnGetResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link FilterByCurrentUserWithOnGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public FilterByCurrentUserWithOnGetResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -64,8 +70,11 @@ public FilterByCurrentUserWithOnGetResponse get(@jakarta.annotation.Nullable fin /** * Return all accessReviewStage objects on a given accessReviewInstance where the calling user is a reviewer on one or more accessReviewInstanceDecisionItem objects. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -73,8 +82,11 @@ public RequestInformation toGetRequestInformation() { * Return all accessReviewStage objects on a given accessReviewInstance where the calling user is a reviewer on one or more accessReviewInstanceDecisionItem objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -85,8 +97,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link FilterByCurrentUserWithOnRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilterByCurrentUserWithOnRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new FilterByCurrentUserWithOnRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/instance/stages/item/AccessReviewStageItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/instance/stages/item/AccessReviewStageItemRequestBuilder.java index 43bed349d93..9179c41ccf7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/instance/stages/item/AccessReviewStageItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/instance/stages/item/AccessReviewStageItemRequestBuilder.java @@ -27,7 +27,10 @@ public class AccessReviewStageItemRequestBuilder extends BaseRequestBuilder { /** * Provides operations to call the acceptRecommendations method. * @return a {@link AcceptRecommendationsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AcceptRecommendationsRequestBuilder acceptRecommendations() { return new AcceptRecommendationsRequestBuilder(pathParameters, requestAdapter); @@ -35,7 +38,10 @@ public AcceptRecommendationsRequestBuilder acceptRecommendations() { /** * Provides operations to call the batchRecordDecisions method. * @return a {@link BatchRecordDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public BatchRecordDecisionsRequestBuilder batchRecordDecisions() { return new BatchRecordDecisionsRequestBuilder(pathParameters, requestAdapter); @@ -43,7 +49,10 @@ public BatchRecordDecisionsRequestBuilder batchRecordDecisions() { /** * Provides operations to manage the decisions property of the microsoft.graph.accessReviewStage entity. * @return a {@link DecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public DecisionsRequestBuilder decisions() { return new DecisionsRequestBuilder(pathParameters, requestAdapter); @@ -51,7 +60,10 @@ public DecisionsRequestBuilder decisions() { /** * Provides operations to call the stop method. * @return a {@link StopRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public StopRequestBuilder stop() { return new StopRequestBuilder(pathParameters, requestAdapter); @@ -75,7 +87,10 @@ public AccessReviewStageItemRequestBuilder(@jakarta.annotation.Nonnull final Str /** * Delete navigation property stages for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -83,7 +98,10 @@ public void delete() { * Delete navigation property stages for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -94,8 +112,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * If the instance has multiple stages, this returns the collection of stages. A new stage will only be created when the previous stage ends. The existence, number, and settings of stages on a review instance are created based on the accessReviewStageSettings on the parent accessReviewScheduleDefinition. * @return a {@link AccessReviewStage} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewStage get() { return get(null); } @@ -104,8 +125,11 @@ public AccessReviewStage get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewStage} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewStage get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -117,8 +141,11 @@ public AccessReviewStage get(@jakarta.annotation.Nullable final java.util.functi * @param body The request body * @return a {@link AccessReviewStage} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewStage patch(@jakarta.annotation.Nonnull final AccessReviewStage body) { return patch(body, null); } @@ -128,8 +155,11 @@ public AccessReviewStage patch(@jakarta.annotation.Nonnull final AccessReviewSta * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewStage} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewStage patch(@jakarta.annotation.Nonnull final AccessReviewStage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -140,8 +170,11 @@ public AccessReviewStage patch(@jakarta.annotation.Nonnull final AccessReviewSta /** * Delete navigation property stages for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -149,8 +182,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property stages for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -160,8 +196,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * If the instance has multiple stages, this returns the collection of stages. A new stage will only be created when the previous stage ends. The existence, number, and settings of stages on a review instance are created based on the accessReviewStageSettings on the parent accessReviewScheduleDefinition. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -169,8 +208,11 @@ public RequestInformation toGetRequestInformation() { * If the instance has multiple stages, this returns the collection of stages. A new stage will only be created when the previous stage ends. The existence, number, and settings of stages on a review instance are created based on the accessReviewStageSettings on the parent accessReviewScheduleDefinition. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -181,8 +223,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property stages in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewStage body) { return toPatchRequestInformation(body, null); } @@ -191,8 +236,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewStage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -205,8 +253,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessReviewStageItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessReviewStageItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessReviewStageItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/instance/stages/item/acceptrecommendations/AcceptRecommendationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/instance/stages/item/acceptrecommendations/AcceptRecommendationsRequestBuilder.java index 80a43d4f06a..49403a88839 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/instance/stages/item/acceptrecommendations/AcceptRecommendationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/instance/stages/item/acceptrecommendations/AcceptRecommendationsRequestBuilder.java @@ -37,8 +37,11 @@ public AcceptRecommendationsRequestBuilder(@jakarta.annotation.Nonnull final Str /** * Accept the recommendations on all accessReviewInstanceDecisionItem objects that haven't been reviewed within a single accessReviewStage of a multi-stage accessReviewInstance. Recommendations are generated if recommendationsEnabled is true on the accessReviewScheduleDefinition object. If there's no recommendation on an accessReviewInstanceDecisionItem object, no decision is recorded. This action accepts recommendations for the decisions in a specific stage only, unlike accessReviewInstance: acceptRecommendations, which operates across the entire instance. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * Accept the recommendations on all accessReviewInstanceDecisionItem objects that haven't been reviewed within a single accessReviewStage of a multi-stage accessReviewInstance. Recommendations are generated if recommendationsEnabled is true on the accessReviewScheduleDefinition object. If there's no recommendation on an accessReviewInstanceDecisionItem object, no decision is recorded. This action accepts recommendations for the decisions in a specific stage only, unlike accessReviewInstance: acceptRecommendations, which operates across the entire instance. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Accept the recommendations on all accessReviewInstanceDecisionItem objects that haven't been reviewed within a single accessReviewStage of a multi-stage accessReviewInstance. Recommendations are generated if recommendationsEnabled is true on the accessReviewScheduleDefinition object. If there's no recommendation on an accessReviewInstanceDecisionItem object, no decision is recorded. This action accepts recommendations for the decisions in a specific stage only, unlike accessReviewInstance: acceptRecommendations, which operates across the entire instance. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * Accept the recommendations on all accessReviewInstanceDecisionItem objects that haven't been reviewed within a single accessReviewStage of a multi-stage accessReviewInstance. Recommendations are generated if recommendationsEnabled is true on the accessReviewScheduleDefinition object. If there's no recommendation on an accessReviewInstanceDecisionItem object, no decision is recorded. This action accepts recommendations for the decisions in a specific stage only, unlike accessReviewInstance: acceptRecommendations, which operates across the entire instance. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AcceptRecommendationsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AcceptRecommendationsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AcceptRecommendationsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/instance/stages/item/batchrecorddecisions/BatchRecordDecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/instance/stages/item/batchrecorddecisions/BatchRecordDecisionsRequestBuilder.java index b9db8136658..eb05c34139d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/instance/stages/item/batchrecorddecisions/BatchRecordDecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/instance/stages/item/batchrecorddecisions/BatchRecordDecisionsRequestBuilder.java @@ -38,8 +38,11 @@ public BatchRecordDecisionsRequestBuilder(@jakarta.annotation.Nonnull final Stri * Record decisions in bulk for all accessReviewInstanceDecisionItem objects within a single accessReviewStage of a multi-stage accessReviewInstance, by using principalId, resourceId, or neither. This action records decisions for a specific stage only, unlike accessReviewInstance: batchRecordDecisions, which operates across the entire instance. * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostRequestBody body) { post(body, null); } @@ -48,8 +51,11 @@ public void post(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostReque * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -61,8 +67,11 @@ public void post(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostReque * Record decisions in bulk for all accessReviewInstanceDecisionItem objects within a single accessReviewStage of a multi-stage accessReviewInstance, by using principalId, resourceId, or neither. This action records decisions for a specific stage only, unlike accessReviewInstance: batchRecordDecisions, which operates across the entire instance. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostRequestBody body) { return toPostRequestInformation(body, null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -85,8 +97,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link BatchRecordDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public BatchRecordDecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new BatchRecordDecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/instance/stages/item/decisions/DecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/instance/stages/item/decisions/DecisionsRequestBuilder.java index d6d57847a58..1265b0e7d9b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/instance/stages/item/decisions/DecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/instance/stages/item/decisions/DecisionsRequestBuilder.java @@ -28,7 +28,10 @@ public class DecisionsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -36,7 +39,10 @@ public CountRequestBuilder count() { /** * Provides operations to call the recordAllDecisions method. * @return a {@link RecordAllDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public RecordAllDecisionsRequestBuilder recordAllDecisions() { return new RecordAllDecisionsRequestBuilder(pathParameters, requestAdapter); @@ -45,8 +51,11 @@ public RecordAllDecisionsRequestBuilder recordAllDecisions() { * Provides operations to manage the decisions property of the microsoft.graph.accessReviewStage entity. * @param accessReviewInstanceDecisionItemId1 The unique identifier of accessReviewInstanceDecisionItem * @return a {@link AccessReviewInstanceDecisionItemItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessReviewInstanceDecisionItemItemRequestBuilder byAccessReviewInstanceDecisionItemId1(@jakarta.annotation.Nonnull final String accessReviewInstanceDecisionItemId1) { Objects.requireNonNull(accessReviewInstanceDecisionItemId1); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -73,8 +82,11 @@ public DecisionsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, * Provides operations to call the filterByCurrentUser method. * @param on Usage: on='{on}' * @return a {@link FilterByCurrentUserWithOnRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilterByCurrentUserWithOnRequestBuilder filterByCurrentUserWithOn(@jakarta.annotation.Nonnull final String on) { Objects.requireNonNull(on); return new FilterByCurrentUserWithOnRequestBuilder(pathParameters, requestAdapter, on); @@ -83,8 +95,11 @@ public FilterByCurrentUserWithOnRequestBuilder filterByCurrentUserWithOn(@jakart * Each user reviewed in an accessReviewStage has a decision item representing if they were approved, denied, or not yet reviewed. * @return a {@link AccessReviewInstanceDecisionItemCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItemCollectionResponse get() { return get(null); } @@ -93,8 +108,11 @@ public AccessReviewInstanceDecisionItemCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstanceDecisionItemCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItemCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -106,8 +124,11 @@ public AccessReviewInstanceDecisionItemCollectionResponse get(@jakarta.annotatio * @param body The request body * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem post(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body) { return post(body, null); } @@ -117,8 +138,11 @@ public AccessReviewInstanceDecisionItem post(@jakarta.annotation.Nonnull final A * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem post(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -129,8 +153,11 @@ public AccessReviewInstanceDecisionItem post(@jakarta.annotation.Nonnull final A /** * Each user reviewed in an accessReviewStage has a decision item representing if they were approved, denied, or not yet reviewed. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -138,8 +165,11 @@ public RequestInformation toGetRequestInformation() { * Each user reviewed in an accessReviewStage has a decision item representing if they were approved, denied, or not yet reviewed. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -150,8 +180,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to decisions for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body) { return toPostRequestInformation(body, null); } @@ -160,8 +193,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -174,8 +210,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link DecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public DecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new DecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/instance/stages/item/decisions/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/instance/stages/item/decisions/count/CountRequestBuilder.java index 46a792a5a9e..51bcd683def 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/instance/stages/item/decisions/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/instance/stages/item/decisions/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/instance/stages/item/decisions/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/instance/stages/item/decisions/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java index 2a8f3059c3a..338c02bfdfd 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/instance/stages/item/decisions/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/instance/stages/item/decisions/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java @@ -41,9 +41,12 @@ public FilterByCurrentUserWithOnRequestBuilder(@jakarta.annotation.Nonnull final * Retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. * @return a {@link FilterByCurrentUserWithOnGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public FilterByCurrentUserWithOnGetResponse get() { return get(null); } @@ -52,9 +55,12 @@ public FilterByCurrentUserWithOnGetResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link FilterByCurrentUserWithOnGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public FilterByCurrentUserWithOnGetResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -64,8 +70,11 @@ public FilterByCurrentUserWithOnGetResponse get(@jakarta.annotation.Nullable fin /** * Retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -73,8 +82,11 @@ public RequestInformation toGetRequestInformation() { * Retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -85,8 +97,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link FilterByCurrentUserWithOnRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilterByCurrentUserWithOnRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new FilterByCurrentUserWithOnRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/instance/stages/item/decisions/item/AccessReviewInstanceDecisionItemItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/instance/stages/item/decisions/item/AccessReviewInstanceDecisionItemItemRequestBuilder.java index 4b82fc00724..a45f6b9a3c1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/instance/stages/item/decisions/item/AccessReviewInstanceDecisionItemItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/instance/stages/item/decisions/item/AccessReviewInstanceDecisionItemItemRequestBuilder.java @@ -24,7 +24,10 @@ public class AccessReviewInstanceDecisionItemItemRequestBuilder extends BaseRequ /** * Provides operations to manage the insights property of the microsoft.graph.accessReviewInstanceDecisionItem entity. * @return a {@link InsightsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public InsightsRequestBuilder insights() { return new InsightsRequestBuilder(pathParameters, requestAdapter); @@ -48,7 +51,10 @@ public AccessReviewInstanceDecisionItemItemRequestBuilder(@jakarta.annotation.No /** * Delete navigation property decisions for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -56,7 +62,10 @@ public void delete() { * Delete navigation property decisions for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -67,8 +76,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Each user reviewed in an accessReviewStage has a decision item representing if they were approved, denied, or not yet reviewed. * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem get() { return get(null); } @@ -77,8 +89,11 @@ public AccessReviewInstanceDecisionItem get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -90,8 +105,11 @@ public AccessReviewInstanceDecisionItem get(@jakarta.annotation.Nullable final j * @param body The request body * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem patch(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body) { return patch(body, null); } @@ -101,8 +119,11 @@ public AccessReviewInstanceDecisionItem patch(@jakarta.annotation.Nonnull final * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem patch(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -113,8 +134,11 @@ public AccessReviewInstanceDecisionItem patch(@jakarta.annotation.Nonnull final /** * Delete navigation property decisions for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -122,8 +146,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property decisions for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -133,8 +160,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Each user reviewed in an accessReviewStage has a decision item representing if they were approved, denied, or not yet reviewed. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -142,8 +172,11 @@ public RequestInformation toGetRequestInformation() { * Each user reviewed in an accessReviewStage has a decision item representing if they were approved, denied, or not yet reviewed. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -154,8 +187,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property decisions in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body) { return toPatchRequestInformation(body, null); } @@ -164,8 +200,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -178,8 +217,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessReviewInstanceDecisionItemItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessReviewInstanceDecisionItemItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessReviewInstanceDecisionItemItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/instance/stages/item/decisions/item/insights/InsightsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/instance/stages/item/decisions/item/insights/InsightsRequestBuilder.java index b69aa84c775..35c403450ed 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/instance/stages/item/decisions/item/insights/InsightsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/instance/stages/item/decisions/item/insights/InsightsRequestBuilder.java @@ -26,7 +26,10 @@ public class InsightsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the insights property of the microsoft.graph.accessReviewInstanceDecisionItem entity. * @param governanceInsightId The unique identifier of governanceInsight * @return a {@link GovernanceInsightItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public GovernanceInsightItemRequestBuilder byGovernanceInsightId(@jakarta.annotation.Nonnull final String governanceInsightId) { Objects.requireNonNull(governanceInsightId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public InsightsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @return a {@link GovernanceInsightCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsightCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public GovernanceInsightCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GovernanceInsightCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsightCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public GovernanceInsightCollectionResponse get(@jakarta.annotation.Nullable fina * @param body The request body * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight post(@jakarta.annotation.Nonnull final GovernanceInsight body) { return post(body, null); } @@ -97,8 +112,11 @@ public GovernanceInsight post(@jakarta.annotation.Nonnull final GovernanceInsigh * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight post(@jakarta.annotation.Nonnull final GovernanceInsight body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public GovernanceInsight post(@jakarta.annotation.Nonnull final GovernanceInsigh /** * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to insights for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GovernanceInsight body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GovernanceInsight body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link InsightsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public InsightsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new InsightsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/instance/stages/item/decisions/item/insights/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/instance/stages/item/decisions/item/insights/count/CountRequestBuilder.java index fc42dffabde..ca68bc6ba8e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/instance/stages/item/decisions/item/insights/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/instance/stages/item/decisions/item/insights/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/instance/stages/item/decisions/item/insights/item/GovernanceInsightItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/instance/stages/item/decisions/item/insights/item/GovernanceInsightItemRequestBuilder.java index c5baba4d4ce..3fceeb31e3b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/instance/stages/item/decisions/item/insights/item/GovernanceInsightItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/instance/stages/item/decisions/item/insights/item/GovernanceInsightItemRequestBuilder.java @@ -39,7 +39,10 @@ public GovernanceInsightItemRequestBuilder(@jakarta.annotation.Nonnull final Str /** * Delete navigation property insights for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -47,7 +50,10 @@ public void delete() { * Delete navigation property insights for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -58,8 +64,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight get() { return get(null); } @@ -68,8 +77,11 @@ public GovernanceInsight get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -81,8 +93,11 @@ public GovernanceInsight get(@jakarta.annotation.Nullable final java.util.functi * @param body The request body * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight patch(@jakarta.annotation.Nonnull final GovernanceInsight body) { return patch(body, null); } @@ -92,8 +107,11 @@ public GovernanceInsight patch(@jakarta.annotation.Nonnull final GovernanceInsig * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight patch(@jakarta.annotation.Nonnull final GovernanceInsight body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -104,8 +122,11 @@ public GovernanceInsight patch(@jakarta.annotation.Nonnull final GovernanceInsig /** * Delete navigation property insights for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -113,8 +134,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property insights for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -133,8 +160,11 @@ public RequestInformation toGetRequestInformation() { * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -145,8 +175,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property insights in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final GovernanceInsight body) { return toPatchRequestInformation(body, null); } @@ -155,8 +188,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final GovernanceInsight body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -169,8 +205,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link GovernanceInsightItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public GovernanceInsightItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new GovernanceInsightItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/instance/stages/item/decisions/recordalldecisions/RecordAllDecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/instance/stages/item/decisions/recordalldecisions/RecordAllDecisionsRequestBuilder.java index 9de83b86305..934ece488c4 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/instance/stages/item/decisions/recordalldecisions/RecordAllDecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/instance/stages/item/decisions/recordalldecisions/RecordAllDecisionsRequestBuilder.java @@ -38,8 +38,11 @@ public RecordAllDecisionsRequestBuilder(@jakarta.annotation.Nonnull final String * As a reviewer of an access review, record a decision for an accessReviewInstanceDecisionItem that is assigned to you and that matches the principal or resource IDs specified. If no IDs are specified, the decisions will apply to every accessReviewInstanceDecisionItem for which you are the reviewer. * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequestBody body) { post(body, null); } @@ -48,8 +51,11 @@ public void post(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequest * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -61,8 +67,11 @@ public void post(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequest * As a reviewer of an access review, record a decision for an accessReviewInstanceDecisionItem that is assigned to you and that matches the principal or resource IDs specified. If no IDs are specified, the decisions will apply to every accessReviewInstanceDecisionItem for which you are the reviewer. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequestBody body) { return toPostRequestInformation(body, null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -85,8 +97,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RecordAllDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RecordAllDecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RecordAllDecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/instance/stages/item/stop/StopRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/instance/stages/item/stop/StopRequestBuilder.java index bd8a801fbb3..857fdab0293 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/instance/stages/item/stop/StopRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/instance/stages/item/stop/StopRequestBuilder.java @@ -37,8 +37,11 @@ public StopRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jaka /** * Stop an access review stage that is inProgress. After the access review stage stops, the stage status will be Completed and the reviewers can no longer give input. If there are subsequent stages that depend on the completed stage, the next stage will be created. The accessReviewInstanceDecisionItem objects will always reflect the last decisions recorded across all stages at that given time, regardless of the status of the stages. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * Stop an access review stage that is inProgress. After the access review stage stops, the stage status will be Completed and the reviewers can no longer give input. If there are subsequent stages that depend on the completed stage, the next stage will be created. The accessReviewInstanceDecisionItem objects will always reflect the last decisions recorded across all stages at that given time, regardless of the status of the stages. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Stop an access review stage that is inProgress. After the access review stage stops, the stage status will be Completed and the reviewers can no longer give input. If there are subsequent stages that depend on the completed stage, the next stage will be created. The accessReviewInstanceDecisionItem objects will always reflect the last decisions recorded across all stages at that given time, regardless of the status of the stages. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * Stop an access review stage that is inProgress. After the access review stage stops, the stage status will be Completed and the reviewers can no longer give input. If there are subsequent stages that depend on the completed stage, the next stage will be created. The accessReviewInstanceDecisionItem objects will always reflect the last decisions recorded across all stages at that given time, regardless of the status of the stages. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link StopRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public StopRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new StopRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/instance/stop/StopRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/instance/stop/StopRequestBuilder.java index 92eba66bbcf..e0cb9fa51ef 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/instance/stop/StopRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/instance/stop/StopRequestBuilder.java @@ -37,8 +37,11 @@ public StopRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jaka /** * Stop a currently active accessReviewInstance. After the access review instance stops, the instance status will be Completed, the reviewers can no longer give input, and the access review decisions can be applied. Stopping an instance will not effect future instances. To prevent a recurring access review from starting future instances, update the schedule definition to change its scheduled end date. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * Stop a currently active accessReviewInstance. After the access review instance stops, the instance status will be Completed, the reviewers can no longer give input, and the access review decisions can be applied. Stopping an instance will not effect future instances. To prevent a recurring access review from starting future instances, update the schedule definition to change its scheduled end date. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Stop a currently active accessReviewInstance. After the access review instance stops, the instance status will be Completed, the reviewers can no longer give input, and the access review decisions can be applied. Stopping an instance will not effect future instances. To prevent a recurring access review from starting future instances, update the schedule definition to change its scheduled end date. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * Stop a currently active accessReviewInstance. After the access review instance stops, the instance status will be Completed, the reviewers can no longer give input, and the access review decisions can be applied. Stopping an instance will not effect future instances. To prevent a recurring access review from starting future instances, update the schedule definition to change its scheduled end date. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link StopRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public StopRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new StopRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/instance/stopapplydecisions/StopApplyDecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/instance/stopapplydecisions/StopApplyDecisionsRequestBuilder.java index ebf7f2d7686..75c7d279d18 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/instance/stopapplydecisions/StopApplyDecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/item/instance/stopapplydecisions/StopApplyDecisionsRequestBuilder.java @@ -37,7 +37,10 @@ public StopApplyDecisionsRequestBuilder(@jakarta.annotation.Nonnull final String /** * Invoke action stopApplyDecisions * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void post() { post(null); } @@ -45,7 +48,10 @@ public void post() { * Invoke action stopApplyDecisions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -55,8 +61,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Invoke action stopApplyDecisions * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -64,8 +73,11 @@ public RequestInformation toPostRequestInformation() { * Invoke action stopApplyDecisions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -76,8 +88,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link StopApplyDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public StopApplyDecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new StopApplyDecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/recordalldecisions/RecordAllDecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/recordalldecisions/RecordAllDecisionsRequestBuilder.java index 812367f3e01..a7383f0085f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/recordalldecisions/RecordAllDecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/decisions/recordalldecisions/RecordAllDecisionsRequestBuilder.java @@ -38,8 +38,11 @@ public RecordAllDecisionsRequestBuilder(@jakarta.annotation.Nonnull final String * As a reviewer of an access review, record a decision for an accessReviewInstanceDecisionItem that is assigned to you and that matches the principal or resource IDs specified. If no IDs are specified, the decisions will apply to every accessReviewInstanceDecisionItem for which you are the reviewer. * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequestBody body) { post(body, null); } @@ -48,8 +51,11 @@ public void post(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequest * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -61,8 +67,11 @@ public void post(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequest * As a reviewer of an access review, record a decision for an accessReviewInstanceDecisionItem that is assigned to you and that matches the principal or resource IDs specified. If no IDs are specified, the decisions will apply to every accessReviewInstanceDecisionItem for which you are the reviewer. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequestBody body) { return toPostRequestInformation(body, null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -85,8 +97,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RecordAllDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RecordAllDecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RecordAllDecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/definition/DefinitionRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/definition/DefinitionRequestBuilder.java index a805ca01679..8e19d67cfe7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/definition/DefinitionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/definition/DefinitionRequestBuilder.java @@ -40,8 +40,11 @@ public DefinitionRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, * There's exactly one accessReviewScheduleDefinition associated with each instance. It's the parent schedule for the instance, where instances are created for each recurrence of a review definition and each group selected to review by the definition. * @return a {@link AccessReviewScheduleDefinition} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewScheduleDefinition get() { return get(null); } @@ -50,8 +53,11 @@ public AccessReviewScheduleDefinition get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewScheduleDefinition} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewScheduleDefinition get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public AccessReviewScheduleDefinition get(@jakarta.annotation.Nullable final jav /** * There's exactly one accessReviewScheduleDefinition associated with each instance. It's the parent schedule for the instance, where instances are created for each recurrence of a review definition and each group selected to review by the definition. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * There's exactly one accessReviewScheduleDefinition associated with each instance. It's the parent schedule for the instance, where instances are created for each recurrence of a review definition and each group selected to review by the definition. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link DefinitionRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public DefinitionRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new DefinitionRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/resetdecisions/ResetDecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/resetdecisions/ResetDecisionsRequestBuilder.java index ca57f53c85a..e26577c6162 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/resetdecisions/ResetDecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/resetdecisions/ResetDecisionsRequestBuilder.java @@ -37,8 +37,11 @@ public ResetDecisionsRequestBuilder(@jakarta.annotation.Nonnull final String raw /** * Resets decisions of all accessReviewInstanceDecisionItem objects on an accessReviewInstance to notReviewed. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * Resets decisions of all accessReviewInstanceDecisionItem objects on an accessReviewInstance to notReviewed. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Resets decisions of all accessReviewInstanceDecisionItem objects on an accessReviewInstance to notReviewed. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * Resets decisions of all accessReviewInstanceDecisionItem objects on an accessReviewInstance to notReviewed. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ResetDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ResetDecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ResetDecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/sendreminder/SendReminderRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/sendreminder/SendReminderRequestBuilder.java index c5a1475e97c..e8180e14290 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/sendreminder/SendReminderRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/sendreminder/SendReminderRequestBuilder.java @@ -37,8 +37,11 @@ public SendReminderRequestBuilder(@jakarta.annotation.Nonnull final String rawUr /** * Send a reminder to the reviewers of a currently active accessReviewInstance. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * Send a reminder to the reviewers of a currently active accessReviewInstance. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Send a reminder to the reviewers of a currently active accessReviewInstance. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * Send a reminder to the reviewers of a currently active accessReviewInstance. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link SendReminderRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public SendReminderRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new SendReminderRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/StagesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/StagesRequestBuilder.java index 679b603633c..8368f31b4b2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/StagesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/StagesRequestBuilder.java @@ -27,7 +27,10 @@ public class StagesRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -36,8 +39,11 @@ public CountRequestBuilder count() { * Provides operations to manage the stages property of the microsoft.graph.accessReviewInstance entity. * @param accessReviewStageId The unique identifier of accessReviewStage * @return a {@link AccessReviewStageItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessReviewStageItemRequestBuilder byAccessReviewStageId(@jakarta.annotation.Nonnull final String accessReviewStageId) { Objects.requireNonNull(accessReviewStageId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -64,8 +70,11 @@ public StagesRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ja * Provides operations to call the filterByCurrentUser method. * @param on Usage: on='{on}' * @return a {@link FilterByCurrentUserWithOnRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilterByCurrentUserWithOnRequestBuilder filterByCurrentUserWithOn(@jakarta.annotation.Nonnull final String on) { Objects.requireNonNull(on); return new FilterByCurrentUserWithOnRequestBuilder(pathParameters, requestAdapter, on); @@ -74,8 +83,11 @@ public FilterByCurrentUserWithOnRequestBuilder filterByCurrentUserWithOn(@jakart * If the instance has multiple stages, this returns the collection of stages. A new stage will only be created when the previous stage ends. The existence, number, and settings of stages on a review instance are created based on the accessReviewStageSettings on the parent accessReviewScheduleDefinition. * @return a {@link AccessReviewStageCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewStageCollectionResponse get() { return get(null); } @@ -84,8 +96,11 @@ public AccessReviewStageCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewStageCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewStageCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -97,8 +112,11 @@ public AccessReviewStageCollectionResponse get(@jakarta.annotation.Nullable fina * @param body The request body * @return a {@link AccessReviewStage} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewStage post(@jakarta.annotation.Nonnull final AccessReviewStage body) { return post(body, null); } @@ -108,8 +126,11 @@ public AccessReviewStage post(@jakarta.annotation.Nonnull final AccessReviewStag * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewStage} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewStage post(@jakarta.annotation.Nonnull final AccessReviewStage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -120,8 +141,11 @@ public AccessReviewStage post(@jakarta.annotation.Nonnull final AccessReviewStag /** * If the instance has multiple stages, this returns the collection of stages. A new stage will only be created when the previous stage ends. The existence, number, and settings of stages on a review instance are created based on the accessReviewStageSettings on the parent accessReviewScheduleDefinition. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -129,8 +153,11 @@ public RequestInformation toGetRequestInformation() { * If the instance has multiple stages, this returns the collection of stages. A new stage will only be created when the previous stage ends. The existence, number, and settings of stages on a review instance are created based on the accessReviewStageSettings on the parent accessReviewScheduleDefinition. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -141,8 +168,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to stages for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewStage body) { return toPostRequestInformation(body, null); } @@ -151,8 +181,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewStage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -165,8 +198,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link StagesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public StagesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new StagesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/count/CountRequestBuilder.java index 5e3162320dc..46e80dd8412 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java index b10cf7361a1..45d3f380a18 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java @@ -41,9 +41,12 @@ public FilterByCurrentUserWithOnRequestBuilder(@jakarta.annotation.Nonnull final * Return all accessReviewStage objects on a given accessReviewInstance where the calling user is a reviewer on one or more accessReviewInstanceDecisionItem objects. * @return a {@link FilterByCurrentUserWithOnGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public FilterByCurrentUserWithOnGetResponse get() { return get(null); } @@ -52,9 +55,12 @@ public FilterByCurrentUserWithOnGetResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link FilterByCurrentUserWithOnGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public FilterByCurrentUserWithOnGetResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -64,8 +70,11 @@ public FilterByCurrentUserWithOnGetResponse get(@jakarta.annotation.Nullable fin /** * Return all accessReviewStage objects on a given accessReviewInstance where the calling user is a reviewer on one or more accessReviewInstanceDecisionItem objects. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -73,8 +82,11 @@ public RequestInformation toGetRequestInformation() { * Return all accessReviewStage objects on a given accessReviewInstance where the calling user is a reviewer on one or more accessReviewInstanceDecisionItem objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -85,8 +97,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link FilterByCurrentUserWithOnRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilterByCurrentUserWithOnRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new FilterByCurrentUserWithOnRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/AccessReviewStageItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/AccessReviewStageItemRequestBuilder.java index e42b7d0ca02..f5592573250 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/AccessReviewStageItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/AccessReviewStageItemRequestBuilder.java @@ -27,7 +27,10 @@ public class AccessReviewStageItemRequestBuilder extends BaseRequestBuilder { /** * Provides operations to call the acceptRecommendations method. * @return a {@link AcceptRecommendationsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AcceptRecommendationsRequestBuilder acceptRecommendations() { return new AcceptRecommendationsRequestBuilder(pathParameters, requestAdapter); @@ -35,7 +38,10 @@ public AcceptRecommendationsRequestBuilder acceptRecommendations() { /** * Provides operations to call the batchRecordDecisions method. * @return a {@link BatchRecordDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public BatchRecordDecisionsRequestBuilder batchRecordDecisions() { return new BatchRecordDecisionsRequestBuilder(pathParameters, requestAdapter); @@ -43,7 +49,10 @@ public BatchRecordDecisionsRequestBuilder batchRecordDecisions() { /** * Provides operations to manage the decisions property of the microsoft.graph.accessReviewStage entity. * @return a {@link DecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public DecisionsRequestBuilder decisions() { return new DecisionsRequestBuilder(pathParameters, requestAdapter); @@ -51,7 +60,10 @@ public DecisionsRequestBuilder decisions() { /** * Provides operations to call the stop method. * @return a {@link StopRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public StopRequestBuilder stop() { return new StopRequestBuilder(pathParameters, requestAdapter); @@ -75,7 +87,10 @@ public AccessReviewStageItemRequestBuilder(@jakarta.annotation.Nonnull final Str /** * Delete navigation property stages for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -83,7 +98,10 @@ public void delete() { * Delete navigation property stages for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -94,8 +112,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * If the instance has multiple stages, this returns the collection of stages. A new stage will only be created when the previous stage ends. The existence, number, and settings of stages on a review instance are created based on the accessReviewStageSettings on the parent accessReviewScheduleDefinition. * @return a {@link AccessReviewStage} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewStage get() { return get(null); } @@ -104,8 +125,11 @@ public AccessReviewStage get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewStage} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewStage get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -117,8 +141,11 @@ public AccessReviewStage get(@jakarta.annotation.Nullable final java.util.functi * @param body The request body * @return a {@link AccessReviewStage} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewStage patch(@jakarta.annotation.Nonnull final AccessReviewStage body) { return patch(body, null); } @@ -128,8 +155,11 @@ public AccessReviewStage patch(@jakarta.annotation.Nonnull final AccessReviewSta * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewStage} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewStage patch(@jakarta.annotation.Nonnull final AccessReviewStage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -140,8 +170,11 @@ public AccessReviewStage patch(@jakarta.annotation.Nonnull final AccessReviewSta /** * Delete navigation property stages for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -149,8 +182,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property stages for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -160,8 +196,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * If the instance has multiple stages, this returns the collection of stages. A new stage will only be created when the previous stage ends. The existence, number, and settings of stages on a review instance are created based on the accessReviewStageSettings on the parent accessReviewScheduleDefinition. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -169,8 +208,11 @@ public RequestInformation toGetRequestInformation() { * If the instance has multiple stages, this returns the collection of stages. A new stage will only be created when the previous stage ends. The existence, number, and settings of stages on a review instance are created based on the accessReviewStageSettings on the parent accessReviewScheduleDefinition. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -181,8 +223,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property stages in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewStage body) { return toPatchRequestInformation(body, null); } @@ -191,8 +236,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewStage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -205,8 +253,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessReviewStageItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessReviewStageItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessReviewStageItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/acceptrecommendations/AcceptRecommendationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/acceptrecommendations/AcceptRecommendationsRequestBuilder.java index b6af47ccae2..c7b9bfa85d3 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/acceptrecommendations/AcceptRecommendationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/acceptrecommendations/AcceptRecommendationsRequestBuilder.java @@ -37,8 +37,11 @@ public AcceptRecommendationsRequestBuilder(@jakarta.annotation.Nonnull final Str /** * Accept the recommendations on all accessReviewInstanceDecisionItem objects that haven't been reviewed within a single accessReviewStage of a multi-stage accessReviewInstance. Recommendations are generated if recommendationsEnabled is true on the accessReviewScheduleDefinition object. If there's no recommendation on an accessReviewInstanceDecisionItem object, no decision is recorded. This action accepts recommendations for the decisions in a specific stage only, unlike accessReviewInstance: acceptRecommendations, which operates across the entire instance. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * Accept the recommendations on all accessReviewInstanceDecisionItem objects that haven't been reviewed within a single accessReviewStage of a multi-stage accessReviewInstance. Recommendations are generated if recommendationsEnabled is true on the accessReviewScheduleDefinition object. If there's no recommendation on an accessReviewInstanceDecisionItem object, no decision is recorded. This action accepts recommendations for the decisions in a specific stage only, unlike accessReviewInstance: acceptRecommendations, which operates across the entire instance. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Accept the recommendations on all accessReviewInstanceDecisionItem objects that haven't been reviewed within a single accessReviewStage of a multi-stage accessReviewInstance. Recommendations are generated if recommendationsEnabled is true on the accessReviewScheduleDefinition object. If there's no recommendation on an accessReviewInstanceDecisionItem object, no decision is recorded. This action accepts recommendations for the decisions in a specific stage only, unlike accessReviewInstance: acceptRecommendations, which operates across the entire instance. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * Accept the recommendations on all accessReviewInstanceDecisionItem objects that haven't been reviewed within a single accessReviewStage of a multi-stage accessReviewInstance. Recommendations are generated if recommendationsEnabled is true on the accessReviewScheduleDefinition object. If there's no recommendation on an accessReviewInstanceDecisionItem object, no decision is recorded. This action accepts recommendations for the decisions in a specific stage only, unlike accessReviewInstance: acceptRecommendations, which operates across the entire instance. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AcceptRecommendationsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AcceptRecommendationsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AcceptRecommendationsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/batchrecorddecisions/BatchRecordDecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/batchrecorddecisions/BatchRecordDecisionsRequestBuilder.java index f02982126d9..32b0baefe35 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/batchrecorddecisions/BatchRecordDecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/batchrecorddecisions/BatchRecordDecisionsRequestBuilder.java @@ -38,8 +38,11 @@ public BatchRecordDecisionsRequestBuilder(@jakarta.annotation.Nonnull final Stri * Record decisions in bulk for all accessReviewInstanceDecisionItem objects within a single accessReviewStage of a multi-stage accessReviewInstance, by using principalId, resourceId, or neither. This action records decisions for a specific stage only, unlike accessReviewInstance: batchRecordDecisions, which operates across the entire instance. * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostRequestBody body) { post(body, null); } @@ -48,8 +51,11 @@ public void post(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostReque * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -61,8 +67,11 @@ public void post(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostReque * Record decisions in bulk for all accessReviewInstanceDecisionItem objects within a single accessReviewStage of a multi-stage accessReviewInstance, by using principalId, resourceId, or neither. This action records decisions for a specific stage only, unlike accessReviewInstance: batchRecordDecisions, which operates across the entire instance. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostRequestBody body) { return toPostRequestInformation(body, null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -85,8 +97,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link BatchRecordDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public BatchRecordDecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new BatchRecordDecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/decisions/DecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/decisions/DecisionsRequestBuilder.java index 34482b5df9b..fe418f7b08e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/decisions/DecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/decisions/DecisionsRequestBuilder.java @@ -28,7 +28,10 @@ public class DecisionsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -36,7 +39,10 @@ public CountRequestBuilder count() { /** * Provides operations to call the recordAllDecisions method. * @return a {@link RecordAllDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public RecordAllDecisionsRequestBuilder recordAllDecisions() { return new RecordAllDecisionsRequestBuilder(pathParameters, requestAdapter); @@ -45,8 +51,11 @@ public RecordAllDecisionsRequestBuilder recordAllDecisions() { * Provides operations to manage the decisions property of the microsoft.graph.accessReviewStage entity. * @param accessReviewInstanceDecisionItemId The unique identifier of accessReviewInstanceDecisionItem * @return a {@link AccessReviewInstanceDecisionItemItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessReviewInstanceDecisionItemItemRequestBuilder byAccessReviewInstanceDecisionItemId(@jakarta.annotation.Nonnull final String accessReviewInstanceDecisionItemId) { Objects.requireNonNull(accessReviewInstanceDecisionItemId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -73,8 +82,11 @@ public DecisionsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, * Provides operations to call the filterByCurrentUser method. * @param on Usage: on='{on}' * @return a {@link FilterByCurrentUserWithOnRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilterByCurrentUserWithOnRequestBuilder filterByCurrentUserWithOn(@jakarta.annotation.Nonnull final String on) { Objects.requireNonNull(on); return new FilterByCurrentUserWithOnRequestBuilder(pathParameters, requestAdapter, on); @@ -83,8 +95,11 @@ public FilterByCurrentUserWithOnRequestBuilder filterByCurrentUserWithOn(@jakart * Each user reviewed in an accessReviewStage has a decision item representing if they were approved, denied, or not yet reviewed. * @return a {@link AccessReviewInstanceDecisionItemCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItemCollectionResponse get() { return get(null); } @@ -93,8 +108,11 @@ public AccessReviewInstanceDecisionItemCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstanceDecisionItemCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItemCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -106,8 +124,11 @@ public AccessReviewInstanceDecisionItemCollectionResponse get(@jakarta.annotatio * @param body The request body * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem post(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body) { return post(body, null); } @@ -117,8 +138,11 @@ public AccessReviewInstanceDecisionItem post(@jakarta.annotation.Nonnull final A * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem post(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -129,8 +153,11 @@ public AccessReviewInstanceDecisionItem post(@jakarta.annotation.Nonnull final A /** * Each user reviewed in an accessReviewStage has a decision item representing if they were approved, denied, or not yet reviewed. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -138,8 +165,11 @@ public RequestInformation toGetRequestInformation() { * Each user reviewed in an accessReviewStage has a decision item representing if they were approved, denied, or not yet reviewed. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -150,8 +180,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to decisions for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body) { return toPostRequestInformation(body, null); } @@ -160,8 +193,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -174,8 +210,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link DecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public DecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new DecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/decisions/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/decisions/count/CountRequestBuilder.java index bfb28217d28..a1a6ec1c078 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/decisions/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/decisions/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/decisions/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/decisions/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java index f66a9a784f1..10c157bfd47 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/decisions/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/decisions/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java @@ -41,9 +41,12 @@ public FilterByCurrentUserWithOnRequestBuilder(@jakarta.annotation.Nonnull final * Retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. * @return a {@link FilterByCurrentUserWithOnGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public FilterByCurrentUserWithOnGetResponse get() { return get(null); } @@ -52,9 +55,12 @@ public FilterByCurrentUserWithOnGetResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link FilterByCurrentUserWithOnGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public FilterByCurrentUserWithOnGetResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -64,8 +70,11 @@ public FilterByCurrentUserWithOnGetResponse get(@jakarta.annotation.Nullable fin /** * Retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -73,8 +82,11 @@ public RequestInformation toGetRequestInformation() { * Retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -85,8 +97,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link FilterByCurrentUserWithOnRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilterByCurrentUserWithOnRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new FilterByCurrentUserWithOnRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/decisions/item/AccessReviewInstanceDecisionItemItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/decisions/item/AccessReviewInstanceDecisionItemItemRequestBuilder.java index 79db7d1a3f5..d1d40b9c954 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/decisions/item/AccessReviewInstanceDecisionItemItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/decisions/item/AccessReviewInstanceDecisionItemItemRequestBuilder.java @@ -25,7 +25,10 @@ public class AccessReviewInstanceDecisionItemItemRequestBuilder extends BaseRequ /** * Provides operations to manage the insights property of the microsoft.graph.accessReviewInstanceDecisionItem entity. * @return a {@link InsightsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public InsightsRequestBuilder insights() { return new InsightsRequestBuilder(pathParameters, requestAdapter); @@ -33,7 +36,10 @@ public InsightsRequestBuilder insights() { /** * Provides operations to manage the instance property of the microsoft.graph.accessReviewInstanceDecisionItem entity. * @return a {@link InstanceRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public InstanceRequestBuilder instance() { return new InstanceRequestBuilder(pathParameters, requestAdapter); @@ -57,7 +63,10 @@ public AccessReviewInstanceDecisionItemItemRequestBuilder(@jakarta.annotation.No /** * Delete navigation property decisions for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -65,7 +74,10 @@ public void delete() { * Delete navigation property decisions for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -76,8 +88,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Each user reviewed in an accessReviewStage has a decision item representing if they were approved, denied, or not yet reviewed. * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem get() { return get(null); } @@ -86,8 +101,11 @@ public AccessReviewInstanceDecisionItem get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -99,8 +117,11 @@ public AccessReviewInstanceDecisionItem get(@jakarta.annotation.Nullable final j * @param body The request body * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem patch(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body) { return patch(body, null); } @@ -110,8 +131,11 @@ public AccessReviewInstanceDecisionItem patch(@jakarta.annotation.Nonnull final * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem patch(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -122,8 +146,11 @@ public AccessReviewInstanceDecisionItem patch(@jakarta.annotation.Nonnull final /** * Delete navigation property decisions for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -131,8 +158,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property decisions for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -142,8 +172,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Each user reviewed in an accessReviewStage has a decision item representing if they were approved, denied, or not yet reviewed. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -151,8 +184,11 @@ public RequestInformation toGetRequestInformation() { * Each user reviewed in an accessReviewStage has a decision item representing if they were approved, denied, or not yet reviewed. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -163,8 +199,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property decisions in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body) { return toPatchRequestInformation(body, null); } @@ -173,8 +212,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -187,8 +229,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessReviewInstanceDecisionItemItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessReviewInstanceDecisionItemItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessReviewInstanceDecisionItemItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/decisions/item/insights/InsightsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/decisions/item/insights/InsightsRequestBuilder.java index e3f3466a1e3..f914c34564e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/decisions/item/insights/InsightsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/decisions/item/insights/InsightsRequestBuilder.java @@ -26,7 +26,10 @@ public class InsightsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the insights property of the microsoft.graph.accessReviewInstanceDecisionItem entity. * @param governanceInsightId The unique identifier of governanceInsight * @return a {@link GovernanceInsightItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public GovernanceInsightItemRequestBuilder byGovernanceInsightId(@jakarta.annotation.Nonnull final String governanceInsightId) { Objects.requireNonNull(governanceInsightId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public InsightsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @return a {@link GovernanceInsightCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsightCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public GovernanceInsightCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GovernanceInsightCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsightCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public GovernanceInsightCollectionResponse get(@jakarta.annotation.Nullable fina * @param body The request body * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight post(@jakarta.annotation.Nonnull final GovernanceInsight body) { return post(body, null); } @@ -97,8 +112,11 @@ public GovernanceInsight post(@jakarta.annotation.Nonnull final GovernanceInsigh * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight post(@jakarta.annotation.Nonnull final GovernanceInsight body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public GovernanceInsight post(@jakarta.annotation.Nonnull final GovernanceInsigh /** * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to insights for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GovernanceInsight body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GovernanceInsight body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link InsightsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public InsightsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new InsightsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/decisions/item/insights/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/decisions/item/insights/count/CountRequestBuilder.java index f029a8db746..a4def26435d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/decisions/item/insights/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/decisions/item/insights/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/decisions/item/insights/item/GovernanceInsightItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/decisions/item/insights/item/GovernanceInsightItemRequestBuilder.java index 0287baa59ce..1aa5d361c1f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/decisions/item/insights/item/GovernanceInsightItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/decisions/item/insights/item/GovernanceInsightItemRequestBuilder.java @@ -39,7 +39,10 @@ public GovernanceInsightItemRequestBuilder(@jakarta.annotation.Nonnull final Str /** * Delete navigation property insights for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -47,7 +50,10 @@ public void delete() { * Delete navigation property insights for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -58,8 +64,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight get() { return get(null); } @@ -68,8 +77,11 @@ public GovernanceInsight get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -81,8 +93,11 @@ public GovernanceInsight get(@jakarta.annotation.Nullable final java.util.functi * @param body The request body * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight patch(@jakarta.annotation.Nonnull final GovernanceInsight body) { return patch(body, null); } @@ -92,8 +107,11 @@ public GovernanceInsight patch(@jakarta.annotation.Nonnull final GovernanceInsig * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight patch(@jakarta.annotation.Nonnull final GovernanceInsight body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -104,8 +122,11 @@ public GovernanceInsight patch(@jakarta.annotation.Nonnull final GovernanceInsig /** * Delete navigation property insights for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -113,8 +134,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property insights for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -133,8 +160,11 @@ public RequestInformation toGetRequestInformation() { * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -145,8 +175,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property insights in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final GovernanceInsight body) { return toPatchRequestInformation(body, null); } @@ -155,8 +188,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final GovernanceInsight body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -169,8 +205,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link GovernanceInsightItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public GovernanceInsightItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new GovernanceInsightItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/decisions/item/instance/InstanceRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/decisions/item/instance/InstanceRequestBuilder.java index b95850fa054..6b1f1ea5f7a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/decisions/item/instance/InstanceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/decisions/item/instance/InstanceRequestBuilder.java @@ -34,7 +34,10 @@ public class InstanceRequestBuilder extends BaseRequestBuilder { /** * Provides operations to call the acceptRecommendations method. * @return a {@link AcceptRecommendationsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AcceptRecommendationsRequestBuilder acceptRecommendations() { return new AcceptRecommendationsRequestBuilder(pathParameters, requestAdapter); @@ -42,7 +45,10 @@ public AcceptRecommendationsRequestBuilder acceptRecommendations() { /** * Provides operations to call the applyDecisions method. * @return a {@link ApplyDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ApplyDecisionsRequestBuilder applyDecisions() { return new ApplyDecisionsRequestBuilder(pathParameters, requestAdapter); @@ -50,7 +56,10 @@ public ApplyDecisionsRequestBuilder applyDecisions() { /** * Provides operations to call the batchApplyCustomDataProvidedResourceDecisions method. * @return a {@link BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder batchApplyCustomDataProvidedResourceDecisions() { return new BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder(pathParameters, requestAdapter); @@ -58,7 +67,10 @@ public BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder batchApplyCus /** * Provides operations to call the batchRecordDecisions method. * @return a {@link BatchRecordDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public BatchRecordDecisionsRequestBuilder batchRecordDecisions() { return new BatchRecordDecisionsRequestBuilder(pathParameters, requestAdapter); @@ -66,7 +78,10 @@ public BatchRecordDecisionsRequestBuilder batchRecordDecisions() { /** * Provides operations to manage the contactedReviewers property of the microsoft.graph.accessReviewInstance entity. * @return a {@link ContactedReviewersRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ContactedReviewersRequestBuilder contactedReviewers() { return new ContactedReviewersRequestBuilder(pathParameters, requestAdapter); @@ -74,7 +89,10 @@ public ContactedReviewersRequestBuilder contactedReviewers() { /** * Provides operations to manage the decisions property of the microsoft.graph.accessReviewInstance entity. * @return a {@link DecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public DecisionsRequestBuilder decisions() { return new DecisionsRequestBuilder(pathParameters, requestAdapter); @@ -82,7 +100,10 @@ public DecisionsRequestBuilder decisions() { /** * Provides operations to manage the definition property of the microsoft.graph.accessReviewInstance entity. * @return a {@link DefinitionRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public DefinitionRequestBuilder definition() { return new DefinitionRequestBuilder(pathParameters, requestAdapter); @@ -90,7 +111,10 @@ public DefinitionRequestBuilder definition() { /** * Provides operations to call the resetDecisions method. * @return a {@link ResetDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ResetDecisionsRequestBuilder resetDecisions() { return new ResetDecisionsRequestBuilder(pathParameters, requestAdapter); @@ -98,7 +122,10 @@ public ResetDecisionsRequestBuilder resetDecisions() { /** * Provides operations to call the sendReminder method. * @return a {@link SendReminderRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public SendReminderRequestBuilder sendReminder() { return new SendReminderRequestBuilder(pathParameters, requestAdapter); @@ -106,7 +133,10 @@ public SendReminderRequestBuilder sendReminder() { /** * Provides operations to call the stop method. * @return a {@link StopRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public StopRequestBuilder stop() { return new StopRequestBuilder(pathParameters, requestAdapter); @@ -114,7 +144,10 @@ public StopRequestBuilder stop() { /** * Provides operations to call the stopApplyDecisions method. * @return a {@link StopApplyDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public StopApplyDecisionsRequestBuilder stopApplyDecisions() { return new StopApplyDecisionsRequestBuilder(pathParameters, requestAdapter); @@ -138,7 +171,10 @@ public InstanceRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ /** * Delete navigation property instance for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -146,7 +182,10 @@ public void delete() { * Delete navigation property instance for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -157,8 +196,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * There's exactly one accessReviewInstance associated with each decision. The instance is the parent of the decision item, representing the recurrence of the access review the decision is made on. * @return a {@link AccessReviewInstance} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstance get() { return get(null); } @@ -167,8 +209,11 @@ public AccessReviewInstance get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstance} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstance get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -180,8 +225,11 @@ public AccessReviewInstance get(@jakarta.annotation.Nullable final java.util.fun * @param body The request body * @return a {@link AccessReviewInstance} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstance patch(@jakarta.annotation.Nonnull final AccessReviewInstance body) { return patch(body, null); } @@ -191,8 +239,11 @@ public AccessReviewInstance patch(@jakarta.annotation.Nonnull final AccessReview * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstance} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstance patch(@jakarta.annotation.Nonnull final AccessReviewInstance body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -203,8 +254,11 @@ public AccessReviewInstance patch(@jakarta.annotation.Nonnull final AccessReview /** * Delete navigation property instance for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -212,8 +266,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property instance for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -223,8 +280,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * There's exactly one accessReviewInstance associated with each decision. The instance is the parent of the decision item, representing the recurrence of the access review the decision is made on. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -232,8 +292,11 @@ public RequestInformation toGetRequestInformation() { * There's exactly one accessReviewInstance associated with each decision. The instance is the parent of the decision item, representing the recurrence of the access review the decision is made on. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -244,8 +307,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property instance in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstance body) { return toPatchRequestInformation(body, null); } @@ -254,8 +320,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstance body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -268,8 +337,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link InstanceRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public InstanceRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new InstanceRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/decisions/item/instance/acceptrecommendations/AcceptRecommendationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/decisions/item/instance/acceptrecommendations/AcceptRecommendationsRequestBuilder.java index 6a64e0a35a0..64278de8a4c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/decisions/item/instance/acceptrecommendations/AcceptRecommendationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/decisions/item/instance/acceptrecommendations/AcceptRecommendationsRequestBuilder.java @@ -37,8 +37,11 @@ public AcceptRecommendationsRequestBuilder(@jakarta.annotation.Nonnull final Str /** * Allows the acceptance of recommendations on all accessReviewInstanceDecisionItem objects that haven't been reviewed for an accessReviewInstance object for which the calling user is a reviewer. Recommendations are generated if recommendationsEnabled is true on the accessReviewScheduleDefinition object. If there isn't a recommendation on an accessReviewInstanceDecisionItem object no decision will be recorded. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * Allows the acceptance of recommendations on all accessReviewInstanceDecisionItem objects that haven't been reviewed for an accessReviewInstance object for which the calling user is a reviewer. Recommendations are generated if recommendationsEnabled is true on the accessReviewScheduleDefinition object. If there isn't a recommendation on an accessReviewInstanceDecisionItem object no decision will be recorded. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Allows the acceptance of recommendations on all accessReviewInstanceDecisionItem objects that haven't been reviewed for an accessReviewInstance object for which the calling user is a reviewer. Recommendations are generated if recommendationsEnabled is true on the accessReviewScheduleDefinition object. If there isn't a recommendation on an accessReviewInstanceDecisionItem object no decision will be recorded. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * Allows the acceptance of recommendations on all accessReviewInstanceDecisionItem objects that haven't been reviewed for an accessReviewInstance object for which the calling user is a reviewer. Recommendations are generated if recommendationsEnabled is true on the accessReviewScheduleDefinition object. If there isn't a recommendation on an accessReviewInstanceDecisionItem object no decision will be recorded. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AcceptRecommendationsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AcceptRecommendationsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AcceptRecommendationsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/decisions/item/instance/applydecisions/ApplyDecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/decisions/item/instance/applydecisions/ApplyDecisionsRequestBuilder.java index 29ea806f35f..429c84c355d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/decisions/item/instance/applydecisions/ApplyDecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/decisions/item/instance/applydecisions/ApplyDecisionsRequestBuilder.java @@ -37,8 +37,11 @@ public ApplyDecisionsRequestBuilder(@jakarta.annotation.Nonnull final String raw /** * Apply review decisions on an accessReviewInstance if the decisions were not applied automatically because the autoApplyDecisionsEnabled property is false in the review's accessReviewScheduleSettings. The status of the accessReviewInstance must be Completed to call this method. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * Apply review decisions on an accessReviewInstance if the decisions were not applied automatically because the autoApplyDecisionsEnabled property is false in the review's accessReviewScheduleSettings. The status of the accessReviewInstance must be Completed to call this method. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Apply review decisions on an accessReviewInstance if the decisions were not applied automatically because the autoApplyDecisionsEnabled property is false in the review's accessReviewScheduleSettings. The status of the accessReviewInstance must be Completed to call this method. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * Apply review decisions on an accessReviewInstance if the decisions were not applied automatically because the autoApplyDecisionsEnabled property is false in the review's accessReviewScheduleSettings. The status of the accessReviewInstance must be Completed to call this method. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ApplyDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ApplyDecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ApplyDecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/decisions/item/instance/batchapplycustomdataprovidedresourcedecisions/BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/decisions/item/instance/batchapplycustomdataprovidedresourcedecisions/BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder.java index 33255a7a3b9..e5b16f0d2f1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/decisions/item/instance/batchapplycustomdataprovidedresourcedecisions/BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/decisions/item/instance/batchapplycustomdataprovidedresourcedecisions/BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder.java @@ -38,8 +38,11 @@ public BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder(@jakarta.anno * Enables reviewers to set the applyResult and applyDescription on all accessReviewInstanceDecisionItem objects in a specific accessReviewInstance in batches by using customDataProvidedResourceId. NOTE: The access review instance must be in an Applying state. * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final BatchApplyCustomDataProvidedResourceDecisionsPostRequestBody body) { post(body, null); } @@ -48,8 +51,11 @@ public void post(@jakarta.annotation.Nonnull final BatchApplyCustomDataProvidedR * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final BatchApplyCustomDataProvidedResourceDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -61,8 +67,11 @@ public void post(@jakarta.annotation.Nonnull final BatchApplyCustomDataProvidedR * Enables reviewers to set the applyResult and applyDescription on all accessReviewInstanceDecisionItem objects in a specific accessReviewInstance in batches by using customDataProvidedResourceId. NOTE: The access review instance must be in an Applying state. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BatchApplyCustomDataProvidedResourceDecisionsPostRequestBody body) { return toPostRequestInformation(body, null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BatchApplyCustomDataProvidedResourceDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -85,8 +97,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/decisions/item/instance/batchrecorddecisions/BatchRecordDecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/decisions/item/instance/batchrecorddecisions/BatchRecordDecisionsRequestBuilder.java index 8e3be612919..66f145df2c3 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/decisions/item/instance/batchrecorddecisions/BatchRecordDecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/decisions/item/instance/batchrecorddecisions/BatchRecordDecisionsRequestBuilder.java @@ -38,8 +38,11 @@ public BatchRecordDecisionsRequestBuilder(@jakarta.annotation.Nonnull final Stri * Enables reviewers to review all accessReviewInstanceDecisionItem objects in a specific pending accessReviewInstance in batches by using principalId, resourceId, or neither. * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostRequestBody body) { post(body, null); } @@ -48,8 +51,11 @@ public void post(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostReque * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -61,8 +67,11 @@ public void post(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostReque * Enables reviewers to review all accessReviewInstanceDecisionItem objects in a specific pending accessReviewInstance in batches by using principalId, resourceId, or neither. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostRequestBody body) { return toPostRequestInformation(body, null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BatchRecordDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -85,8 +97,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link BatchRecordDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public BatchRecordDecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new BatchRecordDecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/decisions/item/instance/contactedreviewers/ContactedReviewersRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/decisions/item/instance/contactedreviewers/ContactedReviewersRequestBuilder.java index 11aeab1d83c..1504dd4482a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/decisions/item/instance/contactedreviewers/ContactedReviewersRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/decisions/item/instance/contactedreviewers/ContactedReviewersRequestBuilder.java @@ -26,7 +26,10 @@ public class ContactedReviewersRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the contactedReviewers property of the microsoft.graph.accessReviewInstance entity. * @param accessReviewReviewerId The unique identifier of accessReviewReviewer * @return a {@link AccessReviewReviewerItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessReviewReviewerItemRequestBuilder byAccessReviewReviewerId(@jakarta.annotation.Nonnull final String accessReviewReviewerId) { Objects.requireNonNull(accessReviewReviewerId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public ContactedReviewersRequestBuilder(@jakarta.annotation.Nonnull final String * Returns the collection of reviewers who were contacted to complete this review. While the reviewers and fallbackReviewers properties of the accessReviewScheduleDefinition might specify group owners or managers as reviewers, contactedReviewers returns their individual identities. Supports $select. Read-only. * @return a {@link AccessReviewReviewerCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewReviewerCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public AccessReviewReviewerCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewReviewerCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewReviewerCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public AccessReviewReviewerCollectionResponse get(@jakarta.annotation.Nullable f * @param body The request body * @return a {@link AccessReviewReviewer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewReviewer post(@jakarta.annotation.Nonnull final AccessReviewReviewer body) { return post(body, null); } @@ -97,8 +112,11 @@ public AccessReviewReviewer post(@jakarta.annotation.Nonnull final AccessReviewR * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewReviewer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewReviewer post(@jakarta.annotation.Nonnull final AccessReviewReviewer body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public AccessReviewReviewer post(@jakarta.annotation.Nonnull final AccessReviewR /** * Returns the collection of reviewers who were contacted to complete this review. While the reviewers and fallbackReviewers properties of the accessReviewScheduleDefinition might specify group owners or managers as reviewers, contactedReviewers returns their individual identities. Supports $select. Read-only. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Returns the collection of reviewers who were contacted to complete this review. While the reviewers and fallbackReviewers properties of the accessReviewScheduleDefinition might specify group owners or managers as reviewers, contactedReviewers returns their individual identities. Supports $select. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to contactedReviewers for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewReviewer body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewReviewer body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ContactedReviewersRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ContactedReviewersRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ContactedReviewersRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/decisions/item/instance/contactedreviewers/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/decisions/item/instance/contactedreviewers/count/CountRequestBuilder.java index 1322d650468..ffa77a2479b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/decisions/item/instance/contactedreviewers/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/decisions/item/instance/contactedreviewers/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/decisions/item/instance/contactedreviewers/item/AccessReviewReviewerItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/decisions/item/instance/contactedreviewers/item/AccessReviewReviewerItemRequestBuilder.java index 83adae78287..fa76f9ddcde 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/decisions/item/instance/contactedreviewers/item/AccessReviewReviewerItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/decisions/item/instance/contactedreviewers/item/AccessReviewReviewerItemRequestBuilder.java @@ -39,7 +39,10 @@ public AccessReviewReviewerItemRequestBuilder(@jakarta.annotation.Nonnull final /** * Delete navigation property contactedReviewers for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -47,7 +50,10 @@ public void delete() { * Delete navigation property contactedReviewers for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -58,8 +64,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Returns the collection of reviewers who were contacted to complete this review. While the reviewers and fallbackReviewers properties of the accessReviewScheduleDefinition might specify group owners or managers as reviewers, contactedReviewers returns their individual identities. Supports $select. Read-only. * @return a {@link AccessReviewReviewer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewReviewer get() { return get(null); } @@ -68,8 +77,11 @@ public AccessReviewReviewer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewReviewer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewReviewer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -81,8 +93,11 @@ public AccessReviewReviewer get(@jakarta.annotation.Nullable final java.util.fun * @param body The request body * @return a {@link AccessReviewReviewer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewReviewer patch(@jakarta.annotation.Nonnull final AccessReviewReviewer body) { return patch(body, null); } @@ -92,8 +107,11 @@ public AccessReviewReviewer patch(@jakarta.annotation.Nonnull final AccessReview * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewReviewer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewReviewer patch(@jakarta.annotation.Nonnull final AccessReviewReviewer body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -104,8 +122,11 @@ public AccessReviewReviewer patch(@jakarta.annotation.Nonnull final AccessReview /** * Delete navigation property contactedReviewers for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -113,8 +134,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property contactedReviewers for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Returns the collection of reviewers who were contacted to complete this review. While the reviewers and fallbackReviewers properties of the accessReviewScheduleDefinition might specify group owners or managers as reviewers, contactedReviewers returns their individual identities. Supports $select. Read-only. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -133,8 +160,11 @@ public RequestInformation toGetRequestInformation() { * Returns the collection of reviewers who were contacted to complete this review. While the reviewers and fallbackReviewers properties of the accessReviewScheduleDefinition might specify group owners or managers as reviewers, contactedReviewers returns their individual identities. Supports $select. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -145,8 +175,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property contactedReviewers in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewReviewer body) { return toPatchRequestInformation(body, null); } @@ -155,8 +188,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewReviewer body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -169,8 +205,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessReviewReviewerItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessReviewReviewerItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessReviewReviewerItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/decisions/item/instance/decisions/DecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/decisions/item/instance/decisions/DecisionsRequestBuilder.java index 9b70d1a0f76..8d48541b70d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/decisions/item/instance/decisions/DecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/decisions/item/instance/decisions/DecisionsRequestBuilder.java @@ -28,7 +28,10 @@ public class DecisionsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -36,7 +39,10 @@ public CountRequestBuilder count() { /** * Provides operations to call the recordAllDecisions method. * @return a {@link RecordAllDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public RecordAllDecisionsRequestBuilder recordAllDecisions() { return new RecordAllDecisionsRequestBuilder(pathParameters, requestAdapter); @@ -45,8 +51,11 @@ public RecordAllDecisionsRequestBuilder recordAllDecisions() { * Provides operations to manage the decisions property of the microsoft.graph.accessReviewInstance entity. * @param accessReviewInstanceDecisionItemId1 The unique identifier of accessReviewInstanceDecisionItem * @return a {@link AccessReviewInstanceDecisionItemItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessReviewInstanceDecisionItemItemRequestBuilder byAccessReviewInstanceDecisionItemId1(@jakarta.annotation.Nonnull final String accessReviewInstanceDecisionItemId1) { Objects.requireNonNull(accessReviewInstanceDecisionItemId1); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -73,8 +82,11 @@ public DecisionsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, * Provides operations to call the filterByCurrentUser method. * @param on Usage: on='{on}' * @return a {@link FilterByCurrentUserWithOnRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilterByCurrentUserWithOnRequestBuilder filterByCurrentUserWithOn(@jakarta.annotation.Nonnull final String on) { Objects.requireNonNull(on); return new FilterByCurrentUserWithOnRequestBuilder(pathParameters, requestAdapter, on); @@ -83,8 +95,11 @@ public FilterByCurrentUserWithOnRequestBuilder filterByCurrentUserWithOn(@jakart * Each user reviewed in an accessReviewInstance has a decision item representing if they were approved, denied, or not yet reviewed. * @return a {@link AccessReviewInstanceDecisionItemCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItemCollectionResponse get() { return get(null); } @@ -93,8 +108,11 @@ public AccessReviewInstanceDecisionItemCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstanceDecisionItemCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItemCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -106,8 +124,11 @@ public AccessReviewInstanceDecisionItemCollectionResponse get(@jakarta.annotatio * @param body The request body * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem post(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body) { return post(body, null); } @@ -117,8 +138,11 @@ public AccessReviewInstanceDecisionItem post(@jakarta.annotation.Nonnull final A * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem post(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -129,8 +153,11 @@ public AccessReviewInstanceDecisionItem post(@jakarta.annotation.Nonnull final A /** * Each user reviewed in an accessReviewInstance has a decision item representing if they were approved, denied, or not yet reviewed. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -138,8 +165,11 @@ public RequestInformation toGetRequestInformation() { * Each user reviewed in an accessReviewInstance has a decision item representing if they were approved, denied, or not yet reviewed. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -150,8 +180,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to decisions for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body) { return toPostRequestInformation(body, null); } @@ -160,8 +193,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -174,8 +210,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link DecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public DecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new DecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/decisions/item/instance/decisions/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/decisions/item/instance/decisions/count/CountRequestBuilder.java index 367367eb516..705bccfa5f7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/decisions/item/instance/decisions/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/decisions/item/instance/decisions/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/decisions/item/instance/decisions/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/decisions/item/instance/decisions/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java index fa8f942259c..351ab3b35dc 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/decisions/item/instance/decisions/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/decisions/item/instance/decisions/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java @@ -41,9 +41,12 @@ public FilterByCurrentUserWithOnRequestBuilder(@jakarta.annotation.Nonnull final * Retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. * @return a {@link FilterByCurrentUserWithOnGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public FilterByCurrentUserWithOnGetResponse get() { return get(null); } @@ -52,9 +55,12 @@ public FilterByCurrentUserWithOnGetResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link FilterByCurrentUserWithOnGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public FilterByCurrentUserWithOnGetResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -64,8 +70,11 @@ public FilterByCurrentUserWithOnGetResponse get(@jakarta.annotation.Nullable fin /** * Retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -73,8 +82,11 @@ public RequestInformation toGetRequestInformation() { * Retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -85,8 +97,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link FilterByCurrentUserWithOnRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilterByCurrentUserWithOnRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new FilterByCurrentUserWithOnRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/decisions/item/instance/decisions/item/AccessReviewInstanceDecisionItemItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/decisions/item/instance/decisions/item/AccessReviewInstanceDecisionItemItemRequestBuilder.java index 4ec5ab64fe5..fdfc979b6e1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/decisions/item/instance/decisions/item/AccessReviewInstanceDecisionItemItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/decisions/item/instance/decisions/item/AccessReviewInstanceDecisionItemItemRequestBuilder.java @@ -24,7 +24,10 @@ public class AccessReviewInstanceDecisionItemItemRequestBuilder extends BaseRequ /** * Provides operations to manage the insights property of the microsoft.graph.accessReviewInstanceDecisionItem entity. * @return a {@link InsightsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public InsightsRequestBuilder insights() { return new InsightsRequestBuilder(pathParameters, requestAdapter); @@ -48,7 +51,10 @@ public AccessReviewInstanceDecisionItemItemRequestBuilder(@jakarta.annotation.No /** * Delete navigation property decisions for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -56,7 +62,10 @@ public void delete() { * Delete navigation property decisions for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -67,8 +76,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Each user reviewed in an accessReviewInstance has a decision item representing if they were approved, denied, or not yet reviewed. * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem get() { return get(null); } @@ -77,8 +89,11 @@ public AccessReviewInstanceDecisionItem get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -90,8 +105,11 @@ public AccessReviewInstanceDecisionItem get(@jakarta.annotation.Nullable final j * @param body The request body * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem patch(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body) { return patch(body, null); } @@ -101,8 +119,11 @@ public AccessReviewInstanceDecisionItem patch(@jakarta.annotation.Nonnull final * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewInstanceDecisionItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewInstanceDecisionItem patch(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -113,8 +134,11 @@ public AccessReviewInstanceDecisionItem patch(@jakarta.annotation.Nonnull final /** * Delete navigation property decisions for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -122,8 +146,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property decisions for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -133,8 +160,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Each user reviewed in an accessReviewInstance has a decision item representing if they were approved, denied, or not yet reviewed. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -142,8 +172,11 @@ public RequestInformation toGetRequestInformation() { * Each user reviewed in an accessReviewInstance has a decision item representing if they were approved, denied, or not yet reviewed. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -154,8 +187,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property decisions in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body) { return toPatchRequestInformation(body, null); } @@ -164,8 +200,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -178,8 +217,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessReviewInstanceDecisionItemItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessReviewInstanceDecisionItemItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessReviewInstanceDecisionItemItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/decisions/item/instance/decisions/item/insights/InsightsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/decisions/item/instance/decisions/item/insights/InsightsRequestBuilder.java index 52bca268bfc..88bfe134e80 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/decisions/item/instance/decisions/item/insights/InsightsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/decisions/item/instance/decisions/item/insights/InsightsRequestBuilder.java @@ -26,7 +26,10 @@ public class InsightsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the insights property of the microsoft.graph.accessReviewInstanceDecisionItem entity. * @param governanceInsightId The unique identifier of governanceInsight * @return a {@link GovernanceInsightItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public GovernanceInsightItemRequestBuilder byGovernanceInsightId(@jakarta.annotation.Nonnull final String governanceInsightId) { Objects.requireNonNull(governanceInsightId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public InsightsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @return a {@link GovernanceInsightCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsightCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public GovernanceInsightCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GovernanceInsightCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsightCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public GovernanceInsightCollectionResponse get(@jakarta.annotation.Nullable fina * @param body The request body * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight post(@jakarta.annotation.Nonnull final GovernanceInsight body) { return post(body, null); } @@ -97,8 +112,11 @@ public GovernanceInsight post(@jakarta.annotation.Nonnull final GovernanceInsigh * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight post(@jakarta.annotation.Nonnull final GovernanceInsight body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public GovernanceInsight post(@jakarta.annotation.Nonnull final GovernanceInsigh /** * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to insights for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GovernanceInsight body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GovernanceInsight body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link InsightsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public InsightsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new InsightsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/decisions/item/instance/decisions/item/insights/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/decisions/item/instance/decisions/item/insights/count/CountRequestBuilder.java index f184541a43e..70cf488b309 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/decisions/item/instance/decisions/item/insights/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/decisions/item/instance/decisions/item/insights/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/decisions/item/instance/decisions/item/insights/item/GovernanceInsightItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/decisions/item/instance/decisions/item/insights/item/GovernanceInsightItemRequestBuilder.java index 46c7ddc0ac6..9399faf1259 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/decisions/item/instance/decisions/item/insights/item/GovernanceInsightItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/decisions/item/instance/decisions/item/insights/item/GovernanceInsightItemRequestBuilder.java @@ -39,7 +39,10 @@ public GovernanceInsightItemRequestBuilder(@jakarta.annotation.Nonnull final Str /** * Delete navigation property insights for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -47,7 +50,10 @@ public void delete() { * Delete navigation property insights for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -58,8 +64,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight get() { return get(null); } @@ -68,8 +77,11 @@ public GovernanceInsight get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -81,8 +93,11 @@ public GovernanceInsight get(@jakarta.annotation.Nullable final java.util.functi * @param body The request body * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight patch(@jakarta.annotation.Nonnull final GovernanceInsight body) { return patch(body, null); } @@ -92,8 +107,11 @@ public GovernanceInsight patch(@jakarta.annotation.Nonnull final GovernanceInsig * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GovernanceInsight} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GovernanceInsight patch(@jakarta.annotation.Nonnull final GovernanceInsight body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -104,8 +122,11 @@ public GovernanceInsight patch(@jakarta.annotation.Nonnull final GovernanceInsig /** * Delete navigation property insights for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -113,8 +134,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property insights for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -133,8 +160,11 @@ public RequestInformation toGetRequestInformation() { * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -145,8 +175,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property insights in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final GovernanceInsight body) { return toPatchRequestInformation(body, null); } @@ -155,8 +188,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final GovernanceInsight body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -169,8 +205,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link GovernanceInsightItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public GovernanceInsightItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new GovernanceInsightItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/decisions/item/instance/decisions/recordalldecisions/RecordAllDecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/decisions/item/instance/decisions/recordalldecisions/RecordAllDecisionsRequestBuilder.java index fa9f079b27e..9908b3c5174 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/decisions/item/instance/decisions/recordalldecisions/RecordAllDecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/decisions/item/instance/decisions/recordalldecisions/RecordAllDecisionsRequestBuilder.java @@ -38,8 +38,11 @@ public RecordAllDecisionsRequestBuilder(@jakarta.annotation.Nonnull final String * As a reviewer of an access review, record a decision for an accessReviewInstanceDecisionItem that is assigned to you and that matches the principal or resource IDs specified. If no IDs are specified, the decisions will apply to every accessReviewInstanceDecisionItem for which you are the reviewer. * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequestBody body) { post(body, null); } @@ -48,8 +51,11 @@ public void post(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequest * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -61,8 +67,11 @@ public void post(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequest * As a reviewer of an access review, record a decision for an accessReviewInstanceDecisionItem that is assigned to you and that matches the principal or resource IDs specified. If no IDs are specified, the decisions will apply to every accessReviewInstanceDecisionItem for which you are the reviewer. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequestBody body) { return toPostRequestInformation(body, null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -85,8 +97,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RecordAllDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RecordAllDecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RecordAllDecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/decisions/item/instance/definition/DefinitionRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/decisions/item/instance/definition/DefinitionRequestBuilder.java index ced3d34e54d..2a152757b17 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/decisions/item/instance/definition/DefinitionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/decisions/item/instance/definition/DefinitionRequestBuilder.java @@ -40,8 +40,11 @@ public DefinitionRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, * There's exactly one accessReviewScheduleDefinition associated with each instance. It's the parent schedule for the instance, where instances are created for each recurrence of a review definition and each group selected to review by the definition. * @return a {@link AccessReviewScheduleDefinition} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewScheduleDefinition get() { return get(null); } @@ -50,8 +53,11 @@ public AccessReviewScheduleDefinition get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessReviewScheduleDefinition} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessReviewScheduleDefinition get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public AccessReviewScheduleDefinition get(@jakarta.annotation.Nullable final jav /** * There's exactly one accessReviewScheduleDefinition associated with each instance. It's the parent schedule for the instance, where instances are created for each recurrence of a review definition and each group selected to review by the definition. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * There's exactly one accessReviewScheduleDefinition associated with each instance. It's the parent schedule for the instance, where instances are created for each recurrence of a review definition and each group selected to review by the definition. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link DefinitionRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public DefinitionRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new DefinitionRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/decisions/item/instance/resetdecisions/ResetDecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/decisions/item/instance/resetdecisions/ResetDecisionsRequestBuilder.java index 31eb281b7d5..dae341c7be6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/decisions/item/instance/resetdecisions/ResetDecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/decisions/item/instance/resetdecisions/ResetDecisionsRequestBuilder.java @@ -37,8 +37,11 @@ public ResetDecisionsRequestBuilder(@jakarta.annotation.Nonnull final String raw /** * Resets decisions of all accessReviewInstanceDecisionItem objects on an accessReviewInstance to notReviewed. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * Resets decisions of all accessReviewInstanceDecisionItem objects on an accessReviewInstance to notReviewed. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Resets decisions of all accessReviewInstanceDecisionItem objects on an accessReviewInstance to notReviewed. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * Resets decisions of all accessReviewInstanceDecisionItem objects on an accessReviewInstance to notReviewed. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ResetDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ResetDecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ResetDecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/decisions/item/instance/sendreminder/SendReminderRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/decisions/item/instance/sendreminder/SendReminderRequestBuilder.java index 912fb183046..4da7a4fca6e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/decisions/item/instance/sendreminder/SendReminderRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/decisions/item/instance/sendreminder/SendReminderRequestBuilder.java @@ -37,8 +37,11 @@ public SendReminderRequestBuilder(@jakarta.annotation.Nonnull final String rawUr /** * Send a reminder to the reviewers of a currently active accessReviewInstance. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * Send a reminder to the reviewers of a currently active accessReviewInstance. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Send a reminder to the reviewers of a currently active accessReviewInstance. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * Send a reminder to the reviewers of a currently active accessReviewInstance. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link SendReminderRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public SendReminderRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new SendReminderRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/decisions/item/instance/stop/StopRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/decisions/item/instance/stop/StopRequestBuilder.java index 3925ae97301..3e0538f0ed7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/decisions/item/instance/stop/StopRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/decisions/item/instance/stop/StopRequestBuilder.java @@ -37,8 +37,11 @@ public StopRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jaka /** * Stop a currently active accessReviewInstance. After the access review instance stops, the instance status will be Completed, the reviewers can no longer give input, and the access review decisions can be applied. Stopping an instance will not effect future instances. To prevent a recurring access review from starting future instances, update the schedule definition to change its scheduled end date. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * Stop a currently active accessReviewInstance. After the access review instance stops, the instance status will be Completed, the reviewers can no longer give input, and the access review decisions can be applied. Stopping an instance will not effect future instances. To prevent a recurring access review from starting future instances, update the schedule definition to change its scheduled end date. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Stop a currently active accessReviewInstance. After the access review instance stops, the instance status will be Completed, the reviewers can no longer give input, and the access review decisions can be applied. Stopping an instance will not effect future instances. To prevent a recurring access review from starting future instances, update the schedule definition to change its scheduled end date. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * Stop a currently active accessReviewInstance. After the access review instance stops, the instance status will be Completed, the reviewers can no longer give input, and the access review decisions can be applied. Stopping an instance will not effect future instances. To prevent a recurring access review from starting future instances, update the schedule definition to change its scheduled end date. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link StopRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public StopRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new StopRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/decisions/item/instance/stopapplydecisions/StopApplyDecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/decisions/item/instance/stopapplydecisions/StopApplyDecisionsRequestBuilder.java index ae4cd81bbcd..d6a8fef2e3d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/decisions/item/instance/stopapplydecisions/StopApplyDecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/decisions/item/instance/stopapplydecisions/StopApplyDecisionsRequestBuilder.java @@ -37,7 +37,10 @@ public StopApplyDecisionsRequestBuilder(@jakarta.annotation.Nonnull final String /** * Invoke action stopApplyDecisions * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void post() { post(null); } @@ -45,7 +48,10 @@ public void post() { * Invoke action stopApplyDecisions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -55,8 +61,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Invoke action stopApplyDecisions * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -64,8 +73,11 @@ public RequestInformation toPostRequestInformation() { * Invoke action stopApplyDecisions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -76,8 +88,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link StopApplyDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public StopApplyDecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new StopApplyDecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/decisions/recordalldecisions/RecordAllDecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/decisions/recordalldecisions/RecordAllDecisionsRequestBuilder.java index e83b5c5e949..1e2736d9f7b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/decisions/recordalldecisions/RecordAllDecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/decisions/recordalldecisions/RecordAllDecisionsRequestBuilder.java @@ -38,8 +38,11 @@ public RecordAllDecisionsRequestBuilder(@jakarta.annotation.Nonnull final String * As a reviewer of an access review, record a decision for an accessReviewInstanceDecisionItem that is assigned to you and that matches the principal or resource IDs specified. If no IDs are specified, the decisions will apply to every accessReviewInstanceDecisionItem for which you are the reviewer. * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequestBody body) { post(body, null); } @@ -48,8 +51,11 @@ public void post(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequest * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -61,8 +67,11 @@ public void post(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequest * As a reviewer of an access review, record a decision for an accessReviewInstanceDecisionItem that is assigned to you and that matches the principal or resource IDs specified. If no IDs are specified, the decisions will apply to every accessReviewInstanceDecisionItem for which you are the reviewer. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequestBody body) { return toPostRequestInformation(body, null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RecordAllDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -85,8 +97,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RecordAllDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RecordAllDecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RecordAllDecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/stop/StopRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/stop/StopRequestBuilder.java index bbb2aab6105..8c06c5c5312 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/stop/StopRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stages/item/stop/StopRequestBuilder.java @@ -37,8 +37,11 @@ public StopRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jaka /** * Stop an access review stage that is inProgress. After the access review stage stops, the stage status will be Completed and the reviewers can no longer give input. If there are subsequent stages that depend on the completed stage, the next stage will be created. The accessReviewInstanceDecisionItem objects will always reflect the last decisions recorded across all stages at that given time, regardless of the status of the stages. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * Stop an access review stage that is inProgress. After the access review stage stops, the stage status will be Completed and the reviewers can no longer give input. If there are subsequent stages that depend on the completed stage, the next stage will be created. The accessReviewInstanceDecisionItem objects will always reflect the last decisions recorded across all stages at that given time, regardless of the status of the stages. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Stop an access review stage that is inProgress. After the access review stage stops, the stage status will be Completed and the reviewers can no longer give input. If there are subsequent stages that depend on the completed stage, the next stage will be created. The accessReviewInstanceDecisionItem objects will always reflect the last decisions recorded across all stages at that given time, regardless of the status of the stages. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * Stop an access review stage that is inProgress. After the access review stage stops, the stage status will be Completed and the reviewers can no longer give input. If there are subsequent stages that depend on the completed stage, the next stage will be created. The accessReviewInstanceDecisionItem objects will always reflect the last decisions recorded across all stages at that given time, regardless of the status of the stages. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link StopRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public StopRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new StopRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stop/StopRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stop/StopRequestBuilder.java index b45c9d5cd03..9a1217034b1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stop/StopRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stop/StopRequestBuilder.java @@ -37,8 +37,11 @@ public StopRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jaka /** * Stop a currently active accessReviewInstance. After the access review instance stops, the instance status will be Completed, the reviewers can no longer give input, and the access review decisions can be applied. Stopping an instance will not effect future instances. To prevent a recurring access review from starting future instances, update the schedule definition to change its scheduled end date. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * Stop a currently active accessReviewInstance. After the access review instance stops, the instance status will be Completed, the reviewers can no longer give input, and the access review decisions can be applied. Stopping an instance will not effect future instances. To prevent a recurring access review from starting future instances, update the schedule definition to change its scheduled end date. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Stop a currently active accessReviewInstance. After the access review instance stops, the instance status will be Completed, the reviewers can no longer give input, and the access review decisions can be applied. Stopping an instance will not effect future instances. To prevent a recurring access review from starting future instances, update the schedule definition to change its scheduled end date. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * Stop a currently active accessReviewInstance. After the access review instance stops, the instance status will be Completed, the reviewers can no longer give input, and the access review decisions can be applied. Stopping an instance will not effect future instances. To prevent a recurring access review from starting future instances, update the schedule definition to change its scheduled end date. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link StopRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public StopRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new StopRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stopapplydecisions/StopApplyDecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stopapplydecisions/StopApplyDecisionsRequestBuilder.java index 1726cb7754a..6f8f26533dc 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stopapplydecisions/StopApplyDecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/unified/instances/item/stopapplydecisions/StopApplyDecisionsRequestBuilder.java @@ -37,7 +37,10 @@ public StopApplyDecisionsRequestBuilder(@jakarta.annotation.Nonnull final String /** * Invoke action stopApplyDecisions * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void post() { post(null); } @@ -45,7 +48,10 @@ public void post() { * Invoke action stopApplyDecisions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -55,8 +61,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Invoke action stopApplyDecisions * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -64,8 +73,11 @@ public RequestInformation toPostRequestInformation() { * Invoke action stopApplyDecisions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -76,8 +88,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link StopApplyDecisionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public StopApplyDecisionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new StopApplyDecisionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/appconsent/AppConsentRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/appconsent/AppConsentRequestBuilder.java index 6313c8fad93..9d71a1d994d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/appconsent/AppConsentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/appconsent/AppConsentRequestBuilder.java @@ -24,7 +24,10 @@ public class AppConsentRequestBuilder extends BaseRequestBuilder { /** * Provides operations to manage the appConsentRequests property of the microsoft.graph.appConsentApprovalRoute entity. * @return a {@link AppConsentRequestsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AppConsentRequestsRequestBuilder appConsentRequests() { return new AppConsentRequestsRequestBuilder(pathParameters, requestAdapter); @@ -48,7 +51,10 @@ public AppConsentRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, /** * Delete navigation property appConsent for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -56,7 +62,10 @@ public void delete() { * Delete navigation property appConsent for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -67,8 +76,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Get appConsent from identityGovernance * @return a {@link AppConsentApprovalRoute} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AppConsentApprovalRoute get() { return get(null); } @@ -77,8 +89,11 @@ public AppConsentApprovalRoute get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AppConsentApprovalRoute} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AppConsentApprovalRoute get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -90,8 +105,11 @@ public AppConsentApprovalRoute get(@jakarta.annotation.Nullable final java.util. * @param body The request body * @return a {@link AppConsentApprovalRoute} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AppConsentApprovalRoute patch(@jakarta.annotation.Nonnull final AppConsentApprovalRoute body) { return patch(body, null); } @@ -101,8 +119,11 @@ public AppConsentApprovalRoute patch(@jakarta.annotation.Nonnull final AppConsen * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AppConsentApprovalRoute} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AppConsentApprovalRoute patch(@jakarta.annotation.Nonnull final AppConsentApprovalRoute body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -113,8 +134,11 @@ public AppConsentApprovalRoute patch(@jakarta.annotation.Nonnull final AppConsen /** * Delete navigation property appConsent for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -122,8 +146,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property appConsent for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -133,8 +160,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Get appConsent from identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -142,8 +172,11 @@ public RequestInformation toGetRequestInformation() { * Get appConsent from identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -154,8 +187,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property appConsent in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AppConsentApprovalRoute body) { return toPatchRequestInformation(body, null); } @@ -164,8 +200,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AppConsentApprovalRoute body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -178,8 +217,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AppConsentRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AppConsentRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AppConsentRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/appconsent/appconsentrequests/AppConsentRequestsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/appconsent/appconsentrequests/AppConsentRequestsRequestBuilder.java index 798c120056e..7fd43e4b906 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/appconsent/appconsentrequests/AppConsentRequestsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/appconsent/appconsentrequests/AppConsentRequestsRequestBuilder.java @@ -27,7 +27,10 @@ public class AppConsentRequestsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -36,8 +39,11 @@ public CountRequestBuilder count() { * Provides operations to manage the appConsentRequests property of the microsoft.graph.appConsentApprovalRoute entity. * @param appConsentRequestId The unique identifier of appConsentRequest * @return a {@link AppConsentRequestItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AppConsentRequestItemRequestBuilder byAppConsentRequestId(@jakarta.annotation.Nonnull final String appConsentRequestId) { Objects.requireNonNull(appConsentRequestId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -64,8 +70,11 @@ public AppConsentRequestsRequestBuilder(@jakarta.annotation.Nonnull final String * Provides operations to call the filterByCurrentUser method. * @param on Usage: on='{on}' * @return a {@link FilterByCurrentUserWithOnRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilterByCurrentUserWithOnRequestBuilder filterByCurrentUserWithOn(@jakarta.annotation.Nonnull final String on) { Objects.requireNonNull(on); return new FilterByCurrentUserWithOnRequestBuilder(pathParameters, requestAdapter, on); @@ -74,9 +83,12 @@ public FilterByCurrentUserWithOnRequestBuilder filterByCurrentUserWithOn(@jakart * Retrieve appConsentRequest objects and their properties. * @return a {@link AppConsentRequestCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public AppConsentRequestCollectionResponse get() { return get(null); } @@ -85,9 +97,12 @@ public AppConsentRequestCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AppConsentRequestCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public AppConsentRequestCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -99,8 +114,11 @@ public AppConsentRequestCollectionResponse get(@jakarta.annotation.Nullable fina * @param body The request body * @return a {@link AppConsentRequest} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AppConsentRequest post(@jakarta.annotation.Nonnull final AppConsentRequest body) { return post(body, null); } @@ -110,8 +128,11 @@ public AppConsentRequest post(@jakarta.annotation.Nonnull final AppConsentReques * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AppConsentRequest} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AppConsentRequest post(@jakarta.annotation.Nonnull final AppConsentRequest body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -122,8 +143,11 @@ public AppConsentRequest post(@jakarta.annotation.Nonnull final AppConsentReques /** * Retrieve appConsentRequest objects and their properties. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -131,8 +155,11 @@ public RequestInformation toGetRequestInformation() { * Retrieve appConsentRequest objects and their properties. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -143,8 +170,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to appConsentRequests for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AppConsentRequest body) { return toPostRequestInformation(body, null); } @@ -153,8 +183,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AppConsentRequest body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -167,8 +200,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AppConsentRequestsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AppConsentRequestsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AppConsentRequestsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/appconsent/appconsentrequests/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/appconsent/appconsentrequests/count/CountRequestBuilder.java index a951d5ed28e..16002e7f6d7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/appconsent/appconsentrequests/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/appconsent/appconsentrequests/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/appconsent/appconsentrequests/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/appconsent/appconsentrequests/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java index ce75d73154b..3c6ae138080 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/appconsent/appconsentrequests/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/appconsent/appconsentrequests/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java @@ -41,9 +41,12 @@ public FilterByCurrentUserWithOnRequestBuilder(@jakarta.annotation.Nonnull final * Retrieve a collection of appConsentRequest objects for which the current user is the reviewer and the status of the userConsentRequest for accessing the specified app is InProgress. * @return a {@link FilterByCurrentUserWithOnGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public FilterByCurrentUserWithOnGetResponse get() { return get(null); } @@ -52,9 +55,12 @@ public FilterByCurrentUserWithOnGetResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link FilterByCurrentUserWithOnGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public FilterByCurrentUserWithOnGetResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -64,8 +70,11 @@ public FilterByCurrentUserWithOnGetResponse get(@jakarta.annotation.Nullable fin /** * Retrieve a collection of appConsentRequest objects for which the current user is the reviewer and the status of the userConsentRequest for accessing the specified app is InProgress. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -73,8 +82,11 @@ public RequestInformation toGetRequestInformation() { * Retrieve a collection of appConsentRequest objects for which the current user is the reviewer and the status of the userConsentRequest for accessing the specified app is InProgress. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -85,8 +97,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link FilterByCurrentUserWithOnRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilterByCurrentUserWithOnRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new FilterByCurrentUserWithOnRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/appconsent/appconsentrequests/item/AppConsentRequestItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/appconsent/appconsentrequests/item/AppConsentRequestItemRequestBuilder.java index 4d657cc61e4..4ca2a428cee 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/appconsent/appconsentrequests/item/AppConsentRequestItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/appconsent/appconsentrequests/item/AppConsentRequestItemRequestBuilder.java @@ -24,7 +24,10 @@ public class AppConsentRequestItemRequestBuilder extends BaseRequestBuilder { /** * Provides operations to manage the userConsentRequests property of the microsoft.graph.appConsentRequest entity. * @return a {@link UserConsentRequestsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public UserConsentRequestsRequestBuilder userConsentRequests() { return new UserConsentRequestsRequestBuilder(pathParameters, requestAdapter); @@ -48,7 +51,10 @@ public AppConsentRequestItemRequestBuilder(@jakarta.annotation.Nonnull final Str /** * Delete navigation property appConsentRequests for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -56,7 +62,10 @@ public void delete() { * Delete navigation property appConsentRequests for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -67,9 +76,12 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Read the properties and relationships of an appConsentRequest object. * @return a {@link AppConsentRequest} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public AppConsentRequest get() { return get(null); } @@ -78,9 +90,12 @@ public AppConsentRequest get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AppConsentRequest} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public AppConsentRequest get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -92,8 +107,11 @@ public AppConsentRequest get(@jakarta.annotation.Nullable final java.util.functi * @param body The request body * @return a {@link AppConsentRequest} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AppConsentRequest patch(@jakarta.annotation.Nonnull final AppConsentRequest body) { return patch(body, null); } @@ -103,8 +121,11 @@ public AppConsentRequest patch(@jakarta.annotation.Nonnull final AppConsentReque * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AppConsentRequest} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AppConsentRequest patch(@jakarta.annotation.Nonnull final AppConsentRequest body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -115,8 +136,11 @@ public AppConsentRequest patch(@jakarta.annotation.Nonnull final AppConsentReque /** * Delete navigation property appConsentRequests for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property appConsentRequests for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -135,8 +162,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Read the properties and relationships of an appConsentRequest object. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -144,8 +174,11 @@ public RequestInformation toGetRequestInformation() { * Read the properties and relationships of an appConsentRequest object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -156,8 +189,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property appConsentRequests in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AppConsentRequest body) { return toPatchRequestInformation(body, null); } @@ -166,8 +202,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AppConsentRequest body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -180,8 +219,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AppConsentRequestItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AppConsentRequestItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AppConsentRequestItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/appconsent/appconsentrequests/item/userconsentrequests/UserConsentRequestsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/appconsent/appconsentrequests/item/userconsentrequests/UserConsentRequestsRequestBuilder.java index 3b8dfa481de..789b844238e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/appconsent/appconsentrequests/item/userconsentrequests/UserConsentRequestsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/appconsent/appconsentrequests/item/userconsentrequests/UserConsentRequestsRequestBuilder.java @@ -27,7 +27,10 @@ public class UserConsentRequestsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -36,8 +39,11 @@ public CountRequestBuilder count() { * Provides operations to manage the userConsentRequests property of the microsoft.graph.appConsentRequest entity. * @param userConsentRequestId The unique identifier of userConsentRequest * @return a {@link UserConsentRequestItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public UserConsentRequestItemRequestBuilder byUserConsentRequestId(@jakarta.annotation.Nonnull final String userConsentRequestId) { Objects.requireNonNull(userConsentRequestId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -64,8 +70,11 @@ public UserConsentRequestsRequestBuilder(@jakarta.annotation.Nonnull final Strin * Provides operations to call the filterByCurrentUser method. * @param on Usage: on='{on}' * @return a {@link FilterByCurrentUserWithOnRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilterByCurrentUserWithOnRequestBuilder filterByCurrentUserWithOn(@jakarta.annotation.Nonnull final String on) { Objects.requireNonNull(on); return new FilterByCurrentUserWithOnRequestBuilder(pathParameters, requestAdapter, on); @@ -74,9 +83,12 @@ public FilterByCurrentUserWithOnRequestBuilder filterByCurrentUserWithOn(@jakart * Retrieve a collection of userConsentRequest objects and their properties. * @return a {@link UserConsentRequestCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public UserConsentRequestCollectionResponse get() { return get(null); } @@ -85,9 +97,12 @@ public UserConsentRequestCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link UserConsentRequestCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public UserConsentRequestCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -99,8 +114,11 @@ public UserConsentRequestCollectionResponse get(@jakarta.annotation.Nullable fin * @param body The request body * @return a {@link UserConsentRequest} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public UserConsentRequest post(@jakarta.annotation.Nonnull final UserConsentRequest body) { return post(body, null); } @@ -110,8 +128,11 @@ public UserConsentRequest post(@jakarta.annotation.Nonnull final UserConsentRequ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link UserConsentRequest} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public UserConsentRequest post(@jakarta.annotation.Nonnull final UserConsentRequest body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -122,8 +143,11 @@ public UserConsentRequest post(@jakarta.annotation.Nonnull final UserConsentRequ /** * Retrieve a collection of userConsentRequest objects and their properties. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -131,8 +155,11 @@ public RequestInformation toGetRequestInformation() { * Retrieve a collection of userConsentRequest objects and their properties. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -143,8 +170,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to userConsentRequests for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final UserConsentRequest body) { return toPostRequestInformation(body, null); } @@ -153,8 +183,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final UserConsentRequest body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -167,8 +200,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link UserConsentRequestsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public UserConsentRequestsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new UserConsentRequestsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/appconsent/appconsentrequests/item/userconsentrequests/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/appconsent/appconsentrequests/item/userconsentrequests/count/CountRequestBuilder.java index c002bf5977b..1cda67442f6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/appconsent/appconsentrequests/item/userconsentrequests/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/appconsent/appconsentrequests/item/userconsentrequests/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/appconsent/appconsentrequests/item/userconsentrequests/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/appconsent/appconsentrequests/item/userconsentrequests/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java index 8386198b6ad..5b9cef77134 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/appconsent/appconsentrequests/item/userconsentrequests/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/appconsent/appconsentrequests/item/userconsentrequests/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java @@ -41,9 +41,12 @@ public FilterByCurrentUserWithOnRequestBuilder(@jakarta.annotation.Nonnull final * Retrieve a collection of userConsentRequest objects for accessing a specified app, for which the current user is the reviewer. * @return a {@link FilterByCurrentUserWithOnGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public FilterByCurrentUserWithOnGetResponse get() { return get(null); } @@ -52,9 +55,12 @@ public FilterByCurrentUserWithOnGetResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link FilterByCurrentUserWithOnGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public FilterByCurrentUserWithOnGetResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -64,8 +70,11 @@ public FilterByCurrentUserWithOnGetResponse get(@jakarta.annotation.Nullable fin /** * Retrieve a collection of userConsentRequest objects for accessing a specified app, for which the current user is the reviewer. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -73,8 +82,11 @@ public RequestInformation toGetRequestInformation() { * Retrieve a collection of userConsentRequest objects for accessing a specified app, for which the current user is the reviewer. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -85,8 +97,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link FilterByCurrentUserWithOnRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilterByCurrentUserWithOnRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new FilterByCurrentUserWithOnRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/appconsent/appconsentrequests/item/userconsentrequests/item/UserConsentRequestItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/appconsent/appconsentrequests/item/userconsentrequests/item/UserConsentRequestItemRequestBuilder.java index 774c9a29303..79003fcc4ab 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/appconsent/appconsentrequests/item/userconsentrequests/item/UserConsentRequestItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/appconsent/appconsentrequests/item/userconsentrequests/item/UserConsentRequestItemRequestBuilder.java @@ -24,7 +24,10 @@ public class UserConsentRequestItemRequestBuilder extends BaseRequestBuilder { /** * Provides operations to manage the approval property of the microsoft.graph.userConsentRequest entity. * @return a {@link ApprovalRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ApprovalRequestBuilder approval() { return new ApprovalRequestBuilder(pathParameters, requestAdapter); @@ -48,7 +51,10 @@ public UserConsentRequestItemRequestBuilder(@jakarta.annotation.Nonnull final St /** * Delete navigation property userConsentRequests for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -56,7 +62,10 @@ public void delete() { * Delete navigation property userConsentRequests for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -67,9 +76,12 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Read the properties and relationships of a userConsentRequest object. * @return a {@link UserConsentRequest} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public UserConsentRequest get() { return get(null); } @@ -78,9 +90,12 @@ public UserConsentRequest get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link UserConsentRequest} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public UserConsentRequest get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -92,8 +107,11 @@ public UserConsentRequest get(@jakarta.annotation.Nullable final java.util.funct * @param body The request body * @return a {@link UserConsentRequest} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public UserConsentRequest patch(@jakarta.annotation.Nonnull final UserConsentRequest body) { return patch(body, null); } @@ -103,8 +121,11 @@ public UserConsentRequest patch(@jakarta.annotation.Nonnull final UserConsentReq * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link UserConsentRequest} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public UserConsentRequest patch(@jakarta.annotation.Nonnull final UserConsentRequest body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -115,8 +136,11 @@ public UserConsentRequest patch(@jakarta.annotation.Nonnull final UserConsentReq /** * Delete navigation property userConsentRequests for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property userConsentRequests for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -135,8 +162,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Read the properties and relationships of a userConsentRequest object. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -144,8 +174,11 @@ public RequestInformation toGetRequestInformation() { * Read the properties and relationships of a userConsentRequest object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -156,8 +189,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property userConsentRequests in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final UserConsentRequest body) { return toPatchRequestInformation(body, null); } @@ -166,8 +202,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final UserConsentRequest body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -180,8 +219,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link UserConsentRequestItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public UserConsentRequestItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new UserConsentRequestItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/appconsent/appconsentrequests/item/userconsentrequests/item/approval/ApprovalRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/appconsent/appconsentrequests/item/userconsentrequests/item/approval/ApprovalRequestBuilder.java index e9142bb3a53..151eeca0a40 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/appconsent/appconsentrequests/item/userconsentrequests/item/approval/ApprovalRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/appconsent/appconsentrequests/item/userconsentrequests/item/approval/ApprovalRequestBuilder.java @@ -24,7 +24,10 @@ public class ApprovalRequestBuilder extends BaseRequestBuilder { /** * Provides operations to manage the steps property of the microsoft.graph.approval entity. * @return a {@link StepsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public StepsRequestBuilder steps() { return new StepsRequestBuilder(pathParameters, requestAdapter); @@ -48,7 +51,10 @@ public ApprovalRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ /** * Delete navigation property approval for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -56,7 +62,10 @@ public void delete() { * Delete navigation property approval for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -67,8 +76,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Approval decisions associated with a request. * @return a {@link Approval} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Approval get() { return get(null); } @@ -77,8 +89,11 @@ public Approval get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Approval} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Approval get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -90,8 +105,11 @@ public Approval get(@jakarta.annotation.Nullable final java.util.function.Consum * @param body The request body * @return a {@link Approval} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Approval patch(@jakarta.annotation.Nonnull final Approval body) { return patch(body, null); } @@ -101,8 +119,11 @@ public Approval patch(@jakarta.annotation.Nonnull final Approval body) { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Approval} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Approval patch(@jakarta.annotation.Nonnull final Approval body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -113,8 +134,11 @@ public Approval patch(@jakarta.annotation.Nonnull final Approval body, @jakarta. /** * Delete navigation property approval for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -122,8 +146,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property approval for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -133,8 +160,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Approval decisions associated with a request. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -142,8 +172,11 @@ public RequestInformation toGetRequestInformation() { * Approval decisions associated with a request. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -154,8 +187,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property approval in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final Approval body) { return toPatchRequestInformation(body, null); } @@ -164,8 +200,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final Approval body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -178,8 +217,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ApprovalRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ApprovalRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ApprovalRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/appconsent/appconsentrequests/item/userconsentrequests/item/approval/steps/StepsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/appconsent/appconsentrequests/item/userconsentrequests/item/approval/steps/StepsRequestBuilder.java index cbdf70a2913..71ca0b36e6b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/appconsent/appconsentrequests/item/userconsentrequests/item/approval/steps/StepsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/appconsent/appconsentrequests/item/userconsentrequests/item/approval/steps/StepsRequestBuilder.java @@ -26,7 +26,10 @@ public class StepsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the steps property of the microsoft.graph.approval entity. * @param approvalStepId The unique identifier of approvalStep * @return a {@link ApprovalStepItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ApprovalStepItemRequestBuilder byApprovalStepId(@jakarta.annotation.Nonnull final String approvalStepId) { Objects.requireNonNull(approvalStepId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public StepsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Used to represent the decision associated with a single step in the approval process configured in approvalStage. * @return a {@link ApprovalStepCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ApprovalStepCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public ApprovalStepCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ApprovalStepCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ApprovalStepCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public ApprovalStepCollectionResponse get(@jakarta.annotation.Nullable final jav * @param body The request body * @return a {@link ApprovalStep} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ApprovalStep post(@jakarta.annotation.Nonnull final ApprovalStep body) { return post(body, null); } @@ -97,8 +112,11 @@ public ApprovalStep post(@jakarta.annotation.Nonnull final ApprovalStep body) { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ApprovalStep} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ApprovalStep post(@jakarta.annotation.Nonnull final ApprovalStep body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public ApprovalStep post(@jakarta.annotation.Nonnull final ApprovalStep body, @j /** * Used to represent the decision associated with a single step in the approval process configured in approvalStage. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Used to represent the decision associated with a single step in the approval process configured in approvalStage. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to steps for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ApprovalStep body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ApprovalStep body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link StepsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public StepsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new StepsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/appconsent/appconsentrequests/item/userconsentrequests/item/approval/steps/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/appconsent/appconsentrequests/item/userconsentrequests/item/approval/steps/count/CountRequestBuilder.java index b35b083a3e1..c628c7a00eb 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/appconsent/appconsentrequests/item/userconsentrequests/item/approval/steps/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/appconsent/appconsentrequests/item/userconsentrequests/item/approval/steps/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/appconsent/appconsentrequests/item/userconsentrequests/item/approval/steps/item/ApprovalStepItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/appconsent/appconsentrequests/item/userconsentrequests/item/approval/steps/item/ApprovalStepItemRequestBuilder.java index e905ecda259..366cb573167 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/appconsent/appconsentrequests/item/userconsentrequests/item/approval/steps/item/ApprovalStepItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/appconsent/appconsentrequests/item/userconsentrequests/item/approval/steps/item/ApprovalStepItemRequestBuilder.java @@ -39,7 +39,10 @@ public ApprovalStepItemRequestBuilder(@jakarta.annotation.Nonnull final String r /** * Delete navigation property steps for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -47,7 +50,10 @@ public void delete() { * Delete navigation property steps for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -58,8 +64,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Used to represent the decision associated with a single step in the approval process configured in approvalStage. * @return a {@link ApprovalStep} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ApprovalStep get() { return get(null); } @@ -68,8 +77,11 @@ public ApprovalStep get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ApprovalStep} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ApprovalStep get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -81,8 +93,11 @@ public ApprovalStep get(@jakarta.annotation.Nullable final java.util.function.Co * @param body The request body * @return a {@link ApprovalStep} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ApprovalStep patch(@jakarta.annotation.Nonnull final ApprovalStep body) { return patch(body, null); } @@ -92,8 +107,11 @@ public ApprovalStep patch(@jakarta.annotation.Nonnull final ApprovalStep body) { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ApprovalStep} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ApprovalStep patch(@jakarta.annotation.Nonnull final ApprovalStep body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -104,8 +122,11 @@ public ApprovalStep patch(@jakarta.annotation.Nonnull final ApprovalStep body, @ /** * Delete navigation property steps for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -113,8 +134,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property steps for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Used to represent the decision associated with a single step in the approval process configured in approvalStage. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -133,8 +160,11 @@ public RequestInformation toGetRequestInformation() { * Used to represent the decision associated with a single step in the approval process configured in approvalStage. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -145,8 +175,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property steps in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final ApprovalStep body) { return toPatchRequestInformation(body, null); } @@ -155,8 +188,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final ApprovalStep body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -169,8 +205,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ApprovalStepItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ApprovalStepItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ApprovalStepItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/EntitlementManagementRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/EntitlementManagementRequestBuilder.java index 04acabf904d..a840fec5c12 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/EntitlementManagementRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/EntitlementManagementRequestBuilder.java @@ -45,7 +45,10 @@ public class EntitlementManagementRequestBuilder extends BaseRequestBuilder { /** * Provides operations to manage the accessPackageAssignmentApprovals property of the microsoft.graph.entitlementManagement entity. * @return a {@link AccessPackageAssignmentApprovalsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackageAssignmentApprovalsRequestBuilder accessPackageAssignmentApprovals() { return new AccessPackageAssignmentApprovalsRequestBuilder(pathParameters, requestAdapter); @@ -53,7 +56,10 @@ public AccessPackageAssignmentApprovalsRequestBuilder accessPackageAssignmentApp /** * Provides operations to manage the accessPackageAssignmentPolicies property of the microsoft.graph.entitlementManagement entity. * @return a {@link AccessPackageAssignmentPoliciesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackageAssignmentPoliciesRequestBuilder accessPackageAssignmentPolicies() { return new AccessPackageAssignmentPoliciesRequestBuilder(pathParameters, requestAdapter); @@ -61,7 +67,10 @@ public AccessPackageAssignmentPoliciesRequestBuilder accessPackageAssignmentPoli /** * Provides operations to manage the accessPackageAssignmentRequests property of the microsoft.graph.entitlementManagement entity. * @return a {@link AccessPackageAssignmentRequestsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackageAssignmentRequestsRequestBuilder accessPackageAssignmentRequests() { return new AccessPackageAssignmentRequestsRequestBuilder(pathParameters, requestAdapter); @@ -69,7 +78,10 @@ public AccessPackageAssignmentRequestsRequestBuilder accessPackageAssignmentRequ /** * Provides operations to manage the accessPackageAssignmentResourceRoles property of the microsoft.graph.entitlementManagement entity. * @return a {@link AccessPackageAssignmentResourceRolesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackageAssignmentResourceRolesRequestBuilder accessPackageAssignmentResourceRoles() { return new AccessPackageAssignmentResourceRolesRequestBuilder(pathParameters, requestAdapter); @@ -77,7 +89,10 @@ public AccessPackageAssignmentResourceRolesRequestBuilder accessPackageAssignmen /** * Provides operations to manage the accessPackageAssignments property of the microsoft.graph.entitlementManagement entity. * @return a {@link AccessPackageAssignmentsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackageAssignmentsRequestBuilder accessPackageAssignments() { return new AccessPackageAssignmentsRequestBuilder(pathParameters, requestAdapter); @@ -85,7 +100,10 @@ public AccessPackageAssignmentsRequestBuilder accessPackageAssignments() { /** * Provides operations to manage the accessPackageCatalogs property of the microsoft.graph.entitlementManagement entity. * @return a {@link AccessPackageCatalogsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackageCatalogsRequestBuilder accessPackageCatalogs() { return new AccessPackageCatalogsRequestBuilder(pathParameters, requestAdapter); @@ -93,7 +111,10 @@ public AccessPackageCatalogsRequestBuilder accessPackageCatalogs() { /** * Provides operations to manage the accessPackageResourceEnvironments property of the microsoft.graph.entitlementManagement entity. * @return a {@link AccessPackageResourceEnvironmentsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackageResourceEnvironmentsRequestBuilder accessPackageResourceEnvironments() { return new AccessPackageResourceEnvironmentsRequestBuilder(pathParameters, requestAdapter); @@ -101,7 +122,10 @@ public AccessPackageResourceEnvironmentsRequestBuilder accessPackageResourceEnvi /** * Provides operations to manage the accessPackageResourceRequests property of the microsoft.graph.entitlementManagement entity. * @return a {@link AccessPackageResourceRequestsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackageResourceRequestsRequestBuilder accessPackageResourceRequests() { return new AccessPackageResourceRequestsRequestBuilder(pathParameters, requestAdapter); @@ -109,7 +133,10 @@ public AccessPackageResourceRequestsRequestBuilder accessPackageResourceRequests /** * Provides operations to manage the accessPackageResourceRoleScopes property of the microsoft.graph.entitlementManagement entity. * @return a {@link AccessPackageResourceRoleScopesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackageResourceRoleScopesRequestBuilder accessPackageResourceRoleScopes() { return new AccessPackageResourceRoleScopesRequestBuilder(pathParameters, requestAdapter); @@ -117,7 +144,10 @@ public AccessPackageResourceRoleScopesRequestBuilder accessPackageResourceRoleSc /** * Provides operations to manage the accessPackageResources property of the microsoft.graph.entitlementManagement entity. * @return a {@link AccessPackageResourcesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackageResourcesRequestBuilder accessPackageResources() { return new AccessPackageResourcesRequestBuilder(pathParameters, requestAdapter); @@ -125,7 +155,10 @@ public AccessPackageResourcesRequestBuilder accessPackageResources() { /** * Provides operations to manage the accessPackages property of the microsoft.graph.entitlementManagement entity. * @return a {@link AccessPackagesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackagesRequestBuilder accessPackages() { return new AccessPackagesRequestBuilder(pathParameters, requestAdapter); @@ -133,7 +166,10 @@ public AccessPackagesRequestBuilder accessPackages() { /** * Provides operations to manage the accessPackageSuggestions property of the microsoft.graph.entitlementManagement entity. * @return a {@link AccessPackageSuggestionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackageSuggestionsRequestBuilder accessPackageSuggestions() { return new AccessPackageSuggestionsRequestBuilder(pathParameters, requestAdapter); @@ -141,7 +177,10 @@ public AccessPackageSuggestionsRequestBuilder accessPackageSuggestions() { /** * Provides operations to manage the assignmentRequests property of the microsoft.graph.entitlementManagement entity. * @return a {@link AssignmentRequestsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AssignmentRequestsRequestBuilder assignmentRequests() { return new AssignmentRequestsRequestBuilder(pathParameters, requestAdapter); @@ -149,7 +188,10 @@ public AssignmentRequestsRequestBuilder assignmentRequests() { /** * Provides operations to manage the availableAccessPackages property of the microsoft.graph.entitlementManagement entity. * @return a {@link AvailableAccessPackagesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AvailableAccessPackagesRequestBuilder availableAccessPackages() { return new AvailableAccessPackagesRequestBuilder(pathParameters, requestAdapter); @@ -157,7 +199,10 @@ public AvailableAccessPackagesRequestBuilder availableAccessPackages() { /** * Provides operations to manage the connectedOrganizations property of the microsoft.graph.entitlementManagement entity. * @return a {@link ConnectedOrganizationsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ConnectedOrganizationsRequestBuilder connectedOrganizations() { return new ConnectedOrganizationsRequestBuilder(pathParameters, requestAdapter); @@ -165,7 +210,10 @@ public ConnectedOrganizationsRequestBuilder connectedOrganizations() { /** * Provides operations to manage the controlConfigurations property of the microsoft.graph.entitlementManagement entity. * @return a {@link ControlConfigurationsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ControlConfigurationsRequestBuilder controlConfigurations() { return new ControlConfigurationsRequestBuilder(pathParameters, requestAdapter); @@ -173,7 +221,10 @@ public ControlConfigurationsRequestBuilder controlConfigurations() { /** * Provides operations to manage the externalOriginResourceConnectors property of the microsoft.graph.entitlementManagement entity. * @return a {@link ExternalOriginResourceConnectorsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ExternalOriginResourceConnectorsRequestBuilder externalOriginResourceConnectors() { return new ExternalOriginResourceConnectorsRequestBuilder(pathParameters, requestAdapter); @@ -181,7 +232,10 @@ public ExternalOriginResourceConnectorsRequestBuilder externalOriginResourceConn /** * Provides operations to manage the settings property of the microsoft.graph.entitlementManagement entity. * @return a {@link SettingsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public SettingsRequestBuilder settings() { return new SettingsRequestBuilder(pathParameters, requestAdapter); @@ -189,7 +243,10 @@ public SettingsRequestBuilder settings() { /** * Provides operations to manage the subjects property of the microsoft.graph.entitlementManagement entity. * @return a {@link SubjectsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public SubjectsRequestBuilder subjects() { return new SubjectsRequestBuilder(pathParameters, requestAdapter); @@ -211,8 +268,11 @@ public AccessPackageCatalogsWithUniqueNameRequestBuilder accessPackageCatalogsWi * Provides operations to manage the accessPackages property of the microsoft.graph.entitlementManagement entity. * @param uniqueName Alternate key of accessPackage * @return a {@link AccessPackagesWithUniqueNameRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackagesWithUniqueNameRequestBuilder accessPackagesWithUniqueName(@jakarta.annotation.Nonnull final String uniqueName) { Objects.requireNonNull(uniqueName); return new AccessPackagesWithUniqueNameRequestBuilder(pathParameters, requestAdapter, uniqueName); @@ -236,7 +296,10 @@ public EntitlementManagementRequestBuilder(@jakarta.annotation.Nonnull final Str /** * Delete navigation property entitlementManagement for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -244,7 +307,10 @@ public void delete() { * Delete navigation property entitlementManagement for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -255,8 +321,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Get entitlementManagement from identityGovernance * @return a {@link EntitlementManagement} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public EntitlementManagement get() { return get(null); } @@ -265,8 +334,11 @@ public EntitlementManagement get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link EntitlementManagement} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public EntitlementManagement get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -278,8 +350,11 @@ public EntitlementManagement get(@jakarta.annotation.Nullable final java.util.fu * @param body The request body * @return a {@link EntitlementManagement} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public EntitlementManagement patch(@jakarta.annotation.Nonnull final EntitlementManagement body) { return patch(body, null); } @@ -289,8 +364,11 @@ public EntitlementManagement patch(@jakarta.annotation.Nonnull final Entitlement * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link EntitlementManagement} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public EntitlementManagement patch(@jakarta.annotation.Nonnull final EntitlementManagement body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -302,8 +380,11 @@ public EntitlementManagement patch(@jakarta.annotation.Nonnull final Entitlement * Provides operations to manage the subjects property of the microsoft.graph.entitlementManagement entity. * @param objectId Alternate key of accessPackageSubject * @return a {@link SubjectsWithObjectIdRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public SubjectsWithObjectIdRequestBuilder subjectsWithObjectId(@jakarta.annotation.Nonnull final String objectId) { Objects.requireNonNull(objectId); return new SubjectsWithObjectIdRequestBuilder(pathParameters, requestAdapter, objectId); @@ -311,8 +392,11 @@ public SubjectsWithObjectIdRequestBuilder subjectsWithObjectId(@jakarta.annotati /** * Delete navigation property entitlementManagement for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -320,8 +404,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property entitlementManagement for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -331,8 +418,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Get entitlementManagement from identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -340,8 +430,11 @@ public RequestInformation toGetRequestInformation() { * Get entitlementManagement from identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -352,8 +445,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property entitlementManagement in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final EntitlementManagement body) { return toPatchRequestInformation(body, null); } @@ -362,8 +458,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final EntitlementManagement body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -376,8 +475,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link EntitlementManagementRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public EntitlementManagementRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new EntitlementManagementRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentapprovals/AccessPackageAssignmentApprovalsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentapprovals/AccessPackageAssignmentApprovalsRequestBuilder.java index 05929520a5c..1673575fadb 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentapprovals/AccessPackageAssignmentApprovalsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentapprovals/AccessPackageAssignmentApprovalsRequestBuilder.java @@ -27,7 +27,10 @@ public class AccessPackageAssignmentApprovalsRequestBuilder extends BaseRequestB /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -36,8 +39,11 @@ public CountRequestBuilder count() { * Provides operations to manage the accessPackageAssignmentApprovals property of the microsoft.graph.entitlementManagement entity. * @param approvalId The unique identifier of approval * @return a {@link ApprovalItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ApprovalItemRequestBuilder byApprovalId(@jakarta.annotation.Nonnull final String approvalId) { Objects.requireNonNull(approvalId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -64,8 +70,11 @@ public AccessPackageAssignmentApprovalsRequestBuilder(@jakarta.annotation.Nonnul * Provides operations to call the filterByCurrentUser method. * @param on Usage: on='{on}' * @return a {@link FilterByCurrentUserWithOnRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilterByCurrentUserWithOnRequestBuilder filterByCurrentUserWithOn(@jakarta.annotation.Nonnull final String on) { Objects.requireNonNull(on); return new FilterByCurrentUserWithOnRequestBuilder(pathParameters, requestAdapter, on); @@ -74,8 +83,11 @@ public FilterByCurrentUserWithOnRequestBuilder filterByCurrentUserWithOn(@jakart * Retrieve the properties of an approval object. This API request is made by an approver in the following scenarios: * @return a {@link ApprovalCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ApprovalCollectionResponse get() { return get(null); } @@ -84,8 +96,11 @@ public ApprovalCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ApprovalCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ApprovalCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -97,8 +112,11 @@ public ApprovalCollectionResponse get(@jakarta.annotation.Nullable final java.ut * @param body The request body * @return a {@link Approval} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Approval post(@jakarta.annotation.Nonnull final Approval body) { return post(body, null); } @@ -108,8 +126,11 @@ public Approval post(@jakarta.annotation.Nonnull final Approval body) { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Approval} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Approval post(@jakarta.annotation.Nonnull final Approval body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -120,8 +141,11 @@ public Approval post(@jakarta.annotation.Nonnull final Approval body, @jakarta.a /** * Retrieve the properties of an approval object. This API request is made by an approver in the following scenarios: * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -129,8 +153,11 @@ public RequestInformation toGetRequestInformation() { * Retrieve the properties of an approval object. This API request is made by an approver in the following scenarios: * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -141,8 +168,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to accessPackageAssignmentApprovals for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Approval body) { return toPostRequestInformation(body, null); } @@ -151,8 +181,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Approval body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -165,8 +198,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageAssignmentApprovalsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageAssignmentApprovalsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageAssignmentApprovalsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentapprovals/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentapprovals/count/CountRequestBuilder.java index 656a488ab9d..dad2bf2ae82 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentapprovals/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentapprovals/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentapprovals/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentapprovals/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java index 5c545d64716..93b12098105 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentapprovals/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentapprovals/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java @@ -41,9 +41,12 @@ public FilterByCurrentUserWithOnRequestBuilder(@jakarta.annotation.Nonnull final * In Microsoft Entra entitlement management, return a collection of access package assignment approvals. The objects returned are those that are in scope for approval by the calling user. In PIM for Groups, return a collection of assignment approvals. The objects returned are those that are in scope for approval by the calling user. * @return a {@link FilterByCurrentUserWithOnGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public FilterByCurrentUserWithOnGetResponse get() { return get(null); } @@ -52,9 +55,12 @@ public FilterByCurrentUserWithOnGetResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link FilterByCurrentUserWithOnGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public FilterByCurrentUserWithOnGetResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -64,8 +70,11 @@ public FilterByCurrentUserWithOnGetResponse get(@jakarta.annotation.Nullable fin /** * In Microsoft Entra entitlement management, return a collection of access package assignment approvals. The objects returned are those that are in scope for approval by the calling user. In PIM for Groups, return a collection of assignment approvals. The objects returned are those that are in scope for approval by the calling user. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -73,8 +82,11 @@ public RequestInformation toGetRequestInformation() { * In Microsoft Entra entitlement management, return a collection of access package assignment approvals. The objects returned are those that are in scope for approval by the calling user. In PIM for Groups, return a collection of assignment approvals. The objects returned are those that are in scope for approval by the calling user. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -85,8 +97,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link FilterByCurrentUserWithOnRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilterByCurrentUserWithOnRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new FilterByCurrentUserWithOnRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentapprovals/item/ApprovalItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentapprovals/item/ApprovalItemRequestBuilder.java index 6aaf735072e..9463430b9c3 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentapprovals/item/ApprovalItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentapprovals/item/ApprovalItemRequestBuilder.java @@ -24,7 +24,10 @@ public class ApprovalItemRequestBuilder extends BaseRequestBuilder { /** * Provides operations to manage the steps property of the microsoft.graph.approval entity. * @return a {@link StepsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public StepsRequestBuilder steps() { return new StepsRequestBuilder(pathParameters, requestAdapter); @@ -48,7 +51,10 @@ public ApprovalItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUr /** * Delete navigation property accessPackageAssignmentApprovals for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -56,7 +62,10 @@ public void delete() { * Delete navigation property accessPackageAssignmentApprovals for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -67,9 +76,12 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Retrieve the properties of an approval object. This API request is made by an approver in the following scenarios: * @return a {@link Approval} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public Approval get() { return get(null); } @@ -78,9 +90,12 @@ public Approval get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Approval} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public Approval get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -92,8 +107,11 @@ public Approval get(@jakarta.annotation.Nullable final java.util.function.Consum * @param body The request body * @return a {@link Approval} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Approval patch(@jakarta.annotation.Nonnull final Approval body) { return patch(body, null); } @@ -103,8 +121,11 @@ public Approval patch(@jakarta.annotation.Nonnull final Approval body) { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Approval} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Approval patch(@jakarta.annotation.Nonnull final Approval body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -115,8 +136,11 @@ public Approval patch(@jakarta.annotation.Nonnull final Approval body, @jakarta. /** * Delete navigation property accessPackageAssignmentApprovals for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property accessPackageAssignmentApprovals for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -135,8 +162,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Retrieve the properties of an approval object. This API request is made by an approver in the following scenarios: * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -144,8 +174,11 @@ public RequestInformation toGetRequestInformation() { * Retrieve the properties of an approval object. This API request is made by an approver in the following scenarios: * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -156,8 +189,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property accessPackageAssignmentApprovals in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final Approval body) { return toPatchRequestInformation(body, null); } @@ -166,8 +202,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final Approval body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -180,8 +219,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ApprovalItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ApprovalItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ApprovalItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentapprovals/item/steps/StepsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentapprovals/item/steps/StepsRequestBuilder.java index f887ad9005a..5b31a7d4e64 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentapprovals/item/steps/StepsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentapprovals/item/steps/StepsRequestBuilder.java @@ -26,7 +26,10 @@ public class StepsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the steps property of the microsoft.graph.approval entity. * @param approvalStepId The unique identifier of approvalStep * @return a {@link ApprovalStepItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ApprovalStepItemRequestBuilder byApprovalStepId(@jakarta.annotation.Nonnull final String approvalStepId) { Objects.requireNonNull(approvalStepId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,9 +69,12 @@ public StepsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * List the approvalStep objects associated with an approval. This API request is made by an approver in the following scenarios: * @return a {@link ApprovalStepCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public ApprovalStepCollectionResponse get() { return get(null); } @@ -74,9 +83,12 @@ public ApprovalStepCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ApprovalStepCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public ApprovalStepCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -88,8 +100,11 @@ public ApprovalStepCollectionResponse get(@jakarta.annotation.Nullable final jav * @param body The request body * @return a {@link ApprovalStep} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ApprovalStep post(@jakarta.annotation.Nonnull final ApprovalStep body) { return post(body, null); } @@ -99,8 +114,11 @@ public ApprovalStep post(@jakarta.annotation.Nonnull final ApprovalStep body) { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ApprovalStep} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ApprovalStep post(@jakarta.annotation.Nonnull final ApprovalStep body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -111,8 +129,11 @@ public ApprovalStep post(@jakarta.annotation.Nonnull final ApprovalStep body, @j /** * List the approvalStep objects associated with an approval. This API request is made by an approver in the following scenarios: * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -120,8 +141,11 @@ public RequestInformation toGetRequestInformation() { * List the approvalStep objects associated with an approval. This API request is made by an approver in the following scenarios: * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -132,8 +156,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to steps for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ApprovalStep body) { return toPostRequestInformation(body, null); } @@ -142,8 +169,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ApprovalStep body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -156,8 +186,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link StepsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public StepsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new StepsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentapprovals/item/steps/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentapprovals/item/steps/count/CountRequestBuilder.java index 7f60b25a1fe..d31b86756ef 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentapprovals/item/steps/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentapprovals/item/steps/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentapprovals/item/steps/item/ApprovalStepItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentapprovals/item/steps/item/ApprovalStepItemRequestBuilder.java index 186bf9a4ac4..7c4722040dc 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentapprovals/item/steps/item/ApprovalStepItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentapprovals/item/steps/item/ApprovalStepItemRequestBuilder.java @@ -39,7 +39,10 @@ public ApprovalStepItemRequestBuilder(@jakarta.annotation.Nonnull final String r /** * Delete navigation property steps for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -47,7 +50,10 @@ public void delete() { * Delete navigation property steps for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -58,9 +64,12 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Retrieve the properties of an approvalStep object. * @return a {@link ApprovalStep} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public ApprovalStep get() { return get(null); } @@ -69,9 +78,12 @@ public ApprovalStep get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ApprovalStep} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public ApprovalStep get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -83,9 +95,12 @@ public ApprovalStep get(@jakarta.annotation.Nullable final java.util.function.Co * @param body The request body * @return a {@link ApprovalStep} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public ApprovalStep patch(@jakarta.annotation.Nonnull final ApprovalStep body) { return patch(body, null); } @@ -95,9 +110,12 @@ public ApprovalStep patch(@jakarta.annotation.Nonnull final ApprovalStep body) { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ApprovalStep} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public ApprovalStep patch(@jakarta.annotation.Nonnull final ApprovalStep body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -108,8 +126,11 @@ public ApprovalStep patch(@jakarta.annotation.Nonnull final ApprovalStep body, @ /** * Delete navigation property steps for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -117,8 +138,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property steps for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -128,8 +152,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Retrieve the properties of an approvalStep object. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -137,8 +164,11 @@ public RequestInformation toGetRequestInformation() { * Retrieve the properties of an approvalStep object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -149,8 +179,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Apply an approve or deny decision on an approvalStep object. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final ApprovalStep body) { return toPatchRequestInformation(body, null); } @@ -159,8 +192,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final ApprovalStep body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -173,8 +209,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ApprovalStepItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ApprovalStepItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ApprovalStepItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/AccessPackageAssignmentResourceRolesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/AccessPackageAssignmentResourceRolesRequestBuilder.java index 22a1c581c50..a99f9e91ee0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/AccessPackageAssignmentResourceRolesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/AccessPackageAssignmentResourceRolesRequestBuilder.java @@ -27,7 +27,10 @@ public class AccessPackageAssignmentResourceRolesRequestBuilder extends BaseRequ /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,7 +38,10 @@ public CountRequestBuilder count() { /** * Provides operations to call the My method. * @return a {@link MyRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public MyRequestBuilder my() { return new MyRequestBuilder(pathParameters, requestAdapter); @@ -44,8 +50,11 @@ public MyRequestBuilder my() { * Provides operations to manage the accessPackageAssignmentResourceRoles property of the microsoft.graph.entitlementManagement entity. * @param accessPackageAssignmentResourceRoleId The unique identifier of accessPackageAssignmentResourceRole * @return a {@link AccessPackageAssignmentResourceRoleItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageAssignmentResourceRoleItemRequestBuilder byAccessPackageAssignmentResourceRoleId(@jakarta.annotation.Nonnull final String accessPackageAssignmentResourceRoleId) { Objects.requireNonNull(accessPackageAssignmentResourceRoleId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -72,9 +81,12 @@ public AccessPackageAssignmentResourceRolesRequestBuilder(@jakarta.annotation.No * Retrieve a list of accessPackageAssignmentResourceRole objects. The resulting list includes all the resource roles of all assignments that the caller has access to read, across all catalogs and access packages. * @return a {@link AccessPackageAssignmentResourceRoleCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageAssignmentResourceRoleCollectionResponse get() { return get(null); } @@ -83,9 +95,12 @@ public AccessPackageAssignmentResourceRoleCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageAssignmentResourceRoleCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageAssignmentResourceRoleCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -97,8 +112,11 @@ public AccessPackageAssignmentResourceRoleCollectionResponse get(@jakarta.annota * @param body The request body * @return a {@link AccessPackageAssignmentResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageAssignmentResourceRole post(@jakarta.annotation.Nonnull final AccessPackageAssignmentResourceRole body) { return post(body, null); } @@ -108,8 +126,11 @@ public AccessPackageAssignmentResourceRole post(@jakarta.annotation.Nonnull fina * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageAssignmentResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageAssignmentResourceRole post(@jakarta.annotation.Nonnull final AccessPackageAssignmentResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -120,8 +141,11 @@ public AccessPackageAssignmentResourceRole post(@jakarta.annotation.Nonnull fina /** * Retrieve a list of accessPackageAssignmentResourceRole objects. The resulting list includes all the resource roles of all assignments that the caller has access to read, across all catalogs and access packages. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -129,8 +153,11 @@ public RequestInformation toGetRequestInformation() { * Retrieve a list of accessPackageAssignmentResourceRole objects. The resulting list includes all the resource roles of all assignments that the caller has access to read, across all catalogs and access packages. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -141,8 +168,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to accessPackageAssignmentResourceRoles for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageAssignmentResourceRole body) { return toPostRequestInformation(body, null); } @@ -151,8 +181,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageAssignmentResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -165,8 +198,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageAssignmentResourceRolesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageAssignmentResourceRolesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageAssignmentResourceRolesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/count/CountRequestBuilder.java index 274bdb2e031..e41a928c287 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/AccessPackageAssignmentResourceRoleItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/AccessPackageAssignmentResourceRoleItemRequestBuilder.java index 6de6b3e364f..32e0534bbdc 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/AccessPackageAssignmentResourceRoleItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/AccessPackageAssignmentResourceRoleItemRequestBuilder.java @@ -27,7 +27,10 @@ public class AccessPackageAssignmentResourceRoleItemRequestBuilder extends BaseR /** * Provides operations to manage the accessPackageAssignments property of the microsoft.graph.accessPackageAssignmentResourceRole entity. * @return a {@link AccessPackageAssignmentsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackageAssignmentsRequestBuilder accessPackageAssignments() { return new AccessPackageAssignmentsRequestBuilder(pathParameters, requestAdapter); @@ -35,7 +38,10 @@ public AccessPackageAssignmentsRequestBuilder accessPackageAssignments() { /** * Provides operations to manage the accessPackageResourceRole property of the microsoft.graph.accessPackageAssignmentResourceRole entity. * @return a {@link AccessPackageResourceRoleRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackageResourceRoleRequestBuilder accessPackageResourceRole() { return new AccessPackageResourceRoleRequestBuilder(pathParameters, requestAdapter); @@ -43,7 +49,10 @@ public AccessPackageResourceRoleRequestBuilder accessPackageResourceRole() { /** * Provides operations to manage the accessPackageResourceScope property of the microsoft.graph.accessPackageAssignmentResourceRole entity. * @return a {@link AccessPackageResourceScopeRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackageResourceScopeRequestBuilder accessPackageResourceScope() { return new AccessPackageResourceScopeRequestBuilder(pathParameters, requestAdapter); @@ -51,7 +60,10 @@ public AccessPackageResourceScopeRequestBuilder accessPackageResourceScope() { /** * Provides operations to manage the accessPackageSubject property of the microsoft.graph.accessPackageAssignmentResourceRole entity. * @return a {@link AccessPackageSubjectRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackageSubjectRequestBuilder accessPackageSubject() { return new AccessPackageSubjectRequestBuilder(pathParameters, requestAdapter); @@ -75,7 +87,10 @@ public AccessPackageAssignmentResourceRoleItemRequestBuilder(@jakarta.annotation /** * Delete navigation property accessPackageAssignmentResourceRoles for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -83,7 +98,10 @@ public void delete() { * Delete navigation property accessPackageAssignmentResourceRoles for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -94,9 +112,12 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Retrieve the properties and relationships of an accessPackageAssignmentResourceRole object. * @return a {@link AccessPackageAssignmentResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageAssignmentResourceRole get() { return get(null); } @@ -105,9 +126,12 @@ public AccessPackageAssignmentResourceRole get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageAssignmentResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageAssignmentResourceRole get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -119,8 +143,11 @@ public AccessPackageAssignmentResourceRole get(@jakarta.annotation.Nullable fina * @param body The request body * @return a {@link AccessPackageAssignmentResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageAssignmentResourceRole patch(@jakarta.annotation.Nonnull final AccessPackageAssignmentResourceRole body) { return patch(body, null); } @@ -130,8 +157,11 @@ public AccessPackageAssignmentResourceRole patch(@jakarta.annotation.Nonnull fin * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageAssignmentResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageAssignmentResourceRole patch(@jakarta.annotation.Nonnull final AccessPackageAssignmentResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -142,8 +172,11 @@ public AccessPackageAssignmentResourceRole patch(@jakarta.annotation.Nonnull fin /** * Delete navigation property accessPackageAssignmentResourceRoles for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -151,8 +184,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property accessPackageAssignmentResourceRoles for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -162,8 +198,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Retrieve the properties and relationships of an accessPackageAssignmentResourceRole object. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -171,8 +210,11 @@ public RequestInformation toGetRequestInformation() { * Retrieve the properties and relationships of an accessPackageAssignmentResourceRole object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -183,8 +225,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property accessPackageAssignmentResourceRoles in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageAssignmentResourceRole body) { return toPatchRequestInformation(body, null); } @@ -193,8 +238,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageAssignmentResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -207,8 +255,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageAssignmentResourceRoleItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageAssignmentResourceRoleItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageAssignmentResourceRoleItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageassignments/AccessPackageAssignmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageassignments/AccessPackageAssignmentsRequestBuilder.java index 369c56b8d4f..2f6284973cf 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageassignments/AccessPackageAssignmentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageassignments/AccessPackageAssignmentsRequestBuilder.java @@ -25,7 +25,10 @@ public class AccessPackageAssignmentsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -34,8 +37,11 @@ public CountRequestBuilder count() { * Provides operations to manage the accessPackageAssignments property of the microsoft.graph.accessPackageAssignmentResourceRole entity. * @param accessPackageAssignmentId The unique identifier of accessPackageAssignment * @return a {@link AccessPackageAssignmentItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageAssignmentItemRequestBuilder byAccessPackageAssignmentId(@jakarta.annotation.Nonnull final String accessPackageAssignmentId) { Objects.requireNonNull(accessPackageAssignmentId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -62,8 +68,11 @@ public AccessPackageAssignmentsRequestBuilder(@jakarta.annotation.Nonnull final * The access package assignments resulting in this role assignment. Read-only. Nullable. * @return a {@link AccessPackageAssignmentCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageAssignmentCollectionResponse get() { return get(null); } @@ -72,8 +81,11 @@ public AccessPackageAssignmentCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageAssignmentCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageAssignmentCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -83,8 +95,11 @@ public AccessPackageAssignmentCollectionResponse get(@jakarta.annotation.Nullabl /** * The access package assignments resulting in this role assignment. Read-only. Nullable. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -92,8 +107,11 @@ public RequestInformation toGetRequestInformation() { * The access package assignments resulting in this role assignment. Read-only. Nullable. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -104,8 +122,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageAssignmentsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageAssignmentsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageAssignmentsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageassignments/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageassignments/count/CountRequestBuilder.java index b1e2b4c81bd..f64da440fcb 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageassignments/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageassignments/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageassignments/item/AccessPackageAssignmentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageassignments/item/AccessPackageAssignmentItemRequestBuilder.java index 76e40924d99..327dbff56d8 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageassignments/item/AccessPackageAssignmentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageassignments/item/AccessPackageAssignmentItemRequestBuilder.java @@ -40,8 +40,11 @@ public AccessPackageAssignmentItemRequestBuilder(@jakarta.annotation.Nonnull fin * The access package assignments resulting in this role assignment. Read-only. Nullable. * @return a {@link AccessPackageAssignment} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageAssignment get() { return get(null); } @@ -50,8 +53,11 @@ public AccessPackageAssignment get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageAssignment} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageAssignment get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public AccessPackageAssignment get(@jakarta.annotation.Nullable final java.util. /** * The access package assignments resulting in this role assignment. Read-only. Nullable. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * The access package assignments resulting in this role assignment. Read-only. Nullable. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageAssignmentItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageAssignmentItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageAssignmentItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/AccessPackageResourceRoleRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/AccessPackageResourceRoleRequestBuilder.java index ce0f195a1f1..d71f77126ea 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/AccessPackageResourceRoleRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/AccessPackageResourceRoleRequestBuilder.java @@ -24,7 +24,10 @@ public class AccessPackageResourceRoleRequestBuilder extends BaseRequestBuilder /** * Provides operations to manage the accessPackageResource property of the microsoft.graph.accessPackageResourceRole entity. * @return a {@link AccessPackageResourceRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackageResourceRequestBuilder accessPackageResource() { return new AccessPackageResourceRequestBuilder(pathParameters, requestAdapter); @@ -48,7 +51,10 @@ public AccessPackageResourceRoleRequestBuilder(@jakarta.annotation.Nonnull final /** * Delete navigation property accessPackageResourceRole for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -56,7 +62,10 @@ public void delete() { * Delete navigation property accessPackageResourceRole for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -67,8 +76,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Get accessPackageResourceRole from identityGovernance * @return a {@link AccessPackageResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRole get() { return get(null); } @@ -77,8 +89,11 @@ public AccessPackageResourceRole get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRole get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -90,8 +105,11 @@ public AccessPackageResourceRole get(@jakarta.annotation.Nullable final java.uti * @param body The request body * @return a {@link AccessPackageResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRole patch(@jakarta.annotation.Nonnull final AccessPackageResourceRole body) { return patch(body, null); } @@ -101,8 +119,11 @@ public AccessPackageResourceRole patch(@jakarta.annotation.Nonnull final AccessP * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRole patch(@jakarta.annotation.Nonnull final AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -113,8 +134,11 @@ public AccessPackageResourceRole patch(@jakarta.annotation.Nonnull final AccessP /** * Delete navigation property accessPackageResourceRole for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -122,8 +146,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property accessPackageResourceRole for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -133,8 +160,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Get accessPackageResourceRole from identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -142,8 +172,11 @@ public RequestInformation toGetRequestInformation() { * Get accessPackageResourceRole from identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -154,8 +187,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property accessPackageResourceRole in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRole body) { return toPatchRequestInformation(body, null); } @@ -164,8 +200,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -178,8 +217,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceRoleRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceRoleRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceRoleRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/AccessPackageResourceRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/AccessPackageResourceRequestBuilder.java index 59740d650c5..545b2c6b80a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/AccessPackageResourceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/AccessPackageResourceRequestBuilder.java @@ -29,7 +29,10 @@ public class AccessPackageResourceRequestBuilder extends BaseRequestBuilder { /** * Provides operations to manage the accessPackageResourceEnvironment property of the microsoft.graph.accessPackageResource entity. * @return a {@link AccessPackageResourceEnvironmentRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackageResourceEnvironmentRequestBuilder accessPackageResourceEnvironment() { return new AccessPackageResourceEnvironmentRequestBuilder(pathParameters, requestAdapter); @@ -37,7 +40,10 @@ public AccessPackageResourceEnvironmentRequestBuilder accessPackageResourceEnvir /** * Provides operations to manage the accessPackageResourceRoles property of the microsoft.graph.accessPackageResource entity. * @return a {@link AccessPackageResourceRolesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackageResourceRolesRequestBuilder accessPackageResourceRoles() { return new AccessPackageResourceRolesRequestBuilder(pathParameters, requestAdapter); @@ -45,7 +51,10 @@ public AccessPackageResourceRolesRequestBuilder accessPackageResourceRoles() { /** * Provides operations to manage the accessPackageResourceScopes property of the microsoft.graph.accessPackageResource entity. * @return a {@link AccessPackageResourceScopesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackageResourceScopesRequestBuilder accessPackageResourceScopes() { return new AccessPackageResourceScopesRequestBuilder(pathParameters, requestAdapter); @@ -53,7 +62,10 @@ public AccessPackageResourceScopesRequestBuilder accessPackageResourceScopes() { /** * Provides operations to manage the externalOriginResourceConnector property of the microsoft.graph.accessPackageResource entity. * @return a {@link ExternalOriginResourceConnectorRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ExternalOriginResourceConnectorRequestBuilder externalOriginResourceConnector() { return new ExternalOriginResourceConnectorRequestBuilder(pathParameters, requestAdapter); @@ -61,7 +73,10 @@ public ExternalOriginResourceConnectorRequestBuilder externalOriginResourceConne /** * Provides operations to call the refresh method. * @return a {@link RefreshRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public RefreshRequestBuilder refresh() { return new RefreshRequestBuilder(pathParameters, requestAdapter); @@ -69,7 +84,10 @@ public RefreshRequestBuilder refresh() { /** * Provides operations to manage the uploadSessions property of the microsoft.graph.accessPackageResource entity. * @return a {@link UploadSessionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public UploadSessionsRequestBuilder uploadSessions() { return new UploadSessionsRequestBuilder(pathParameters, requestAdapter); @@ -93,7 +111,10 @@ public AccessPackageResourceRequestBuilder(@jakarta.annotation.Nonnull final Str /** * Delete navigation property accessPackageResource for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -101,7 +122,10 @@ public void delete() { * Delete navigation property accessPackageResource for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -112,8 +136,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Get accessPackageResource from identityGovernance * @return a {@link AccessPackageResource} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResource get() { return get(null); } @@ -122,8 +149,11 @@ public AccessPackageResource get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResource} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResource get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -135,8 +165,11 @@ public AccessPackageResource get(@jakarta.annotation.Nullable final java.util.fu * @param body The request body * @return a {@link AccessPackageResource} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResource patch(@jakarta.annotation.Nonnull final AccessPackageResource body) { return patch(body, null); } @@ -146,8 +179,11 @@ public AccessPackageResource patch(@jakarta.annotation.Nonnull final AccessPacka * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResource} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResource patch(@jakarta.annotation.Nonnull final AccessPackageResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -158,8 +194,11 @@ public AccessPackageResource patch(@jakarta.annotation.Nonnull final AccessPacka /** * Delete navigation property accessPackageResource for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -167,8 +206,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property accessPackageResource for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -178,8 +220,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Get accessPackageResource from identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -187,8 +232,11 @@ public RequestInformation toGetRequestInformation() { * Get accessPackageResource from identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -199,8 +247,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property accessPackageResource in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResource body) { return toPatchRequestInformation(body, null); } @@ -209,8 +260,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -223,8 +277,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourceenvironment/AccessPackageResourceEnvironmentRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourceenvironment/AccessPackageResourceEnvironmentRequestBuilder.java index e418db4e08d..b585e0bdccf 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourceenvironment/AccessPackageResourceEnvironmentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourceenvironment/AccessPackageResourceEnvironmentRequestBuilder.java @@ -40,8 +40,11 @@ public AccessPackageResourceEnvironmentRequestBuilder(@jakarta.annotation.Nonnul * Contains the environment information for the resource. This environment can be set using either the @odata.bind annotation or the environment's originId. Supports $expand. * @return a {@link AccessPackageResourceEnvironment} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceEnvironment get() { return get(null); } @@ -50,8 +53,11 @@ public AccessPackageResourceEnvironment get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceEnvironment} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceEnvironment get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public AccessPackageResourceEnvironment get(@jakarta.annotation.Nullable final j /** * Contains the environment information for the resource. This environment can be set using either the @odata.bind annotation or the environment's originId. Supports $expand. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * Contains the environment information for the resource. This environment can be set using either the @odata.bind annotation or the environment's originId. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceEnvironmentRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceEnvironmentRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceEnvironmentRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java index 66f5ddc3c77..7fa68040a42 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java @@ -26,7 +26,10 @@ public class AccessPackageResourceRolesRequestBuilder extends BaseRequestBuilder /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the accessPackageResourceRoles property of the microsoft.graph.accessPackageResource entity. * @param accessPackageResourceRoleId The unique identifier of accessPackageResourceRole * @return a {@link AccessPackageResourceRoleItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceRoleItemRequestBuilder byAccessPackageResourceRoleId(@jakarta.annotation.Nonnull final String accessPackageResourceRoleId) { Objects.requireNonNull(accessPackageResourceRoleId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public AccessPackageResourceRolesRequestBuilder(@jakarta.annotation.Nonnull fina * Read-only. Nullable. Supports $expand. * @return a {@link AccessPackageResourceRoleCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRoleCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public AccessPackageResourceRoleCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceRoleCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRoleCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public AccessPackageResourceRoleCollectionResponse get(@jakarta.annotation.Nulla * @param body The request body * @return a {@link AccessPackageResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRole post(@jakarta.annotation.Nonnull final AccessPackageResourceRole body) { return post(body, null); } @@ -97,8 +112,11 @@ public AccessPackageResourceRole post(@jakarta.annotation.Nonnull final AccessPa * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRole post(@jakarta.annotation.Nonnull final AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public AccessPackageResourceRole post(@jakarta.annotation.Nonnull final AccessPa /** * Read-only. Nullable. Supports $expand. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Read-only. Nullable. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to accessPackageResourceRoles for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRole body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceRolesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceRolesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceRolesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourceroles/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourceroles/count/CountRequestBuilder.java index 5a651e03872..64326b54d5b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourceroles/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourceroles/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java index 9eca7f37226..68c76868605 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java @@ -39,7 +39,10 @@ public AccessPackageResourceRoleItemRequestBuilder(@jakarta.annotation.Nonnull f /** * Delete navigation property accessPackageResourceRoles for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -47,7 +50,10 @@ public void delete() { * Delete navigation property accessPackageResourceRoles for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -58,8 +64,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Read-only. Nullable. Supports $expand. * @return a {@link AccessPackageResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRole get() { return get(null); } @@ -68,8 +77,11 @@ public AccessPackageResourceRole get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRole get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -81,8 +93,11 @@ public AccessPackageResourceRole get(@jakarta.annotation.Nullable final java.uti * @param body The request body * @return a {@link AccessPackageResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRole patch(@jakarta.annotation.Nonnull final AccessPackageResourceRole body) { return patch(body, null); } @@ -92,8 +107,11 @@ public AccessPackageResourceRole patch(@jakarta.annotation.Nonnull final AccessP * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRole patch(@jakarta.annotation.Nonnull final AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -104,8 +122,11 @@ public AccessPackageResourceRole patch(@jakarta.annotation.Nonnull final AccessP /** * Delete navigation property accessPackageResourceRoles for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -113,8 +134,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property accessPackageResourceRoles for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Read-only. Nullable. Supports $expand. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -133,8 +160,11 @@ public RequestInformation toGetRequestInformation() { * Read-only. Nullable. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -145,8 +175,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property accessPackageResourceRoles in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRole body) { return toPatchRequestInformation(body, null); } @@ -155,8 +188,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -169,8 +205,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceRoleItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceRoleItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceRoleItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java index 844bbd371ae..d6d46b42ebe 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java @@ -26,7 +26,10 @@ public class AccessPackageResourceScopesRequestBuilder extends BaseRequestBuilde /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the accessPackageResourceScopes property of the microsoft.graph.accessPackageResource entity. * @param accessPackageResourceScopeId The unique identifier of accessPackageResourceScope * @return a {@link AccessPackageResourceScopeItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceScopeItemRequestBuilder byAccessPackageResourceScopeId(@jakarta.annotation.Nonnull final String accessPackageResourceScopeId) { Objects.requireNonNull(accessPackageResourceScopeId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public AccessPackageResourceScopesRequestBuilder(@jakarta.annotation.Nonnull fin * Read-only. Nullable. Supports $expand. * @return a {@link AccessPackageResourceScopeCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScopeCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public AccessPackageResourceScopeCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceScopeCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScopeCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public AccessPackageResourceScopeCollectionResponse get(@jakarta.annotation.Null * @param body The request body * @return a {@link AccessPackageResourceScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScope post(@jakarta.annotation.Nonnull final AccessPackageResourceScope body) { return post(body, null); } @@ -97,8 +112,11 @@ public AccessPackageResourceScope post(@jakarta.annotation.Nonnull final AccessP * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScope post(@jakarta.annotation.Nonnull final AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public AccessPackageResourceScope post(@jakarta.annotation.Nonnull final AccessP /** * Read-only. Nullable. Supports $expand. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Read-only. Nullable. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to accessPackageResourceScopes for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceScope body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceScopesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceScopesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceScopesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/count/CountRequestBuilder.java index 7d2bcc3ad17..44d6b9b7bbc 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java index 60859c17d5c..dd13cdc145d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java @@ -24,7 +24,10 @@ public class AccessPackageResourceScopeItemRequestBuilder extends BaseRequestBui /** * Provides operations to manage the accessPackageResource property of the microsoft.graph.accessPackageResourceScope entity. * @return a {@link AccessPackageResourceRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackageResourceRequestBuilder accessPackageResource() { return new AccessPackageResourceRequestBuilder(pathParameters, requestAdapter); @@ -48,7 +51,10 @@ public AccessPackageResourceScopeItemRequestBuilder(@jakarta.annotation.Nonnull /** * Delete navigation property accessPackageResourceScopes for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -56,7 +62,10 @@ public void delete() { * Delete navigation property accessPackageResourceScopes for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -67,8 +76,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Read-only. Nullable. Supports $expand. * @return a {@link AccessPackageResourceScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScope get() { return get(null); } @@ -77,8 +89,11 @@ public AccessPackageResourceScope get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScope get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -90,8 +105,11 @@ public AccessPackageResourceScope get(@jakarta.annotation.Nullable final java.ut * @param body The request body * @return a {@link AccessPackageResourceScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScope patch(@jakarta.annotation.Nonnull final AccessPackageResourceScope body) { return patch(body, null); } @@ -101,8 +119,11 @@ public AccessPackageResourceScope patch(@jakarta.annotation.Nonnull final Access * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScope patch(@jakarta.annotation.Nonnull final AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -113,8 +134,11 @@ public AccessPackageResourceScope patch(@jakarta.annotation.Nonnull final Access /** * Delete navigation property accessPackageResourceScopes for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -122,8 +146,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property accessPackageResourceScopes for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -133,8 +160,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Read-only. Nullable. Supports $expand. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -142,8 +172,11 @@ public RequestInformation toGetRequestInformation() { * Read-only. Nullable. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -154,8 +187,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property accessPackageResourceScopes in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceScope body) { return toPatchRequestInformation(body, null); } @@ -164,8 +200,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -178,8 +217,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceScopeItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceScopeItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceScopeItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/AccessPackageResourceRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/AccessPackageResourceRequestBuilder.java index d325c5a5d6b..539b6474feb 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/AccessPackageResourceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/AccessPackageResourceRequestBuilder.java @@ -28,7 +28,10 @@ public class AccessPackageResourceRequestBuilder extends BaseRequestBuilder { /** * Provides operations to manage the accessPackageResourceEnvironment property of the microsoft.graph.accessPackageResource entity. * @return a {@link AccessPackageResourceEnvironmentRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackageResourceEnvironmentRequestBuilder accessPackageResourceEnvironment() { return new AccessPackageResourceEnvironmentRequestBuilder(pathParameters, requestAdapter); @@ -36,7 +39,10 @@ public AccessPackageResourceEnvironmentRequestBuilder accessPackageResourceEnvir /** * Provides operations to manage the accessPackageResourceRoles property of the microsoft.graph.accessPackageResource entity. * @return a {@link AccessPackageResourceRolesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackageResourceRolesRequestBuilder accessPackageResourceRoles() { return new AccessPackageResourceRolesRequestBuilder(pathParameters, requestAdapter); @@ -44,7 +50,10 @@ public AccessPackageResourceRolesRequestBuilder accessPackageResourceRoles() { /** * Provides operations to manage the externalOriginResourceConnector property of the microsoft.graph.accessPackageResource entity. * @return a {@link ExternalOriginResourceConnectorRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ExternalOriginResourceConnectorRequestBuilder externalOriginResourceConnector() { return new ExternalOriginResourceConnectorRequestBuilder(pathParameters, requestAdapter); @@ -52,7 +61,10 @@ public ExternalOriginResourceConnectorRequestBuilder externalOriginResourceConne /** * Provides operations to call the refresh method. * @return a {@link RefreshRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public RefreshRequestBuilder refresh() { return new RefreshRequestBuilder(pathParameters, requestAdapter); @@ -60,7 +72,10 @@ public RefreshRequestBuilder refresh() { /** * Provides operations to manage the uploadSessions property of the microsoft.graph.accessPackageResource entity. * @return a {@link UploadSessionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public UploadSessionsRequestBuilder uploadSessions() { return new UploadSessionsRequestBuilder(pathParameters, requestAdapter); @@ -84,7 +99,10 @@ public AccessPackageResourceRequestBuilder(@jakarta.annotation.Nonnull final Str /** * Delete navigation property accessPackageResource for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -92,7 +110,10 @@ public void delete() { * Delete navigation property accessPackageResource for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -103,8 +124,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Get accessPackageResource from identityGovernance * @return a {@link AccessPackageResource} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResource get() { return get(null); } @@ -113,8 +137,11 @@ public AccessPackageResource get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResource} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResource get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -126,8 +153,11 @@ public AccessPackageResource get(@jakarta.annotation.Nullable final java.util.fu * @param body The request body * @return a {@link AccessPackageResource} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResource patch(@jakarta.annotation.Nonnull final AccessPackageResource body) { return patch(body, null); } @@ -137,8 +167,11 @@ public AccessPackageResource patch(@jakarta.annotation.Nonnull final AccessPacka * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResource} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResource patch(@jakarta.annotation.Nonnull final AccessPackageResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -149,8 +182,11 @@ public AccessPackageResource patch(@jakarta.annotation.Nonnull final AccessPacka /** * Delete navigation property accessPackageResource for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -158,8 +194,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property accessPackageResource for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -169,8 +208,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Get accessPackageResource from identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -178,8 +220,11 @@ public RequestInformation toGetRequestInformation() { * Get accessPackageResource from identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -190,8 +235,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property accessPackageResource in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResource body) { return toPatchRequestInformation(body, null); } @@ -200,8 +248,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -214,8 +265,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceenvironment/AccessPackageResourceEnvironmentRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceenvironment/AccessPackageResourceEnvironmentRequestBuilder.java index 78cb28f94b6..49baddb2934 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceenvironment/AccessPackageResourceEnvironmentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceenvironment/AccessPackageResourceEnvironmentRequestBuilder.java @@ -40,8 +40,11 @@ public AccessPackageResourceEnvironmentRequestBuilder(@jakarta.annotation.Nonnul * Contains the environment information for the resource. This environment can be set using either the @odata.bind annotation or the environment's originId. Supports $expand. * @return a {@link AccessPackageResourceEnvironment} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceEnvironment get() { return get(null); } @@ -50,8 +53,11 @@ public AccessPackageResourceEnvironment get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceEnvironment} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceEnvironment get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public AccessPackageResourceEnvironment get(@jakarta.annotation.Nullable final j /** * Contains the environment information for the resource. This environment can be set using either the @odata.bind annotation or the environment's originId. Supports $expand. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * Contains the environment information for the resource. This environment can be set using either the @odata.bind annotation or the environment's originId. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceEnvironmentRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceEnvironmentRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceEnvironmentRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java index 66a2947357f..50717697b48 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java @@ -26,7 +26,10 @@ public class AccessPackageResourceRolesRequestBuilder extends BaseRequestBuilder /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the accessPackageResourceRoles property of the microsoft.graph.accessPackageResource entity. * @param accessPackageResourceRoleId The unique identifier of accessPackageResourceRole * @return a {@link AccessPackageResourceRoleItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceRoleItemRequestBuilder byAccessPackageResourceRoleId(@jakarta.annotation.Nonnull final String accessPackageResourceRoleId) { Objects.requireNonNull(accessPackageResourceRoleId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public AccessPackageResourceRolesRequestBuilder(@jakarta.annotation.Nonnull fina * Read-only. Nullable. Supports $expand. * @return a {@link AccessPackageResourceRoleCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRoleCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public AccessPackageResourceRoleCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceRoleCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRoleCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public AccessPackageResourceRoleCollectionResponse get(@jakarta.annotation.Nulla * @param body The request body * @return a {@link AccessPackageResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRole post(@jakarta.annotation.Nonnull final AccessPackageResourceRole body) { return post(body, null); } @@ -97,8 +112,11 @@ public AccessPackageResourceRole post(@jakarta.annotation.Nonnull final AccessPa * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRole post(@jakarta.annotation.Nonnull final AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public AccessPackageResourceRole post(@jakarta.annotation.Nonnull final AccessPa /** * Read-only. Nullable. Supports $expand. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Read-only. Nullable. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to accessPackageResourceRoles for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRole body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceRolesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceRolesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceRolesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/count/CountRequestBuilder.java index 3434d3cfdf9..ce75427e901 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java index fec5b9f71eb..68131142281 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java @@ -39,7 +39,10 @@ public AccessPackageResourceRoleItemRequestBuilder(@jakarta.annotation.Nonnull f /** * Delete navigation property accessPackageResourceRoles for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -47,7 +50,10 @@ public void delete() { * Delete navigation property accessPackageResourceRoles for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -58,8 +64,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Read-only. Nullable. Supports $expand. * @return a {@link AccessPackageResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRole get() { return get(null); } @@ -68,8 +77,11 @@ public AccessPackageResourceRole get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRole get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -81,8 +93,11 @@ public AccessPackageResourceRole get(@jakarta.annotation.Nullable final java.uti * @param body The request body * @return a {@link AccessPackageResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRole patch(@jakarta.annotation.Nonnull final AccessPackageResourceRole body) { return patch(body, null); } @@ -92,8 +107,11 @@ public AccessPackageResourceRole patch(@jakarta.annotation.Nonnull final AccessP * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRole patch(@jakarta.annotation.Nonnull final AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -104,8 +122,11 @@ public AccessPackageResourceRole patch(@jakarta.annotation.Nonnull final AccessP /** * Delete navigation property accessPackageResourceRoles for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -113,8 +134,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property accessPackageResourceRoles for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Read-only. Nullable. Supports $expand. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -133,8 +160,11 @@ public RequestInformation toGetRequestInformation() { * Read-only. Nullable. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -145,8 +175,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property accessPackageResourceRoles in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRole body) { return toPatchRequestInformation(body, null); } @@ -155,8 +188,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -169,8 +205,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceRoleItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceRoleItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceRoleItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/externaloriginresourceconnector/ExternalOriginResourceConnectorRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/externaloriginresourceconnector/ExternalOriginResourceConnectorRequestBuilder.java index 59037c79ee2..64653828916 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/externaloriginresourceconnector/ExternalOriginResourceConnectorRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/externaloriginresourceconnector/ExternalOriginResourceConnectorRequestBuilder.java @@ -40,8 +40,11 @@ public ExternalOriginResourceConnectorRequestBuilder(@jakarta.annotation.Nonnull * The connector that integrates with external origin systems to provision access to resources from those systems. Read-only. Nullable. * @return a {@link ExternalOriginResourceConnector} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ExternalOriginResourceConnector get() { return get(null); } @@ -50,8 +53,11 @@ public ExternalOriginResourceConnector get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ExternalOriginResourceConnector} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ExternalOriginResourceConnector get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public ExternalOriginResourceConnector get(@jakarta.annotation.Nullable final ja /** * The connector that integrates with external origin systems to provision access to resources from those systems. Read-only. Nullable. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * The connector that integrates with external origin systems to provision access to resources from those systems. Read-only. Nullable. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ExternalOriginResourceConnectorRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ExternalOriginResourceConnectorRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ExternalOriginResourceConnectorRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/refresh/RefreshRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/refresh/RefreshRequestBuilder.java index 5e9cb5e2d5c..a5657d26737 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/refresh/RefreshRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/refresh/RefreshRequestBuilder.java @@ -37,8 +37,11 @@ public RefreshRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j /** * In Microsoft Entra entitlement management, refresh the accessPackageResource object to fetch the latest details for displayName, description, and resourceType from the origin system. For the AadApplication originSystem, this operation also updates the displayName and description for the accessPackageResourceRole. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * In Microsoft Entra entitlement management, refresh the accessPackageResource object to fetch the latest details for displayName, description, and resourceType from the origin system. For the AadApplication originSystem, this operation also updates the displayName and description for the accessPackageResourceRole. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * In Microsoft Entra entitlement management, refresh the accessPackageResource object to fetch the latest details for displayName, description, and resourceType from the origin system. For the AadApplication originSystem, this operation also updates the displayName and description for the accessPackageResourceRole. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * In Microsoft Entra entitlement management, refresh the accessPackageResource object to fetch the latest details for displayName, description, and resourceType from the origin system. For the AadApplication originSystem, this operation also updates the displayName and description for the accessPackageResourceRole. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RefreshRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RefreshRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RefreshRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/UploadSessionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/UploadSessionsRequestBuilder.java index b8e4d06dfab..ca3eabbde3b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/UploadSessionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/UploadSessionsRequestBuilder.java @@ -26,7 +26,10 @@ public class UploadSessionsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the uploadSessions property of the microsoft.graph.accessPackageResource entity. * @param customDataProvidedResourceUploadSessionId The unique identifier of customDataProvidedResourceUploadSession * @return a {@link CustomDataProvidedResourceUploadSessionItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CustomDataProvidedResourceUploadSessionItemRequestBuilder byCustomDataProvidedResourceUploadSessionId(@jakarta.annotation.Nonnull final String customDataProvidedResourceUploadSessionId) { Objects.requireNonNull(customDataProvidedResourceUploadSessionId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public UploadSessionsRequestBuilder(@jakarta.annotation.Nonnull final String raw * Get uploadSessions from identityGovernance * @return a {@link CustomDataProvidedResourceUploadSessionCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSessionCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public CustomDataProvidedResourceUploadSessionCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSessionCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSessionCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public CustomDataProvidedResourceUploadSessionCollectionResponse get(@jakarta.an * @param body The request body * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body) { return post(body, null); } @@ -97,8 +112,11 @@ public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nonnull * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nonnull /** * Get uploadSessions from identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Get uploadSessions from identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to uploadSessions for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link UploadSessionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public UploadSessionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new UploadSessionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/count/CountRequestBuilder.java index 6b28e5fc728..31c03d38e16 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/CustomDataProvidedResourceUploadSessionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/CustomDataProvidedResourceUploadSessionItemRequestBuilder.java index 333127ac487..a6fe75b8833 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/CustomDataProvidedResourceUploadSessionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/CustomDataProvidedResourceUploadSessionItemRequestBuilder.java @@ -25,7 +25,10 @@ public class CustomDataProvidedResourceUploadSessionItemRequestBuilder extends B /** * Provides operations to manage the files property of the microsoft.graph.customDataProvidedResourceUploadSession entity. * @return a {@link FilesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public FilesRequestBuilder files() { return new FilesRequestBuilder(pathParameters, requestAdapter); @@ -33,7 +36,10 @@ public FilesRequestBuilder files() { /** * Provides operations to call the uploadFile method. * @return a {@link UploadFileRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public UploadFileRequestBuilder uploadFile() { return new UploadFileRequestBuilder(pathParameters, requestAdapter); @@ -57,7 +63,10 @@ public CustomDataProvidedResourceUploadSessionItemRequestBuilder(@jakarta.annota /** * Delete navigation property uploadSessions for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -65,7 +74,10 @@ public void delete() { * Delete navigation property uploadSessions for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -76,8 +88,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Get uploadSessions from identityGovernance * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession get() { return get(null); } @@ -86,8 +101,11 @@ public CustomDataProvidedResourceUploadSession get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -99,8 +117,11 @@ public CustomDataProvidedResourceUploadSession get(@jakarta.annotation.Nullable * @param body The request body * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession patch(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body) { return patch(body, null); } @@ -110,8 +131,11 @@ public CustomDataProvidedResourceUploadSession patch(@jakarta.annotation.Nonnull * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession patch(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -122,8 +146,11 @@ public CustomDataProvidedResourceUploadSession patch(@jakarta.annotation.Nonnull /** * Delete navigation property uploadSessions for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -131,8 +158,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property uploadSessions for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -142,8 +172,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Get uploadSessions from identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -151,8 +184,11 @@ public RequestInformation toGetRequestInformation() { * Get uploadSessions from identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -163,8 +199,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property uploadSessions in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body) { return toPatchRequestInformation(body, null); } @@ -173,8 +212,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -187,8 +229,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CustomDataProvidedResourceUploadSessionItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CustomDataProvidedResourceUploadSessionItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CustomDataProvidedResourceUploadSessionItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/files/FilesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/files/FilesRequestBuilder.java index 166af926402..ebdc0efa4c6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/files/FilesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/files/FilesRequestBuilder.java @@ -25,7 +25,10 @@ public class FilesRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -34,8 +37,11 @@ public CountRequestBuilder count() { * Provides operations to manage the files property of the microsoft.graph.customDataProvidedResourceUploadSession entity. * @param customDataProvidedResourceFileId The unique identifier of customDataProvidedResourceFile * @return a {@link CustomDataProvidedResourceFileItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CustomDataProvidedResourceFileItemRequestBuilder byCustomDataProvidedResourceFileId(@jakarta.annotation.Nonnull final String customDataProvidedResourceFileId) { Objects.requireNonNull(customDataProvidedResourceFileId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -62,8 +68,11 @@ public FilesRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @return a {@link CustomDataProvidedResourceFileCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceFileCollectionResponse get() { return get(null); } @@ -72,8 +81,11 @@ public CustomDataProvidedResourceFileCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceFileCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceFileCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -83,8 +95,11 @@ public CustomDataProvidedResourceFileCollectionResponse get(@jakarta.annotation. /** * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -92,8 +107,11 @@ public RequestInformation toGetRequestInformation() { * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -104,8 +122,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link FilesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new FilesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/files/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/files/count/CountRequestBuilder.java index 24269835ea4..ba80e440721 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/files/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/files/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/files/item/CustomDataProvidedResourceFileItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/files/item/CustomDataProvidedResourceFileItemRequestBuilder.java index d2be441016d..28195103c24 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/files/item/CustomDataProvidedResourceFileItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/files/item/CustomDataProvidedResourceFileItemRequestBuilder.java @@ -24,7 +24,10 @@ public class CustomDataProvidedResourceFileItemRequestBuilder extends BaseReques /** * Provides operations to manage the media for the identityGovernance entity. * @return a {@link ContentRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ContentRequestBuilder content() { return new ContentRequestBuilder(pathParameters, requestAdapter); @@ -49,8 +52,11 @@ public CustomDataProvidedResourceFileItemRequestBuilder(@jakarta.annotation.Nonn * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @return a {@link CustomDataProvidedResourceFile} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceFile get() { return get(null); } @@ -59,8 +65,11 @@ public CustomDataProvidedResourceFile get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceFile} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceFile get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -70,8 +79,11 @@ public CustomDataProvidedResourceFile get(@jakarta.annotation.Nullable final jav /** * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -79,8 +91,11 @@ public RequestInformation toGetRequestInformation() { * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -91,8 +106,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CustomDataProvidedResourceFileItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CustomDataProvidedResourceFileItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CustomDataProvidedResourceFileItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/files/item/value/ContentRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/files/item/value/ContentRequestBuilder.java index a65648c0dbe..5fcbc452320 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/files/item/value/ContentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/files/item/value/ContentRequestBuilder.java @@ -38,7 +38,10 @@ public ContentRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j /** * The unique identifier for an entity. Read-only. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -46,7 +49,10 @@ public void delete() { * The unique identifier for an entity. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * The unique identifier for an entity. Read-only. * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public InputStream get() { return get(null); } @@ -67,8 +76,11 @@ public InputStream get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public InputStream get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -80,8 +92,11 @@ public InputStream get(@jakarta.annotation.Nullable final java.util.function.Con * @param body Binary request body * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public InputStream put(@jakarta.annotation.Nonnull final InputStream body) { return put(body, null); } @@ -91,8 +106,11 @@ public InputStream put(@jakarta.annotation.Nonnull final InputStream body) { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public InputStream put(@jakarta.annotation.Nonnull final InputStream body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPutRequestInformation(body, requestConfiguration); @@ -103,8 +121,11 @@ public InputStream put(@jakarta.annotation.Nonnull final InputStream body, @jaka /** * The unique identifier for an entity. Read-only. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -112,8 +133,11 @@ public RequestInformation toDeleteRequestInformation() { * The unique identifier for an entity. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -123,8 +147,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * The unique identifier for an entity. Read-only. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -132,8 +159,11 @@ public RequestInformation toGetRequestInformation() { * The unique identifier for an entity. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new); @@ -144,8 +174,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * The unique identifier for an entity. Read-only. * @param body Binary request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull final InputStream body) { return toPutRequestInformation(body, null); } @@ -154,8 +187,11 @@ public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull fi * @param body Binary request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull final InputStream body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PUT, urlTemplate, pathParameters); @@ -168,8 +204,11 @@ public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull fi * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ContentRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ContentRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ContentRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/uploadfile/UploadFileRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/uploadfile/UploadFileRequestBuilder.java index d5c5dd02db0..9a36274acf3 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/uploadfile/UploadFileRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/uploadfile/UploadFileRequestBuilder.java @@ -39,9 +39,12 @@ public UploadFileRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, * Upload a file in a customDataProvidedResourceUploadSession created for a customDataProvidedResource. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession post() { return post(null); } @@ -50,9 +53,12 @@ public CustomDataProvidedResourceUploadSession post() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -62,8 +68,11 @@ public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nullable /** * Upload a file in a customDataProvidedResourceUploadSession created for a customDataProvidedResource. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation() { * Upload a file in a customDataProvidedResourceUploadSession created for a customDataProvidedResource. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -83,8 +95,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link UploadFileRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public UploadFileRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new UploadFileRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/externaloriginresourceconnector/ExternalOriginResourceConnectorRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/externaloriginresourceconnector/ExternalOriginResourceConnectorRequestBuilder.java index cb10b3905b4..a88699c7bda 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/externaloriginresourceconnector/ExternalOriginResourceConnectorRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/externaloriginresourceconnector/ExternalOriginResourceConnectorRequestBuilder.java @@ -40,8 +40,11 @@ public ExternalOriginResourceConnectorRequestBuilder(@jakarta.annotation.Nonnull * The connector that integrates with external origin systems to provision access to resources from those systems. Read-only. Nullable. * @return a {@link ExternalOriginResourceConnector} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ExternalOriginResourceConnector get() { return get(null); } @@ -50,8 +53,11 @@ public ExternalOriginResourceConnector get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ExternalOriginResourceConnector} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ExternalOriginResourceConnector get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public ExternalOriginResourceConnector get(@jakarta.annotation.Nullable final ja /** * The connector that integrates with external origin systems to provision access to resources from those systems. Read-only. Nullable. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * The connector that integrates with external origin systems to provision access to resources from those systems. Read-only. Nullable. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ExternalOriginResourceConnectorRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ExternalOriginResourceConnectorRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ExternalOriginResourceConnectorRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/refresh/RefreshRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/refresh/RefreshRequestBuilder.java index 07d262a03fe..bc856a02728 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/refresh/RefreshRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/refresh/RefreshRequestBuilder.java @@ -37,8 +37,11 @@ public RefreshRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j /** * In Microsoft Entra entitlement management, refresh the accessPackageResource object to fetch the latest details for displayName, description, and resourceType from the origin system. For the AadApplication originSystem, this operation also updates the displayName and description for the accessPackageResourceRole. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * In Microsoft Entra entitlement management, refresh the accessPackageResource object to fetch the latest details for displayName, description, and resourceType from the origin system. For the AadApplication originSystem, this operation also updates the displayName and description for the accessPackageResourceRole. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * In Microsoft Entra entitlement management, refresh the accessPackageResource object to fetch the latest details for displayName, description, and resourceType from the origin system. For the AadApplication originSystem, this operation also updates the displayName and description for the accessPackageResourceRole. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * In Microsoft Entra entitlement management, refresh the accessPackageResource object to fetch the latest details for displayName, description, and resourceType from the origin system. For the AadApplication originSystem, this operation also updates the displayName and description for the accessPackageResourceRole. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RefreshRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RefreshRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RefreshRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/uploadsessions/UploadSessionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/uploadsessions/UploadSessionsRequestBuilder.java index 4823a7ff487..e0785b7efb1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/uploadsessions/UploadSessionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/uploadsessions/UploadSessionsRequestBuilder.java @@ -26,7 +26,10 @@ public class UploadSessionsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the uploadSessions property of the microsoft.graph.accessPackageResource entity. * @param customDataProvidedResourceUploadSessionId The unique identifier of customDataProvidedResourceUploadSession * @return a {@link CustomDataProvidedResourceUploadSessionItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CustomDataProvidedResourceUploadSessionItemRequestBuilder byCustomDataProvidedResourceUploadSessionId(@jakarta.annotation.Nonnull final String customDataProvidedResourceUploadSessionId) { Objects.requireNonNull(customDataProvidedResourceUploadSessionId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public UploadSessionsRequestBuilder(@jakarta.annotation.Nonnull final String raw * Get uploadSessions from identityGovernance * @return a {@link CustomDataProvidedResourceUploadSessionCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSessionCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public CustomDataProvidedResourceUploadSessionCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSessionCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSessionCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public CustomDataProvidedResourceUploadSessionCollectionResponse get(@jakarta.an * @param body The request body * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body) { return post(body, null); } @@ -97,8 +112,11 @@ public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nonnull * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nonnull /** * Get uploadSessions from identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Get uploadSessions from identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to uploadSessions for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link UploadSessionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public UploadSessionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new UploadSessionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/uploadsessions/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/uploadsessions/count/CountRequestBuilder.java index 0323152697e..dc62e6e3ed7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/uploadsessions/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/uploadsessions/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/CustomDataProvidedResourceUploadSessionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/CustomDataProvidedResourceUploadSessionItemRequestBuilder.java index 619e3796e41..a16a0aafe35 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/CustomDataProvidedResourceUploadSessionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/CustomDataProvidedResourceUploadSessionItemRequestBuilder.java @@ -25,7 +25,10 @@ public class CustomDataProvidedResourceUploadSessionItemRequestBuilder extends B /** * Provides operations to manage the files property of the microsoft.graph.customDataProvidedResourceUploadSession entity. * @return a {@link FilesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public FilesRequestBuilder files() { return new FilesRequestBuilder(pathParameters, requestAdapter); @@ -33,7 +36,10 @@ public FilesRequestBuilder files() { /** * Provides operations to call the uploadFile method. * @return a {@link UploadFileRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public UploadFileRequestBuilder uploadFile() { return new UploadFileRequestBuilder(pathParameters, requestAdapter); @@ -57,7 +63,10 @@ public CustomDataProvidedResourceUploadSessionItemRequestBuilder(@jakarta.annota /** * Delete navigation property uploadSessions for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -65,7 +74,10 @@ public void delete() { * Delete navigation property uploadSessions for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -76,8 +88,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Get uploadSessions from identityGovernance * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession get() { return get(null); } @@ -86,8 +101,11 @@ public CustomDataProvidedResourceUploadSession get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -99,8 +117,11 @@ public CustomDataProvidedResourceUploadSession get(@jakarta.annotation.Nullable * @param body The request body * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession patch(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body) { return patch(body, null); } @@ -110,8 +131,11 @@ public CustomDataProvidedResourceUploadSession patch(@jakarta.annotation.Nonnull * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession patch(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -122,8 +146,11 @@ public CustomDataProvidedResourceUploadSession patch(@jakarta.annotation.Nonnull /** * Delete navigation property uploadSessions for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -131,8 +158,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property uploadSessions for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -142,8 +172,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Get uploadSessions from identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -151,8 +184,11 @@ public RequestInformation toGetRequestInformation() { * Get uploadSessions from identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -163,8 +199,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property uploadSessions in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body) { return toPatchRequestInformation(body, null); } @@ -173,8 +212,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -187,8 +229,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CustomDataProvidedResourceUploadSessionItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CustomDataProvidedResourceUploadSessionItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CustomDataProvidedResourceUploadSessionItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/files/FilesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/files/FilesRequestBuilder.java index a361b312bbd..7698800b010 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/files/FilesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/files/FilesRequestBuilder.java @@ -25,7 +25,10 @@ public class FilesRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -34,8 +37,11 @@ public CountRequestBuilder count() { * Provides operations to manage the files property of the microsoft.graph.customDataProvidedResourceUploadSession entity. * @param customDataProvidedResourceFileId The unique identifier of customDataProvidedResourceFile * @return a {@link CustomDataProvidedResourceFileItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CustomDataProvidedResourceFileItemRequestBuilder byCustomDataProvidedResourceFileId(@jakarta.annotation.Nonnull final String customDataProvidedResourceFileId) { Objects.requireNonNull(customDataProvidedResourceFileId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -62,8 +68,11 @@ public FilesRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @return a {@link CustomDataProvidedResourceFileCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceFileCollectionResponse get() { return get(null); } @@ -72,8 +81,11 @@ public CustomDataProvidedResourceFileCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceFileCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceFileCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -83,8 +95,11 @@ public CustomDataProvidedResourceFileCollectionResponse get(@jakarta.annotation. /** * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -92,8 +107,11 @@ public RequestInformation toGetRequestInformation() { * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -104,8 +122,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link FilesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new FilesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/files/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/files/count/CountRequestBuilder.java index 5b1112149c8..735305e8f65 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/files/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/files/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/files/item/CustomDataProvidedResourceFileItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/files/item/CustomDataProvidedResourceFileItemRequestBuilder.java index 4f08aa2cd75..01fcf369b57 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/files/item/CustomDataProvidedResourceFileItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/files/item/CustomDataProvidedResourceFileItemRequestBuilder.java @@ -24,7 +24,10 @@ public class CustomDataProvidedResourceFileItemRequestBuilder extends BaseReques /** * Provides operations to manage the media for the identityGovernance entity. * @return a {@link ContentRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ContentRequestBuilder content() { return new ContentRequestBuilder(pathParameters, requestAdapter); @@ -49,8 +52,11 @@ public CustomDataProvidedResourceFileItemRequestBuilder(@jakarta.annotation.Nonn * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @return a {@link CustomDataProvidedResourceFile} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceFile get() { return get(null); } @@ -59,8 +65,11 @@ public CustomDataProvidedResourceFile get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceFile} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceFile get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -70,8 +79,11 @@ public CustomDataProvidedResourceFile get(@jakarta.annotation.Nullable final jav /** * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -79,8 +91,11 @@ public RequestInformation toGetRequestInformation() { * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -91,8 +106,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CustomDataProvidedResourceFileItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CustomDataProvidedResourceFileItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CustomDataProvidedResourceFileItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/files/item/value/ContentRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/files/item/value/ContentRequestBuilder.java index 68e5c4ee222..b0ab92a650d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/files/item/value/ContentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/files/item/value/ContentRequestBuilder.java @@ -38,7 +38,10 @@ public ContentRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j /** * The unique identifier for an entity. Read-only. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -46,7 +49,10 @@ public void delete() { * The unique identifier for an entity. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * The unique identifier for an entity. Read-only. * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public InputStream get() { return get(null); } @@ -67,8 +76,11 @@ public InputStream get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public InputStream get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -80,8 +92,11 @@ public InputStream get(@jakarta.annotation.Nullable final java.util.function.Con * @param body Binary request body * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public InputStream put(@jakarta.annotation.Nonnull final InputStream body) { return put(body, null); } @@ -91,8 +106,11 @@ public InputStream put(@jakarta.annotation.Nonnull final InputStream body) { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public InputStream put(@jakarta.annotation.Nonnull final InputStream body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPutRequestInformation(body, requestConfiguration); @@ -103,8 +121,11 @@ public InputStream put(@jakarta.annotation.Nonnull final InputStream body, @jaka /** * The unique identifier for an entity. Read-only. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -112,8 +133,11 @@ public RequestInformation toDeleteRequestInformation() { * The unique identifier for an entity. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -123,8 +147,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * The unique identifier for an entity. Read-only. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -132,8 +159,11 @@ public RequestInformation toGetRequestInformation() { * The unique identifier for an entity. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new); @@ -144,8 +174,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * The unique identifier for an entity. Read-only. * @param body Binary request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull final InputStream body) { return toPutRequestInformation(body, null); } @@ -154,8 +187,11 @@ public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull fi * @param body Binary request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull final InputStream body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PUT, urlTemplate, pathParameters); @@ -168,8 +204,11 @@ public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull fi * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ContentRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ContentRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ContentRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/uploadfile/UploadFileRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/uploadfile/UploadFileRequestBuilder.java index 0a5f7d293f9..49346c1b400 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/uploadfile/UploadFileRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/uploadfile/UploadFileRequestBuilder.java @@ -39,9 +39,12 @@ public UploadFileRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, * Upload a file in a customDataProvidedResourceUploadSession created for a customDataProvidedResource. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession post() { return post(null); } @@ -50,9 +53,12 @@ public CustomDataProvidedResourceUploadSession post() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -62,8 +68,11 @@ public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nullable /** * Upload a file in a customDataProvidedResourceUploadSession created for a customDataProvidedResource. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation() { * Upload a file in a customDataProvidedResourceUploadSession created for a customDataProvidedResource. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -83,8 +95,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link UploadFileRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public UploadFileRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new UploadFileRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/AccessPackageResourceScopeRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/AccessPackageResourceScopeRequestBuilder.java index 2f9827f0eea..a2cbbd5f916 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/AccessPackageResourceScopeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/AccessPackageResourceScopeRequestBuilder.java @@ -24,7 +24,10 @@ public class AccessPackageResourceScopeRequestBuilder extends BaseRequestBuilder /** * Provides operations to manage the accessPackageResource property of the microsoft.graph.accessPackageResourceScope entity. * @return a {@link AccessPackageResourceRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackageResourceRequestBuilder accessPackageResource() { return new AccessPackageResourceRequestBuilder(pathParameters, requestAdapter); @@ -48,7 +51,10 @@ public AccessPackageResourceScopeRequestBuilder(@jakarta.annotation.Nonnull fina /** * Delete navigation property accessPackageResourceScope for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -56,7 +62,10 @@ public void delete() { * Delete navigation property accessPackageResourceScope for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -67,8 +76,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Get accessPackageResourceScope from identityGovernance * @return a {@link AccessPackageResourceScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScope get() { return get(null); } @@ -77,8 +89,11 @@ public AccessPackageResourceScope get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScope get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -90,8 +105,11 @@ public AccessPackageResourceScope get(@jakarta.annotation.Nullable final java.ut * @param body The request body * @return a {@link AccessPackageResourceScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScope patch(@jakarta.annotation.Nonnull final AccessPackageResourceScope body) { return patch(body, null); } @@ -101,8 +119,11 @@ public AccessPackageResourceScope patch(@jakarta.annotation.Nonnull final Access * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScope patch(@jakarta.annotation.Nonnull final AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -113,8 +134,11 @@ public AccessPackageResourceScope patch(@jakarta.annotation.Nonnull final Access /** * Delete navigation property accessPackageResourceScope for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -122,8 +146,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property accessPackageResourceScope for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -133,8 +160,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Get accessPackageResourceScope from identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -142,8 +172,11 @@ public RequestInformation toGetRequestInformation() { * Get accessPackageResourceScope from identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -154,8 +187,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property accessPackageResourceScope in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceScope body) { return toPatchRequestInformation(body, null); } @@ -164,8 +200,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -178,8 +217,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceScopeRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceScopeRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceScopeRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/AccessPackageResourceRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/AccessPackageResourceRequestBuilder.java index ed46cf5f4df..12234ede5b3 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/AccessPackageResourceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/AccessPackageResourceRequestBuilder.java @@ -29,7 +29,10 @@ public class AccessPackageResourceRequestBuilder extends BaseRequestBuilder { /** * Provides operations to manage the accessPackageResourceEnvironment property of the microsoft.graph.accessPackageResource entity. * @return a {@link AccessPackageResourceEnvironmentRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackageResourceEnvironmentRequestBuilder accessPackageResourceEnvironment() { return new AccessPackageResourceEnvironmentRequestBuilder(pathParameters, requestAdapter); @@ -37,7 +40,10 @@ public AccessPackageResourceEnvironmentRequestBuilder accessPackageResourceEnvir /** * Provides operations to manage the accessPackageResourceRoles property of the microsoft.graph.accessPackageResource entity. * @return a {@link AccessPackageResourceRolesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackageResourceRolesRequestBuilder accessPackageResourceRoles() { return new AccessPackageResourceRolesRequestBuilder(pathParameters, requestAdapter); @@ -45,7 +51,10 @@ public AccessPackageResourceRolesRequestBuilder accessPackageResourceRoles() { /** * Provides operations to manage the accessPackageResourceScopes property of the microsoft.graph.accessPackageResource entity. * @return a {@link AccessPackageResourceScopesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackageResourceScopesRequestBuilder accessPackageResourceScopes() { return new AccessPackageResourceScopesRequestBuilder(pathParameters, requestAdapter); @@ -53,7 +62,10 @@ public AccessPackageResourceScopesRequestBuilder accessPackageResourceScopes() { /** * Provides operations to manage the externalOriginResourceConnector property of the microsoft.graph.accessPackageResource entity. * @return a {@link ExternalOriginResourceConnectorRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ExternalOriginResourceConnectorRequestBuilder externalOriginResourceConnector() { return new ExternalOriginResourceConnectorRequestBuilder(pathParameters, requestAdapter); @@ -61,7 +73,10 @@ public ExternalOriginResourceConnectorRequestBuilder externalOriginResourceConne /** * Provides operations to call the refresh method. * @return a {@link RefreshRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public RefreshRequestBuilder refresh() { return new RefreshRequestBuilder(pathParameters, requestAdapter); @@ -69,7 +84,10 @@ public RefreshRequestBuilder refresh() { /** * Provides operations to manage the uploadSessions property of the microsoft.graph.accessPackageResource entity. * @return a {@link UploadSessionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public UploadSessionsRequestBuilder uploadSessions() { return new UploadSessionsRequestBuilder(pathParameters, requestAdapter); @@ -93,7 +111,10 @@ public AccessPackageResourceRequestBuilder(@jakarta.annotation.Nonnull final Str /** * Delete navigation property accessPackageResource for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -101,7 +122,10 @@ public void delete() { * Delete navigation property accessPackageResource for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -112,8 +136,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Get accessPackageResource from identityGovernance * @return a {@link AccessPackageResource} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResource get() { return get(null); } @@ -122,8 +149,11 @@ public AccessPackageResource get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResource} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResource get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -135,8 +165,11 @@ public AccessPackageResource get(@jakarta.annotation.Nullable final java.util.fu * @param body The request body * @return a {@link AccessPackageResource} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResource patch(@jakarta.annotation.Nonnull final AccessPackageResource body) { return patch(body, null); } @@ -146,8 +179,11 @@ public AccessPackageResource patch(@jakarta.annotation.Nonnull final AccessPacka * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResource} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResource patch(@jakarta.annotation.Nonnull final AccessPackageResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -158,8 +194,11 @@ public AccessPackageResource patch(@jakarta.annotation.Nonnull final AccessPacka /** * Delete navigation property accessPackageResource for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -167,8 +206,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property accessPackageResource for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -178,8 +220,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Get accessPackageResource from identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -187,8 +232,11 @@ public RequestInformation toGetRequestInformation() { * Get accessPackageResource from identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -199,8 +247,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property accessPackageResource in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResource body) { return toPatchRequestInformation(body, null); } @@ -209,8 +260,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -223,8 +277,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceenvironment/AccessPackageResourceEnvironmentRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceenvironment/AccessPackageResourceEnvironmentRequestBuilder.java index aad61e19b8f..2a8969ffb92 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceenvironment/AccessPackageResourceEnvironmentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceenvironment/AccessPackageResourceEnvironmentRequestBuilder.java @@ -40,8 +40,11 @@ public AccessPackageResourceEnvironmentRequestBuilder(@jakarta.annotation.Nonnul * Contains the environment information for the resource. This environment can be set using either the @odata.bind annotation or the environment's originId. Supports $expand. * @return a {@link AccessPackageResourceEnvironment} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceEnvironment get() { return get(null); } @@ -50,8 +53,11 @@ public AccessPackageResourceEnvironment get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceEnvironment} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceEnvironment get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public AccessPackageResourceEnvironment get(@jakarta.annotation.Nullable final j /** * Contains the environment information for the resource. This environment can be set using either the @odata.bind annotation or the environment's originId. Supports $expand. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * Contains the environment information for the resource. This environment can be set using either the @odata.bind annotation or the environment's originId. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceEnvironmentRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceEnvironmentRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceEnvironmentRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java index 2df93126b59..61d42f9adca 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java @@ -26,7 +26,10 @@ public class AccessPackageResourceRolesRequestBuilder extends BaseRequestBuilder /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the accessPackageResourceRoles property of the microsoft.graph.accessPackageResource entity. * @param accessPackageResourceRoleId The unique identifier of accessPackageResourceRole * @return a {@link AccessPackageResourceRoleItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceRoleItemRequestBuilder byAccessPackageResourceRoleId(@jakarta.annotation.Nonnull final String accessPackageResourceRoleId) { Objects.requireNonNull(accessPackageResourceRoleId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public AccessPackageResourceRolesRequestBuilder(@jakarta.annotation.Nonnull fina * Read-only. Nullable. Supports $expand. * @return a {@link AccessPackageResourceRoleCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRoleCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public AccessPackageResourceRoleCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceRoleCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRoleCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public AccessPackageResourceRoleCollectionResponse get(@jakarta.annotation.Nulla * @param body The request body * @return a {@link AccessPackageResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRole post(@jakarta.annotation.Nonnull final AccessPackageResourceRole body) { return post(body, null); } @@ -97,8 +112,11 @@ public AccessPackageResourceRole post(@jakarta.annotation.Nonnull final AccessPa * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRole post(@jakarta.annotation.Nonnull final AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public AccessPackageResourceRole post(@jakarta.annotation.Nonnull final AccessPa /** * Read-only. Nullable. Supports $expand. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Read-only. Nullable. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to accessPackageResourceRoles for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRole body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceRolesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceRolesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceRolesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/count/CountRequestBuilder.java index d179d31644c..49d0ba487fe 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java index cefd3d482a1..196b57fbbcb 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java @@ -24,7 +24,10 @@ public class AccessPackageResourceRoleItemRequestBuilder extends BaseRequestBuil /** * Provides operations to manage the accessPackageResource property of the microsoft.graph.accessPackageResourceRole entity. * @return a {@link AccessPackageResourceRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackageResourceRequestBuilder accessPackageResource() { return new AccessPackageResourceRequestBuilder(pathParameters, requestAdapter); @@ -48,7 +51,10 @@ public AccessPackageResourceRoleItemRequestBuilder(@jakarta.annotation.Nonnull f /** * Delete navigation property accessPackageResourceRoles for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -56,7 +62,10 @@ public void delete() { * Delete navigation property accessPackageResourceRoles for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -67,8 +76,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Read-only. Nullable. Supports $expand. * @return a {@link AccessPackageResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRole get() { return get(null); } @@ -77,8 +89,11 @@ public AccessPackageResourceRole get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRole get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -90,8 +105,11 @@ public AccessPackageResourceRole get(@jakarta.annotation.Nullable final java.uti * @param body The request body * @return a {@link AccessPackageResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRole patch(@jakarta.annotation.Nonnull final AccessPackageResourceRole body) { return patch(body, null); } @@ -101,8 +119,11 @@ public AccessPackageResourceRole patch(@jakarta.annotation.Nonnull final AccessP * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRole patch(@jakarta.annotation.Nonnull final AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -113,8 +134,11 @@ public AccessPackageResourceRole patch(@jakarta.annotation.Nonnull final AccessP /** * Delete navigation property accessPackageResourceRoles for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -122,8 +146,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property accessPackageResourceRoles for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -133,8 +160,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Read-only. Nullable. Supports $expand. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -142,8 +172,11 @@ public RequestInformation toGetRequestInformation() { * Read-only. Nullable. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -154,8 +187,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property accessPackageResourceRoles in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRole body) { return toPatchRequestInformation(body, null); } @@ -164,8 +200,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -178,8 +217,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceRoleItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceRoleItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceRoleItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/AccessPackageResourceRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/AccessPackageResourceRequestBuilder.java index 6a88a077748..76d496fede9 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/AccessPackageResourceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/AccessPackageResourceRequestBuilder.java @@ -28,7 +28,10 @@ public class AccessPackageResourceRequestBuilder extends BaseRequestBuilder { /** * Provides operations to manage the accessPackageResourceEnvironment property of the microsoft.graph.accessPackageResource entity. * @return a {@link AccessPackageResourceEnvironmentRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackageResourceEnvironmentRequestBuilder accessPackageResourceEnvironment() { return new AccessPackageResourceEnvironmentRequestBuilder(pathParameters, requestAdapter); @@ -36,7 +39,10 @@ public AccessPackageResourceEnvironmentRequestBuilder accessPackageResourceEnvir /** * Provides operations to manage the accessPackageResourceScopes property of the microsoft.graph.accessPackageResource entity. * @return a {@link AccessPackageResourceScopesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackageResourceScopesRequestBuilder accessPackageResourceScopes() { return new AccessPackageResourceScopesRequestBuilder(pathParameters, requestAdapter); @@ -44,7 +50,10 @@ public AccessPackageResourceScopesRequestBuilder accessPackageResourceScopes() { /** * Provides operations to manage the externalOriginResourceConnector property of the microsoft.graph.accessPackageResource entity. * @return a {@link ExternalOriginResourceConnectorRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ExternalOriginResourceConnectorRequestBuilder externalOriginResourceConnector() { return new ExternalOriginResourceConnectorRequestBuilder(pathParameters, requestAdapter); @@ -52,7 +61,10 @@ public ExternalOriginResourceConnectorRequestBuilder externalOriginResourceConne /** * Provides operations to call the refresh method. * @return a {@link RefreshRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public RefreshRequestBuilder refresh() { return new RefreshRequestBuilder(pathParameters, requestAdapter); @@ -60,7 +72,10 @@ public RefreshRequestBuilder refresh() { /** * Provides operations to manage the uploadSessions property of the microsoft.graph.accessPackageResource entity. * @return a {@link UploadSessionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public UploadSessionsRequestBuilder uploadSessions() { return new UploadSessionsRequestBuilder(pathParameters, requestAdapter); @@ -84,7 +99,10 @@ public AccessPackageResourceRequestBuilder(@jakarta.annotation.Nonnull final Str /** * Delete navigation property accessPackageResource for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -92,7 +110,10 @@ public void delete() { * Delete navigation property accessPackageResource for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -103,8 +124,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Get accessPackageResource from identityGovernance * @return a {@link AccessPackageResource} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResource get() { return get(null); } @@ -113,8 +137,11 @@ public AccessPackageResource get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResource} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResource get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -126,8 +153,11 @@ public AccessPackageResource get(@jakarta.annotation.Nullable final java.util.fu * @param body The request body * @return a {@link AccessPackageResource} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResource patch(@jakarta.annotation.Nonnull final AccessPackageResource body) { return patch(body, null); } @@ -137,8 +167,11 @@ public AccessPackageResource patch(@jakarta.annotation.Nonnull final AccessPacka * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResource} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResource patch(@jakarta.annotation.Nonnull final AccessPackageResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -149,8 +182,11 @@ public AccessPackageResource patch(@jakarta.annotation.Nonnull final AccessPacka /** * Delete navigation property accessPackageResource for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -158,8 +194,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property accessPackageResource for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -169,8 +208,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Get accessPackageResource from identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -178,8 +220,11 @@ public RequestInformation toGetRequestInformation() { * Get accessPackageResource from identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -190,8 +235,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property accessPackageResource in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResource body) { return toPatchRequestInformation(body, null); } @@ -200,8 +248,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -214,8 +265,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourceenvironment/AccessPackageResourceEnvironmentRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourceenvironment/AccessPackageResourceEnvironmentRequestBuilder.java index ee56bcc3cf4..57f87052f13 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourceenvironment/AccessPackageResourceEnvironmentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourceenvironment/AccessPackageResourceEnvironmentRequestBuilder.java @@ -40,8 +40,11 @@ public AccessPackageResourceEnvironmentRequestBuilder(@jakarta.annotation.Nonnul * Contains the environment information for the resource. This environment can be set using either the @odata.bind annotation or the environment's originId. Supports $expand. * @return a {@link AccessPackageResourceEnvironment} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceEnvironment get() { return get(null); } @@ -50,8 +53,11 @@ public AccessPackageResourceEnvironment get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceEnvironment} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceEnvironment get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public AccessPackageResourceEnvironment get(@jakarta.annotation.Nullable final j /** * Contains the environment information for the resource. This environment can be set using either the @odata.bind annotation or the environment's originId. Supports $expand. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * Contains the environment information for the resource. This environment can be set using either the @odata.bind annotation or the environment's originId. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceEnvironmentRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceEnvironmentRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceEnvironmentRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java index bb3f3aca52a..1090766d093 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java @@ -26,7 +26,10 @@ public class AccessPackageResourceScopesRequestBuilder extends BaseRequestBuilde /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the accessPackageResourceScopes property of the microsoft.graph.accessPackageResource entity. * @param accessPackageResourceScopeId The unique identifier of accessPackageResourceScope * @return a {@link AccessPackageResourceScopeItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceScopeItemRequestBuilder byAccessPackageResourceScopeId(@jakarta.annotation.Nonnull final String accessPackageResourceScopeId) { Objects.requireNonNull(accessPackageResourceScopeId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public AccessPackageResourceScopesRequestBuilder(@jakarta.annotation.Nonnull fin * Read-only. Nullable. Supports $expand. * @return a {@link AccessPackageResourceScopeCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScopeCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public AccessPackageResourceScopeCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceScopeCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScopeCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public AccessPackageResourceScopeCollectionResponse get(@jakarta.annotation.Null * @param body The request body * @return a {@link AccessPackageResourceScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScope post(@jakarta.annotation.Nonnull final AccessPackageResourceScope body) { return post(body, null); } @@ -97,8 +112,11 @@ public AccessPackageResourceScope post(@jakarta.annotation.Nonnull final AccessP * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScope post(@jakarta.annotation.Nonnull final AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public AccessPackageResourceScope post(@jakarta.annotation.Nonnull final AccessP /** * Read-only. Nullable. Supports $expand. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Read-only. Nullable. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to accessPackageResourceScopes for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceScope body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceScopesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceScopesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceScopesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/count/CountRequestBuilder.java index 11c31598213..a0f581591ce 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java index a02af2a81c9..bfde1b64c75 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java @@ -39,7 +39,10 @@ public AccessPackageResourceScopeItemRequestBuilder(@jakarta.annotation.Nonnull /** * Delete navigation property accessPackageResourceScopes for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -47,7 +50,10 @@ public void delete() { * Delete navigation property accessPackageResourceScopes for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -58,8 +64,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Read-only. Nullable. Supports $expand. * @return a {@link AccessPackageResourceScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScope get() { return get(null); } @@ -68,8 +77,11 @@ public AccessPackageResourceScope get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScope get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -81,8 +93,11 @@ public AccessPackageResourceScope get(@jakarta.annotation.Nullable final java.ut * @param body The request body * @return a {@link AccessPackageResourceScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScope patch(@jakarta.annotation.Nonnull final AccessPackageResourceScope body) { return patch(body, null); } @@ -92,8 +107,11 @@ public AccessPackageResourceScope patch(@jakarta.annotation.Nonnull final Access * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScope patch(@jakarta.annotation.Nonnull final AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -104,8 +122,11 @@ public AccessPackageResourceScope patch(@jakarta.annotation.Nonnull final Access /** * Delete navigation property accessPackageResourceScopes for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -113,8 +134,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property accessPackageResourceScopes for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Read-only. Nullable. Supports $expand. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -133,8 +160,11 @@ public RequestInformation toGetRequestInformation() { * Read-only. Nullable. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -145,8 +175,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property accessPackageResourceScopes in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceScope body) { return toPatchRequestInformation(body, null); } @@ -155,8 +188,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -169,8 +205,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceScopeItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceScopeItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceScopeItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/externaloriginresourceconnector/ExternalOriginResourceConnectorRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/externaloriginresourceconnector/ExternalOriginResourceConnectorRequestBuilder.java index b5c471539f5..dbf31c0312f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/externaloriginresourceconnector/ExternalOriginResourceConnectorRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/externaloriginresourceconnector/ExternalOriginResourceConnectorRequestBuilder.java @@ -40,8 +40,11 @@ public ExternalOriginResourceConnectorRequestBuilder(@jakarta.annotation.Nonnull * The connector that integrates with external origin systems to provision access to resources from those systems. Read-only. Nullable. * @return a {@link ExternalOriginResourceConnector} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ExternalOriginResourceConnector get() { return get(null); } @@ -50,8 +53,11 @@ public ExternalOriginResourceConnector get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ExternalOriginResourceConnector} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ExternalOriginResourceConnector get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public ExternalOriginResourceConnector get(@jakarta.annotation.Nullable final ja /** * The connector that integrates with external origin systems to provision access to resources from those systems. Read-only. Nullable. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * The connector that integrates with external origin systems to provision access to resources from those systems. Read-only. Nullable. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ExternalOriginResourceConnectorRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ExternalOriginResourceConnectorRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ExternalOriginResourceConnectorRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/refresh/RefreshRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/refresh/RefreshRequestBuilder.java index a8082762285..b2a031c0155 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/refresh/RefreshRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/refresh/RefreshRequestBuilder.java @@ -37,8 +37,11 @@ public RefreshRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j /** * In Microsoft Entra entitlement management, refresh the accessPackageResource object to fetch the latest details for displayName, description, and resourceType from the origin system. For the AadApplication originSystem, this operation also updates the displayName and description for the accessPackageResourceRole. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * In Microsoft Entra entitlement management, refresh the accessPackageResource object to fetch the latest details for displayName, description, and resourceType from the origin system. For the AadApplication originSystem, this operation also updates the displayName and description for the accessPackageResourceRole. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * In Microsoft Entra entitlement management, refresh the accessPackageResource object to fetch the latest details for displayName, description, and resourceType from the origin system. For the AadApplication originSystem, this operation also updates the displayName and description for the accessPackageResourceRole. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * In Microsoft Entra entitlement management, refresh the accessPackageResource object to fetch the latest details for displayName, description, and resourceType from the origin system. For the AadApplication originSystem, this operation also updates the displayName and description for the accessPackageResourceRole. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RefreshRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RefreshRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RefreshRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/UploadSessionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/UploadSessionsRequestBuilder.java index 684c3584199..0be5a3514d8 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/UploadSessionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/UploadSessionsRequestBuilder.java @@ -26,7 +26,10 @@ public class UploadSessionsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the uploadSessions property of the microsoft.graph.accessPackageResource entity. * @param customDataProvidedResourceUploadSessionId The unique identifier of customDataProvidedResourceUploadSession * @return a {@link CustomDataProvidedResourceUploadSessionItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CustomDataProvidedResourceUploadSessionItemRequestBuilder byCustomDataProvidedResourceUploadSessionId(@jakarta.annotation.Nonnull final String customDataProvidedResourceUploadSessionId) { Objects.requireNonNull(customDataProvidedResourceUploadSessionId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public UploadSessionsRequestBuilder(@jakarta.annotation.Nonnull final String raw * Get uploadSessions from identityGovernance * @return a {@link CustomDataProvidedResourceUploadSessionCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSessionCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public CustomDataProvidedResourceUploadSessionCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSessionCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSessionCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public CustomDataProvidedResourceUploadSessionCollectionResponse get(@jakarta.an * @param body The request body * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body) { return post(body, null); } @@ -97,8 +112,11 @@ public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nonnull * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nonnull /** * Get uploadSessions from identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Get uploadSessions from identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to uploadSessions for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link UploadSessionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public UploadSessionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new UploadSessionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/count/CountRequestBuilder.java index ac9f5c55e8c..dcbc2eb61ec 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/CustomDataProvidedResourceUploadSessionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/CustomDataProvidedResourceUploadSessionItemRequestBuilder.java index f2e477d0070..59f2f0c323e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/CustomDataProvidedResourceUploadSessionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/CustomDataProvidedResourceUploadSessionItemRequestBuilder.java @@ -25,7 +25,10 @@ public class CustomDataProvidedResourceUploadSessionItemRequestBuilder extends B /** * Provides operations to manage the files property of the microsoft.graph.customDataProvidedResourceUploadSession entity. * @return a {@link FilesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public FilesRequestBuilder files() { return new FilesRequestBuilder(pathParameters, requestAdapter); @@ -33,7 +36,10 @@ public FilesRequestBuilder files() { /** * Provides operations to call the uploadFile method. * @return a {@link UploadFileRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public UploadFileRequestBuilder uploadFile() { return new UploadFileRequestBuilder(pathParameters, requestAdapter); @@ -57,7 +63,10 @@ public CustomDataProvidedResourceUploadSessionItemRequestBuilder(@jakarta.annota /** * Delete navigation property uploadSessions for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -65,7 +74,10 @@ public void delete() { * Delete navigation property uploadSessions for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -76,8 +88,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Get uploadSessions from identityGovernance * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession get() { return get(null); } @@ -86,8 +101,11 @@ public CustomDataProvidedResourceUploadSession get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -99,8 +117,11 @@ public CustomDataProvidedResourceUploadSession get(@jakarta.annotation.Nullable * @param body The request body * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession patch(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body) { return patch(body, null); } @@ -110,8 +131,11 @@ public CustomDataProvidedResourceUploadSession patch(@jakarta.annotation.Nonnull * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession patch(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -122,8 +146,11 @@ public CustomDataProvidedResourceUploadSession patch(@jakarta.annotation.Nonnull /** * Delete navigation property uploadSessions for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -131,8 +158,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property uploadSessions for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -142,8 +172,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Get uploadSessions from identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -151,8 +184,11 @@ public RequestInformation toGetRequestInformation() { * Get uploadSessions from identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -163,8 +199,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property uploadSessions in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body) { return toPatchRequestInformation(body, null); } @@ -173,8 +212,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -187,8 +229,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CustomDataProvidedResourceUploadSessionItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CustomDataProvidedResourceUploadSessionItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CustomDataProvidedResourceUploadSessionItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/files/FilesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/files/FilesRequestBuilder.java index 7af7e871735..0f813063d45 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/files/FilesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/files/FilesRequestBuilder.java @@ -25,7 +25,10 @@ public class FilesRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -34,8 +37,11 @@ public CountRequestBuilder count() { * Provides operations to manage the files property of the microsoft.graph.customDataProvidedResourceUploadSession entity. * @param customDataProvidedResourceFileId The unique identifier of customDataProvidedResourceFile * @return a {@link CustomDataProvidedResourceFileItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CustomDataProvidedResourceFileItemRequestBuilder byCustomDataProvidedResourceFileId(@jakarta.annotation.Nonnull final String customDataProvidedResourceFileId) { Objects.requireNonNull(customDataProvidedResourceFileId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -62,8 +68,11 @@ public FilesRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @return a {@link CustomDataProvidedResourceFileCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceFileCollectionResponse get() { return get(null); } @@ -72,8 +81,11 @@ public CustomDataProvidedResourceFileCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceFileCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceFileCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -83,8 +95,11 @@ public CustomDataProvidedResourceFileCollectionResponse get(@jakarta.annotation. /** * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -92,8 +107,11 @@ public RequestInformation toGetRequestInformation() { * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -104,8 +122,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link FilesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new FilesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/files/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/files/count/CountRequestBuilder.java index 29a2a5ede96..c62c4280d85 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/files/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/files/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/files/item/CustomDataProvidedResourceFileItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/files/item/CustomDataProvidedResourceFileItemRequestBuilder.java index c52310a7e4e..a8f593bd5f6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/files/item/CustomDataProvidedResourceFileItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/files/item/CustomDataProvidedResourceFileItemRequestBuilder.java @@ -24,7 +24,10 @@ public class CustomDataProvidedResourceFileItemRequestBuilder extends BaseReques /** * Provides operations to manage the media for the identityGovernance entity. * @return a {@link ContentRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ContentRequestBuilder content() { return new ContentRequestBuilder(pathParameters, requestAdapter); @@ -49,8 +52,11 @@ public CustomDataProvidedResourceFileItemRequestBuilder(@jakarta.annotation.Nonn * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @return a {@link CustomDataProvidedResourceFile} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceFile get() { return get(null); } @@ -59,8 +65,11 @@ public CustomDataProvidedResourceFile get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceFile} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceFile get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -70,8 +79,11 @@ public CustomDataProvidedResourceFile get(@jakarta.annotation.Nullable final jav /** * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -79,8 +91,11 @@ public RequestInformation toGetRequestInformation() { * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -91,8 +106,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CustomDataProvidedResourceFileItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CustomDataProvidedResourceFileItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CustomDataProvidedResourceFileItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/files/item/value/ContentRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/files/item/value/ContentRequestBuilder.java index 5e4812203dd..f820317b724 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/files/item/value/ContentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/files/item/value/ContentRequestBuilder.java @@ -38,7 +38,10 @@ public ContentRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j /** * The unique identifier for an entity. Read-only. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -46,7 +49,10 @@ public void delete() { * The unique identifier for an entity. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * The unique identifier for an entity. Read-only. * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public InputStream get() { return get(null); } @@ -67,8 +76,11 @@ public InputStream get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public InputStream get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -80,8 +92,11 @@ public InputStream get(@jakarta.annotation.Nullable final java.util.function.Con * @param body Binary request body * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public InputStream put(@jakarta.annotation.Nonnull final InputStream body) { return put(body, null); } @@ -91,8 +106,11 @@ public InputStream put(@jakarta.annotation.Nonnull final InputStream body) { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public InputStream put(@jakarta.annotation.Nonnull final InputStream body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPutRequestInformation(body, requestConfiguration); @@ -103,8 +121,11 @@ public InputStream put(@jakarta.annotation.Nonnull final InputStream body, @jaka /** * The unique identifier for an entity. Read-only. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -112,8 +133,11 @@ public RequestInformation toDeleteRequestInformation() { * The unique identifier for an entity. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -123,8 +147,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * The unique identifier for an entity. Read-only. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -132,8 +159,11 @@ public RequestInformation toGetRequestInformation() { * The unique identifier for an entity. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new); @@ -144,8 +174,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * The unique identifier for an entity. Read-only. * @param body Binary request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull final InputStream body) { return toPutRequestInformation(body, null); } @@ -154,8 +187,11 @@ public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull fi * @param body Binary request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull final InputStream body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PUT, urlTemplate, pathParameters); @@ -168,8 +204,11 @@ public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull fi * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ContentRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ContentRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ContentRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/uploadfile/UploadFileRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/uploadfile/UploadFileRequestBuilder.java index a49b5cb1aa3..b37a0faa6be 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/uploadfile/UploadFileRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/uploadfile/UploadFileRequestBuilder.java @@ -39,9 +39,12 @@ public UploadFileRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, * Upload a file in a customDataProvidedResourceUploadSession created for a customDataProvidedResource. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession post() { return post(null); } @@ -50,9 +53,12 @@ public CustomDataProvidedResourceUploadSession post() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -62,8 +68,11 @@ public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nullable /** * Upload a file in a customDataProvidedResourceUploadSession created for a customDataProvidedResource. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation() { * Upload a file in a customDataProvidedResourceUploadSession created for a customDataProvidedResource. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -83,8 +95,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link UploadFileRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public UploadFileRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new UploadFileRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java index 0a35576a683..eac86c7ecf6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java @@ -26,7 +26,10 @@ public class AccessPackageResourceScopesRequestBuilder extends BaseRequestBuilde /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the accessPackageResourceScopes property of the microsoft.graph.accessPackageResource entity. * @param accessPackageResourceScopeId The unique identifier of accessPackageResourceScope * @return a {@link AccessPackageResourceScopeItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceScopeItemRequestBuilder byAccessPackageResourceScopeId(@jakarta.annotation.Nonnull final String accessPackageResourceScopeId) { Objects.requireNonNull(accessPackageResourceScopeId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public AccessPackageResourceScopesRequestBuilder(@jakarta.annotation.Nonnull fin * Read-only. Nullable. Supports $expand. * @return a {@link AccessPackageResourceScopeCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScopeCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public AccessPackageResourceScopeCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceScopeCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScopeCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public AccessPackageResourceScopeCollectionResponse get(@jakarta.annotation.Null * @param body The request body * @return a {@link AccessPackageResourceScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScope post(@jakarta.annotation.Nonnull final AccessPackageResourceScope body) { return post(body, null); } @@ -97,8 +112,11 @@ public AccessPackageResourceScope post(@jakarta.annotation.Nonnull final AccessP * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScope post(@jakarta.annotation.Nonnull final AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public AccessPackageResourceScope post(@jakarta.annotation.Nonnull final AccessP /** * Read-only. Nullable. Supports $expand. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Read-only. Nullable. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to accessPackageResourceScopes for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceScope body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceScopesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceScopesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceScopesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourcescopes/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourcescopes/count/CountRequestBuilder.java index b1412d415b7..5d90eda4d6b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourcescopes/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourcescopes/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java index 8d48b511db9..034bd4edcb2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java @@ -39,7 +39,10 @@ public AccessPackageResourceScopeItemRequestBuilder(@jakarta.annotation.Nonnull /** * Delete navigation property accessPackageResourceScopes for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -47,7 +50,10 @@ public void delete() { * Delete navigation property accessPackageResourceScopes for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -58,8 +64,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Read-only. Nullable. Supports $expand. * @return a {@link AccessPackageResourceScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScope get() { return get(null); } @@ -68,8 +77,11 @@ public AccessPackageResourceScope get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScope get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -81,8 +93,11 @@ public AccessPackageResourceScope get(@jakarta.annotation.Nullable final java.ut * @param body The request body * @return a {@link AccessPackageResourceScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScope patch(@jakarta.annotation.Nonnull final AccessPackageResourceScope body) { return patch(body, null); } @@ -92,8 +107,11 @@ public AccessPackageResourceScope patch(@jakarta.annotation.Nonnull final Access * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScope patch(@jakarta.annotation.Nonnull final AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -104,8 +122,11 @@ public AccessPackageResourceScope patch(@jakarta.annotation.Nonnull final Access /** * Delete navigation property accessPackageResourceScopes for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -113,8 +134,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property accessPackageResourceScopes for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Read-only. Nullable. Supports $expand. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -133,8 +160,11 @@ public RequestInformation toGetRequestInformation() { * Read-only. Nullable. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -145,8 +175,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property accessPackageResourceScopes in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceScope body) { return toPatchRequestInformation(body, null); } @@ -155,8 +188,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -169,8 +205,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceScopeItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceScopeItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceScopeItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/externaloriginresourceconnector/ExternalOriginResourceConnectorRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/externaloriginresourceconnector/ExternalOriginResourceConnectorRequestBuilder.java index 93f7c20fc13..29f88600366 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/externaloriginresourceconnector/ExternalOriginResourceConnectorRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/externaloriginresourceconnector/ExternalOriginResourceConnectorRequestBuilder.java @@ -40,8 +40,11 @@ public ExternalOriginResourceConnectorRequestBuilder(@jakarta.annotation.Nonnull * The connector that integrates with external origin systems to provision access to resources from those systems. Read-only. Nullable. * @return a {@link ExternalOriginResourceConnector} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ExternalOriginResourceConnector get() { return get(null); } @@ -50,8 +53,11 @@ public ExternalOriginResourceConnector get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ExternalOriginResourceConnector} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ExternalOriginResourceConnector get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public ExternalOriginResourceConnector get(@jakarta.annotation.Nullable final ja /** * The connector that integrates with external origin systems to provision access to resources from those systems. Read-only. Nullable. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * The connector that integrates with external origin systems to provision access to resources from those systems. Read-only. Nullable. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ExternalOriginResourceConnectorRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ExternalOriginResourceConnectorRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ExternalOriginResourceConnectorRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/refresh/RefreshRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/refresh/RefreshRequestBuilder.java index 96f604dd45a..4443189ea86 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/refresh/RefreshRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/refresh/RefreshRequestBuilder.java @@ -37,8 +37,11 @@ public RefreshRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j /** * In Microsoft Entra entitlement management, refresh the accessPackageResource object to fetch the latest details for displayName, description, and resourceType from the origin system. For the AadApplication originSystem, this operation also updates the displayName and description for the accessPackageResourceRole. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * In Microsoft Entra entitlement management, refresh the accessPackageResource object to fetch the latest details for displayName, description, and resourceType from the origin system. For the AadApplication originSystem, this operation also updates the displayName and description for the accessPackageResourceRole. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * In Microsoft Entra entitlement management, refresh the accessPackageResource object to fetch the latest details for displayName, description, and resourceType from the origin system. For the AadApplication originSystem, this operation also updates the displayName and description for the accessPackageResourceRole. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * In Microsoft Entra entitlement management, refresh the accessPackageResource object to fetch the latest details for displayName, description, and resourceType from the origin system. For the AadApplication originSystem, this operation also updates the displayName and description for the accessPackageResourceRole. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RefreshRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RefreshRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RefreshRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/uploadsessions/UploadSessionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/uploadsessions/UploadSessionsRequestBuilder.java index f52107a9e29..66a242c63b4 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/uploadsessions/UploadSessionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/uploadsessions/UploadSessionsRequestBuilder.java @@ -26,7 +26,10 @@ public class UploadSessionsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the uploadSessions property of the microsoft.graph.accessPackageResource entity. * @param customDataProvidedResourceUploadSessionId The unique identifier of customDataProvidedResourceUploadSession * @return a {@link CustomDataProvidedResourceUploadSessionItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CustomDataProvidedResourceUploadSessionItemRequestBuilder byCustomDataProvidedResourceUploadSessionId(@jakarta.annotation.Nonnull final String customDataProvidedResourceUploadSessionId) { Objects.requireNonNull(customDataProvidedResourceUploadSessionId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public UploadSessionsRequestBuilder(@jakarta.annotation.Nonnull final String raw * Get uploadSessions from identityGovernance * @return a {@link CustomDataProvidedResourceUploadSessionCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSessionCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public CustomDataProvidedResourceUploadSessionCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSessionCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSessionCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public CustomDataProvidedResourceUploadSessionCollectionResponse get(@jakarta.an * @param body The request body * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body) { return post(body, null); } @@ -97,8 +112,11 @@ public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nonnull * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nonnull /** * Get uploadSessions from identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Get uploadSessions from identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to uploadSessions for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link UploadSessionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public UploadSessionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new UploadSessionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/uploadsessions/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/uploadsessions/count/CountRequestBuilder.java index 5ab29b2e427..a37a1038272 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/uploadsessions/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/uploadsessions/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/CustomDataProvidedResourceUploadSessionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/CustomDataProvidedResourceUploadSessionItemRequestBuilder.java index 5d522ec8fbe..1f0d8fccaee 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/CustomDataProvidedResourceUploadSessionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/CustomDataProvidedResourceUploadSessionItemRequestBuilder.java @@ -25,7 +25,10 @@ public class CustomDataProvidedResourceUploadSessionItemRequestBuilder extends B /** * Provides operations to manage the files property of the microsoft.graph.customDataProvidedResourceUploadSession entity. * @return a {@link FilesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public FilesRequestBuilder files() { return new FilesRequestBuilder(pathParameters, requestAdapter); @@ -33,7 +36,10 @@ public FilesRequestBuilder files() { /** * Provides operations to call the uploadFile method. * @return a {@link UploadFileRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public UploadFileRequestBuilder uploadFile() { return new UploadFileRequestBuilder(pathParameters, requestAdapter); @@ -57,7 +63,10 @@ public CustomDataProvidedResourceUploadSessionItemRequestBuilder(@jakarta.annota /** * Delete navigation property uploadSessions for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -65,7 +74,10 @@ public void delete() { * Delete navigation property uploadSessions for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -76,8 +88,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Get uploadSessions from identityGovernance * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession get() { return get(null); } @@ -86,8 +101,11 @@ public CustomDataProvidedResourceUploadSession get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -99,8 +117,11 @@ public CustomDataProvidedResourceUploadSession get(@jakarta.annotation.Nullable * @param body The request body * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession patch(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body) { return patch(body, null); } @@ -110,8 +131,11 @@ public CustomDataProvidedResourceUploadSession patch(@jakarta.annotation.Nonnull * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession patch(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -122,8 +146,11 @@ public CustomDataProvidedResourceUploadSession patch(@jakarta.annotation.Nonnull /** * Delete navigation property uploadSessions for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -131,8 +158,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property uploadSessions for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -142,8 +172,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Get uploadSessions from identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -151,8 +184,11 @@ public RequestInformation toGetRequestInformation() { * Get uploadSessions from identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -163,8 +199,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property uploadSessions in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body) { return toPatchRequestInformation(body, null); } @@ -173,8 +212,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -187,8 +229,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CustomDataProvidedResourceUploadSessionItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CustomDataProvidedResourceUploadSessionItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CustomDataProvidedResourceUploadSessionItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/files/FilesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/files/FilesRequestBuilder.java index 483b58a24dd..77e262a1c66 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/files/FilesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/files/FilesRequestBuilder.java @@ -25,7 +25,10 @@ public class FilesRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -34,8 +37,11 @@ public CountRequestBuilder count() { * Provides operations to manage the files property of the microsoft.graph.customDataProvidedResourceUploadSession entity. * @param customDataProvidedResourceFileId The unique identifier of customDataProvidedResourceFile * @return a {@link CustomDataProvidedResourceFileItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CustomDataProvidedResourceFileItemRequestBuilder byCustomDataProvidedResourceFileId(@jakarta.annotation.Nonnull final String customDataProvidedResourceFileId) { Objects.requireNonNull(customDataProvidedResourceFileId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -62,8 +68,11 @@ public FilesRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @return a {@link CustomDataProvidedResourceFileCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceFileCollectionResponse get() { return get(null); } @@ -72,8 +81,11 @@ public CustomDataProvidedResourceFileCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceFileCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceFileCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -83,8 +95,11 @@ public CustomDataProvidedResourceFileCollectionResponse get(@jakarta.annotation. /** * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -92,8 +107,11 @@ public RequestInformation toGetRequestInformation() { * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -104,8 +122,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link FilesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new FilesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/files/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/files/count/CountRequestBuilder.java index f9022b40808..7fbe8b7df90 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/files/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/files/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/files/item/CustomDataProvidedResourceFileItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/files/item/CustomDataProvidedResourceFileItemRequestBuilder.java index 3b503debb3b..4623ce47c2b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/files/item/CustomDataProvidedResourceFileItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/files/item/CustomDataProvidedResourceFileItemRequestBuilder.java @@ -24,7 +24,10 @@ public class CustomDataProvidedResourceFileItemRequestBuilder extends BaseReques /** * Provides operations to manage the media for the identityGovernance entity. * @return a {@link ContentRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ContentRequestBuilder content() { return new ContentRequestBuilder(pathParameters, requestAdapter); @@ -49,8 +52,11 @@ public CustomDataProvidedResourceFileItemRequestBuilder(@jakarta.annotation.Nonn * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @return a {@link CustomDataProvidedResourceFile} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceFile get() { return get(null); } @@ -59,8 +65,11 @@ public CustomDataProvidedResourceFile get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceFile} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceFile get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -70,8 +79,11 @@ public CustomDataProvidedResourceFile get(@jakarta.annotation.Nullable final jav /** * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -79,8 +91,11 @@ public RequestInformation toGetRequestInformation() { * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -91,8 +106,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CustomDataProvidedResourceFileItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CustomDataProvidedResourceFileItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CustomDataProvidedResourceFileItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/files/item/value/ContentRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/files/item/value/ContentRequestBuilder.java index 17fe56f596d..2d4fd275aca 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/files/item/value/ContentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/files/item/value/ContentRequestBuilder.java @@ -38,7 +38,10 @@ public ContentRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j /** * The unique identifier for an entity. Read-only. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -46,7 +49,10 @@ public void delete() { * The unique identifier for an entity. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * The unique identifier for an entity. Read-only. * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public InputStream get() { return get(null); } @@ -67,8 +76,11 @@ public InputStream get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public InputStream get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -80,8 +92,11 @@ public InputStream get(@jakarta.annotation.Nullable final java.util.function.Con * @param body Binary request body * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public InputStream put(@jakarta.annotation.Nonnull final InputStream body) { return put(body, null); } @@ -91,8 +106,11 @@ public InputStream put(@jakarta.annotation.Nonnull final InputStream body) { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public InputStream put(@jakarta.annotation.Nonnull final InputStream body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPutRequestInformation(body, requestConfiguration); @@ -103,8 +121,11 @@ public InputStream put(@jakarta.annotation.Nonnull final InputStream body, @jaka /** * The unique identifier for an entity. Read-only. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -112,8 +133,11 @@ public RequestInformation toDeleteRequestInformation() { * The unique identifier for an entity. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -123,8 +147,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * The unique identifier for an entity. Read-only. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -132,8 +159,11 @@ public RequestInformation toGetRequestInformation() { * The unique identifier for an entity. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new); @@ -144,8 +174,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * The unique identifier for an entity. Read-only. * @param body Binary request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull final InputStream body) { return toPutRequestInformation(body, null); } @@ -154,8 +187,11 @@ public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull fi * @param body Binary request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull final InputStream body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PUT, urlTemplate, pathParameters); @@ -168,8 +204,11 @@ public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull fi * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ContentRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ContentRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ContentRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/uploadfile/UploadFileRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/uploadfile/UploadFileRequestBuilder.java index 0358cd8b2c8..34c8f7e398f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/uploadfile/UploadFileRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/uploadfile/UploadFileRequestBuilder.java @@ -39,9 +39,12 @@ public UploadFileRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, * Upload a file in a customDataProvidedResourceUploadSession created for a customDataProvidedResource. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession post() { return post(null); } @@ -50,9 +53,12 @@ public CustomDataProvidedResourceUploadSession post() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -62,8 +68,11 @@ public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nullable /** * Upload a file in a customDataProvidedResourceUploadSession created for a customDataProvidedResource. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation() { * Upload a file in a customDataProvidedResourceUploadSession created for a customDataProvidedResource. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -83,8 +95,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link UploadFileRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public UploadFileRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new UploadFileRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackagesubject/AccessPackageSubjectRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackagesubject/AccessPackageSubjectRequestBuilder.java index ed14c913f3c..bccbb813a06 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackagesubject/AccessPackageSubjectRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackagesubject/AccessPackageSubjectRequestBuilder.java @@ -24,7 +24,10 @@ public class AccessPackageSubjectRequestBuilder extends BaseRequestBuilder { /** * Provides operations to manage the connectedOrganization property of the microsoft.graph.accessPackageSubject entity. * @return a {@link ConnectedOrganizationRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ConnectedOrganizationRequestBuilder connectedOrganization() { return new ConnectedOrganizationRequestBuilder(pathParameters, requestAdapter); @@ -48,7 +51,10 @@ public AccessPackageSubjectRequestBuilder(@jakarta.annotation.Nonnull final Stri /** * Delete navigation property accessPackageSubject for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -56,7 +62,10 @@ public void delete() { * Delete navigation property accessPackageSubject for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -67,8 +76,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Read-only. Nullable. Supports $filter (eq) on objectId and $expand query parameters. * @return a {@link AccessPackageSubject} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageSubject get() { return get(null); } @@ -77,8 +89,11 @@ public AccessPackageSubject get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageSubject} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageSubject get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -90,8 +105,11 @@ public AccessPackageSubject get(@jakarta.annotation.Nullable final java.util.fun * @param body The request body * @return a {@link AccessPackageSubject} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageSubject patch(@jakarta.annotation.Nonnull final AccessPackageSubject body) { return patch(body, null); } @@ -101,8 +119,11 @@ public AccessPackageSubject patch(@jakarta.annotation.Nonnull final AccessPackag * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageSubject} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageSubject patch(@jakarta.annotation.Nonnull final AccessPackageSubject body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -113,8 +134,11 @@ public AccessPackageSubject patch(@jakarta.annotation.Nonnull final AccessPackag /** * Delete navigation property accessPackageSubject for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -122,8 +146,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property accessPackageSubject for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -133,8 +160,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Read-only. Nullable. Supports $filter (eq) on objectId and $expand query parameters. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -142,8 +172,11 @@ public RequestInformation toGetRequestInformation() { * Read-only. Nullable. Supports $filter (eq) on objectId and $expand query parameters. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -154,8 +187,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property accessPackageSubject in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageSubject body) { return toPatchRequestInformation(body, null); } @@ -164,8 +200,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageSubject body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -178,8 +217,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageSubjectRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageSubjectRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageSubjectRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackagesubject/connectedorganization/ConnectedOrganizationRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackagesubject/connectedorganization/ConnectedOrganizationRequestBuilder.java index cfefd6c977d..b0c0936d4fa 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackagesubject/connectedorganization/ConnectedOrganizationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackagesubject/connectedorganization/ConnectedOrganizationRequestBuilder.java @@ -40,8 +40,11 @@ public ConnectedOrganizationRequestBuilder(@jakarta.annotation.Nonnull final Str * The connected organization of the subject. Read-only. Nullable. * @return a {@link ConnectedOrganization} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ConnectedOrganization get() { return get(null); } @@ -50,8 +53,11 @@ public ConnectedOrganization get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ConnectedOrganization} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ConnectedOrganization get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public ConnectedOrganization get(@jakarta.annotation.Nullable final java.util.fu /** * The connected organization of the subject. Read-only. Nullable. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * The connected organization of the subject. Read-only. Nullable. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ConnectedOrganizationRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ConnectedOrganizationRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ConnectedOrganizationRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/my/MyRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/my/MyRequestBuilder.java index d94bf81ea5a..9ac7bb8b8bf 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/my/MyRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/my/MyRequestBuilder.java @@ -39,8 +39,11 @@ public MyRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakart * Invoke function My * @return a {@link MyGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MyGetResponse get() { return get(null); } @@ -49,8 +52,11 @@ public MyGetResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MyGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MyGetResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public MyGetResponse get(@jakarta.annotation.Nullable final java.util.function.C /** * Invoke function My * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Invoke function My * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link MyRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public MyRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new MyRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/AccessPackageAssignmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/AccessPackageAssignmentsRequestBuilder.java index 66fc3b4bcdb..90efc160911 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/AccessPackageAssignmentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/AccessPackageAssignmentsRequestBuilder.java @@ -29,7 +29,10 @@ public class AccessPackageAssignmentsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to call the additionalAccess method. * @return a {@link AdditionalAccessRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AdditionalAccessRequestBuilder additionalAccess() { return new AdditionalAccessRequestBuilder(pathParameters, requestAdapter); @@ -37,7 +40,10 @@ public AdditionalAccessRequestBuilder additionalAccess() { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -47,8 +53,11 @@ public CountRequestBuilder count() { * @param accessPackageId Usage: accessPackageId='{accessPackageId}' * @param incompatibleAccessPackageId Usage: incompatibleAccessPackageId='{incompatibleAccessPackageId}' * @return a {@link AdditionalAccessWithAccessPackageIdWithIncompatibleAccessPackageIdRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AdditionalAccessWithAccessPackageIdWithIncompatibleAccessPackageIdRequestBuilder additionalAccessWithAccessPackageIdWithIncompatibleAccessPackageId(@jakarta.annotation.Nonnull final String accessPackageId, @jakarta.annotation.Nonnull final String incompatibleAccessPackageId) { Objects.requireNonNull(accessPackageId); Objects.requireNonNull(incompatibleAccessPackageId); @@ -58,8 +67,11 @@ public AdditionalAccessWithAccessPackageIdWithIncompatibleAccessPackageIdRequest * Provides operations to manage the accessPackageAssignments property of the microsoft.graph.entitlementManagement entity. * @param accessPackageAssignmentId The unique identifier of accessPackageAssignment * @return a {@link AccessPackageAssignmentItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageAssignmentItemRequestBuilder byAccessPackageAssignmentId(@jakarta.annotation.Nonnull final String accessPackageAssignmentId) { Objects.requireNonNull(accessPackageAssignmentId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -86,8 +98,11 @@ public AccessPackageAssignmentsRequestBuilder(@jakarta.annotation.Nonnull final * Provides operations to call the filterByCurrentUser method. * @param on Usage: on='{on}' * @return a {@link FilterByCurrentUserWithOnRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilterByCurrentUserWithOnRequestBuilder filterByCurrentUserWithOn(@jakarta.annotation.Nonnull final String on) { Objects.requireNonNull(on); return new FilterByCurrentUserWithOnRequestBuilder(pathParameters, requestAdapter, on); @@ -96,9 +111,12 @@ public FilterByCurrentUserWithOnRequestBuilder filterByCurrentUserWithOn(@jakart * Retrieve a list of accessPackageAssignment objects in Microsoft Entra entitlement management. For directory-wide administrators, the resulting list includes all the assignments, current and well as expired, that the caller has access to read, across all catalogs and access packages. If the caller is on behalf of a delegated user who is assigned only to catalog-specific delegated administrative roles, the request must supply a filter to indicate a specific access package, such as: $filter=accessPackage/id eq 'a914b616-e04e-476b-aa37-91038f0b165b'. * @return a {@link AccessPackageAssignmentCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageAssignmentCollectionResponse get() { return get(null); } @@ -107,9 +125,12 @@ public AccessPackageAssignmentCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageAssignmentCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageAssignmentCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -121,8 +142,11 @@ public AccessPackageAssignmentCollectionResponse get(@jakarta.annotation.Nullabl * @param body The request body * @return a {@link AccessPackageAssignment} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageAssignment post(@jakarta.annotation.Nonnull final AccessPackageAssignment body) { return post(body, null); } @@ -132,8 +156,11 @@ public AccessPackageAssignment post(@jakarta.annotation.Nonnull final AccessPack * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageAssignment} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageAssignment post(@jakarta.annotation.Nonnull final AccessPackageAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -144,8 +171,11 @@ public AccessPackageAssignment post(@jakarta.annotation.Nonnull final AccessPack /** * Retrieve a list of accessPackageAssignment objects in Microsoft Entra entitlement management. For directory-wide administrators, the resulting list includes all the assignments, current and well as expired, that the caller has access to read, across all catalogs and access packages. If the caller is on behalf of a delegated user who is assigned only to catalog-specific delegated administrative roles, the request must supply a filter to indicate a specific access package, such as: $filter=accessPackage/id eq 'a914b616-e04e-476b-aa37-91038f0b165b'. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -153,8 +183,11 @@ public RequestInformation toGetRequestInformation() { * Retrieve a list of accessPackageAssignment objects in Microsoft Entra entitlement management. For directory-wide administrators, the resulting list includes all the assignments, current and well as expired, that the caller has access to read, across all catalogs and access packages. If the caller is on behalf of a delegated user who is assigned only to catalog-specific delegated administrative roles, the request must supply a filter to indicate a specific access package, such as: $filter=accessPackage/id eq 'a914b616-e04e-476b-aa37-91038f0b165b'. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -165,8 +198,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to accessPackageAssignments for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageAssignment body) { return toPostRequestInformation(body, null); } @@ -175,8 +211,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -189,8 +228,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageAssignmentsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageAssignmentsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageAssignmentsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/additionalaccess/AdditionalAccessRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/additionalaccess/AdditionalAccessRequestBuilder.java index ea3e51c984c..ce6fb427498 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/additionalaccess/AdditionalAccessRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/additionalaccess/AdditionalAccessRequestBuilder.java @@ -39,9 +39,12 @@ public AdditionalAccessRequestBuilder(@jakarta.annotation.Nonnull final String r * In Microsoft Entra Entitlement Management, retrieve a collection of accessPackageAssignment objects that indicate a target user has an assignment to a specified access package and also an assignment to another, potentially incompatible, access package. It can be used to prepare to configure the incompatible access packages for a specific access package. * @return a {@link AdditionalAccessGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public AdditionalAccessGetResponse get() { return get(null); } @@ -50,9 +53,12 @@ public AdditionalAccessGetResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AdditionalAccessGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public AdditionalAccessGetResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -62,8 +68,11 @@ public AdditionalAccessGetResponse get(@jakarta.annotation.Nullable final java.u /** * In Microsoft Entra Entitlement Management, retrieve a collection of accessPackageAssignment objects that indicate a target user has an assignment to a specified access package and also an assignment to another, potentially incompatible, access package. It can be used to prepare to configure the incompatible access packages for a specific access package. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -71,8 +80,11 @@ public RequestInformation toGetRequestInformation() { * In Microsoft Entra Entitlement Management, retrieve a collection of accessPackageAssignment objects that indicate a target user has an assignment to a specified access package and also an assignment to another, potentially incompatible, access package. It can be used to prepare to configure the incompatible access packages for a specific access package. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -83,8 +95,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AdditionalAccessRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AdditionalAccessRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AdditionalAccessRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/additionalaccesswithaccesspackageidwithincompatibleaccesspackageid/AdditionalAccessWithAccessPackageIdWithIncompatibleAccessPackageIdRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/additionalaccesswithaccesspackageidwithincompatibleaccesspackageid/AdditionalAccessWithAccessPackageIdWithIncompatibleAccessPackageIdRequestBuilder.java index 1f2ca29f589..f30bab1ae20 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/additionalaccesswithaccesspackageidwithincompatibleaccesspackageid/AdditionalAccessWithAccessPackageIdWithIncompatibleAccessPackageIdRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/additionalaccesswithaccesspackageidwithincompatibleaccesspackageid/AdditionalAccessWithAccessPackageIdWithIncompatibleAccessPackageIdRequestBuilder.java @@ -43,8 +43,11 @@ public AdditionalAccessWithAccessPackageIdWithIncompatibleAccessPackageIdRequest * Invoke function additionalAccess * @return a {@link AdditionalAccessWithAccessPackageIdWithIncompatibleAccessPackageIdGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AdditionalAccessWithAccessPackageIdWithIncompatibleAccessPackageIdGetResponse get() { return get(null); } @@ -53,8 +56,11 @@ public AdditionalAccessWithAccessPackageIdWithIncompatibleAccessPackageIdGetResp * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AdditionalAccessWithAccessPackageIdWithIncompatibleAccessPackageIdGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AdditionalAccessWithAccessPackageIdWithIncompatibleAccessPackageIdGetResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -64,8 +70,11 @@ public AdditionalAccessWithAccessPackageIdWithIncompatibleAccessPackageIdGetResp /** * Invoke function additionalAccess * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -73,8 +82,11 @@ public RequestInformation toGetRequestInformation() { * Invoke function additionalAccess * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -85,8 +97,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AdditionalAccessWithAccessPackageIdWithIncompatibleAccessPackageIdRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AdditionalAccessWithAccessPackageIdWithIncompatibleAccessPackageIdRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AdditionalAccessWithAccessPackageIdWithIncompatibleAccessPackageIdRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/count/CountRequestBuilder.java index 32cf9568e4e..a8cccc16256 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java index c1fb5e0db70..2206da43275 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java @@ -41,9 +41,12 @@ public FilterByCurrentUserWithOnRequestBuilder(@jakarta.annotation.Nonnull final * In Microsoft Entra Entitlement Management, retrieve a list of accessPackageAssignment objects filtered on the signed-in user. * @return a {@link FilterByCurrentUserWithOnGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public FilterByCurrentUserWithOnGetResponse get() { return get(null); } @@ -52,9 +55,12 @@ public FilterByCurrentUserWithOnGetResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link FilterByCurrentUserWithOnGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public FilterByCurrentUserWithOnGetResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -64,8 +70,11 @@ public FilterByCurrentUserWithOnGetResponse get(@jakarta.annotation.Nullable fin /** * In Microsoft Entra Entitlement Management, retrieve a list of accessPackageAssignment objects filtered on the signed-in user. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -73,8 +82,11 @@ public RequestInformation toGetRequestInformation() { * In Microsoft Entra Entitlement Management, retrieve a list of accessPackageAssignment objects filtered on the signed-in user. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -85,8 +97,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link FilterByCurrentUserWithOnRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilterByCurrentUserWithOnRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new FilterByCurrentUserWithOnRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/AccessPackageAssignmentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/AccessPackageAssignmentItemRequestBuilder.java index 368ae760dd0..4c98ef47f08 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/AccessPackageAssignmentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/AccessPackageAssignmentItemRequestBuilder.java @@ -29,7 +29,10 @@ public class AccessPackageAssignmentItemRequestBuilder extends BaseRequestBuilde /** * Provides operations to manage the accessPackage property of the microsoft.graph.accessPackageAssignment entity. * @return a {@link AccessPackageRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackageRequestBuilder accessPackage() { return new AccessPackageRequestBuilder(pathParameters, requestAdapter); @@ -37,7 +40,10 @@ public AccessPackageRequestBuilder accessPackage() { /** * Provides operations to manage the accessPackageAssignmentPolicy property of the microsoft.graph.accessPackageAssignment entity. * @return a {@link AccessPackageAssignmentPolicyRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackageAssignmentPolicyRequestBuilder accessPackageAssignmentPolicy() { return new AccessPackageAssignmentPolicyRequestBuilder(pathParameters, requestAdapter); @@ -45,7 +51,10 @@ public AccessPackageAssignmentPolicyRequestBuilder accessPackageAssignmentPolicy /** * Provides operations to manage the accessPackageAssignmentRequests property of the microsoft.graph.accessPackageAssignment entity. * @return a {@link AccessPackageAssignmentRequestsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackageAssignmentRequestsRequestBuilder accessPackageAssignmentRequests() { return new AccessPackageAssignmentRequestsRequestBuilder(pathParameters, requestAdapter); @@ -53,7 +62,10 @@ public AccessPackageAssignmentRequestsRequestBuilder accessPackageAssignmentRequ /** * Provides operations to manage the accessPackageAssignmentResourceRoles property of the microsoft.graph.accessPackageAssignment entity. * @return a {@link AccessPackageAssignmentResourceRolesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackageAssignmentResourceRolesRequestBuilder accessPackageAssignmentResourceRoles() { return new AccessPackageAssignmentResourceRolesRequestBuilder(pathParameters, requestAdapter); @@ -61,7 +73,10 @@ public AccessPackageAssignmentResourceRolesRequestBuilder accessPackageAssignmen /** * Provides operations to call the reprocess method. * @return a {@link ReprocessRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ReprocessRequestBuilder reprocess() { return new ReprocessRequestBuilder(pathParameters, requestAdapter); @@ -69,7 +84,10 @@ public ReprocessRequestBuilder reprocess() { /** * Provides operations to manage the target property of the microsoft.graph.accessPackageAssignment entity. * @return a {@link TargetRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public TargetRequestBuilder target() { return new TargetRequestBuilder(pathParameters, requestAdapter); @@ -93,7 +111,10 @@ public AccessPackageAssignmentItemRequestBuilder(@jakarta.annotation.Nonnull fin /** * Delete navigation property accessPackageAssignments for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -101,7 +122,10 @@ public void delete() { * Delete navigation property accessPackageAssignments for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -112,8 +136,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * The assignment of an access package to a subject for a period of time. * @return a {@link AccessPackageAssignment} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageAssignment get() { return get(null); } @@ -122,8 +149,11 @@ public AccessPackageAssignment get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageAssignment} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageAssignment get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -135,8 +165,11 @@ public AccessPackageAssignment get(@jakarta.annotation.Nullable final java.util. * @param body The request body * @return a {@link AccessPackageAssignment} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageAssignment patch(@jakarta.annotation.Nonnull final AccessPackageAssignment body) { return patch(body, null); } @@ -146,8 +179,11 @@ public AccessPackageAssignment patch(@jakarta.annotation.Nonnull final AccessPac * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageAssignment} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageAssignment patch(@jakarta.annotation.Nonnull final AccessPackageAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -158,8 +194,11 @@ public AccessPackageAssignment patch(@jakarta.annotation.Nonnull final AccessPac /** * Delete navigation property accessPackageAssignments for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -167,8 +206,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property accessPackageAssignments for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -178,8 +220,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * The assignment of an access package to a subject for a period of time. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -187,8 +232,11 @@ public RequestInformation toGetRequestInformation() { * The assignment of an access package to a subject for a period of time. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -199,8 +247,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property accessPackageAssignments in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageAssignment body) { return toPatchRequestInformation(body, null); } @@ -209,8 +260,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -223,8 +277,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageAssignmentItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageAssignmentItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageAssignmentItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/AccessPackageRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/AccessPackageRequestBuilder.java index 8a13d4e444e..b47020d4439 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/AccessPackageRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/AccessPackageRequestBuilder.java @@ -32,7 +32,10 @@ public class AccessPackageRequestBuilder extends BaseRequestBuilder { /** * Provides operations to manage the accessPackageAssignmentPolicies property of the microsoft.graph.accessPackage entity. * @return a {@link AccessPackageAssignmentPoliciesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackageAssignmentPoliciesRequestBuilder accessPackageAssignmentPolicies() { return new AccessPackageAssignmentPoliciesRequestBuilder(pathParameters, requestAdapter); @@ -40,7 +43,10 @@ public AccessPackageAssignmentPoliciesRequestBuilder accessPackageAssignmentPoli /** * Provides operations to manage the accessPackageCatalog property of the microsoft.graph.accessPackage entity. * @return a {@link AccessPackageCatalogRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackageCatalogRequestBuilder accessPackageCatalog() { return new AccessPackageCatalogRequestBuilder(pathParameters, requestAdapter); @@ -48,7 +54,10 @@ public AccessPackageCatalogRequestBuilder accessPackageCatalog() { /** * Provides operations to manage the accessPackageResourceRoleScopes property of the microsoft.graph.accessPackage entity. * @return a {@link AccessPackageResourceRoleScopesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackageResourceRoleScopesRequestBuilder accessPackageResourceRoleScopes() { return new AccessPackageResourceRoleScopesRequestBuilder(pathParameters, requestAdapter); @@ -56,7 +65,10 @@ public AccessPackageResourceRoleScopesRequestBuilder accessPackageResourceRoleSc /** * Provides operations to manage the accessPackagesIncompatibleWith property of the microsoft.graph.accessPackage entity. * @return a {@link AccessPackagesIncompatibleWithRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackagesIncompatibleWithRequestBuilder accessPackagesIncompatibleWith() { return new AccessPackagesIncompatibleWithRequestBuilder(pathParameters, requestAdapter); @@ -64,7 +76,10 @@ public AccessPackagesIncompatibleWithRequestBuilder accessPackagesIncompatibleWi /** * Provides operations to call the getApplicablePolicyRequirements method. * @return a {@link GetApplicablePolicyRequirementsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public GetApplicablePolicyRequirementsRequestBuilder getApplicablePolicyRequirements() { return new GetApplicablePolicyRequirementsRequestBuilder(pathParameters, requestAdapter); @@ -72,7 +87,10 @@ public GetApplicablePolicyRequirementsRequestBuilder getApplicablePolicyRequirem /** * Provides operations to manage the incompatibleAccessPackages property of the microsoft.graph.accessPackage entity. * @return a {@link IncompatibleAccessPackagesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public IncompatibleAccessPackagesRequestBuilder incompatibleAccessPackages() { return new IncompatibleAccessPackagesRequestBuilder(pathParameters, requestAdapter); @@ -80,7 +98,10 @@ public IncompatibleAccessPackagesRequestBuilder incompatibleAccessPackages() { /** * Provides operations to manage the incompatibleGroups property of the microsoft.graph.accessPackage entity. * @return a {@link IncompatibleGroupsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public IncompatibleGroupsRequestBuilder incompatibleGroups() { return new IncompatibleGroupsRequestBuilder(pathParameters, requestAdapter); @@ -88,7 +109,10 @@ public IncompatibleGroupsRequestBuilder incompatibleGroups() { /** * Provides operations to call the moveToCatalog method. * @return a {@link MoveToCatalogRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public MoveToCatalogRequestBuilder moveToCatalog() { return new MoveToCatalogRequestBuilder(pathParameters, requestAdapter); @@ -97,8 +121,11 @@ public MoveToCatalogRequestBuilder moveToCatalog() { * Provides operations to manage the accessPackagesIncompatibleWith property of the microsoft.graph.accessPackage entity. * @param uniqueName Alternate key of accessPackage * @return a {@link AccessPackagesIncompatibleWithWithUniqueNameRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackagesIncompatibleWithWithUniqueNameRequestBuilder accessPackagesIncompatibleWithWithUniqueName(@jakarta.annotation.Nonnull final String uniqueName) { Objects.requireNonNull(uniqueName); return new AccessPackagesIncompatibleWithWithUniqueNameRequestBuilder(pathParameters, requestAdapter, uniqueName); @@ -122,7 +149,10 @@ public AccessPackageRequestBuilder(@jakarta.annotation.Nonnull final String rawU /** * Delete navigation property accessPackage for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -130,7 +160,10 @@ public void delete() { * Delete navigation property accessPackage for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -141,8 +174,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Read-only. Nullable. Supports $filter (eq) on the id property and $expand query parameters. * @return a {@link AccessPackage} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackage get() { return get(null); } @@ -151,8 +187,11 @@ public AccessPackage get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackage} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackage get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -164,8 +203,11 @@ public AccessPackage get(@jakarta.annotation.Nullable final java.util.function.C * @param body The request body * @return a {@link AccessPackage} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackage patch(@jakarta.annotation.Nonnull final AccessPackage body) { return patch(body, null); } @@ -175,8 +217,11 @@ public AccessPackage patch(@jakarta.annotation.Nonnull final AccessPackage body) * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackage} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackage patch(@jakarta.annotation.Nonnull final AccessPackage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -187,8 +232,11 @@ public AccessPackage patch(@jakarta.annotation.Nonnull final AccessPackage body, /** * Delete navigation property accessPackage for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -196,8 +244,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property accessPackage for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -207,8 +258,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Read-only. Nullable. Supports $filter (eq) on the id property and $expand query parameters. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -216,8 +270,11 @@ public RequestInformation toGetRequestInformation() { * Read-only. Nullable. Supports $filter (eq) on the id property and $expand query parameters. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -228,8 +285,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property accessPackage in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackage body) { return toPatchRequestInformation(body, null); } @@ -238,8 +298,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -252,8 +315,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/AccessPackageResourceRoleScopesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/AccessPackageResourceRoleScopesRequestBuilder.java index ec0108661d6..30d42c91301 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/AccessPackageResourceRoleScopesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/AccessPackageResourceRoleScopesRequestBuilder.java @@ -26,7 +26,10 @@ public class AccessPackageResourceRoleScopesRequestBuilder extends BaseRequestBu /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the accessPackageResourceRoleScopes property of the microsoft.graph.accessPackage entity. * @param accessPackageResourceRoleScopeId The unique identifier of accessPackageResourceRoleScope * @return a {@link AccessPackageResourceRoleScopeItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceRoleScopeItemRequestBuilder byAccessPackageResourceRoleScopeId(@jakarta.annotation.Nonnull final String accessPackageResourceRoleScopeId) { Objects.requireNonNull(accessPackageResourceRoleScopeId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public AccessPackageResourceRoleScopesRequestBuilder(@jakarta.annotation.Nonnull * Get accessPackageResourceRoleScopes from identityGovernance * @return a {@link AccessPackageResourceRoleScopeCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRoleScopeCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public AccessPackageResourceRoleScopeCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceRoleScopeCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRoleScopeCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public AccessPackageResourceRoleScopeCollectionResponse get(@jakarta.annotation. * @param body The request body * @return a {@link AccessPackageResourceRoleScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRoleScope post(@jakarta.annotation.Nonnull final AccessPackageResourceRoleScope body) { return post(body, null); } @@ -97,8 +112,11 @@ public AccessPackageResourceRoleScope post(@jakarta.annotation.Nonnull final Acc * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceRoleScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRoleScope post(@jakarta.annotation.Nonnull final AccessPackageResourceRoleScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public AccessPackageResourceRoleScope post(@jakarta.annotation.Nonnull final Acc /** * Get accessPackageResourceRoleScopes from identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Get accessPackageResourceRoleScopes from identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to accessPackageResourceRoleScopes for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRoleScope body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRoleScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceRoleScopesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceRoleScopesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceRoleScopesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/count/CountRequestBuilder.java index 257cd2467a2..ecfadd89119 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/AccessPackageResourceRoleScopeItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/AccessPackageResourceRoleScopeItemRequestBuilder.java index 7d0200dda86..2a493ba34ed 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/AccessPackageResourceRoleScopeItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/AccessPackageResourceRoleScopeItemRequestBuilder.java @@ -25,7 +25,10 @@ public class AccessPackageResourceRoleScopeItemRequestBuilder extends BaseReques /** * Provides operations to manage the accessPackageResourceRole property of the microsoft.graph.accessPackageResourceRoleScope entity. * @return a {@link AccessPackageResourceRoleRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackageResourceRoleRequestBuilder accessPackageResourceRole() { return new AccessPackageResourceRoleRequestBuilder(pathParameters, requestAdapter); @@ -33,7 +36,10 @@ public AccessPackageResourceRoleRequestBuilder accessPackageResourceRole() { /** * Provides operations to manage the accessPackageResourceScope property of the microsoft.graph.accessPackageResourceRoleScope entity. * @return a {@link AccessPackageResourceScopeRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackageResourceScopeRequestBuilder accessPackageResourceScope() { return new AccessPackageResourceScopeRequestBuilder(pathParameters, requestAdapter); @@ -57,7 +63,10 @@ public AccessPackageResourceRoleScopeItemRequestBuilder(@jakarta.annotation.Nonn /** * Delete navigation property accessPackageResourceRoleScopes for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -65,7 +74,10 @@ public void delete() { * Delete navigation property accessPackageResourceRoleScopes for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -76,8 +88,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Get accessPackageResourceRoleScopes from identityGovernance * @return a {@link AccessPackageResourceRoleScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRoleScope get() { return get(null); } @@ -86,8 +101,11 @@ public AccessPackageResourceRoleScope get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceRoleScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRoleScope get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -99,8 +117,11 @@ public AccessPackageResourceRoleScope get(@jakarta.annotation.Nullable final jav * @param body The request body * @return a {@link AccessPackageResourceRoleScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRoleScope patch(@jakarta.annotation.Nonnull final AccessPackageResourceRoleScope body) { return patch(body, null); } @@ -110,8 +131,11 @@ public AccessPackageResourceRoleScope patch(@jakarta.annotation.Nonnull final Ac * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceRoleScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRoleScope patch(@jakarta.annotation.Nonnull final AccessPackageResourceRoleScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -122,8 +146,11 @@ public AccessPackageResourceRoleScope patch(@jakarta.annotation.Nonnull final Ac /** * Delete navigation property accessPackageResourceRoleScopes for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -131,8 +158,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property accessPackageResourceRoleScopes for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -142,8 +172,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Get accessPackageResourceRoleScopes from identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -151,8 +184,11 @@ public RequestInformation toGetRequestInformation() { * Get accessPackageResourceRoleScopes from identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -163,8 +199,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property accessPackageResourceRoleScopes in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRoleScope body) { return toPatchRequestInformation(body, null); } @@ -173,8 +212,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRoleScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -187,8 +229,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceRoleScopeItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceRoleScopeItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceRoleScopeItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/AccessPackageResourceRoleRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/AccessPackageResourceRoleRequestBuilder.java index 16ec622d26c..36b236ffe5e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/AccessPackageResourceRoleRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/AccessPackageResourceRoleRequestBuilder.java @@ -24,7 +24,10 @@ public class AccessPackageResourceRoleRequestBuilder extends BaseRequestBuilder /** * Provides operations to manage the accessPackageResource property of the microsoft.graph.accessPackageResourceRole entity. * @return a {@link AccessPackageResourceRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackageResourceRequestBuilder accessPackageResource() { return new AccessPackageResourceRequestBuilder(pathParameters, requestAdapter); @@ -48,7 +51,10 @@ public AccessPackageResourceRoleRequestBuilder(@jakarta.annotation.Nonnull final /** * Delete navigation property accessPackageResourceRole for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -56,7 +62,10 @@ public void delete() { * Delete navigation property accessPackageResourceRole for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -67,8 +76,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Read-only. Nullable. Supports $expand. * @return a {@link AccessPackageResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRole get() { return get(null); } @@ -77,8 +89,11 @@ public AccessPackageResourceRole get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRole get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -90,8 +105,11 @@ public AccessPackageResourceRole get(@jakarta.annotation.Nullable final java.uti * @param body The request body * @return a {@link AccessPackageResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRole patch(@jakarta.annotation.Nonnull final AccessPackageResourceRole body) { return patch(body, null); } @@ -101,8 +119,11 @@ public AccessPackageResourceRole patch(@jakarta.annotation.Nonnull final AccessP * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRole patch(@jakarta.annotation.Nonnull final AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -113,8 +134,11 @@ public AccessPackageResourceRole patch(@jakarta.annotation.Nonnull final AccessP /** * Delete navigation property accessPackageResourceRole for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -122,8 +146,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property accessPackageResourceRole for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -133,8 +160,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Read-only. Nullable. Supports $expand. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -142,8 +172,11 @@ public RequestInformation toGetRequestInformation() { * Read-only. Nullable. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -154,8 +187,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property accessPackageResourceRole in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRole body) { return toPatchRequestInformation(body, null); } @@ -164,8 +200,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -178,8 +217,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceRoleRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceRoleRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceRoleRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/AccessPackageResourceRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/AccessPackageResourceRequestBuilder.java index f1d517b7fe1..e0018e9c950 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/AccessPackageResourceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/AccessPackageResourceRequestBuilder.java @@ -29,7 +29,10 @@ public class AccessPackageResourceRequestBuilder extends BaseRequestBuilder { /** * Provides operations to manage the accessPackageResourceEnvironment property of the microsoft.graph.accessPackageResource entity. * @return a {@link AccessPackageResourceEnvironmentRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackageResourceEnvironmentRequestBuilder accessPackageResourceEnvironment() { return new AccessPackageResourceEnvironmentRequestBuilder(pathParameters, requestAdapter); @@ -37,7 +40,10 @@ public AccessPackageResourceEnvironmentRequestBuilder accessPackageResourceEnvir /** * Provides operations to manage the accessPackageResourceRoles property of the microsoft.graph.accessPackageResource entity. * @return a {@link AccessPackageResourceRolesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackageResourceRolesRequestBuilder accessPackageResourceRoles() { return new AccessPackageResourceRolesRequestBuilder(pathParameters, requestAdapter); @@ -45,7 +51,10 @@ public AccessPackageResourceRolesRequestBuilder accessPackageResourceRoles() { /** * Provides operations to manage the accessPackageResourceScopes property of the microsoft.graph.accessPackageResource entity. * @return a {@link AccessPackageResourceScopesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackageResourceScopesRequestBuilder accessPackageResourceScopes() { return new AccessPackageResourceScopesRequestBuilder(pathParameters, requestAdapter); @@ -53,7 +62,10 @@ public AccessPackageResourceScopesRequestBuilder accessPackageResourceScopes() { /** * Provides operations to manage the externalOriginResourceConnector property of the microsoft.graph.accessPackageResource entity. * @return a {@link ExternalOriginResourceConnectorRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ExternalOriginResourceConnectorRequestBuilder externalOriginResourceConnector() { return new ExternalOriginResourceConnectorRequestBuilder(pathParameters, requestAdapter); @@ -61,7 +73,10 @@ public ExternalOriginResourceConnectorRequestBuilder externalOriginResourceConne /** * Provides operations to call the refresh method. * @return a {@link RefreshRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public RefreshRequestBuilder refresh() { return new RefreshRequestBuilder(pathParameters, requestAdapter); @@ -69,7 +84,10 @@ public RefreshRequestBuilder refresh() { /** * Provides operations to manage the uploadSessions property of the microsoft.graph.accessPackageResource entity. * @return a {@link UploadSessionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public UploadSessionsRequestBuilder uploadSessions() { return new UploadSessionsRequestBuilder(pathParameters, requestAdapter); @@ -93,7 +111,10 @@ public AccessPackageResourceRequestBuilder(@jakarta.annotation.Nonnull final Str /** * Delete navigation property accessPackageResource for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -101,7 +122,10 @@ public void delete() { * Delete navigation property accessPackageResource for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -112,8 +136,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Get accessPackageResource from identityGovernance * @return a {@link AccessPackageResource} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResource get() { return get(null); } @@ -122,8 +149,11 @@ public AccessPackageResource get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResource} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResource get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -135,8 +165,11 @@ public AccessPackageResource get(@jakarta.annotation.Nullable final java.util.fu * @param body The request body * @return a {@link AccessPackageResource} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResource patch(@jakarta.annotation.Nonnull final AccessPackageResource body) { return patch(body, null); } @@ -146,8 +179,11 @@ public AccessPackageResource patch(@jakarta.annotation.Nonnull final AccessPacka * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResource} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResource patch(@jakarta.annotation.Nonnull final AccessPackageResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -158,8 +194,11 @@ public AccessPackageResource patch(@jakarta.annotation.Nonnull final AccessPacka /** * Delete navigation property accessPackageResource for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -167,8 +206,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property accessPackageResource for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -178,8 +220,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Get accessPackageResource from identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -187,8 +232,11 @@ public RequestInformation toGetRequestInformation() { * Get accessPackageResource from identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -199,8 +247,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property accessPackageResource in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResource body) { return toPatchRequestInformation(body, null); } @@ -209,8 +260,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -223,8 +277,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourceenvironment/AccessPackageResourceEnvironmentRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourceenvironment/AccessPackageResourceEnvironmentRequestBuilder.java index b04d45ba76a..aebaa32a91e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourceenvironment/AccessPackageResourceEnvironmentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourceenvironment/AccessPackageResourceEnvironmentRequestBuilder.java @@ -40,8 +40,11 @@ public AccessPackageResourceEnvironmentRequestBuilder(@jakarta.annotation.Nonnul * Contains the environment information for the resource. This environment can be set using either the @odata.bind annotation or the environment's originId. Supports $expand. * @return a {@link AccessPackageResourceEnvironment} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceEnvironment get() { return get(null); } @@ -50,8 +53,11 @@ public AccessPackageResourceEnvironment get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceEnvironment} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceEnvironment get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public AccessPackageResourceEnvironment get(@jakarta.annotation.Nullable final j /** * Contains the environment information for the resource. This environment can be set using either the @odata.bind annotation or the environment's originId. Supports $expand. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * Contains the environment information for the resource. This environment can be set using either the @odata.bind annotation or the environment's originId. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceEnvironmentRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceEnvironmentRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceEnvironmentRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java index fc34490312c..6c1b2cc3828 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java @@ -26,7 +26,10 @@ public class AccessPackageResourceRolesRequestBuilder extends BaseRequestBuilder /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the accessPackageResourceRoles property of the microsoft.graph.accessPackageResource entity. * @param accessPackageResourceRoleId The unique identifier of accessPackageResourceRole * @return a {@link AccessPackageResourceRoleItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceRoleItemRequestBuilder byAccessPackageResourceRoleId(@jakarta.annotation.Nonnull final String accessPackageResourceRoleId) { Objects.requireNonNull(accessPackageResourceRoleId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public AccessPackageResourceRolesRequestBuilder(@jakarta.annotation.Nonnull fina * Read-only. Nullable. Supports $expand. * @return a {@link AccessPackageResourceRoleCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRoleCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public AccessPackageResourceRoleCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceRoleCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRoleCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public AccessPackageResourceRoleCollectionResponse get(@jakarta.annotation.Nulla * @param body The request body * @return a {@link AccessPackageResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRole post(@jakarta.annotation.Nonnull final AccessPackageResourceRole body) { return post(body, null); } @@ -97,8 +112,11 @@ public AccessPackageResourceRole post(@jakarta.annotation.Nonnull final AccessPa * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRole post(@jakarta.annotation.Nonnull final AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public AccessPackageResourceRole post(@jakarta.annotation.Nonnull final AccessPa /** * Read-only. Nullable. Supports $expand. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Read-only. Nullable. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to accessPackageResourceRoles for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRole body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceRolesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceRolesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceRolesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourceroles/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourceroles/count/CountRequestBuilder.java index 52a4c599d24..dfb8d4e87e4 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourceroles/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourceroles/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java index 6f4c3412212..988b835ed32 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java @@ -39,7 +39,10 @@ public AccessPackageResourceRoleItemRequestBuilder(@jakarta.annotation.Nonnull f /** * Delete navigation property accessPackageResourceRoles for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -47,7 +50,10 @@ public void delete() { * Delete navigation property accessPackageResourceRoles for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -58,8 +64,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Read-only. Nullable. Supports $expand. * @return a {@link AccessPackageResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRole get() { return get(null); } @@ -68,8 +77,11 @@ public AccessPackageResourceRole get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRole get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -81,8 +93,11 @@ public AccessPackageResourceRole get(@jakarta.annotation.Nullable final java.uti * @param body The request body * @return a {@link AccessPackageResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRole patch(@jakarta.annotation.Nonnull final AccessPackageResourceRole body) { return patch(body, null); } @@ -92,8 +107,11 @@ public AccessPackageResourceRole patch(@jakarta.annotation.Nonnull final AccessP * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRole patch(@jakarta.annotation.Nonnull final AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -104,8 +122,11 @@ public AccessPackageResourceRole patch(@jakarta.annotation.Nonnull final AccessP /** * Delete navigation property accessPackageResourceRoles for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -113,8 +134,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property accessPackageResourceRoles for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Read-only. Nullable. Supports $expand. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -133,8 +160,11 @@ public RequestInformation toGetRequestInformation() { * Read-only. Nullable. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -145,8 +175,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property accessPackageResourceRoles in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRole body) { return toPatchRequestInformation(body, null); } @@ -155,8 +188,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -169,8 +205,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceRoleItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceRoleItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceRoleItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java index 689bff1a3a5..69d80135cc4 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java @@ -26,7 +26,10 @@ public class AccessPackageResourceScopesRequestBuilder extends BaseRequestBuilde /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the accessPackageResourceScopes property of the microsoft.graph.accessPackageResource entity. * @param accessPackageResourceScopeId The unique identifier of accessPackageResourceScope * @return a {@link AccessPackageResourceScopeItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceScopeItemRequestBuilder byAccessPackageResourceScopeId(@jakarta.annotation.Nonnull final String accessPackageResourceScopeId) { Objects.requireNonNull(accessPackageResourceScopeId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public AccessPackageResourceScopesRequestBuilder(@jakarta.annotation.Nonnull fin * Read-only. Nullable. Supports $expand. * @return a {@link AccessPackageResourceScopeCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScopeCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public AccessPackageResourceScopeCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceScopeCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScopeCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public AccessPackageResourceScopeCollectionResponse get(@jakarta.annotation.Null * @param body The request body * @return a {@link AccessPackageResourceScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScope post(@jakarta.annotation.Nonnull final AccessPackageResourceScope body) { return post(body, null); } @@ -97,8 +112,11 @@ public AccessPackageResourceScope post(@jakarta.annotation.Nonnull final AccessP * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScope post(@jakarta.annotation.Nonnull final AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public AccessPackageResourceScope post(@jakarta.annotation.Nonnull final AccessP /** * Read-only. Nullable. Supports $expand. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Read-only. Nullable. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to accessPackageResourceScopes for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceScope body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceScopesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceScopesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceScopesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/count/CountRequestBuilder.java index 00835364d77..0584016746d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java index f441c7832f0..aa8aab30e86 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java @@ -24,7 +24,10 @@ public class AccessPackageResourceScopeItemRequestBuilder extends BaseRequestBui /** * Provides operations to manage the accessPackageResource property of the microsoft.graph.accessPackageResourceScope entity. * @return a {@link AccessPackageResourceRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackageResourceRequestBuilder accessPackageResource() { return new AccessPackageResourceRequestBuilder(pathParameters, requestAdapter); @@ -48,7 +51,10 @@ public AccessPackageResourceScopeItemRequestBuilder(@jakarta.annotation.Nonnull /** * Delete navigation property accessPackageResourceScopes for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -56,7 +62,10 @@ public void delete() { * Delete navigation property accessPackageResourceScopes for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -67,8 +76,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Read-only. Nullable. Supports $expand. * @return a {@link AccessPackageResourceScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScope get() { return get(null); } @@ -77,8 +89,11 @@ public AccessPackageResourceScope get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScope get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -90,8 +105,11 @@ public AccessPackageResourceScope get(@jakarta.annotation.Nullable final java.ut * @param body The request body * @return a {@link AccessPackageResourceScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScope patch(@jakarta.annotation.Nonnull final AccessPackageResourceScope body) { return patch(body, null); } @@ -101,8 +119,11 @@ public AccessPackageResourceScope patch(@jakarta.annotation.Nonnull final Access * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScope patch(@jakarta.annotation.Nonnull final AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -113,8 +134,11 @@ public AccessPackageResourceScope patch(@jakarta.annotation.Nonnull final Access /** * Delete navigation property accessPackageResourceScopes for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -122,8 +146,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property accessPackageResourceScopes for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -133,8 +160,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Read-only. Nullable. Supports $expand. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -142,8 +172,11 @@ public RequestInformation toGetRequestInformation() { * Read-only. Nullable. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -154,8 +187,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property accessPackageResourceScopes in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceScope body) { return toPatchRequestInformation(body, null); } @@ -164,8 +200,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -178,8 +217,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceScopeItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceScopeItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceScopeItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/AccessPackageResourceRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/AccessPackageResourceRequestBuilder.java index 62bf8935426..14418293004 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/AccessPackageResourceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/AccessPackageResourceRequestBuilder.java @@ -28,7 +28,10 @@ public class AccessPackageResourceRequestBuilder extends BaseRequestBuilder { /** * Provides operations to manage the accessPackageResourceEnvironment property of the microsoft.graph.accessPackageResource entity. * @return a {@link AccessPackageResourceEnvironmentRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackageResourceEnvironmentRequestBuilder accessPackageResourceEnvironment() { return new AccessPackageResourceEnvironmentRequestBuilder(pathParameters, requestAdapter); @@ -36,7 +39,10 @@ public AccessPackageResourceEnvironmentRequestBuilder accessPackageResourceEnvir /** * Provides operations to manage the accessPackageResourceRoles property of the microsoft.graph.accessPackageResource entity. * @return a {@link AccessPackageResourceRolesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackageResourceRolesRequestBuilder accessPackageResourceRoles() { return new AccessPackageResourceRolesRequestBuilder(pathParameters, requestAdapter); @@ -44,7 +50,10 @@ public AccessPackageResourceRolesRequestBuilder accessPackageResourceRoles() { /** * Provides operations to manage the externalOriginResourceConnector property of the microsoft.graph.accessPackageResource entity. * @return a {@link ExternalOriginResourceConnectorRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ExternalOriginResourceConnectorRequestBuilder externalOriginResourceConnector() { return new ExternalOriginResourceConnectorRequestBuilder(pathParameters, requestAdapter); @@ -52,7 +61,10 @@ public ExternalOriginResourceConnectorRequestBuilder externalOriginResourceConne /** * Provides operations to call the refresh method. * @return a {@link RefreshRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public RefreshRequestBuilder refresh() { return new RefreshRequestBuilder(pathParameters, requestAdapter); @@ -60,7 +72,10 @@ public RefreshRequestBuilder refresh() { /** * Provides operations to manage the uploadSessions property of the microsoft.graph.accessPackageResource entity. * @return a {@link UploadSessionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public UploadSessionsRequestBuilder uploadSessions() { return new UploadSessionsRequestBuilder(pathParameters, requestAdapter); @@ -84,7 +99,10 @@ public AccessPackageResourceRequestBuilder(@jakarta.annotation.Nonnull final Str /** * Delete navigation property accessPackageResource for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -92,7 +110,10 @@ public void delete() { * Delete navigation property accessPackageResource for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -103,8 +124,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Get accessPackageResource from identityGovernance * @return a {@link AccessPackageResource} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResource get() { return get(null); } @@ -113,8 +137,11 @@ public AccessPackageResource get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResource} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResource get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -126,8 +153,11 @@ public AccessPackageResource get(@jakarta.annotation.Nullable final java.util.fu * @param body The request body * @return a {@link AccessPackageResource} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResource patch(@jakarta.annotation.Nonnull final AccessPackageResource body) { return patch(body, null); } @@ -137,8 +167,11 @@ public AccessPackageResource patch(@jakarta.annotation.Nonnull final AccessPacka * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResource} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResource patch(@jakarta.annotation.Nonnull final AccessPackageResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -149,8 +182,11 @@ public AccessPackageResource patch(@jakarta.annotation.Nonnull final AccessPacka /** * Delete navigation property accessPackageResource for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -158,8 +194,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property accessPackageResource for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -169,8 +208,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Get accessPackageResource from identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -178,8 +220,11 @@ public RequestInformation toGetRequestInformation() { * Get accessPackageResource from identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -190,8 +235,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property accessPackageResource in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResource body) { return toPatchRequestInformation(body, null); } @@ -200,8 +248,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -214,8 +265,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceenvironment/AccessPackageResourceEnvironmentRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceenvironment/AccessPackageResourceEnvironmentRequestBuilder.java index c2713c8dafb..069d1d2bdea 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceenvironment/AccessPackageResourceEnvironmentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceenvironment/AccessPackageResourceEnvironmentRequestBuilder.java @@ -40,8 +40,11 @@ public AccessPackageResourceEnvironmentRequestBuilder(@jakarta.annotation.Nonnul * Contains the environment information for the resource. This environment can be set using either the @odata.bind annotation or the environment's originId. Supports $expand. * @return a {@link AccessPackageResourceEnvironment} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceEnvironment get() { return get(null); } @@ -50,8 +53,11 @@ public AccessPackageResourceEnvironment get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceEnvironment} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceEnvironment get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public AccessPackageResourceEnvironment get(@jakarta.annotation.Nullable final j /** * Contains the environment information for the resource. This environment can be set using either the @odata.bind annotation or the environment's originId. Supports $expand. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * Contains the environment information for the resource. This environment can be set using either the @odata.bind annotation or the environment's originId. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceEnvironmentRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceEnvironmentRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceEnvironmentRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java index 919cec08f2e..3027c32c468 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java @@ -26,7 +26,10 @@ public class AccessPackageResourceRolesRequestBuilder extends BaseRequestBuilder /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the accessPackageResourceRoles property of the microsoft.graph.accessPackageResource entity. * @param accessPackageResourceRoleId The unique identifier of accessPackageResourceRole * @return a {@link AccessPackageResourceRoleItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceRoleItemRequestBuilder byAccessPackageResourceRoleId(@jakarta.annotation.Nonnull final String accessPackageResourceRoleId) { Objects.requireNonNull(accessPackageResourceRoleId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public AccessPackageResourceRolesRequestBuilder(@jakarta.annotation.Nonnull fina * Read-only. Nullable. Supports $expand. * @return a {@link AccessPackageResourceRoleCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRoleCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public AccessPackageResourceRoleCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceRoleCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRoleCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public AccessPackageResourceRoleCollectionResponse get(@jakarta.annotation.Nulla * @param body The request body * @return a {@link AccessPackageResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRole post(@jakarta.annotation.Nonnull final AccessPackageResourceRole body) { return post(body, null); } @@ -97,8 +112,11 @@ public AccessPackageResourceRole post(@jakarta.annotation.Nonnull final AccessPa * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRole post(@jakarta.annotation.Nonnull final AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public AccessPackageResourceRole post(@jakarta.annotation.Nonnull final AccessPa /** * Read-only. Nullable. Supports $expand. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Read-only. Nullable. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to accessPackageResourceRoles for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRole body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceRolesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceRolesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceRolesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/count/CountRequestBuilder.java index a6e3edea798..b9fc2c9d8bc 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java index 42c23bb859b..fd3acb99a9a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java @@ -39,7 +39,10 @@ public AccessPackageResourceRoleItemRequestBuilder(@jakarta.annotation.Nonnull f /** * Delete navigation property accessPackageResourceRoles for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -47,7 +50,10 @@ public void delete() { * Delete navigation property accessPackageResourceRoles for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -58,8 +64,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Read-only. Nullable. Supports $expand. * @return a {@link AccessPackageResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRole get() { return get(null); } @@ -68,8 +77,11 @@ public AccessPackageResourceRole get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRole get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -81,8 +93,11 @@ public AccessPackageResourceRole get(@jakarta.annotation.Nullable final java.uti * @param body The request body * @return a {@link AccessPackageResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRole patch(@jakarta.annotation.Nonnull final AccessPackageResourceRole body) { return patch(body, null); } @@ -92,8 +107,11 @@ public AccessPackageResourceRole patch(@jakarta.annotation.Nonnull final AccessP * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRole patch(@jakarta.annotation.Nonnull final AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -104,8 +122,11 @@ public AccessPackageResourceRole patch(@jakarta.annotation.Nonnull final AccessP /** * Delete navigation property accessPackageResourceRoles for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -113,8 +134,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property accessPackageResourceRoles for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Read-only. Nullable. Supports $expand. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -133,8 +160,11 @@ public RequestInformation toGetRequestInformation() { * Read-only. Nullable. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -145,8 +175,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property accessPackageResourceRoles in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRole body) { return toPatchRequestInformation(body, null); } @@ -155,8 +188,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -169,8 +205,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceRoleItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceRoleItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceRoleItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/externaloriginresourceconnector/ExternalOriginResourceConnectorRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/externaloriginresourceconnector/ExternalOriginResourceConnectorRequestBuilder.java index 8a4a36f7cde..0a002a3f332 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/externaloriginresourceconnector/ExternalOriginResourceConnectorRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/externaloriginresourceconnector/ExternalOriginResourceConnectorRequestBuilder.java @@ -40,8 +40,11 @@ public ExternalOriginResourceConnectorRequestBuilder(@jakarta.annotation.Nonnull * The connector that integrates with external origin systems to provision access to resources from those systems. Read-only. Nullable. * @return a {@link ExternalOriginResourceConnector} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ExternalOriginResourceConnector get() { return get(null); } @@ -50,8 +53,11 @@ public ExternalOriginResourceConnector get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ExternalOriginResourceConnector} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ExternalOriginResourceConnector get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public ExternalOriginResourceConnector get(@jakarta.annotation.Nullable final ja /** * The connector that integrates with external origin systems to provision access to resources from those systems. Read-only. Nullable. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * The connector that integrates with external origin systems to provision access to resources from those systems. Read-only. Nullable. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ExternalOriginResourceConnectorRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ExternalOriginResourceConnectorRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ExternalOriginResourceConnectorRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/refresh/RefreshRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/refresh/RefreshRequestBuilder.java index d6ac6708a8c..7972f939757 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/refresh/RefreshRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/refresh/RefreshRequestBuilder.java @@ -37,8 +37,11 @@ public RefreshRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j /** * In Microsoft Entra entitlement management, refresh the accessPackageResource object to fetch the latest details for displayName, description, and resourceType from the origin system. For the AadApplication originSystem, this operation also updates the displayName and description for the accessPackageResourceRole. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * In Microsoft Entra entitlement management, refresh the accessPackageResource object to fetch the latest details for displayName, description, and resourceType from the origin system. For the AadApplication originSystem, this operation also updates the displayName and description for the accessPackageResourceRole. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * In Microsoft Entra entitlement management, refresh the accessPackageResource object to fetch the latest details for displayName, description, and resourceType from the origin system. For the AadApplication originSystem, this operation also updates the displayName and description for the accessPackageResourceRole. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * In Microsoft Entra entitlement management, refresh the accessPackageResource object to fetch the latest details for displayName, description, and resourceType from the origin system. For the AadApplication originSystem, this operation also updates the displayName and description for the accessPackageResourceRole. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RefreshRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RefreshRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RefreshRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/UploadSessionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/UploadSessionsRequestBuilder.java index 7209e07393e..a481edfcf75 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/UploadSessionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/UploadSessionsRequestBuilder.java @@ -26,7 +26,10 @@ public class UploadSessionsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the uploadSessions property of the microsoft.graph.accessPackageResource entity. * @param customDataProvidedResourceUploadSessionId The unique identifier of customDataProvidedResourceUploadSession * @return a {@link CustomDataProvidedResourceUploadSessionItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CustomDataProvidedResourceUploadSessionItemRequestBuilder byCustomDataProvidedResourceUploadSessionId(@jakarta.annotation.Nonnull final String customDataProvidedResourceUploadSessionId) { Objects.requireNonNull(customDataProvidedResourceUploadSessionId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public UploadSessionsRequestBuilder(@jakarta.annotation.Nonnull final String raw * Get uploadSessions from identityGovernance * @return a {@link CustomDataProvidedResourceUploadSessionCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSessionCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public CustomDataProvidedResourceUploadSessionCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSessionCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSessionCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public CustomDataProvidedResourceUploadSessionCollectionResponse get(@jakarta.an * @param body The request body * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body) { return post(body, null); } @@ -97,8 +112,11 @@ public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nonnull * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nonnull /** * Get uploadSessions from identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Get uploadSessions from identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to uploadSessions for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link UploadSessionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public UploadSessionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new UploadSessionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/count/CountRequestBuilder.java index fb4e19b07ef..e9b91f76392 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/CustomDataProvidedResourceUploadSessionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/CustomDataProvidedResourceUploadSessionItemRequestBuilder.java index c0e92670fc7..3d6cd62bd87 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/CustomDataProvidedResourceUploadSessionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/CustomDataProvidedResourceUploadSessionItemRequestBuilder.java @@ -25,7 +25,10 @@ public class CustomDataProvidedResourceUploadSessionItemRequestBuilder extends B /** * Provides operations to manage the files property of the microsoft.graph.customDataProvidedResourceUploadSession entity. * @return a {@link FilesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public FilesRequestBuilder files() { return new FilesRequestBuilder(pathParameters, requestAdapter); @@ -33,7 +36,10 @@ public FilesRequestBuilder files() { /** * Provides operations to call the uploadFile method. * @return a {@link UploadFileRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public UploadFileRequestBuilder uploadFile() { return new UploadFileRequestBuilder(pathParameters, requestAdapter); @@ -57,7 +63,10 @@ public CustomDataProvidedResourceUploadSessionItemRequestBuilder(@jakarta.annota /** * Delete navigation property uploadSessions for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -65,7 +74,10 @@ public void delete() { * Delete navigation property uploadSessions for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -76,8 +88,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Get uploadSessions from identityGovernance * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession get() { return get(null); } @@ -86,8 +101,11 @@ public CustomDataProvidedResourceUploadSession get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -99,8 +117,11 @@ public CustomDataProvidedResourceUploadSession get(@jakarta.annotation.Nullable * @param body The request body * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession patch(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body) { return patch(body, null); } @@ -110,8 +131,11 @@ public CustomDataProvidedResourceUploadSession patch(@jakarta.annotation.Nonnull * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession patch(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -122,8 +146,11 @@ public CustomDataProvidedResourceUploadSession patch(@jakarta.annotation.Nonnull /** * Delete navigation property uploadSessions for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -131,8 +158,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property uploadSessions for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -142,8 +172,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Get uploadSessions from identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -151,8 +184,11 @@ public RequestInformation toGetRequestInformation() { * Get uploadSessions from identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -163,8 +199,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property uploadSessions in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body) { return toPatchRequestInformation(body, null); } @@ -173,8 +212,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -187,8 +229,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CustomDataProvidedResourceUploadSessionItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CustomDataProvidedResourceUploadSessionItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CustomDataProvidedResourceUploadSessionItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/files/FilesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/files/FilesRequestBuilder.java index dcec4b1cea7..1ac53b24837 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/files/FilesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/files/FilesRequestBuilder.java @@ -25,7 +25,10 @@ public class FilesRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -34,8 +37,11 @@ public CountRequestBuilder count() { * Provides operations to manage the files property of the microsoft.graph.customDataProvidedResourceUploadSession entity. * @param customDataProvidedResourceFileId The unique identifier of customDataProvidedResourceFile * @return a {@link CustomDataProvidedResourceFileItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CustomDataProvidedResourceFileItemRequestBuilder byCustomDataProvidedResourceFileId(@jakarta.annotation.Nonnull final String customDataProvidedResourceFileId) { Objects.requireNonNull(customDataProvidedResourceFileId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -62,8 +68,11 @@ public FilesRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @return a {@link CustomDataProvidedResourceFileCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceFileCollectionResponse get() { return get(null); } @@ -72,8 +81,11 @@ public CustomDataProvidedResourceFileCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceFileCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceFileCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -83,8 +95,11 @@ public CustomDataProvidedResourceFileCollectionResponse get(@jakarta.annotation. /** * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -92,8 +107,11 @@ public RequestInformation toGetRequestInformation() { * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -104,8 +122,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link FilesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new FilesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/files/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/files/count/CountRequestBuilder.java index f92994f0da3..fde3b75c83f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/files/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/files/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/files/item/CustomDataProvidedResourceFileItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/files/item/CustomDataProvidedResourceFileItemRequestBuilder.java index 75c56636824..6f828148591 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/files/item/CustomDataProvidedResourceFileItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/files/item/CustomDataProvidedResourceFileItemRequestBuilder.java @@ -24,7 +24,10 @@ public class CustomDataProvidedResourceFileItemRequestBuilder extends BaseReques /** * Provides operations to manage the media for the identityGovernance entity. * @return a {@link ContentRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ContentRequestBuilder content() { return new ContentRequestBuilder(pathParameters, requestAdapter); @@ -49,8 +52,11 @@ public CustomDataProvidedResourceFileItemRequestBuilder(@jakarta.annotation.Nonn * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @return a {@link CustomDataProvidedResourceFile} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceFile get() { return get(null); } @@ -59,8 +65,11 @@ public CustomDataProvidedResourceFile get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceFile} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceFile get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -70,8 +79,11 @@ public CustomDataProvidedResourceFile get(@jakarta.annotation.Nullable final jav /** * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -79,8 +91,11 @@ public RequestInformation toGetRequestInformation() { * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -91,8 +106,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CustomDataProvidedResourceFileItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CustomDataProvidedResourceFileItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CustomDataProvidedResourceFileItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/files/item/value/ContentRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/files/item/value/ContentRequestBuilder.java index 044e6f98da2..0dff03b7058 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/files/item/value/ContentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/files/item/value/ContentRequestBuilder.java @@ -38,7 +38,10 @@ public ContentRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j /** * The unique identifier for an entity. Read-only. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -46,7 +49,10 @@ public void delete() { * The unique identifier for an entity. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * The unique identifier for an entity. Read-only. * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public InputStream get() { return get(null); } @@ -67,8 +76,11 @@ public InputStream get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public InputStream get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -80,8 +92,11 @@ public InputStream get(@jakarta.annotation.Nullable final java.util.function.Con * @param body Binary request body * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public InputStream put(@jakarta.annotation.Nonnull final InputStream body) { return put(body, null); } @@ -91,8 +106,11 @@ public InputStream put(@jakarta.annotation.Nonnull final InputStream body) { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public InputStream put(@jakarta.annotation.Nonnull final InputStream body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPutRequestInformation(body, requestConfiguration); @@ -103,8 +121,11 @@ public InputStream put(@jakarta.annotation.Nonnull final InputStream body, @jaka /** * The unique identifier for an entity. Read-only. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -112,8 +133,11 @@ public RequestInformation toDeleteRequestInformation() { * The unique identifier for an entity. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -123,8 +147,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * The unique identifier for an entity. Read-only. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -132,8 +159,11 @@ public RequestInformation toGetRequestInformation() { * The unique identifier for an entity. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new); @@ -144,8 +174,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * The unique identifier for an entity. Read-only. * @param body Binary request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull final InputStream body) { return toPutRequestInformation(body, null); } @@ -154,8 +187,11 @@ public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull fi * @param body Binary request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull final InputStream body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PUT, urlTemplate, pathParameters); @@ -168,8 +204,11 @@ public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull fi * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ContentRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ContentRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ContentRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/uploadfile/UploadFileRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/uploadfile/UploadFileRequestBuilder.java index bb2f161f362..9dd8ee43174 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/uploadfile/UploadFileRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/uploadfile/UploadFileRequestBuilder.java @@ -39,9 +39,12 @@ public UploadFileRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, * Upload a file in a customDataProvidedResourceUploadSession created for a customDataProvidedResource. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession post() { return post(null); } @@ -50,9 +53,12 @@ public CustomDataProvidedResourceUploadSession post() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -62,8 +68,11 @@ public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nullable /** * Upload a file in a customDataProvidedResourceUploadSession created for a customDataProvidedResource. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation() { * Upload a file in a customDataProvidedResourceUploadSession created for a customDataProvidedResource. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -83,8 +95,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link UploadFileRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public UploadFileRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new UploadFileRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/externaloriginresourceconnector/ExternalOriginResourceConnectorRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/externaloriginresourceconnector/ExternalOriginResourceConnectorRequestBuilder.java index 9f4d74cf7c1..74133c1258a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/externaloriginresourceconnector/ExternalOriginResourceConnectorRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/externaloriginresourceconnector/ExternalOriginResourceConnectorRequestBuilder.java @@ -40,8 +40,11 @@ public ExternalOriginResourceConnectorRequestBuilder(@jakarta.annotation.Nonnull * The connector that integrates with external origin systems to provision access to resources from those systems. Read-only. Nullable. * @return a {@link ExternalOriginResourceConnector} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ExternalOriginResourceConnector get() { return get(null); } @@ -50,8 +53,11 @@ public ExternalOriginResourceConnector get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ExternalOriginResourceConnector} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ExternalOriginResourceConnector get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public ExternalOriginResourceConnector get(@jakarta.annotation.Nullable final ja /** * The connector that integrates with external origin systems to provision access to resources from those systems. Read-only. Nullable. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * The connector that integrates with external origin systems to provision access to resources from those systems. Read-only. Nullable. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ExternalOriginResourceConnectorRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ExternalOriginResourceConnectorRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ExternalOriginResourceConnectorRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/refresh/RefreshRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/refresh/RefreshRequestBuilder.java index ed083326fe5..fc002b81267 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/refresh/RefreshRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/refresh/RefreshRequestBuilder.java @@ -37,8 +37,11 @@ public RefreshRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j /** * In Microsoft Entra entitlement management, refresh the accessPackageResource object to fetch the latest details for displayName, description, and resourceType from the origin system. For the AadApplication originSystem, this operation also updates the displayName and description for the accessPackageResourceRole. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * In Microsoft Entra entitlement management, refresh the accessPackageResource object to fetch the latest details for displayName, description, and resourceType from the origin system. For the AadApplication originSystem, this operation also updates the displayName and description for the accessPackageResourceRole. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * In Microsoft Entra entitlement management, refresh the accessPackageResource object to fetch the latest details for displayName, description, and resourceType from the origin system. For the AadApplication originSystem, this operation also updates the displayName and description for the accessPackageResourceRole. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * In Microsoft Entra entitlement management, refresh the accessPackageResource object to fetch the latest details for displayName, description, and resourceType from the origin system. For the AadApplication originSystem, this operation also updates the displayName and description for the accessPackageResourceRole. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RefreshRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RefreshRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RefreshRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/uploadsessions/UploadSessionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/uploadsessions/UploadSessionsRequestBuilder.java index 7130ac51bc5..a16adc0cf9b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/uploadsessions/UploadSessionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/uploadsessions/UploadSessionsRequestBuilder.java @@ -26,7 +26,10 @@ public class UploadSessionsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the uploadSessions property of the microsoft.graph.accessPackageResource entity. * @param customDataProvidedResourceUploadSessionId The unique identifier of customDataProvidedResourceUploadSession * @return a {@link CustomDataProvidedResourceUploadSessionItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CustomDataProvidedResourceUploadSessionItemRequestBuilder byCustomDataProvidedResourceUploadSessionId(@jakarta.annotation.Nonnull final String customDataProvidedResourceUploadSessionId) { Objects.requireNonNull(customDataProvidedResourceUploadSessionId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public UploadSessionsRequestBuilder(@jakarta.annotation.Nonnull final String raw * Get uploadSessions from identityGovernance * @return a {@link CustomDataProvidedResourceUploadSessionCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSessionCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public CustomDataProvidedResourceUploadSessionCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSessionCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSessionCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public CustomDataProvidedResourceUploadSessionCollectionResponse get(@jakarta.an * @param body The request body * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body) { return post(body, null); } @@ -97,8 +112,11 @@ public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nonnull * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nonnull /** * Get uploadSessions from identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Get uploadSessions from identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to uploadSessions for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link UploadSessionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public UploadSessionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new UploadSessionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/uploadsessions/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/uploadsessions/count/CountRequestBuilder.java index eab2b33f5c0..9fbaccc96fd 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/uploadsessions/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/uploadsessions/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/CustomDataProvidedResourceUploadSessionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/CustomDataProvidedResourceUploadSessionItemRequestBuilder.java index 3c5684c6d62..3ec8e30c1be 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/CustomDataProvidedResourceUploadSessionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/CustomDataProvidedResourceUploadSessionItemRequestBuilder.java @@ -25,7 +25,10 @@ public class CustomDataProvidedResourceUploadSessionItemRequestBuilder extends B /** * Provides operations to manage the files property of the microsoft.graph.customDataProvidedResourceUploadSession entity. * @return a {@link FilesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public FilesRequestBuilder files() { return new FilesRequestBuilder(pathParameters, requestAdapter); @@ -33,7 +36,10 @@ public FilesRequestBuilder files() { /** * Provides operations to call the uploadFile method. * @return a {@link UploadFileRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public UploadFileRequestBuilder uploadFile() { return new UploadFileRequestBuilder(pathParameters, requestAdapter); @@ -57,7 +63,10 @@ public CustomDataProvidedResourceUploadSessionItemRequestBuilder(@jakarta.annota /** * Delete navigation property uploadSessions for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -65,7 +74,10 @@ public void delete() { * Delete navigation property uploadSessions for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -76,8 +88,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Get uploadSessions from identityGovernance * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession get() { return get(null); } @@ -86,8 +101,11 @@ public CustomDataProvidedResourceUploadSession get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -99,8 +117,11 @@ public CustomDataProvidedResourceUploadSession get(@jakarta.annotation.Nullable * @param body The request body * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession patch(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body) { return patch(body, null); } @@ -110,8 +131,11 @@ public CustomDataProvidedResourceUploadSession patch(@jakarta.annotation.Nonnull * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession patch(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -122,8 +146,11 @@ public CustomDataProvidedResourceUploadSession patch(@jakarta.annotation.Nonnull /** * Delete navigation property uploadSessions for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -131,8 +158,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property uploadSessions for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -142,8 +172,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Get uploadSessions from identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -151,8 +184,11 @@ public RequestInformation toGetRequestInformation() { * Get uploadSessions from identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -163,8 +199,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property uploadSessions in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body) { return toPatchRequestInformation(body, null); } @@ -173,8 +212,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -187,8 +229,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CustomDataProvidedResourceUploadSessionItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CustomDataProvidedResourceUploadSessionItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CustomDataProvidedResourceUploadSessionItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/files/FilesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/files/FilesRequestBuilder.java index b607aee961d..ee11272da04 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/files/FilesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/files/FilesRequestBuilder.java @@ -25,7 +25,10 @@ public class FilesRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -34,8 +37,11 @@ public CountRequestBuilder count() { * Provides operations to manage the files property of the microsoft.graph.customDataProvidedResourceUploadSession entity. * @param customDataProvidedResourceFileId The unique identifier of customDataProvidedResourceFile * @return a {@link CustomDataProvidedResourceFileItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CustomDataProvidedResourceFileItemRequestBuilder byCustomDataProvidedResourceFileId(@jakarta.annotation.Nonnull final String customDataProvidedResourceFileId) { Objects.requireNonNull(customDataProvidedResourceFileId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -62,8 +68,11 @@ public FilesRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @return a {@link CustomDataProvidedResourceFileCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceFileCollectionResponse get() { return get(null); } @@ -72,8 +81,11 @@ public CustomDataProvidedResourceFileCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceFileCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceFileCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -83,8 +95,11 @@ public CustomDataProvidedResourceFileCollectionResponse get(@jakarta.annotation. /** * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -92,8 +107,11 @@ public RequestInformation toGetRequestInformation() { * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -104,8 +122,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link FilesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new FilesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/files/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/files/count/CountRequestBuilder.java index 1df1b83a31c..f5c0a80f160 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/files/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/files/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/files/item/CustomDataProvidedResourceFileItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/files/item/CustomDataProvidedResourceFileItemRequestBuilder.java index dc48759ee4b..ae1dd39eda9 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/files/item/CustomDataProvidedResourceFileItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/files/item/CustomDataProvidedResourceFileItemRequestBuilder.java @@ -24,7 +24,10 @@ public class CustomDataProvidedResourceFileItemRequestBuilder extends BaseReques /** * Provides operations to manage the media for the identityGovernance entity. * @return a {@link ContentRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ContentRequestBuilder content() { return new ContentRequestBuilder(pathParameters, requestAdapter); @@ -49,8 +52,11 @@ public CustomDataProvidedResourceFileItemRequestBuilder(@jakarta.annotation.Nonn * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @return a {@link CustomDataProvidedResourceFile} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceFile get() { return get(null); } @@ -59,8 +65,11 @@ public CustomDataProvidedResourceFile get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceFile} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceFile get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -70,8 +79,11 @@ public CustomDataProvidedResourceFile get(@jakarta.annotation.Nullable final jav /** * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -79,8 +91,11 @@ public RequestInformation toGetRequestInformation() { * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -91,8 +106,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CustomDataProvidedResourceFileItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CustomDataProvidedResourceFileItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CustomDataProvidedResourceFileItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/files/item/value/ContentRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/files/item/value/ContentRequestBuilder.java index e64d304ac39..4fbd730f336 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/files/item/value/ContentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/files/item/value/ContentRequestBuilder.java @@ -38,7 +38,10 @@ public ContentRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j /** * The unique identifier for an entity. Read-only. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -46,7 +49,10 @@ public void delete() { * The unique identifier for an entity. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * The unique identifier for an entity. Read-only. * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public InputStream get() { return get(null); } @@ -67,8 +76,11 @@ public InputStream get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public InputStream get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -80,8 +92,11 @@ public InputStream get(@jakarta.annotation.Nullable final java.util.function.Con * @param body Binary request body * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public InputStream put(@jakarta.annotation.Nonnull final InputStream body) { return put(body, null); } @@ -91,8 +106,11 @@ public InputStream put(@jakarta.annotation.Nonnull final InputStream body) { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public InputStream put(@jakarta.annotation.Nonnull final InputStream body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPutRequestInformation(body, requestConfiguration); @@ -103,8 +121,11 @@ public InputStream put(@jakarta.annotation.Nonnull final InputStream body, @jaka /** * The unique identifier for an entity. Read-only. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -112,8 +133,11 @@ public RequestInformation toDeleteRequestInformation() { * The unique identifier for an entity. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -123,8 +147,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * The unique identifier for an entity. Read-only. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -132,8 +159,11 @@ public RequestInformation toGetRequestInformation() { * The unique identifier for an entity. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new); @@ -144,8 +174,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * The unique identifier for an entity. Read-only. * @param body Binary request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull final InputStream body) { return toPutRequestInformation(body, null); } @@ -154,8 +187,11 @@ public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull fi * @param body Binary request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull final InputStream body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PUT, urlTemplate, pathParameters); @@ -168,8 +204,11 @@ public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull fi * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ContentRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ContentRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ContentRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/uploadfile/UploadFileRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/uploadfile/UploadFileRequestBuilder.java index b1c6fe4e5cf..f2b040aef85 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/uploadfile/UploadFileRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/uploadfile/UploadFileRequestBuilder.java @@ -39,9 +39,12 @@ public UploadFileRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, * Upload a file in a customDataProvidedResourceUploadSession created for a customDataProvidedResource. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession post() { return post(null); } @@ -50,9 +53,12 @@ public CustomDataProvidedResourceUploadSession post() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -62,8 +68,11 @@ public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nullable /** * Upload a file in a customDataProvidedResourceUploadSession created for a customDataProvidedResource. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation() { * Upload a file in a customDataProvidedResourceUploadSession created for a customDataProvidedResource. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -83,8 +95,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link UploadFileRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public UploadFileRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new UploadFileRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/AccessPackageResourceScopeRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/AccessPackageResourceScopeRequestBuilder.java index ce679334c64..9c24b87682a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/AccessPackageResourceScopeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/AccessPackageResourceScopeRequestBuilder.java @@ -24,7 +24,10 @@ public class AccessPackageResourceScopeRequestBuilder extends BaseRequestBuilder /** * Provides operations to manage the accessPackageResource property of the microsoft.graph.accessPackageResourceScope entity. * @return a {@link AccessPackageResourceRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackageResourceRequestBuilder accessPackageResource() { return new AccessPackageResourceRequestBuilder(pathParameters, requestAdapter); @@ -48,7 +51,10 @@ public AccessPackageResourceScopeRequestBuilder(@jakarta.annotation.Nonnull fina /** * Delete navigation property accessPackageResourceScope for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -56,7 +62,10 @@ public void delete() { * Delete navigation property accessPackageResourceScope for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -67,8 +76,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Get accessPackageResourceScope from identityGovernance * @return a {@link AccessPackageResourceScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScope get() { return get(null); } @@ -77,8 +89,11 @@ public AccessPackageResourceScope get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScope get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -90,8 +105,11 @@ public AccessPackageResourceScope get(@jakarta.annotation.Nullable final java.ut * @param body The request body * @return a {@link AccessPackageResourceScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScope patch(@jakarta.annotation.Nonnull final AccessPackageResourceScope body) { return patch(body, null); } @@ -101,8 +119,11 @@ public AccessPackageResourceScope patch(@jakarta.annotation.Nonnull final Access * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScope patch(@jakarta.annotation.Nonnull final AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -113,8 +134,11 @@ public AccessPackageResourceScope patch(@jakarta.annotation.Nonnull final Access /** * Delete navigation property accessPackageResourceScope for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -122,8 +146,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property accessPackageResourceScope for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -133,8 +160,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Get accessPackageResourceScope from identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -142,8 +172,11 @@ public RequestInformation toGetRequestInformation() { * Get accessPackageResourceScope from identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -154,8 +187,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property accessPackageResourceScope in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceScope body) { return toPatchRequestInformation(body, null); } @@ -164,8 +200,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -178,8 +217,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceScopeRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceScopeRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceScopeRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/AccessPackageResourceRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/AccessPackageResourceRequestBuilder.java index 901b45ec35e..1482658d35c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/AccessPackageResourceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/AccessPackageResourceRequestBuilder.java @@ -29,7 +29,10 @@ public class AccessPackageResourceRequestBuilder extends BaseRequestBuilder { /** * Provides operations to manage the accessPackageResourceEnvironment property of the microsoft.graph.accessPackageResource entity. * @return a {@link AccessPackageResourceEnvironmentRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackageResourceEnvironmentRequestBuilder accessPackageResourceEnvironment() { return new AccessPackageResourceEnvironmentRequestBuilder(pathParameters, requestAdapter); @@ -37,7 +40,10 @@ public AccessPackageResourceEnvironmentRequestBuilder accessPackageResourceEnvir /** * Provides operations to manage the accessPackageResourceRoles property of the microsoft.graph.accessPackageResource entity. * @return a {@link AccessPackageResourceRolesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackageResourceRolesRequestBuilder accessPackageResourceRoles() { return new AccessPackageResourceRolesRequestBuilder(pathParameters, requestAdapter); @@ -45,7 +51,10 @@ public AccessPackageResourceRolesRequestBuilder accessPackageResourceRoles() { /** * Provides operations to manage the accessPackageResourceScopes property of the microsoft.graph.accessPackageResource entity. * @return a {@link AccessPackageResourceScopesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackageResourceScopesRequestBuilder accessPackageResourceScopes() { return new AccessPackageResourceScopesRequestBuilder(pathParameters, requestAdapter); @@ -53,7 +62,10 @@ public AccessPackageResourceScopesRequestBuilder accessPackageResourceScopes() { /** * Provides operations to manage the externalOriginResourceConnector property of the microsoft.graph.accessPackageResource entity. * @return a {@link ExternalOriginResourceConnectorRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ExternalOriginResourceConnectorRequestBuilder externalOriginResourceConnector() { return new ExternalOriginResourceConnectorRequestBuilder(pathParameters, requestAdapter); @@ -61,7 +73,10 @@ public ExternalOriginResourceConnectorRequestBuilder externalOriginResourceConne /** * Provides operations to call the refresh method. * @return a {@link RefreshRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public RefreshRequestBuilder refresh() { return new RefreshRequestBuilder(pathParameters, requestAdapter); @@ -69,7 +84,10 @@ public RefreshRequestBuilder refresh() { /** * Provides operations to manage the uploadSessions property of the microsoft.graph.accessPackageResource entity. * @return a {@link UploadSessionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public UploadSessionsRequestBuilder uploadSessions() { return new UploadSessionsRequestBuilder(pathParameters, requestAdapter); @@ -93,7 +111,10 @@ public AccessPackageResourceRequestBuilder(@jakarta.annotation.Nonnull final Str /** * Delete navigation property accessPackageResource for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -101,7 +122,10 @@ public void delete() { * Delete navigation property accessPackageResource for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -112,8 +136,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Get accessPackageResource from identityGovernance * @return a {@link AccessPackageResource} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResource get() { return get(null); } @@ -122,8 +149,11 @@ public AccessPackageResource get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResource} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResource get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -135,8 +165,11 @@ public AccessPackageResource get(@jakarta.annotation.Nullable final java.util.fu * @param body The request body * @return a {@link AccessPackageResource} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResource patch(@jakarta.annotation.Nonnull final AccessPackageResource body) { return patch(body, null); } @@ -146,8 +179,11 @@ public AccessPackageResource patch(@jakarta.annotation.Nonnull final AccessPacka * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResource} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResource patch(@jakarta.annotation.Nonnull final AccessPackageResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -158,8 +194,11 @@ public AccessPackageResource patch(@jakarta.annotation.Nonnull final AccessPacka /** * Delete navigation property accessPackageResource for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -167,8 +206,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property accessPackageResource for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -178,8 +220,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Get accessPackageResource from identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -187,8 +232,11 @@ public RequestInformation toGetRequestInformation() { * Get accessPackageResource from identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -199,8 +247,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property accessPackageResource in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResource body) { return toPatchRequestInformation(body, null); } @@ -209,8 +260,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -223,8 +277,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceenvironment/AccessPackageResourceEnvironmentRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceenvironment/AccessPackageResourceEnvironmentRequestBuilder.java index 1987b43ceb8..c2488cf12d1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceenvironment/AccessPackageResourceEnvironmentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceenvironment/AccessPackageResourceEnvironmentRequestBuilder.java @@ -40,8 +40,11 @@ public AccessPackageResourceEnvironmentRequestBuilder(@jakarta.annotation.Nonnul * Contains the environment information for the resource. This environment can be set using either the @odata.bind annotation or the environment's originId. Supports $expand. * @return a {@link AccessPackageResourceEnvironment} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceEnvironment get() { return get(null); } @@ -50,8 +53,11 @@ public AccessPackageResourceEnvironment get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceEnvironment} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceEnvironment get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public AccessPackageResourceEnvironment get(@jakarta.annotation.Nullable final j /** * Contains the environment information for the resource. This environment can be set using either the @odata.bind annotation or the environment's originId. Supports $expand. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * Contains the environment information for the resource. This environment can be set using either the @odata.bind annotation or the environment's originId. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceEnvironmentRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceEnvironmentRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceEnvironmentRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java index b4ff6aa48df..72c8ee1048a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java @@ -26,7 +26,10 @@ public class AccessPackageResourceRolesRequestBuilder extends BaseRequestBuilder /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the accessPackageResourceRoles property of the microsoft.graph.accessPackageResource entity. * @param accessPackageResourceRoleId The unique identifier of accessPackageResourceRole * @return a {@link AccessPackageResourceRoleItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceRoleItemRequestBuilder byAccessPackageResourceRoleId(@jakarta.annotation.Nonnull final String accessPackageResourceRoleId) { Objects.requireNonNull(accessPackageResourceRoleId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public AccessPackageResourceRolesRequestBuilder(@jakarta.annotation.Nonnull fina * Read-only. Nullable. Supports $expand. * @return a {@link AccessPackageResourceRoleCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRoleCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public AccessPackageResourceRoleCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceRoleCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRoleCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public AccessPackageResourceRoleCollectionResponse get(@jakarta.annotation.Nulla * @param body The request body * @return a {@link AccessPackageResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRole post(@jakarta.annotation.Nonnull final AccessPackageResourceRole body) { return post(body, null); } @@ -97,8 +112,11 @@ public AccessPackageResourceRole post(@jakarta.annotation.Nonnull final AccessPa * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRole post(@jakarta.annotation.Nonnull final AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public AccessPackageResourceRole post(@jakarta.annotation.Nonnull final AccessPa /** * Read-only. Nullable. Supports $expand. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Read-only. Nullable. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to accessPackageResourceRoles for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRole body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceRolesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceRolesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceRolesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/count/CountRequestBuilder.java index 7bf5e52cd53..0aae12f2af1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java index 53a93971e91..60a8ebc883a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java @@ -24,7 +24,10 @@ public class AccessPackageResourceRoleItemRequestBuilder extends BaseRequestBuil /** * Provides operations to manage the accessPackageResource property of the microsoft.graph.accessPackageResourceRole entity. * @return a {@link AccessPackageResourceRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackageResourceRequestBuilder accessPackageResource() { return new AccessPackageResourceRequestBuilder(pathParameters, requestAdapter); @@ -48,7 +51,10 @@ public AccessPackageResourceRoleItemRequestBuilder(@jakarta.annotation.Nonnull f /** * Delete navigation property accessPackageResourceRoles for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -56,7 +62,10 @@ public void delete() { * Delete navigation property accessPackageResourceRoles for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -67,8 +76,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Read-only. Nullable. Supports $expand. * @return a {@link AccessPackageResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRole get() { return get(null); } @@ -77,8 +89,11 @@ public AccessPackageResourceRole get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRole get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -90,8 +105,11 @@ public AccessPackageResourceRole get(@jakarta.annotation.Nullable final java.uti * @param body The request body * @return a {@link AccessPackageResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRole patch(@jakarta.annotation.Nonnull final AccessPackageResourceRole body) { return patch(body, null); } @@ -101,8 +119,11 @@ public AccessPackageResourceRole patch(@jakarta.annotation.Nonnull final AccessP * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRole patch(@jakarta.annotation.Nonnull final AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -113,8 +134,11 @@ public AccessPackageResourceRole patch(@jakarta.annotation.Nonnull final AccessP /** * Delete navigation property accessPackageResourceRoles for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -122,8 +146,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property accessPackageResourceRoles for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -133,8 +160,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Read-only. Nullable. Supports $expand. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -142,8 +172,11 @@ public RequestInformation toGetRequestInformation() { * Read-only. Nullable. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -154,8 +187,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property accessPackageResourceRoles in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRole body) { return toPatchRequestInformation(body, null); } @@ -164,8 +200,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -178,8 +217,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceRoleItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceRoleItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceRoleItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/AccessPackageResourceRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/AccessPackageResourceRequestBuilder.java index 09d1d9490a2..fb58bfadd1a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/AccessPackageResourceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/AccessPackageResourceRequestBuilder.java @@ -28,7 +28,10 @@ public class AccessPackageResourceRequestBuilder extends BaseRequestBuilder { /** * Provides operations to manage the accessPackageResourceEnvironment property of the microsoft.graph.accessPackageResource entity. * @return a {@link AccessPackageResourceEnvironmentRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackageResourceEnvironmentRequestBuilder accessPackageResourceEnvironment() { return new AccessPackageResourceEnvironmentRequestBuilder(pathParameters, requestAdapter); @@ -36,7 +39,10 @@ public AccessPackageResourceEnvironmentRequestBuilder accessPackageResourceEnvir /** * Provides operations to manage the accessPackageResourceScopes property of the microsoft.graph.accessPackageResource entity. * @return a {@link AccessPackageResourceScopesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackageResourceScopesRequestBuilder accessPackageResourceScopes() { return new AccessPackageResourceScopesRequestBuilder(pathParameters, requestAdapter); @@ -44,7 +50,10 @@ public AccessPackageResourceScopesRequestBuilder accessPackageResourceScopes() { /** * Provides operations to manage the externalOriginResourceConnector property of the microsoft.graph.accessPackageResource entity. * @return a {@link ExternalOriginResourceConnectorRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ExternalOriginResourceConnectorRequestBuilder externalOriginResourceConnector() { return new ExternalOriginResourceConnectorRequestBuilder(pathParameters, requestAdapter); @@ -52,7 +61,10 @@ public ExternalOriginResourceConnectorRequestBuilder externalOriginResourceConne /** * Provides operations to call the refresh method. * @return a {@link RefreshRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public RefreshRequestBuilder refresh() { return new RefreshRequestBuilder(pathParameters, requestAdapter); @@ -60,7 +72,10 @@ public RefreshRequestBuilder refresh() { /** * Provides operations to manage the uploadSessions property of the microsoft.graph.accessPackageResource entity. * @return a {@link UploadSessionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public UploadSessionsRequestBuilder uploadSessions() { return new UploadSessionsRequestBuilder(pathParameters, requestAdapter); @@ -84,7 +99,10 @@ public AccessPackageResourceRequestBuilder(@jakarta.annotation.Nonnull final Str /** * Delete navigation property accessPackageResource for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -92,7 +110,10 @@ public void delete() { * Delete navigation property accessPackageResource for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -103,8 +124,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Get accessPackageResource from identityGovernance * @return a {@link AccessPackageResource} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResource get() { return get(null); } @@ -113,8 +137,11 @@ public AccessPackageResource get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResource} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResource get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -126,8 +153,11 @@ public AccessPackageResource get(@jakarta.annotation.Nullable final java.util.fu * @param body The request body * @return a {@link AccessPackageResource} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResource patch(@jakarta.annotation.Nonnull final AccessPackageResource body) { return patch(body, null); } @@ -137,8 +167,11 @@ public AccessPackageResource patch(@jakarta.annotation.Nonnull final AccessPacka * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResource} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResource patch(@jakarta.annotation.Nonnull final AccessPackageResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -149,8 +182,11 @@ public AccessPackageResource patch(@jakarta.annotation.Nonnull final AccessPacka /** * Delete navigation property accessPackageResource for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -158,8 +194,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property accessPackageResource for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -169,8 +208,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Get accessPackageResource from identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -178,8 +220,11 @@ public RequestInformation toGetRequestInformation() { * Get accessPackageResource from identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -190,8 +235,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property accessPackageResource in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResource body) { return toPatchRequestInformation(body, null); } @@ -200,8 +248,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -214,8 +265,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourceenvironment/AccessPackageResourceEnvironmentRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourceenvironment/AccessPackageResourceEnvironmentRequestBuilder.java index d690c40cbd0..a8539ff5bb8 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourceenvironment/AccessPackageResourceEnvironmentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourceenvironment/AccessPackageResourceEnvironmentRequestBuilder.java @@ -40,8 +40,11 @@ public AccessPackageResourceEnvironmentRequestBuilder(@jakarta.annotation.Nonnul * Contains the environment information for the resource. This environment can be set using either the @odata.bind annotation or the environment's originId. Supports $expand. * @return a {@link AccessPackageResourceEnvironment} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceEnvironment get() { return get(null); } @@ -50,8 +53,11 @@ public AccessPackageResourceEnvironment get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceEnvironment} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceEnvironment get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public AccessPackageResourceEnvironment get(@jakarta.annotation.Nullable final j /** * Contains the environment information for the resource. This environment can be set using either the @odata.bind annotation or the environment's originId. Supports $expand. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * Contains the environment information for the resource. This environment can be set using either the @odata.bind annotation or the environment's originId. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceEnvironmentRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceEnvironmentRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceEnvironmentRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java index 021d19941f2..654df4fbabd 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java @@ -26,7 +26,10 @@ public class AccessPackageResourceScopesRequestBuilder extends BaseRequestBuilde /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the accessPackageResourceScopes property of the microsoft.graph.accessPackageResource entity. * @param accessPackageResourceScopeId The unique identifier of accessPackageResourceScope * @return a {@link AccessPackageResourceScopeItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceScopeItemRequestBuilder byAccessPackageResourceScopeId(@jakarta.annotation.Nonnull final String accessPackageResourceScopeId) { Objects.requireNonNull(accessPackageResourceScopeId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public AccessPackageResourceScopesRequestBuilder(@jakarta.annotation.Nonnull fin * Read-only. Nullable. Supports $expand. * @return a {@link AccessPackageResourceScopeCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScopeCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public AccessPackageResourceScopeCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceScopeCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScopeCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public AccessPackageResourceScopeCollectionResponse get(@jakarta.annotation.Null * @param body The request body * @return a {@link AccessPackageResourceScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScope post(@jakarta.annotation.Nonnull final AccessPackageResourceScope body) { return post(body, null); } @@ -97,8 +112,11 @@ public AccessPackageResourceScope post(@jakarta.annotation.Nonnull final AccessP * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScope post(@jakarta.annotation.Nonnull final AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public AccessPackageResourceScope post(@jakarta.annotation.Nonnull final AccessP /** * Read-only. Nullable. Supports $expand. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Read-only. Nullable. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to accessPackageResourceScopes for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceScope body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceScopesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceScopesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceScopesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/count/CountRequestBuilder.java index 732c8973dfc..8d890560a9f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java index c2c2046aeb0..15d616372d7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java @@ -39,7 +39,10 @@ public AccessPackageResourceScopeItemRequestBuilder(@jakarta.annotation.Nonnull /** * Delete navigation property accessPackageResourceScopes for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -47,7 +50,10 @@ public void delete() { * Delete navigation property accessPackageResourceScopes for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -58,8 +64,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Read-only. Nullable. Supports $expand. * @return a {@link AccessPackageResourceScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScope get() { return get(null); } @@ -68,8 +77,11 @@ public AccessPackageResourceScope get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScope get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -81,8 +93,11 @@ public AccessPackageResourceScope get(@jakarta.annotation.Nullable final java.ut * @param body The request body * @return a {@link AccessPackageResourceScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScope patch(@jakarta.annotation.Nonnull final AccessPackageResourceScope body) { return patch(body, null); } @@ -92,8 +107,11 @@ public AccessPackageResourceScope patch(@jakarta.annotation.Nonnull final Access * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScope patch(@jakarta.annotation.Nonnull final AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -104,8 +122,11 @@ public AccessPackageResourceScope patch(@jakarta.annotation.Nonnull final Access /** * Delete navigation property accessPackageResourceScopes for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -113,8 +134,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property accessPackageResourceScopes for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Read-only. Nullable. Supports $expand. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -133,8 +160,11 @@ public RequestInformation toGetRequestInformation() { * Read-only. Nullable. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -145,8 +175,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property accessPackageResourceScopes in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceScope body) { return toPatchRequestInformation(body, null); } @@ -155,8 +188,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -169,8 +205,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceScopeItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceScopeItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceScopeItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/externaloriginresourceconnector/ExternalOriginResourceConnectorRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/externaloriginresourceconnector/ExternalOriginResourceConnectorRequestBuilder.java index 9970e3c61e1..9469a41fb43 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/externaloriginresourceconnector/ExternalOriginResourceConnectorRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/externaloriginresourceconnector/ExternalOriginResourceConnectorRequestBuilder.java @@ -40,8 +40,11 @@ public ExternalOriginResourceConnectorRequestBuilder(@jakarta.annotation.Nonnull * The connector that integrates with external origin systems to provision access to resources from those systems. Read-only. Nullable. * @return a {@link ExternalOriginResourceConnector} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ExternalOriginResourceConnector get() { return get(null); } @@ -50,8 +53,11 @@ public ExternalOriginResourceConnector get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ExternalOriginResourceConnector} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ExternalOriginResourceConnector get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public ExternalOriginResourceConnector get(@jakarta.annotation.Nullable final ja /** * The connector that integrates with external origin systems to provision access to resources from those systems. Read-only. Nullable. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * The connector that integrates with external origin systems to provision access to resources from those systems. Read-only. Nullable. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ExternalOriginResourceConnectorRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ExternalOriginResourceConnectorRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ExternalOriginResourceConnectorRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/refresh/RefreshRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/refresh/RefreshRequestBuilder.java index ce027324c94..7c05ea5dea2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/refresh/RefreshRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/refresh/RefreshRequestBuilder.java @@ -37,8 +37,11 @@ public RefreshRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j /** * In Microsoft Entra entitlement management, refresh the accessPackageResource object to fetch the latest details for displayName, description, and resourceType from the origin system. For the AadApplication originSystem, this operation also updates the displayName and description for the accessPackageResourceRole. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * In Microsoft Entra entitlement management, refresh the accessPackageResource object to fetch the latest details for displayName, description, and resourceType from the origin system. For the AadApplication originSystem, this operation also updates the displayName and description for the accessPackageResourceRole. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * In Microsoft Entra entitlement management, refresh the accessPackageResource object to fetch the latest details for displayName, description, and resourceType from the origin system. For the AadApplication originSystem, this operation also updates the displayName and description for the accessPackageResourceRole. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * In Microsoft Entra entitlement management, refresh the accessPackageResource object to fetch the latest details for displayName, description, and resourceType from the origin system. For the AadApplication originSystem, this operation also updates the displayName and description for the accessPackageResourceRole. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RefreshRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RefreshRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RefreshRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/UploadSessionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/UploadSessionsRequestBuilder.java index df44a0d0f44..e1640e941e0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/UploadSessionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/UploadSessionsRequestBuilder.java @@ -26,7 +26,10 @@ public class UploadSessionsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the uploadSessions property of the microsoft.graph.accessPackageResource entity. * @param customDataProvidedResourceUploadSessionId The unique identifier of customDataProvidedResourceUploadSession * @return a {@link CustomDataProvidedResourceUploadSessionItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CustomDataProvidedResourceUploadSessionItemRequestBuilder byCustomDataProvidedResourceUploadSessionId(@jakarta.annotation.Nonnull final String customDataProvidedResourceUploadSessionId) { Objects.requireNonNull(customDataProvidedResourceUploadSessionId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public UploadSessionsRequestBuilder(@jakarta.annotation.Nonnull final String raw * Get uploadSessions from identityGovernance * @return a {@link CustomDataProvidedResourceUploadSessionCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSessionCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public CustomDataProvidedResourceUploadSessionCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSessionCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSessionCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public CustomDataProvidedResourceUploadSessionCollectionResponse get(@jakarta.an * @param body The request body * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body) { return post(body, null); } @@ -97,8 +112,11 @@ public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nonnull * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nonnull /** * Get uploadSessions from identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Get uploadSessions from identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to uploadSessions for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link UploadSessionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public UploadSessionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new UploadSessionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/count/CountRequestBuilder.java index 976397abbac..039c422447f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/CustomDataProvidedResourceUploadSessionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/CustomDataProvidedResourceUploadSessionItemRequestBuilder.java index 06ed958988d..2701139ae20 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/CustomDataProvidedResourceUploadSessionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/CustomDataProvidedResourceUploadSessionItemRequestBuilder.java @@ -25,7 +25,10 @@ public class CustomDataProvidedResourceUploadSessionItemRequestBuilder extends B /** * Provides operations to manage the files property of the microsoft.graph.customDataProvidedResourceUploadSession entity. * @return a {@link FilesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public FilesRequestBuilder files() { return new FilesRequestBuilder(pathParameters, requestAdapter); @@ -33,7 +36,10 @@ public FilesRequestBuilder files() { /** * Provides operations to call the uploadFile method. * @return a {@link UploadFileRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public UploadFileRequestBuilder uploadFile() { return new UploadFileRequestBuilder(pathParameters, requestAdapter); @@ -57,7 +63,10 @@ public CustomDataProvidedResourceUploadSessionItemRequestBuilder(@jakarta.annota /** * Delete navigation property uploadSessions for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -65,7 +74,10 @@ public void delete() { * Delete navigation property uploadSessions for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -76,8 +88,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Get uploadSessions from identityGovernance * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession get() { return get(null); } @@ -86,8 +101,11 @@ public CustomDataProvidedResourceUploadSession get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -99,8 +117,11 @@ public CustomDataProvidedResourceUploadSession get(@jakarta.annotation.Nullable * @param body The request body * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession patch(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body) { return patch(body, null); } @@ -110,8 +131,11 @@ public CustomDataProvidedResourceUploadSession patch(@jakarta.annotation.Nonnull * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession patch(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -122,8 +146,11 @@ public CustomDataProvidedResourceUploadSession patch(@jakarta.annotation.Nonnull /** * Delete navigation property uploadSessions for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -131,8 +158,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property uploadSessions for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -142,8 +172,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Get uploadSessions from identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -151,8 +184,11 @@ public RequestInformation toGetRequestInformation() { * Get uploadSessions from identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -163,8 +199,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property uploadSessions in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body) { return toPatchRequestInformation(body, null); } @@ -173,8 +212,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -187,8 +229,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CustomDataProvidedResourceUploadSessionItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CustomDataProvidedResourceUploadSessionItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CustomDataProvidedResourceUploadSessionItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/files/FilesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/files/FilesRequestBuilder.java index 2a715eb6708..8f0882719a6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/files/FilesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/files/FilesRequestBuilder.java @@ -25,7 +25,10 @@ public class FilesRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -34,8 +37,11 @@ public CountRequestBuilder count() { * Provides operations to manage the files property of the microsoft.graph.customDataProvidedResourceUploadSession entity. * @param customDataProvidedResourceFileId The unique identifier of customDataProvidedResourceFile * @return a {@link CustomDataProvidedResourceFileItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CustomDataProvidedResourceFileItemRequestBuilder byCustomDataProvidedResourceFileId(@jakarta.annotation.Nonnull final String customDataProvidedResourceFileId) { Objects.requireNonNull(customDataProvidedResourceFileId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -62,8 +68,11 @@ public FilesRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @return a {@link CustomDataProvidedResourceFileCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceFileCollectionResponse get() { return get(null); } @@ -72,8 +81,11 @@ public CustomDataProvidedResourceFileCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceFileCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceFileCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -83,8 +95,11 @@ public CustomDataProvidedResourceFileCollectionResponse get(@jakarta.annotation. /** * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -92,8 +107,11 @@ public RequestInformation toGetRequestInformation() { * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -104,8 +122,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link FilesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new FilesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/files/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/files/count/CountRequestBuilder.java index 9fd66c79a39..c728999946f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/files/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/files/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/files/item/CustomDataProvidedResourceFileItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/files/item/CustomDataProvidedResourceFileItemRequestBuilder.java index 012ba629516..fddaa252188 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/files/item/CustomDataProvidedResourceFileItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/files/item/CustomDataProvidedResourceFileItemRequestBuilder.java @@ -24,7 +24,10 @@ public class CustomDataProvidedResourceFileItemRequestBuilder extends BaseReques /** * Provides operations to manage the media for the identityGovernance entity. * @return a {@link ContentRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ContentRequestBuilder content() { return new ContentRequestBuilder(pathParameters, requestAdapter); @@ -49,8 +52,11 @@ public CustomDataProvidedResourceFileItemRequestBuilder(@jakarta.annotation.Nonn * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @return a {@link CustomDataProvidedResourceFile} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceFile get() { return get(null); } @@ -59,8 +65,11 @@ public CustomDataProvidedResourceFile get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceFile} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceFile get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -70,8 +79,11 @@ public CustomDataProvidedResourceFile get(@jakarta.annotation.Nullable final jav /** * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -79,8 +91,11 @@ public RequestInformation toGetRequestInformation() { * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -91,8 +106,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CustomDataProvidedResourceFileItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CustomDataProvidedResourceFileItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CustomDataProvidedResourceFileItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/files/item/value/ContentRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/files/item/value/ContentRequestBuilder.java index c7aeae9e672..07e48cb1b51 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/files/item/value/ContentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/files/item/value/ContentRequestBuilder.java @@ -38,7 +38,10 @@ public ContentRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j /** * The unique identifier for an entity. Read-only. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -46,7 +49,10 @@ public void delete() { * The unique identifier for an entity. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * The unique identifier for an entity. Read-only. * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public InputStream get() { return get(null); } @@ -67,8 +76,11 @@ public InputStream get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public InputStream get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -80,8 +92,11 @@ public InputStream get(@jakarta.annotation.Nullable final java.util.function.Con * @param body Binary request body * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public InputStream put(@jakarta.annotation.Nonnull final InputStream body) { return put(body, null); } @@ -91,8 +106,11 @@ public InputStream put(@jakarta.annotation.Nonnull final InputStream body) { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public InputStream put(@jakarta.annotation.Nonnull final InputStream body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPutRequestInformation(body, requestConfiguration); @@ -103,8 +121,11 @@ public InputStream put(@jakarta.annotation.Nonnull final InputStream body, @jaka /** * The unique identifier for an entity. Read-only. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -112,8 +133,11 @@ public RequestInformation toDeleteRequestInformation() { * The unique identifier for an entity. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -123,8 +147,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * The unique identifier for an entity. Read-only. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -132,8 +159,11 @@ public RequestInformation toGetRequestInformation() { * The unique identifier for an entity. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new); @@ -144,8 +174,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * The unique identifier for an entity. Read-only. * @param body Binary request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull final InputStream body) { return toPutRequestInformation(body, null); } @@ -154,8 +187,11 @@ public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull fi * @param body Binary request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull final InputStream body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PUT, urlTemplate, pathParameters); @@ -168,8 +204,11 @@ public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull fi * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ContentRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ContentRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ContentRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/uploadfile/UploadFileRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/uploadfile/UploadFileRequestBuilder.java index 4b326d70909..46cab3dd608 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/uploadfile/UploadFileRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/uploadfile/UploadFileRequestBuilder.java @@ -39,9 +39,12 @@ public UploadFileRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, * Upload a file in a customDataProvidedResourceUploadSession created for a customDataProvidedResource. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession post() { return post(null); } @@ -50,9 +53,12 @@ public CustomDataProvidedResourceUploadSession post() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -62,8 +68,11 @@ public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nullable /** * Upload a file in a customDataProvidedResourceUploadSession created for a customDataProvidedResource. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation() { * Upload a file in a customDataProvidedResourceUploadSession created for a customDataProvidedResource. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -83,8 +95,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link UploadFileRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public UploadFileRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new UploadFileRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java index 6ad5240717d..9d5abdb2361 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java @@ -26,7 +26,10 @@ public class AccessPackageResourceScopesRequestBuilder extends BaseRequestBuilde /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the accessPackageResourceScopes property of the microsoft.graph.accessPackageResource entity. * @param accessPackageResourceScopeId The unique identifier of accessPackageResourceScope * @return a {@link AccessPackageResourceScopeItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceScopeItemRequestBuilder byAccessPackageResourceScopeId(@jakarta.annotation.Nonnull final String accessPackageResourceScopeId) { Objects.requireNonNull(accessPackageResourceScopeId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public AccessPackageResourceScopesRequestBuilder(@jakarta.annotation.Nonnull fin * Read-only. Nullable. Supports $expand. * @return a {@link AccessPackageResourceScopeCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScopeCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public AccessPackageResourceScopeCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceScopeCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScopeCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public AccessPackageResourceScopeCollectionResponse get(@jakarta.annotation.Null * @param body The request body * @return a {@link AccessPackageResourceScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScope post(@jakarta.annotation.Nonnull final AccessPackageResourceScope body) { return post(body, null); } @@ -97,8 +112,11 @@ public AccessPackageResourceScope post(@jakarta.annotation.Nonnull final AccessP * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScope post(@jakarta.annotation.Nonnull final AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public AccessPackageResourceScope post(@jakarta.annotation.Nonnull final AccessP /** * Read-only. Nullable. Supports $expand. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Read-only. Nullable. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to accessPackageResourceScopes for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceScope body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceScopesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceScopesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceScopesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourcescopes/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourcescopes/count/CountRequestBuilder.java index a937c350c78..1a87601316f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourcescopes/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourcescopes/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java index ff6fe5eacf7..9e913f6a2aa 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java @@ -39,7 +39,10 @@ public AccessPackageResourceScopeItemRequestBuilder(@jakarta.annotation.Nonnull /** * Delete navigation property accessPackageResourceScopes for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -47,7 +50,10 @@ public void delete() { * Delete navigation property accessPackageResourceScopes for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -58,8 +64,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Read-only. Nullable. Supports $expand. * @return a {@link AccessPackageResourceScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScope get() { return get(null); } @@ -68,8 +77,11 @@ public AccessPackageResourceScope get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScope get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -81,8 +93,11 @@ public AccessPackageResourceScope get(@jakarta.annotation.Nullable final java.ut * @param body The request body * @return a {@link AccessPackageResourceScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScope patch(@jakarta.annotation.Nonnull final AccessPackageResourceScope body) { return patch(body, null); } @@ -92,8 +107,11 @@ public AccessPackageResourceScope patch(@jakarta.annotation.Nonnull final Access * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScope patch(@jakarta.annotation.Nonnull final AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -104,8 +122,11 @@ public AccessPackageResourceScope patch(@jakarta.annotation.Nonnull final Access /** * Delete navigation property accessPackageResourceScopes for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -113,8 +134,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property accessPackageResourceScopes for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Read-only. Nullable. Supports $expand. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -133,8 +160,11 @@ public RequestInformation toGetRequestInformation() { * Read-only. Nullable. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -145,8 +175,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property accessPackageResourceScopes in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceScope body) { return toPatchRequestInformation(body, null); } @@ -155,8 +188,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -169,8 +205,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceScopeItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceScopeItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceScopeItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/externaloriginresourceconnector/ExternalOriginResourceConnectorRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/externaloriginresourceconnector/ExternalOriginResourceConnectorRequestBuilder.java index d2639b9bd5b..f9d7a5ab77c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/externaloriginresourceconnector/ExternalOriginResourceConnectorRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/externaloriginresourceconnector/ExternalOriginResourceConnectorRequestBuilder.java @@ -40,8 +40,11 @@ public ExternalOriginResourceConnectorRequestBuilder(@jakarta.annotation.Nonnull * The connector that integrates with external origin systems to provision access to resources from those systems. Read-only. Nullable. * @return a {@link ExternalOriginResourceConnector} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ExternalOriginResourceConnector get() { return get(null); } @@ -50,8 +53,11 @@ public ExternalOriginResourceConnector get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ExternalOriginResourceConnector} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ExternalOriginResourceConnector get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public ExternalOriginResourceConnector get(@jakarta.annotation.Nullable final ja /** * The connector that integrates with external origin systems to provision access to resources from those systems. Read-only. Nullable. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * The connector that integrates with external origin systems to provision access to resources from those systems. Read-only. Nullable. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ExternalOriginResourceConnectorRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ExternalOriginResourceConnectorRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ExternalOriginResourceConnectorRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/refresh/RefreshRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/refresh/RefreshRequestBuilder.java index 0068bb834f0..3f97f8e118c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/refresh/RefreshRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/refresh/RefreshRequestBuilder.java @@ -37,8 +37,11 @@ public RefreshRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j /** * In Microsoft Entra entitlement management, refresh the accessPackageResource object to fetch the latest details for displayName, description, and resourceType from the origin system. For the AadApplication originSystem, this operation also updates the displayName and description for the accessPackageResourceRole. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * In Microsoft Entra entitlement management, refresh the accessPackageResource object to fetch the latest details for displayName, description, and resourceType from the origin system. For the AadApplication originSystem, this operation also updates the displayName and description for the accessPackageResourceRole. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * In Microsoft Entra entitlement management, refresh the accessPackageResource object to fetch the latest details for displayName, description, and resourceType from the origin system. For the AadApplication originSystem, this operation also updates the displayName and description for the accessPackageResourceRole. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * In Microsoft Entra entitlement management, refresh the accessPackageResource object to fetch the latest details for displayName, description, and resourceType from the origin system. For the AadApplication originSystem, this operation also updates the displayName and description for the accessPackageResourceRole. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RefreshRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RefreshRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RefreshRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/uploadsessions/UploadSessionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/uploadsessions/UploadSessionsRequestBuilder.java index 6731e845ff8..33bca4452c2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/uploadsessions/UploadSessionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/uploadsessions/UploadSessionsRequestBuilder.java @@ -26,7 +26,10 @@ public class UploadSessionsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the uploadSessions property of the microsoft.graph.accessPackageResource entity. * @param customDataProvidedResourceUploadSessionId The unique identifier of customDataProvidedResourceUploadSession * @return a {@link CustomDataProvidedResourceUploadSessionItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CustomDataProvidedResourceUploadSessionItemRequestBuilder byCustomDataProvidedResourceUploadSessionId(@jakarta.annotation.Nonnull final String customDataProvidedResourceUploadSessionId) { Objects.requireNonNull(customDataProvidedResourceUploadSessionId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public UploadSessionsRequestBuilder(@jakarta.annotation.Nonnull final String raw * Get uploadSessions from identityGovernance * @return a {@link CustomDataProvidedResourceUploadSessionCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSessionCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public CustomDataProvidedResourceUploadSessionCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSessionCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSessionCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public CustomDataProvidedResourceUploadSessionCollectionResponse get(@jakarta.an * @param body The request body * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body) { return post(body, null); } @@ -97,8 +112,11 @@ public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nonnull * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nonnull /** * Get uploadSessions from identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Get uploadSessions from identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to uploadSessions for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link UploadSessionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public UploadSessionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new UploadSessionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/uploadsessions/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/uploadsessions/count/CountRequestBuilder.java index f69a0ca46e6..2cac08ef96d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/uploadsessions/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/uploadsessions/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/CustomDataProvidedResourceUploadSessionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/CustomDataProvidedResourceUploadSessionItemRequestBuilder.java index 9544ec60230..cb6dacde6f4 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/CustomDataProvidedResourceUploadSessionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/CustomDataProvidedResourceUploadSessionItemRequestBuilder.java @@ -25,7 +25,10 @@ public class CustomDataProvidedResourceUploadSessionItemRequestBuilder extends B /** * Provides operations to manage the files property of the microsoft.graph.customDataProvidedResourceUploadSession entity. * @return a {@link FilesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public FilesRequestBuilder files() { return new FilesRequestBuilder(pathParameters, requestAdapter); @@ -33,7 +36,10 @@ public FilesRequestBuilder files() { /** * Provides operations to call the uploadFile method. * @return a {@link UploadFileRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public UploadFileRequestBuilder uploadFile() { return new UploadFileRequestBuilder(pathParameters, requestAdapter); @@ -57,7 +63,10 @@ public CustomDataProvidedResourceUploadSessionItemRequestBuilder(@jakarta.annota /** * Delete navigation property uploadSessions for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -65,7 +74,10 @@ public void delete() { * Delete navigation property uploadSessions for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -76,8 +88,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Get uploadSessions from identityGovernance * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession get() { return get(null); } @@ -86,8 +101,11 @@ public CustomDataProvidedResourceUploadSession get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -99,8 +117,11 @@ public CustomDataProvidedResourceUploadSession get(@jakarta.annotation.Nullable * @param body The request body * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession patch(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body) { return patch(body, null); } @@ -110,8 +131,11 @@ public CustomDataProvidedResourceUploadSession patch(@jakarta.annotation.Nonnull * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession patch(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -122,8 +146,11 @@ public CustomDataProvidedResourceUploadSession patch(@jakarta.annotation.Nonnull /** * Delete navigation property uploadSessions for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -131,8 +158,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property uploadSessions for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -142,8 +172,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Get uploadSessions from identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -151,8 +184,11 @@ public RequestInformation toGetRequestInformation() { * Get uploadSessions from identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -163,8 +199,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property uploadSessions in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body) { return toPatchRequestInformation(body, null); } @@ -173,8 +212,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -187,8 +229,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CustomDataProvidedResourceUploadSessionItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CustomDataProvidedResourceUploadSessionItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CustomDataProvidedResourceUploadSessionItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/files/FilesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/files/FilesRequestBuilder.java index ef17b4714cf..09ee269b46a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/files/FilesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/files/FilesRequestBuilder.java @@ -25,7 +25,10 @@ public class FilesRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -34,8 +37,11 @@ public CountRequestBuilder count() { * Provides operations to manage the files property of the microsoft.graph.customDataProvidedResourceUploadSession entity. * @param customDataProvidedResourceFileId The unique identifier of customDataProvidedResourceFile * @return a {@link CustomDataProvidedResourceFileItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CustomDataProvidedResourceFileItemRequestBuilder byCustomDataProvidedResourceFileId(@jakarta.annotation.Nonnull final String customDataProvidedResourceFileId) { Objects.requireNonNull(customDataProvidedResourceFileId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -62,8 +68,11 @@ public FilesRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @return a {@link CustomDataProvidedResourceFileCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceFileCollectionResponse get() { return get(null); } @@ -72,8 +81,11 @@ public CustomDataProvidedResourceFileCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceFileCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceFileCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -83,8 +95,11 @@ public CustomDataProvidedResourceFileCollectionResponse get(@jakarta.annotation. /** * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -92,8 +107,11 @@ public RequestInformation toGetRequestInformation() { * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -104,8 +122,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link FilesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new FilesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/files/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/files/count/CountRequestBuilder.java index ce549b67a14..075e1d8b8e7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/files/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/files/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/files/item/CustomDataProvidedResourceFileItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/files/item/CustomDataProvidedResourceFileItemRequestBuilder.java index b2acdcfdb2a..5dda97c28af 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/files/item/CustomDataProvidedResourceFileItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/files/item/CustomDataProvidedResourceFileItemRequestBuilder.java @@ -24,7 +24,10 @@ public class CustomDataProvidedResourceFileItemRequestBuilder extends BaseReques /** * Provides operations to manage the media for the identityGovernance entity. * @return a {@link ContentRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ContentRequestBuilder content() { return new ContentRequestBuilder(pathParameters, requestAdapter); @@ -49,8 +52,11 @@ public CustomDataProvidedResourceFileItemRequestBuilder(@jakarta.annotation.Nonn * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @return a {@link CustomDataProvidedResourceFile} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceFile get() { return get(null); } @@ -59,8 +65,11 @@ public CustomDataProvidedResourceFile get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceFile} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceFile get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -70,8 +79,11 @@ public CustomDataProvidedResourceFile get(@jakarta.annotation.Nullable final jav /** * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -79,8 +91,11 @@ public RequestInformation toGetRequestInformation() { * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -91,8 +106,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CustomDataProvidedResourceFileItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CustomDataProvidedResourceFileItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CustomDataProvidedResourceFileItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/files/item/value/ContentRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/files/item/value/ContentRequestBuilder.java index 77c6b6c7f18..8ec91ac3adc 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/files/item/value/ContentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/files/item/value/ContentRequestBuilder.java @@ -38,7 +38,10 @@ public ContentRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j /** * The unique identifier for an entity. Read-only. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -46,7 +49,10 @@ public void delete() { * The unique identifier for an entity. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * The unique identifier for an entity. Read-only. * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public InputStream get() { return get(null); } @@ -67,8 +76,11 @@ public InputStream get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public InputStream get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -80,8 +92,11 @@ public InputStream get(@jakarta.annotation.Nullable final java.util.function.Con * @param body Binary request body * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public InputStream put(@jakarta.annotation.Nonnull final InputStream body) { return put(body, null); } @@ -91,8 +106,11 @@ public InputStream put(@jakarta.annotation.Nonnull final InputStream body) { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public InputStream put(@jakarta.annotation.Nonnull final InputStream body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPutRequestInformation(body, requestConfiguration); @@ -103,8 +121,11 @@ public InputStream put(@jakarta.annotation.Nonnull final InputStream body, @jaka /** * The unique identifier for an entity. Read-only. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -112,8 +133,11 @@ public RequestInformation toDeleteRequestInformation() { * The unique identifier for an entity. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -123,8 +147,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * The unique identifier for an entity. Read-only. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -132,8 +159,11 @@ public RequestInformation toGetRequestInformation() { * The unique identifier for an entity. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new); @@ -144,8 +174,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * The unique identifier for an entity. Read-only. * @param body Binary request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull final InputStream body) { return toPutRequestInformation(body, null); } @@ -154,8 +187,11 @@ public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull fi * @param body Binary request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull final InputStream body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PUT, urlTemplate, pathParameters); @@ -168,8 +204,11 @@ public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull fi * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ContentRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ContentRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ContentRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/uploadfile/UploadFileRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/uploadfile/UploadFileRequestBuilder.java index ba1fb8e3ce7..aed77007efc 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/uploadfile/UploadFileRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/uploadfile/UploadFileRequestBuilder.java @@ -39,9 +39,12 @@ public UploadFileRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, * Upload a file in a customDataProvidedResourceUploadSession created for a customDataProvidedResource. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession post() { return post(null); } @@ -50,9 +53,12 @@ public CustomDataProvidedResourceUploadSession post() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -62,8 +68,11 @@ public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nullable /** * Upload a file in a customDataProvidedResourceUploadSession created for a customDataProvidedResource. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation() { * Upload a file in a customDataProvidedResourceUploadSession created for a customDataProvidedResource. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -83,8 +95,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link UploadFileRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public UploadFileRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new UploadFileRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackagesincompatiblewith/AccessPackagesIncompatibleWithRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackagesincompatiblewith/AccessPackagesIncompatibleWithRequestBuilder.java index 39970be9ab4..8b8f01495a0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackagesincompatiblewith/AccessPackagesIncompatibleWithRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackagesincompatiblewith/AccessPackagesIncompatibleWithRequestBuilder.java @@ -25,7 +25,10 @@ public class AccessPackagesIncompatibleWithRequestBuilder extends BaseRequestBui /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -34,8 +37,11 @@ public CountRequestBuilder count() { * Provides operations to manage the accessPackagesIncompatibleWith property of the microsoft.graph.accessPackage entity. * @param accessPackageId The unique identifier of accessPackage * @return a {@link AccessPackageItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageItemRequestBuilder byAccessPackageId(@jakarta.annotation.Nonnull final String accessPackageId) { Objects.requireNonNull(accessPackageId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -62,8 +68,11 @@ public AccessPackagesIncompatibleWithRequestBuilder(@jakarta.annotation.Nonnull * The access packages that are incompatible with this package. Read-only. * @return a {@link AccessPackageCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageCollectionResponse get() { return get(null); } @@ -72,8 +81,11 @@ public AccessPackageCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -83,8 +95,11 @@ public AccessPackageCollectionResponse get(@jakarta.annotation.Nullable final ja /** * The access packages that are incompatible with this package. Read-only. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -92,8 +107,11 @@ public RequestInformation toGetRequestInformation() { * The access packages that are incompatible with this package. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -104,8 +122,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackagesIncompatibleWithRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackagesIncompatibleWithRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackagesIncompatibleWithRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackagesincompatiblewith/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackagesincompatiblewith/count/CountRequestBuilder.java index 2d8853d01db..3008215dd52 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackagesincompatiblewith/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackagesincompatiblewith/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackagesincompatiblewith/item/AccessPackageItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackagesincompatiblewith/item/AccessPackageItemRequestBuilder.java index 228a1a14381..feb070a099a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackagesincompatiblewith/item/AccessPackageItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackagesincompatiblewith/item/AccessPackageItemRequestBuilder.java @@ -40,8 +40,11 @@ public AccessPackageItemRequestBuilder(@jakarta.annotation.Nonnull final String * The access packages that are incompatible with this package. Read-only. * @return a {@link AccessPackage} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackage get() { return get(null); } @@ -50,8 +53,11 @@ public AccessPackage get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackage} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackage get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public AccessPackage get(@jakarta.annotation.Nullable final java.util.function.C /** * The access packages that are incompatible with this package. Read-only. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * The access packages that are incompatible with this package. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackagesincompatiblewithwithuniquename/AccessPackagesIncompatibleWithWithUniqueNameRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackagesincompatiblewithwithuniquename/AccessPackagesIncompatibleWithWithUniqueNameRequestBuilder.java index 8216626e3e2..a5471fa4c89 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackagesincompatiblewithwithuniquename/AccessPackagesIncompatibleWithWithUniqueNameRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackagesincompatiblewithwithuniquename/AccessPackagesIncompatibleWithWithUniqueNameRequestBuilder.java @@ -42,8 +42,11 @@ public AccessPackagesIncompatibleWithWithUniqueNameRequestBuilder(@jakarta.annot * The access packages that are incompatible with this package. Read-only. * @return a {@link AccessPackage} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackage get() { return get(null); } @@ -52,8 +55,11 @@ public AccessPackage get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackage} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackage get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -63,8 +69,11 @@ public AccessPackage get(@jakarta.annotation.Nullable final java.util.function.C /** * The access packages that are incompatible with this package. Read-only. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -72,8 +81,11 @@ public RequestInformation toGetRequestInformation() { * The access packages that are incompatible with this package. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -84,8 +96,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackagesIncompatibleWithWithUniqueNameRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackagesIncompatibleWithWithUniqueNameRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackagesIncompatibleWithWithUniqueNameRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/getapplicablepolicyrequirements/GetApplicablePolicyRequirementsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/getapplicablepolicyrequirements/GetApplicablePolicyRequirementsRequestBuilder.java index 36f562b277f..b2cc6566a93 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/getapplicablepolicyrequirements/GetApplicablePolicyRequirementsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/getapplicablepolicyrequirements/GetApplicablePolicyRequirementsRequestBuilder.java @@ -38,9 +38,12 @@ public GetApplicablePolicyRequirementsRequestBuilder(@jakarta.annotation.Nonnull * In Microsoft Entra entitlement management, this action retrieves accessPackageAssignmentRequestRequirements objects for an accessPackage that the currently signed-in user can use to create an accessPackageAssignmentRequest. Each requirement object corresponds to an access package assignment policy that the currently signed-in user is allowed to request an assignment for. * @return a {@link GetApplicablePolicyRequirementsPostResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public GetApplicablePolicyRequirementsPostResponse post() { return post(null); } @@ -49,9 +52,12 @@ public GetApplicablePolicyRequirementsPostResponse post() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GetApplicablePolicyRequirementsPostResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public GetApplicablePolicyRequirementsPostResponse post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public GetApplicablePolicyRequirementsPostResponse post(@jakarta.annotation.Null /** * In Microsoft Entra entitlement management, this action retrieves accessPackageAssignmentRequestRequirements objects for an accessPackage that the currently signed-in user can use to create an accessPackageAssignmentRequest. Each requirement object corresponds to an access package assignment policy that the currently signed-in user is allowed to request an assignment for. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toPostRequestInformation() { * In Microsoft Entra entitlement management, this action retrieves accessPackageAssignmentRequestRequirements objects for an accessPackage that the currently signed-in user can use to create an accessPackageAssignmentRequest. Each requirement object corresponds to an access package assignment policy that the currently signed-in user is allowed to request an assignment for. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -82,8 +94,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link GetApplicablePolicyRequirementsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public GetApplicablePolicyRequirementsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new GetApplicablePolicyRequirementsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/incompatibleaccesspackages/IncompatibleAccessPackagesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/incompatibleaccesspackages/IncompatibleAccessPackagesRequestBuilder.java index 75274f91cab..99449a2d739 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/incompatibleaccesspackages/IncompatibleAccessPackagesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/incompatibleaccesspackages/IncompatibleAccessPackagesRequestBuilder.java @@ -26,7 +26,10 @@ public class IncompatibleAccessPackagesRequestBuilder extends BaseRequestBuilder /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -34,7 +37,10 @@ public CountRequestBuilder count() { /** * Provides operations to manage the collection of identityGovernance entities. * @return a {@link RefRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public RefRequestBuilder ref() { return new RefRequestBuilder(pathParameters, requestAdapter); @@ -71,8 +77,11 @@ public IncompatibleAccessPackagesRequestBuilder(@jakarta.annotation.Nonnull fina * The access packages whose assigned users are ineligible to be assigned this access package. * @return a {@link AccessPackageCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageCollectionResponse get() { return get(null); } @@ -81,8 +90,11 @@ public AccessPackageCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -92,8 +104,11 @@ public AccessPackageCollectionResponse get(@jakarta.annotation.Nullable final ja /** * The access packages whose assigned users are ineligible to be assigned this access package. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -101,8 +116,11 @@ public RequestInformation toGetRequestInformation() { * The access packages whose assigned users are ineligible to be assigned this access package. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -113,8 +131,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link IncompatibleAccessPackagesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public IncompatibleAccessPackagesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new IncompatibleAccessPackagesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/incompatibleaccesspackages/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/incompatibleaccesspackages/count/CountRequestBuilder.java index 43923a8aab0..20ced9f69c2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/incompatibleaccesspackages/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/incompatibleaccesspackages/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/incompatibleaccesspackages/item/ref/RefRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/incompatibleaccesspackages/item/ref/RefRequestBuilder.java index 24e07c72769..1d530df03ae 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/incompatibleaccesspackages/item/ref/RefRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/incompatibleaccesspackages/item/ref/RefRequestBuilder.java @@ -37,7 +37,10 @@ public RefRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakar /** * Delete ref of navigation property incompatibleAccessPackages for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -45,7 +48,10 @@ public void delete() { * Delete ref of navigation property incompatibleAccessPackages for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -55,8 +61,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume /** * Delete ref of navigation property incompatibleAccessPackages for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -64,8 +73,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete ref of navigation property incompatibleAccessPackages for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -76,8 +88,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RefRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RefRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RefRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/incompatibleaccesspackages/ref/RefRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/incompatibleaccesspackages/ref/RefRequestBuilder.java index d83f9047735..d54d0295783 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/incompatibleaccesspackages/ref/RefRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/incompatibleaccesspackages/ref/RefRequestBuilder.java @@ -40,7 +40,10 @@ public RefRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakar /** * Delete ref of navigation property incompatibleAccessPackages for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -48,7 +51,10 @@ public void delete() { * Delete ref of navigation property incompatibleAccessPackages for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -59,8 +65,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * The access packages whose assigned users are ineligible to be assigned this access package. * @return a {@link StringCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public StringCollectionResponse get() { return get(null); } @@ -69,8 +78,11 @@ public StringCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link StringCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public StringCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -81,7 +93,10 @@ public StringCollectionResponse get(@jakarta.annotation.Nullable final java.util * Create new navigation property ref to incompatibleAccessPackages for identityGovernance * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void post(@jakarta.annotation.Nonnull final ReferenceCreate body) { post(body, null); } @@ -90,7 +105,10 @@ public void post(@jakarta.annotation.Nonnull final ReferenceCreate body) { * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void post(@jakarta.annotation.Nonnull final ReferenceCreate body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -101,8 +119,11 @@ public void post(@jakarta.annotation.Nonnull final ReferenceCreate body, @jakart /** * Delete ref of navigation property incompatibleAccessPackages for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -110,8 +131,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete ref of navigation property incompatibleAccessPackages for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageAssignments/{accessPackageAssignment%2Did}/accessPackage/incompatibleAccessPackages/$ref?@id={%40id}", pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new, x -> x.queryParameters); @@ -121,8 +145,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * The access packages whose assigned users are ineligible to be assigned this access package. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -130,8 +157,11 @@ public RequestInformation toGetRequestInformation() { * The access packages whose assigned users are ineligible to be assigned this access package. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -142,8 +172,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property ref to incompatibleAccessPackages for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ReferenceCreate body) { return toPostRequestInformation(body, null); } @@ -152,8 +185,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ReferenceCreate body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -166,8 +202,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RefRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RefRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RefRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/incompatiblegroups/IncompatibleGroupsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/incompatiblegroups/IncompatibleGroupsRequestBuilder.java index 3e8f13061ca..e7d85c635dc 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/incompatiblegroups/IncompatibleGroupsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/incompatiblegroups/IncompatibleGroupsRequestBuilder.java @@ -26,7 +26,10 @@ public class IncompatibleGroupsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -34,7 +37,10 @@ public CountRequestBuilder count() { /** * Provides operations to manage the collection of identityGovernance entities. * @return a {@link RefRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public RefRequestBuilder ref() { return new RefRequestBuilder(pathParameters, requestAdapter); @@ -71,8 +77,11 @@ public IncompatibleGroupsRequestBuilder(@jakarta.annotation.Nonnull final String * The groups whose members are ineligible to be assigned this access package. * @return a {@link GroupCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GroupCollectionResponse get() { return get(null); } @@ -81,8 +90,11 @@ public GroupCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GroupCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GroupCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -92,8 +104,11 @@ public GroupCollectionResponse get(@jakarta.annotation.Nullable final java.util. /** * The groups whose members are ineligible to be assigned this access package. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -101,8 +116,11 @@ public RequestInformation toGetRequestInformation() { * The groups whose members are ineligible to be assigned this access package. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -113,8 +131,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link IncompatibleGroupsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public IncompatibleGroupsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new IncompatibleGroupsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/incompatiblegroups/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/incompatiblegroups/count/CountRequestBuilder.java index b3a7b7e22b9..2622b20dd6c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/incompatiblegroups/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/incompatiblegroups/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/incompatiblegroups/item/ref/RefRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/incompatiblegroups/item/ref/RefRequestBuilder.java index 22c195e36a8..3cea226a4e8 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/incompatiblegroups/item/ref/RefRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/incompatiblegroups/item/ref/RefRequestBuilder.java @@ -37,7 +37,10 @@ public RefRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakar /** * Delete ref of navigation property incompatibleGroups for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -45,7 +48,10 @@ public void delete() { * Delete ref of navigation property incompatibleGroups for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -55,8 +61,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume /** * Delete ref of navigation property incompatibleGroups for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -64,8 +73,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete ref of navigation property incompatibleGroups for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -76,8 +88,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RefRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RefRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RefRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/incompatiblegroups/item/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/incompatiblegroups/item/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java index 2af89b3e907..5b089f750c0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/incompatiblegroups/item/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/incompatiblegroups/item/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java @@ -24,7 +24,10 @@ public class ServiceProvisioningErrorsRequestBuilder extends BaseRequestBuilder /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -49,8 +52,11 @@ public ServiceProvisioningErrorsRequestBuilder(@jakarta.annotation.Nonnull final * Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object. * @return a {@link ServiceProvisioningErrorCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ServiceProvisioningErrorCollectionResponse get() { return get(null); } @@ -59,8 +65,11 @@ public ServiceProvisioningErrorCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ServiceProvisioningErrorCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ServiceProvisioningErrorCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -70,8 +79,11 @@ public ServiceProvisioningErrorCollectionResponse get(@jakarta.annotation.Nullab /** * Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -79,8 +91,11 @@ public RequestInformation toGetRequestInformation() { * Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -91,8 +106,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ServiceProvisioningErrorsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ServiceProvisioningErrorsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ServiceProvisioningErrorsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/incompatiblegroups/item/serviceprovisioningerrors/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/incompatiblegroups/item/serviceprovisioningerrors/count/CountRequestBuilder.java index 101bc77bdf9..3fd08c8761b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/incompatiblegroups/item/serviceprovisioningerrors/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/incompatiblegroups/item/serviceprovisioningerrors/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/incompatiblegroups/ref/RefRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/incompatiblegroups/ref/RefRequestBuilder.java index 31277d4b00a..14ab365a44d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/incompatiblegroups/ref/RefRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/incompatiblegroups/ref/RefRequestBuilder.java @@ -40,7 +40,10 @@ public RefRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakar /** * Delete ref of navigation property incompatibleGroups for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -48,7 +51,10 @@ public void delete() { * Delete ref of navigation property incompatibleGroups for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -59,8 +65,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * The groups whose members are ineligible to be assigned this access package. * @return a {@link StringCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public StringCollectionResponse get() { return get(null); } @@ -69,8 +78,11 @@ public StringCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link StringCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public StringCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -81,7 +93,10 @@ public StringCollectionResponse get(@jakarta.annotation.Nullable final java.util * Create new navigation property ref to incompatibleGroups for identityGovernance * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void post(@jakarta.annotation.Nonnull final ReferenceCreate body) { post(body, null); } @@ -90,7 +105,10 @@ public void post(@jakarta.annotation.Nonnull final ReferenceCreate body) { * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void post(@jakarta.annotation.Nonnull final ReferenceCreate body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -101,8 +119,11 @@ public void post(@jakarta.annotation.Nonnull final ReferenceCreate body, @jakart /** * Delete ref of navigation property incompatibleGroups for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -110,8 +131,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete ref of navigation property incompatibleGroups for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageAssignments/{accessPackageAssignment%2Did}/accessPackage/incompatibleGroups/$ref?@id={%40id}", pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new, x -> x.queryParameters); @@ -121,8 +145,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * The groups whose members are ineligible to be assigned this access package. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -130,8 +157,11 @@ public RequestInformation toGetRequestInformation() { * The groups whose members are ineligible to be assigned this access package. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -142,8 +172,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property ref to incompatibleGroups for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ReferenceCreate body) { return toPostRequestInformation(body, null); } @@ -152,8 +185,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ReferenceCreate body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -166,8 +202,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RefRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RefRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RefRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/movetocatalog/MoveToCatalogRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/movetocatalog/MoveToCatalogRequestBuilder.java index ef7f27b2629..6fff506ad7e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/movetocatalog/MoveToCatalogRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/movetocatalog/MoveToCatalogRequestBuilder.java @@ -38,8 +38,11 @@ public MoveToCatalogRequestBuilder(@jakarta.annotation.Nonnull final String rawU * In Microsoft Entra entitlement management, this action moves the accessPackage to a specified target accessPackageCatalog. The resources in the access package must be present in the target catalog. * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final MoveToCatalogPostRequestBody body) { post(body, null); } @@ -48,8 +51,11 @@ public void post(@jakarta.annotation.Nonnull final MoveToCatalogPostRequestBody * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final MoveToCatalogPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -61,8 +67,11 @@ public void post(@jakarta.annotation.Nonnull final MoveToCatalogPostRequestBody * In Microsoft Entra entitlement management, this action moves the accessPackage to a specified target accessPackageCatalog. The resources in the access package must be present in the target catalog. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MoveToCatalogPostRequestBody body) { return toPostRequestInformation(body, null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MoveToCatalogPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -85,8 +97,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link MoveToCatalogRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public MoveToCatalogRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new MoveToCatalogRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/AccessPackageAssignmentResourceRolesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/AccessPackageAssignmentResourceRolesRequestBuilder.java index 37402ba67c8..caa419b3ecd 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/AccessPackageAssignmentResourceRolesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/AccessPackageAssignmentResourceRolesRequestBuilder.java @@ -27,7 +27,10 @@ public class AccessPackageAssignmentResourceRolesRequestBuilder extends BaseRequ /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,7 +38,10 @@ public CountRequestBuilder count() { /** * Provides operations to call the My method. * @return a {@link MyRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public MyRequestBuilder my() { return new MyRequestBuilder(pathParameters, requestAdapter); @@ -44,8 +50,11 @@ public MyRequestBuilder my() { * Provides operations to manage the accessPackageAssignmentResourceRoles property of the microsoft.graph.accessPackageAssignment entity. * @param accessPackageAssignmentResourceRoleId The unique identifier of accessPackageAssignmentResourceRole * @return a {@link AccessPackageAssignmentResourceRoleItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageAssignmentResourceRoleItemRequestBuilder byAccessPackageAssignmentResourceRoleId(@jakarta.annotation.Nonnull final String accessPackageAssignmentResourceRoleId) { Objects.requireNonNull(accessPackageAssignmentResourceRoleId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -72,8 +81,11 @@ public AccessPackageAssignmentResourceRolesRequestBuilder(@jakarta.annotation.No * The resource roles delivered to the target user for this assignment. Read-only. Nullable. * @return a {@link AccessPackageAssignmentResourceRoleCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageAssignmentResourceRoleCollectionResponse get() { return get(null); } @@ -82,8 +94,11 @@ public AccessPackageAssignmentResourceRoleCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageAssignmentResourceRoleCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageAssignmentResourceRoleCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -95,8 +110,11 @@ public AccessPackageAssignmentResourceRoleCollectionResponse get(@jakarta.annota * @param body The request body * @return a {@link AccessPackageAssignmentResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageAssignmentResourceRole post(@jakarta.annotation.Nonnull final AccessPackageAssignmentResourceRole body) { return post(body, null); } @@ -106,8 +124,11 @@ public AccessPackageAssignmentResourceRole post(@jakarta.annotation.Nonnull fina * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageAssignmentResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageAssignmentResourceRole post(@jakarta.annotation.Nonnull final AccessPackageAssignmentResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -118,8 +139,11 @@ public AccessPackageAssignmentResourceRole post(@jakarta.annotation.Nonnull fina /** * The resource roles delivered to the target user for this assignment. Read-only. Nullable. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -127,8 +151,11 @@ public RequestInformation toGetRequestInformation() { * The resource roles delivered to the target user for this assignment. Read-only. Nullable. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -139,8 +166,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to accessPackageAssignmentResourceRoles for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageAssignmentResourceRole body) { return toPostRequestInformation(body, null); } @@ -149,8 +179,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageAssignmentResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -163,8 +196,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageAssignmentResourceRolesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageAssignmentResourceRolesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageAssignmentResourceRolesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/count/CountRequestBuilder.java index 4bd6ac4fbc9..9c6b97a3956 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/AccessPackageAssignmentResourceRoleItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/AccessPackageAssignmentResourceRoleItemRequestBuilder.java index 9be6747462c..e0b5132f7f9 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/AccessPackageAssignmentResourceRoleItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/AccessPackageAssignmentResourceRoleItemRequestBuilder.java @@ -27,7 +27,10 @@ public class AccessPackageAssignmentResourceRoleItemRequestBuilder extends BaseR /** * Provides operations to manage the accessPackageAssignments property of the microsoft.graph.accessPackageAssignmentResourceRole entity. * @return a {@link AccessPackageAssignmentsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackageAssignmentsRequestBuilder accessPackageAssignments() { return new AccessPackageAssignmentsRequestBuilder(pathParameters, requestAdapter); @@ -35,7 +38,10 @@ public AccessPackageAssignmentsRequestBuilder accessPackageAssignments() { /** * Provides operations to manage the accessPackageResourceRole property of the microsoft.graph.accessPackageAssignmentResourceRole entity. * @return a {@link AccessPackageResourceRoleRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackageResourceRoleRequestBuilder accessPackageResourceRole() { return new AccessPackageResourceRoleRequestBuilder(pathParameters, requestAdapter); @@ -43,7 +49,10 @@ public AccessPackageResourceRoleRequestBuilder accessPackageResourceRole() { /** * Provides operations to manage the accessPackageResourceScope property of the microsoft.graph.accessPackageAssignmentResourceRole entity. * @return a {@link AccessPackageResourceScopeRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackageResourceScopeRequestBuilder accessPackageResourceScope() { return new AccessPackageResourceScopeRequestBuilder(pathParameters, requestAdapter); @@ -51,7 +60,10 @@ public AccessPackageResourceScopeRequestBuilder accessPackageResourceScope() { /** * Provides operations to manage the accessPackageSubject property of the microsoft.graph.accessPackageAssignmentResourceRole entity. * @return a {@link AccessPackageSubjectRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackageSubjectRequestBuilder accessPackageSubject() { return new AccessPackageSubjectRequestBuilder(pathParameters, requestAdapter); @@ -75,7 +87,10 @@ public AccessPackageAssignmentResourceRoleItemRequestBuilder(@jakarta.annotation /** * Delete navigation property accessPackageAssignmentResourceRoles for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -83,7 +98,10 @@ public void delete() { * Delete navigation property accessPackageAssignmentResourceRoles for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -94,8 +112,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * The resource roles delivered to the target user for this assignment. Read-only. Nullable. * @return a {@link AccessPackageAssignmentResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageAssignmentResourceRole get() { return get(null); } @@ -104,8 +125,11 @@ public AccessPackageAssignmentResourceRole get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageAssignmentResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageAssignmentResourceRole get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -117,8 +141,11 @@ public AccessPackageAssignmentResourceRole get(@jakarta.annotation.Nullable fina * @param body The request body * @return a {@link AccessPackageAssignmentResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageAssignmentResourceRole patch(@jakarta.annotation.Nonnull final AccessPackageAssignmentResourceRole body) { return patch(body, null); } @@ -128,8 +155,11 @@ public AccessPackageAssignmentResourceRole patch(@jakarta.annotation.Nonnull fin * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageAssignmentResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageAssignmentResourceRole patch(@jakarta.annotation.Nonnull final AccessPackageAssignmentResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -140,8 +170,11 @@ public AccessPackageAssignmentResourceRole patch(@jakarta.annotation.Nonnull fin /** * Delete navigation property accessPackageAssignmentResourceRoles for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -149,8 +182,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property accessPackageAssignmentResourceRoles for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -160,8 +196,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * The resource roles delivered to the target user for this assignment. Read-only. Nullable. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -169,8 +208,11 @@ public RequestInformation toGetRequestInformation() { * The resource roles delivered to the target user for this assignment. Read-only. Nullable. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -181,8 +223,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property accessPackageAssignmentResourceRoles in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageAssignmentResourceRole body) { return toPatchRequestInformation(body, null); } @@ -191,8 +236,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageAssignmentResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -205,8 +253,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageAssignmentResourceRoleItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageAssignmentResourceRoleItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageAssignmentResourceRoleItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageassignments/AccessPackageAssignmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageassignments/AccessPackageAssignmentsRequestBuilder.java index ab948054919..14cf4e888f5 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageassignments/AccessPackageAssignmentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageassignments/AccessPackageAssignmentsRequestBuilder.java @@ -25,7 +25,10 @@ public class AccessPackageAssignmentsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -34,8 +37,11 @@ public CountRequestBuilder count() { * Provides operations to manage the accessPackageAssignments property of the microsoft.graph.accessPackageAssignmentResourceRole entity. * @param accessPackageAssignmentId1 The unique identifier of accessPackageAssignment * @return a {@link AccessPackageAssignmentItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageAssignmentItemRequestBuilder byAccessPackageAssignmentId1(@jakarta.annotation.Nonnull final String accessPackageAssignmentId1) { Objects.requireNonNull(accessPackageAssignmentId1); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -62,8 +68,11 @@ public AccessPackageAssignmentsRequestBuilder(@jakarta.annotation.Nonnull final * The access package assignments resulting in this role assignment. Read-only. Nullable. * @return a {@link AccessPackageAssignmentCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageAssignmentCollectionResponse get() { return get(null); } @@ -72,8 +81,11 @@ public AccessPackageAssignmentCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageAssignmentCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageAssignmentCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -83,8 +95,11 @@ public AccessPackageAssignmentCollectionResponse get(@jakarta.annotation.Nullabl /** * The access package assignments resulting in this role assignment. Read-only. Nullable. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -92,8 +107,11 @@ public RequestInformation toGetRequestInformation() { * The access package assignments resulting in this role assignment. Read-only. Nullable. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -104,8 +122,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageAssignmentsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageAssignmentsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageAssignmentsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageassignments/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageassignments/count/CountRequestBuilder.java index 53485a0f605..47658f498dd 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageassignments/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageassignments/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageassignments/item/AccessPackageAssignmentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageassignments/item/AccessPackageAssignmentItemRequestBuilder.java index 63ece7830db..834386b8952 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageassignments/item/AccessPackageAssignmentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageassignments/item/AccessPackageAssignmentItemRequestBuilder.java @@ -40,8 +40,11 @@ public AccessPackageAssignmentItemRequestBuilder(@jakarta.annotation.Nonnull fin * The access package assignments resulting in this role assignment. Read-only. Nullable. * @return a {@link AccessPackageAssignment} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageAssignment get() { return get(null); } @@ -50,8 +53,11 @@ public AccessPackageAssignment get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageAssignment} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageAssignment get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public AccessPackageAssignment get(@jakarta.annotation.Nullable final java.util. /** * The access package assignments resulting in this role assignment. Read-only. Nullable. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * The access package assignments resulting in this role assignment. Read-only. Nullable. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageAssignmentItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageAssignmentItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageAssignmentItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/AccessPackageResourceRoleRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/AccessPackageResourceRoleRequestBuilder.java index 3f2097a27fb..ff70875a136 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/AccessPackageResourceRoleRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/AccessPackageResourceRoleRequestBuilder.java @@ -24,7 +24,10 @@ public class AccessPackageResourceRoleRequestBuilder extends BaseRequestBuilder /** * Provides operations to manage the accessPackageResource property of the microsoft.graph.accessPackageResourceRole entity. * @return a {@link AccessPackageResourceRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackageResourceRequestBuilder accessPackageResource() { return new AccessPackageResourceRequestBuilder(pathParameters, requestAdapter); @@ -48,7 +51,10 @@ public AccessPackageResourceRoleRequestBuilder(@jakarta.annotation.Nonnull final /** * Delete navigation property accessPackageResourceRole for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -56,7 +62,10 @@ public void delete() { * Delete navigation property accessPackageResourceRole for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -67,8 +76,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Get accessPackageResourceRole from identityGovernance * @return a {@link AccessPackageResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRole get() { return get(null); } @@ -77,8 +89,11 @@ public AccessPackageResourceRole get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRole get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -90,8 +105,11 @@ public AccessPackageResourceRole get(@jakarta.annotation.Nullable final java.uti * @param body The request body * @return a {@link AccessPackageResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRole patch(@jakarta.annotation.Nonnull final AccessPackageResourceRole body) { return patch(body, null); } @@ -101,8 +119,11 @@ public AccessPackageResourceRole patch(@jakarta.annotation.Nonnull final AccessP * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRole patch(@jakarta.annotation.Nonnull final AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -113,8 +134,11 @@ public AccessPackageResourceRole patch(@jakarta.annotation.Nonnull final AccessP /** * Delete navigation property accessPackageResourceRole for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -122,8 +146,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property accessPackageResourceRole for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -133,8 +160,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Get accessPackageResourceRole from identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -142,8 +172,11 @@ public RequestInformation toGetRequestInformation() { * Get accessPackageResourceRole from identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -154,8 +187,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property accessPackageResourceRole in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRole body) { return toPatchRequestInformation(body, null); } @@ -164,8 +200,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -178,8 +217,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceRoleRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceRoleRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceRoleRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/AccessPackageResourceRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/AccessPackageResourceRequestBuilder.java index 8ce0beacb82..c4fbd10a3c2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/AccessPackageResourceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/AccessPackageResourceRequestBuilder.java @@ -29,7 +29,10 @@ public class AccessPackageResourceRequestBuilder extends BaseRequestBuilder { /** * Provides operations to manage the accessPackageResourceEnvironment property of the microsoft.graph.accessPackageResource entity. * @return a {@link AccessPackageResourceEnvironmentRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackageResourceEnvironmentRequestBuilder accessPackageResourceEnvironment() { return new AccessPackageResourceEnvironmentRequestBuilder(pathParameters, requestAdapter); @@ -37,7 +40,10 @@ public AccessPackageResourceEnvironmentRequestBuilder accessPackageResourceEnvir /** * Provides operations to manage the accessPackageResourceRoles property of the microsoft.graph.accessPackageResource entity. * @return a {@link AccessPackageResourceRolesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackageResourceRolesRequestBuilder accessPackageResourceRoles() { return new AccessPackageResourceRolesRequestBuilder(pathParameters, requestAdapter); @@ -45,7 +51,10 @@ public AccessPackageResourceRolesRequestBuilder accessPackageResourceRoles() { /** * Provides operations to manage the accessPackageResourceScopes property of the microsoft.graph.accessPackageResource entity. * @return a {@link AccessPackageResourceScopesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackageResourceScopesRequestBuilder accessPackageResourceScopes() { return new AccessPackageResourceScopesRequestBuilder(pathParameters, requestAdapter); @@ -53,7 +62,10 @@ public AccessPackageResourceScopesRequestBuilder accessPackageResourceScopes() { /** * Provides operations to manage the externalOriginResourceConnector property of the microsoft.graph.accessPackageResource entity. * @return a {@link ExternalOriginResourceConnectorRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ExternalOriginResourceConnectorRequestBuilder externalOriginResourceConnector() { return new ExternalOriginResourceConnectorRequestBuilder(pathParameters, requestAdapter); @@ -61,7 +73,10 @@ public ExternalOriginResourceConnectorRequestBuilder externalOriginResourceConne /** * Provides operations to call the refresh method. * @return a {@link RefreshRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public RefreshRequestBuilder refresh() { return new RefreshRequestBuilder(pathParameters, requestAdapter); @@ -69,7 +84,10 @@ public RefreshRequestBuilder refresh() { /** * Provides operations to manage the uploadSessions property of the microsoft.graph.accessPackageResource entity. * @return a {@link UploadSessionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public UploadSessionsRequestBuilder uploadSessions() { return new UploadSessionsRequestBuilder(pathParameters, requestAdapter); @@ -93,7 +111,10 @@ public AccessPackageResourceRequestBuilder(@jakarta.annotation.Nonnull final Str /** * Delete navigation property accessPackageResource for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -101,7 +122,10 @@ public void delete() { * Delete navigation property accessPackageResource for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -112,8 +136,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Get accessPackageResource from identityGovernance * @return a {@link AccessPackageResource} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResource get() { return get(null); } @@ -122,8 +149,11 @@ public AccessPackageResource get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResource} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResource get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -135,8 +165,11 @@ public AccessPackageResource get(@jakarta.annotation.Nullable final java.util.fu * @param body The request body * @return a {@link AccessPackageResource} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResource patch(@jakarta.annotation.Nonnull final AccessPackageResource body) { return patch(body, null); } @@ -146,8 +179,11 @@ public AccessPackageResource patch(@jakarta.annotation.Nonnull final AccessPacka * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResource} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResource patch(@jakarta.annotation.Nonnull final AccessPackageResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -158,8 +194,11 @@ public AccessPackageResource patch(@jakarta.annotation.Nonnull final AccessPacka /** * Delete navigation property accessPackageResource for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -167,8 +206,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property accessPackageResource for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -178,8 +220,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Get accessPackageResource from identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -187,8 +232,11 @@ public RequestInformation toGetRequestInformation() { * Get accessPackageResource from identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -199,8 +247,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property accessPackageResource in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResource body) { return toPatchRequestInformation(body, null); } @@ -209,8 +260,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -223,8 +277,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourceenvironment/AccessPackageResourceEnvironmentRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourceenvironment/AccessPackageResourceEnvironmentRequestBuilder.java index 2d3b23840fb..4858e69f529 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourceenvironment/AccessPackageResourceEnvironmentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourceenvironment/AccessPackageResourceEnvironmentRequestBuilder.java @@ -40,8 +40,11 @@ public AccessPackageResourceEnvironmentRequestBuilder(@jakarta.annotation.Nonnul * Contains the environment information for the resource. This environment can be set using either the @odata.bind annotation or the environment's originId. Supports $expand. * @return a {@link AccessPackageResourceEnvironment} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceEnvironment get() { return get(null); } @@ -50,8 +53,11 @@ public AccessPackageResourceEnvironment get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceEnvironment} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceEnvironment get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public AccessPackageResourceEnvironment get(@jakarta.annotation.Nullable final j /** * Contains the environment information for the resource. This environment can be set using either the @odata.bind annotation or the environment's originId. Supports $expand. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * Contains the environment information for the resource. This environment can be set using either the @odata.bind annotation or the environment's originId. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceEnvironmentRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceEnvironmentRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceEnvironmentRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java index 7ba491cb292..2b3b3d1f2a2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java @@ -26,7 +26,10 @@ public class AccessPackageResourceRolesRequestBuilder extends BaseRequestBuilder /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the accessPackageResourceRoles property of the microsoft.graph.accessPackageResource entity. * @param accessPackageResourceRoleId The unique identifier of accessPackageResourceRole * @return a {@link AccessPackageResourceRoleItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceRoleItemRequestBuilder byAccessPackageResourceRoleId(@jakarta.annotation.Nonnull final String accessPackageResourceRoleId) { Objects.requireNonNull(accessPackageResourceRoleId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public AccessPackageResourceRolesRequestBuilder(@jakarta.annotation.Nonnull fina * Read-only. Nullable. Supports $expand. * @return a {@link AccessPackageResourceRoleCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRoleCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public AccessPackageResourceRoleCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceRoleCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRoleCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public AccessPackageResourceRoleCollectionResponse get(@jakarta.annotation.Nulla * @param body The request body * @return a {@link AccessPackageResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRole post(@jakarta.annotation.Nonnull final AccessPackageResourceRole body) { return post(body, null); } @@ -97,8 +112,11 @@ public AccessPackageResourceRole post(@jakarta.annotation.Nonnull final AccessPa * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRole post(@jakarta.annotation.Nonnull final AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public AccessPackageResourceRole post(@jakarta.annotation.Nonnull final AccessPa /** * Read-only. Nullable. Supports $expand. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Read-only. Nullable. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to accessPackageResourceRoles for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRole body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceRolesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceRolesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceRolesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourceroles/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourceroles/count/CountRequestBuilder.java index adf141b8956..02adb5ae59d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourceroles/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourceroles/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java index 2265fcaa7b8..d9b49f39606 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java @@ -39,7 +39,10 @@ public AccessPackageResourceRoleItemRequestBuilder(@jakarta.annotation.Nonnull f /** * Delete navigation property accessPackageResourceRoles for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -47,7 +50,10 @@ public void delete() { * Delete navigation property accessPackageResourceRoles for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -58,8 +64,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Read-only. Nullable. Supports $expand. * @return a {@link AccessPackageResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRole get() { return get(null); } @@ -68,8 +77,11 @@ public AccessPackageResourceRole get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRole get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -81,8 +93,11 @@ public AccessPackageResourceRole get(@jakarta.annotation.Nullable final java.uti * @param body The request body * @return a {@link AccessPackageResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRole patch(@jakarta.annotation.Nonnull final AccessPackageResourceRole body) { return patch(body, null); } @@ -92,8 +107,11 @@ public AccessPackageResourceRole patch(@jakarta.annotation.Nonnull final AccessP * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRole patch(@jakarta.annotation.Nonnull final AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -104,8 +122,11 @@ public AccessPackageResourceRole patch(@jakarta.annotation.Nonnull final AccessP /** * Delete navigation property accessPackageResourceRoles for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -113,8 +134,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property accessPackageResourceRoles for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Read-only. Nullable. Supports $expand. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -133,8 +160,11 @@ public RequestInformation toGetRequestInformation() { * Read-only. Nullable. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -145,8 +175,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property accessPackageResourceRoles in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRole body) { return toPatchRequestInformation(body, null); } @@ -155,8 +188,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -169,8 +205,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceRoleItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceRoleItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceRoleItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java index 20bf7520e03..522e8d1f3aa 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java @@ -26,7 +26,10 @@ public class AccessPackageResourceScopesRequestBuilder extends BaseRequestBuilde /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the accessPackageResourceScopes property of the microsoft.graph.accessPackageResource entity. * @param accessPackageResourceScopeId The unique identifier of accessPackageResourceScope * @return a {@link AccessPackageResourceScopeItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceScopeItemRequestBuilder byAccessPackageResourceScopeId(@jakarta.annotation.Nonnull final String accessPackageResourceScopeId) { Objects.requireNonNull(accessPackageResourceScopeId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public AccessPackageResourceScopesRequestBuilder(@jakarta.annotation.Nonnull fin * Read-only. Nullable. Supports $expand. * @return a {@link AccessPackageResourceScopeCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScopeCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public AccessPackageResourceScopeCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceScopeCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScopeCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public AccessPackageResourceScopeCollectionResponse get(@jakarta.annotation.Null * @param body The request body * @return a {@link AccessPackageResourceScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScope post(@jakarta.annotation.Nonnull final AccessPackageResourceScope body) { return post(body, null); } @@ -97,8 +112,11 @@ public AccessPackageResourceScope post(@jakarta.annotation.Nonnull final AccessP * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScope post(@jakarta.annotation.Nonnull final AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public AccessPackageResourceScope post(@jakarta.annotation.Nonnull final AccessP /** * Read-only. Nullable. Supports $expand. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Read-only. Nullable. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to accessPackageResourceScopes for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceScope body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceScopesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceScopesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceScopesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/count/CountRequestBuilder.java index de62b5bcf14..04773daa497 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java index 0fbfb8c2484..1713ce1f770 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java @@ -24,7 +24,10 @@ public class AccessPackageResourceScopeItemRequestBuilder extends BaseRequestBui /** * Provides operations to manage the accessPackageResource property of the microsoft.graph.accessPackageResourceScope entity. * @return a {@link AccessPackageResourceRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackageResourceRequestBuilder accessPackageResource() { return new AccessPackageResourceRequestBuilder(pathParameters, requestAdapter); @@ -48,7 +51,10 @@ public AccessPackageResourceScopeItemRequestBuilder(@jakarta.annotation.Nonnull /** * Delete navigation property accessPackageResourceScopes for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -56,7 +62,10 @@ public void delete() { * Delete navigation property accessPackageResourceScopes for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -67,8 +76,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Read-only. Nullable. Supports $expand. * @return a {@link AccessPackageResourceScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScope get() { return get(null); } @@ -77,8 +89,11 @@ public AccessPackageResourceScope get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScope get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -90,8 +105,11 @@ public AccessPackageResourceScope get(@jakarta.annotation.Nullable final java.ut * @param body The request body * @return a {@link AccessPackageResourceScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScope patch(@jakarta.annotation.Nonnull final AccessPackageResourceScope body) { return patch(body, null); } @@ -101,8 +119,11 @@ public AccessPackageResourceScope patch(@jakarta.annotation.Nonnull final Access * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScope patch(@jakarta.annotation.Nonnull final AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -113,8 +134,11 @@ public AccessPackageResourceScope patch(@jakarta.annotation.Nonnull final Access /** * Delete navigation property accessPackageResourceScopes for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -122,8 +146,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property accessPackageResourceScopes for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -133,8 +160,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Read-only. Nullable. Supports $expand. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -142,8 +172,11 @@ public RequestInformation toGetRequestInformation() { * Read-only. Nullable. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -154,8 +187,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property accessPackageResourceScopes in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceScope body) { return toPatchRequestInformation(body, null); } @@ -164,8 +200,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -178,8 +217,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceScopeItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceScopeItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceScopeItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/AccessPackageResourceRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/AccessPackageResourceRequestBuilder.java index 39847d88b26..847a0d4d2f0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/AccessPackageResourceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/AccessPackageResourceRequestBuilder.java @@ -28,7 +28,10 @@ public class AccessPackageResourceRequestBuilder extends BaseRequestBuilder { /** * Provides operations to manage the accessPackageResourceEnvironment property of the microsoft.graph.accessPackageResource entity. * @return a {@link AccessPackageResourceEnvironmentRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackageResourceEnvironmentRequestBuilder accessPackageResourceEnvironment() { return new AccessPackageResourceEnvironmentRequestBuilder(pathParameters, requestAdapter); @@ -36,7 +39,10 @@ public AccessPackageResourceEnvironmentRequestBuilder accessPackageResourceEnvir /** * Provides operations to manage the accessPackageResourceRoles property of the microsoft.graph.accessPackageResource entity. * @return a {@link AccessPackageResourceRolesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackageResourceRolesRequestBuilder accessPackageResourceRoles() { return new AccessPackageResourceRolesRequestBuilder(pathParameters, requestAdapter); @@ -44,7 +50,10 @@ public AccessPackageResourceRolesRequestBuilder accessPackageResourceRoles() { /** * Provides operations to manage the externalOriginResourceConnector property of the microsoft.graph.accessPackageResource entity. * @return a {@link ExternalOriginResourceConnectorRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ExternalOriginResourceConnectorRequestBuilder externalOriginResourceConnector() { return new ExternalOriginResourceConnectorRequestBuilder(pathParameters, requestAdapter); @@ -52,7 +61,10 @@ public ExternalOriginResourceConnectorRequestBuilder externalOriginResourceConne /** * Provides operations to call the refresh method. * @return a {@link RefreshRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public RefreshRequestBuilder refresh() { return new RefreshRequestBuilder(pathParameters, requestAdapter); @@ -60,7 +72,10 @@ public RefreshRequestBuilder refresh() { /** * Provides operations to manage the uploadSessions property of the microsoft.graph.accessPackageResource entity. * @return a {@link UploadSessionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public UploadSessionsRequestBuilder uploadSessions() { return new UploadSessionsRequestBuilder(pathParameters, requestAdapter); @@ -84,7 +99,10 @@ public AccessPackageResourceRequestBuilder(@jakarta.annotation.Nonnull final Str /** * Delete navigation property accessPackageResource for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -92,7 +110,10 @@ public void delete() { * Delete navigation property accessPackageResource for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -103,8 +124,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Get accessPackageResource from identityGovernance * @return a {@link AccessPackageResource} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResource get() { return get(null); } @@ -113,8 +137,11 @@ public AccessPackageResource get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResource} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResource get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -126,8 +153,11 @@ public AccessPackageResource get(@jakarta.annotation.Nullable final java.util.fu * @param body The request body * @return a {@link AccessPackageResource} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResource patch(@jakarta.annotation.Nonnull final AccessPackageResource body) { return patch(body, null); } @@ -137,8 +167,11 @@ public AccessPackageResource patch(@jakarta.annotation.Nonnull final AccessPacka * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResource} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResource patch(@jakarta.annotation.Nonnull final AccessPackageResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -149,8 +182,11 @@ public AccessPackageResource patch(@jakarta.annotation.Nonnull final AccessPacka /** * Delete navigation property accessPackageResource for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -158,8 +194,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property accessPackageResource for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -169,8 +208,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Get accessPackageResource from identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -178,8 +220,11 @@ public RequestInformation toGetRequestInformation() { * Get accessPackageResource from identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -190,8 +235,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property accessPackageResource in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResource body) { return toPatchRequestInformation(body, null); } @@ -200,8 +248,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -214,8 +265,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceenvironment/AccessPackageResourceEnvironmentRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceenvironment/AccessPackageResourceEnvironmentRequestBuilder.java index 46d7c3d325f..50d67c70e14 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceenvironment/AccessPackageResourceEnvironmentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceenvironment/AccessPackageResourceEnvironmentRequestBuilder.java @@ -40,8 +40,11 @@ public AccessPackageResourceEnvironmentRequestBuilder(@jakarta.annotation.Nonnul * Contains the environment information for the resource. This environment can be set using either the @odata.bind annotation or the environment's originId. Supports $expand. * @return a {@link AccessPackageResourceEnvironment} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceEnvironment get() { return get(null); } @@ -50,8 +53,11 @@ public AccessPackageResourceEnvironment get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceEnvironment} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceEnvironment get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public AccessPackageResourceEnvironment get(@jakarta.annotation.Nullable final j /** * Contains the environment information for the resource. This environment can be set using either the @odata.bind annotation or the environment's originId. Supports $expand. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * Contains the environment information for the resource. This environment can be set using either the @odata.bind annotation or the environment's originId. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceEnvironmentRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceEnvironmentRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceEnvironmentRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java index 48fc7f6314a..5e36de01b0f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java @@ -26,7 +26,10 @@ public class AccessPackageResourceRolesRequestBuilder extends BaseRequestBuilder /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the accessPackageResourceRoles property of the microsoft.graph.accessPackageResource entity. * @param accessPackageResourceRoleId The unique identifier of accessPackageResourceRole * @return a {@link AccessPackageResourceRoleItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceRoleItemRequestBuilder byAccessPackageResourceRoleId(@jakarta.annotation.Nonnull final String accessPackageResourceRoleId) { Objects.requireNonNull(accessPackageResourceRoleId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public AccessPackageResourceRolesRequestBuilder(@jakarta.annotation.Nonnull fina * Read-only. Nullable. Supports $expand. * @return a {@link AccessPackageResourceRoleCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRoleCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public AccessPackageResourceRoleCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceRoleCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRoleCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public AccessPackageResourceRoleCollectionResponse get(@jakarta.annotation.Nulla * @param body The request body * @return a {@link AccessPackageResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRole post(@jakarta.annotation.Nonnull final AccessPackageResourceRole body) { return post(body, null); } @@ -97,8 +112,11 @@ public AccessPackageResourceRole post(@jakarta.annotation.Nonnull final AccessPa * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRole post(@jakarta.annotation.Nonnull final AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public AccessPackageResourceRole post(@jakarta.annotation.Nonnull final AccessPa /** * Read-only. Nullable. Supports $expand. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Read-only. Nullable. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to accessPackageResourceRoles for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRole body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceRolesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceRolesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceRolesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/count/CountRequestBuilder.java index 55db629b9de..7aaa1277efd 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java index d9cd376dddd..5007a0d4a20 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java @@ -39,7 +39,10 @@ public AccessPackageResourceRoleItemRequestBuilder(@jakarta.annotation.Nonnull f /** * Delete navigation property accessPackageResourceRoles for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -47,7 +50,10 @@ public void delete() { * Delete navigation property accessPackageResourceRoles for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -58,8 +64,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Read-only. Nullable. Supports $expand. * @return a {@link AccessPackageResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRole get() { return get(null); } @@ -68,8 +77,11 @@ public AccessPackageResourceRole get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRole get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -81,8 +93,11 @@ public AccessPackageResourceRole get(@jakarta.annotation.Nullable final java.uti * @param body The request body * @return a {@link AccessPackageResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRole patch(@jakarta.annotation.Nonnull final AccessPackageResourceRole body) { return patch(body, null); } @@ -92,8 +107,11 @@ public AccessPackageResourceRole patch(@jakarta.annotation.Nonnull final AccessP * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRole patch(@jakarta.annotation.Nonnull final AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -104,8 +122,11 @@ public AccessPackageResourceRole patch(@jakarta.annotation.Nonnull final AccessP /** * Delete navigation property accessPackageResourceRoles for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -113,8 +134,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property accessPackageResourceRoles for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Read-only. Nullable. Supports $expand. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -133,8 +160,11 @@ public RequestInformation toGetRequestInformation() { * Read-only. Nullable. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -145,8 +175,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property accessPackageResourceRoles in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRole body) { return toPatchRequestInformation(body, null); } @@ -155,8 +188,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -169,8 +205,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceRoleItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceRoleItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceRoleItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/externaloriginresourceconnector/ExternalOriginResourceConnectorRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/externaloriginresourceconnector/ExternalOriginResourceConnectorRequestBuilder.java index aa5f9bd2e07..ebce378fe00 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/externaloriginresourceconnector/ExternalOriginResourceConnectorRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/externaloriginresourceconnector/ExternalOriginResourceConnectorRequestBuilder.java @@ -40,8 +40,11 @@ public ExternalOriginResourceConnectorRequestBuilder(@jakarta.annotation.Nonnull * The connector that integrates with external origin systems to provision access to resources from those systems. Read-only. Nullable. * @return a {@link ExternalOriginResourceConnector} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ExternalOriginResourceConnector get() { return get(null); } @@ -50,8 +53,11 @@ public ExternalOriginResourceConnector get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ExternalOriginResourceConnector} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ExternalOriginResourceConnector get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public ExternalOriginResourceConnector get(@jakarta.annotation.Nullable final ja /** * The connector that integrates with external origin systems to provision access to resources from those systems. Read-only. Nullable. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * The connector that integrates with external origin systems to provision access to resources from those systems. Read-only. Nullable. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ExternalOriginResourceConnectorRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ExternalOriginResourceConnectorRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ExternalOriginResourceConnectorRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/refresh/RefreshRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/refresh/RefreshRequestBuilder.java index 92373b9cd1d..bdedd15220a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/refresh/RefreshRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/refresh/RefreshRequestBuilder.java @@ -37,8 +37,11 @@ public RefreshRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j /** * In Microsoft Entra entitlement management, refresh the accessPackageResource object to fetch the latest details for displayName, description, and resourceType from the origin system. For the AadApplication originSystem, this operation also updates the displayName and description for the accessPackageResourceRole. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * In Microsoft Entra entitlement management, refresh the accessPackageResource object to fetch the latest details for displayName, description, and resourceType from the origin system. For the AadApplication originSystem, this operation also updates the displayName and description for the accessPackageResourceRole. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * In Microsoft Entra entitlement management, refresh the accessPackageResource object to fetch the latest details for displayName, description, and resourceType from the origin system. For the AadApplication originSystem, this operation also updates the displayName and description for the accessPackageResourceRole. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * In Microsoft Entra entitlement management, refresh the accessPackageResource object to fetch the latest details for displayName, description, and resourceType from the origin system. For the AadApplication originSystem, this operation also updates the displayName and description for the accessPackageResourceRole. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RefreshRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RefreshRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RefreshRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/UploadSessionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/UploadSessionsRequestBuilder.java index 14a45c451c0..985426b3d0a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/UploadSessionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/UploadSessionsRequestBuilder.java @@ -26,7 +26,10 @@ public class UploadSessionsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the uploadSessions property of the microsoft.graph.accessPackageResource entity. * @param customDataProvidedResourceUploadSessionId The unique identifier of customDataProvidedResourceUploadSession * @return a {@link CustomDataProvidedResourceUploadSessionItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CustomDataProvidedResourceUploadSessionItemRequestBuilder byCustomDataProvidedResourceUploadSessionId(@jakarta.annotation.Nonnull final String customDataProvidedResourceUploadSessionId) { Objects.requireNonNull(customDataProvidedResourceUploadSessionId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public UploadSessionsRequestBuilder(@jakarta.annotation.Nonnull final String raw * Get uploadSessions from identityGovernance * @return a {@link CustomDataProvidedResourceUploadSessionCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSessionCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public CustomDataProvidedResourceUploadSessionCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSessionCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSessionCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public CustomDataProvidedResourceUploadSessionCollectionResponse get(@jakarta.an * @param body The request body * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body) { return post(body, null); } @@ -97,8 +112,11 @@ public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nonnull * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nonnull /** * Get uploadSessions from identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Get uploadSessions from identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to uploadSessions for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link UploadSessionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public UploadSessionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new UploadSessionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/count/CountRequestBuilder.java index 0243d8cb9bb..8da4bb869a0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/CustomDataProvidedResourceUploadSessionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/CustomDataProvidedResourceUploadSessionItemRequestBuilder.java index c6816c5ef7e..3d24e4aebbf 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/CustomDataProvidedResourceUploadSessionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/CustomDataProvidedResourceUploadSessionItemRequestBuilder.java @@ -25,7 +25,10 @@ public class CustomDataProvidedResourceUploadSessionItemRequestBuilder extends B /** * Provides operations to manage the files property of the microsoft.graph.customDataProvidedResourceUploadSession entity. * @return a {@link FilesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public FilesRequestBuilder files() { return new FilesRequestBuilder(pathParameters, requestAdapter); @@ -33,7 +36,10 @@ public FilesRequestBuilder files() { /** * Provides operations to call the uploadFile method. * @return a {@link UploadFileRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public UploadFileRequestBuilder uploadFile() { return new UploadFileRequestBuilder(pathParameters, requestAdapter); @@ -57,7 +63,10 @@ public CustomDataProvidedResourceUploadSessionItemRequestBuilder(@jakarta.annota /** * Delete navigation property uploadSessions for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -65,7 +74,10 @@ public void delete() { * Delete navigation property uploadSessions for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -76,8 +88,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Get uploadSessions from identityGovernance * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession get() { return get(null); } @@ -86,8 +101,11 @@ public CustomDataProvidedResourceUploadSession get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -99,8 +117,11 @@ public CustomDataProvidedResourceUploadSession get(@jakarta.annotation.Nullable * @param body The request body * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession patch(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body) { return patch(body, null); } @@ -110,8 +131,11 @@ public CustomDataProvidedResourceUploadSession patch(@jakarta.annotation.Nonnull * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession patch(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -122,8 +146,11 @@ public CustomDataProvidedResourceUploadSession patch(@jakarta.annotation.Nonnull /** * Delete navigation property uploadSessions for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -131,8 +158,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property uploadSessions for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -142,8 +172,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Get uploadSessions from identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -151,8 +184,11 @@ public RequestInformation toGetRequestInformation() { * Get uploadSessions from identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -163,8 +199,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property uploadSessions in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body) { return toPatchRequestInformation(body, null); } @@ -173,8 +212,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -187,8 +229,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CustomDataProvidedResourceUploadSessionItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CustomDataProvidedResourceUploadSessionItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CustomDataProvidedResourceUploadSessionItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/files/FilesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/files/FilesRequestBuilder.java index 466b4ade26d..19b343a51eb 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/files/FilesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/files/FilesRequestBuilder.java @@ -25,7 +25,10 @@ public class FilesRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -34,8 +37,11 @@ public CountRequestBuilder count() { * Provides operations to manage the files property of the microsoft.graph.customDataProvidedResourceUploadSession entity. * @param customDataProvidedResourceFileId The unique identifier of customDataProvidedResourceFile * @return a {@link CustomDataProvidedResourceFileItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CustomDataProvidedResourceFileItemRequestBuilder byCustomDataProvidedResourceFileId(@jakarta.annotation.Nonnull final String customDataProvidedResourceFileId) { Objects.requireNonNull(customDataProvidedResourceFileId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -62,8 +68,11 @@ public FilesRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @return a {@link CustomDataProvidedResourceFileCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceFileCollectionResponse get() { return get(null); } @@ -72,8 +81,11 @@ public CustomDataProvidedResourceFileCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceFileCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceFileCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -83,8 +95,11 @@ public CustomDataProvidedResourceFileCollectionResponse get(@jakarta.annotation. /** * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -92,8 +107,11 @@ public RequestInformation toGetRequestInformation() { * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -104,8 +122,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link FilesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new FilesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/files/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/files/count/CountRequestBuilder.java index 0071e917b1d..688b1e442e2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/files/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/files/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/files/item/CustomDataProvidedResourceFileItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/files/item/CustomDataProvidedResourceFileItemRequestBuilder.java index bc358f75dea..4c8ef025d3e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/files/item/CustomDataProvidedResourceFileItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/files/item/CustomDataProvidedResourceFileItemRequestBuilder.java @@ -24,7 +24,10 @@ public class CustomDataProvidedResourceFileItemRequestBuilder extends BaseReques /** * Provides operations to manage the media for the identityGovernance entity. * @return a {@link ContentRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ContentRequestBuilder content() { return new ContentRequestBuilder(pathParameters, requestAdapter); @@ -49,8 +52,11 @@ public CustomDataProvidedResourceFileItemRequestBuilder(@jakarta.annotation.Nonn * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @return a {@link CustomDataProvidedResourceFile} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceFile get() { return get(null); } @@ -59,8 +65,11 @@ public CustomDataProvidedResourceFile get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceFile} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceFile get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -70,8 +79,11 @@ public CustomDataProvidedResourceFile get(@jakarta.annotation.Nullable final jav /** * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -79,8 +91,11 @@ public RequestInformation toGetRequestInformation() { * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -91,8 +106,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CustomDataProvidedResourceFileItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CustomDataProvidedResourceFileItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CustomDataProvidedResourceFileItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/files/item/value/ContentRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/files/item/value/ContentRequestBuilder.java index 7ec256ca30f..8094420348a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/files/item/value/ContentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/files/item/value/ContentRequestBuilder.java @@ -38,7 +38,10 @@ public ContentRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j /** * The unique identifier for an entity. Read-only. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -46,7 +49,10 @@ public void delete() { * The unique identifier for an entity. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * The unique identifier for an entity. Read-only. * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public InputStream get() { return get(null); } @@ -67,8 +76,11 @@ public InputStream get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public InputStream get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -80,8 +92,11 @@ public InputStream get(@jakarta.annotation.Nullable final java.util.function.Con * @param body Binary request body * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public InputStream put(@jakarta.annotation.Nonnull final InputStream body) { return put(body, null); } @@ -91,8 +106,11 @@ public InputStream put(@jakarta.annotation.Nonnull final InputStream body) { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public InputStream put(@jakarta.annotation.Nonnull final InputStream body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPutRequestInformation(body, requestConfiguration); @@ -103,8 +121,11 @@ public InputStream put(@jakarta.annotation.Nonnull final InputStream body, @jaka /** * The unique identifier for an entity. Read-only. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -112,8 +133,11 @@ public RequestInformation toDeleteRequestInformation() { * The unique identifier for an entity. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -123,8 +147,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * The unique identifier for an entity. Read-only. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -132,8 +159,11 @@ public RequestInformation toGetRequestInformation() { * The unique identifier for an entity. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new); @@ -144,8 +174,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * The unique identifier for an entity. Read-only. * @param body Binary request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull final InputStream body) { return toPutRequestInformation(body, null); } @@ -154,8 +187,11 @@ public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull fi * @param body Binary request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull final InputStream body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PUT, urlTemplate, pathParameters); @@ -168,8 +204,11 @@ public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull fi * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ContentRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ContentRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ContentRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/uploadfile/UploadFileRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/uploadfile/UploadFileRequestBuilder.java index b9eb66abfa3..446c7d9e2e6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/uploadfile/UploadFileRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/uploadfile/UploadFileRequestBuilder.java @@ -39,9 +39,12 @@ public UploadFileRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, * Upload a file in a customDataProvidedResourceUploadSession created for a customDataProvidedResource. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession post() { return post(null); } @@ -50,9 +53,12 @@ public CustomDataProvidedResourceUploadSession post() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -62,8 +68,11 @@ public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nullable /** * Upload a file in a customDataProvidedResourceUploadSession created for a customDataProvidedResource. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation() { * Upload a file in a customDataProvidedResourceUploadSession created for a customDataProvidedResource. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -83,8 +95,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link UploadFileRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public UploadFileRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new UploadFileRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/externaloriginresourceconnector/ExternalOriginResourceConnectorRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/externaloriginresourceconnector/ExternalOriginResourceConnectorRequestBuilder.java index 0d377909126..2286c54bab1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/externaloriginresourceconnector/ExternalOriginResourceConnectorRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/externaloriginresourceconnector/ExternalOriginResourceConnectorRequestBuilder.java @@ -40,8 +40,11 @@ public ExternalOriginResourceConnectorRequestBuilder(@jakarta.annotation.Nonnull * The connector that integrates with external origin systems to provision access to resources from those systems. Read-only. Nullable. * @return a {@link ExternalOriginResourceConnector} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ExternalOriginResourceConnector get() { return get(null); } @@ -50,8 +53,11 @@ public ExternalOriginResourceConnector get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ExternalOriginResourceConnector} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ExternalOriginResourceConnector get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public ExternalOriginResourceConnector get(@jakarta.annotation.Nullable final ja /** * The connector that integrates with external origin systems to provision access to resources from those systems. Read-only. Nullable. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * The connector that integrates with external origin systems to provision access to resources from those systems. Read-only. Nullable. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ExternalOriginResourceConnectorRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ExternalOriginResourceConnectorRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ExternalOriginResourceConnectorRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/refresh/RefreshRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/refresh/RefreshRequestBuilder.java index 7704781f87e..f82b9c5dac7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/refresh/RefreshRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/refresh/RefreshRequestBuilder.java @@ -37,8 +37,11 @@ public RefreshRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j /** * In Microsoft Entra entitlement management, refresh the accessPackageResource object to fetch the latest details for displayName, description, and resourceType from the origin system. For the AadApplication originSystem, this operation also updates the displayName and description for the accessPackageResourceRole. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * In Microsoft Entra entitlement management, refresh the accessPackageResource object to fetch the latest details for displayName, description, and resourceType from the origin system. For the AadApplication originSystem, this operation also updates the displayName and description for the accessPackageResourceRole. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * In Microsoft Entra entitlement management, refresh the accessPackageResource object to fetch the latest details for displayName, description, and resourceType from the origin system. For the AadApplication originSystem, this operation also updates the displayName and description for the accessPackageResourceRole. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * In Microsoft Entra entitlement management, refresh the accessPackageResource object to fetch the latest details for displayName, description, and resourceType from the origin system. For the AadApplication originSystem, this operation also updates the displayName and description for the accessPackageResourceRole. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RefreshRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RefreshRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RefreshRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/uploadsessions/UploadSessionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/uploadsessions/UploadSessionsRequestBuilder.java index b300cf0e431..186037c2e94 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/uploadsessions/UploadSessionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/uploadsessions/UploadSessionsRequestBuilder.java @@ -26,7 +26,10 @@ public class UploadSessionsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the uploadSessions property of the microsoft.graph.accessPackageResource entity. * @param customDataProvidedResourceUploadSessionId The unique identifier of customDataProvidedResourceUploadSession * @return a {@link CustomDataProvidedResourceUploadSessionItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CustomDataProvidedResourceUploadSessionItemRequestBuilder byCustomDataProvidedResourceUploadSessionId(@jakarta.annotation.Nonnull final String customDataProvidedResourceUploadSessionId) { Objects.requireNonNull(customDataProvidedResourceUploadSessionId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public UploadSessionsRequestBuilder(@jakarta.annotation.Nonnull final String raw * Get uploadSessions from identityGovernance * @return a {@link CustomDataProvidedResourceUploadSessionCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSessionCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public CustomDataProvidedResourceUploadSessionCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSessionCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSessionCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public CustomDataProvidedResourceUploadSessionCollectionResponse get(@jakarta.an * @param body The request body * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body) { return post(body, null); } @@ -97,8 +112,11 @@ public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nonnull * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nonnull /** * Get uploadSessions from identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Get uploadSessions from identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to uploadSessions for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link UploadSessionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public UploadSessionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new UploadSessionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/uploadsessions/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/uploadsessions/count/CountRequestBuilder.java index b43de617976..0748e5cf50e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/uploadsessions/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/uploadsessions/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/CustomDataProvidedResourceUploadSessionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/CustomDataProvidedResourceUploadSessionItemRequestBuilder.java index 071f2c3f0da..f4bfc9f237d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/CustomDataProvidedResourceUploadSessionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/CustomDataProvidedResourceUploadSessionItemRequestBuilder.java @@ -25,7 +25,10 @@ public class CustomDataProvidedResourceUploadSessionItemRequestBuilder extends B /** * Provides operations to manage the files property of the microsoft.graph.customDataProvidedResourceUploadSession entity. * @return a {@link FilesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public FilesRequestBuilder files() { return new FilesRequestBuilder(pathParameters, requestAdapter); @@ -33,7 +36,10 @@ public FilesRequestBuilder files() { /** * Provides operations to call the uploadFile method. * @return a {@link UploadFileRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public UploadFileRequestBuilder uploadFile() { return new UploadFileRequestBuilder(pathParameters, requestAdapter); @@ -57,7 +63,10 @@ public CustomDataProvidedResourceUploadSessionItemRequestBuilder(@jakarta.annota /** * Delete navigation property uploadSessions for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -65,7 +74,10 @@ public void delete() { * Delete navigation property uploadSessions for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -76,8 +88,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Get uploadSessions from identityGovernance * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession get() { return get(null); } @@ -86,8 +101,11 @@ public CustomDataProvidedResourceUploadSession get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -99,8 +117,11 @@ public CustomDataProvidedResourceUploadSession get(@jakarta.annotation.Nullable * @param body The request body * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession patch(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body) { return patch(body, null); } @@ -110,8 +131,11 @@ public CustomDataProvidedResourceUploadSession patch(@jakarta.annotation.Nonnull * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession patch(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -122,8 +146,11 @@ public CustomDataProvidedResourceUploadSession patch(@jakarta.annotation.Nonnull /** * Delete navigation property uploadSessions for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -131,8 +158,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property uploadSessions for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -142,8 +172,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Get uploadSessions from identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -151,8 +184,11 @@ public RequestInformation toGetRequestInformation() { * Get uploadSessions from identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -163,8 +199,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property uploadSessions in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body) { return toPatchRequestInformation(body, null); } @@ -173,8 +212,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -187,8 +229,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CustomDataProvidedResourceUploadSessionItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CustomDataProvidedResourceUploadSessionItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CustomDataProvidedResourceUploadSessionItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/files/FilesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/files/FilesRequestBuilder.java index ef40a5b296b..2d79505bb4f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/files/FilesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/files/FilesRequestBuilder.java @@ -25,7 +25,10 @@ public class FilesRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -34,8 +37,11 @@ public CountRequestBuilder count() { * Provides operations to manage the files property of the microsoft.graph.customDataProvidedResourceUploadSession entity. * @param customDataProvidedResourceFileId The unique identifier of customDataProvidedResourceFile * @return a {@link CustomDataProvidedResourceFileItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CustomDataProvidedResourceFileItemRequestBuilder byCustomDataProvidedResourceFileId(@jakarta.annotation.Nonnull final String customDataProvidedResourceFileId) { Objects.requireNonNull(customDataProvidedResourceFileId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -62,8 +68,11 @@ public FilesRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @return a {@link CustomDataProvidedResourceFileCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceFileCollectionResponse get() { return get(null); } @@ -72,8 +81,11 @@ public CustomDataProvidedResourceFileCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceFileCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceFileCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -83,8 +95,11 @@ public CustomDataProvidedResourceFileCollectionResponse get(@jakarta.annotation. /** * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -92,8 +107,11 @@ public RequestInformation toGetRequestInformation() { * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -104,8 +122,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link FilesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new FilesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/files/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/files/count/CountRequestBuilder.java index c1ba4f5d1ef..784c7db7308 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/files/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/files/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/files/item/CustomDataProvidedResourceFileItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/files/item/CustomDataProvidedResourceFileItemRequestBuilder.java index 800218d3c33..3dac63257f7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/files/item/CustomDataProvidedResourceFileItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/files/item/CustomDataProvidedResourceFileItemRequestBuilder.java @@ -24,7 +24,10 @@ public class CustomDataProvidedResourceFileItemRequestBuilder extends BaseReques /** * Provides operations to manage the media for the identityGovernance entity. * @return a {@link ContentRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ContentRequestBuilder content() { return new ContentRequestBuilder(pathParameters, requestAdapter); @@ -49,8 +52,11 @@ public CustomDataProvidedResourceFileItemRequestBuilder(@jakarta.annotation.Nonn * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @return a {@link CustomDataProvidedResourceFile} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceFile get() { return get(null); } @@ -59,8 +65,11 @@ public CustomDataProvidedResourceFile get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceFile} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceFile get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -70,8 +79,11 @@ public CustomDataProvidedResourceFile get(@jakarta.annotation.Nullable final jav /** * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -79,8 +91,11 @@ public RequestInformation toGetRequestInformation() { * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -91,8 +106,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CustomDataProvidedResourceFileItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CustomDataProvidedResourceFileItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CustomDataProvidedResourceFileItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/files/item/value/ContentRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/files/item/value/ContentRequestBuilder.java index b07055e1b04..2addbe0896f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/files/item/value/ContentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/files/item/value/ContentRequestBuilder.java @@ -38,7 +38,10 @@ public ContentRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j /** * The unique identifier for an entity. Read-only. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -46,7 +49,10 @@ public void delete() { * The unique identifier for an entity. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * The unique identifier for an entity. Read-only. * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public InputStream get() { return get(null); } @@ -67,8 +76,11 @@ public InputStream get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public InputStream get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -80,8 +92,11 @@ public InputStream get(@jakarta.annotation.Nullable final java.util.function.Con * @param body Binary request body * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public InputStream put(@jakarta.annotation.Nonnull final InputStream body) { return put(body, null); } @@ -91,8 +106,11 @@ public InputStream put(@jakarta.annotation.Nonnull final InputStream body) { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public InputStream put(@jakarta.annotation.Nonnull final InputStream body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPutRequestInformation(body, requestConfiguration); @@ -103,8 +121,11 @@ public InputStream put(@jakarta.annotation.Nonnull final InputStream body, @jaka /** * The unique identifier for an entity. Read-only. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -112,8 +133,11 @@ public RequestInformation toDeleteRequestInformation() { * The unique identifier for an entity. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -123,8 +147,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * The unique identifier for an entity. Read-only. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -132,8 +159,11 @@ public RequestInformation toGetRequestInformation() { * The unique identifier for an entity. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new); @@ -144,8 +174,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * The unique identifier for an entity. Read-only. * @param body Binary request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull final InputStream body) { return toPutRequestInformation(body, null); } @@ -154,8 +187,11 @@ public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull fi * @param body Binary request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull final InputStream body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PUT, urlTemplate, pathParameters); @@ -168,8 +204,11 @@ public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull fi * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ContentRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ContentRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ContentRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/uploadfile/UploadFileRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/uploadfile/UploadFileRequestBuilder.java index 3b6451db1e1..d8c822bd0be 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/uploadfile/UploadFileRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/uploadfile/UploadFileRequestBuilder.java @@ -39,9 +39,12 @@ public UploadFileRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, * Upload a file in a customDataProvidedResourceUploadSession created for a customDataProvidedResource. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession post() { return post(null); } @@ -50,9 +53,12 @@ public CustomDataProvidedResourceUploadSession post() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -62,8 +68,11 @@ public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nullable /** * Upload a file in a customDataProvidedResourceUploadSession created for a customDataProvidedResource. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation() { * Upload a file in a customDataProvidedResourceUploadSession created for a customDataProvidedResource. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -83,8 +95,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link UploadFileRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public UploadFileRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new UploadFileRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/AccessPackageResourceScopeRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/AccessPackageResourceScopeRequestBuilder.java index 6ec9bbf4f98..4fa49b83071 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/AccessPackageResourceScopeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/AccessPackageResourceScopeRequestBuilder.java @@ -24,7 +24,10 @@ public class AccessPackageResourceScopeRequestBuilder extends BaseRequestBuilder /** * Provides operations to manage the accessPackageResource property of the microsoft.graph.accessPackageResourceScope entity. * @return a {@link AccessPackageResourceRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackageResourceRequestBuilder accessPackageResource() { return new AccessPackageResourceRequestBuilder(pathParameters, requestAdapter); @@ -48,7 +51,10 @@ public AccessPackageResourceScopeRequestBuilder(@jakarta.annotation.Nonnull fina /** * Delete navigation property accessPackageResourceScope for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -56,7 +62,10 @@ public void delete() { * Delete navigation property accessPackageResourceScope for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -67,8 +76,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Get accessPackageResourceScope from identityGovernance * @return a {@link AccessPackageResourceScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScope get() { return get(null); } @@ -77,8 +89,11 @@ public AccessPackageResourceScope get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScope get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -90,8 +105,11 @@ public AccessPackageResourceScope get(@jakarta.annotation.Nullable final java.ut * @param body The request body * @return a {@link AccessPackageResourceScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScope patch(@jakarta.annotation.Nonnull final AccessPackageResourceScope body) { return patch(body, null); } @@ -101,8 +119,11 @@ public AccessPackageResourceScope patch(@jakarta.annotation.Nonnull final Access * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScope patch(@jakarta.annotation.Nonnull final AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -113,8 +134,11 @@ public AccessPackageResourceScope patch(@jakarta.annotation.Nonnull final Access /** * Delete navigation property accessPackageResourceScope for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -122,8 +146,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property accessPackageResourceScope for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -133,8 +160,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Get accessPackageResourceScope from identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -142,8 +172,11 @@ public RequestInformation toGetRequestInformation() { * Get accessPackageResourceScope from identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -154,8 +187,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property accessPackageResourceScope in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceScope body) { return toPatchRequestInformation(body, null); } @@ -164,8 +200,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -178,8 +217,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceScopeRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceScopeRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceScopeRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/AccessPackageResourceRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/AccessPackageResourceRequestBuilder.java index 50932856f1d..6aa42aba1c9 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/AccessPackageResourceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/AccessPackageResourceRequestBuilder.java @@ -29,7 +29,10 @@ public class AccessPackageResourceRequestBuilder extends BaseRequestBuilder { /** * Provides operations to manage the accessPackageResourceEnvironment property of the microsoft.graph.accessPackageResource entity. * @return a {@link AccessPackageResourceEnvironmentRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackageResourceEnvironmentRequestBuilder accessPackageResourceEnvironment() { return new AccessPackageResourceEnvironmentRequestBuilder(pathParameters, requestAdapter); @@ -37,7 +40,10 @@ public AccessPackageResourceEnvironmentRequestBuilder accessPackageResourceEnvir /** * Provides operations to manage the accessPackageResourceRoles property of the microsoft.graph.accessPackageResource entity. * @return a {@link AccessPackageResourceRolesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackageResourceRolesRequestBuilder accessPackageResourceRoles() { return new AccessPackageResourceRolesRequestBuilder(pathParameters, requestAdapter); @@ -45,7 +51,10 @@ public AccessPackageResourceRolesRequestBuilder accessPackageResourceRoles() { /** * Provides operations to manage the accessPackageResourceScopes property of the microsoft.graph.accessPackageResource entity. * @return a {@link AccessPackageResourceScopesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackageResourceScopesRequestBuilder accessPackageResourceScopes() { return new AccessPackageResourceScopesRequestBuilder(pathParameters, requestAdapter); @@ -53,7 +62,10 @@ public AccessPackageResourceScopesRequestBuilder accessPackageResourceScopes() { /** * Provides operations to manage the externalOriginResourceConnector property of the microsoft.graph.accessPackageResource entity. * @return a {@link ExternalOriginResourceConnectorRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ExternalOriginResourceConnectorRequestBuilder externalOriginResourceConnector() { return new ExternalOriginResourceConnectorRequestBuilder(pathParameters, requestAdapter); @@ -61,7 +73,10 @@ public ExternalOriginResourceConnectorRequestBuilder externalOriginResourceConne /** * Provides operations to call the refresh method. * @return a {@link RefreshRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public RefreshRequestBuilder refresh() { return new RefreshRequestBuilder(pathParameters, requestAdapter); @@ -69,7 +84,10 @@ public RefreshRequestBuilder refresh() { /** * Provides operations to manage the uploadSessions property of the microsoft.graph.accessPackageResource entity. * @return a {@link UploadSessionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public UploadSessionsRequestBuilder uploadSessions() { return new UploadSessionsRequestBuilder(pathParameters, requestAdapter); @@ -93,7 +111,10 @@ public AccessPackageResourceRequestBuilder(@jakarta.annotation.Nonnull final Str /** * Delete navigation property accessPackageResource for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -101,7 +122,10 @@ public void delete() { * Delete navigation property accessPackageResource for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -112,8 +136,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Get accessPackageResource from identityGovernance * @return a {@link AccessPackageResource} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResource get() { return get(null); } @@ -122,8 +149,11 @@ public AccessPackageResource get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResource} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResource get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -135,8 +165,11 @@ public AccessPackageResource get(@jakarta.annotation.Nullable final java.util.fu * @param body The request body * @return a {@link AccessPackageResource} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResource patch(@jakarta.annotation.Nonnull final AccessPackageResource body) { return patch(body, null); } @@ -146,8 +179,11 @@ public AccessPackageResource patch(@jakarta.annotation.Nonnull final AccessPacka * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResource} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResource patch(@jakarta.annotation.Nonnull final AccessPackageResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -158,8 +194,11 @@ public AccessPackageResource patch(@jakarta.annotation.Nonnull final AccessPacka /** * Delete navigation property accessPackageResource for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -167,8 +206,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property accessPackageResource for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -178,8 +220,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Get accessPackageResource from identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -187,8 +232,11 @@ public RequestInformation toGetRequestInformation() { * Get accessPackageResource from identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -199,8 +247,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property accessPackageResource in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResource body) { return toPatchRequestInformation(body, null); } @@ -209,8 +260,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -223,8 +277,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceenvironment/AccessPackageResourceEnvironmentRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceenvironment/AccessPackageResourceEnvironmentRequestBuilder.java index 39ed765a613..25395778ce1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceenvironment/AccessPackageResourceEnvironmentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceenvironment/AccessPackageResourceEnvironmentRequestBuilder.java @@ -40,8 +40,11 @@ public AccessPackageResourceEnvironmentRequestBuilder(@jakarta.annotation.Nonnul * Contains the environment information for the resource. This environment can be set using either the @odata.bind annotation or the environment's originId. Supports $expand. * @return a {@link AccessPackageResourceEnvironment} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceEnvironment get() { return get(null); } @@ -50,8 +53,11 @@ public AccessPackageResourceEnvironment get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceEnvironment} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceEnvironment get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public AccessPackageResourceEnvironment get(@jakarta.annotation.Nullable final j /** * Contains the environment information for the resource. This environment can be set using either the @odata.bind annotation or the environment's originId. Supports $expand. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * Contains the environment information for the resource. This environment can be set using either the @odata.bind annotation or the environment's originId. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceEnvironmentRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceEnvironmentRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceEnvironmentRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java index 554310625f7..0d8925136ed 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java @@ -26,7 +26,10 @@ public class AccessPackageResourceRolesRequestBuilder extends BaseRequestBuilder /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the accessPackageResourceRoles property of the microsoft.graph.accessPackageResource entity. * @param accessPackageResourceRoleId The unique identifier of accessPackageResourceRole * @return a {@link AccessPackageResourceRoleItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceRoleItemRequestBuilder byAccessPackageResourceRoleId(@jakarta.annotation.Nonnull final String accessPackageResourceRoleId) { Objects.requireNonNull(accessPackageResourceRoleId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public AccessPackageResourceRolesRequestBuilder(@jakarta.annotation.Nonnull fina * Read-only. Nullable. Supports $expand. * @return a {@link AccessPackageResourceRoleCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRoleCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public AccessPackageResourceRoleCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceRoleCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRoleCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public AccessPackageResourceRoleCollectionResponse get(@jakarta.annotation.Nulla * @param body The request body * @return a {@link AccessPackageResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRole post(@jakarta.annotation.Nonnull final AccessPackageResourceRole body) { return post(body, null); } @@ -97,8 +112,11 @@ public AccessPackageResourceRole post(@jakarta.annotation.Nonnull final AccessPa * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRole post(@jakarta.annotation.Nonnull final AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public AccessPackageResourceRole post(@jakarta.annotation.Nonnull final AccessPa /** * Read-only. Nullable. Supports $expand. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Read-only. Nullable. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to accessPackageResourceRoles for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRole body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceRolesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceRolesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceRolesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/count/CountRequestBuilder.java index 5ce5ac044d4..d91472fd4a2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java index 7c89ba9ef97..e019daa0375 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java @@ -24,7 +24,10 @@ public class AccessPackageResourceRoleItemRequestBuilder extends BaseRequestBuil /** * Provides operations to manage the accessPackageResource property of the microsoft.graph.accessPackageResourceRole entity. * @return a {@link AccessPackageResourceRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackageResourceRequestBuilder accessPackageResource() { return new AccessPackageResourceRequestBuilder(pathParameters, requestAdapter); @@ -48,7 +51,10 @@ public AccessPackageResourceRoleItemRequestBuilder(@jakarta.annotation.Nonnull f /** * Delete navigation property accessPackageResourceRoles for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -56,7 +62,10 @@ public void delete() { * Delete navigation property accessPackageResourceRoles for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -67,8 +76,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Read-only. Nullable. Supports $expand. * @return a {@link AccessPackageResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRole get() { return get(null); } @@ -77,8 +89,11 @@ public AccessPackageResourceRole get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRole get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -90,8 +105,11 @@ public AccessPackageResourceRole get(@jakarta.annotation.Nullable final java.uti * @param body The request body * @return a {@link AccessPackageResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRole patch(@jakarta.annotation.Nonnull final AccessPackageResourceRole body) { return patch(body, null); } @@ -101,8 +119,11 @@ public AccessPackageResourceRole patch(@jakarta.annotation.Nonnull final AccessP * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRole patch(@jakarta.annotation.Nonnull final AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -113,8 +134,11 @@ public AccessPackageResourceRole patch(@jakarta.annotation.Nonnull final AccessP /** * Delete navigation property accessPackageResourceRoles for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -122,8 +146,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property accessPackageResourceRoles for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -133,8 +160,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Read-only. Nullable. Supports $expand. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -142,8 +172,11 @@ public RequestInformation toGetRequestInformation() { * Read-only. Nullable. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -154,8 +187,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property accessPackageResourceRoles in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRole body) { return toPatchRequestInformation(body, null); } @@ -164,8 +200,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -178,8 +217,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceRoleItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceRoleItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceRoleItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/AccessPackageResourceRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/AccessPackageResourceRequestBuilder.java index d3674e910f3..eabaed4ebd1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/AccessPackageResourceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/AccessPackageResourceRequestBuilder.java @@ -28,7 +28,10 @@ public class AccessPackageResourceRequestBuilder extends BaseRequestBuilder { /** * Provides operations to manage the accessPackageResourceEnvironment property of the microsoft.graph.accessPackageResource entity. * @return a {@link AccessPackageResourceEnvironmentRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackageResourceEnvironmentRequestBuilder accessPackageResourceEnvironment() { return new AccessPackageResourceEnvironmentRequestBuilder(pathParameters, requestAdapter); @@ -36,7 +39,10 @@ public AccessPackageResourceEnvironmentRequestBuilder accessPackageResourceEnvir /** * Provides operations to manage the accessPackageResourceScopes property of the microsoft.graph.accessPackageResource entity. * @return a {@link AccessPackageResourceScopesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackageResourceScopesRequestBuilder accessPackageResourceScopes() { return new AccessPackageResourceScopesRequestBuilder(pathParameters, requestAdapter); @@ -44,7 +50,10 @@ public AccessPackageResourceScopesRequestBuilder accessPackageResourceScopes() { /** * Provides operations to manage the externalOriginResourceConnector property of the microsoft.graph.accessPackageResource entity. * @return a {@link ExternalOriginResourceConnectorRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ExternalOriginResourceConnectorRequestBuilder externalOriginResourceConnector() { return new ExternalOriginResourceConnectorRequestBuilder(pathParameters, requestAdapter); @@ -52,7 +61,10 @@ public ExternalOriginResourceConnectorRequestBuilder externalOriginResourceConne /** * Provides operations to call the refresh method. * @return a {@link RefreshRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public RefreshRequestBuilder refresh() { return new RefreshRequestBuilder(pathParameters, requestAdapter); @@ -60,7 +72,10 @@ public RefreshRequestBuilder refresh() { /** * Provides operations to manage the uploadSessions property of the microsoft.graph.accessPackageResource entity. * @return a {@link UploadSessionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public UploadSessionsRequestBuilder uploadSessions() { return new UploadSessionsRequestBuilder(pathParameters, requestAdapter); @@ -84,7 +99,10 @@ public AccessPackageResourceRequestBuilder(@jakarta.annotation.Nonnull final Str /** * Delete navigation property accessPackageResource for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -92,7 +110,10 @@ public void delete() { * Delete navigation property accessPackageResource for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -103,8 +124,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Get accessPackageResource from identityGovernance * @return a {@link AccessPackageResource} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResource get() { return get(null); } @@ -113,8 +137,11 @@ public AccessPackageResource get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResource} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResource get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -126,8 +153,11 @@ public AccessPackageResource get(@jakarta.annotation.Nullable final java.util.fu * @param body The request body * @return a {@link AccessPackageResource} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResource patch(@jakarta.annotation.Nonnull final AccessPackageResource body) { return patch(body, null); } @@ -137,8 +167,11 @@ public AccessPackageResource patch(@jakarta.annotation.Nonnull final AccessPacka * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResource} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResource patch(@jakarta.annotation.Nonnull final AccessPackageResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -149,8 +182,11 @@ public AccessPackageResource patch(@jakarta.annotation.Nonnull final AccessPacka /** * Delete navigation property accessPackageResource for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -158,8 +194,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property accessPackageResource for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -169,8 +208,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Get accessPackageResource from identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -178,8 +220,11 @@ public RequestInformation toGetRequestInformation() { * Get accessPackageResource from identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -190,8 +235,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property accessPackageResource in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResource body) { return toPatchRequestInformation(body, null); } @@ -200,8 +248,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -214,8 +265,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourceenvironment/AccessPackageResourceEnvironmentRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourceenvironment/AccessPackageResourceEnvironmentRequestBuilder.java index acab7fe5025..982f350696c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourceenvironment/AccessPackageResourceEnvironmentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourceenvironment/AccessPackageResourceEnvironmentRequestBuilder.java @@ -40,8 +40,11 @@ public AccessPackageResourceEnvironmentRequestBuilder(@jakarta.annotation.Nonnul * Contains the environment information for the resource. This environment can be set using either the @odata.bind annotation or the environment's originId. Supports $expand. * @return a {@link AccessPackageResourceEnvironment} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceEnvironment get() { return get(null); } @@ -50,8 +53,11 @@ public AccessPackageResourceEnvironment get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceEnvironment} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceEnvironment get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public AccessPackageResourceEnvironment get(@jakarta.annotation.Nullable final j /** * Contains the environment information for the resource. This environment can be set using either the @odata.bind annotation or the environment's originId. Supports $expand. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * Contains the environment information for the resource. This environment can be set using either the @odata.bind annotation or the environment's originId. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceEnvironmentRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceEnvironmentRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceEnvironmentRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java index 50d6e505cc4..5020ad06a03 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java @@ -26,7 +26,10 @@ public class AccessPackageResourceScopesRequestBuilder extends BaseRequestBuilde /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the accessPackageResourceScopes property of the microsoft.graph.accessPackageResource entity. * @param accessPackageResourceScopeId The unique identifier of accessPackageResourceScope * @return a {@link AccessPackageResourceScopeItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceScopeItemRequestBuilder byAccessPackageResourceScopeId(@jakarta.annotation.Nonnull final String accessPackageResourceScopeId) { Objects.requireNonNull(accessPackageResourceScopeId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public AccessPackageResourceScopesRequestBuilder(@jakarta.annotation.Nonnull fin * Read-only. Nullable. Supports $expand. * @return a {@link AccessPackageResourceScopeCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScopeCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public AccessPackageResourceScopeCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceScopeCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScopeCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public AccessPackageResourceScopeCollectionResponse get(@jakarta.annotation.Null * @param body The request body * @return a {@link AccessPackageResourceScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScope post(@jakarta.annotation.Nonnull final AccessPackageResourceScope body) { return post(body, null); } @@ -97,8 +112,11 @@ public AccessPackageResourceScope post(@jakarta.annotation.Nonnull final AccessP * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScope post(@jakarta.annotation.Nonnull final AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public AccessPackageResourceScope post(@jakarta.annotation.Nonnull final AccessP /** * Read-only. Nullable. Supports $expand. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Read-only. Nullable. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to accessPackageResourceScopes for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceScope body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceScopesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceScopesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceScopesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/count/CountRequestBuilder.java index 5b1d14d39d5..d97f47f9fb3 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java index 5ca1317c942..30a24298ddc 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java @@ -39,7 +39,10 @@ public AccessPackageResourceScopeItemRequestBuilder(@jakarta.annotation.Nonnull /** * Delete navigation property accessPackageResourceScopes for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -47,7 +50,10 @@ public void delete() { * Delete navigation property accessPackageResourceScopes for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -58,8 +64,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Read-only. Nullable. Supports $expand. * @return a {@link AccessPackageResourceScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScope get() { return get(null); } @@ -68,8 +77,11 @@ public AccessPackageResourceScope get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScope get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -81,8 +93,11 @@ public AccessPackageResourceScope get(@jakarta.annotation.Nullable final java.ut * @param body The request body * @return a {@link AccessPackageResourceScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScope patch(@jakarta.annotation.Nonnull final AccessPackageResourceScope body) { return patch(body, null); } @@ -92,8 +107,11 @@ public AccessPackageResourceScope patch(@jakarta.annotation.Nonnull final Access * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScope patch(@jakarta.annotation.Nonnull final AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -104,8 +122,11 @@ public AccessPackageResourceScope patch(@jakarta.annotation.Nonnull final Access /** * Delete navigation property accessPackageResourceScopes for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -113,8 +134,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property accessPackageResourceScopes for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Read-only. Nullable. Supports $expand. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -133,8 +160,11 @@ public RequestInformation toGetRequestInformation() { * Read-only. Nullable. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -145,8 +175,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property accessPackageResourceScopes in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceScope body) { return toPatchRequestInformation(body, null); } @@ -155,8 +188,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -169,8 +205,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceScopeItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceScopeItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceScopeItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/externaloriginresourceconnector/ExternalOriginResourceConnectorRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/externaloriginresourceconnector/ExternalOriginResourceConnectorRequestBuilder.java index fd7550d3659..5397fff1a47 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/externaloriginresourceconnector/ExternalOriginResourceConnectorRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/externaloriginresourceconnector/ExternalOriginResourceConnectorRequestBuilder.java @@ -40,8 +40,11 @@ public ExternalOriginResourceConnectorRequestBuilder(@jakarta.annotation.Nonnull * The connector that integrates with external origin systems to provision access to resources from those systems. Read-only. Nullable. * @return a {@link ExternalOriginResourceConnector} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ExternalOriginResourceConnector get() { return get(null); } @@ -50,8 +53,11 @@ public ExternalOriginResourceConnector get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ExternalOriginResourceConnector} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ExternalOriginResourceConnector get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public ExternalOriginResourceConnector get(@jakarta.annotation.Nullable final ja /** * The connector that integrates with external origin systems to provision access to resources from those systems. Read-only. Nullable. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * The connector that integrates with external origin systems to provision access to resources from those systems. Read-only. Nullable. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ExternalOriginResourceConnectorRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ExternalOriginResourceConnectorRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ExternalOriginResourceConnectorRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/refresh/RefreshRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/refresh/RefreshRequestBuilder.java index 526f6a4757c..90931ef44f8 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/refresh/RefreshRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/refresh/RefreshRequestBuilder.java @@ -37,8 +37,11 @@ public RefreshRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j /** * In Microsoft Entra entitlement management, refresh the accessPackageResource object to fetch the latest details for displayName, description, and resourceType from the origin system. For the AadApplication originSystem, this operation also updates the displayName and description for the accessPackageResourceRole. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * In Microsoft Entra entitlement management, refresh the accessPackageResource object to fetch the latest details for displayName, description, and resourceType from the origin system. For the AadApplication originSystem, this operation also updates the displayName and description for the accessPackageResourceRole. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * In Microsoft Entra entitlement management, refresh the accessPackageResource object to fetch the latest details for displayName, description, and resourceType from the origin system. For the AadApplication originSystem, this operation also updates the displayName and description for the accessPackageResourceRole. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * In Microsoft Entra entitlement management, refresh the accessPackageResource object to fetch the latest details for displayName, description, and resourceType from the origin system. For the AadApplication originSystem, this operation also updates the displayName and description for the accessPackageResourceRole. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RefreshRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RefreshRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RefreshRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/UploadSessionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/UploadSessionsRequestBuilder.java index 69b95b896c1..2758b518f79 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/UploadSessionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/UploadSessionsRequestBuilder.java @@ -26,7 +26,10 @@ public class UploadSessionsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the uploadSessions property of the microsoft.graph.accessPackageResource entity. * @param customDataProvidedResourceUploadSessionId The unique identifier of customDataProvidedResourceUploadSession * @return a {@link CustomDataProvidedResourceUploadSessionItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CustomDataProvidedResourceUploadSessionItemRequestBuilder byCustomDataProvidedResourceUploadSessionId(@jakarta.annotation.Nonnull final String customDataProvidedResourceUploadSessionId) { Objects.requireNonNull(customDataProvidedResourceUploadSessionId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public UploadSessionsRequestBuilder(@jakarta.annotation.Nonnull final String raw * Get uploadSessions from identityGovernance * @return a {@link CustomDataProvidedResourceUploadSessionCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSessionCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public CustomDataProvidedResourceUploadSessionCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSessionCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSessionCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public CustomDataProvidedResourceUploadSessionCollectionResponse get(@jakarta.an * @param body The request body * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body) { return post(body, null); } @@ -97,8 +112,11 @@ public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nonnull * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nonnull /** * Get uploadSessions from identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Get uploadSessions from identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to uploadSessions for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link UploadSessionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public UploadSessionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new UploadSessionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/count/CountRequestBuilder.java index f18e0316249..48b0c9bae85 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/CustomDataProvidedResourceUploadSessionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/CustomDataProvidedResourceUploadSessionItemRequestBuilder.java index 4287bb550e9..8ce2b7d01f6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/CustomDataProvidedResourceUploadSessionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/CustomDataProvidedResourceUploadSessionItemRequestBuilder.java @@ -25,7 +25,10 @@ public class CustomDataProvidedResourceUploadSessionItemRequestBuilder extends B /** * Provides operations to manage the files property of the microsoft.graph.customDataProvidedResourceUploadSession entity. * @return a {@link FilesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public FilesRequestBuilder files() { return new FilesRequestBuilder(pathParameters, requestAdapter); @@ -33,7 +36,10 @@ public FilesRequestBuilder files() { /** * Provides operations to call the uploadFile method. * @return a {@link UploadFileRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public UploadFileRequestBuilder uploadFile() { return new UploadFileRequestBuilder(pathParameters, requestAdapter); @@ -57,7 +63,10 @@ public CustomDataProvidedResourceUploadSessionItemRequestBuilder(@jakarta.annota /** * Delete navigation property uploadSessions for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -65,7 +74,10 @@ public void delete() { * Delete navigation property uploadSessions for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -76,8 +88,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Get uploadSessions from identityGovernance * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession get() { return get(null); } @@ -86,8 +101,11 @@ public CustomDataProvidedResourceUploadSession get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -99,8 +117,11 @@ public CustomDataProvidedResourceUploadSession get(@jakarta.annotation.Nullable * @param body The request body * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession patch(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body) { return patch(body, null); } @@ -110,8 +131,11 @@ public CustomDataProvidedResourceUploadSession patch(@jakarta.annotation.Nonnull * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession patch(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -122,8 +146,11 @@ public CustomDataProvidedResourceUploadSession patch(@jakarta.annotation.Nonnull /** * Delete navigation property uploadSessions for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -131,8 +158,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property uploadSessions for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -142,8 +172,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Get uploadSessions from identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -151,8 +184,11 @@ public RequestInformation toGetRequestInformation() { * Get uploadSessions from identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -163,8 +199,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property uploadSessions in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body) { return toPatchRequestInformation(body, null); } @@ -173,8 +212,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -187,8 +229,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CustomDataProvidedResourceUploadSessionItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CustomDataProvidedResourceUploadSessionItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CustomDataProvidedResourceUploadSessionItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/files/FilesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/files/FilesRequestBuilder.java index 05c06b91281..3bc441bbece 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/files/FilesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/files/FilesRequestBuilder.java @@ -25,7 +25,10 @@ public class FilesRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -34,8 +37,11 @@ public CountRequestBuilder count() { * Provides operations to manage the files property of the microsoft.graph.customDataProvidedResourceUploadSession entity. * @param customDataProvidedResourceFileId The unique identifier of customDataProvidedResourceFile * @return a {@link CustomDataProvidedResourceFileItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CustomDataProvidedResourceFileItemRequestBuilder byCustomDataProvidedResourceFileId(@jakarta.annotation.Nonnull final String customDataProvidedResourceFileId) { Objects.requireNonNull(customDataProvidedResourceFileId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -62,8 +68,11 @@ public FilesRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @return a {@link CustomDataProvidedResourceFileCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceFileCollectionResponse get() { return get(null); } @@ -72,8 +81,11 @@ public CustomDataProvidedResourceFileCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceFileCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceFileCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -83,8 +95,11 @@ public CustomDataProvidedResourceFileCollectionResponse get(@jakarta.annotation. /** * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -92,8 +107,11 @@ public RequestInformation toGetRequestInformation() { * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -104,8 +122,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link FilesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new FilesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/files/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/files/count/CountRequestBuilder.java index 49e348d551e..f5bbcdab05d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/files/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/files/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/files/item/CustomDataProvidedResourceFileItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/files/item/CustomDataProvidedResourceFileItemRequestBuilder.java index 727065daf0a..9984e7e2938 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/files/item/CustomDataProvidedResourceFileItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/files/item/CustomDataProvidedResourceFileItemRequestBuilder.java @@ -24,7 +24,10 @@ public class CustomDataProvidedResourceFileItemRequestBuilder extends BaseReques /** * Provides operations to manage the media for the identityGovernance entity. * @return a {@link ContentRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ContentRequestBuilder content() { return new ContentRequestBuilder(pathParameters, requestAdapter); @@ -49,8 +52,11 @@ public CustomDataProvidedResourceFileItemRequestBuilder(@jakarta.annotation.Nonn * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @return a {@link CustomDataProvidedResourceFile} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceFile get() { return get(null); } @@ -59,8 +65,11 @@ public CustomDataProvidedResourceFile get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceFile} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceFile get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -70,8 +79,11 @@ public CustomDataProvidedResourceFile get(@jakarta.annotation.Nullable final jav /** * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -79,8 +91,11 @@ public RequestInformation toGetRequestInformation() { * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -91,8 +106,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CustomDataProvidedResourceFileItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CustomDataProvidedResourceFileItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CustomDataProvidedResourceFileItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/files/item/value/ContentRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/files/item/value/ContentRequestBuilder.java index c644118eea0..ab0d7b03cc8 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/files/item/value/ContentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/files/item/value/ContentRequestBuilder.java @@ -38,7 +38,10 @@ public ContentRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j /** * The unique identifier for an entity. Read-only. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -46,7 +49,10 @@ public void delete() { * The unique identifier for an entity. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * The unique identifier for an entity. Read-only. * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public InputStream get() { return get(null); } @@ -67,8 +76,11 @@ public InputStream get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public InputStream get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -80,8 +92,11 @@ public InputStream get(@jakarta.annotation.Nullable final java.util.function.Con * @param body Binary request body * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public InputStream put(@jakarta.annotation.Nonnull final InputStream body) { return put(body, null); } @@ -91,8 +106,11 @@ public InputStream put(@jakarta.annotation.Nonnull final InputStream body) { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public InputStream put(@jakarta.annotation.Nonnull final InputStream body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPutRequestInformation(body, requestConfiguration); @@ -103,8 +121,11 @@ public InputStream put(@jakarta.annotation.Nonnull final InputStream body, @jaka /** * The unique identifier for an entity. Read-only. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -112,8 +133,11 @@ public RequestInformation toDeleteRequestInformation() { * The unique identifier for an entity. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -123,8 +147,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * The unique identifier for an entity. Read-only. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -132,8 +159,11 @@ public RequestInformation toGetRequestInformation() { * The unique identifier for an entity. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new); @@ -144,8 +174,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * The unique identifier for an entity. Read-only. * @param body Binary request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull final InputStream body) { return toPutRequestInformation(body, null); } @@ -154,8 +187,11 @@ public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull fi * @param body Binary request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull final InputStream body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PUT, urlTemplate, pathParameters); @@ -168,8 +204,11 @@ public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull fi * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ContentRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ContentRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ContentRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/uploadfile/UploadFileRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/uploadfile/UploadFileRequestBuilder.java index 9820dcc6b1a..6581fcd0b19 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/uploadfile/UploadFileRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/uploadfile/UploadFileRequestBuilder.java @@ -39,9 +39,12 @@ public UploadFileRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, * Upload a file in a customDataProvidedResourceUploadSession created for a customDataProvidedResource. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession post() { return post(null); } @@ -50,9 +53,12 @@ public CustomDataProvidedResourceUploadSession post() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -62,8 +68,11 @@ public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nullable /** * Upload a file in a customDataProvidedResourceUploadSession created for a customDataProvidedResource. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation() { * Upload a file in a customDataProvidedResourceUploadSession created for a customDataProvidedResource. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -83,8 +95,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link UploadFileRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public UploadFileRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new UploadFileRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java index 6b8662e0932..37398cc3349 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java @@ -26,7 +26,10 @@ public class AccessPackageResourceScopesRequestBuilder extends BaseRequestBuilde /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the accessPackageResourceScopes property of the microsoft.graph.accessPackageResource entity. * @param accessPackageResourceScopeId The unique identifier of accessPackageResourceScope * @return a {@link AccessPackageResourceScopeItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceScopeItemRequestBuilder byAccessPackageResourceScopeId(@jakarta.annotation.Nonnull final String accessPackageResourceScopeId) { Objects.requireNonNull(accessPackageResourceScopeId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public AccessPackageResourceScopesRequestBuilder(@jakarta.annotation.Nonnull fin * Read-only. Nullable. Supports $expand. * @return a {@link AccessPackageResourceScopeCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScopeCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public AccessPackageResourceScopeCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceScopeCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScopeCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public AccessPackageResourceScopeCollectionResponse get(@jakarta.annotation.Null * @param body The request body * @return a {@link AccessPackageResourceScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScope post(@jakarta.annotation.Nonnull final AccessPackageResourceScope body) { return post(body, null); } @@ -97,8 +112,11 @@ public AccessPackageResourceScope post(@jakarta.annotation.Nonnull final AccessP * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScope post(@jakarta.annotation.Nonnull final AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public AccessPackageResourceScope post(@jakarta.annotation.Nonnull final AccessP /** * Read-only. Nullable. Supports $expand. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Read-only. Nullable. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to accessPackageResourceScopes for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceScope body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceScopesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceScopesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceScopesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourcescopes/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourcescopes/count/CountRequestBuilder.java index 748bf6901ed..e06b04346cd 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourcescopes/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourcescopes/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java index 715118e911c..c0a3d420f91 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java @@ -39,7 +39,10 @@ public AccessPackageResourceScopeItemRequestBuilder(@jakarta.annotation.Nonnull /** * Delete navigation property accessPackageResourceScopes for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -47,7 +50,10 @@ public void delete() { * Delete navigation property accessPackageResourceScopes for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -58,8 +64,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Read-only. Nullable. Supports $expand. * @return a {@link AccessPackageResourceScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScope get() { return get(null); } @@ -68,8 +77,11 @@ public AccessPackageResourceScope get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScope get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -81,8 +93,11 @@ public AccessPackageResourceScope get(@jakarta.annotation.Nullable final java.ut * @param body The request body * @return a {@link AccessPackageResourceScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScope patch(@jakarta.annotation.Nonnull final AccessPackageResourceScope body) { return patch(body, null); } @@ -92,8 +107,11 @@ public AccessPackageResourceScope patch(@jakarta.annotation.Nonnull final Access * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScope patch(@jakarta.annotation.Nonnull final AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -104,8 +122,11 @@ public AccessPackageResourceScope patch(@jakarta.annotation.Nonnull final Access /** * Delete navigation property accessPackageResourceScopes for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -113,8 +134,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property accessPackageResourceScopes for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Read-only. Nullable. Supports $expand. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -133,8 +160,11 @@ public RequestInformation toGetRequestInformation() { * Read-only. Nullable. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -145,8 +175,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property accessPackageResourceScopes in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceScope body) { return toPatchRequestInformation(body, null); } @@ -155,8 +188,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -169,8 +205,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceScopeItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceScopeItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceScopeItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/externaloriginresourceconnector/ExternalOriginResourceConnectorRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/externaloriginresourceconnector/ExternalOriginResourceConnectorRequestBuilder.java index 9a69d435c18..eae27f16d1d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/externaloriginresourceconnector/ExternalOriginResourceConnectorRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/externaloriginresourceconnector/ExternalOriginResourceConnectorRequestBuilder.java @@ -40,8 +40,11 @@ public ExternalOriginResourceConnectorRequestBuilder(@jakarta.annotation.Nonnull * The connector that integrates with external origin systems to provision access to resources from those systems. Read-only. Nullable. * @return a {@link ExternalOriginResourceConnector} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ExternalOriginResourceConnector get() { return get(null); } @@ -50,8 +53,11 @@ public ExternalOriginResourceConnector get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ExternalOriginResourceConnector} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ExternalOriginResourceConnector get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public ExternalOriginResourceConnector get(@jakarta.annotation.Nullable final ja /** * The connector that integrates with external origin systems to provision access to resources from those systems. Read-only. Nullable. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * The connector that integrates with external origin systems to provision access to resources from those systems. Read-only. Nullable. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ExternalOriginResourceConnectorRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ExternalOriginResourceConnectorRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ExternalOriginResourceConnectorRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/refresh/RefreshRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/refresh/RefreshRequestBuilder.java index 64506138872..f1fa782c58a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/refresh/RefreshRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/refresh/RefreshRequestBuilder.java @@ -37,8 +37,11 @@ public RefreshRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j /** * In Microsoft Entra entitlement management, refresh the accessPackageResource object to fetch the latest details for displayName, description, and resourceType from the origin system. For the AadApplication originSystem, this operation also updates the displayName and description for the accessPackageResourceRole. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * In Microsoft Entra entitlement management, refresh the accessPackageResource object to fetch the latest details for displayName, description, and resourceType from the origin system. For the AadApplication originSystem, this operation also updates the displayName and description for the accessPackageResourceRole. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * In Microsoft Entra entitlement management, refresh the accessPackageResource object to fetch the latest details for displayName, description, and resourceType from the origin system. For the AadApplication originSystem, this operation also updates the displayName and description for the accessPackageResourceRole. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * In Microsoft Entra entitlement management, refresh the accessPackageResource object to fetch the latest details for displayName, description, and resourceType from the origin system. For the AadApplication originSystem, this operation also updates the displayName and description for the accessPackageResourceRole. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RefreshRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RefreshRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RefreshRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/uploadsessions/UploadSessionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/uploadsessions/UploadSessionsRequestBuilder.java index 29c6e0063d7..c9c82579002 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/uploadsessions/UploadSessionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/uploadsessions/UploadSessionsRequestBuilder.java @@ -26,7 +26,10 @@ public class UploadSessionsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the uploadSessions property of the microsoft.graph.accessPackageResource entity. * @param customDataProvidedResourceUploadSessionId The unique identifier of customDataProvidedResourceUploadSession * @return a {@link CustomDataProvidedResourceUploadSessionItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CustomDataProvidedResourceUploadSessionItemRequestBuilder byCustomDataProvidedResourceUploadSessionId(@jakarta.annotation.Nonnull final String customDataProvidedResourceUploadSessionId) { Objects.requireNonNull(customDataProvidedResourceUploadSessionId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public UploadSessionsRequestBuilder(@jakarta.annotation.Nonnull final String raw * Get uploadSessions from identityGovernance * @return a {@link CustomDataProvidedResourceUploadSessionCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSessionCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public CustomDataProvidedResourceUploadSessionCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSessionCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSessionCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public CustomDataProvidedResourceUploadSessionCollectionResponse get(@jakarta.an * @param body The request body * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body) { return post(body, null); } @@ -97,8 +112,11 @@ public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nonnull * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nonnull /** * Get uploadSessions from identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Get uploadSessions from identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to uploadSessions for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link UploadSessionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public UploadSessionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new UploadSessionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/uploadsessions/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/uploadsessions/count/CountRequestBuilder.java index f35e067c674..970c5a286cb 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/uploadsessions/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/uploadsessions/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/CustomDataProvidedResourceUploadSessionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/CustomDataProvidedResourceUploadSessionItemRequestBuilder.java index 4353945ddf9..82b4dba6e6b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/CustomDataProvidedResourceUploadSessionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/CustomDataProvidedResourceUploadSessionItemRequestBuilder.java @@ -25,7 +25,10 @@ public class CustomDataProvidedResourceUploadSessionItemRequestBuilder extends B /** * Provides operations to manage the files property of the microsoft.graph.customDataProvidedResourceUploadSession entity. * @return a {@link FilesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public FilesRequestBuilder files() { return new FilesRequestBuilder(pathParameters, requestAdapter); @@ -33,7 +36,10 @@ public FilesRequestBuilder files() { /** * Provides operations to call the uploadFile method. * @return a {@link UploadFileRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public UploadFileRequestBuilder uploadFile() { return new UploadFileRequestBuilder(pathParameters, requestAdapter); @@ -57,7 +63,10 @@ public CustomDataProvidedResourceUploadSessionItemRequestBuilder(@jakarta.annota /** * Delete navigation property uploadSessions for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -65,7 +74,10 @@ public void delete() { * Delete navigation property uploadSessions for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -76,8 +88,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Get uploadSessions from identityGovernance * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession get() { return get(null); } @@ -86,8 +101,11 @@ public CustomDataProvidedResourceUploadSession get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -99,8 +117,11 @@ public CustomDataProvidedResourceUploadSession get(@jakarta.annotation.Nullable * @param body The request body * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession patch(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body) { return patch(body, null); } @@ -110,8 +131,11 @@ public CustomDataProvidedResourceUploadSession patch(@jakarta.annotation.Nonnull * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession patch(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -122,8 +146,11 @@ public CustomDataProvidedResourceUploadSession patch(@jakarta.annotation.Nonnull /** * Delete navigation property uploadSessions for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -131,8 +158,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property uploadSessions for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -142,8 +172,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Get uploadSessions from identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -151,8 +184,11 @@ public RequestInformation toGetRequestInformation() { * Get uploadSessions from identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -163,8 +199,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property uploadSessions in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body) { return toPatchRequestInformation(body, null); } @@ -173,8 +212,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -187,8 +229,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CustomDataProvidedResourceUploadSessionItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CustomDataProvidedResourceUploadSessionItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CustomDataProvidedResourceUploadSessionItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/files/FilesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/files/FilesRequestBuilder.java index e75efba52c2..6f7e0d440f9 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/files/FilesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/files/FilesRequestBuilder.java @@ -25,7 +25,10 @@ public class FilesRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -34,8 +37,11 @@ public CountRequestBuilder count() { * Provides operations to manage the files property of the microsoft.graph.customDataProvidedResourceUploadSession entity. * @param customDataProvidedResourceFileId The unique identifier of customDataProvidedResourceFile * @return a {@link CustomDataProvidedResourceFileItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CustomDataProvidedResourceFileItemRequestBuilder byCustomDataProvidedResourceFileId(@jakarta.annotation.Nonnull final String customDataProvidedResourceFileId) { Objects.requireNonNull(customDataProvidedResourceFileId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -62,8 +68,11 @@ public FilesRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @return a {@link CustomDataProvidedResourceFileCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceFileCollectionResponse get() { return get(null); } @@ -72,8 +81,11 @@ public CustomDataProvidedResourceFileCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceFileCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceFileCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -83,8 +95,11 @@ public CustomDataProvidedResourceFileCollectionResponse get(@jakarta.annotation. /** * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -92,8 +107,11 @@ public RequestInformation toGetRequestInformation() { * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -104,8 +122,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link FilesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new FilesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/files/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/files/count/CountRequestBuilder.java index b65d4431838..bd7271760ca 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/files/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/files/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/files/item/CustomDataProvidedResourceFileItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/files/item/CustomDataProvidedResourceFileItemRequestBuilder.java index 1421c489097..2206b0c817e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/files/item/CustomDataProvidedResourceFileItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/files/item/CustomDataProvidedResourceFileItemRequestBuilder.java @@ -24,7 +24,10 @@ public class CustomDataProvidedResourceFileItemRequestBuilder extends BaseReques /** * Provides operations to manage the media for the identityGovernance entity. * @return a {@link ContentRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ContentRequestBuilder content() { return new ContentRequestBuilder(pathParameters, requestAdapter); @@ -49,8 +52,11 @@ public CustomDataProvidedResourceFileItemRequestBuilder(@jakarta.annotation.Nonn * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @return a {@link CustomDataProvidedResourceFile} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceFile get() { return get(null); } @@ -59,8 +65,11 @@ public CustomDataProvidedResourceFile get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceFile} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceFile get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -70,8 +79,11 @@ public CustomDataProvidedResourceFile get(@jakarta.annotation.Nullable final jav /** * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -79,8 +91,11 @@ public RequestInformation toGetRequestInformation() { * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -91,8 +106,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CustomDataProvidedResourceFileItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CustomDataProvidedResourceFileItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CustomDataProvidedResourceFileItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/files/item/value/ContentRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/files/item/value/ContentRequestBuilder.java index 8f9091160a6..9a957c60cde 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/files/item/value/ContentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/files/item/value/ContentRequestBuilder.java @@ -38,7 +38,10 @@ public ContentRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j /** * The unique identifier for an entity. Read-only. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -46,7 +49,10 @@ public void delete() { * The unique identifier for an entity. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * The unique identifier for an entity. Read-only. * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public InputStream get() { return get(null); } @@ -67,8 +76,11 @@ public InputStream get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public InputStream get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -80,8 +92,11 @@ public InputStream get(@jakarta.annotation.Nullable final java.util.function.Con * @param body Binary request body * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public InputStream put(@jakarta.annotation.Nonnull final InputStream body) { return put(body, null); } @@ -91,8 +106,11 @@ public InputStream put(@jakarta.annotation.Nonnull final InputStream body) { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public InputStream put(@jakarta.annotation.Nonnull final InputStream body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPutRequestInformation(body, requestConfiguration); @@ -103,8 +121,11 @@ public InputStream put(@jakarta.annotation.Nonnull final InputStream body, @jaka /** * The unique identifier for an entity. Read-only. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -112,8 +133,11 @@ public RequestInformation toDeleteRequestInformation() { * The unique identifier for an entity. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -123,8 +147,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * The unique identifier for an entity. Read-only. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -132,8 +159,11 @@ public RequestInformation toGetRequestInformation() { * The unique identifier for an entity. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new); @@ -144,8 +174,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * The unique identifier for an entity. Read-only. * @param body Binary request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull final InputStream body) { return toPutRequestInformation(body, null); } @@ -154,8 +187,11 @@ public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull fi * @param body Binary request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull final InputStream body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PUT, urlTemplate, pathParameters); @@ -168,8 +204,11 @@ public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull fi * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ContentRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ContentRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ContentRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/uploadfile/UploadFileRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/uploadfile/UploadFileRequestBuilder.java index e65e745af9b..8a24fc11e04 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/uploadfile/UploadFileRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/uploadfile/UploadFileRequestBuilder.java @@ -39,9 +39,12 @@ public UploadFileRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, * Upload a file in a customDataProvidedResourceUploadSession created for a customDataProvidedResource. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession post() { return post(null); } @@ -50,9 +53,12 @@ public CustomDataProvidedResourceUploadSession post() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -62,8 +68,11 @@ public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nullable /** * Upload a file in a customDataProvidedResourceUploadSession created for a customDataProvidedResource. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation() { * Upload a file in a customDataProvidedResourceUploadSession created for a customDataProvidedResource. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -83,8 +95,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link UploadFileRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public UploadFileRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new UploadFileRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackagesubject/AccessPackageSubjectRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackagesubject/AccessPackageSubjectRequestBuilder.java index 8319dce3666..470445a3ad9 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackagesubject/AccessPackageSubjectRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackagesubject/AccessPackageSubjectRequestBuilder.java @@ -24,7 +24,10 @@ public class AccessPackageSubjectRequestBuilder extends BaseRequestBuilder { /** * Provides operations to manage the connectedOrganization property of the microsoft.graph.accessPackageSubject entity. * @return a {@link ConnectedOrganizationRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ConnectedOrganizationRequestBuilder connectedOrganization() { return new ConnectedOrganizationRequestBuilder(pathParameters, requestAdapter); @@ -48,7 +51,10 @@ public AccessPackageSubjectRequestBuilder(@jakarta.annotation.Nonnull final Stri /** * Delete navigation property accessPackageSubject for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -56,7 +62,10 @@ public void delete() { * Delete navigation property accessPackageSubject for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -67,8 +76,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Read-only. Nullable. Supports $filter (eq) on objectId and $expand query parameters. * @return a {@link AccessPackageSubject} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageSubject get() { return get(null); } @@ -77,8 +89,11 @@ public AccessPackageSubject get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageSubject} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageSubject get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -90,8 +105,11 @@ public AccessPackageSubject get(@jakarta.annotation.Nullable final java.util.fun * @param body The request body * @return a {@link AccessPackageSubject} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageSubject patch(@jakarta.annotation.Nonnull final AccessPackageSubject body) { return patch(body, null); } @@ -101,8 +119,11 @@ public AccessPackageSubject patch(@jakarta.annotation.Nonnull final AccessPackag * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageSubject} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageSubject patch(@jakarta.annotation.Nonnull final AccessPackageSubject body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -113,8 +134,11 @@ public AccessPackageSubject patch(@jakarta.annotation.Nonnull final AccessPackag /** * Delete navigation property accessPackageSubject for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -122,8 +146,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property accessPackageSubject for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -133,8 +160,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Read-only. Nullable. Supports $filter (eq) on objectId and $expand query parameters. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -142,8 +172,11 @@ public RequestInformation toGetRequestInformation() { * Read-only. Nullable. Supports $filter (eq) on objectId and $expand query parameters. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -154,8 +187,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property accessPackageSubject in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageSubject body) { return toPatchRequestInformation(body, null); } @@ -164,8 +200,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageSubject body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -178,8 +217,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageSubjectRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageSubjectRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageSubjectRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackagesubject/connectedorganization/ConnectedOrganizationRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackagesubject/connectedorganization/ConnectedOrganizationRequestBuilder.java index ef622d683c5..d64e09e21ea 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackagesubject/connectedorganization/ConnectedOrganizationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackagesubject/connectedorganization/ConnectedOrganizationRequestBuilder.java @@ -40,8 +40,11 @@ public ConnectedOrganizationRequestBuilder(@jakarta.annotation.Nonnull final Str * The connected organization of the subject. Read-only. Nullable. * @return a {@link ConnectedOrganization} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ConnectedOrganization get() { return get(null); } @@ -50,8 +53,11 @@ public ConnectedOrganization get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ConnectedOrganization} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ConnectedOrganization get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public ConnectedOrganization get(@jakarta.annotation.Nullable final java.util.fu /** * The connected organization of the subject. Read-only. Nullable. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * The connected organization of the subject. Read-only. Nullable. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ConnectedOrganizationRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ConnectedOrganizationRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ConnectedOrganizationRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/my/MyRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/my/MyRequestBuilder.java index 5a3d4a16e92..89949e1928a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/my/MyRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/my/MyRequestBuilder.java @@ -39,8 +39,11 @@ public MyRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakart * Invoke function My * @return a {@link MyGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MyGetResponse get() { return get(null); } @@ -49,8 +52,11 @@ public MyGetResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MyGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MyGetResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public MyGetResponse get(@jakarta.annotation.Nullable final java.util.function.C /** * Invoke function My * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Invoke function My * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link MyRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public MyRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new MyRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/reprocess/ReprocessRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/reprocess/ReprocessRequestBuilder.java index 49b05c152fb..f326f368437 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/reprocess/ReprocessRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/reprocess/ReprocessRequestBuilder.java @@ -37,7 +37,10 @@ public ReprocessRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, /** * Invoke action reprocess * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void post() { post(null); } @@ -45,7 +48,10 @@ public void post() { * Invoke action reprocess * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -55,8 +61,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Invoke action reprocess * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -64,8 +73,11 @@ public RequestInformation toPostRequestInformation() { * Invoke action reprocess * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -76,8 +88,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ReprocessRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ReprocessRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ReprocessRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/target/TargetRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/target/TargetRequestBuilder.java index 47ba5a076e2..21e708be5dd 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/target/TargetRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/target/TargetRequestBuilder.java @@ -24,7 +24,10 @@ public class TargetRequestBuilder extends BaseRequestBuilder { /** * Provides operations to manage the connectedOrganization property of the microsoft.graph.accessPackageSubject entity. * @return a {@link ConnectedOrganizationRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ConnectedOrganizationRequestBuilder connectedOrganization() { return new ConnectedOrganizationRequestBuilder(pathParameters, requestAdapter); @@ -48,7 +51,10 @@ public TargetRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ja /** * Delete navigation property target for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -56,7 +62,10 @@ public void delete() { * Delete navigation property target for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -67,8 +76,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * The subject of the access package assignment. Read-only. Nullable. Supports $expand. Supports $filter (eq) on objectId. * @return a {@link AccessPackageSubject} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageSubject get() { return get(null); } @@ -77,8 +89,11 @@ public AccessPackageSubject get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageSubject} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageSubject get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -90,8 +105,11 @@ public AccessPackageSubject get(@jakarta.annotation.Nullable final java.util.fun * @param body The request body * @return a {@link AccessPackageSubject} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageSubject patch(@jakarta.annotation.Nonnull final AccessPackageSubject body) { return patch(body, null); } @@ -101,8 +119,11 @@ public AccessPackageSubject patch(@jakarta.annotation.Nonnull final AccessPackag * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageSubject} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageSubject patch(@jakarta.annotation.Nonnull final AccessPackageSubject body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -113,8 +134,11 @@ public AccessPackageSubject patch(@jakarta.annotation.Nonnull final AccessPackag /** * Delete navigation property target for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -122,8 +146,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property target for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -133,8 +160,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * The subject of the access package assignment. Read-only. Nullable. Supports $expand. Supports $filter (eq) on objectId. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -142,8 +172,11 @@ public RequestInformation toGetRequestInformation() { * The subject of the access package assignment. Read-only. Nullable. Supports $expand. Supports $filter (eq) on objectId. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -154,8 +187,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property target in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageSubject body) { return toPatchRequestInformation(body, null); } @@ -164,8 +200,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageSubject body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -178,8 +217,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link TargetRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public TargetRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new TargetRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/target/connectedorganization/ConnectedOrganizationRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/target/connectedorganization/ConnectedOrganizationRequestBuilder.java index 3941fbb1955..e97aa129468 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/target/connectedorganization/ConnectedOrganizationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/target/connectedorganization/ConnectedOrganizationRequestBuilder.java @@ -40,8 +40,11 @@ public ConnectedOrganizationRequestBuilder(@jakarta.annotation.Nonnull final Str * The connected organization of the subject. Read-only. Nullable. * @return a {@link ConnectedOrganization} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ConnectedOrganization get() { return get(null); } @@ -50,8 +53,11 @@ public ConnectedOrganization get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ConnectedOrganization} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ConnectedOrganization get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public ConnectedOrganization get(@jakarta.annotation.Nullable final java.util.fu /** * The connected organization of the subject. Read-only. Nullable. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * The connected organization of the subject. Read-only. Nullable. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ConnectedOrganizationRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ConnectedOrganizationRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ConnectedOrganizationRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourceenvironments/AccessPackageResourceEnvironmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourceenvironments/AccessPackageResourceEnvironmentsRequestBuilder.java index c16e14cbbc8..35713f24b28 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourceenvironments/AccessPackageResourceEnvironmentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourceenvironments/AccessPackageResourceEnvironmentsRequestBuilder.java @@ -26,7 +26,10 @@ public class AccessPackageResourceEnvironmentsRequestBuilder extends BaseRequest /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the accessPackageResourceEnvironments property of the microsoft.graph.entitlementManagement entity. * @param accessPackageResourceEnvironmentId The unique identifier of accessPackageResourceEnvironment * @return a {@link AccessPackageResourceEnvironmentItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceEnvironmentItemRequestBuilder byAccessPackageResourceEnvironmentId(@jakarta.annotation.Nonnull final String accessPackageResourceEnvironmentId) { Objects.requireNonNull(accessPackageResourceEnvironmentId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,9 +69,12 @@ public AccessPackageResourceEnvironmentsRequestBuilder(@jakarta.annotation.Nonnu * Retrieve a list of accessPackageResourceEnvironment objects and their properties. * @return a {@link AccessPackageResourceEnvironmentCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceEnvironmentCollectionResponse get() { return get(null); } @@ -74,9 +83,12 @@ public AccessPackageResourceEnvironmentCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceEnvironmentCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceEnvironmentCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -88,8 +100,11 @@ public AccessPackageResourceEnvironmentCollectionResponse get(@jakarta.annotatio * @param body The request body * @return a {@link AccessPackageResourceEnvironment} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceEnvironment post(@jakarta.annotation.Nonnull final AccessPackageResourceEnvironment body) { return post(body, null); } @@ -99,8 +114,11 @@ public AccessPackageResourceEnvironment post(@jakarta.annotation.Nonnull final A * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceEnvironment} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceEnvironment post(@jakarta.annotation.Nonnull final AccessPackageResourceEnvironment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -111,8 +129,11 @@ public AccessPackageResourceEnvironment post(@jakarta.annotation.Nonnull final A /** * Retrieve a list of accessPackageResourceEnvironment objects and their properties. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -120,8 +141,11 @@ public RequestInformation toGetRequestInformation() { * Retrieve a list of accessPackageResourceEnvironment objects and their properties. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -132,8 +156,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to accessPackageResourceEnvironments for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceEnvironment body) { return toPostRequestInformation(body, null); } @@ -142,8 +169,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceEnvironment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -156,8 +186,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceEnvironmentsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceEnvironmentsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceEnvironmentsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourceenvironments/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourceenvironments/count/CountRequestBuilder.java index 70ba0eb37b0..df1a8b348bc 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourceenvironments/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourceenvironments/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourceenvironments/item/AccessPackageResourceEnvironmentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourceenvironments/item/AccessPackageResourceEnvironmentItemRequestBuilder.java index 0923394c748..b7352a5b083 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourceenvironments/item/AccessPackageResourceEnvironmentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourceenvironments/item/AccessPackageResourceEnvironmentItemRequestBuilder.java @@ -24,7 +24,10 @@ public class AccessPackageResourceEnvironmentItemRequestBuilder extends BaseRequ /** * Provides operations to manage the accessPackageResources property of the microsoft.graph.accessPackageResourceEnvironment entity. * @return a {@link AccessPackageResourcesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackageResourcesRequestBuilder accessPackageResources() { return new AccessPackageResourcesRequestBuilder(pathParameters, requestAdapter); @@ -48,7 +51,10 @@ public AccessPackageResourceEnvironmentItemRequestBuilder(@jakarta.annotation.No /** * Delete navigation property accessPackageResourceEnvironments for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -56,7 +62,10 @@ public void delete() { * Delete navigation property accessPackageResourceEnvironments for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -67,9 +76,12 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Read the properties and relationships of an accessPackageResourceEnvironment object. * @return a {@link AccessPackageResourceEnvironment} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceEnvironment get() { return get(null); } @@ -78,9 +90,12 @@ public AccessPackageResourceEnvironment get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceEnvironment} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceEnvironment get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -92,8 +107,11 @@ public AccessPackageResourceEnvironment get(@jakarta.annotation.Nullable final j * @param body The request body * @return a {@link AccessPackageResourceEnvironment} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceEnvironment patch(@jakarta.annotation.Nonnull final AccessPackageResourceEnvironment body) { return patch(body, null); } @@ -103,8 +121,11 @@ public AccessPackageResourceEnvironment patch(@jakarta.annotation.Nonnull final * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceEnvironment} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceEnvironment patch(@jakarta.annotation.Nonnull final AccessPackageResourceEnvironment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -115,8 +136,11 @@ public AccessPackageResourceEnvironment patch(@jakarta.annotation.Nonnull final /** * Delete navigation property accessPackageResourceEnvironments for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property accessPackageResourceEnvironments for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -135,8 +162,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Read the properties and relationships of an accessPackageResourceEnvironment object. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -144,8 +174,11 @@ public RequestInformation toGetRequestInformation() { * Read the properties and relationships of an accessPackageResourceEnvironment object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -156,8 +189,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property accessPackageResourceEnvironments in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceEnvironment body) { return toPatchRequestInformation(body, null); } @@ -166,8 +202,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceEnvironment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -180,8 +219,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceEnvironmentItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceEnvironmentItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceEnvironmentItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourceenvironments/item/accesspackageresources/AccessPackageResourcesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourceenvironments/item/accesspackageresources/AccessPackageResourcesRequestBuilder.java index 8ba8590fab0..0066c4fcf0f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourceenvironments/item/accesspackageresources/AccessPackageResourcesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourceenvironments/item/accesspackageresources/AccessPackageResourcesRequestBuilder.java @@ -25,7 +25,10 @@ public class AccessPackageResourcesRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -34,8 +37,11 @@ public CountRequestBuilder count() { * Provides operations to manage the accessPackageResources property of the microsoft.graph.accessPackageResourceEnvironment entity. * @param accessPackageResourceId The unique identifier of accessPackageResource * @return a {@link AccessPackageResourceItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceItemRequestBuilder byAccessPackageResourceId(@jakarta.annotation.Nonnull final String accessPackageResourceId) { Objects.requireNonNull(accessPackageResourceId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -62,8 +68,11 @@ public AccessPackageResourcesRequestBuilder(@jakarta.annotation.Nonnull final St * Read-only. Required. * @return a {@link AccessPackageResourceCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceCollectionResponse get() { return get(null); } @@ -72,8 +81,11 @@ public AccessPackageResourceCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -83,8 +95,11 @@ public AccessPackageResourceCollectionResponse get(@jakarta.annotation.Nullable /** * Read-only. Required. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -92,8 +107,11 @@ public RequestInformation toGetRequestInformation() { * Read-only. Required. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -104,8 +122,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourcesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourcesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourcesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourceenvironments/item/accesspackageresources/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourceenvironments/item/accesspackageresources/count/CountRequestBuilder.java index a6834aa44c7..542fdb44085 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourceenvironments/item/accesspackageresources/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourceenvironments/item/accesspackageresources/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourceenvironments/item/accesspackageresources/item/AccessPackageResourceItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourceenvironments/item/accesspackageresources/item/AccessPackageResourceItemRequestBuilder.java index 88c43f49ba8..d919418b8ac 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourceenvironments/item/accesspackageresources/item/AccessPackageResourceItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourceenvironments/item/accesspackageresources/item/AccessPackageResourceItemRequestBuilder.java @@ -40,8 +40,11 @@ public AccessPackageResourceItemRequestBuilder(@jakarta.annotation.Nonnull final * Read-only. Required. * @return a {@link AccessPackageResource} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResource get() { return get(null); } @@ -50,8 +53,11 @@ public AccessPackageResource get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResource} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResource get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public AccessPackageResource get(@jakarta.annotation.Nullable final java.util.fu /** * Read-only. Required. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * Read-only. Required. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerequests/AccessPackageResourceRequestsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerequests/AccessPackageResourceRequestsRequestBuilder.java index e9d5e640043..9ea9893f7ea 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerequests/AccessPackageResourceRequestsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerequests/AccessPackageResourceRequestsRequestBuilder.java @@ -26,7 +26,10 @@ public class AccessPackageResourceRequestsRequestBuilder extends BaseRequestBuil /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the accessPackageResourceRequests property of the microsoft.graph.entitlementManagement entity. * @param accessPackageResourceRequestId The unique identifier of accessPackageResourceRequest * @return a {@link AccessPackageResourceRequestItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceRequestItemRequestBuilder byAccessPackageResourceRequestId(@jakarta.annotation.Nonnull final String accessPackageResourceRequestId) { Objects.requireNonNull(accessPackageResourceRequestId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,9 +69,12 @@ public AccessPackageResourceRequestsRequestBuilder(@jakarta.annotation.Nonnull f * Retrieve a list of accessPackageResourceRequest objects. * @return a {@link AccessPackageResourceRequestCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRequestCollectionResponse get() { return get(null); } @@ -74,9 +83,12 @@ public AccessPackageResourceRequestCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceRequestCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRequestCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -88,9 +100,12 @@ public AccessPackageResourceRequestCollectionResponse get(@jakarta.annotation.Nu * @param body The request body * @return a {@link AccessPackageResourceRequest} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRequest post(@jakarta.annotation.Nonnull final AccessPackageResourceRequest body) { return post(body, null); } @@ -100,9 +115,12 @@ public AccessPackageResourceRequest post(@jakarta.annotation.Nonnull final Acces * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceRequest} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRequest post(@jakarta.annotation.Nonnull final AccessPackageResourceRequest body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -113,8 +131,11 @@ public AccessPackageResourceRequest post(@jakarta.annotation.Nonnull final Acces /** * Retrieve a list of accessPackageResourceRequest objects. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -122,8 +143,11 @@ public RequestInformation toGetRequestInformation() { * Retrieve a list of accessPackageResourceRequest objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -134,8 +158,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create a new accessPackageResourceRequest object to request the addition of a resource to an access package catalog, update of a resource, or the removal of a resource from a catalog. A resource must be included in an access package catalog before a role of that resource can be added to an access package. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRequest body) { return toPostRequestInformation(body, null); } @@ -144,8 +171,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRequest body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -158,8 +188,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceRequestsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceRequestsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceRequestsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerequests/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerequests/count/CountRequestBuilder.java index c213706d208..0dd584a062c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerequests/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerequests/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerequests/item/AccessPackageResourceRequestItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerequests/item/AccessPackageResourceRequestItemRequestBuilder.java index f4b1a854136..72610004f3b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerequests/item/AccessPackageResourceRequestItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerequests/item/AccessPackageResourceRequestItemRequestBuilder.java @@ -25,7 +25,10 @@ public class AccessPackageResourceRequestItemRequestBuilder extends BaseRequestB /** * Provides operations to manage the accessPackageResource property of the microsoft.graph.accessPackageResourceRequest entity. * @return a {@link AccessPackageResourceRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackageResourceRequestBuilder accessPackageResource() { return new AccessPackageResourceRequestBuilder(pathParameters, requestAdapter); @@ -33,7 +36,10 @@ public AccessPackageResourceRequestBuilder accessPackageResource() { /** * Provides operations to manage the requestor property of the microsoft.graph.accessPackageResourceRequest entity. * @return a {@link RequestorRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public RequestorRequestBuilder requestor() { return new RequestorRequestBuilder(pathParameters, requestAdapter); @@ -57,7 +63,10 @@ public AccessPackageResourceRequestItemRequestBuilder(@jakarta.annotation.Nonnul /** * Delete navigation property accessPackageResourceRequests for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -65,7 +74,10 @@ public void delete() { * Delete navigation property accessPackageResourceRequests for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -76,8 +88,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Represents a request to add or remove a resource to or from a catalog respectively. * @return a {@link AccessPackageResourceRequest} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRequest get() { return get(null); } @@ -86,8 +101,11 @@ public AccessPackageResourceRequest get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceRequest} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRequest get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -99,8 +117,11 @@ public AccessPackageResourceRequest get(@jakarta.annotation.Nullable final java. * @param body The request body * @return a {@link AccessPackageResourceRequest} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRequest patch(@jakarta.annotation.Nonnull final AccessPackageResourceRequest body) { return patch(body, null); } @@ -110,8 +131,11 @@ public AccessPackageResourceRequest patch(@jakarta.annotation.Nonnull final Acce * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceRequest} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRequest patch(@jakarta.annotation.Nonnull final AccessPackageResourceRequest body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -122,8 +146,11 @@ public AccessPackageResourceRequest patch(@jakarta.annotation.Nonnull final Acce /** * Delete navigation property accessPackageResourceRequests for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -131,8 +158,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property accessPackageResourceRequests for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -142,8 +172,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Represents a request to add or remove a resource to or from a catalog respectively. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -151,8 +184,11 @@ public RequestInformation toGetRequestInformation() { * Represents a request to add or remove a resource to or from a catalog respectively. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -163,8 +199,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property accessPackageResourceRequests in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRequest body) { return toPatchRequestInformation(body, null); } @@ -173,8 +212,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRequest body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -187,8 +229,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceRequestItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceRequestItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceRequestItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerequests/item/accesspackageresource/AccessPackageResourceRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerequests/item/accesspackageresource/AccessPackageResourceRequestBuilder.java index 7b7851f3e2f..36d06a2acb0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerequests/item/accesspackageresource/AccessPackageResourceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerequests/item/accesspackageresource/AccessPackageResourceRequestBuilder.java @@ -40,8 +40,11 @@ public AccessPackageResourceRequestBuilder(@jakarta.annotation.Nonnull final Str * Get accessPackageResource from identityGovernance * @return a {@link AccessPackageResource} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResource get() { return get(null); } @@ -50,8 +53,11 @@ public AccessPackageResource get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResource} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResource get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public AccessPackageResource get(@jakarta.annotation.Nullable final java.util.fu /** * Get accessPackageResource from identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * Get accessPackageResource from identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerequests/item/requestor/RequestorRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerequests/item/requestor/RequestorRequestBuilder.java index 24680c1200c..6c52f2c3c6b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerequests/item/requestor/RequestorRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerequests/item/requestor/RequestorRequestBuilder.java @@ -24,7 +24,10 @@ public class RequestorRequestBuilder extends BaseRequestBuilder { /** * Provides operations to manage the connectedOrganization property of the microsoft.graph.accessPackageSubject entity. * @return a {@link ConnectedOrganizationRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ConnectedOrganizationRequestBuilder connectedOrganization() { return new ConnectedOrganizationRequestBuilder(pathParameters, requestAdapter); @@ -48,7 +51,10 @@ public RequestorRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, /** * Delete navigation property requestor for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -56,7 +62,10 @@ public void delete() { * Delete navigation property requestor for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -67,8 +76,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Read-only. Nullable. Supports $expand. * @return a {@link AccessPackageSubject} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageSubject get() { return get(null); } @@ -77,8 +89,11 @@ public AccessPackageSubject get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageSubject} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageSubject get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -90,8 +105,11 @@ public AccessPackageSubject get(@jakarta.annotation.Nullable final java.util.fun * @param body The request body * @return a {@link AccessPackageSubject} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageSubject patch(@jakarta.annotation.Nonnull final AccessPackageSubject body) { return patch(body, null); } @@ -101,8 +119,11 @@ public AccessPackageSubject patch(@jakarta.annotation.Nonnull final AccessPackag * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageSubject} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageSubject patch(@jakarta.annotation.Nonnull final AccessPackageSubject body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -113,8 +134,11 @@ public AccessPackageSubject patch(@jakarta.annotation.Nonnull final AccessPackag /** * Delete navigation property requestor for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -122,8 +146,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property requestor for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -133,8 +160,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Read-only. Nullable. Supports $expand. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -142,8 +172,11 @@ public RequestInformation toGetRequestInformation() { * Read-only. Nullable. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -154,8 +187,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property requestor in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageSubject body) { return toPatchRequestInformation(body, null); } @@ -164,8 +200,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageSubject body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -178,8 +217,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RequestorRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestorRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RequestorRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerequests/item/requestor/connectedorganization/ConnectedOrganizationRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerequests/item/requestor/connectedorganization/ConnectedOrganizationRequestBuilder.java index 3361b5fd37b..25eda55e44f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerequests/item/requestor/connectedorganization/ConnectedOrganizationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerequests/item/requestor/connectedorganization/ConnectedOrganizationRequestBuilder.java @@ -40,8 +40,11 @@ public ConnectedOrganizationRequestBuilder(@jakarta.annotation.Nonnull final Str * The connected organization of the subject. Read-only. Nullable. * @return a {@link ConnectedOrganization} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ConnectedOrganization get() { return get(null); } @@ -50,8 +53,11 @@ public ConnectedOrganization get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ConnectedOrganization} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ConnectedOrganization get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public ConnectedOrganization get(@jakarta.annotation.Nullable final java.util.fu /** * The connected organization of the subject. Read-only. Nullable. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * The connected organization of the subject. Read-only. Nullable. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ConnectedOrganizationRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ConnectedOrganizationRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ConnectedOrganizationRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/AccessPackageResourceRoleScopesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/AccessPackageResourceRoleScopesRequestBuilder.java index 9263636ee0d..b2726091ad0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/AccessPackageResourceRoleScopesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/AccessPackageResourceRoleScopesRequestBuilder.java @@ -26,7 +26,10 @@ public class AccessPackageResourceRoleScopesRequestBuilder extends BaseRequestBu /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the accessPackageResourceRoleScopes property of the microsoft.graph.entitlementManagement entity. * @param accessPackageResourceRoleScopeId The unique identifier of accessPackageResourceRoleScope * @return a {@link AccessPackageResourceRoleScopeItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceRoleScopeItemRequestBuilder byAccessPackageResourceRoleScopeId(@jakarta.annotation.Nonnull final String accessPackageResourceRoleScopeId) { Objects.requireNonNull(accessPackageResourceRoleScopeId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public AccessPackageResourceRoleScopesRequestBuilder(@jakarta.annotation.Nonnull * A reference to both a scope within a resource, and a role in that resource for that scope. * @return a {@link AccessPackageResourceRoleScopeCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRoleScopeCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public AccessPackageResourceRoleScopeCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceRoleScopeCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRoleScopeCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public AccessPackageResourceRoleScopeCollectionResponse get(@jakarta.annotation. * @param body The request body * @return a {@link AccessPackageResourceRoleScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRoleScope post(@jakarta.annotation.Nonnull final AccessPackageResourceRoleScope body) { return post(body, null); } @@ -97,8 +112,11 @@ public AccessPackageResourceRoleScope post(@jakarta.annotation.Nonnull final Acc * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceRoleScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRoleScope post(@jakarta.annotation.Nonnull final AccessPackageResourceRoleScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public AccessPackageResourceRoleScope post(@jakarta.annotation.Nonnull final Acc /** * A reference to both a scope within a resource, and a role in that resource for that scope. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * A reference to both a scope within a resource, and a role in that resource for that scope. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to accessPackageResourceRoleScopes for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRoleScope body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRoleScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceRoleScopesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceRoleScopesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceRoleScopesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/count/CountRequestBuilder.java index 93ed8528c72..43b5dcdaf3f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/AccessPackageResourceRoleScopeItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/AccessPackageResourceRoleScopeItemRequestBuilder.java index 0d267105074..183bbb449cf 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/AccessPackageResourceRoleScopeItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/AccessPackageResourceRoleScopeItemRequestBuilder.java @@ -25,7 +25,10 @@ public class AccessPackageResourceRoleScopeItemRequestBuilder extends BaseReques /** * Provides operations to manage the accessPackageResourceRole property of the microsoft.graph.accessPackageResourceRoleScope entity. * @return a {@link AccessPackageResourceRoleRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackageResourceRoleRequestBuilder accessPackageResourceRole() { return new AccessPackageResourceRoleRequestBuilder(pathParameters, requestAdapter); @@ -33,7 +36,10 @@ public AccessPackageResourceRoleRequestBuilder accessPackageResourceRole() { /** * Provides operations to manage the accessPackageResourceScope property of the microsoft.graph.accessPackageResourceRoleScope entity. * @return a {@link AccessPackageResourceScopeRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackageResourceScopeRequestBuilder accessPackageResourceScope() { return new AccessPackageResourceScopeRequestBuilder(pathParameters, requestAdapter); @@ -57,7 +63,10 @@ public AccessPackageResourceRoleScopeItemRequestBuilder(@jakarta.annotation.Nonn /** * Delete navigation property accessPackageResourceRoleScopes for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -65,7 +74,10 @@ public void delete() { * Delete navigation property accessPackageResourceRoleScopes for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -76,8 +88,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * A reference to both a scope within a resource, and a role in that resource for that scope. * @return a {@link AccessPackageResourceRoleScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRoleScope get() { return get(null); } @@ -86,8 +101,11 @@ public AccessPackageResourceRoleScope get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceRoleScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRoleScope get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -99,8 +117,11 @@ public AccessPackageResourceRoleScope get(@jakarta.annotation.Nullable final jav * @param body The request body * @return a {@link AccessPackageResourceRoleScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRoleScope patch(@jakarta.annotation.Nonnull final AccessPackageResourceRoleScope body) { return patch(body, null); } @@ -110,8 +131,11 @@ public AccessPackageResourceRoleScope patch(@jakarta.annotation.Nonnull final Ac * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceRoleScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRoleScope patch(@jakarta.annotation.Nonnull final AccessPackageResourceRoleScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -122,8 +146,11 @@ public AccessPackageResourceRoleScope patch(@jakarta.annotation.Nonnull final Ac /** * Delete navigation property accessPackageResourceRoleScopes for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -131,8 +158,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property accessPackageResourceRoleScopes for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -142,8 +172,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * A reference to both a scope within a resource, and a role in that resource for that scope. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -151,8 +184,11 @@ public RequestInformation toGetRequestInformation() { * A reference to both a scope within a resource, and a role in that resource for that scope. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -163,8 +199,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property accessPackageResourceRoleScopes in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRoleScope body) { return toPatchRequestInformation(body, null); } @@ -173,8 +212,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRoleScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -187,8 +229,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceRoleScopeItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceRoleScopeItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceRoleScopeItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/AccessPackageResourceRoleRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/AccessPackageResourceRoleRequestBuilder.java index abd14ddaf64..a6673977465 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/AccessPackageResourceRoleRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/AccessPackageResourceRoleRequestBuilder.java @@ -24,7 +24,10 @@ public class AccessPackageResourceRoleRequestBuilder extends BaseRequestBuilder /** * Provides operations to manage the accessPackageResource property of the microsoft.graph.accessPackageResourceRole entity. * @return a {@link AccessPackageResourceRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackageResourceRequestBuilder accessPackageResource() { return new AccessPackageResourceRequestBuilder(pathParameters, requestAdapter); @@ -48,7 +51,10 @@ public AccessPackageResourceRoleRequestBuilder(@jakarta.annotation.Nonnull final /** * Delete navigation property accessPackageResourceRole for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -56,7 +62,10 @@ public void delete() { * Delete navigation property accessPackageResourceRole for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -67,8 +76,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Read-only. Nullable. Supports $expand. * @return a {@link AccessPackageResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRole get() { return get(null); } @@ -77,8 +89,11 @@ public AccessPackageResourceRole get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRole get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -90,8 +105,11 @@ public AccessPackageResourceRole get(@jakarta.annotation.Nullable final java.uti * @param body The request body * @return a {@link AccessPackageResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRole patch(@jakarta.annotation.Nonnull final AccessPackageResourceRole body) { return patch(body, null); } @@ -101,8 +119,11 @@ public AccessPackageResourceRole patch(@jakarta.annotation.Nonnull final AccessP * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRole patch(@jakarta.annotation.Nonnull final AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -113,8 +134,11 @@ public AccessPackageResourceRole patch(@jakarta.annotation.Nonnull final AccessP /** * Delete navigation property accessPackageResourceRole for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -122,8 +146,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property accessPackageResourceRole for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -133,8 +160,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Read-only. Nullable. Supports $expand. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -142,8 +172,11 @@ public RequestInformation toGetRequestInformation() { * Read-only. Nullable. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -154,8 +187,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property accessPackageResourceRole in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRole body) { return toPatchRequestInformation(body, null); } @@ -164,8 +200,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -178,8 +217,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceRoleRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceRoleRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceRoleRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/AccessPackageResourceRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/AccessPackageResourceRequestBuilder.java index 05e30a6ab80..a6b3194ea2f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/AccessPackageResourceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/AccessPackageResourceRequestBuilder.java @@ -29,7 +29,10 @@ public class AccessPackageResourceRequestBuilder extends BaseRequestBuilder { /** * Provides operations to manage the accessPackageResourceEnvironment property of the microsoft.graph.accessPackageResource entity. * @return a {@link AccessPackageResourceEnvironmentRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackageResourceEnvironmentRequestBuilder accessPackageResourceEnvironment() { return new AccessPackageResourceEnvironmentRequestBuilder(pathParameters, requestAdapter); @@ -37,7 +40,10 @@ public AccessPackageResourceEnvironmentRequestBuilder accessPackageResourceEnvir /** * Provides operations to manage the accessPackageResourceRoles property of the microsoft.graph.accessPackageResource entity. * @return a {@link AccessPackageResourceRolesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackageResourceRolesRequestBuilder accessPackageResourceRoles() { return new AccessPackageResourceRolesRequestBuilder(pathParameters, requestAdapter); @@ -45,7 +51,10 @@ public AccessPackageResourceRolesRequestBuilder accessPackageResourceRoles() { /** * Provides operations to manage the accessPackageResourceScopes property of the microsoft.graph.accessPackageResource entity. * @return a {@link AccessPackageResourceScopesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackageResourceScopesRequestBuilder accessPackageResourceScopes() { return new AccessPackageResourceScopesRequestBuilder(pathParameters, requestAdapter); @@ -53,7 +62,10 @@ public AccessPackageResourceScopesRequestBuilder accessPackageResourceScopes() { /** * Provides operations to manage the externalOriginResourceConnector property of the microsoft.graph.accessPackageResource entity. * @return a {@link ExternalOriginResourceConnectorRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ExternalOriginResourceConnectorRequestBuilder externalOriginResourceConnector() { return new ExternalOriginResourceConnectorRequestBuilder(pathParameters, requestAdapter); @@ -61,7 +73,10 @@ public ExternalOriginResourceConnectorRequestBuilder externalOriginResourceConne /** * Provides operations to call the refresh method. * @return a {@link RefreshRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public RefreshRequestBuilder refresh() { return new RefreshRequestBuilder(pathParameters, requestAdapter); @@ -69,7 +84,10 @@ public RefreshRequestBuilder refresh() { /** * Provides operations to manage the uploadSessions property of the microsoft.graph.accessPackageResource entity. * @return a {@link UploadSessionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public UploadSessionsRequestBuilder uploadSessions() { return new UploadSessionsRequestBuilder(pathParameters, requestAdapter); @@ -93,7 +111,10 @@ public AccessPackageResourceRequestBuilder(@jakarta.annotation.Nonnull final Str /** * Delete navigation property accessPackageResource for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -101,7 +122,10 @@ public void delete() { * Delete navigation property accessPackageResource for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -112,8 +136,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Get accessPackageResource from identityGovernance * @return a {@link AccessPackageResource} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResource get() { return get(null); } @@ -122,8 +149,11 @@ public AccessPackageResource get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResource} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResource get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -135,8 +165,11 @@ public AccessPackageResource get(@jakarta.annotation.Nullable final java.util.fu * @param body The request body * @return a {@link AccessPackageResource} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResource patch(@jakarta.annotation.Nonnull final AccessPackageResource body) { return patch(body, null); } @@ -146,8 +179,11 @@ public AccessPackageResource patch(@jakarta.annotation.Nonnull final AccessPacka * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResource} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResource patch(@jakarta.annotation.Nonnull final AccessPackageResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -158,8 +194,11 @@ public AccessPackageResource patch(@jakarta.annotation.Nonnull final AccessPacka /** * Delete navigation property accessPackageResource for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -167,8 +206,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property accessPackageResource for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -178,8 +220,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Get accessPackageResource from identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -187,8 +232,11 @@ public RequestInformation toGetRequestInformation() { * Get accessPackageResource from identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -199,8 +247,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property accessPackageResource in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResource body) { return toPatchRequestInformation(body, null); } @@ -209,8 +260,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -223,8 +277,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourceenvironment/AccessPackageResourceEnvironmentRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourceenvironment/AccessPackageResourceEnvironmentRequestBuilder.java index e0745241f38..1ab6bc09b7f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourceenvironment/AccessPackageResourceEnvironmentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourceenvironment/AccessPackageResourceEnvironmentRequestBuilder.java @@ -40,8 +40,11 @@ public AccessPackageResourceEnvironmentRequestBuilder(@jakarta.annotation.Nonnul * Contains the environment information for the resource. This environment can be set using either the @odata.bind annotation or the environment's originId. Supports $expand. * @return a {@link AccessPackageResourceEnvironment} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceEnvironment get() { return get(null); } @@ -50,8 +53,11 @@ public AccessPackageResourceEnvironment get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceEnvironment} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceEnvironment get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public AccessPackageResourceEnvironment get(@jakarta.annotation.Nullable final j /** * Contains the environment information for the resource. This environment can be set using either the @odata.bind annotation or the environment's originId. Supports $expand. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * Contains the environment information for the resource. This environment can be set using either the @odata.bind annotation or the environment's originId. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceEnvironmentRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceEnvironmentRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceEnvironmentRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java index a59208960d5..cd4a4b4ca93 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java @@ -26,7 +26,10 @@ public class AccessPackageResourceRolesRequestBuilder extends BaseRequestBuilder /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the accessPackageResourceRoles property of the microsoft.graph.accessPackageResource entity. * @param accessPackageResourceRoleId The unique identifier of accessPackageResourceRole * @return a {@link AccessPackageResourceRoleItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceRoleItemRequestBuilder byAccessPackageResourceRoleId(@jakarta.annotation.Nonnull final String accessPackageResourceRoleId) { Objects.requireNonNull(accessPackageResourceRoleId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public AccessPackageResourceRolesRequestBuilder(@jakarta.annotation.Nonnull fina * Read-only. Nullable. Supports $expand. * @return a {@link AccessPackageResourceRoleCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRoleCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public AccessPackageResourceRoleCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceRoleCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRoleCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public AccessPackageResourceRoleCollectionResponse get(@jakarta.annotation.Nulla * @param body The request body * @return a {@link AccessPackageResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRole post(@jakarta.annotation.Nonnull final AccessPackageResourceRole body) { return post(body, null); } @@ -97,8 +112,11 @@ public AccessPackageResourceRole post(@jakarta.annotation.Nonnull final AccessPa * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRole post(@jakarta.annotation.Nonnull final AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public AccessPackageResourceRole post(@jakarta.annotation.Nonnull final AccessPa /** * Read-only. Nullable. Supports $expand. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Read-only. Nullable. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to accessPackageResourceRoles for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRole body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceRolesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceRolesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceRolesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourceroles/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourceroles/count/CountRequestBuilder.java index 52e11c4a654..060335e7677 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourceroles/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourceroles/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java index 5c7a5fd3ac6..4d67b5577b9 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java @@ -39,7 +39,10 @@ public AccessPackageResourceRoleItemRequestBuilder(@jakarta.annotation.Nonnull f /** * Delete navigation property accessPackageResourceRoles for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -47,7 +50,10 @@ public void delete() { * Delete navigation property accessPackageResourceRoles for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -58,8 +64,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Read-only. Nullable. Supports $expand. * @return a {@link AccessPackageResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRole get() { return get(null); } @@ -68,8 +77,11 @@ public AccessPackageResourceRole get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRole get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -81,8 +93,11 @@ public AccessPackageResourceRole get(@jakarta.annotation.Nullable final java.uti * @param body The request body * @return a {@link AccessPackageResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRole patch(@jakarta.annotation.Nonnull final AccessPackageResourceRole body) { return patch(body, null); } @@ -92,8 +107,11 @@ public AccessPackageResourceRole patch(@jakarta.annotation.Nonnull final AccessP * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRole patch(@jakarta.annotation.Nonnull final AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -104,8 +122,11 @@ public AccessPackageResourceRole patch(@jakarta.annotation.Nonnull final AccessP /** * Delete navigation property accessPackageResourceRoles for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -113,8 +134,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property accessPackageResourceRoles for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Read-only. Nullable. Supports $expand. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -133,8 +160,11 @@ public RequestInformation toGetRequestInformation() { * Read-only. Nullable. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -145,8 +175,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property accessPackageResourceRoles in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRole body) { return toPatchRequestInformation(body, null); } @@ -155,8 +188,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -169,8 +205,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceRoleItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceRoleItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceRoleItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java index 0844bb0443b..a6c9ee6e2ec 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java @@ -26,7 +26,10 @@ public class AccessPackageResourceScopesRequestBuilder extends BaseRequestBuilde /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the accessPackageResourceScopes property of the microsoft.graph.accessPackageResource entity. * @param accessPackageResourceScopeId The unique identifier of accessPackageResourceScope * @return a {@link AccessPackageResourceScopeItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceScopeItemRequestBuilder byAccessPackageResourceScopeId(@jakarta.annotation.Nonnull final String accessPackageResourceScopeId) { Objects.requireNonNull(accessPackageResourceScopeId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public AccessPackageResourceScopesRequestBuilder(@jakarta.annotation.Nonnull fin * Read-only. Nullable. Supports $expand. * @return a {@link AccessPackageResourceScopeCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScopeCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public AccessPackageResourceScopeCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceScopeCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScopeCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public AccessPackageResourceScopeCollectionResponse get(@jakarta.annotation.Null * @param body The request body * @return a {@link AccessPackageResourceScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScope post(@jakarta.annotation.Nonnull final AccessPackageResourceScope body) { return post(body, null); } @@ -97,8 +112,11 @@ public AccessPackageResourceScope post(@jakarta.annotation.Nonnull final AccessP * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScope post(@jakarta.annotation.Nonnull final AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public AccessPackageResourceScope post(@jakarta.annotation.Nonnull final AccessP /** * Read-only. Nullable. Supports $expand. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Read-only. Nullable. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to accessPackageResourceScopes for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceScope body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceScopesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceScopesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceScopesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/count/CountRequestBuilder.java index f396bde68a7..4e918e4ac76 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java index 6fe0c6324df..c1bb52b33e1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java @@ -24,7 +24,10 @@ public class AccessPackageResourceScopeItemRequestBuilder extends BaseRequestBui /** * Provides operations to manage the accessPackageResource property of the microsoft.graph.accessPackageResourceScope entity. * @return a {@link AccessPackageResourceRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackageResourceRequestBuilder accessPackageResource() { return new AccessPackageResourceRequestBuilder(pathParameters, requestAdapter); @@ -48,7 +51,10 @@ public AccessPackageResourceScopeItemRequestBuilder(@jakarta.annotation.Nonnull /** * Delete navigation property accessPackageResourceScopes for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -56,7 +62,10 @@ public void delete() { * Delete navigation property accessPackageResourceScopes for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -67,8 +76,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Read-only. Nullable. Supports $expand. * @return a {@link AccessPackageResourceScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScope get() { return get(null); } @@ -77,8 +89,11 @@ public AccessPackageResourceScope get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScope get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -90,8 +105,11 @@ public AccessPackageResourceScope get(@jakarta.annotation.Nullable final java.ut * @param body The request body * @return a {@link AccessPackageResourceScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScope patch(@jakarta.annotation.Nonnull final AccessPackageResourceScope body) { return patch(body, null); } @@ -101,8 +119,11 @@ public AccessPackageResourceScope patch(@jakarta.annotation.Nonnull final Access * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScope patch(@jakarta.annotation.Nonnull final AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -113,8 +134,11 @@ public AccessPackageResourceScope patch(@jakarta.annotation.Nonnull final Access /** * Delete navigation property accessPackageResourceScopes for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -122,8 +146,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property accessPackageResourceScopes for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -133,8 +160,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Read-only. Nullable. Supports $expand. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -142,8 +172,11 @@ public RequestInformation toGetRequestInformation() { * Read-only. Nullable. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -154,8 +187,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property accessPackageResourceScopes in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceScope body) { return toPatchRequestInformation(body, null); } @@ -164,8 +200,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -178,8 +217,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceScopeItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceScopeItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceScopeItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/AccessPackageResourceRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/AccessPackageResourceRequestBuilder.java index adbc97dce5f..a4236f94dd3 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/AccessPackageResourceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/AccessPackageResourceRequestBuilder.java @@ -28,7 +28,10 @@ public class AccessPackageResourceRequestBuilder extends BaseRequestBuilder { /** * Provides operations to manage the accessPackageResourceEnvironment property of the microsoft.graph.accessPackageResource entity. * @return a {@link AccessPackageResourceEnvironmentRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackageResourceEnvironmentRequestBuilder accessPackageResourceEnvironment() { return new AccessPackageResourceEnvironmentRequestBuilder(pathParameters, requestAdapter); @@ -36,7 +39,10 @@ public AccessPackageResourceEnvironmentRequestBuilder accessPackageResourceEnvir /** * Provides operations to manage the accessPackageResourceRoles property of the microsoft.graph.accessPackageResource entity. * @return a {@link AccessPackageResourceRolesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackageResourceRolesRequestBuilder accessPackageResourceRoles() { return new AccessPackageResourceRolesRequestBuilder(pathParameters, requestAdapter); @@ -44,7 +50,10 @@ public AccessPackageResourceRolesRequestBuilder accessPackageResourceRoles() { /** * Provides operations to manage the externalOriginResourceConnector property of the microsoft.graph.accessPackageResource entity. * @return a {@link ExternalOriginResourceConnectorRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ExternalOriginResourceConnectorRequestBuilder externalOriginResourceConnector() { return new ExternalOriginResourceConnectorRequestBuilder(pathParameters, requestAdapter); @@ -52,7 +61,10 @@ public ExternalOriginResourceConnectorRequestBuilder externalOriginResourceConne /** * Provides operations to call the refresh method. * @return a {@link RefreshRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public RefreshRequestBuilder refresh() { return new RefreshRequestBuilder(pathParameters, requestAdapter); @@ -60,7 +72,10 @@ public RefreshRequestBuilder refresh() { /** * Provides operations to manage the uploadSessions property of the microsoft.graph.accessPackageResource entity. * @return a {@link UploadSessionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public UploadSessionsRequestBuilder uploadSessions() { return new UploadSessionsRequestBuilder(pathParameters, requestAdapter); @@ -84,7 +99,10 @@ public AccessPackageResourceRequestBuilder(@jakarta.annotation.Nonnull final Str /** * Delete navigation property accessPackageResource for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -92,7 +110,10 @@ public void delete() { * Delete navigation property accessPackageResource for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -103,8 +124,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Get accessPackageResource from identityGovernance * @return a {@link AccessPackageResource} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResource get() { return get(null); } @@ -113,8 +137,11 @@ public AccessPackageResource get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResource} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResource get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -126,8 +153,11 @@ public AccessPackageResource get(@jakarta.annotation.Nullable final java.util.fu * @param body The request body * @return a {@link AccessPackageResource} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResource patch(@jakarta.annotation.Nonnull final AccessPackageResource body) { return patch(body, null); } @@ -137,8 +167,11 @@ public AccessPackageResource patch(@jakarta.annotation.Nonnull final AccessPacka * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResource} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResource patch(@jakarta.annotation.Nonnull final AccessPackageResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -149,8 +182,11 @@ public AccessPackageResource patch(@jakarta.annotation.Nonnull final AccessPacka /** * Delete navigation property accessPackageResource for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -158,8 +194,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property accessPackageResource for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -169,8 +208,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Get accessPackageResource from identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -178,8 +220,11 @@ public RequestInformation toGetRequestInformation() { * Get accessPackageResource from identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -190,8 +235,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property accessPackageResource in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResource body) { return toPatchRequestInformation(body, null); } @@ -200,8 +248,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -214,8 +265,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceenvironment/AccessPackageResourceEnvironmentRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceenvironment/AccessPackageResourceEnvironmentRequestBuilder.java index 40a6fbb0851..bbc173274a8 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceenvironment/AccessPackageResourceEnvironmentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceenvironment/AccessPackageResourceEnvironmentRequestBuilder.java @@ -40,8 +40,11 @@ public AccessPackageResourceEnvironmentRequestBuilder(@jakarta.annotation.Nonnul * Contains the environment information for the resource. This environment can be set using either the @odata.bind annotation or the environment's originId. Supports $expand. * @return a {@link AccessPackageResourceEnvironment} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceEnvironment get() { return get(null); } @@ -50,8 +53,11 @@ public AccessPackageResourceEnvironment get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceEnvironment} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceEnvironment get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public AccessPackageResourceEnvironment get(@jakarta.annotation.Nullable final j /** * Contains the environment information for the resource. This environment can be set using either the @odata.bind annotation or the environment's originId. Supports $expand. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * Contains the environment information for the resource. This environment can be set using either the @odata.bind annotation or the environment's originId. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceEnvironmentRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceEnvironmentRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceEnvironmentRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java index 2d666ecf8ce..e21430b50ba 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java @@ -26,7 +26,10 @@ public class AccessPackageResourceRolesRequestBuilder extends BaseRequestBuilder /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the accessPackageResourceRoles property of the microsoft.graph.accessPackageResource entity. * @param accessPackageResourceRoleId The unique identifier of accessPackageResourceRole * @return a {@link AccessPackageResourceRoleItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceRoleItemRequestBuilder byAccessPackageResourceRoleId(@jakarta.annotation.Nonnull final String accessPackageResourceRoleId) { Objects.requireNonNull(accessPackageResourceRoleId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public AccessPackageResourceRolesRequestBuilder(@jakarta.annotation.Nonnull fina * Read-only. Nullable. Supports $expand. * @return a {@link AccessPackageResourceRoleCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRoleCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public AccessPackageResourceRoleCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceRoleCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRoleCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public AccessPackageResourceRoleCollectionResponse get(@jakarta.annotation.Nulla * @param body The request body * @return a {@link AccessPackageResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRole post(@jakarta.annotation.Nonnull final AccessPackageResourceRole body) { return post(body, null); } @@ -97,8 +112,11 @@ public AccessPackageResourceRole post(@jakarta.annotation.Nonnull final AccessPa * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRole post(@jakarta.annotation.Nonnull final AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public AccessPackageResourceRole post(@jakarta.annotation.Nonnull final AccessPa /** * Read-only. Nullable. Supports $expand. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Read-only. Nullable. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to accessPackageResourceRoles for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRole body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceRolesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceRolesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceRolesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/count/CountRequestBuilder.java index 48e0eaa5c2f..5ded5057b2e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java index 51dda8ce9bd..600bde2b5b7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java @@ -39,7 +39,10 @@ public AccessPackageResourceRoleItemRequestBuilder(@jakarta.annotation.Nonnull f /** * Delete navigation property accessPackageResourceRoles for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -47,7 +50,10 @@ public void delete() { * Delete navigation property accessPackageResourceRoles for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -58,8 +64,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Read-only. Nullable. Supports $expand. * @return a {@link AccessPackageResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRole get() { return get(null); } @@ -68,8 +77,11 @@ public AccessPackageResourceRole get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRole get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -81,8 +93,11 @@ public AccessPackageResourceRole get(@jakarta.annotation.Nullable final java.uti * @param body The request body * @return a {@link AccessPackageResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRole patch(@jakarta.annotation.Nonnull final AccessPackageResourceRole body) { return patch(body, null); } @@ -92,8 +107,11 @@ public AccessPackageResourceRole patch(@jakarta.annotation.Nonnull final AccessP * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRole patch(@jakarta.annotation.Nonnull final AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -104,8 +122,11 @@ public AccessPackageResourceRole patch(@jakarta.annotation.Nonnull final AccessP /** * Delete navigation property accessPackageResourceRoles for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -113,8 +134,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property accessPackageResourceRoles for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Read-only. Nullable. Supports $expand. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -133,8 +160,11 @@ public RequestInformation toGetRequestInformation() { * Read-only. Nullable. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -145,8 +175,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property accessPackageResourceRoles in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRole body) { return toPatchRequestInformation(body, null); } @@ -155,8 +188,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -169,8 +205,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceRoleItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceRoleItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceRoleItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/externaloriginresourceconnector/ExternalOriginResourceConnectorRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/externaloriginresourceconnector/ExternalOriginResourceConnectorRequestBuilder.java index c3a2df9743f..9483768e4d7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/externaloriginresourceconnector/ExternalOriginResourceConnectorRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/externaloriginresourceconnector/ExternalOriginResourceConnectorRequestBuilder.java @@ -40,8 +40,11 @@ public ExternalOriginResourceConnectorRequestBuilder(@jakarta.annotation.Nonnull * The connector that integrates with external origin systems to provision access to resources from those systems. Read-only. Nullable. * @return a {@link ExternalOriginResourceConnector} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ExternalOriginResourceConnector get() { return get(null); } @@ -50,8 +53,11 @@ public ExternalOriginResourceConnector get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ExternalOriginResourceConnector} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ExternalOriginResourceConnector get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public ExternalOriginResourceConnector get(@jakarta.annotation.Nullable final ja /** * The connector that integrates with external origin systems to provision access to resources from those systems. Read-only. Nullable. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * The connector that integrates with external origin systems to provision access to resources from those systems. Read-only. Nullable. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ExternalOriginResourceConnectorRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ExternalOriginResourceConnectorRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ExternalOriginResourceConnectorRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/refresh/RefreshRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/refresh/RefreshRequestBuilder.java index e3e1668ff8f..9542532cc5a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/refresh/RefreshRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/refresh/RefreshRequestBuilder.java @@ -37,8 +37,11 @@ public RefreshRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j /** * In Microsoft Entra entitlement management, refresh the accessPackageResource object to fetch the latest details for displayName, description, and resourceType from the origin system. For the AadApplication originSystem, this operation also updates the displayName and description for the accessPackageResourceRole. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * In Microsoft Entra entitlement management, refresh the accessPackageResource object to fetch the latest details for displayName, description, and resourceType from the origin system. For the AadApplication originSystem, this operation also updates the displayName and description for the accessPackageResourceRole. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * In Microsoft Entra entitlement management, refresh the accessPackageResource object to fetch the latest details for displayName, description, and resourceType from the origin system. For the AadApplication originSystem, this operation also updates the displayName and description for the accessPackageResourceRole. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * In Microsoft Entra entitlement management, refresh the accessPackageResource object to fetch the latest details for displayName, description, and resourceType from the origin system. For the AadApplication originSystem, this operation also updates the displayName and description for the accessPackageResourceRole. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RefreshRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RefreshRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RefreshRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/UploadSessionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/UploadSessionsRequestBuilder.java index d35167c02c7..1df8edd2eb0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/UploadSessionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/UploadSessionsRequestBuilder.java @@ -26,7 +26,10 @@ public class UploadSessionsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the uploadSessions property of the microsoft.graph.accessPackageResource entity. * @param customDataProvidedResourceUploadSessionId The unique identifier of customDataProvidedResourceUploadSession * @return a {@link CustomDataProvidedResourceUploadSessionItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CustomDataProvidedResourceUploadSessionItemRequestBuilder byCustomDataProvidedResourceUploadSessionId(@jakarta.annotation.Nonnull final String customDataProvidedResourceUploadSessionId) { Objects.requireNonNull(customDataProvidedResourceUploadSessionId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public UploadSessionsRequestBuilder(@jakarta.annotation.Nonnull final String raw * Get uploadSessions from identityGovernance * @return a {@link CustomDataProvidedResourceUploadSessionCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSessionCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public CustomDataProvidedResourceUploadSessionCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSessionCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSessionCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public CustomDataProvidedResourceUploadSessionCollectionResponse get(@jakarta.an * @param body The request body * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body) { return post(body, null); } @@ -97,8 +112,11 @@ public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nonnull * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nonnull /** * Get uploadSessions from identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Get uploadSessions from identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to uploadSessions for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link UploadSessionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public UploadSessionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new UploadSessionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/count/CountRequestBuilder.java index 64d5f0ebfdc..e2070eef049 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/CustomDataProvidedResourceUploadSessionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/CustomDataProvidedResourceUploadSessionItemRequestBuilder.java index 3ec7f9a0b22..ff569da25b7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/CustomDataProvidedResourceUploadSessionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/CustomDataProvidedResourceUploadSessionItemRequestBuilder.java @@ -25,7 +25,10 @@ public class CustomDataProvidedResourceUploadSessionItemRequestBuilder extends B /** * Provides operations to manage the files property of the microsoft.graph.customDataProvidedResourceUploadSession entity. * @return a {@link FilesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public FilesRequestBuilder files() { return new FilesRequestBuilder(pathParameters, requestAdapter); @@ -33,7 +36,10 @@ public FilesRequestBuilder files() { /** * Provides operations to call the uploadFile method. * @return a {@link UploadFileRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public UploadFileRequestBuilder uploadFile() { return new UploadFileRequestBuilder(pathParameters, requestAdapter); @@ -57,7 +63,10 @@ public CustomDataProvidedResourceUploadSessionItemRequestBuilder(@jakarta.annota /** * Delete navigation property uploadSessions for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -65,7 +74,10 @@ public void delete() { * Delete navigation property uploadSessions for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -76,8 +88,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Get uploadSessions from identityGovernance * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession get() { return get(null); } @@ -86,8 +101,11 @@ public CustomDataProvidedResourceUploadSession get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -99,8 +117,11 @@ public CustomDataProvidedResourceUploadSession get(@jakarta.annotation.Nullable * @param body The request body * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession patch(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body) { return patch(body, null); } @@ -110,8 +131,11 @@ public CustomDataProvidedResourceUploadSession patch(@jakarta.annotation.Nonnull * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession patch(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -122,8 +146,11 @@ public CustomDataProvidedResourceUploadSession patch(@jakarta.annotation.Nonnull /** * Delete navigation property uploadSessions for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -131,8 +158,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property uploadSessions for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -142,8 +172,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Get uploadSessions from identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -151,8 +184,11 @@ public RequestInformation toGetRequestInformation() { * Get uploadSessions from identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -163,8 +199,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property uploadSessions in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body) { return toPatchRequestInformation(body, null); } @@ -173,8 +212,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -187,8 +229,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CustomDataProvidedResourceUploadSessionItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CustomDataProvidedResourceUploadSessionItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CustomDataProvidedResourceUploadSessionItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/files/FilesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/files/FilesRequestBuilder.java index b05946913eb..6eb310a8c52 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/files/FilesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/files/FilesRequestBuilder.java @@ -25,7 +25,10 @@ public class FilesRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -34,8 +37,11 @@ public CountRequestBuilder count() { * Provides operations to manage the files property of the microsoft.graph.customDataProvidedResourceUploadSession entity. * @param customDataProvidedResourceFileId The unique identifier of customDataProvidedResourceFile * @return a {@link CustomDataProvidedResourceFileItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CustomDataProvidedResourceFileItemRequestBuilder byCustomDataProvidedResourceFileId(@jakarta.annotation.Nonnull final String customDataProvidedResourceFileId) { Objects.requireNonNull(customDataProvidedResourceFileId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -62,8 +68,11 @@ public FilesRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @return a {@link CustomDataProvidedResourceFileCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceFileCollectionResponse get() { return get(null); } @@ -72,8 +81,11 @@ public CustomDataProvidedResourceFileCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceFileCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceFileCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -83,8 +95,11 @@ public CustomDataProvidedResourceFileCollectionResponse get(@jakarta.annotation. /** * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -92,8 +107,11 @@ public RequestInformation toGetRequestInformation() { * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -104,8 +122,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link FilesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new FilesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/files/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/files/count/CountRequestBuilder.java index 963cd8bd202..c4d306fdeea 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/files/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/files/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/files/item/CustomDataProvidedResourceFileItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/files/item/CustomDataProvidedResourceFileItemRequestBuilder.java index 577a61f4a42..7cd99f2aa15 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/files/item/CustomDataProvidedResourceFileItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/files/item/CustomDataProvidedResourceFileItemRequestBuilder.java @@ -24,7 +24,10 @@ public class CustomDataProvidedResourceFileItemRequestBuilder extends BaseReques /** * Provides operations to manage the media for the identityGovernance entity. * @return a {@link ContentRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ContentRequestBuilder content() { return new ContentRequestBuilder(pathParameters, requestAdapter); @@ -49,8 +52,11 @@ public CustomDataProvidedResourceFileItemRequestBuilder(@jakarta.annotation.Nonn * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @return a {@link CustomDataProvidedResourceFile} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceFile get() { return get(null); } @@ -59,8 +65,11 @@ public CustomDataProvidedResourceFile get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceFile} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceFile get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -70,8 +79,11 @@ public CustomDataProvidedResourceFile get(@jakarta.annotation.Nullable final jav /** * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -79,8 +91,11 @@ public RequestInformation toGetRequestInformation() { * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -91,8 +106,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CustomDataProvidedResourceFileItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CustomDataProvidedResourceFileItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CustomDataProvidedResourceFileItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/files/item/value/ContentRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/files/item/value/ContentRequestBuilder.java index d7b92d785b5..6ce41cc8602 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/files/item/value/ContentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/files/item/value/ContentRequestBuilder.java @@ -38,7 +38,10 @@ public ContentRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j /** * The unique identifier for an entity. Read-only. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -46,7 +49,10 @@ public void delete() { * The unique identifier for an entity. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * The unique identifier for an entity. Read-only. * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public InputStream get() { return get(null); } @@ -67,8 +76,11 @@ public InputStream get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public InputStream get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -80,8 +92,11 @@ public InputStream get(@jakarta.annotation.Nullable final java.util.function.Con * @param body Binary request body * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public InputStream put(@jakarta.annotation.Nonnull final InputStream body) { return put(body, null); } @@ -91,8 +106,11 @@ public InputStream put(@jakarta.annotation.Nonnull final InputStream body) { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public InputStream put(@jakarta.annotation.Nonnull final InputStream body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPutRequestInformation(body, requestConfiguration); @@ -103,8 +121,11 @@ public InputStream put(@jakarta.annotation.Nonnull final InputStream body, @jaka /** * The unique identifier for an entity. Read-only. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -112,8 +133,11 @@ public RequestInformation toDeleteRequestInformation() { * The unique identifier for an entity. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -123,8 +147,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * The unique identifier for an entity. Read-only. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -132,8 +159,11 @@ public RequestInformation toGetRequestInformation() { * The unique identifier for an entity. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new); @@ -144,8 +174,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * The unique identifier for an entity. Read-only. * @param body Binary request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull final InputStream body) { return toPutRequestInformation(body, null); } @@ -154,8 +187,11 @@ public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull fi * @param body Binary request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull final InputStream body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PUT, urlTemplate, pathParameters); @@ -168,8 +204,11 @@ public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull fi * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ContentRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ContentRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ContentRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/uploadfile/UploadFileRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/uploadfile/UploadFileRequestBuilder.java index 6e1a2d1d0b2..d6cac8f3dfb 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/uploadfile/UploadFileRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/uploadfile/UploadFileRequestBuilder.java @@ -39,9 +39,12 @@ public UploadFileRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, * Upload a file in a customDataProvidedResourceUploadSession created for a customDataProvidedResource. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession post() { return post(null); } @@ -50,9 +53,12 @@ public CustomDataProvidedResourceUploadSession post() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -62,8 +68,11 @@ public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nullable /** * Upload a file in a customDataProvidedResourceUploadSession created for a customDataProvidedResource. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation() { * Upload a file in a customDataProvidedResourceUploadSession created for a customDataProvidedResource. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -83,8 +95,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link UploadFileRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public UploadFileRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new UploadFileRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/externaloriginresourceconnector/ExternalOriginResourceConnectorRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/externaloriginresourceconnector/ExternalOriginResourceConnectorRequestBuilder.java index 64da382ddf5..797ece06790 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/externaloriginresourceconnector/ExternalOriginResourceConnectorRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/externaloriginresourceconnector/ExternalOriginResourceConnectorRequestBuilder.java @@ -40,8 +40,11 @@ public ExternalOriginResourceConnectorRequestBuilder(@jakarta.annotation.Nonnull * The connector that integrates with external origin systems to provision access to resources from those systems. Read-only. Nullable. * @return a {@link ExternalOriginResourceConnector} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ExternalOriginResourceConnector get() { return get(null); } @@ -50,8 +53,11 @@ public ExternalOriginResourceConnector get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ExternalOriginResourceConnector} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ExternalOriginResourceConnector get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public ExternalOriginResourceConnector get(@jakarta.annotation.Nullable final ja /** * The connector that integrates with external origin systems to provision access to resources from those systems. Read-only. Nullable. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * The connector that integrates with external origin systems to provision access to resources from those systems. Read-only. Nullable. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ExternalOriginResourceConnectorRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ExternalOriginResourceConnectorRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ExternalOriginResourceConnectorRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/refresh/RefreshRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/refresh/RefreshRequestBuilder.java index b97c038a9e7..a3f1af2deac 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/refresh/RefreshRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/refresh/RefreshRequestBuilder.java @@ -37,8 +37,11 @@ public RefreshRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j /** * In Microsoft Entra entitlement management, refresh the accessPackageResource object to fetch the latest details for displayName, description, and resourceType from the origin system. For the AadApplication originSystem, this operation also updates the displayName and description for the accessPackageResourceRole. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * In Microsoft Entra entitlement management, refresh the accessPackageResource object to fetch the latest details for displayName, description, and resourceType from the origin system. For the AadApplication originSystem, this operation also updates the displayName and description for the accessPackageResourceRole. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * In Microsoft Entra entitlement management, refresh the accessPackageResource object to fetch the latest details for displayName, description, and resourceType from the origin system. For the AadApplication originSystem, this operation also updates the displayName and description for the accessPackageResourceRole. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * In Microsoft Entra entitlement management, refresh the accessPackageResource object to fetch the latest details for displayName, description, and resourceType from the origin system. For the AadApplication originSystem, this operation also updates the displayName and description for the accessPackageResourceRole. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RefreshRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RefreshRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RefreshRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/uploadsessions/UploadSessionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/uploadsessions/UploadSessionsRequestBuilder.java index a1359c34058..7ff9c199819 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/uploadsessions/UploadSessionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/uploadsessions/UploadSessionsRequestBuilder.java @@ -26,7 +26,10 @@ public class UploadSessionsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the uploadSessions property of the microsoft.graph.accessPackageResource entity. * @param customDataProvidedResourceUploadSessionId The unique identifier of customDataProvidedResourceUploadSession * @return a {@link CustomDataProvidedResourceUploadSessionItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CustomDataProvidedResourceUploadSessionItemRequestBuilder byCustomDataProvidedResourceUploadSessionId(@jakarta.annotation.Nonnull final String customDataProvidedResourceUploadSessionId) { Objects.requireNonNull(customDataProvidedResourceUploadSessionId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public UploadSessionsRequestBuilder(@jakarta.annotation.Nonnull final String raw * Get uploadSessions from identityGovernance * @return a {@link CustomDataProvidedResourceUploadSessionCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSessionCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public CustomDataProvidedResourceUploadSessionCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSessionCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSessionCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public CustomDataProvidedResourceUploadSessionCollectionResponse get(@jakarta.an * @param body The request body * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body) { return post(body, null); } @@ -97,8 +112,11 @@ public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nonnull * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nonnull /** * Get uploadSessions from identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Get uploadSessions from identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to uploadSessions for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link UploadSessionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public UploadSessionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new UploadSessionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/uploadsessions/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/uploadsessions/count/CountRequestBuilder.java index 3d76969126a..1da369e6b00 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/uploadsessions/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/uploadsessions/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/CustomDataProvidedResourceUploadSessionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/CustomDataProvidedResourceUploadSessionItemRequestBuilder.java index 3b82cf4b430..b0c1c8e8c8d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/CustomDataProvidedResourceUploadSessionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/CustomDataProvidedResourceUploadSessionItemRequestBuilder.java @@ -25,7 +25,10 @@ public class CustomDataProvidedResourceUploadSessionItemRequestBuilder extends B /** * Provides operations to manage the files property of the microsoft.graph.customDataProvidedResourceUploadSession entity. * @return a {@link FilesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public FilesRequestBuilder files() { return new FilesRequestBuilder(pathParameters, requestAdapter); @@ -33,7 +36,10 @@ public FilesRequestBuilder files() { /** * Provides operations to call the uploadFile method. * @return a {@link UploadFileRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public UploadFileRequestBuilder uploadFile() { return new UploadFileRequestBuilder(pathParameters, requestAdapter); @@ -57,7 +63,10 @@ public CustomDataProvidedResourceUploadSessionItemRequestBuilder(@jakarta.annota /** * Delete navigation property uploadSessions for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -65,7 +74,10 @@ public void delete() { * Delete navigation property uploadSessions for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -76,8 +88,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Get uploadSessions from identityGovernance * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession get() { return get(null); } @@ -86,8 +101,11 @@ public CustomDataProvidedResourceUploadSession get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -99,8 +117,11 @@ public CustomDataProvidedResourceUploadSession get(@jakarta.annotation.Nullable * @param body The request body * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession patch(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body) { return patch(body, null); } @@ -110,8 +131,11 @@ public CustomDataProvidedResourceUploadSession patch(@jakarta.annotation.Nonnull * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession patch(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -122,8 +146,11 @@ public CustomDataProvidedResourceUploadSession patch(@jakarta.annotation.Nonnull /** * Delete navigation property uploadSessions for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -131,8 +158,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property uploadSessions for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -142,8 +172,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Get uploadSessions from identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -151,8 +184,11 @@ public RequestInformation toGetRequestInformation() { * Get uploadSessions from identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -163,8 +199,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property uploadSessions in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body) { return toPatchRequestInformation(body, null); } @@ -173,8 +212,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -187,8 +229,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CustomDataProvidedResourceUploadSessionItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CustomDataProvidedResourceUploadSessionItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CustomDataProvidedResourceUploadSessionItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/files/FilesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/files/FilesRequestBuilder.java index 75c0a0b8bcd..c2ac1d5af58 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/files/FilesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/files/FilesRequestBuilder.java @@ -25,7 +25,10 @@ public class FilesRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -34,8 +37,11 @@ public CountRequestBuilder count() { * Provides operations to manage the files property of the microsoft.graph.customDataProvidedResourceUploadSession entity. * @param customDataProvidedResourceFileId The unique identifier of customDataProvidedResourceFile * @return a {@link CustomDataProvidedResourceFileItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CustomDataProvidedResourceFileItemRequestBuilder byCustomDataProvidedResourceFileId(@jakarta.annotation.Nonnull final String customDataProvidedResourceFileId) { Objects.requireNonNull(customDataProvidedResourceFileId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -62,8 +68,11 @@ public FilesRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @return a {@link CustomDataProvidedResourceFileCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceFileCollectionResponse get() { return get(null); } @@ -72,8 +81,11 @@ public CustomDataProvidedResourceFileCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceFileCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceFileCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -83,8 +95,11 @@ public CustomDataProvidedResourceFileCollectionResponse get(@jakarta.annotation. /** * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -92,8 +107,11 @@ public RequestInformation toGetRequestInformation() { * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -104,8 +122,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link FilesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new FilesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/files/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/files/count/CountRequestBuilder.java index 67fe7122c5f..f066444a5a0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/files/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/files/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/files/item/CustomDataProvidedResourceFileItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/files/item/CustomDataProvidedResourceFileItemRequestBuilder.java index 53d546b5856..df6850745a5 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/files/item/CustomDataProvidedResourceFileItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/files/item/CustomDataProvidedResourceFileItemRequestBuilder.java @@ -24,7 +24,10 @@ public class CustomDataProvidedResourceFileItemRequestBuilder extends BaseReques /** * Provides operations to manage the media for the identityGovernance entity. * @return a {@link ContentRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ContentRequestBuilder content() { return new ContentRequestBuilder(pathParameters, requestAdapter); @@ -49,8 +52,11 @@ public CustomDataProvidedResourceFileItemRequestBuilder(@jakarta.annotation.Nonn * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @return a {@link CustomDataProvidedResourceFile} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceFile get() { return get(null); } @@ -59,8 +65,11 @@ public CustomDataProvidedResourceFile get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceFile} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceFile get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -70,8 +79,11 @@ public CustomDataProvidedResourceFile get(@jakarta.annotation.Nullable final jav /** * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -79,8 +91,11 @@ public RequestInformation toGetRequestInformation() { * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -91,8 +106,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CustomDataProvidedResourceFileItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CustomDataProvidedResourceFileItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CustomDataProvidedResourceFileItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/files/item/value/ContentRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/files/item/value/ContentRequestBuilder.java index def2010946b..e5d98432c2b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/files/item/value/ContentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/files/item/value/ContentRequestBuilder.java @@ -38,7 +38,10 @@ public ContentRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j /** * The unique identifier for an entity. Read-only. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -46,7 +49,10 @@ public void delete() { * The unique identifier for an entity. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * The unique identifier for an entity. Read-only. * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public InputStream get() { return get(null); } @@ -67,8 +76,11 @@ public InputStream get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public InputStream get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -80,8 +92,11 @@ public InputStream get(@jakarta.annotation.Nullable final java.util.function.Con * @param body Binary request body * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public InputStream put(@jakarta.annotation.Nonnull final InputStream body) { return put(body, null); } @@ -91,8 +106,11 @@ public InputStream put(@jakarta.annotation.Nonnull final InputStream body) { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public InputStream put(@jakarta.annotation.Nonnull final InputStream body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPutRequestInformation(body, requestConfiguration); @@ -103,8 +121,11 @@ public InputStream put(@jakarta.annotation.Nonnull final InputStream body, @jaka /** * The unique identifier for an entity. Read-only. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -112,8 +133,11 @@ public RequestInformation toDeleteRequestInformation() { * The unique identifier for an entity. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -123,8 +147,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * The unique identifier for an entity. Read-only. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -132,8 +159,11 @@ public RequestInformation toGetRequestInformation() { * The unique identifier for an entity. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new); @@ -144,8 +174,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * The unique identifier for an entity. Read-only. * @param body Binary request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull final InputStream body) { return toPutRequestInformation(body, null); } @@ -154,8 +187,11 @@ public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull fi * @param body Binary request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull final InputStream body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PUT, urlTemplate, pathParameters); @@ -168,8 +204,11 @@ public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull fi * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ContentRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ContentRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ContentRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/uploadfile/UploadFileRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/uploadfile/UploadFileRequestBuilder.java index 6accbcfbc81..8eba1ca5c78 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/uploadfile/UploadFileRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/uploadfile/UploadFileRequestBuilder.java @@ -39,9 +39,12 @@ public UploadFileRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, * Upload a file in a customDataProvidedResourceUploadSession created for a customDataProvidedResource. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession post() { return post(null); } @@ -50,9 +53,12 @@ public CustomDataProvidedResourceUploadSession post() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -62,8 +68,11 @@ public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nullable /** * Upload a file in a customDataProvidedResourceUploadSession created for a customDataProvidedResource. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation() { * Upload a file in a customDataProvidedResourceUploadSession created for a customDataProvidedResource. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -83,8 +95,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link UploadFileRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public UploadFileRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new UploadFileRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/AccessPackageResourceScopeRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/AccessPackageResourceScopeRequestBuilder.java index fa734d4ff2a..84130b5431c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/AccessPackageResourceScopeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/AccessPackageResourceScopeRequestBuilder.java @@ -24,7 +24,10 @@ public class AccessPackageResourceScopeRequestBuilder extends BaseRequestBuilder /** * Provides operations to manage the accessPackageResource property of the microsoft.graph.accessPackageResourceScope entity. * @return a {@link AccessPackageResourceRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackageResourceRequestBuilder accessPackageResource() { return new AccessPackageResourceRequestBuilder(pathParameters, requestAdapter); @@ -48,7 +51,10 @@ public AccessPackageResourceScopeRequestBuilder(@jakarta.annotation.Nonnull fina /** * Delete navigation property accessPackageResourceScope for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -56,7 +62,10 @@ public void delete() { * Delete navigation property accessPackageResourceScope for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -67,8 +76,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Get accessPackageResourceScope from identityGovernance * @return a {@link AccessPackageResourceScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScope get() { return get(null); } @@ -77,8 +89,11 @@ public AccessPackageResourceScope get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScope get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -90,8 +105,11 @@ public AccessPackageResourceScope get(@jakarta.annotation.Nullable final java.ut * @param body The request body * @return a {@link AccessPackageResourceScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScope patch(@jakarta.annotation.Nonnull final AccessPackageResourceScope body) { return patch(body, null); } @@ -101,8 +119,11 @@ public AccessPackageResourceScope patch(@jakarta.annotation.Nonnull final Access * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScope patch(@jakarta.annotation.Nonnull final AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -113,8 +134,11 @@ public AccessPackageResourceScope patch(@jakarta.annotation.Nonnull final Access /** * Delete navigation property accessPackageResourceScope for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -122,8 +146,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property accessPackageResourceScope for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -133,8 +160,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Get accessPackageResourceScope from identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -142,8 +172,11 @@ public RequestInformation toGetRequestInformation() { * Get accessPackageResourceScope from identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -154,8 +187,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property accessPackageResourceScope in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceScope body) { return toPatchRequestInformation(body, null); } @@ -164,8 +200,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -178,8 +217,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceScopeRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceScopeRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceScopeRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/AccessPackageResourceRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/AccessPackageResourceRequestBuilder.java index b7a8252cbf2..0d25366c6ee 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/AccessPackageResourceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/AccessPackageResourceRequestBuilder.java @@ -29,7 +29,10 @@ public class AccessPackageResourceRequestBuilder extends BaseRequestBuilder { /** * Provides operations to manage the accessPackageResourceEnvironment property of the microsoft.graph.accessPackageResource entity. * @return a {@link AccessPackageResourceEnvironmentRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackageResourceEnvironmentRequestBuilder accessPackageResourceEnvironment() { return new AccessPackageResourceEnvironmentRequestBuilder(pathParameters, requestAdapter); @@ -37,7 +40,10 @@ public AccessPackageResourceEnvironmentRequestBuilder accessPackageResourceEnvir /** * Provides operations to manage the accessPackageResourceRoles property of the microsoft.graph.accessPackageResource entity. * @return a {@link AccessPackageResourceRolesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackageResourceRolesRequestBuilder accessPackageResourceRoles() { return new AccessPackageResourceRolesRequestBuilder(pathParameters, requestAdapter); @@ -45,7 +51,10 @@ public AccessPackageResourceRolesRequestBuilder accessPackageResourceRoles() { /** * Provides operations to manage the accessPackageResourceScopes property of the microsoft.graph.accessPackageResource entity. * @return a {@link AccessPackageResourceScopesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackageResourceScopesRequestBuilder accessPackageResourceScopes() { return new AccessPackageResourceScopesRequestBuilder(pathParameters, requestAdapter); @@ -53,7 +62,10 @@ public AccessPackageResourceScopesRequestBuilder accessPackageResourceScopes() { /** * Provides operations to manage the externalOriginResourceConnector property of the microsoft.graph.accessPackageResource entity. * @return a {@link ExternalOriginResourceConnectorRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ExternalOriginResourceConnectorRequestBuilder externalOriginResourceConnector() { return new ExternalOriginResourceConnectorRequestBuilder(pathParameters, requestAdapter); @@ -61,7 +73,10 @@ public ExternalOriginResourceConnectorRequestBuilder externalOriginResourceConne /** * Provides operations to call the refresh method. * @return a {@link RefreshRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public RefreshRequestBuilder refresh() { return new RefreshRequestBuilder(pathParameters, requestAdapter); @@ -69,7 +84,10 @@ public RefreshRequestBuilder refresh() { /** * Provides operations to manage the uploadSessions property of the microsoft.graph.accessPackageResource entity. * @return a {@link UploadSessionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public UploadSessionsRequestBuilder uploadSessions() { return new UploadSessionsRequestBuilder(pathParameters, requestAdapter); @@ -93,7 +111,10 @@ public AccessPackageResourceRequestBuilder(@jakarta.annotation.Nonnull final Str /** * Delete navigation property accessPackageResource for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -101,7 +122,10 @@ public void delete() { * Delete navigation property accessPackageResource for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -112,8 +136,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Get accessPackageResource from identityGovernance * @return a {@link AccessPackageResource} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResource get() { return get(null); } @@ -122,8 +149,11 @@ public AccessPackageResource get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResource} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResource get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -135,8 +165,11 @@ public AccessPackageResource get(@jakarta.annotation.Nullable final java.util.fu * @param body The request body * @return a {@link AccessPackageResource} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResource patch(@jakarta.annotation.Nonnull final AccessPackageResource body) { return patch(body, null); } @@ -146,8 +179,11 @@ public AccessPackageResource patch(@jakarta.annotation.Nonnull final AccessPacka * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResource} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResource patch(@jakarta.annotation.Nonnull final AccessPackageResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -158,8 +194,11 @@ public AccessPackageResource patch(@jakarta.annotation.Nonnull final AccessPacka /** * Delete navigation property accessPackageResource for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -167,8 +206,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property accessPackageResource for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -178,8 +220,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Get accessPackageResource from identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -187,8 +232,11 @@ public RequestInformation toGetRequestInformation() { * Get accessPackageResource from identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -199,8 +247,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property accessPackageResource in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResource body) { return toPatchRequestInformation(body, null); } @@ -209,8 +260,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -223,8 +277,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceenvironment/AccessPackageResourceEnvironmentRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceenvironment/AccessPackageResourceEnvironmentRequestBuilder.java index a3b6724e037..d3cb1382001 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceenvironment/AccessPackageResourceEnvironmentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceenvironment/AccessPackageResourceEnvironmentRequestBuilder.java @@ -40,8 +40,11 @@ public AccessPackageResourceEnvironmentRequestBuilder(@jakarta.annotation.Nonnul * Contains the environment information for the resource. This environment can be set using either the @odata.bind annotation or the environment's originId. Supports $expand. * @return a {@link AccessPackageResourceEnvironment} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceEnvironment get() { return get(null); } @@ -50,8 +53,11 @@ public AccessPackageResourceEnvironment get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceEnvironment} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceEnvironment get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public AccessPackageResourceEnvironment get(@jakarta.annotation.Nullable final j /** * Contains the environment information for the resource. This environment can be set using either the @odata.bind annotation or the environment's originId. Supports $expand. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * Contains the environment information for the resource. This environment can be set using either the @odata.bind annotation or the environment's originId. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceEnvironmentRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceEnvironmentRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceEnvironmentRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java index ae143cc1cbb..ab18e20e669 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java @@ -26,7 +26,10 @@ public class AccessPackageResourceRolesRequestBuilder extends BaseRequestBuilder /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the accessPackageResourceRoles property of the microsoft.graph.accessPackageResource entity. * @param accessPackageResourceRoleId The unique identifier of accessPackageResourceRole * @return a {@link AccessPackageResourceRoleItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceRoleItemRequestBuilder byAccessPackageResourceRoleId(@jakarta.annotation.Nonnull final String accessPackageResourceRoleId) { Objects.requireNonNull(accessPackageResourceRoleId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public AccessPackageResourceRolesRequestBuilder(@jakarta.annotation.Nonnull fina * Read-only. Nullable. Supports $expand. * @return a {@link AccessPackageResourceRoleCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRoleCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public AccessPackageResourceRoleCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceRoleCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRoleCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public AccessPackageResourceRoleCollectionResponse get(@jakarta.annotation.Nulla * @param body The request body * @return a {@link AccessPackageResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRole post(@jakarta.annotation.Nonnull final AccessPackageResourceRole body) { return post(body, null); } @@ -97,8 +112,11 @@ public AccessPackageResourceRole post(@jakarta.annotation.Nonnull final AccessPa * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRole post(@jakarta.annotation.Nonnull final AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public AccessPackageResourceRole post(@jakarta.annotation.Nonnull final AccessPa /** * Read-only. Nullable. Supports $expand. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Read-only. Nullable. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to accessPackageResourceRoles for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRole body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceRolesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceRolesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceRolesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/count/CountRequestBuilder.java index 361a80312a1..2599f9afc98 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java index 942aab173fd..1e2ab9f452a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java @@ -24,7 +24,10 @@ public class AccessPackageResourceRoleItemRequestBuilder extends BaseRequestBuil /** * Provides operations to manage the accessPackageResource property of the microsoft.graph.accessPackageResourceRole entity. * @return a {@link AccessPackageResourceRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackageResourceRequestBuilder accessPackageResource() { return new AccessPackageResourceRequestBuilder(pathParameters, requestAdapter); @@ -48,7 +51,10 @@ public AccessPackageResourceRoleItemRequestBuilder(@jakarta.annotation.Nonnull f /** * Delete navigation property accessPackageResourceRoles for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -56,7 +62,10 @@ public void delete() { * Delete navigation property accessPackageResourceRoles for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -67,8 +76,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Read-only. Nullable. Supports $expand. * @return a {@link AccessPackageResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRole get() { return get(null); } @@ -77,8 +89,11 @@ public AccessPackageResourceRole get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRole get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -90,8 +105,11 @@ public AccessPackageResourceRole get(@jakarta.annotation.Nullable final java.uti * @param body The request body * @return a {@link AccessPackageResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRole patch(@jakarta.annotation.Nonnull final AccessPackageResourceRole body) { return patch(body, null); } @@ -101,8 +119,11 @@ public AccessPackageResourceRole patch(@jakarta.annotation.Nonnull final AccessP * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRole patch(@jakarta.annotation.Nonnull final AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -113,8 +134,11 @@ public AccessPackageResourceRole patch(@jakarta.annotation.Nonnull final AccessP /** * Delete navigation property accessPackageResourceRoles for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -122,8 +146,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property accessPackageResourceRoles for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -133,8 +160,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Read-only. Nullable. Supports $expand. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -142,8 +172,11 @@ public RequestInformation toGetRequestInformation() { * Read-only. Nullable. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -154,8 +187,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property accessPackageResourceRoles in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRole body) { return toPatchRequestInformation(body, null); } @@ -164,8 +200,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -178,8 +217,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceRoleItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceRoleItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceRoleItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/AccessPackageResourceRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/AccessPackageResourceRequestBuilder.java index d64cf055e9e..a736a2955d3 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/AccessPackageResourceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/AccessPackageResourceRequestBuilder.java @@ -28,7 +28,10 @@ public class AccessPackageResourceRequestBuilder extends BaseRequestBuilder { /** * Provides operations to manage the accessPackageResourceEnvironment property of the microsoft.graph.accessPackageResource entity. * @return a {@link AccessPackageResourceEnvironmentRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackageResourceEnvironmentRequestBuilder accessPackageResourceEnvironment() { return new AccessPackageResourceEnvironmentRequestBuilder(pathParameters, requestAdapter); @@ -36,7 +39,10 @@ public AccessPackageResourceEnvironmentRequestBuilder accessPackageResourceEnvir /** * Provides operations to manage the accessPackageResourceScopes property of the microsoft.graph.accessPackageResource entity. * @return a {@link AccessPackageResourceScopesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackageResourceScopesRequestBuilder accessPackageResourceScopes() { return new AccessPackageResourceScopesRequestBuilder(pathParameters, requestAdapter); @@ -44,7 +50,10 @@ public AccessPackageResourceScopesRequestBuilder accessPackageResourceScopes() { /** * Provides operations to manage the externalOriginResourceConnector property of the microsoft.graph.accessPackageResource entity. * @return a {@link ExternalOriginResourceConnectorRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ExternalOriginResourceConnectorRequestBuilder externalOriginResourceConnector() { return new ExternalOriginResourceConnectorRequestBuilder(pathParameters, requestAdapter); @@ -52,7 +61,10 @@ public ExternalOriginResourceConnectorRequestBuilder externalOriginResourceConne /** * Provides operations to call the refresh method. * @return a {@link RefreshRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public RefreshRequestBuilder refresh() { return new RefreshRequestBuilder(pathParameters, requestAdapter); @@ -60,7 +72,10 @@ public RefreshRequestBuilder refresh() { /** * Provides operations to manage the uploadSessions property of the microsoft.graph.accessPackageResource entity. * @return a {@link UploadSessionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public UploadSessionsRequestBuilder uploadSessions() { return new UploadSessionsRequestBuilder(pathParameters, requestAdapter); @@ -84,7 +99,10 @@ public AccessPackageResourceRequestBuilder(@jakarta.annotation.Nonnull final Str /** * Delete navigation property accessPackageResource for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -92,7 +110,10 @@ public void delete() { * Delete navigation property accessPackageResource for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -103,8 +124,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Get accessPackageResource from identityGovernance * @return a {@link AccessPackageResource} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResource get() { return get(null); } @@ -113,8 +137,11 @@ public AccessPackageResource get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResource} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResource get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -126,8 +153,11 @@ public AccessPackageResource get(@jakarta.annotation.Nullable final java.util.fu * @param body The request body * @return a {@link AccessPackageResource} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResource patch(@jakarta.annotation.Nonnull final AccessPackageResource body) { return patch(body, null); } @@ -137,8 +167,11 @@ public AccessPackageResource patch(@jakarta.annotation.Nonnull final AccessPacka * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResource} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResource patch(@jakarta.annotation.Nonnull final AccessPackageResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -149,8 +182,11 @@ public AccessPackageResource patch(@jakarta.annotation.Nonnull final AccessPacka /** * Delete navigation property accessPackageResource for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -158,8 +194,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property accessPackageResource for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -169,8 +208,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Get accessPackageResource from identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -178,8 +220,11 @@ public RequestInformation toGetRequestInformation() { * Get accessPackageResource from identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -190,8 +235,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property accessPackageResource in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResource body) { return toPatchRequestInformation(body, null); } @@ -200,8 +248,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -214,8 +265,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourceenvironment/AccessPackageResourceEnvironmentRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourceenvironment/AccessPackageResourceEnvironmentRequestBuilder.java index 20cee9923d2..f83bfb6d98c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourceenvironment/AccessPackageResourceEnvironmentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourceenvironment/AccessPackageResourceEnvironmentRequestBuilder.java @@ -40,8 +40,11 @@ public AccessPackageResourceEnvironmentRequestBuilder(@jakarta.annotation.Nonnul * Contains the environment information for the resource. This environment can be set using either the @odata.bind annotation or the environment's originId. Supports $expand. * @return a {@link AccessPackageResourceEnvironment} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceEnvironment get() { return get(null); } @@ -50,8 +53,11 @@ public AccessPackageResourceEnvironment get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceEnvironment} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceEnvironment get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public AccessPackageResourceEnvironment get(@jakarta.annotation.Nullable final j /** * Contains the environment information for the resource. This environment can be set using either the @odata.bind annotation or the environment's originId. Supports $expand. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * Contains the environment information for the resource. This environment can be set using either the @odata.bind annotation or the environment's originId. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceEnvironmentRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceEnvironmentRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceEnvironmentRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java index 5def17e3bd8..aa8a1e37244 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java @@ -26,7 +26,10 @@ public class AccessPackageResourceScopesRequestBuilder extends BaseRequestBuilde /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the accessPackageResourceScopes property of the microsoft.graph.accessPackageResource entity. * @param accessPackageResourceScopeId The unique identifier of accessPackageResourceScope * @return a {@link AccessPackageResourceScopeItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceScopeItemRequestBuilder byAccessPackageResourceScopeId(@jakarta.annotation.Nonnull final String accessPackageResourceScopeId) { Objects.requireNonNull(accessPackageResourceScopeId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public AccessPackageResourceScopesRequestBuilder(@jakarta.annotation.Nonnull fin * Read-only. Nullable. Supports $expand. * @return a {@link AccessPackageResourceScopeCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScopeCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public AccessPackageResourceScopeCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceScopeCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScopeCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public AccessPackageResourceScopeCollectionResponse get(@jakarta.annotation.Null * @param body The request body * @return a {@link AccessPackageResourceScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScope post(@jakarta.annotation.Nonnull final AccessPackageResourceScope body) { return post(body, null); } @@ -97,8 +112,11 @@ public AccessPackageResourceScope post(@jakarta.annotation.Nonnull final AccessP * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScope post(@jakarta.annotation.Nonnull final AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public AccessPackageResourceScope post(@jakarta.annotation.Nonnull final AccessP /** * Read-only. Nullable. Supports $expand. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Read-only. Nullable. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to accessPackageResourceScopes for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceScope body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceScopesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceScopesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceScopesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/count/CountRequestBuilder.java index d1b2aabfa5e..20a83616d76 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java index 55d56447f00..7e24b4848c1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java @@ -39,7 +39,10 @@ public AccessPackageResourceScopeItemRequestBuilder(@jakarta.annotation.Nonnull /** * Delete navigation property accessPackageResourceScopes for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -47,7 +50,10 @@ public void delete() { * Delete navigation property accessPackageResourceScopes for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -58,8 +64,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Read-only. Nullable. Supports $expand. * @return a {@link AccessPackageResourceScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScope get() { return get(null); } @@ -68,8 +77,11 @@ public AccessPackageResourceScope get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScope get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -81,8 +93,11 @@ public AccessPackageResourceScope get(@jakarta.annotation.Nullable final java.ut * @param body The request body * @return a {@link AccessPackageResourceScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScope patch(@jakarta.annotation.Nonnull final AccessPackageResourceScope body) { return patch(body, null); } @@ -92,8 +107,11 @@ public AccessPackageResourceScope patch(@jakarta.annotation.Nonnull final Access * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScope patch(@jakarta.annotation.Nonnull final AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -104,8 +122,11 @@ public AccessPackageResourceScope patch(@jakarta.annotation.Nonnull final Access /** * Delete navigation property accessPackageResourceScopes for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -113,8 +134,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property accessPackageResourceScopes for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Read-only. Nullable. Supports $expand. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -133,8 +160,11 @@ public RequestInformation toGetRequestInformation() { * Read-only. Nullable. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -145,8 +175,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property accessPackageResourceScopes in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceScope body) { return toPatchRequestInformation(body, null); } @@ -155,8 +188,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -169,8 +205,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceScopeItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceScopeItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceScopeItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/externaloriginresourceconnector/ExternalOriginResourceConnectorRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/externaloriginresourceconnector/ExternalOriginResourceConnectorRequestBuilder.java index 5703da8d663..08c59d0b98f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/externaloriginresourceconnector/ExternalOriginResourceConnectorRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/externaloriginresourceconnector/ExternalOriginResourceConnectorRequestBuilder.java @@ -40,8 +40,11 @@ public ExternalOriginResourceConnectorRequestBuilder(@jakarta.annotation.Nonnull * The connector that integrates with external origin systems to provision access to resources from those systems. Read-only. Nullable. * @return a {@link ExternalOriginResourceConnector} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ExternalOriginResourceConnector get() { return get(null); } @@ -50,8 +53,11 @@ public ExternalOriginResourceConnector get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ExternalOriginResourceConnector} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ExternalOriginResourceConnector get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public ExternalOriginResourceConnector get(@jakarta.annotation.Nullable final ja /** * The connector that integrates with external origin systems to provision access to resources from those systems. Read-only. Nullable. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * The connector that integrates with external origin systems to provision access to resources from those systems. Read-only. Nullable. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ExternalOriginResourceConnectorRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ExternalOriginResourceConnectorRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ExternalOriginResourceConnectorRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/refresh/RefreshRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/refresh/RefreshRequestBuilder.java index 5802d4a0bca..a490cd34a60 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/refresh/RefreshRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/refresh/RefreshRequestBuilder.java @@ -37,8 +37,11 @@ public RefreshRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j /** * In Microsoft Entra entitlement management, refresh the accessPackageResource object to fetch the latest details for displayName, description, and resourceType from the origin system. For the AadApplication originSystem, this operation also updates the displayName and description for the accessPackageResourceRole. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * In Microsoft Entra entitlement management, refresh the accessPackageResource object to fetch the latest details for displayName, description, and resourceType from the origin system. For the AadApplication originSystem, this operation also updates the displayName and description for the accessPackageResourceRole. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * In Microsoft Entra entitlement management, refresh the accessPackageResource object to fetch the latest details for displayName, description, and resourceType from the origin system. For the AadApplication originSystem, this operation also updates the displayName and description for the accessPackageResourceRole. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * In Microsoft Entra entitlement management, refresh the accessPackageResource object to fetch the latest details for displayName, description, and resourceType from the origin system. For the AadApplication originSystem, this operation also updates the displayName and description for the accessPackageResourceRole. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RefreshRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RefreshRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RefreshRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/UploadSessionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/UploadSessionsRequestBuilder.java index 356b849cad0..e72bc70abf0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/UploadSessionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/UploadSessionsRequestBuilder.java @@ -26,7 +26,10 @@ public class UploadSessionsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the uploadSessions property of the microsoft.graph.accessPackageResource entity. * @param customDataProvidedResourceUploadSessionId The unique identifier of customDataProvidedResourceUploadSession * @return a {@link CustomDataProvidedResourceUploadSessionItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CustomDataProvidedResourceUploadSessionItemRequestBuilder byCustomDataProvidedResourceUploadSessionId(@jakarta.annotation.Nonnull final String customDataProvidedResourceUploadSessionId) { Objects.requireNonNull(customDataProvidedResourceUploadSessionId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public UploadSessionsRequestBuilder(@jakarta.annotation.Nonnull final String raw * Get uploadSessions from identityGovernance * @return a {@link CustomDataProvidedResourceUploadSessionCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSessionCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public CustomDataProvidedResourceUploadSessionCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSessionCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSessionCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public CustomDataProvidedResourceUploadSessionCollectionResponse get(@jakarta.an * @param body The request body * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body) { return post(body, null); } @@ -97,8 +112,11 @@ public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nonnull * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nonnull /** * Get uploadSessions from identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Get uploadSessions from identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to uploadSessions for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link UploadSessionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public UploadSessionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new UploadSessionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/count/CountRequestBuilder.java index f856d05615a..29015abc5ac 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/CustomDataProvidedResourceUploadSessionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/CustomDataProvidedResourceUploadSessionItemRequestBuilder.java index ed2d1abfbd0..14dfffb9410 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/CustomDataProvidedResourceUploadSessionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/CustomDataProvidedResourceUploadSessionItemRequestBuilder.java @@ -25,7 +25,10 @@ public class CustomDataProvidedResourceUploadSessionItemRequestBuilder extends B /** * Provides operations to manage the files property of the microsoft.graph.customDataProvidedResourceUploadSession entity. * @return a {@link FilesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public FilesRequestBuilder files() { return new FilesRequestBuilder(pathParameters, requestAdapter); @@ -33,7 +36,10 @@ public FilesRequestBuilder files() { /** * Provides operations to call the uploadFile method. * @return a {@link UploadFileRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public UploadFileRequestBuilder uploadFile() { return new UploadFileRequestBuilder(pathParameters, requestAdapter); @@ -57,7 +63,10 @@ public CustomDataProvidedResourceUploadSessionItemRequestBuilder(@jakarta.annota /** * Delete navigation property uploadSessions for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -65,7 +74,10 @@ public void delete() { * Delete navigation property uploadSessions for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -76,8 +88,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Get uploadSessions from identityGovernance * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession get() { return get(null); } @@ -86,8 +101,11 @@ public CustomDataProvidedResourceUploadSession get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -99,8 +117,11 @@ public CustomDataProvidedResourceUploadSession get(@jakarta.annotation.Nullable * @param body The request body * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession patch(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body) { return patch(body, null); } @@ -110,8 +131,11 @@ public CustomDataProvidedResourceUploadSession patch(@jakarta.annotation.Nonnull * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession patch(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -122,8 +146,11 @@ public CustomDataProvidedResourceUploadSession patch(@jakarta.annotation.Nonnull /** * Delete navigation property uploadSessions for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -131,8 +158,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property uploadSessions for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -142,8 +172,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Get uploadSessions from identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -151,8 +184,11 @@ public RequestInformation toGetRequestInformation() { * Get uploadSessions from identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -163,8 +199,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property uploadSessions in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body) { return toPatchRequestInformation(body, null); } @@ -173,8 +212,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -187,8 +229,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CustomDataProvidedResourceUploadSessionItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CustomDataProvidedResourceUploadSessionItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CustomDataProvidedResourceUploadSessionItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/files/FilesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/files/FilesRequestBuilder.java index 476fab6cee3..516489f0dbf 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/files/FilesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/files/FilesRequestBuilder.java @@ -25,7 +25,10 @@ public class FilesRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -34,8 +37,11 @@ public CountRequestBuilder count() { * Provides operations to manage the files property of the microsoft.graph.customDataProvidedResourceUploadSession entity. * @param customDataProvidedResourceFileId The unique identifier of customDataProvidedResourceFile * @return a {@link CustomDataProvidedResourceFileItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CustomDataProvidedResourceFileItemRequestBuilder byCustomDataProvidedResourceFileId(@jakarta.annotation.Nonnull final String customDataProvidedResourceFileId) { Objects.requireNonNull(customDataProvidedResourceFileId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -62,8 +68,11 @@ public FilesRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @return a {@link CustomDataProvidedResourceFileCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceFileCollectionResponse get() { return get(null); } @@ -72,8 +81,11 @@ public CustomDataProvidedResourceFileCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceFileCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceFileCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -83,8 +95,11 @@ public CustomDataProvidedResourceFileCollectionResponse get(@jakarta.annotation. /** * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -92,8 +107,11 @@ public RequestInformation toGetRequestInformation() { * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -104,8 +122,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link FilesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new FilesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/files/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/files/count/CountRequestBuilder.java index a5b856a259e..8f126e05b0c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/files/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/files/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/files/item/CustomDataProvidedResourceFileItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/files/item/CustomDataProvidedResourceFileItemRequestBuilder.java index 90ec8a7b74d..18e9f4e0220 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/files/item/CustomDataProvidedResourceFileItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/files/item/CustomDataProvidedResourceFileItemRequestBuilder.java @@ -24,7 +24,10 @@ public class CustomDataProvidedResourceFileItemRequestBuilder extends BaseReques /** * Provides operations to manage the media for the identityGovernance entity. * @return a {@link ContentRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ContentRequestBuilder content() { return new ContentRequestBuilder(pathParameters, requestAdapter); @@ -49,8 +52,11 @@ public CustomDataProvidedResourceFileItemRequestBuilder(@jakarta.annotation.Nonn * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @return a {@link CustomDataProvidedResourceFile} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceFile get() { return get(null); } @@ -59,8 +65,11 @@ public CustomDataProvidedResourceFile get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceFile} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceFile get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -70,8 +79,11 @@ public CustomDataProvidedResourceFile get(@jakarta.annotation.Nullable final jav /** * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -79,8 +91,11 @@ public RequestInformation toGetRequestInformation() { * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -91,8 +106,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CustomDataProvidedResourceFileItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CustomDataProvidedResourceFileItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CustomDataProvidedResourceFileItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/files/item/value/ContentRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/files/item/value/ContentRequestBuilder.java index ffdbf6a21df..9013cbba55c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/files/item/value/ContentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/files/item/value/ContentRequestBuilder.java @@ -38,7 +38,10 @@ public ContentRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j /** * The unique identifier for an entity. Read-only. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -46,7 +49,10 @@ public void delete() { * The unique identifier for an entity. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * The unique identifier for an entity. Read-only. * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public InputStream get() { return get(null); } @@ -67,8 +76,11 @@ public InputStream get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public InputStream get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -80,8 +92,11 @@ public InputStream get(@jakarta.annotation.Nullable final java.util.function.Con * @param body Binary request body * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public InputStream put(@jakarta.annotation.Nonnull final InputStream body) { return put(body, null); } @@ -91,8 +106,11 @@ public InputStream put(@jakarta.annotation.Nonnull final InputStream body) { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public InputStream put(@jakarta.annotation.Nonnull final InputStream body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPutRequestInformation(body, requestConfiguration); @@ -103,8 +121,11 @@ public InputStream put(@jakarta.annotation.Nonnull final InputStream body, @jaka /** * The unique identifier for an entity. Read-only. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -112,8 +133,11 @@ public RequestInformation toDeleteRequestInformation() { * The unique identifier for an entity. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -123,8 +147,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * The unique identifier for an entity. Read-only. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -132,8 +159,11 @@ public RequestInformation toGetRequestInformation() { * The unique identifier for an entity. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new); @@ -144,8 +174,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * The unique identifier for an entity. Read-only. * @param body Binary request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull final InputStream body) { return toPutRequestInformation(body, null); } @@ -154,8 +187,11 @@ public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull fi * @param body Binary request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull final InputStream body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PUT, urlTemplate, pathParameters); @@ -168,8 +204,11 @@ public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull fi * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ContentRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ContentRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ContentRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/uploadfile/UploadFileRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/uploadfile/UploadFileRequestBuilder.java index 0f0f1466767..47536fc4db3 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/uploadfile/UploadFileRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/uploadfile/UploadFileRequestBuilder.java @@ -39,9 +39,12 @@ public UploadFileRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, * Upload a file in a customDataProvidedResourceUploadSession created for a customDataProvidedResource. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession post() { return post(null); } @@ -50,9 +53,12 @@ public CustomDataProvidedResourceUploadSession post() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -62,8 +68,11 @@ public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nullable /** * Upload a file in a customDataProvidedResourceUploadSession created for a customDataProvidedResource. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation() { * Upload a file in a customDataProvidedResourceUploadSession created for a customDataProvidedResource. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -83,8 +95,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link UploadFileRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public UploadFileRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new UploadFileRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java index 97a5c0ded26..dd1f4ac75ed 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java @@ -26,7 +26,10 @@ public class AccessPackageResourceScopesRequestBuilder extends BaseRequestBuilde /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the accessPackageResourceScopes property of the microsoft.graph.accessPackageResource entity. * @param accessPackageResourceScopeId The unique identifier of accessPackageResourceScope * @return a {@link AccessPackageResourceScopeItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceScopeItemRequestBuilder byAccessPackageResourceScopeId(@jakarta.annotation.Nonnull final String accessPackageResourceScopeId) { Objects.requireNonNull(accessPackageResourceScopeId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public AccessPackageResourceScopesRequestBuilder(@jakarta.annotation.Nonnull fin * Read-only. Nullable. Supports $expand. * @return a {@link AccessPackageResourceScopeCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScopeCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public AccessPackageResourceScopeCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceScopeCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScopeCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public AccessPackageResourceScopeCollectionResponse get(@jakarta.annotation.Null * @param body The request body * @return a {@link AccessPackageResourceScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScope post(@jakarta.annotation.Nonnull final AccessPackageResourceScope body) { return post(body, null); } @@ -97,8 +112,11 @@ public AccessPackageResourceScope post(@jakarta.annotation.Nonnull final AccessP * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScope post(@jakarta.annotation.Nonnull final AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public AccessPackageResourceScope post(@jakarta.annotation.Nonnull final AccessP /** * Read-only. Nullable. Supports $expand. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Read-only. Nullable. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to accessPackageResourceScopes for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceScope body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceScopesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceScopesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceScopesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourcescopes/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourcescopes/count/CountRequestBuilder.java index bb8d3035fa6..608f8ba1a86 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourcescopes/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourcescopes/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java index e30a04b5d95..031068c2376 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java @@ -39,7 +39,10 @@ public AccessPackageResourceScopeItemRequestBuilder(@jakarta.annotation.Nonnull /** * Delete navigation property accessPackageResourceScopes for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -47,7 +50,10 @@ public void delete() { * Delete navigation property accessPackageResourceScopes for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -58,8 +64,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Read-only. Nullable. Supports $expand. * @return a {@link AccessPackageResourceScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScope get() { return get(null); } @@ -68,8 +77,11 @@ public AccessPackageResourceScope get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScope get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -81,8 +93,11 @@ public AccessPackageResourceScope get(@jakarta.annotation.Nullable final java.ut * @param body The request body * @return a {@link AccessPackageResourceScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScope patch(@jakarta.annotation.Nonnull final AccessPackageResourceScope body) { return patch(body, null); } @@ -92,8 +107,11 @@ public AccessPackageResourceScope patch(@jakarta.annotation.Nonnull final Access * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScope patch(@jakarta.annotation.Nonnull final AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -104,8 +122,11 @@ public AccessPackageResourceScope patch(@jakarta.annotation.Nonnull final Access /** * Delete navigation property accessPackageResourceScopes for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -113,8 +134,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property accessPackageResourceScopes for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Read-only. Nullable. Supports $expand. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -133,8 +160,11 @@ public RequestInformation toGetRequestInformation() { * Read-only. Nullable. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -145,8 +175,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property accessPackageResourceScopes in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceScope body) { return toPatchRequestInformation(body, null); } @@ -155,8 +188,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -169,8 +205,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceScopeItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceScopeItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceScopeItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/externaloriginresourceconnector/ExternalOriginResourceConnectorRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/externaloriginresourceconnector/ExternalOriginResourceConnectorRequestBuilder.java index 79d2bb6d341..5644e57f0d5 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/externaloriginresourceconnector/ExternalOriginResourceConnectorRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/externaloriginresourceconnector/ExternalOriginResourceConnectorRequestBuilder.java @@ -40,8 +40,11 @@ public ExternalOriginResourceConnectorRequestBuilder(@jakarta.annotation.Nonnull * The connector that integrates with external origin systems to provision access to resources from those systems. Read-only. Nullable. * @return a {@link ExternalOriginResourceConnector} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ExternalOriginResourceConnector get() { return get(null); } @@ -50,8 +53,11 @@ public ExternalOriginResourceConnector get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ExternalOriginResourceConnector} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ExternalOriginResourceConnector get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public ExternalOriginResourceConnector get(@jakarta.annotation.Nullable final ja /** * The connector that integrates with external origin systems to provision access to resources from those systems. Read-only. Nullable. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * The connector that integrates with external origin systems to provision access to resources from those systems. Read-only. Nullable. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ExternalOriginResourceConnectorRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ExternalOriginResourceConnectorRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ExternalOriginResourceConnectorRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/refresh/RefreshRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/refresh/RefreshRequestBuilder.java index 9ec81de3fa4..8cf1b870108 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/refresh/RefreshRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/refresh/RefreshRequestBuilder.java @@ -37,8 +37,11 @@ public RefreshRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j /** * In Microsoft Entra entitlement management, refresh the accessPackageResource object to fetch the latest details for displayName, description, and resourceType from the origin system. For the AadApplication originSystem, this operation also updates the displayName and description for the accessPackageResourceRole. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * In Microsoft Entra entitlement management, refresh the accessPackageResource object to fetch the latest details for displayName, description, and resourceType from the origin system. For the AadApplication originSystem, this operation also updates the displayName and description for the accessPackageResourceRole. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * In Microsoft Entra entitlement management, refresh the accessPackageResource object to fetch the latest details for displayName, description, and resourceType from the origin system. For the AadApplication originSystem, this operation also updates the displayName and description for the accessPackageResourceRole. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * In Microsoft Entra entitlement management, refresh the accessPackageResource object to fetch the latest details for displayName, description, and resourceType from the origin system. For the AadApplication originSystem, this operation also updates the displayName and description for the accessPackageResourceRole. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RefreshRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RefreshRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RefreshRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/uploadsessions/UploadSessionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/uploadsessions/UploadSessionsRequestBuilder.java index dec9fbafe39..047f797f053 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/uploadsessions/UploadSessionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/uploadsessions/UploadSessionsRequestBuilder.java @@ -26,7 +26,10 @@ public class UploadSessionsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the uploadSessions property of the microsoft.graph.accessPackageResource entity. * @param customDataProvidedResourceUploadSessionId The unique identifier of customDataProvidedResourceUploadSession * @return a {@link CustomDataProvidedResourceUploadSessionItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CustomDataProvidedResourceUploadSessionItemRequestBuilder byCustomDataProvidedResourceUploadSessionId(@jakarta.annotation.Nonnull final String customDataProvidedResourceUploadSessionId) { Objects.requireNonNull(customDataProvidedResourceUploadSessionId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public UploadSessionsRequestBuilder(@jakarta.annotation.Nonnull final String raw * Get uploadSessions from identityGovernance * @return a {@link CustomDataProvidedResourceUploadSessionCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSessionCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public CustomDataProvidedResourceUploadSessionCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSessionCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSessionCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public CustomDataProvidedResourceUploadSessionCollectionResponse get(@jakarta.an * @param body The request body * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body) { return post(body, null); } @@ -97,8 +112,11 @@ public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nonnull * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nonnull /** * Get uploadSessions from identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Get uploadSessions from identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to uploadSessions for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link UploadSessionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public UploadSessionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new UploadSessionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/uploadsessions/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/uploadsessions/count/CountRequestBuilder.java index 5da250a2d6c..443aa7cb372 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/uploadsessions/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/uploadsessions/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/CustomDataProvidedResourceUploadSessionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/CustomDataProvidedResourceUploadSessionItemRequestBuilder.java index 313440e90c9..0792ba111fc 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/CustomDataProvidedResourceUploadSessionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/CustomDataProvidedResourceUploadSessionItemRequestBuilder.java @@ -25,7 +25,10 @@ public class CustomDataProvidedResourceUploadSessionItemRequestBuilder extends B /** * Provides operations to manage the files property of the microsoft.graph.customDataProvidedResourceUploadSession entity. * @return a {@link FilesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public FilesRequestBuilder files() { return new FilesRequestBuilder(pathParameters, requestAdapter); @@ -33,7 +36,10 @@ public FilesRequestBuilder files() { /** * Provides operations to call the uploadFile method. * @return a {@link UploadFileRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public UploadFileRequestBuilder uploadFile() { return new UploadFileRequestBuilder(pathParameters, requestAdapter); @@ -57,7 +63,10 @@ public CustomDataProvidedResourceUploadSessionItemRequestBuilder(@jakarta.annota /** * Delete navigation property uploadSessions for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -65,7 +74,10 @@ public void delete() { * Delete navigation property uploadSessions for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -76,8 +88,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Get uploadSessions from identityGovernance * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession get() { return get(null); } @@ -86,8 +101,11 @@ public CustomDataProvidedResourceUploadSession get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -99,8 +117,11 @@ public CustomDataProvidedResourceUploadSession get(@jakarta.annotation.Nullable * @param body The request body * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession patch(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body) { return patch(body, null); } @@ -110,8 +131,11 @@ public CustomDataProvidedResourceUploadSession patch(@jakarta.annotation.Nonnull * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession patch(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -122,8 +146,11 @@ public CustomDataProvidedResourceUploadSession patch(@jakarta.annotation.Nonnull /** * Delete navigation property uploadSessions for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -131,8 +158,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property uploadSessions for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -142,8 +172,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Get uploadSessions from identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -151,8 +184,11 @@ public RequestInformation toGetRequestInformation() { * Get uploadSessions from identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -163,8 +199,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property uploadSessions in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body) { return toPatchRequestInformation(body, null); } @@ -173,8 +212,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -187,8 +229,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CustomDataProvidedResourceUploadSessionItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CustomDataProvidedResourceUploadSessionItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CustomDataProvidedResourceUploadSessionItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/files/FilesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/files/FilesRequestBuilder.java index b50c4bb178d..77b098dde52 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/files/FilesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/files/FilesRequestBuilder.java @@ -25,7 +25,10 @@ public class FilesRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -34,8 +37,11 @@ public CountRequestBuilder count() { * Provides operations to manage the files property of the microsoft.graph.customDataProvidedResourceUploadSession entity. * @param customDataProvidedResourceFileId The unique identifier of customDataProvidedResourceFile * @return a {@link CustomDataProvidedResourceFileItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CustomDataProvidedResourceFileItemRequestBuilder byCustomDataProvidedResourceFileId(@jakarta.annotation.Nonnull final String customDataProvidedResourceFileId) { Objects.requireNonNull(customDataProvidedResourceFileId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -62,8 +68,11 @@ public FilesRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @return a {@link CustomDataProvidedResourceFileCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceFileCollectionResponse get() { return get(null); } @@ -72,8 +81,11 @@ public CustomDataProvidedResourceFileCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceFileCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceFileCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -83,8 +95,11 @@ public CustomDataProvidedResourceFileCollectionResponse get(@jakarta.annotation. /** * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -92,8 +107,11 @@ public RequestInformation toGetRequestInformation() { * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -104,8 +122,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link FilesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new FilesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/files/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/files/count/CountRequestBuilder.java index 49f12651ffa..e5ae67428e7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/files/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/files/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/files/item/CustomDataProvidedResourceFileItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/files/item/CustomDataProvidedResourceFileItemRequestBuilder.java index 2c92f6a3953..7775b24c0c1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/files/item/CustomDataProvidedResourceFileItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/files/item/CustomDataProvidedResourceFileItemRequestBuilder.java @@ -24,7 +24,10 @@ public class CustomDataProvidedResourceFileItemRequestBuilder extends BaseReques /** * Provides operations to manage the media for the identityGovernance entity. * @return a {@link ContentRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ContentRequestBuilder content() { return new ContentRequestBuilder(pathParameters, requestAdapter); @@ -49,8 +52,11 @@ public CustomDataProvidedResourceFileItemRequestBuilder(@jakarta.annotation.Nonn * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @return a {@link CustomDataProvidedResourceFile} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceFile get() { return get(null); } @@ -59,8 +65,11 @@ public CustomDataProvidedResourceFile get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceFile} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceFile get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -70,8 +79,11 @@ public CustomDataProvidedResourceFile get(@jakarta.annotation.Nullable final jav /** * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -79,8 +91,11 @@ public RequestInformation toGetRequestInformation() { * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -91,8 +106,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CustomDataProvidedResourceFileItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CustomDataProvidedResourceFileItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CustomDataProvidedResourceFileItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/files/item/value/ContentRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/files/item/value/ContentRequestBuilder.java index d44e0505eb7..b62ba48b617 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/files/item/value/ContentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/files/item/value/ContentRequestBuilder.java @@ -38,7 +38,10 @@ public ContentRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j /** * The unique identifier for an entity. Read-only. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -46,7 +49,10 @@ public void delete() { * The unique identifier for an entity. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * The unique identifier for an entity. Read-only. * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public InputStream get() { return get(null); } @@ -67,8 +76,11 @@ public InputStream get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public InputStream get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -80,8 +92,11 @@ public InputStream get(@jakarta.annotation.Nullable final java.util.function.Con * @param body Binary request body * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public InputStream put(@jakarta.annotation.Nonnull final InputStream body) { return put(body, null); } @@ -91,8 +106,11 @@ public InputStream put(@jakarta.annotation.Nonnull final InputStream body) { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public InputStream put(@jakarta.annotation.Nonnull final InputStream body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPutRequestInformation(body, requestConfiguration); @@ -103,8 +121,11 @@ public InputStream put(@jakarta.annotation.Nonnull final InputStream body, @jaka /** * The unique identifier for an entity. Read-only. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -112,8 +133,11 @@ public RequestInformation toDeleteRequestInformation() { * The unique identifier for an entity. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -123,8 +147,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * The unique identifier for an entity. Read-only. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -132,8 +159,11 @@ public RequestInformation toGetRequestInformation() { * The unique identifier for an entity. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new); @@ -144,8 +174,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * The unique identifier for an entity. Read-only. * @param body Binary request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull final InputStream body) { return toPutRequestInformation(body, null); } @@ -154,8 +187,11 @@ public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull fi * @param body Binary request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull final InputStream body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PUT, urlTemplate, pathParameters); @@ -168,8 +204,11 @@ public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull fi * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ContentRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ContentRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ContentRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/uploadfile/UploadFileRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/uploadfile/UploadFileRequestBuilder.java index c0674ac35ca..c7dd4529664 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/uploadfile/UploadFileRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/uploadfile/UploadFileRequestBuilder.java @@ -39,9 +39,12 @@ public UploadFileRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, * Upload a file in a customDataProvidedResourceUploadSession created for a customDataProvidedResource. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession post() { return post(null); } @@ -50,9 +53,12 @@ public CustomDataProvidedResourceUploadSession post() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -62,8 +68,11 @@ public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nullable /** * Upload a file in a customDataProvidedResourceUploadSession created for a customDataProvidedResource. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation() { * Upload a file in a customDataProvidedResourceUploadSession created for a customDataProvidedResource. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -83,8 +95,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link UploadFileRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public UploadFileRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new UploadFileRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/AccessPackageResourcesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/AccessPackageResourcesRequestBuilder.java index 3dd3a672bc1..56fcb6ac241 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/AccessPackageResourcesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/AccessPackageResourcesRequestBuilder.java @@ -26,7 +26,10 @@ public class AccessPackageResourcesRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the accessPackageResources property of the microsoft.graph.entitlementManagement entity. * @param accessPackageResourceId The unique identifier of accessPackageResource * @return a {@link AccessPackageResourceItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceItemRequestBuilder byAccessPackageResourceId(@jakarta.annotation.Nonnull final String accessPackageResourceId) { Objects.requireNonNull(accessPackageResourceId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public AccessPackageResourcesRequestBuilder(@jakarta.annotation.Nonnull final St * A reference to a resource associated with an access package catalog. * @return a {@link AccessPackageResourceCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public AccessPackageResourceCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public AccessPackageResourceCollectionResponse get(@jakarta.annotation.Nullable * @param body The request body * @return a {@link AccessPackageResource} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResource post(@jakarta.annotation.Nonnull final AccessPackageResource body) { return post(body, null); } @@ -97,8 +112,11 @@ public AccessPackageResource post(@jakarta.annotation.Nonnull final AccessPackag * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResource} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResource post(@jakarta.annotation.Nonnull final AccessPackageResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public AccessPackageResource post(@jakarta.annotation.Nonnull final AccessPackag /** * A reference to a resource associated with an access package catalog. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * A reference to a resource associated with an access package catalog. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to accessPackageResources for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResource body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourcesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourcesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourcesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/count/CountRequestBuilder.java index b974cbfcfed..e544dc684af 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/AccessPackageResourceItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/AccessPackageResourceItemRequestBuilder.java index c27dfd61533..1e57a247255 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/AccessPackageResourceItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/AccessPackageResourceItemRequestBuilder.java @@ -29,7 +29,10 @@ public class AccessPackageResourceItemRequestBuilder extends BaseRequestBuilder /** * Provides operations to manage the accessPackageResourceEnvironment property of the microsoft.graph.accessPackageResource entity. * @return a {@link AccessPackageResourceEnvironmentRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackageResourceEnvironmentRequestBuilder accessPackageResourceEnvironment() { return new AccessPackageResourceEnvironmentRequestBuilder(pathParameters, requestAdapter); @@ -37,7 +40,10 @@ public AccessPackageResourceEnvironmentRequestBuilder accessPackageResourceEnvir /** * Provides operations to manage the accessPackageResourceRoles property of the microsoft.graph.accessPackageResource entity. * @return a {@link AccessPackageResourceRolesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackageResourceRolesRequestBuilder accessPackageResourceRoles() { return new AccessPackageResourceRolesRequestBuilder(pathParameters, requestAdapter); @@ -45,7 +51,10 @@ public AccessPackageResourceRolesRequestBuilder accessPackageResourceRoles() { /** * Provides operations to manage the accessPackageResourceScopes property of the microsoft.graph.accessPackageResource entity. * @return a {@link AccessPackageResourceScopesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackageResourceScopesRequestBuilder accessPackageResourceScopes() { return new AccessPackageResourceScopesRequestBuilder(pathParameters, requestAdapter); @@ -53,7 +62,10 @@ public AccessPackageResourceScopesRequestBuilder accessPackageResourceScopes() { /** * Provides operations to manage the externalOriginResourceConnector property of the microsoft.graph.accessPackageResource entity. * @return a {@link ExternalOriginResourceConnectorRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ExternalOriginResourceConnectorRequestBuilder externalOriginResourceConnector() { return new ExternalOriginResourceConnectorRequestBuilder(pathParameters, requestAdapter); @@ -61,7 +73,10 @@ public ExternalOriginResourceConnectorRequestBuilder externalOriginResourceConne /** * Provides operations to call the refresh method. * @return a {@link RefreshRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public RefreshRequestBuilder refresh() { return new RefreshRequestBuilder(pathParameters, requestAdapter); @@ -69,7 +84,10 @@ public RefreshRequestBuilder refresh() { /** * Provides operations to manage the uploadSessions property of the microsoft.graph.accessPackageResource entity. * @return a {@link UploadSessionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public UploadSessionsRequestBuilder uploadSessions() { return new UploadSessionsRequestBuilder(pathParameters, requestAdapter); @@ -93,7 +111,10 @@ public AccessPackageResourceItemRequestBuilder(@jakarta.annotation.Nonnull final /** * Delete navigation property accessPackageResources for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -101,7 +122,10 @@ public void delete() { * Delete navigation property accessPackageResources for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -112,8 +136,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * A reference to a resource associated with an access package catalog. * @return a {@link AccessPackageResource} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResource get() { return get(null); } @@ -122,8 +149,11 @@ public AccessPackageResource get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResource} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResource get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -135,8 +165,11 @@ public AccessPackageResource get(@jakarta.annotation.Nullable final java.util.fu * @param body The request body * @return a {@link AccessPackageResource} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResource patch(@jakarta.annotation.Nonnull final AccessPackageResource body) { return patch(body, null); } @@ -146,8 +179,11 @@ public AccessPackageResource patch(@jakarta.annotation.Nonnull final AccessPacka * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResource} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResource patch(@jakarta.annotation.Nonnull final AccessPackageResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -158,8 +194,11 @@ public AccessPackageResource patch(@jakarta.annotation.Nonnull final AccessPacka /** * Delete navigation property accessPackageResources for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -167,8 +206,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property accessPackageResources for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -178,8 +220,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * A reference to a resource associated with an access package catalog. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -187,8 +232,11 @@ public RequestInformation toGetRequestInformation() { * A reference to a resource associated with an access package catalog. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -199,8 +247,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property accessPackageResources in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResource body) { return toPatchRequestInformation(body, null); } @@ -209,8 +260,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -223,8 +277,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceenvironment/AccessPackageResourceEnvironmentRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceenvironment/AccessPackageResourceEnvironmentRequestBuilder.java index 2ad4e3ab472..eab503e588d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceenvironment/AccessPackageResourceEnvironmentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceenvironment/AccessPackageResourceEnvironmentRequestBuilder.java @@ -40,8 +40,11 @@ public AccessPackageResourceEnvironmentRequestBuilder(@jakarta.annotation.Nonnul * Contains the environment information for the resource. This environment can be set using either the @odata.bind annotation or the environment's originId. Supports $expand. * @return a {@link AccessPackageResourceEnvironment} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceEnvironment get() { return get(null); } @@ -50,8 +53,11 @@ public AccessPackageResourceEnvironment get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceEnvironment} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceEnvironment get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public AccessPackageResourceEnvironment get(@jakarta.annotation.Nullable final j /** * Contains the environment information for the resource. This environment can be set using either the @odata.bind annotation or the environment's originId. Supports $expand. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * Contains the environment information for the resource. This environment can be set using either the @odata.bind annotation or the environment's originId. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceEnvironmentRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceEnvironmentRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceEnvironmentRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java index 5af90027471..9ec59d4bc67 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java @@ -26,7 +26,10 @@ public class AccessPackageResourceRolesRequestBuilder extends BaseRequestBuilder /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the accessPackageResourceRoles property of the microsoft.graph.accessPackageResource entity. * @param accessPackageResourceRoleId The unique identifier of accessPackageResourceRole * @return a {@link AccessPackageResourceRoleItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceRoleItemRequestBuilder byAccessPackageResourceRoleId(@jakarta.annotation.Nonnull final String accessPackageResourceRoleId) { Objects.requireNonNull(accessPackageResourceRoleId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public AccessPackageResourceRolesRequestBuilder(@jakarta.annotation.Nonnull fina * Read-only. Nullable. Supports $expand. * @return a {@link AccessPackageResourceRoleCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRoleCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public AccessPackageResourceRoleCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceRoleCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRoleCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public AccessPackageResourceRoleCollectionResponse get(@jakarta.annotation.Nulla * @param body The request body * @return a {@link AccessPackageResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRole post(@jakarta.annotation.Nonnull final AccessPackageResourceRole body) { return post(body, null); } @@ -97,8 +112,11 @@ public AccessPackageResourceRole post(@jakarta.annotation.Nonnull final AccessPa * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRole post(@jakarta.annotation.Nonnull final AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public AccessPackageResourceRole post(@jakarta.annotation.Nonnull final AccessPa /** * Read-only. Nullable. Supports $expand. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Read-only. Nullable. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to accessPackageResourceRoles for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRole body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceRolesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceRolesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceRolesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/count/CountRequestBuilder.java index 70386cd87c8..921495e3036 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java index 32981f01cd5..73ab235838f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java @@ -24,7 +24,10 @@ public class AccessPackageResourceRoleItemRequestBuilder extends BaseRequestBuil /** * Provides operations to manage the accessPackageResource property of the microsoft.graph.accessPackageResourceRole entity. * @return a {@link AccessPackageResourceRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackageResourceRequestBuilder accessPackageResource() { return new AccessPackageResourceRequestBuilder(pathParameters, requestAdapter); @@ -48,7 +51,10 @@ public AccessPackageResourceRoleItemRequestBuilder(@jakarta.annotation.Nonnull f /** * Delete navigation property accessPackageResourceRoles for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -56,7 +62,10 @@ public void delete() { * Delete navigation property accessPackageResourceRoles for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -67,8 +76,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Read-only. Nullable. Supports $expand. * @return a {@link AccessPackageResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRole get() { return get(null); } @@ -77,8 +89,11 @@ public AccessPackageResourceRole get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRole get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -90,8 +105,11 @@ public AccessPackageResourceRole get(@jakarta.annotation.Nullable final java.uti * @param body The request body * @return a {@link AccessPackageResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRole patch(@jakarta.annotation.Nonnull final AccessPackageResourceRole body) { return patch(body, null); } @@ -101,8 +119,11 @@ public AccessPackageResourceRole patch(@jakarta.annotation.Nonnull final AccessP * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRole patch(@jakarta.annotation.Nonnull final AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -113,8 +134,11 @@ public AccessPackageResourceRole patch(@jakarta.annotation.Nonnull final AccessP /** * Delete navigation property accessPackageResourceRoles for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -122,8 +146,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property accessPackageResourceRoles for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -133,8 +160,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Read-only. Nullable. Supports $expand. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -142,8 +172,11 @@ public RequestInformation toGetRequestInformation() { * Read-only. Nullable. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -154,8 +187,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property accessPackageResourceRoles in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRole body) { return toPatchRequestInformation(body, null); } @@ -164,8 +200,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -178,8 +217,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceRoleItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceRoleItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceRoleItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/AccessPackageResourceRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/AccessPackageResourceRequestBuilder.java index 7fd983b6cd7..9db9a87885b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/AccessPackageResourceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/AccessPackageResourceRequestBuilder.java @@ -28,7 +28,10 @@ public class AccessPackageResourceRequestBuilder extends BaseRequestBuilder { /** * Provides operations to manage the accessPackageResourceEnvironment property of the microsoft.graph.accessPackageResource entity. * @return a {@link AccessPackageResourceEnvironmentRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackageResourceEnvironmentRequestBuilder accessPackageResourceEnvironment() { return new AccessPackageResourceEnvironmentRequestBuilder(pathParameters, requestAdapter); @@ -36,7 +39,10 @@ public AccessPackageResourceEnvironmentRequestBuilder accessPackageResourceEnvir /** * Provides operations to manage the accessPackageResourceScopes property of the microsoft.graph.accessPackageResource entity. * @return a {@link AccessPackageResourceScopesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackageResourceScopesRequestBuilder accessPackageResourceScopes() { return new AccessPackageResourceScopesRequestBuilder(pathParameters, requestAdapter); @@ -44,7 +50,10 @@ public AccessPackageResourceScopesRequestBuilder accessPackageResourceScopes() { /** * Provides operations to manage the externalOriginResourceConnector property of the microsoft.graph.accessPackageResource entity. * @return a {@link ExternalOriginResourceConnectorRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ExternalOriginResourceConnectorRequestBuilder externalOriginResourceConnector() { return new ExternalOriginResourceConnectorRequestBuilder(pathParameters, requestAdapter); @@ -52,7 +61,10 @@ public ExternalOriginResourceConnectorRequestBuilder externalOriginResourceConne /** * Provides operations to call the refresh method. * @return a {@link RefreshRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public RefreshRequestBuilder refresh() { return new RefreshRequestBuilder(pathParameters, requestAdapter); @@ -60,7 +72,10 @@ public RefreshRequestBuilder refresh() { /** * Provides operations to manage the uploadSessions property of the microsoft.graph.accessPackageResource entity. * @return a {@link UploadSessionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public UploadSessionsRequestBuilder uploadSessions() { return new UploadSessionsRequestBuilder(pathParameters, requestAdapter); @@ -84,7 +99,10 @@ public AccessPackageResourceRequestBuilder(@jakarta.annotation.Nonnull final Str /** * Delete navigation property accessPackageResource for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -92,7 +110,10 @@ public void delete() { * Delete navigation property accessPackageResource for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -103,8 +124,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Get accessPackageResource from identityGovernance * @return a {@link AccessPackageResource} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResource get() { return get(null); } @@ -113,8 +137,11 @@ public AccessPackageResource get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResource} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResource get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -126,8 +153,11 @@ public AccessPackageResource get(@jakarta.annotation.Nullable final java.util.fu * @param body The request body * @return a {@link AccessPackageResource} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResource patch(@jakarta.annotation.Nonnull final AccessPackageResource body) { return patch(body, null); } @@ -137,8 +167,11 @@ public AccessPackageResource patch(@jakarta.annotation.Nonnull final AccessPacka * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResource} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResource patch(@jakarta.annotation.Nonnull final AccessPackageResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -149,8 +182,11 @@ public AccessPackageResource patch(@jakarta.annotation.Nonnull final AccessPacka /** * Delete navigation property accessPackageResource for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -158,8 +194,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property accessPackageResource for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -169,8 +208,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Get accessPackageResource from identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -178,8 +220,11 @@ public RequestInformation toGetRequestInformation() { * Get accessPackageResource from identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -190,8 +235,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property accessPackageResource in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResource body) { return toPatchRequestInformation(body, null); } @@ -200,8 +248,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -214,8 +265,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/accesspackageresourceenvironment/AccessPackageResourceEnvironmentRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/accesspackageresourceenvironment/AccessPackageResourceEnvironmentRequestBuilder.java index d1b48934bcd..f705752ae1d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/accesspackageresourceenvironment/AccessPackageResourceEnvironmentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/accesspackageresourceenvironment/AccessPackageResourceEnvironmentRequestBuilder.java @@ -40,8 +40,11 @@ public AccessPackageResourceEnvironmentRequestBuilder(@jakarta.annotation.Nonnul * Contains the environment information for the resource. This environment can be set using either the @odata.bind annotation or the environment's originId. Supports $expand. * @return a {@link AccessPackageResourceEnvironment} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceEnvironment get() { return get(null); } @@ -50,8 +53,11 @@ public AccessPackageResourceEnvironment get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceEnvironment} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceEnvironment get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public AccessPackageResourceEnvironment get(@jakarta.annotation.Nullable final j /** * Contains the environment information for the resource. This environment can be set using either the @odata.bind annotation or the environment's originId. Supports $expand. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * Contains the environment information for the resource. This environment can be set using either the @odata.bind annotation or the environment's originId. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceEnvironmentRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceEnvironmentRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceEnvironmentRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java index a6da4eab0e6..8e3a3afbb93 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java @@ -26,7 +26,10 @@ public class AccessPackageResourceScopesRequestBuilder extends BaseRequestBuilde /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the accessPackageResourceScopes property of the microsoft.graph.accessPackageResource entity. * @param accessPackageResourceScopeId The unique identifier of accessPackageResourceScope * @return a {@link AccessPackageResourceScopeItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceScopeItemRequestBuilder byAccessPackageResourceScopeId(@jakarta.annotation.Nonnull final String accessPackageResourceScopeId) { Objects.requireNonNull(accessPackageResourceScopeId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public AccessPackageResourceScopesRequestBuilder(@jakarta.annotation.Nonnull fin * Read-only. Nullable. Supports $expand. * @return a {@link AccessPackageResourceScopeCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScopeCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public AccessPackageResourceScopeCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceScopeCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScopeCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public AccessPackageResourceScopeCollectionResponse get(@jakarta.annotation.Null * @param body The request body * @return a {@link AccessPackageResourceScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScope post(@jakarta.annotation.Nonnull final AccessPackageResourceScope body) { return post(body, null); } @@ -97,8 +112,11 @@ public AccessPackageResourceScope post(@jakarta.annotation.Nonnull final AccessP * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScope post(@jakarta.annotation.Nonnull final AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public AccessPackageResourceScope post(@jakarta.annotation.Nonnull final AccessP /** * Read-only. Nullable. Supports $expand. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Read-only. Nullable. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to accessPackageResourceScopes for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceScope body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceScopesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceScopesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceScopesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/count/CountRequestBuilder.java index 8eee7c81b15..2d5f074e00c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java index 53e0d6edddc..c1ba3b7e6dc 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java @@ -24,7 +24,10 @@ public class AccessPackageResourceScopeItemRequestBuilder extends BaseRequestBui /** * Provides operations to manage the accessPackageResource property of the microsoft.graph.accessPackageResourceScope entity. * @return a {@link AccessPackageResourceRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackageResourceRequestBuilder accessPackageResource() { return new AccessPackageResourceRequestBuilder(pathParameters, requestAdapter); @@ -48,7 +51,10 @@ public AccessPackageResourceScopeItemRequestBuilder(@jakarta.annotation.Nonnull /** * Delete navigation property accessPackageResourceScopes for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -56,7 +62,10 @@ public void delete() { * Delete navigation property accessPackageResourceScopes for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -67,8 +76,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Read-only. Nullable. Supports $expand. * @return a {@link AccessPackageResourceScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScope get() { return get(null); } @@ -77,8 +89,11 @@ public AccessPackageResourceScope get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScope get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -90,8 +105,11 @@ public AccessPackageResourceScope get(@jakarta.annotation.Nullable final java.ut * @param body The request body * @return a {@link AccessPackageResourceScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScope patch(@jakarta.annotation.Nonnull final AccessPackageResourceScope body) { return patch(body, null); } @@ -101,8 +119,11 @@ public AccessPackageResourceScope patch(@jakarta.annotation.Nonnull final Access * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScope patch(@jakarta.annotation.Nonnull final AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -113,8 +134,11 @@ public AccessPackageResourceScope patch(@jakarta.annotation.Nonnull final Access /** * Delete navigation property accessPackageResourceScopes for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -122,8 +146,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property accessPackageResourceScopes for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -133,8 +160,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Read-only. Nullable. Supports $expand. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -142,8 +172,11 @@ public RequestInformation toGetRequestInformation() { * Read-only. Nullable. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -154,8 +187,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property accessPackageResourceScopes in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceScope body) { return toPatchRequestInformation(body, null); } @@ -164,8 +200,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -178,8 +217,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceScopeItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceScopeItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceScopeItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/AccessPackageResourceRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/AccessPackageResourceRequestBuilder.java index 199f64d86c3..cd935a1d645 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/AccessPackageResourceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/AccessPackageResourceRequestBuilder.java @@ -27,7 +27,10 @@ public class AccessPackageResourceRequestBuilder extends BaseRequestBuilder { /** * Provides operations to manage the accessPackageResourceEnvironment property of the microsoft.graph.accessPackageResource entity. * @return a {@link AccessPackageResourceEnvironmentRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackageResourceEnvironmentRequestBuilder accessPackageResourceEnvironment() { return new AccessPackageResourceEnvironmentRequestBuilder(pathParameters, requestAdapter); @@ -35,7 +38,10 @@ public AccessPackageResourceEnvironmentRequestBuilder accessPackageResourceEnvir /** * Provides operations to manage the externalOriginResourceConnector property of the microsoft.graph.accessPackageResource entity. * @return a {@link ExternalOriginResourceConnectorRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ExternalOriginResourceConnectorRequestBuilder externalOriginResourceConnector() { return new ExternalOriginResourceConnectorRequestBuilder(pathParameters, requestAdapter); @@ -43,7 +49,10 @@ public ExternalOriginResourceConnectorRequestBuilder externalOriginResourceConne /** * Provides operations to call the refresh method. * @return a {@link RefreshRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public RefreshRequestBuilder refresh() { return new RefreshRequestBuilder(pathParameters, requestAdapter); @@ -51,7 +60,10 @@ public RefreshRequestBuilder refresh() { /** * Provides operations to manage the uploadSessions property of the microsoft.graph.accessPackageResource entity. * @return a {@link UploadSessionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public UploadSessionsRequestBuilder uploadSessions() { return new UploadSessionsRequestBuilder(pathParameters, requestAdapter); @@ -75,7 +87,10 @@ public AccessPackageResourceRequestBuilder(@jakarta.annotation.Nonnull final Str /** * Delete navigation property accessPackageResource for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -83,7 +98,10 @@ public void delete() { * Delete navigation property accessPackageResource for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -94,8 +112,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Get accessPackageResource from identityGovernance * @return a {@link AccessPackageResource} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResource get() { return get(null); } @@ -104,8 +125,11 @@ public AccessPackageResource get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResource} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResource get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -117,8 +141,11 @@ public AccessPackageResource get(@jakarta.annotation.Nullable final java.util.fu * @param body The request body * @return a {@link AccessPackageResource} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResource patch(@jakarta.annotation.Nonnull final AccessPackageResource body) { return patch(body, null); } @@ -128,8 +155,11 @@ public AccessPackageResource patch(@jakarta.annotation.Nonnull final AccessPacka * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResource} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResource patch(@jakarta.annotation.Nonnull final AccessPackageResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -140,8 +170,11 @@ public AccessPackageResource patch(@jakarta.annotation.Nonnull final AccessPacka /** * Delete navigation property accessPackageResource for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -149,8 +182,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property accessPackageResource for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -160,8 +196,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Get accessPackageResource from identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -169,8 +208,11 @@ public RequestInformation toGetRequestInformation() { * Get accessPackageResource from identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -181,8 +223,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property accessPackageResource in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResource body) { return toPatchRequestInformation(body, null); } @@ -191,8 +236,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -205,8 +253,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceenvironment/AccessPackageResourceEnvironmentRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceenvironment/AccessPackageResourceEnvironmentRequestBuilder.java index 10d224f9ab6..f35790be12b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceenvironment/AccessPackageResourceEnvironmentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceenvironment/AccessPackageResourceEnvironmentRequestBuilder.java @@ -40,8 +40,11 @@ public AccessPackageResourceEnvironmentRequestBuilder(@jakarta.annotation.Nonnul * Contains the environment information for the resource. This environment can be set using either the @odata.bind annotation or the environment's originId. Supports $expand. * @return a {@link AccessPackageResourceEnvironment} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceEnvironment get() { return get(null); } @@ -50,8 +53,11 @@ public AccessPackageResourceEnvironment get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceEnvironment} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceEnvironment get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public AccessPackageResourceEnvironment get(@jakarta.annotation.Nullable final j /** * Contains the environment information for the resource. This environment can be set using either the @odata.bind annotation or the environment's originId. Supports $expand. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * Contains the environment information for the resource. This environment can be set using either the @odata.bind annotation or the environment's originId. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceEnvironmentRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceEnvironmentRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceEnvironmentRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/externaloriginresourceconnector/ExternalOriginResourceConnectorRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/externaloriginresourceconnector/ExternalOriginResourceConnectorRequestBuilder.java index cf7c5c1d23e..70e1010283d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/externaloriginresourceconnector/ExternalOriginResourceConnectorRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/externaloriginresourceconnector/ExternalOriginResourceConnectorRequestBuilder.java @@ -40,8 +40,11 @@ public ExternalOriginResourceConnectorRequestBuilder(@jakarta.annotation.Nonnull * The connector that integrates with external origin systems to provision access to resources from those systems. Read-only. Nullable. * @return a {@link ExternalOriginResourceConnector} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ExternalOriginResourceConnector get() { return get(null); } @@ -50,8 +53,11 @@ public ExternalOriginResourceConnector get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ExternalOriginResourceConnector} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ExternalOriginResourceConnector get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public ExternalOriginResourceConnector get(@jakarta.annotation.Nullable final ja /** * The connector that integrates with external origin systems to provision access to resources from those systems. Read-only. Nullable. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * The connector that integrates with external origin systems to provision access to resources from those systems. Read-only. Nullable. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ExternalOriginResourceConnectorRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ExternalOriginResourceConnectorRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ExternalOriginResourceConnectorRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/refresh/RefreshRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/refresh/RefreshRequestBuilder.java index 5a3c7c9b4c6..378a0d2710c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/refresh/RefreshRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/refresh/RefreshRequestBuilder.java @@ -37,8 +37,11 @@ public RefreshRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j /** * In Microsoft Entra entitlement management, refresh the accessPackageResource object to fetch the latest details for displayName, description, and resourceType from the origin system. For the AadApplication originSystem, this operation also updates the displayName and description for the accessPackageResourceRole. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * In Microsoft Entra entitlement management, refresh the accessPackageResource object to fetch the latest details for displayName, description, and resourceType from the origin system. For the AadApplication originSystem, this operation also updates the displayName and description for the accessPackageResourceRole. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * In Microsoft Entra entitlement management, refresh the accessPackageResource object to fetch the latest details for displayName, description, and resourceType from the origin system. For the AadApplication originSystem, this operation also updates the displayName and description for the accessPackageResourceRole. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * In Microsoft Entra entitlement management, refresh the accessPackageResource object to fetch the latest details for displayName, description, and resourceType from the origin system. For the AadApplication originSystem, this operation also updates the displayName and description for the accessPackageResourceRole. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RefreshRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RefreshRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RefreshRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/UploadSessionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/UploadSessionsRequestBuilder.java index a8e70d38b96..614d4f9ca7f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/UploadSessionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/UploadSessionsRequestBuilder.java @@ -26,7 +26,10 @@ public class UploadSessionsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the uploadSessions property of the microsoft.graph.accessPackageResource entity. * @param customDataProvidedResourceUploadSessionId The unique identifier of customDataProvidedResourceUploadSession * @return a {@link CustomDataProvidedResourceUploadSessionItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CustomDataProvidedResourceUploadSessionItemRequestBuilder byCustomDataProvidedResourceUploadSessionId(@jakarta.annotation.Nonnull final String customDataProvidedResourceUploadSessionId) { Objects.requireNonNull(customDataProvidedResourceUploadSessionId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public UploadSessionsRequestBuilder(@jakarta.annotation.Nonnull final String raw * Get uploadSessions from identityGovernance * @return a {@link CustomDataProvidedResourceUploadSessionCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSessionCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public CustomDataProvidedResourceUploadSessionCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSessionCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSessionCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public CustomDataProvidedResourceUploadSessionCollectionResponse get(@jakarta.an * @param body The request body * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body) { return post(body, null); } @@ -97,8 +112,11 @@ public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nonnull * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nonnull /** * Get uploadSessions from identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Get uploadSessions from identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to uploadSessions for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link UploadSessionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public UploadSessionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new UploadSessionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/count/CountRequestBuilder.java index e096515847e..dd31cae937d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/CustomDataProvidedResourceUploadSessionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/CustomDataProvidedResourceUploadSessionItemRequestBuilder.java index 3a4c560d543..492ecb65679 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/CustomDataProvidedResourceUploadSessionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/CustomDataProvidedResourceUploadSessionItemRequestBuilder.java @@ -25,7 +25,10 @@ public class CustomDataProvidedResourceUploadSessionItemRequestBuilder extends B /** * Provides operations to manage the files property of the microsoft.graph.customDataProvidedResourceUploadSession entity. * @return a {@link FilesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public FilesRequestBuilder files() { return new FilesRequestBuilder(pathParameters, requestAdapter); @@ -33,7 +36,10 @@ public FilesRequestBuilder files() { /** * Provides operations to call the uploadFile method. * @return a {@link UploadFileRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public UploadFileRequestBuilder uploadFile() { return new UploadFileRequestBuilder(pathParameters, requestAdapter); @@ -57,7 +63,10 @@ public CustomDataProvidedResourceUploadSessionItemRequestBuilder(@jakarta.annota /** * Delete navigation property uploadSessions for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -65,7 +74,10 @@ public void delete() { * Delete navigation property uploadSessions for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -76,8 +88,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Get uploadSessions from identityGovernance * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession get() { return get(null); } @@ -86,8 +101,11 @@ public CustomDataProvidedResourceUploadSession get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -99,8 +117,11 @@ public CustomDataProvidedResourceUploadSession get(@jakarta.annotation.Nullable * @param body The request body * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession patch(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body) { return patch(body, null); } @@ -110,8 +131,11 @@ public CustomDataProvidedResourceUploadSession patch(@jakarta.annotation.Nonnull * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession patch(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -122,8 +146,11 @@ public CustomDataProvidedResourceUploadSession patch(@jakarta.annotation.Nonnull /** * Delete navigation property uploadSessions for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -131,8 +158,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property uploadSessions for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -142,8 +172,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Get uploadSessions from identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -151,8 +184,11 @@ public RequestInformation toGetRequestInformation() { * Get uploadSessions from identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -163,8 +199,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property uploadSessions in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body) { return toPatchRequestInformation(body, null); } @@ -173,8 +212,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -187,8 +229,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CustomDataProvidedResourceUploadSessionItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CustomDataProvidedResourceUploadSessionItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CustomDataProvidedResourceUploadSessionItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/files/FilesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/files/FilesRequestBuilder.java index cb5a69f2d81..5dd7c8bcb14 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/files/FilesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/files/FilesRequestBuilder.java @@ -25,7 +25,10 @@ public class FilesRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -34,8 +37,11 @@ public CountRequestBuilder count() { * Provides operations to manage the files property of the microsoft.graph.customDataProvidedResourceUploadSession entity. * @param customDataProvidedResourceFileId The unique identifier of customDataProvidedResourceFile * @return a {@link CustomDataProvidedResourceFileItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CustomDataProvidedResourceFileItemRequestBuilder byCustomDataProvidedResourceFileId(@jakarta.annotation.Nonnull final String customDataProvidedResourceFileId) { Objects.requireNonNull(customDataProvidedResourceFileId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -62,8 +68,11 @@ public FilesRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @return a {@link CustomDataProvidedResourceFileCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceFileCollectionResponse get() { return get(null); } @@ -72,8 +81,11 @@ public CustomDataProvidedResourceFileCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceFileCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceFileCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -83,8 +95,11 @@ public CustomDataProvidedResourceFileCollectionResponse get(@jakarta.annotation. /** * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -92,8 +107,11 @@ public RequestInformation toGetRequestInformation() { * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -104,8 +122,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link FilesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new FilesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/files/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/files/count/CountRequestBuilder.java index 1ad4b7b4ebd..6bfa2e4c4a1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/files/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/files/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/files/item/CustomDataProvidedResourceFileItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/files/item/CustomDataProvidedResourceFileItemRequestBuilder.java index b0ab5cef139..492ec435aee 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/files/item/CustomDataProvidedResourceFileItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/files/item/CustomDataProvidedResourceFileItemRequestBuilder.java @@ -24,7 +24,10 @@ public class CustomDataProvidedResourceFileItemRequestBuilder extends BaseReques /** * Provides operations to manage the media for the identityGovernance entity. * @return a {@link ContentRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ContentRequestBuilder content() { return new ContentRequestBuilder(pathParameters, requestAdapter); @@ -49,8 +52,11 @@ public CustomDataProvidedResourceFileItemRequestBuilder(@jakarta.annotation.Nonn * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @return a {@link CustomDataProvidedResourceFile} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceFile get() { return get(null); } @@ -59,8 +65,11 @@ public CustomDataProvidedResourceFile get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceFile} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceFile get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -70,8 +79,11 @@ public CustomDataProvidedResourceFile get(@jakarta.annotation.Nullable final jav /** * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -79,8 +91,11 @@ public RequestInformation toGetRequestInformation() { * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -91,8 +106,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CustomDataProvidedResourceFileItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CustomDataProvidedResourceFileItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CustomDataProvidedResourceFileItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/files/item/value/ContentRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/files/item/value/ContentRequestBuilder.java index 29558c44103..bde61dffa48 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/files/item/value/ContentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/files/item/value/ContentRequestBuilder.java @@ -38,7 +38,10 @@ public ContentRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j /** * The unique identifier for an entity. Read-only. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -46,7 +49,10 @@ public void delete() { * The unique identifier for an entity. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * The unique identifier for an entity. Read-only. * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public InputStream get() { return get(null); } @@ -67,8 +76,11 @@ public InputStream get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public InputStream get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -80,8 +92,11 @@ public InputStream get(@jakarta.annotation.Nullable final java.util.function.Con * @param body Binary request body * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public InputStream put(@jakarta.annotation.Nonnull final InputStream body) { return put(body, null); } @@ -91,8 +106,11 @@ public InputStream put(@jakarta.annotation.Nonnull final InputStream body) { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public InputStream put(@jakarta.annotation.Nonnull final InputStream body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPutRequestInformation(body, requestConfiguration); @@ -103,8 +121,11 @@ public InputStream put(@jakarta.annotation.Nonnull final InputStream body, @jaka /** * The unique identifier for an entity. Read-only. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -112,8 +133,11 @@ public RequestInformation toDeleteRequestInformation() { * The unique identifier for an entity. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -123,8 +147,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * The unique identifier for an entity. Read-only. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -132,8 +159,11 @@ public RequestInformation toGetRequestInformation() { * The unique identifier for an entity. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new); @@ -144,8 +174,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * The unique identifier for an entity. Read-only. * @param body Binary request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull final InputStream body) { return toPutRequestInformation(body, null); } @@ -154,8 +187,11 @@ public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull fi * @param body Binary request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull final InputStream body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PUT, urlTemplate, pathParameters); @@ -168,8 +204,11 @@ public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull fi * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ContentRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ContentRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ContentRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/uploadfile/UploadFileRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/uploadfile/UploadFileRequestBuilder.java index b3aa08874de..3a08c2cbad5 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/uploadfile/UploadFileRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/uploadfile/UploadFileRequestBuilder.java @@ -39,9 +39,12 @@ public UploadFileRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, * Upload a file in a customDataProvidedResourceUploadSession created for a customDataProvidedResource. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession post() { return post(null); } @@ -50,9 +53,12 @@ public CustomDataProvidedResourceUploadSession post() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -62,8 +68,11 @@ public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nullable /** * Upload a file in a customDataProvidedResourceUploadSession created for a customDataProvidedResource. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation() { * Upload a file in a customDataProvidedResourceUploadSession created for a customDataProvidedResource. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -83,8 +95,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link UploadFileRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public UploadFileRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new UploadFileRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/externaloriginresourceconnector/ExternalOriginResourceConnectorRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/externaloriginresourceconnector/ExternalOriginResourceConnectorRequestBuilder.java index 17da662fa37..3ccfe062dbd 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/externaloriginresourceconnector/ExternalOriginResourceConnectorRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/externaloriginresourceconnector/ExternalOriginResourceConnectorRequestBuilder.java @@ -40,8 +40,11 @@ public ExternalOriginResourceConnectorRequestBuilder(@jakarta.annotation.Nonnull * The connector that integrates with external origin systems to provision access to resources from those systems. Read-only. Nullable. * @return a {@link ExternalOriginResourceConnector} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ExternalOriginResourceConnector get() { return get(null); } @@ -50,8 +53,11 @@ public ExternalOriginResourceConnector get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ExternalOriginResourceConnector} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ExternalOriginResourceConnector get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public ExternalOriginResourceConnector get(@jakarta.annotation.Nullable final ja /** * The connector that integrates with external origin systems to provision access to resources from those systems. Read-only. Nullable. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * The connector that integrates with external origin systems to provision access to resources from those systems. Read-only. Nullable. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ExternalOriginResourceConnectorRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ExternalOriginResourceConnectorRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ExternalOriginResourceConnectorRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/refresh/RefreshRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/refresh/RefreshRequestBuilder.java index 75e2894a994..b634db4041f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/refresh/RefreshRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/refresh/RefreshRequestBuilder.java @@ -37,8 +37,11 @@ public RefreshRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j /** * In Microsoft Entra entitlement management, refresh the accessPackageResource object to fetch the latest details for displayName, description, and resourceType from the origin system. For the AadApplication originSystem, this operation also updates the displayName and description for the accessPackageResourceRole. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * In Microsoft Entra entitlement management, refresh the accessPackageResource object to fetch the latest details for displayName, description, and resourceType from the origin system. For the AadApplication originSystem, this operation also updates the displayName and description for the accessPackageResourceRole. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * In Microsoft Entra entitlement management, refresh the accessPackageResource object to fetch the latest details for displayName, description, and resourceType from the origin system. For the AadApplication originSystem, this operation also updates the displayName and description for the accessPackageResourceRole. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * In Microsoft Entra entitlement management, refresh the accessPackageResource object to fetch the latest details for displayName, description, and resourceType from the origin system. For the AadApplication originSystem, this operation also updates the displayName and description for the accessPackageResourceRole. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RefreshRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RefreshRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RefreshRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/uploadsessions/UploadSessionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/uploadsessions/UploadSessionsRequestBuilder.java index e06da4226fb..299953d4faa 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/uploadsessions/UploadSessionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/uploadsessions/UploadSessionsRequestBuilder.java @@ -26,7 +26,10 @@ public class UploadSessionsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the uploadSessions property of the microsoft.graph.accessPackageResource entity. * @param customDataProvidedResourceUploadSessionId The unique identifier of customDataProvidedResourceUploadSession * @return a {@link CustomDataProvidedResourceUploadSessionItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CustomDataProvidedResourceUploadSessionItemRequestBuilder byCustomDataProvidedResourceUploadSessionId(@jakarta.annotation.Nonnull final String customDataProvidedResourceUploadSessionId) { Objects.requireNonNull(customDataProvidedResourceUploadSessionId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public UploadSessionsRequestBuilder(@jakarta.annotation.Nonnull final String raw * Get uploadSessions from identityGovernance * @return a {@link CustomDataProvidedResourceUploadSessionCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSessionCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public CustomDataProvidedResourceUploadSessionCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSessionCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSessionCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public CustomDataProvidedResourceUploadSessionCollectionResponse get(@jakarta.an * @param body The request body * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body) { return post(body, null); } @@ -97,8 +112,11 @@ public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nonnull * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nonnull /** * Get uploadSessions from identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Get uploadSessions from identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to uploadSessions for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link UploadSessionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public UploadSessionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new UploadSessionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/uploadsessions/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/uploadsessions/count/CountRequestBuilder.java index 6428e8efa98..f0a9e7c5f34 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/uploadsessions/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/uploadsessions/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/CustomDataProvidedResourceUploadSessionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/CustomDataProvidedResourceUploadSessionItemRequestBuilder.java index 0d854833892..5cedf41cd85 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/CustomDataProvidedResourceUploadSessionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/CustomDataProvidedResourceUploadSessionItemRequestBuilder.java @@ -25,7 +25,10 @@ public class CustomDataProvidedResourceUploadSessionItemRequestBuilder extends B /** * Provides operations to manage the files property of the microsoft.graph.customDataProvidedResourceUploadSession entity. * @return a {@link FilesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public FilesRequestBuilder files() { return new FilesRequestBuilder(pathParameters, requestAdapter); @@ -33,7 +36,10 @@ public FilesRequestBuilder files() { /** * Provides operations to call the uploadFile method. * @return a {@link UploadFileRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public UploadFileRequestBuilder uploadFile() { return new UploadFileRequestBuilder(pathParameters, requestAdapter); @@ -57,7 +63,10 @@ public CustomDataProvidedResourceUploadSessionItemRequestBuilder(@jakarta.annota /** * Delete navigation property uploadSessions for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -65,7 +74,10 @@ public void delete() { * Delete navigation property uploadSessions for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -76,8 +88,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Get uploadSessions from identityGovernance * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession get() { return get(null); } @@ -86,8 +101,11 @@ public CustomDataProvidedResourceUploadSession get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -99,8 +117,11 @@ public CustomDataProvidedResourceUploadSession get(@jakarta.annotation.Nullable * @param body The request body * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession patch(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body) { return patch(body, null); } @@ -110,8 +131,11 @@ public CustomDataProvidedResourceUploadSession patch(@jakarta.annotation.Nonnull * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession patch(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -122,8 +146,11 @@ public CustomDataProvidedResourceUploadSession patch(@jakarta.annotation.Nonnull /** * Delete navigation property uploadSessions for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -131,8 +158,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property uploadSessions for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -142,8 +172,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Get uploadSessions from identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -151,8 +184,11 @@ public RequestInformation toGetRequestInformation() { * Get uploadSessions from identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -163,8 +199,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property uploadSessions in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body) { return toPatchRequestInformation(body, null); } @@ -173,8 +212,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -187,8 +229,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CustomDataProvidedResourceUploadSessionItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CustomDataProvidedResourceUploadSessionItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CustomDataProvidedResourceUploadSessionItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/files/FilesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/files/FilesRequestBuilder.java index 19983910872..d1404a48cfe 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/files/FilesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/files/FilesRequestBuilder.java @@ -25,7 +25,10 @@ public class FilesRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -34,8 +37,11 @@ public CountRequestBuilder count() { * Provides operations to manage the files property of the microsoft.graph.customDataProvidedResourceUploadSession entity. * @param customDataProvidedResourceFileId The unique identifier of customDataProvidedResourceFile * @return a {@link CustomDataProvidedResourceFileItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CustomDataProvidedResourceFileItemRequestBuilder byCustomDataProvidedResourceFileId(@jakarta.annotation.Nonnull final String customDataProvidedResourceFileId) { Objects.requireNonNull(customDataProvidedResourceFileId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -62,8 +68,11 @@ public FilesRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @return a {@link CustomDataProvidedResourceFileCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceFileCollectionResponse get() { return get(null); } @@ -72,8 +81,11 @@ public CustomDataProvidedResourceFileCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceFileCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceFileCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -83,8 +95,11 @@ public CustomDataProvidedResourceFileCollectionResponse get(@jakarta.annotation. /** * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -92,8 +107,11 @@ public RequestInformation toGetRequestInformation() { * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -104,8 +122,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link FilesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new FilesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/files/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/files/count/CountRequestBuilder.java index 1ad1f706ff9..9c34cc752a3 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/files/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/files/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/files/item/CustomDataProvidedResourceFileItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/files/item/CustomDataProvidedResourceFileItemRequestBuilder.java index 668fb95b0d5..f725caa2cdd 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/files/item/CustomDataProvidedResourceFileItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/files/item/CustomDataProvidedResourceFileItemRequestBuilder.java @@ -24,7 +24,10 @@ public class CustomDataProvidedResourceFileItemRequestBuilder extends BaseReques /** * Provides operations to manage the media for the identityGovernance entity. * @return a {@link ContentRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ContentRequestBuilder content() { return new ContentRequestBuilder(pathParameters, requestAdapter); @@ -49,8 +52,11 @@ public CustomDataProvidedResourceFileItemRequestBuilder(@jakarta.annotation.Nonn * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @return a {@link CustomDataProvidedResourceFile} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceFile get() { return get(null); } @@ -59,8 +65,11 @@ public CustomDataProvidedResourceFile get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceFile} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceFile get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -70,8 +79,11 @@ public CustomDataProvidedResourceFile get(@jakarta.annotation.Nullable final jav /** * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -79,8 +91,11 @@ public RequestInformation toGetRequestInformation() { * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -91,8 +106,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CustomDataProvidedResourceFileItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CustomDataProvidedResourceFileItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CustomDataProvidedResourceFileItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/files/item/value/ContentRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/files/item/value/ContentRequestBuilder.java index dd8b5bc8d31..817074602e6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/files/item/value/ContentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/files/item/value/ContentRequestBuilder.java @@ -38,7 +38,10 @@ public ContentRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j /** * The unique identifier for an entity. Read-only. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -46,7 +49,10 @@ public void delete() { * The unique identifier for an entity. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * The unique identifier for an entity. Read-only. * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public InputStream get() { return get(null); } @@ -67,8 +76,11 @@ public InputStream get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public InputStream get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -80,8 +92,11 @@ public InputStream get(@jakarta.annotation.Nullable final java.util.function.Con * @param body Binary request body * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public InputStream put(@jakarta.annotation.Nonnull final InputStream body) { return put(body, null); } @@ -91,8 +106,11 @@ public InputStream put(@jakarta.annotation.Nonnull final InputStream body) { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public InputStream put(@jakarta.annotation.Nonnull final InputStream body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPutRequestInformation(body, requestConfiguration); @@ -103,8 +121,11 @@ public InputStream put(@jakarta.annotation.Nonnull final InputStream body, @jaka /** * The unique identifier for an entity. Read-only. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -112,8 +133,11 @@ public RequestInformation toDeleteRequestInformation() { * The unique identifier for an entity. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -123,8 +147,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * The unique identifier for an entity. Read-only. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -132,8 +159,11 @@ public RequestInformation toGetRequestInformation() { * The unique identifier for an entity. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new); @@ -144,8 +174,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * The unique identifier for an entity. Read-only. * @param body Binary request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull final InputStream body) { return toPutRequestInformation(body, null); } @@ -154,8 +187,11 @@ public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull fi * @param body Binary request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull final InputStream body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PUT, urlTemplate, pathParameters); @@ -168,8 +204,11 @@ public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull fi * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ContentRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ContentRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ContentRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/uploadfile/UploadFileRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/uploadfile/UploadFileRequestBuilder.java index a4a3bbe0310..f1cbfc8697a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/uploadfile/UploadFileRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/uploadfile/UploadFileRequestBuilder.java @@ -39,9 +39,12 @@ public UploadFileRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, * Upload a file in a customDataProvidedResourceUploadSession created for a customDataProvidedResource. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession post() { return post(null); } @@ -50,9 +53,12 @@ public CustomDataProvidedResourceUploadSession post() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -62,8 +68,11 @@ public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nullable /** * Upload a file in a customDataProvidedResourceUploadSession created for a customDataProvidedResource. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation() { * Upload a file in a customDataProvidedResourceUploadSession created for a customDataProvidedResource. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -83,8 +95,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link UploadFileRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public UploadFileRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new UploadFileRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java index dc299b17b54..20b138af8aa 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java @@ -26,7 +26,10 @@ public class AccessPackageResourceScopesRequestBuilder extends BaseRequestBuilde /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the accessPackageResourceScopes property of the microsoft.graph.accessPackageResource entity. * @param accessPackageResourceScopeId The unique identifier of accessPackageResourceScope * @return a {@link AccessPackageResourceScopeItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceScopeItemRequestBuilder byAccessPackageResourceScopeId(@jakarta.annotation.Nonnull final String accessPackageResourceScopeId) { Objects.requireNonNull(accessPackageResourceScopeId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public AccessPackageResourceScopesRequestBuilder(@jakarta.annotation.Nonnull fin * Read-only. Nullable. Supports $expand. * @return a {@link AccessPackageResourceScopeCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScopeCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public AccessPackageResourceScopeCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceScopeCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScopeCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public AccessPackageResourceScopeCollectionResponse get(@jakarta.annotation.Null * @param body The request body * @return a {@link AccessPackageResourceScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScope post(@jakarta.annotation.Nonnull final AccessPackageResourceScope body) { return post(body, null); } @@ -97,8 +112,11 @@ public AccessPackageResourceScope post(@jakarta.annotation.Nonnull final AccessP * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScope post(@jakarta.annotation.Nonnull final AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public AccessPackageResourceScope post(@jakarta.annotation.Nonnull final AccessP /** * Read-only. Nullable. Supports $expand. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Read-only. Nullable. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to accessPackageResourceScopes for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceScope body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceScopesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceScopesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceScopesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/count/CountRequestBuilder.java index fe09ff5d4bb..b5250bb97ff 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java index 94eb07d4561..cc4c9ec0d7e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java @@ -24,7 +24,10 @@ public class AccessPackageResourceScopeItemRequestBuilder extends BaseRequestBui /** * Provides operations to manage the accessPackageResource property of the microsoft.graph.accessPackageResourceScope entity. * @return a {@link AccessPackageResourceRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackageResourceRequestBuilder accessPackageResource() { return new AccessPackageResourceRequestBuilder(pathParameters, requestAdapter); @@ -48,7 +51,10 @@ public AccessPackageResourceScopeItemRequestBuilder(@jakarta.annotation.Nonnull /** * Delete navigation property accessPackageResourceScopes for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -56,7 +62,10 @@ public void delete() { * Delete navigation property accessPackageResourceScopes for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -67,8 +76,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Read-only. Nullable. Supports $expand. * @return a {@link AccessPackageResourceScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScope get() { return get(null); } @@ -77,8 +89,11 @@ public AccessPackageResourceScope get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScope get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -90,8 +105,11 @@ public AccessPackageResourceScope get(@jakarta.annotation.Nullable final java.ut * @param body The request body * @return a {@link AccessPackageResourceScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScope patch(@jakarta.annotation.Nonnull final AccessPackageResourceScope body) { return patch(body, null); } @@ -101,8 +119,11 @@ public AccessPackageResourceScope patch(@jakarta.annotation.Nonnull final Access * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScope patch(@jakarta.annotation.Nonnull final AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -113,8 +134,11 @@ public AccessPackageResourceScope patch(@jakarta.annotation.Nonnull final Access /** * Delete navigation property accessPackageResourceScopes for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -122,8 +146,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property accessPackageResourceScopes for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -133,8 +160,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Read-only. Nullable. Supports $expand. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -142,8 +172,11 @@ public RequestInformation toGetRequestInformation() { * Read-only. Nullable. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -154,8 +187,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property accessPackageResourceScopes in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceScope body) { return toPatchRequestInformation(body, null); } @@ -164,8 +200,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -178,8 +217,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceScopeItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceScopeItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceScopeItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/AccessPackageResourceRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/AccessPackageResourceRequestBuilder.java index 5d46ae30ee6..98e90087a07 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/AccessPackageResourceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/AccessPackageResourceRequestBuilder.java @@ -28,7 +28,10 @@ public class AccessPackageResourceRequestBuilder extends BaseRequestBuilder { /** * Provides operations to manage the accessPackageResourceEnvironment property of the microsoft.graph.accessPackageResource entity. * @return a {@link AccessPackageResourceEnvironmentRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackageResourceEnvironmentRequestBuilder accessPackageResourceEnvironment() { return new AccessPackageResourceEnvironmentRequestBuilder(pathParameters, requestAdapter); @@ -36,7 +39,10 @@ public AccessPackageResourceEnvironmentRequestBuilder accessPackageResourceEnvir /** * Provides operations to manage the accessPackageResourceRoles property of the microsoft.graph.accessPackageResource entity. * @return a {@link AccessPackageResourceRolesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackageResourceRolesRequestBuilder accessPackageResourceRoles() { return new AccessPackageResourceRolesRequestBuilder(pathParameters, requestAdapter); @@ -44,7 +50,10 @@ public AccessPackageResourceRolesRequestBuilder accessPackageResourceRoles() { /** * Provides operations to manage the externalOriginResourceConnector property of the microsoft.graph.accessPackageResource entity. * @return a {@link ExternalOriginResourceConnectorRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ExternalOriginResourceConnectorRequestBuilder externalOriginResourceConnector() { return new ExternalOriginResourceConnectorRequestBuilder(pathParameters, requestAdapter); @@ -52,7 +61,10 @@ public ExternalOriginResourceConnectorRequestBuilder externalOriginResourceConne /** * Provides operations to call the refresh method. * @return a {@link RefreshRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public RefreshRequestBuilder refresh() { return new RefreshRequestBuilder(pathParameters, requestAdapter); @@ -60,7 +72,10 @@ public RefreshRequestBuilder refresh() { /** * Provides operations to manage the uploadSessions property of the microsoft.graph.accessPackageResource entity. * @return a {@link UploadSessionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public UploadSessionsRequestBuilder uploadSessions() { return new UploadSessionsRequestBuilder(pathParameters, requestAdapter); @@ -84,7 +99,10 @@ public AccessPackageResourceRequestBuilder(@jakarta.annotation.Nonnull final Str /** * Delete navigation property accessPackageResource for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -92,7 +110,10 @@ public void delete() { * Delete navigation property accessPackageResource for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -103,8 +124,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Get accessPackageResource from identityGovernance * @return a {@link AccessPackageResource} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResource get() { return get(null); } @@ -113,8 +137,11 @@ public AccessPackageResource get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResource} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResource get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -126,8 +153,11 @@ public AccessPackageResource get(@jakarta.annotation.Nullable final java.util.fu * @param body The request body * @return a {@link AccessPackageResource} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResource patch(@jakarta.annotation.Nonnull final AccessPackageResource body) { return patch(body, null); } @@ -137,8 +167,11 @@ public AccessPackageResource patch(@jakarta.annotation.Nonnull final AccessPacka * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResource} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResource patch(@jakarta.annotation.Nonnull final AccessPackageResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -149,8 +182,11 @@ public AccessPackageResource patch(@jakarta.annotation.Nonnull final AccessPacka /** * Delete navigation property accessPackageResource for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -158,8 +194,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property accessPackageResource for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -169,8 +208,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Get accessPackageResource from identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -178,8 +220,11 @@ public RequestInformation toGetRequestInformation() { * Get accessPackageResource from identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -190,8 +235,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property accessPackageResource in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResource body) { return toPatchRequestInformation(body, null); } @@ -200,8 +248,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -214,8 +265,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceenvironment/AccessPackageResourceEnvironmentRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceenvironment/AccessPackageResourceEnvironmentRequestBuilder.java index 6b39bd59d3b..c32e3f96f7a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceenvironment/AccessPackageResourceEnvironmentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceenvironment/AccessPackageResourceEnvironmentRequestBuilder.java @@ -40,8 +40,11 @@ public AccessPackageResourceEnvironmentRequestBuilder(@jakarta.annotation.Nonnul * Contains the environment information for the resource. This environment can be set using either the @odata.bind annotation or the environment's originId. Supports $expand. * @return a {@link AccessPackageResourceEnvironment} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceEnvironment get() { return get(null); } @@ -50,8 +53,11 @@ public AccessPackageResourceEnvironment get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceEnvironment} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceEnvironment get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public AccessPackageResourceEnvironment get(@jakarta.annotation.Nullable final j /** * Contains the environment information for the resource. This environment can be set using either the @odata.bind annotation or the environment's originId. Supports $expand. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * Contains the environment information for the resource. This environment can be set using either the @odata.bind annotation or the environment's originId. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceEnvironmentRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceEnvironmentRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceEnvironmentRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java index 3107d6cdf7d..a72d173201a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java @@ -26,7 +26,10 @@ public class AccessPackageResourceRolesRequestBuilder extends BaseRequestBuilder /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the accessPackageResourceRoles property of the microsoft.graph.accessPackageResource entity. * @param accessPackageResourceRoleId The unique identifier of accessPackageResourceRole * @return a {@link AccessPackageResourceRoleItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceRoleItemRequestBuilder byAccessPackageResourceRoleId(@jakarta.annotation.Nonnull final String accessPackageResourceRoleId) { Objects.requireNonNull(accessPackageResourceRoleId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public AccessPackageResourceRolesRequestBuilder(@jakarta.annotation.Nonnull fina * Read-only. Nullable. Supports $expand. * @return a {@link AccessPackageResourceRoleCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRoleCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public AccessPackageResourceRoleCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceRoleCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRoleCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public AccessPackageResourceRoleCollectionResponse get(@jakarta.annotation.Nulla * @param body The request body * @return a {@link AccessPackageResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRole post(@jakarta.annotation.Nonnull final AccessPackageResourceRole body) { return post(body, null); } @@ -97,8 +112,11 @@ public AccessPackageResourceRole post(@jakarta.annotation.Nonnull final AccessPa * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRole post(@jakarta.annotation.Nonnull final AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public AccessPackageResourceRole post(@jakarta.annotation.Nonnull final AccessPa /** * Read-only. Nullable. Supports $expand. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Read-only. Nullable. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to accessPackageResourceRoles for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRole body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceRolesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceRolesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceRolesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/count/CountRequestBuilder.java index c724af2d526..dab8ad1a807 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java index 2e0c36c8cc9..d1563a8ad02 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java @@ -24,7 +24,10 @@ public class AccessPackageResourceRoleItemRequestBuilder extends BaseRequestBuil /** * Provides operations to manage the accessPackageResource property of the microsoft.graph.accessPackageResourceRole entity. * @return a {@link AccessPackageResourceRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackageResourceRequestBuilder accessPackageResource() { return new AccessPackageResourceRequestBuilder(pathParameters, requestAdapter); @@ -48,7 +51,10 @@ public AccessPackageResourceRoleItemRequestBuilder(@jakarta.annotation.Nonnull f /** * Delete navigation property accessPackageResourceRoles for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -56,7 +62,10 @@ public void delete() { * Delete navigation property accessPackageResourceRoles for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -67,8 +76,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Read-only. Nullable. Supports $expand. * @return a {@link AccessPackageResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRole get() { return get(null); } @@ -77,8 +89,11 @@ public AccessPackageResourceRole get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRole get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -90,8 +105,11 @@ public AccessPackageResourceRole get(@jakarta.annotation.Nullable final java.uti * @param body The request body * @return a {@link AccessPackageResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRole patch(@jakarta.annotation.Nonnull final AccessPackageResourceRole body) { return patch(body, null); } @@ -101,8 +119,11 @@ public AccessPackageResourceRole patch(@jakarta.annotation.Nonnull final AccessP * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRole patch(@jakarta.annotation.Nonnull final AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -113,8 +134,11 @@ public AccessPackageResourceRole patch(@jakarta.annotation.Nonnull final AccessP /** * Delete navigation property accessPackageResourceRoles for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -122,8 +146,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property accessPackageResourceRoles for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -133,8 +160,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Read-only. Nullable. Supports $expand. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -142,8 +172,11 @@ public RequestInformation toGetRequestInformation() { * Read-only. Nullable. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -154,8 +187,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property accessPackageResourceRoles in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRole body) { return toPatchRequestInformation(body, null); } @@ -164,8 +200,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -178,8 +217,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceRoleItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceRoleItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceRoleItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/AccessPackageResourceRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/AccessPackageResourceRequestBuilder.java index 55dbb93d1f3..b69f8305767 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/AccessPackageResourceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/AccessPackageResourceRequestBuilder.java @@ -27,7 +27,10 @@ public class AccessPackageResourceRequestBuilder extends BaseRequestBuilder { /** * Provides operations to manage the accessPackageResourceEnvironment property of the microsoft.graph.accessPackageResource entity. * @return a {@link AccessPackageResourceEnvironmentRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackageResourceEnvironmentRequestBuilder accessPackageResourceEnvironment() { return new AccessPackageResourceEnvironmentRequestBuilder(pathParameters, requestAdapter); @@ -35,7 +38,10 @@ public AccessPackageResourceEnvironmentRequestBuilder accessPackageResourceEnvir /** * Provides operations to manage the externalOriginResourceConnector property of the microsoft.graph.accessPackageResource entity. * @return a {@link ExternalOriginResourceConnectorRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ExternalOriginResourceConnectorRequestBuilder externalOriginResourceConnector() { return new ExternalOriginResourceConnectorRequestBuilder(pathParameters, requestAdapter); @@ -43,7 +49,10 @@ public ExternalOriginResourceConnectorRequestBuilder externalOriginResourceConne /** * Provides operations to call the refresh method. * @return a {@link RefreshRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public RefreshRequestBuilder refresh() { return new RefreshRequestBuilder(pathParameters, requestAdapter); @@ -51,7 +60,10 @@ public RefreshRequestBuilder refresh() { /** * Provides operations to manage the uploadSessions property of the microsoft.graph.accessPackageResource entity. * @return a {@link UploadSessionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public UploadSessionsRequestBuilder uploadSessions() { return new UploadSessionsRequestBuilder(pathParameters, requestAdapter); @@ -75,7 +87,10 @@ public AccessPackageResourceRequestBuilder(@jakarta.annotation.Nonnull final Str /** * Delete navigation property accessPackageResource for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -83,7 +98,10 @@ public void delete() { * Delete navigation property accessPackageResource for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -94,8 +112,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Get accessPackageResource from identityGovernance * @return a {@link AccessPackageResource} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResource get() { return get(null); } @@ -104,8 +125,11 @@ public AccessPackageResource get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResource} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResource get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -117,8 +141,11 @@ public AccessPackageResource get(@jakarta.annotation.Nullable final java.util.fu * @param body The request body * @return a {@link AccessPackageResource} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResource patch(@jakarta.annotation.Nonnull final AccessPackageResource body) { return patch(body, null); } @@ -128,8 +155,11 @@ public AccessPackageResource patch(@jakarta.annotation.Nonnull final AccessPacka * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResource} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResource patch(@jakarta.annotation.Nonnull final AccessPackageResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -140,8 +170,11 @@ public AccessPackageResource patch(@jakarta.annotation.Nonnull final AccessPacka /** * Delete navigation property accessPackageResource for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -149,8 +182,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property accessPackageResource for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -160,8 +196,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Get accessPackageResource from identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -169,8 +208,11 @@ public RequestInformation toGetRequestInformation() { * Get accessPackageResource from identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -181,8 +223,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property accessPackageResource in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResource body) { return toPatchRequestInformation(body, null); } @@ -191,8 +236,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -205,8 +253,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourceenvironment/AccessPackageResourceEnvironmentRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourceenvironment/AccessPackageResourceEnvironmentRequestBuilder.java index ffd3e18d827..92df2c0d76d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourceenvironment/AccessPackageResourceEnvironmentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourceenvironment/AccessPackageResourceEnvironmentRequestBuilder.java @@ -40,8 +40,11 @@ public AccessPackageResourceEnvironmentRequestBuilder(@jakarta.annotation.Nonnul * Contains the environment information for the resource. This environment can be set using either the @odata.bind annotation or the environment's originId. Supports $expand. * @return a {@link AccessPackageResourceEnvironment} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceEnvironment get() { return get(null); } @@ -50,8 +53,11 @@ public AccessPackageResourceEnvironment get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceEnvironment} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceEnvironment get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public AccessPackageResourceEnvironment get(@jakarta.annotation.Nullable final j /** * Contains the environment information for the resource. This environment can be set using either the @odata.bind annotation or the environment's originId. Supports $expand. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * Contains the environment information for the resource. This environment can be set using either the @odata.bind annotation or the environment's originId. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceEnvironmentRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceEnvironmentRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceEnvironmentRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/externaloriginresourceconnector/ExternalOriginResourceConnectorRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/externaloriginresourceconnector/ExternalOriginResourceConnectorRequestBuilder.java index 9f71827733a..e2a5f7c138e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/externaloriginresourceconnector/ExternalOriginResourceConnectorRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/externaloriginresourceconnector/ExternalOriginResourceConnectorRequestBuilder.java @@ -40,8 +40,11 @@ public ExternalOriginResourceConnectorRequestBuilder(@jakarta.annotation.Nonnull * The connector that integrates with external origin systems to provision access to resources from those systems. Read-only. Nullable. * @return a {@link ExternalOriginResourceConnector} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ExternalOriginResourceConnector get() { return get(null); } @@ -50,8 +53,11 @@ public ExternalOriginResourceConnector get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ExternalOriginResourceConnector} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ExternalOriginResourceConnector get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public ExternalOriginResourceConnector get(@jakarta.annotation.Nullable final ja /** * The connector that integrates with external origin systems to provision access to resources from those systems. Read-only. Nullable. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * The connector that integrates with external origin systems to provision access to resources from those systems. Read-only. Nullable. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ExternalOriginResourceConnectorRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ExternalOriginResourceConnectorRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ExternalOriginResourceConnectorRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/refresh/RefreshRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/refresh/RefreshRequestBuilder.java index bfdf870ef7a..6939d67ca97 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/refresh/RefreshRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/refresh/RefreshRequestBuilder.java @@ -37,8 +37,11 @@ public RefreshRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j /** * In Microsoft Entra entitlement management, refresh the accessPackageResource object to fetch the latest details for displayName, description, and resourceType from the origin system. For the AadApplication originSystem, this operation also updates the displayName and description for the accessPackageResourceRole. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * In Microsoft Entra entitlement management, refresh the accessPackageResource object to fetch the latest details for displayName, description, and resourceType from the origin system. For the AadApplication originSystem, this operation also updates the displayName and description for the accessPackageResourceRole. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * In Microsoft Entra entitlement management, refresh the accessPackageResource object to fetch the latest details for displayName, description, and resourceType from the origin system. For the AadApplication originSystem, this operation also updates the displayName and description for the accessPackageResourceRole. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * In Microsoft Entra entitlement management, refresh the accessPackageResource object to fetch the latest details for displayName, description, and resourceType from the origin system. For the AadApplication originSystem, this operation also updates the displayName and description for the accessPackageResourceRole. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RefreshRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RefreshRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RefreshRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/UploadSessionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/UploadSessionsRequestBuilder.java index b7c62911df7..977b002e088 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/UploadSessionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/UploadSessionsRequestBuilder.java @@ -26,7 +26,10 @@ public class UploadSessionsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the uploadSessions property of the microsoft.graph.accessPackageResource entity. * @param customDataProvidedResourceUploadSessionId The unique identifier of customDataProvidedResourceUploadSession * @return a {@link CustomDataProvidedResourceUploadSessionItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CustomDataProvidedResourceUploadSessionItemRequestBuilder byCustomDataProvidedResourceUploadSessionId(@jakarta.annotation.Nonnull final String customDataProvidedResourceUploadSessionId) { Objects.requireNonNull(customDataProvidedResourceUploadSessionId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public UploadSessionsRequestBuilder(@jakarta.annotation.Nonnull final String raw * Get uploadSessions from identityGovernance * @return a {@link CustomDataProvidedResourceUploadSessionCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSessionCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public CustomDataProvidedResourceUploadSessionCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSessionCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSessionCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public CustomDataProvidedResourceUploadSessionCollectionResponse get(@jakarta.an * @param body The request body * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body) { return post(body, null); } @@ -97,8 +112,11 @@ public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nonnull * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nonnull /** * Get uploadSessions from identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Get uploadSessions from identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to uploadSessions for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link UploadSessionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public UploadSessionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new UploadSessionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/count/CountRequestBuilder.java index cd65a5d83c4..9d84bffb617 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/CustomDataProvidedResourceUploadSessionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/CustomDataProvidedResourceUploadSessionItemRequestBuilder.java index 8d88293af01..0d2e213c029 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/CustomDataProvidedResourceUploadSessionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/CustomDataProvidedResourceUploadSessionItemRequestBuilder.java @@ -25,7 +25,10 @@ public class CustomDataProvidedResourceUploadSessionItemRequestBuilder extends B /** * Provides operations to manage the files property of the microsoft.graph.customDataProvidedResourceUploadSession entity. * @return a {@link FilesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public FilesRequestBuilder files() { return new FilesRequestBuilder(pathParameters, requestAdapter); @@ -33,7 +36,10 @@ public FilesRequestBuilder files() { /** * Provides operations to call the uploadFile method. * @return a {@link UploadFileRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public UploadFileRequestBuilder uploadFile() { return new UploadFileRequestBuilder(pathParameters, requestAdapter); @@ -57,7 +63,10 @@ public CustomDataProvidedResourceUploadSessionItemRequestBuilder(@jakarta.annota /** * Delete navigation property uploadSessions for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -65,7 +74,10 @@ public void delete() { * Delete navigation property uploadSessions for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -76,8 +88,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Get uploadSessions from identityGovernance * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession get() { return get(null); } @@ -86,8 +101,11 @@ public CustomDataProvidedResourceUploadSession get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -99,8 +117,11 @@ public CustomDataProvidedResourceUploadSession get(@jakarta.annotation.Nullable * @param body The request body * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession patch(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body) { return patch(body, null); } @@ -110,8 +131,11 @@ public CustomDataProvidedResourceUploadSession patch(@jakarta.annotation.Nonnull * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession patch(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -122,8 +146,11 @@ public CustomDataProvidedResourceUploadSession patch(@jakarta.annotation.Nonnull /** * Delete navigation property uploadSessions for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -131,8 +158,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property uploadSessions for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -142,8 +172,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Get uploadSessions from identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -151,8 +184,11 @@ public RequestInformation toGetRequestInformation() { * Get uploadSessions from identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -163,8 +199,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property uploadSessions in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body) { return toPatchRequestInformation(body, null); } @@ -173,8 +212,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -187,8 +229,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CustomDataProvidedResourceUploadSessionItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CustomDataProvidedResourceUploadSessionItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CustomDataProvidedResourceUploadSessionItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/files/FilesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/files/FilesRequestBuilder.java index 55d5a51199e..3884fedc754 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/files/FilesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/files/FilesRequestBuilder.java @@ -25,7 +25,10 @@ public class FilesRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -34,8 +37,11 @@ public CountRequestBuilder count() { * Provides operations to manage the files property of the microsoft.graph.customDataProvidedResourceUploadSession entity. * @param customDataProvidedResourceFileId The unique identifier of customDataProvidedResourceFile * @return a {@link CustomDataProvidedResourceFileItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CustomDataProvidedResourceFileItemRequestBuilder byCustomDataProvidedResourceFileId(@jakarta.annotation.Nonnull final String customDataProvidedResourceFileId) { Objects.requireNonNull(customDataProvidedResourceFileId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -62,8 +68,11 @@ public FilesRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @return a {@link CustomDataProvidedResourceFileCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceFileCollectionResponse get() { return get(null); } @@ -72,8 +81,11 @@ public CustomDataProvidedResourceFileCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceFileCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceFileCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -83,8 +95,11 @@ public CustomDataProvidedResourceFileCollectionResponse get(@jakarta.annotation. /** * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -92,8 +107,11 @@ public RequestInformation toGetRequestInformation() { * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -104,8 +122,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link FilesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new FilesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/files/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/files/count/CountRequestBuilder.java index 44c304f5ada..e4d8983af03 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/files/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/files/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/files/item/CustomDataProvidedResourceFileItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/files/item/CustomDataProvidedResourceFileItemRequestBuilder.java index 2be2ab1ad96..f8dc1a04065 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/files/item/CustomDataProvidedResourceFileItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/files/item/CustomDataProvidedResourceFileItemRequestBuilder.java @@ -24,7 +24,10 @@ public class CustomDataProvidedResourceFileItemRequestBuilder extends BaseReques /** * Provides operations to manage the media for the identityGovernance entity. * @return a {@link ContentRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ContentRequestBuilder content() { return new ContentRequestBuilder(pathParameters, requestAdapter); @@ -49,8 +52,11 @@ public CustomDataProvidedResourceFileItemRequestBuilder(@jakarta.annotation.Nonn * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @return a {@link CustomDataProvidedResourceFile} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceFile get() { return get(null); } @@ -59,8 +65,11 @@ public CustomDataProvidedResourceFile get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceFile} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceFile get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -70,8 +79,11 @@ public CustomDataProvidedResourceFile get(@jakarta.annotation.Nullable final jav /** * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -79,8 +91,11 @@ public RequestInformation toGetRequestInformation() { * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -91,8 +106,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CustomDataProvidedResourceFileItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CustomDataProvidedResourceFileItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CustomDataProvidedResourceFileItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/files/item/value/ContentRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/files/item/value/ContentRequestBuilder.java index 70a7c5e0bbd..39b03e8ce83 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/files/item/value/ContentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/files/item/value/ContentRequestBuilder.java @@ -38,7 +38,10 @@ public ContentRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j /** * The unique identifier for an entity. Read-only. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -46,7 +49,10 @@ public void delete() { * The unique identifier for an entity. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * The unique identifier for an entity. Read-only. * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public InputStream get() { return get(null); } @@ -67,8 +76,11 @@ public InputStream get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public InputStream get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -80,8 +92,11 @@ public InputStream get(@jakarta.annotation.Nullable final java.util.function.Con * @param body Binary request body * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public InputStream put(@jakarta.annotation.Nonnull final InputStream body) { return put(body, null); } @@ -91,8 +106,11 @@ public InputStream put(@jakarta.annotation.Nonnull final InputStream body) { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public InputStream put(@jakarta.annotation.Nonnull final InputStream body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPutRequestInformation(body, requestConfiguration); @@ -103,8 +121,11 @@ public InputStream put(@jakarta.annotation.Nonnull final InputStream body, @jaka /** * The unique identifier for an entity. Read-only. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -112,8 +133,11 @@ public RequestInformation toDeleteRequestInformation() { * The unique identifier for an entity. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -123,8 +147,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * The unique identifier for an entity. Read-only. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -132,8 +159,11 @@ public RequestInformation toGetRequestInformation() { * The unique identifier for an entity. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new); @@ -144,8 +174,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * The unique identifier for an entity. Read-only. * @param body Binary request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull final InputStream body) { return toPutRequestInformation(body, null); } @@ -154,8 +187,11 @@ public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull fi * @param body Binary request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull final InputStream body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PUT, urlTemplate, pathParameters); @@ -168,8 +204,11 @@ public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull fi * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ContentRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ContentRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ContentRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/uploadfile/UploadFileRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/uploadfile/UploadFileRequestBuilder.java index 916e512dca5..fdf396b53ba 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/uploadfile/UploadFileRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/uploadfile/UploadFileRequestBuilder.java @@ -39,9 +39,12 @@ public UploadFileRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, * Upload a file in a customDataProvidedResourceUploadSession created for a customDataProvidedResource. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession post() { return post(null); } @@ -50,9 +53,12 @@ public CustomDataProvidedResourceUploadSession post() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -62,8 +68,11 @@ public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nullable /** * Upload a file in a customDataProvidedResourceUploadSession created for a customDataProvidedResource. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation() { * Upload a file in a customDataProvidedResourceUploadSession created for a customDataProvidedResource. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -83,8 +95,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link UploadFileRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public UploadFileRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new UploadFileRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/externaloriginresourceconnector/ExternalOriginResourceConnectorRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/externaloriginresourceconnector/ExternalOriginResourceConnectorRequestBuilder.java index bffbbf9ee57..ab24beff8af 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/externaloriginresourceconnector/ExternalOriginResourceConnectorRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/externaloriginresourceconnector/ExternalOriginResourceConnectorRequestBuilder.java @@ -40,8 +40,11 @@ public ExternalOriginResourceConnectorRequestBuilder(@jakarta.annotation.Nonnull * The connector that integrates with external origin systems to provision access to resources from those systems. Read-only. Nullable. * @return a {@link ExternalOriginResourceConnector} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ExternalOriginResourceConnector get() { return get(null); } @@ -50,8 +53,11 @@ public ExternalOriginResourceConnector get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ExternalOriginResourceConnector} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ExternalOriginResourceConnector get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public ExternalOriginResourceConnector get(@jakarta.annotation.Nullable final ja /** * The connector that integrates with external origin systems to provision access to resources from those systems. Read-only. Nullable. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * The connector that integrates with external origin systems to provision access to resources from those systems. Read-only. Nullable. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ExternalOriginResourceConnectorRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ExternalOriginResourceConnectorRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ExternalOriginResourceConnectorRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/refresh/RefreshRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/refresh/RefreshRequestBuilder.java index c3b67c4f1ff..3f699c5cf63 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/refresh/RefreshRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/refresh/RefreshRequestBuilder.java @@ -37,8 +37,11 @@ public RefreshRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j /** * In Microsoft Entra entitlement management, refresh the accessPackageResource object to fetch the latest details for displayName, description, and resourceType from the origin system. For the AadApplication originSystem, this operation also updates the displayName and description for the accessPackageResourceRole. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * In Microsoft Entra entitlement management, refresh the accessPackageResource object to fetch the latest details for displayName, description, and resourceType from the origin system. For the AadApplication originSystem, this operation also updates the displayName and description for the accessPackageResourceRole. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * In Microsoft Entra entitlement management, refresh the accessPackageResource object to fetch the latest details for displayName, description, and resourceType from the origin system. For the AadApplication originSystem, this operation also updates the displayName and description for the accessPackageResourceRole. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * In Microsoft Entra entitlement management, refresh the accessPackageResource object to fetch the latest details for displayName, description, and resourceType from the origin system. For the AadApplication originSystem, this operation also updates the displayName and description for the accessPackageResourceRole. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RefreshRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RefreshRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RefreshRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/UploadSessionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/UploadSessionsRequestBuilder.java index ef6906fdd18..16e4e5bd2ed 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/UploadSessionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/UploadSessionsRequestBuilder.java @@ -26,7 +26,10 @@ public class UploadSessionsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the uploadSessions property of the microsoft.graph.accessPackageResource entity. * @param customDataProvidedResourceUploadSessionId The unique identifier of customDataProvidedResourceUploadSession * @return a {@link CustomDataProvidedResourceUploadSessionItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CustomDataProvidedResourceUploadSessionItemRequestBuilder byCustomDataProvidedResourceUploadSessionId(@jakarta.annotation.Nonnull final String customDataProvidedResourceUploadSessionId) { Objects.requireNonNull(customDataProvidedResourceUploadSessionId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public UploadSessionsRequestBuilder(@jakarta.annotation.Nonnull final String raw * Get uploadSessions from identityGovernance * @return a {@link CustomDataProvidedResourceUploadSessionCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSessionCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public CustomDataProvidedResourceUploadSessionCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSessionCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSessionCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public CustomDataProvidedResourceUploadSessionCollectionResponse get(@jakarta.an * @param body The request body * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body) { return post(body, null); } @@ -97,8 +112,11 @@ public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nonnull * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nonnull /** * Get uploadSessions from identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Get uploadSessions from identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to uploadSessions for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link UploadSessionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public UploadSessionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new UploadSessionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/count/CountRequestBuilder.java index c7ee1779278..468713218cf 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/CustomDataProvidedResourceUploadSessionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/CustomDataProvidedResourceUploadSessionItemRequestBuilder.java index a2a69d8c0a7..6a228f548a5 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/CustomDataProvidedResourceUploadSessionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/CustomDataProvidedResourceUploadSessionItemRequestBuilder.java @@ -25,7 +25,10 @@ public class CustomDataProvidedResourceUploadSessionItemRequestBuilder extends B /** * Provides operations to manage the files property of the microsoft.graph.customDataProvidedResourceUploadSession entity. * @return a {@link FilesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public FilesRequestBuilder files() { return new FilesRequestBuilder(pathParameters, requestAdapter); @@ -33,7 +36,10 @@ public FilesRequestBuilder files() { /** * Provides operations to call the uploadFile method. * @return a {@link UploadFileRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public UploadFileRequestBuilder uploadFile() { return new UploadFileRequestBuilder(pathParameters, requestAdapter); @@ -57,7 +63,10 @@ public CustomDataProvidedResourceUploadSessionItemRequestBuilder(@jakarta.annota /** * Delete navigation property uploadSessions for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -65,7 +74,10 @@ public void delete() { * Delete navigation property uploadSessions for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -76,8 +88,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Get uploadSessions from identityGovernance * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession get() { return get(null); } @@ -86,8 +101,11 @@ public CustomDataProvidedResourceUploadSession get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -99,8 +117,11 @@ public CustomDataProvidedResourceUploadSession get(@jakarta.annotation.Nullable * @param body The request body * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession patch(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body) { return patch(body, null); } @@ -110,8 +131,11 @@ public CustomDataProvidedResourceUploadSession patch(@jakarta.annotation.Nonnull * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession patch(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -122,8 +146,11 @@ public CustomDataProvidedResourceUploadSession patch(@jakarta.annotation.Nonnull /** * Delete navigation property uploadSessions for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -131,8 +158,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property uploadSessions for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -142,8 +172,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Get uploadSessions from identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -151,8 +184,11 @@ public RequestInformation toGetRequestInformation() { * Get uploadSessions from identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -163,8 +199,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property uploadSessions in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body) { return toPatchRequestInformation(body, null); } @@ -173,8 +212,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -187,8 +229,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CustomDataProvidedResourceUploadSessionItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CustomDataProvidedResourceUploadSessionItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CustomDataProvidedResourceUploadSessionItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/files/FilesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/files/FilesRequestBuilder.java index 109825e820f..a36ee5f504a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/files/FilesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/files/FilesRequestBuilder.java @@ -25,7 +25,10 @@ public class FilesRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -34,8 +37,11 @@ public CountRequestBuilder count() { * Provides operations to manage the files property of the microsoft.graph.customDataProvidedResourceUploadSession entity. * @param customDataProvidedResourceFileId The unique identifier of customDataProvidedResourceFile * @return a {@link CustomDataProvidedResourceFileItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CustomDataProvidedResourceFileItemRequestBuilder byCustomDataProvidedResourceFileId(@jakarta.annotation.Nonnull final String customDataProvidedResourceFileId) { Objects.requireNonNull(customDataProvidedResourceFileId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -62,8 +68,11 @@ public FilesRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @return a {@link CustomDataProvidedResourceFileCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceFileCollectionResponse get() { return get(null); } @@ -72,8 +81,11 @@ public CustomDataProvidedResourceFileCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceFileCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceFileCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -83,8 +95,11 @@ public CustomDataProvidedResourceFileCollectionResponse get(@jakarta.annotation. /** * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -92,8 +107,11 @@ public RequestInformation toGetRequestInformation() { * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -104,8 +122,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link FilesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new FilesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/files/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/files/count/CountRequestBuilder.java index a76ac497c7c..368b7769f47 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/files/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/files/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/files/item/CustomDataProvidedResourceFileItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/files/item/CustomDataProvidedResourceFileItemRequestBuilder.java index e7738171028..9c903ad653a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/files/item/CustomDataProvidedResourceFileItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/files/item/CustomDataProvidedResourceFileItemRequestBuilder.java @@ -24,7 +24,10 @@ public class CustomDataProvidedResourceFileItemRequestBuilder extends BaseReques /** * Provides operations to manage the media for the identityGovernance entity. * @return a {@link ContentRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ContentRequestBuilder content() { return new ContentRequestBuilder(pathParameters, requestAdapter); @@ -49,8 +52,11 @@ public CustomDataProvidedResourceFileItemRequestBuilder(@jakarta.annotation.Nonn * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @return a {@link CustomDataProvidedResourceFile} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceFile get() { return get(null); } @@ -59,8 +65,11 @@ public CustomDataProvidedResourceFile get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceFile} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceFile get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -70,8 +79,11 @@ public CustomDataProvidedResourceFile get(@jakarta.annotation.Nullable final jav /** * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -79,8 +91,11 @@ public RequestInformation toGetRequestInformation() { * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -91,8 +106,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CustomDataProvidedResourceFileItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CustomDataProvidedResourceFileItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CustomDataProvidedResourceFileItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/files/item/value/ContentRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/files/item/value/ContentRequestBuilder.java index f751132f321..0a5c8b0e177 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/files/item/value/ContentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/files/item/value/ContentRequestBuilder.java @@ -38,7 +38,10 @@ public ContentRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j /** * The unique identifier for an entity. Read-only. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -46,7 +49,10 @@ public void delete() { * The unique identifier for an entity. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * The unique identifier for an entity. Read-only. * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public InputStream get() { return get(null); } @@ -67,8 +76,11 @@ public InputStream get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public InputStream get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -80,8 +92,11 @@ public InputStream get(@jakarta.annotation.Nullable final java.util.function.Con * @param body Binary request body * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public InputStream put(@jakarta.annotation.Nonnull final InputStream body) { return put(body, null); } @@ -91,8 +106,11 @@ public InputStream put(@jakarta.annotation.Nonnull final InputStream body) { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public InputStream put(@jakarta.annotation.Nonnull final InputStream body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPutRequestInformation(body, requestConfiguration); @@ -103,8 +121,11 @@ public InputStream put(@jakarta.annotation.Nonnull final InputStream body, @jaka /** * The unique identifier for an entity. Read-only. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -112,8 +133,11 @@ public RequestInformation toDeleteRequestInformation() { * The unique identifier for an entity. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -123,8 +147,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * The unique identifier for an entity. Read-only. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -132,8 +159,11 @@ public RequestInformation toGetRequestInformation() { * The unique identifier for an entity. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new); @@ -144,8 +174,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * The unique identifier for an entity. Read-only. * @param body Binary request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull final InputStream body) { return toPutRequestInformation(body, null); } @@ -154,8 +187,11 @@ public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull fi * @param body Binary request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull final InputStream body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PUT, urlTemplate, pathParameters); @@ -168,8 +204,11 @@ public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull fi * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ContentRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ContentRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ContentRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/uploadfile/UploadFileRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/uploadfile/UploadFileRequestBuilder.java index 5fba14b1514..19610857293 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/uploadfile/UploadFileRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/uploadfile/UploadFileRequestBuilder.java @@ -39,9 +39,12 @@ public UploadFileRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, * Upload a file in a customDataProvidedResourceUploadSession created for a customDataProvidedResource. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession post() { return post(null); } @@ -50,9 +53,12 @@ public CustomDataProvidedResourceUploadSession post() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -62,8 +68,11 @@ public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nullable /** * Upload a file in a customDataProvidedResourceUploadSession created for a customDataProvidedResource. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation() { * Upload a file in a customDataProvidedResourceUploadSession created for a customDataProvidedResource. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -83,8 +95,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link UploadFileRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public UploadFileRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new UploadFileRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/externaloriginresourceconnector/ExternalOriginResourceConnectorRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/externaloriginresourceconnector/ExternalOriginResourceConnectorRequestBuilder.java index 773fb6c125a..a4dcfef6f0c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/externaloriginresourceconnector/ExternalOriginResourceConnectorRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/externaloriginresourceconnector/ExternalOriginResourceConnectorRequestBuilder.java @@ -40,8 +40,11 @@ public ExternalOriginResourceConnectorRequestBuilder(@jakarta.annotation.Nonnull * The connector that integrates with external origin systems to provision access to resources from those systems. Read-only. Nullable. * @return a {@link ExternalOriginResourceConnector} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ExternalOriginResourceConnector get() { return get(null); } @@ -50,8 +53,11 @@ public ExternalOriginResourceConnector get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ExternalOriginResourceConnector} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ExternalOriginResourceConnector get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public ExternalOriginResourceConnector get(@jakarta.annotation.Nullable final ja /** * The connector that integrates with external origin systems to provision access to resources from those systems. Read-only. Nullable. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * The connector that integrates with external origin systems to provision access to resources from those systems. Read-only. Nullable. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ExternalOriginResourceConnectorRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ExternalOriginResourceConnectorRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ExternalOriginResourceConnectorRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/refresh/RefreshRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/refresh/RefreshRequestBuilder.java index 505483ed8db..61e3008dbad 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/refresh/RefreshRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/refresh/RefreshRequestBuilder.java @@ -37,8 +37,11 @@ public RefreshRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j /** * In Microsoft Entra entitlement management, refresh the accessPackageResource object to fetch the latest details for displayName, description, and resourceType from the origin system. For the AadApplication originSystem, this operation also updates the displayName and description for the accessPackageResourceRole. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * In Microsoft Entra entitlement management, refresh the accessPackageResource object to fetch the latest details for displayName, description, and resourceType from the origin system. For the AadApplication originSystem, this operation also updates the displayName and description for the accessPackageResourceRole. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * In Microsoft Entra entitlement management, refresh the accessPackageResource object to fetch the latest details for displayName, description, and resourceType from the origin system. For the AadApplication originSystem, this operation also updates the displayName and description for the accessPackageResourceRole. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * In Microsoft Entra entitlement management, refresh the accessPackageResource object to fetch the latest details for displayName, description, and resourceType from the origin system. For the AadApplication originSystem, this operation also updates the displayName and description for the accessPackageResourceRole. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RefreshRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RefreshRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RefreshRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/uploadsessions/UploadSessionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/uploadsessions/UploadSessionsRequestBuilder.java index 4e9295fcfbd..db4e169bffe 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/uploadsessions/UploadSessionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/uploadsessions/UploadSessionsRequestBuilder.java @@ -26,7 +26,10 @@ public class UploadSessionsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the uploadSessions property of the microsoft.graph.accessPackageResource entity. * @param customDataProvidedResourceUploadSessionId The unique identifier of customDataProvidedResourceUploadSession * @return a {@link CustomDataProvidedResourceUploadSessionItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CustomDataProvidedResourceUploadSessionItemRequestBuilder byCustomDataProvidedResourceUploadSessionId(@jakarta.annotation.Nonnull final String customDataProvidedResourceUploadSessionId) { Objects.requireNonNull(customDataProvidedResourceUploadSessionId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public UploadSessionsRequestBuilder(@jakarta.annotation.Nonnull final String raw * Get uploadSessions from identityGovernance * @return a {@link CustomDataProvidedResourceUploadSessionCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSessionCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public CustomDataProvidedResourceUploadSessionCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSessionCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSessionCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public CustomDataProvidedResourceUploadSessionCollectionResponse get(@jakarta.an * @param body The request body * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body) { return post(body, null); } @@ -97,8 +112,11 @@ public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nonnull * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nonnull /** * Get uploadSessions from identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Get uploadSessions from identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to uploadSessions for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link UploadSessionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public UploadSessionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new UploadSessionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/uploadsessions/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/uploadsessions/count/CountRequestBuilder.java index dd2f2bf556c..12d28a27f86 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/uploadsessions/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/uploadsessions/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/uploadsessions/item/CustomDataProvidedResourceUploadSessionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/uploadsessions/item/CustomDataProvidedResourceUploadSessionItemRequestBuilder.java index 52c7b4b524e..fca85bab0ce 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/uploadsessions/item/CustomDataProvidedResourceUploadSessionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/uploadsessions/item/CustomDataProvidedResourceUploadSessionItemRequestBuilder.java @@ -25,7 +25,10 @@ public class CustomDataProvidedResourceUploadSessionItemRequestBuilder extends B /** * Provides operations to manage the files property of the microsoft.graph.customDataProvidedResourceUploadSession entity. * @return a {@link FilesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public FilesRequestBuilder files() { return new FilesRequestBuilder(pathParameters, requestAdapter); @@ -33,7 +36,10 @@ public FilesRequestBuilder files() { /** * Provides operations to call the uploadFile method. * @return a {@link UploadFileRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public UploadFileRequestBuilder uploadFile() { return new UploadFileRequestBuilder(pathParameters, requestAdapter); @@ -57,7 +63,10 @@ public CustomDataProvidedResourceUploadSessionItemRequestBuilder(@jakarta.annota /** * Delete navigation property uploadSessions for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -65,7 +74,10 @@ public void delete() { * Delete navigation property uploadSessions for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -76,8 +88,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Get uploadSessions from identityGovernance * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession get() { return get(null); } @@ -86,8 +101,11 @@ public CustomDataProvidedResourceUploadSession get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -99,8 +117,11 @@ public CustomDataProvidedResourceUploadSession get(@jakarta.annotation.Nullable * @param body The request body * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession patch(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body) { return patch(body, null); } @@ -110,8 +131,11 @@ public CustomDataProvidedResourceUploadSession patch(@jakarta.annotation.Nonnull * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession patch(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -122,8 +146,11 @@ public CustomDataProvidedResourceUploadSession patch(@jakarta.annotation.Nonnull /** * Delete navigation property uploadSessions for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -131,8 +158,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property uploadSessions for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -142,8 +172,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Get uploadSessions from identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -151,8 +184,11 @@ public RequestInformation toGetRequestInformation() { * Get uploadSessions from identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -163,8 +199,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property uploadSessions in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body) { return toPatchRequestInformation(body, null); } @@ -173,8 +212,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -187,8 +229,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CustomDataProvidedResourceUploadSessionItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CustomDataProvidedResourceUploadSessionItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CustomDataProvidedResourceUploadSessionItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/uploadsessions/item/files/FilesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/uploadsessions/item/files/FilesRequestBuilder.java index 9d3d5c98939..5b688043c6a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/uploadsessions/item/files/FilesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/uploadsessions/item/files/FilesRequestBuilder.java @@ -25,7 +25,10 @@ public class FilesRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -34,8 +37,11 @@ public CountRequestBuilder count() { * Provides operations to manage the files property of the microsoft.graph.customDataProvidedResourceUploadSession entity. * @param customDataProvidedResourceFileId The unique identifier of customDataProvidedResourceFile * @return a {@link CustomDataProvidedResourceFileItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CustomDataProvidedResourceFileItemRequestBuilder byCustomDataProvidedResourceFileId(@jakarta.annotation.Nonnull final String customDataProvidedResourceFileId) { Objects.requireNonNull(customDataProvidedResourceFileId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -62,8 +68,11 @@ public FilesRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @return a {@link CustomDataProvidedResourceFileCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceFileCollectionResponse get() { return get(null); } @@ -72,8 +81,11 @@ public CustomDataProvidedResourceFileCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceFileCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceFileCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -83,8 +95,11 @@ public CustomDataProvidedResourceFileCollectionResponse get(@jakarta.annotation. /** * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -92,8 +107,11 @@ public RequestInformation toGetRequestInformation() { * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -104,8 +122,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link FilesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new FilesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/uploadsessions/item/files/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/uploadsessions/item/files/count/CountRequestBuilder.java index 5ac5373d67a..7b7d45eb7d5 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/uploadsessions/item/files/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/uploadsessions/item/files/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/uploadsessions/item/files/item/CustomDataProvidedResourceFileItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/uploadsessions/item/files/item/CustomDataProvidedResourceFileItemRequestBuilder.java index 2d0d9f1cd8f..4404d7e7239 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/uploadsessions/item/files/item/CustomDataProvidedResourceFileItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/uploadsessions/item/files/item/CustomDataProvidedResourceFileItemRequestBuilder.java @@ -24,7 +24,10 @@ public class CustomDataProvidedResourceFileItemRequestBuilder extends BaseReques /** * Provides operations to manage the media for the identityGovernance entity. * @return a {@link ContentRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ContentRequestBuilder content() { return new ContentRequestBuilder(pathParameters, requestAdapter); @@ -49,8 +52,11 @@ public CustomDataProvidedResourceFileItemRequestBuilder(@jakarta.annotation.Nonn * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @return a {@link CustomDataProvidedResourceFile} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceFile get() { return get(null); } @@ -59,8 +65,11 @@ public CustomDataProvidedResourceFile get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceFile} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceFile get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -70,8 +79,11 @@ public CustomDataProvidedResourceFile get(@jakarta.annotation.Nullable final jav /** * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -79,8 +91,11 @@ public RequestInformation toGetRequestInformation() { * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -91,8 +106,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CustomDataProvidedResourceFileItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CustomDataProvidedResourceFileItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CustomDataProvidedResourceFileItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/uploadsessions/item/files/item/value/ContentRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/uploadsessions/item/files/item/value/ContentRequestBuilder.java index 90049ced488..232565e5365 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/uploadsessions/item/files/item/value/ContentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/uploadsessions/item/files/item/value/ContentRequestBuilder.java @@ -38,7 +38,10 @@ public ContentRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j /** * The unique identifier for an entity. Read-only. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -46,7 +49,10 @@ public void delete() { * The unique identifier for an entity. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * The unique identifier for an entity. Read-only. * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public InputStream get() { return get(null); } @@ -67,8 +76,11 @@ public InputStream get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public InputStream get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -80,8 +92,11 @@ public InputStream get(@jakarta.annotation.Nullable final java.util.function.Con * @param body Binary request body * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public InputStream put(@jakarta.annotation.Nonnull final InputStream body) { return put(body, null); } @@ -91,8 +106,11 @@ public InputStream put(@jakarta.annotation.Nonnull final InputStream body) { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public InputStream put(@jakarta.annotation.Nonnull final InputStream body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPutRequestInformation(body, requestConfiguration); @@ -103,8 +121,11 @@ public InputStream put(@jakarta.annotation.Nonnull final InputStream body, @jaka /** * The unique identifier for an entity. Read-only. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -112,8 +133,11 @@ public RequestInformation toDeleteRequestInformation() { * The unique identifier for an entity. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -123,8 +147,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * The unique identifier for an entity. Read-only. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -132,8 +159,11 @@ public RequestInformation toGetRequestInformation() { * The unique identifier for an entity. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new); @@ -144,8 +174,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * The unique identifier for an entity. Read-only. * @param body Binary request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull final InputStream body) { return toPutRequestInformation(body, null); } @@ -154,8 +187,11 @@ public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull fi * @param body Binary request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull final InputStream body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PUT, urlTemplate, pathParameters); @@ -168,8 +204,11 @@ public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull fi * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ContentRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ContentRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ContentRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/uploadsessions/item/uploadfile/UploadFileRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/uploadsessions/item/uploadfile/UploadFileRequestBuilder.java index 74b6acf14ed..c4e256e4e56 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/uploadsessions/item/uploadfile/UploadFileRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/uploadsessions/item/uploadfile/UploadFileRequestBuilder.java @@ -39,9 +39,12 @@ public UploadFileRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, * Upload a file in a customDataProvidedResourceUploadSession created for a customDataProvidedResource. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession post() { return post(null); } @@ -50,9 +53,12 @@ public CustomDataProvidedResourceUploadSession post() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -62,8 +68,11 @@ public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nullable /** * Upload a file in a customDataProvidedResourceUploadSession created for a customDataProvidedResource. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation() { * Upload a file in a customDataProvidedResourceUploadSession created for a customDataProvidedResource. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -83,8 +95,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link UploadFileRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public UploadFileRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new UploadFileRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/AccessPackagesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/AccessPackagesRequestBuilder.java index cc808df433e..e5ac336006e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/AccessPackagesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/AccessPackagesRequestBuilder.java @@ -28,7 +28,10 @@ public class AccessPackagesRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -36,7 +39,10 @@ public CountRequestBuilder count() { /** * Provides operations to call the Search method. * @return a {@link SearchRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public SearchRequestBuilder search() { return new SearchRequestBuilder(pathParameters, requestAdapter); @@ -45,8 +51,11 @@ public SearchRequestBuilder search() { * Provides operations to manage the accessPackages property of the microsoft.graph.entitlementManagement entity. * @param accessPackageId The unique identifier of accessPackage * @return a {@link AccessPackageItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageItemRequestBuilder byAccessPackageId(@jakarta.annotation.Nonnull final String accessPackageId) { Objects.requireNonNull(accessPackageId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -73,8 +82,11 @@ public AccessPackagesRequestBuilder(@jakarta.annotation.Nonnull final String raw * Provides operations to call the filterByCurrentUser method. * @param on Usage: on='{on}' * @return a {@link FilterByCurrentUserWithOnRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilterByCurrentUserWithOnRequestBuilder filterByCurrentUserWithOn(@jakarta.annotation.Nonnull final String on) { Objects.requireNonNull(on); return new FilterByCurrentUserWithOnRequestBuilder(pathParameters, requestAdapter, on); @@ -83,9 +95,12 @@ public FilterByCurrentUserWithOnRequestBuilder filterByCurrentUserWithOn(@jakart * Retrieve a list of accessPackage objects. The resulting list includes all the access packages that the caller has access to read, across all catalogs. * @return a {@link AccessPackageCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageCollectionResponse get() { return get(null); } @@ -94,9 +109,12 @@ public AccessPackageCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -108,9 +126,12 @@ public AccessPackageCollectionResponse get(@jakarta.annotation.Nullable final ja * @param body The request body * @return a {@link AccessPackage} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public AccessPackage post(@jakarta.annotation.Nonnull final AccessPackage body) { return post(body, null); } @@ -120,9 +141,12 @@ public AccessPackage post(@jakarta.annotation.Nonnull final AccessPackage body) * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackage} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public AccessPackage post(@jakarta.annotation.Nonnull final AccessPackage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -133,8 +157,11 @@ public AccessPackage post(@jakarta.annotation.Nonnull final AccessPackage body, /** * Retrieve a list of accessPackage objects. The resulting list includes all the access packages that the caller has access to read, across all catalogs. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -142,8 +169,11 @@ public RequestInformation toGetRequestInformation() { * Retrieve a list of accessPackage objects. The resulting list includes all the access packages that the caller has access to read, across all catalogs. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -154,8 +184,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create a new accessPackage object. The access package will be added to an existing accessPackageCatalog. After the access package is created, you can then create accessPackageAssignmentPolicies which specify how users are assigned to the access package. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackage body) { return toPostRequestInformation(body, null); } @@ -164,8 +197,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -178,8 +214,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackagesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackagesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackagesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/count/CountRequestBuilder.java index b8af2e4a825..e36defb44df 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java index 1dd835774ac..a6d5c2ea89d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java @@ -41,9 +41,12 @@ public FilterByCurrentUserWithOnRequestBuilder(@jakarta.annotation.Nonnull final * In Microsoft Entra Entitlement Management, retrieve a list of accessPackage objects filtered on the signed-in user. * @return a {@link FilterByCurrentUserWithOnGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public FilterByCurrentUserWithOnGetResponse get() { return get(null); } @@ -52,9 +55,12 @@ public FilterByCurrentUserWithOnGetResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link FilterByCurrentUserWithOnGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public FilterByCurrentUserWithOnGetResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -64,8 +70,11 @@ public FilterByCurrentUserWithOnGetResponse get(@jakarta.annotation.Nullable fin /** * In Microsoft Entra Entitlement Management, retrieve a list of accessPackage objects filtered on the signed-in user. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -73,8 +82,11 @@ public RequestInformation toGetRequestInformation() { * In Microsoft Entra Entitlement Management, retrieve a list of accessPackage objects filtered on the signed-in user. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -85,8 +97,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link FilterByCurrentUserWithOnRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilterByCurrentUserWithOnRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new FilterByCurrentUserWithOnRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/AccessPackageItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/AccessPackageItemRequestBuilder.java index 4672adf62c3..62c255e28b9 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/AccessPackageItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/AccessPackageItemRequestBuilder.java @@ -32,7 +32,10 @@ public class AccessPackageItemRequestBuilder extends BaseRequestBuilder { /** * Provides operations to manage the accessPackageAssignmentPolicies property of the microsoft.graph.accessPackage entity. * @return a {@link AccessPackageAssignmentPoliciesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackageAssignmentPoliciesRequestBuilder accessPackageAssignmentPolicies() { return new AccessPackageAssignmentPoliciesRequestBuilder(pathParameters, requestAdapter); @@ -40,7 +43,10 @@ public AccessPackageAssignmentPoliciesRequestBuilder accessPackageAssignmentPoli /** * Provides operations to manage the accessPackageCatalog property of the microsoft.graph.accessPackage entity. * @return a {@link AccessPackageCatalogRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackageCatalogRequestBuilder accessPackageCatalog() { return new AccessPackageCatalogRequestBuilder(pathParameters, requestAdapter); @@ -48,7 +54,10 @@ public AccessPackageCatalogRequestBuilder accessPackageCatalog() { /** * Provides operations to manage the accessPackageResourceRoleScopes property of the microsoft.graph.accessPackage entity. * @return a {@link AccessPackageResourceRoleScopesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackageResourceRoleScopesRequestBuilder accessPackageResourceRoleScopes() { return new AccessPackageResourceRoleScopesRequestBuilder(pathParameters, requestAdapter); @@ -56,7 +65,10 @@ public AccessPackageResourceRoleScopesRequestBuilder accessPackageResourceRoleSc /** * Provides operations to manage the accessPackagesIncompatibleWith property of the microsoft.graph.accessPackage entity. * @return a {@link AccessPackagesIncompatibleWithRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackagesIncompatibleWithRequestBuilder accessPackagesIncompatibleWith() { return new AccessPackagesIncompatibleWithRequestBuilder(pathParameters, requestAdapter); @@ -64,7 +76,10 @@ public AccessPackagesIncompatibleWithRequestBuilder accessPackagesIncompatibleWi /** * Provides operations to call the getApplicablePolicyRequirements method. * @return a {@link GetApplicablePolicyRequirementsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public GetApplicablePolicyRequirementsRequestBuilder getApplicablePolicyRequirements() { return new GetApplicablePolicyRequirementsRequestBuilder(pathParameters, requestAdapter); @@ -72,7 +87,10 @@ public GetApplicablePolicyRequirementsRequestBuilder getApplicablePolicyRequirem /** * Provides operations to manage the incompatibleAccessPackages property of the microsoft.graph.accessPackage entity. * @return a {@link IncompatibleAccessPackagesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public IncompatibleAccessPackagesRequestBuilder incompatibleAccessPackages() { return new IncompatibleAccessPackagesRequestBuilder(pathParameters, requestAdapter); @@ -80,7 +98,10 @@ public IncompatibleAccessPackagesRequestBuilder incompatibleAccessPackages() { /** * Provides operations to manage the incompatibleGroups property of the microsoft.graph.accessPackage entity. * @return a {@link IncompatibleGroupsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public IncompatibleGroupsRequestBuilder incompatibleGroups() { return new IncompatibleGroupsRequestBuilder(pathParameters, requestAdapter); @@ -88,7 +109,10 @@ public IncompatibleGroupsRequestBuilder incompatibleGroups() { /** * Provides operations to call the moveToCatalog method. * @return a {@link MoveToCatalogRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public MoveToCatalogRequestBuilder moveToCatalog() { return new MoveToCatalogRequestBuilder(pathParameters, requestAdapter); @@ -97,8 +121,11 @@ public MoveToCatalogRequestBuilder moveToCatalog() { * Provides operations to manage the accessPackagesIncompatibleWith property of the microsoft.graph.accessPackage entity. * @param uniqueName Alternate key of accessPackage * @return a {@link AccessPackagesIncompatibleWithWithUniqueNameRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackagesIncompatibleWithWithUniqueNameRequestBuilder accessPackagesIncompatibleWithWithUniqueName(@jakarta.annotation.Nonnull final String uniqueName) { Objects.requireNonNull(uniqueName); return new AccessPackagesIncompatibleWithWithUniqueNameRequestBuilder(pathParameters, requestAdapter, uniqueName); @@ -122,8 +149,11 @@ public AccessPackageItemRequestBuilder(@jakarta.annotation.Nonnull final String /** * Delete an accessPackage object. You can't delete an access package if it has any accessPackageAssignment. To delete the access package, first query if there are any assignments with a filter to indicate the specific access package, such as: $filter=accessPackage/id eq 'a914b616-e04e-476b-aa37-91038f0b165b'. For more information on how to remove assignments that are still in the delivered state, see Remove an assignment. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void delete() { delete(null); } @@ -131,8 +161,11 @@ public void delete() { * Delete an accessPackage object. You can't delete an access package if it has any accessPackageAssignment. To delete the access package, first query if there are any assignments with a filter to indicate the specific access package, such as: $filter=accessPackage/id eq 'a914b616-e04e-476b-aa37-91038f0b165b'. For more information on how to remove assignments that are still in the delivered state, see Remove an assignment. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -143,9 +176,12 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Retrieve the properties and relationships of an accessPackage object. * @return a {@link AccessPackage} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public AccessPackage get() { return get(null); } @@ -154,9 +190,12 @@ public AccessPackage get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackage} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public AccessPackage get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -168,9 +207,12 @@ public AccessPackage get(@jakarta.annotation.Nullable final java.util.function.C * @param body The request body * @return a {@link AccessPackage} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public AccessPackage patch(@jakarta.annotation.Nonnull final AccessPackage body) { return patch(body, null); } @@ -180,9 +222,12 @@ public AccessPackage patch(@jakarta.annotation.Nonnull final AccessPackage body) * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackage} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public AccessPackage patch(@jakarta.annotation.Nonnull final AccessPackage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -193,8 +238,11 @@ public AccessPackage patch(@jakarta.annotation.Nonnull final AccessPackage body, /** * Delete an accessPackage object. You can't delete an access package if it has any accessPackageAssignment. To delete the access package, first query if there are any assignments with a filter to indicate the specific access package, such as: $filter=accessPackage/id eq 'a914b616-e04e-476b-aa37-91038f0b165b'. For more information on how to remove assignments that are still in the delivered state, see Remove an assignment. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -202,8 +250,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete an accessPackage object. You can't delete an access package if it has any accessPackageAssignment. To delete the access package, first query if there are any assignments with a filter to indicate the specific access package, such as: $filter=accessPackage/id eq 'a914b616-e04e-476b-aa37-91038f0b165b'. For more information on how to remove assignments that are still in the delivered state, see Remove an assignment. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -213,8 +264,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Retrieve the properties and relationships of an accessPackage object. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -222,8 +276,11 @@ public RequestInformation toGetRequestInformation() { * Retrieve the properties and relationships of an accessPackage object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -234,8 +291,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update an existing accessPackage object to change one or more of its properties, such as the display name or description. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackage body) { return toPatchRequestInformation(body, null); } @@ -244,8 +304,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -258,8 +321,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/AccessPackageResourceRoleScopesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/AccessPackageResourceRoleScopesRequestBuilder.java index 9594f47ecb3..0dd1d4c4eef 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/AccessPackageResourceRoleScopesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/AccessPackageResourceRoleScopesRequestBuilder.java @@ -26,7 +26,10 @@ public class AccessPackageResourceRoleScopesRequestBuilder extends BaseRequestBu /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the accessPackageResourceRoleScopes property of the microsoft.graph.accessPackage entity. * @param accessPackageResourceRoleScopeId The unique identifier of accessPackageResourceRoleScope * @return a {@link AccessPackageResourceRoleScopeItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceRoleScopeItemRequestBuilder byAccessPackageResourceRoleScopeId(@jakarta.annotation.Nonnull final String accessPackageResourceRoleScopeId) { Objects.requireNonNull(accessPackageResourceRoleScopeId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public AccessPackageResourceRoleScopesRequestBuilder(@jakarta.annotation.Nonnull * Get accessPackageResourceRoleScopes from identityGovernance * @return a {@link AccessPackageResourceRoleScopeCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRoleScopeCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public AccessPackageResourceRoleScopeCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceRoleScopeCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRoleScopeCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,9 +98,12 @@ public AccessPackageResourceRoleScopeCollectionResponse get(@jakarta.annotation. * @param body The request body * @return a {@link AccessPackageResourceRoleScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRoleScope post(@jakarta.annotation.Nonnull final AccessPackageResourceRoleScope body) { return post(body, null); } @@ -98,9 +113,12 @@ public AccessPackageResourceRoleScope post(@jakarta.annotation.Nonnull final Acc * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceRoleScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRoleScope post(@jakarta.annotation.Nonnull final AccessPackageResourceRoleScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -111,8 +129,11 @@ public AccessPackageResourceRoleScope post(@jakarta.annotation.Nonnull final Acc /** * Get accessPackageResourceRoleScopes from identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -120,8 +141,11 @@ public RequestInformation toGetRequestInformation() { * Get accessPackageResourceRoleScopes from identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -132,8 +156,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create a new accessPackageResourceRoleScope for adding a resource role to an access package. The access package resource, for a group, an app, or a SharePoint Online site, must already exist in the access package catalog, and the originId for the resource role retrieved from the list of the resource roles. Once you add the resource role scope to the access package, the user will receive this resource role through any current and future access package assignments. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRoleScope body) { return toPostRequestInformation(body, null); } @@ -142,8 +169,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRoleScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -156,8 +186,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceRoleScopesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceRoleScopesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceRoleScopesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/count/CountRequestBuilder.java index 0e54d691404..224ec6c4af0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/AccessPackageResourceRoleScopeItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/AccessPackageResourceRoleScopeItemRequestBuilder.java index 3b19505d88a..7847e2d86bd 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/AccessPackageResourceRoleScopeItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/AccessPackageResourceRoleScopeItemRequestBuilder.java @@ -25,7 +25,10 @@ public class AccessPackageResourceRoleScopeItemRequestBuilder extends BaseReques /** * Provides operations to manage the accessPackageResourceRole property of the microsoft.graph.accessPackageResourceRoleScope entity. * @return a {@link AccessPackageResourceRoleRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackageResourceRoleRequestBuilder accessPackageResourceRole() { return new AccessPackageResourceRoleRequestBuilder(pathParameters, requestAdapter); @@ -33,7 +36,10 @@ public AccessPackageResourceRoleRequestBuilder accessPackageResourceRole() { /** * Provides operations to manage the accessPackageResourceScope property of the microsoft.graph.accessPackageResourceRoleScope entity. * @return a {@link AccessPackageResourceScopeRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackageResourceScopeRequestBuilder accessPackageResourceScope() { return new AccessPackageResourceScopeRequestBuilder(pathParameters, requestAdapter); @@ -57,7 +63,10 @@ public AccessPackageResourceRoleScopeItemRequestBuilder(@jakarta.annotation.Nonn /** * Delete navigation property accessPackageResourceRoleScopes for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -65,7 +74,10 @@ public void delete() { * Delete navigation property accessPackageResourceRoleScopes for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -76,8 +88,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Get accessPackageResourceRoleScopes from identityGovernance * @return a {@link AccessPackageResourceRoleScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRoleScope get() { return get(null); } @@ -86,8 +101,11 @@ public AccessPackageResourceRoleScope get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceRoleScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRoleScope get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -99,8 +117,11 @@ public AccessPackageResourceRoleScope get(@jakarta.annotation.Nullable final jav * @param body The request body * @return a {@link AccessPackageResourceRoleScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRoleScope patch(@jakarta.annotation.Nonnull final AccessPackageResourceRoleScope body) { return patch(body, null); } @@ -110,8 +131,11 @@ public AccessPackageResourceRoleScope patch(@jakarta.annotation.Nonnull final Ac * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceRoleScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRoleScope patch(@jakarta.annotation.Nonnull final AccessPackageResourceRoleScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -122,8 +146,11 @@ public AccessPackageResourceRoleScope patch(@jakarta.annotation.Nonnull final Ac /** * Delete navigation property accessPackageResourceRoleScopes for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -131,8 +158,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property accessPackageResourceRoleScopes for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -142,8 +172,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Get accessPackageResourceRoleScopes from identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -151,8 +184,11 @@ public RequestInformation toGetRequestInformation() { * Get accessPackageResourceRoleScopes from identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -163,8 +199,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property accessPackageResourceRoleScopes in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRoleScope body) { return toPatchRequestInformation(body, null); } @@ -173,8 +212,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRoleScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -187,8 +229,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceRoleScopeItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceRoleScopeItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceRoleScopeItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/AccessPackageResourceRoleRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/AccessPackageResourceRoleRequestBuilder.java index 15b36de2ced..2d860cf3ad4 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/AccessPackageResourceRoleRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/AccessPackageResourceRoleRequestBuilder.java @@ -24,7 +24,10 @@ public class AccessPackageResourceRoleRequestBuilder extends BaseRequestBuilder /** * Provides operations to manage the accessPackageResource property of the microsoft.graph.accessPackageResourceRole entity. * @return a {@link AccessPackageResourceRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackageResourceRequestBuilder accessPackageResource() { return new AccessPackageResourceRequestBuilder(pathParameters, requestAdapter); @@ -48,7 +51,10 @@ public AccessPackageResourceRoleRequestBuilder(@jakarta.annotation.Nonnull final /** * Delete navigation property accessPackageResourceRole for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -56,7 +62,10 @@ public void delete() { * Delete navigation property accessPackageResourceRole for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -67,8 +76,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Read-only. Nullable. Supports $expand. * @return a {@link AccessPackageResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRole get() { return get(null); } @@ -77,8 +89,11 @@ public AccessPackageResourceRole get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRole get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -90,8 +105,11 @@ public AccessPackageResourceRole get(@jakarta.annotation.Nullable final java.uti * @param body The request body * @return a {@link AccessPackageResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRole patch(@jakarta.annotation.Nonnull final AccessPackageResourceRole body) { return patch(body, null); } @@ -101,8 +119,11 @@ public AccessPackageResourceRole patch(@jakarta.annotation.Nonnull final AccessP * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRole patch(@jakarta.annotation.Nonnull final AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -113,8 +134,11 @@ public AccessPackageResourceRole patch(@jakarta.annotation.Nonnull final AccessP /** * Delete navigation property accessPackageResourceRole for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -122,8 +146,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property accessPackageResourceRole for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -133,8 +160,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Read-only. Nullable. Supports $expand. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -142,8 +172,11 @@ public RequestInformation toGetRequestInformation() { * Read-only. Nullable. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -154,8 +187,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property accessPackageResourceRole in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRole body) { return toPatchRequestInformation(body, null); } @@ -164,8 +200,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -178,8 +217,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceRoleRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceRoleRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceRoleRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/AccessPackageResourceRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/AccessPackageResourceRequestBuilder.java index a4f2760c94f..33d61a1a863 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/AccessPackageResourceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/AccessPackageResourceRequestBuilder.java @@ -29,7 +29,10 @@ public class AccessPackageResourceRequestBuilder extends BaseRequestBuilder { /** * Provides operations to manage the accessPackageResourceEnvironment property of the microsoft.graph.accessPackageResource entity. * @return a {@link AccessPackageResourceEnvironmentRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackageResourceEnvironmentRequestBuilder accessPackageResourceEnvironment() { return new AccessPackageResourceEnvironmentRequestBuilder(pathParameters, requestAdapter); @@ -37,7 +40,10 @@ public AccessPackageResourceEnvironmentRequestBuilder accessPackageResourceEnvir /** * Provides operations to manage the accessPackageResourceRoles property of the microsoft.graph.accessPackageResource entity. * @return a {@link AccessPackageResourceRolesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackageResourceRolesRequestBuilder accessPackageResourceRoles() { return new AccessPackageResourceRolesRequestBuilder(pathParameters, requestAdapter); @@ -45,7 +51,10 @@ public AccessPackageResourceRolesRequestBuilder accessPackageResourceRoles() { /** * Provides operations to manage the accessPackageResourceScopes property of the microsoft.graph.accessPackageResource entity. * @return a {@link AccessPackageResourceScopesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackageResourceScopesRequestBuilder accessPackageResourceScopes() { return new AccessPackageResourceScopesRequestBuilder(pathParameters, requestAdapter); @@ -53,7 +62,10 @@ public AccessPackageResourceScopesRequestBuilder accessPackageResourceScopes() { /** * Provides operations to manage the externalOriginResourceConnector property of the microsoft.graph.accessPackageResource entity. * @return a {@link ExternalOriginResourceConnectorRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ExternalOriginResourceConnectorRequestBuilder externalOriginResourceConnector() { return new ExternalOriginResourceConnectorRequestBuilder(pathParameters, requestAdapter); @@ -61,7 +73,10 @@ public ExternalOriginResourceConnectorRequestBuilder externalOriginResourceConne /** * Provides operations to call the refresh method. * @return a {@link RefreshRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public RefreshRequestBuilder refresh() { return new RefreshRequestBuilder(pathParameters, requestAdapter); @@ -69,7 +84,10 @@ public RefreshRequestBuilder refresh() { /** * Provides operations to manage the uploadSessions property of the microsoft.graph.accessPackageResource entity. * @return a {@link UploadSessionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public UploadSessionsRequestBuilder uploadSessions() { return new UploadSessionsRequestBuilder(pathParameters, requestAdapter); @@ -93,7 +111,10 @@ public AccessPackageResourceRequestBuilder(@jakarta.annotation.Nonnull final Str /** * Delete navigation property accessPackageResource for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -101,7 +122,10 @@ public void delete() { * Delete navigation property accessPackageResource for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -112,8 +136,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Get accessPackageResource from identityGovernance * @return a {@link AccessPackageResource} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResource get() { return get(null); } @@ -122,8 +149,11 @@ public AccessPackageResource get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResource} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResource get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -135,8 +165,11 @@ public AccessPackageResource get(@jakarta.annotation.Nullable final java.util.fu * @param body The request body * @return a {@link AccessPackageResource} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResource patch(@jakarta.annotation.Nonnull final AccessPackageResource body) { return patch(body, null); } @@ -146,8 +179,11 @@ public AccessPackageResource patch(@jakarta.annotation.Nonnull final AccessPacka * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResource} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResource patch(@jakarta.annotation.Nonnull final AccessPackageResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -158,8 +194,11 @@ public AccessPackageResource patch(@jakarta.annotation.Nonnull final AccessPacka /** * Delete navigation property accessPackageResource for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -167,8 +206,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property accessPackageResource for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -178,8 +220,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Get accessPackageResource from identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -187,8 +232,11 @@ public RequestInformation toGetRequestInformation() { * Get accessPackageResource from identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -199,8 +247,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property accessPackageResource in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResource body) { return toPatchRequestInformation(body, null); } @@ -209,8 +260,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -223,8 +277,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourceenvironment/AccessPackageResourceEnvironmentRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourceenvironment/AccessPackageResourceEnvironmentRequestBuilder.java index d8dcf359e21..cf74ac64ba2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourceenvironment/AccessPackageResourceEnvironmentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourceenvironment/AccessPackageResourceEnvironmentRequestBuilder.java @@ -40,8 +40,11 @@ public AccessPackageResourceEnvironmentRequestBuilder(@jakarta.annotation.Nonnul * Contains the environment information for the resource. This environment can be set using either the @odata.bind annotation or the environment's originId. Supports $expand. * @return a {@link AccessPackageResourceEnvironment} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceEnvironment get() { return get(null); } @@ -50,8 +53,11 @@ public AccessPackageResourceEnvironment get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceEnvironment} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceEnvironment get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public AccessPackageResourceEnvironment get(@jakarta.annotation.Nullable final j /** * Contains the environment information for the resource. This environment can be set using either the @odata.bind annotation or the environment's originId. Supports $expand. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * Contains the environment information for the resource. This environment can be set using either the @odata.bind annotation or the environment's originId. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceEnvironmentRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceEnvironmentRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceEnvironmentRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java index efede61c35b..4255a568bd0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java @@ -26,7 +26,10 @@ public class AccessPackageResourceRolesRequestBuilder extends BaseRequestBuilder /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the accessPackageResourceRoles property of the microsoft.graph.accessPackageResource entity. * @param accessPackageResourceRoleId The unique identifier of accessPackageResourceRole * @return a {@link AccessPackageResourceRoleItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceRoleItemRequestBuilder byAccessPackageResourceRoleId(@jakarta.annotation.Nonnull final String accessPackageResourceRoleId) { Objects.requireNonNull(accessPackageResourceRoleId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public AccessPackageResourceRolesRequestBuilder(@jakarta.annotation.Nonnull fina * Read-only. Nullable. Supports $expand. * @return a {@link AccessPackageResourceRoleCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRoleCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public AccessPackageResourceRoleCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceRoleCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRoleCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public AccessPackageResourceRoleCollectionResponse get(@jakarta.annotation.Nulla * @param body The request body * @return a {@link AccessPackageResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRole post(@jakarta.annotation.Nonnull final AccessPackageResourceRole body) { return post(body, null); } @@ -97,8 +112,11 @@ public AccessPackageResourceRole post(@jakarta.annotation.Nonnull final AccessPa * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRole post(@jakarta.annotation.Nonnull final AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public AccessPackageResourceRole post(@jakarta.annotation.Nonnull final AccessPa /** * Read-only. Nullable. Supports $expand. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Read-only. Nullable. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to accessPackageResourceRoles for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRole body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceRolesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceRolesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceRolesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourceroles/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourceroles/count/CountRequestBuilder.java index 92be3cc06cc..30663901911 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourceroles/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourceroles/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java index 3f8bf949589..6e6f9369e14 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java @@ -39,7 +39,10 @@ public AccessPackageResourceRoleItemRequestBuilder(@jakarta.annotation.Nonnull f /** * Delete navigation property accessPackageResourceRoles for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -47,7 +50,10 @@ public void delete() { * Delete navigation property accessPackageResourceRoles for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -58,8 +64,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Read-only. Nullable. Supports $expand. * @return a {@link AccessPackageResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRole get() { return get(null); } @@ -68,8 +77,11 @@ public AccessPackageResourceRole get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRole get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -81,8 +93,11 @@ public AccessPackageResourceRole get(@jakarta.annotation.Nullable final java.uti * @param body The request body * @return a {@link AccessPackageResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRole patch(@jakarta.annotation.Nonnull final AccessPackageResourceRole body) { return patch(body, null); } @@ -92,8 +107,11 @@ public AccessPackageResourceRole patch(@jakarta.annotation.Nonnull final AccessP * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRole patch(@jakarta.annotation.Nonnull final AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -104,8 +122,11 @@ public AccessPackageResourceRole patch(@jakarta.annotation.Nonnull final AccessP /** * Delete navigation property accessPackageResourceRoles for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -113,8 +134,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property accessPackageResourceRoles for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Read-only. Nullable. Supports $expand. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -133,8 +160,11 @@ public RequestInformation toGetRequestInformation() { * Read-only. Nullable. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -145,8 +175,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property accessPackageResourceRoles in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRole body) { return toPatchRequestInformation(body, null); } @@ -155,8 +188,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -169,8 +205,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceRoleItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceRoleItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceRoleItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java index 18b38273a69..662a48eb195 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java @@ -26,7 +26,10 @@ public class AccessPackageResourceScopesRequestBuilder extends BaseRequestBuilde /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the accessPackageResourceScopes property of the microsoft.graph.accessPackageResource entity. * @param accessPackageResourceScopeId The unique identifier of accessPackageResourceScope * @return a {@link AccessPackageResourceScopeItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceScopeItemRequestBuilder byAccessPackageResourceScopeId(@jakarta.annotation.Nonnull final String accessPackageResourceScopeId) { Objects.requireNonNull(accessPackageResourceScopeId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public AccessPackageResourceScopesRequestBuilder(@jakarta.annotation.Nonnull fin * Read-only. Nullable. Supports $expand. * @return a {@link AccessPackageResourceScopeCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScopeCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public AccessPackageResourceScopeCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceScopeCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScopeCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public AccessPackageResourceScopeCollectionResponse get(@jakarta.annotation.Null * @param body The request body * @return a {@link AccessPackageResourceScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScope post(@jakarta.annotation.Nonnull final AccessPackageResourceScope body) { return post(body, null); } @@ -97,8 +112,11 @@ public AccessPackageResourceScope post(@jakarta.annotation.Nonnull final AccessP * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScope post(@jakarta.annotation.Nonnull final AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public AccessPackageResourceScope post(@jakarta.annotation.Nonnull final AccessP /** * Read-only. Nullable. Supports $expand. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Read-only. Nullable. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to accessPackageResourceScopes for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceScope body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceScopesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceScopesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceScopesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/count/CountRequestBuilder.java index 03a56957c9c..435dcd0212e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java index ec954413855..f19350b29e1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java @@ -24,7 +24,10 @@ public class AccessPackageResourceScopeItemRequestBuilder extends BaseRequestBui /** * Provides operations to manage the accessPackageResource property of the microsoft.graph.accessPackageResourceScope entity. * @return a {@link AccessPackageResourceRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackageResourceRequestBuilder accessPackageResource() { return new AccessPackageResourceRequestBuilder(pathParameters, requestAdapter); @@ -48,7 +51,10 @@ public AccessPackageResourceScopeItemRequestBuilder(@jakarta.annotation.Nonnull /** * Delete navigation property accessPackageResourceScopes for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -56,7 +62,10 @@ public void delete() { * Delete navigation property accessPackageResourceScopes for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -67,8 +76,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Read-only. Nullable. Supports $expand. * @return a {@link AccessPackageResourceScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScope get() { return get(null); } @@ -77,8 +89,11 @@ public AccessPackageResourceScope get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScope get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -90,8 +105,11 @@ public AccessPackageResourceScope get(@jakarta.annotation.Nullable final java.ut * @param body The request body * @return a {@link AccessPackageResourceScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScope patch(@jakarta.annotation.Nonnull final AccessPackageResourceScope body) { return patch(body, null); } @@ -101,8 +119,11 @@ public AccessPackageResourceScope patch(@jakarta.annotation.Nonnull final Access * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScope patch(@jakarta.annotation.Nonnull final AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -113,8 +134,11 @@ public AccessPackageResourceScope patch(@jakarta.annotation.Nonnull final Access /** * Delete navigation property accessPackageResourceScopes for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -122,8 +146,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property accessPackageResourceScopes for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -133,8 +160,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Read-only. Nullable. Supports $expand. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -142,8 +172,11 @@ public RequestInformation toGetRequestInformation() { * Read-only. Nullable. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -154,8 +187,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property accessPackageResourceScopes in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceScope body) { return toPatchRequestInformation(body, null); } @@ -164,8 +200,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -178,8 +217,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceScopeItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceScopeItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceScopeItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/AccessPackageResourceRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/AccessPackageResourceRequestBuilder.java index 0652ab8bb6b..2c64aca607f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/AccessPackageResourceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/AccessPackageResourceRequestBuilder.java @@ -28,7 +28,10 @@ public class AccessPackageResourceRequestBuilder extends BaseRequestBuilder { /** * Provides operations to manage the accessPackageResourceEnvironment property of the microsoft.graph.accessPackageResource entity. * @return a {@link AccessPackageResourceEnvironmentRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackageResourceEnvironmentRequestBuilder accessPackageResourceEnvironment() { return new AccessPackageResourceEnvironmentRequestBuilder(pathParameters, requestAdapter); @@ -36,7 +39,10 @@ public AccessPackageResourceEnvironmentRequestBuilder accessPackageResourceEnvir /** * Provides operations to manage the accessPackageResourceRoles property of the microsoft.graph.accessPackageResource entity. * @return a {@link AccessPackageResourceRolesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackageResourceRolesRequestBuilder accessPackageResourceRoles() { return new AccessPackageResourceRolesRequestBuilder(pathParameters, requestAdapter); @@ -44,7 +50,10 @@ public AccessPackageResourceRolesRequestBuilder accessPackageResourceRoles() { /** * Provides operations to manage the externalOriginResourceConnector property of the microsoft.graph.accessPackageResource entity. * @return a {@link ExternalOriginResourceConnectorRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ExternalOriginResourceConnectorRequestBuilder externalOriginResourceConnector() { return new ExternalOriginResourceConnectorRequestBuilder(pathParameters, requestAdapter); @@ -52,7 +61,10 @@ public ExternalOriginResourceConnectorRequestBuilder externalOriginResourceConne /** * Provides operations to call the refresh method. * @return a {@link RefreshRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public RefreshRequestBuilder refresh() { return new RefreshRequestBuilder(pathParameters, requestAdapter); @@ -60,7 +72,10 @@ public RefreshRequestBuilder refresh() { /** * Provides operations to manage the uploadSessions property of the microsoft.graph.accessPackageResource entity. * @return a {@link UploadSessionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public UploadSessionsRequestBuilder uploadSessions() { return new UploadSessionsRequestBuilder(pathParameters, requestAdapter); @@ -84,7 +99,10 @@ public AccessPackageResourceRequestBuilder(@jakarta.annotation.Nonnull final Str /** * Delete navigation property accessPackageResource for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -92,7 +110,10 @@ public void delete() { * Delete navigation property accessPackageResource for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -103,8 +124,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Get accessPackageResource from identityGovernance * @return a {@link AccessPackageResource} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResource get() { return get(null); } @@ -113,8 +137,11 @@ public AccessPackageResource get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResource} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResource get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -126,8 +153,11 @@ public AccessPackageResource get(@jakarta.annotation.Nullable final java.util.fu * @param body The request body * @return a {@link AccessPackageResource} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResource patch(@jakarta.annotation.Nonnull final AccessPackageResource body) { return patch(body, null); } @@ -137,8 +167,11 @@ public AccessPackageResource patch(@jakarta.annotation.Nonnull final AccessPacka * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResource} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResource patch(@jakarta.annotation.Nonnull final AccessPackageResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -149,8 +182,11 @@ public AccessPackageResource patch(@jakarta.annotation.Nonnull final AccessPacka /** * Delete navigation property accessPackageResource for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -158,8 +194,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property accessPackageResource for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -169,8 +208,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Get accessPackageResource from identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -178,8 +220,11 @@ public RequestInformation toGetRequestInformation() { * Get accessPackageResource from identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -190,8 +235,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property accessPackageResource in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResource body) { return toPatchRequestInformation(body, null); } @@ -200,8 +248,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -214,8 +265,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceenvironment/AccessPackageResourceEnvironmentRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceenvironment/AccessPackageResourceEnvironmentRequestBuilder.java index a343a7d2a2a..504fd0acc97 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceenvironment/AccessPackageResourceEnvironmentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceenvironment/AccessPackageResourceEnvironmentRequestBuilder.java @@ -40,8 +40,11 @@ public AccessPackageResourceEnvironmentRequestBuilder(@jakarta.annotation.Nonnul * Contains the environment information for the resource. This environment can be set using either the @odata.bind annotation or the environment's originId. Supports $expand. * @return a {@link AccessPackageResourceEnvironment} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceEnvironment get() { return get(null); } @@ -50,8 +53,11 @@ public AccessPackageResourceEnvironment get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceEnvironment} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceEnvironment get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public AccessPackageResourceEnvironment get(@jakarta.annotation.Nullable final j /** * Contains the environment information for the resource. This environment can be set using either the @odata.bind annotation or the environment's originId. Supports $expand. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * Contains the environment information for the resource. This environment can be set using either the @odata.bind annotation or the environment's originId. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceEnvironmentRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceEnvironmentRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceEnvironmentRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java index 95d0e502098..18c5a39d899 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java @@ -26,7 +26,10 @@ public class AccessPackageResourceRolesRequestBuilder extends BaseRequestBuilder /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the accessPackageResourceRoles property of the microsoft.graph.accessPackageResource entity. * @param accessPackageResourceRoleId The unique identifier of accessPackageResourceRole * @return a {@link AccessPackageResourceRoleItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceRoleItemRequestBuilder byAccessPackageResourceRoleId(@jakarta.annotation.Nonnull final String accessPackageResourceRoleId) { Objects.requireNonNull(accessPackageResourceRoleId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public AccessPackageResourceRolesRequestBuilder(@jakarta.annotation.Nonnull fina * Read-only. Nullable. Supports $expand. * @return a {@link AccessPackageResourceRoleCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRoleCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public AccessPackageResourceRoleCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceRoleCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRoleCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public AccessPackageResourceRoleCollectionResponse get(@jakarta.annotation.Nulla * @param body The request body * @return a {@link AccessPackageResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRole post(@jakarta.annotation.Nonnull final AccessPackageResourceRole body) { return post(body, null); } @@ -97,8 +112,11 @@ public AccessPackageResourceRole post(@jakarta.annotation.Nonnull final AccessPa * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRole post(@jakarta.annotation.Nonnull final AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public AccessPackageResourceRole post(@jakarta.annotation.Nonnull final AccessPa /** * Read-only. Nullable. Supports $expand. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Read-only. Nullable. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to accessPackageResourceRoles for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRole body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceRolesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceRolesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceRolesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/count/CountRequestBuilder.java index eacc061e8b1..6e67cc76fe8 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java index 1763588f423..84fd26b5007 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java @@ -39,7 +39,10 @@ public AccessPackageResourceRoleItemRequestBuilder(@jakarta.annotation.Nonnull f /** * Delete navigation property accessPackageResourceRoles for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -47,7 +50,10 @@ public void delete() { * Delete navigation property accessPackageResourceRoles for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -58,8 +64,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Read-only. Nullable. Supports $expand. * @return a {@link AccessPackageResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRole get() { return get(null); } @@ -68,8 +77,11 @@ public AccessPackageResourceRole get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRole get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -81,8 +93,11 @@ public AccessPackageResourceRole get(@jakarta.annotation.Nullable final java.uti * @param body The request body * @return a {@link AccessPackageResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRole patch(@jakarta.annotation.Nonnull final AccessPackageResourceRole body) { return patch(body, null); } @@ -92,8 +107,11 @@ public AccessPackageResourceRole patch(@jakarta.annotation.Nonnull final AccessP * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRole patch(@jakarta.annotation.Nonnull final AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -104,8 +122,11 @@ public AccessPackageResourceRole patch(@jakarta.annotation.Nonnull final AccessP /** * Delete navigation property accessPackageResourceRoles for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -113,8 +134,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property accessPackageResourceRoles for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Read-only. Nullable. Supports $expand. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -133,8 +160,11 @@ public RequestInformation toGetRequestInformation() { * Read-only. Nullable. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -145,8 +175,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property accessPackageResourceRoles in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRole body) { return toPatchRequestInformation(body, null); } @@ -155,8 +188,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -169,8 +205,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceRoleItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceRoleItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceRoleItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/externaloriginresourceconnector/ExternalOriginResourceConnectorRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/externaloriginresourceconnector/ExternalOriginResourceConnectorRequestBuilder.java index c4ea36f95fc..df897eefabe 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/externaloriginresourceconnector/ExternalOriginResourceConnectorRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/externaloriginresourceconnector/ExternalOriginResourceConnectorRequestBuilder.java @@ -40,8 +40,11 @@ public ExternalOriginResourceConnectorRequestBuilder(@jakarta.annotation.Nonnull * The connector that integrates with external origin systems to provision access to resources from those systems. Read-only. Nullable. * @return a {@link ExternalOriginResourceConnector} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ExternalOriginResourceConnector get() { return get(null); } @@ -50,8 +53,11 @@ public ExternalOriginResourceConnector get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ExternalOriginResourceConnector} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ExternalOriginResourceConnector get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public ExternalOriginResourceConnector get(@jakarta.annotation.Nullable final ja /** * The connector that integrates with external origin systems to provision access to resources from those systems. Read-only. Nullable. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * The connector that integrates with external origin systems to provision access to resources from those systems. Read-only. Nullable. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ExternalOriginResourceConnectorRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ExternalOriginResourceConnectorRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ExternalOriginResourceConnectorRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/refresh/RefreshRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/refresh/RefreshRequestBuilder.java index a0e3d9e5488..c101cccd743 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/refresh/RefreshRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/refresh/RefreshRequestBuilder.java @@ -37,8 +37,11 @@ public RefreshRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j /** * In Microsoft Entra entitlement management, refresh the accessPackageResource object to fetch the latest details for displayName, description, and resourceType from the origin system. For the AadApplication originSystem, this operation also updates the displayName and description for the accessPackageResourceRole. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * In Microsoft Entra entitlement management, refresh the accessPackageResource object to fetch the latest details for displayName, description, and resourceType from the origin system. For the AadApplication originSystem, this operation also updates the displayName and description for the accessPackageResourceRole. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * In Microsoft Entra entitlement management, refresh the accessPackageResource object to fetch the latest details for displayName, description, and resourceType from the origin system. For the AadApplication originSystem, this operation also updates the displayName and description for the accessPackageResourceRole. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * In Microsoft Entra entitlement management, refresh the accessPackageResource object to fetch the latest details for displayName, description, and resourceType from the origin system. For the AadApplication originSystem, this operation also updates the displayName and description for the accessPackageResourceRole. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RefreshRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RefreshRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RefreshRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/UploadSessionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/UploadSessionsRequestBuilder.java index c64f22d0a5b..a20472a23e0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/UploadSessionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/UploadSessionsRequestBuilder.java @@ -26,7 +26,10 @@ public class UploadSessionsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the uploadSessions property of the microsoft.graph.accessPackageResource entity. * @param customDataProvidedResourceUploadSessionId The unique identifier of customDataProvidedResourceUploadSession * @return a {@link CustomDataProvidedResourceUploadSessionItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CustomDataProvidedResourceUploadSessionItemRequestBuilder byCustomDataProvidedResourceUploadSessionId(@jakarta.annotation.Nonnull final String customDataProvidedResourceUploadSessionId) { Objects.requireNonNull(customDataProvidedResourceUploadSessionId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public UploadSessionsRequestBuilder(@jakarta.annotation.Nonnull final String raw * Get uploadSessions from identityGovernance * @return a {@link CustomDataProvidedResourceUploadSessionCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSessionCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public CustomDataProvidedResourceUploadSessionCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSessionCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSessionCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public CustomDataProvidedResourceUploadSessionCollectionResponse get(@jakarta.an * @param body The request body * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body) { return post(body, null); } @@ -97,8 +112,11 @@ public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nonnull * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nonnull /** * Get uploadSessions from identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Get uploadSessions from identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to uploadSessions for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link UploadSessionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public UploadSessionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new UploadSessionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/count/CountRequestBuilder.java index 8942cb8130c..93201273fff 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/CustomDataProvidedResourceUploadSessionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/CustomDataProvidedResourceUploadSessionItemRequestBuilder.java index 0b7ffb2270f..62ac9985441 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/CustomDataProvidedResourceUploadSessionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/CustomDataProvidedResourceUploadSessionItemRequestBuilder.java @@ -25,7 +25,10 @@ public class CustomDataProvidedResourceUploadSessionItemRequestBuilder extends B /** * Provides operations to manage the files property of the microsoft.graph.customDataProvidedResourceUploadSession entity. * @return a {@link FilesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public FilesRequestBuilder files() { return new FilesRequestBuilder(pathParameters, requestAdapter); @@ -33,7 +36,10 @@ public FilesRequestBuilder files() { /** * Provides operations to call the uploadFile method. * @return a {@link UploadFileRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public UploadFileRequestBuilder uploadFile() { return new UploadFileRequestBuilder(pathParameters, requestAdapter); @@ -57,7 +63,10 @@ public CustomDataProvidedResourceUploadSessionItemRequestBuilder(@jakarta.annota /** * Delete navigation property uploadSessions for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -65,7 +74,10 @@ public void delete() { * Delete navigation property uploadSessions for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -76,8 +88,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Get uploadSessions from identityGovernance * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession get() { return get(null); } @@ -86,8 +101,11 @@ public CustomDataProvidedResourceUploadSession get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -99,8 +117,11 @@ public CustomDataProvidedResourceUploadSession get(@jakarta.annotation.Nullable * @param body The request body * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession patch(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body) { return patch(body, null); } @@ -110,8 +131,11 @@ public CustomDataProvidedResourceUploadSession patch(@jakarta.annotation.Nonnull * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession patch(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -122,8 +146,11 @@ public CustomDataProvidedResourceUploadSession patch(@jakarta.annotation.Nonnull /** * Delete navigation property uploadSessions for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -131,8 +158,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property uploadSessions for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -142,8 +172,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Get uploadSessions from identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -151,8 +184,11 @@ public RequestInformation toGetRequestInformation() { * Get uploadSessions from identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -163,8 +199,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property uploadSessions in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body) { return toPatchRequestInformation(body, null); } @@ -173,8 +212,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -187,8 +229,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CustomDataProvidedResourceUploadSessionItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CustomDataProvidedResourceUploadSessionItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CustomDataProvidedResourceUploadSessionItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/files/FilesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/files/FilesRequestBuilder.java index 543ccee7f85..a598f52e71b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/files/FilesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/files/FilesRequestBuilder.java @@ -25,7 +25,10 @@ public class FilesRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -34,8 +37,11 @@ public CountRequestBuilder count() { * Provides operations to manage the files property of the microsoft.graph.customDataProvidedResourceUploadSession entity. * @param customDataProvidedResourceFileId The unique identifier of customDataProvidedResourceFile * @return a {@link CustomDataProvidedResourceFileItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CustomDataProvidedResourceFileItemRequestBuilder byCustomDataProvidedResourceFileId(@jakarta.annotation.Nonnull final String customDataProvidedResourceFileId) { Objects.requireNonNull(customDataProvidedResourceFileId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -62,8 +68,11 @@ public FilesRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @return a {@link CustomDataProvidedResourceFileCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceFileCollectionResponse get() { return get(null); } @@ -72,8 +81,11 @@ public CustomDataProvidedResourceFileCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceFileCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceFileCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -83,8 +95,11 @@ public CustomDataProvidedResourceFileCollectionResponse get(@jakarta.annotation. /** * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -92,8 +107,11 @@ public RequestInformation toGetRequestInformation() { * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -104,8 +122,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link FilesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new FilesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/files/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/files/count/CountRequestBuilder.java index 6b3c6f6f612..9778bde342c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/files/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/files/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/files/item/CustomDataProvidedResourceFileItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/files/item/CustomDataProvidedResourceFileItemRequestBuilder.java index 0e3690e2e0f..eef360d5efb 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/files/item/CustomDataProvidedResourceFileItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/files/item/CustomDataProvidedResourceFileItemRequestBuilder.java @@ -24,7 +24,10 @@ public class CustomDataProvidedResourceFileItemRequestBuilder extends BaseReques /** * Provides operations to manage the media for the identityGovernance entity. * @return a {@link ContentRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ContentRequestBuilder content() { return new ContentRequestBuilder(pathParameters, requestAdapter); @@ -49,8 +52,11 @@ public CustomDataProvidedResourceFileItemRequestBuilder(@jakarta.annotation.Nonn * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @return a {@link CustomDataProvidedResourceFile} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceFile get() { return get(null); } @@ -59,8 +65,11 @@ public CustomDataProvidedResourceFile get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceFile} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceFile get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -70,8 +79,11 @@ public CustomDataProvidedResourceFile get(@jakarta.annotation.Nullable final jav /** * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -79,8 +91,11 @@ public RequestInformation toGetRequestInformation() { * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -91,8 +106,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CustomDataProvidedResourceFileItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CustomDataProvidedResourceFileItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CustomDataProvidedResourceFileItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/files/item/value/ContentRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/files/item/value/ContentRequestBuilder.java index 97b5ff7e7e1..e7a45fde569 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/files/item/value/ContentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/files/item/value/ContentRequestBuilder.java @@ -38,7 +38,10 @@ public ContentRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j /** * The unique identifier for an entity. Read-only. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -46,7 +49,10 @@ public void delete() { * The unique identifier for an entity. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * The unique identifier for an entity. Read-only. * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public InputStream get() { return get(null); } @@ -67,8 +76,11 @@ public InputStream get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public InputStream get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -80,8 +92,11 @@ public InputStream get(@jakarta.annotation.Nullable final java.util.function.Con * @param body Binary request body * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public InputStream put(@jakarta.annotation.Nonnull final InputStream body) { return put(body, null); } @@ -91,8 +106,11 @@ public InputStream put(@jakarta.annotation.Nonnull final InputStream body) { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public InputStream put(@jakarta.annotation.Nonnull final InputStream body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPutRequestInformation(body, requestConfiguration); @@ -103,8 +121,11 @@ public InputStream put(@jakarta.annotation.Nonnull final InputStream body, @jaka /** * The unique identifier for an entity. Read-only. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -112,8 +133,11 @@ public RequestInformation toDeleteRequestInformation() { * The unique identifier for an entity. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -123,8 +147,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * The unique identifier for an entity. Read-only. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -132,8 +159,11 @@ public RequestInformation toGetRequestInformation() { * The unique identifier for an entity. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new); @@ -144,8 +174,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * The unique identifier for an entity. Read-only. * @param body Binary request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull final InputStream body) { return toPutRequestInformation(body, null); } @@ -154,8 +187,11 @@ public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull fi * @param body Binary request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull final InputStream body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PUT, urlTemplate, pathParameters); @@ -168,8 +204,11 @@ public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull fi * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ContentRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ContentRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ContentRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/uploadfile/UploadFileRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/uploadfile/UploadFileRequestBuilder.java index 8f57019d150..866e70e58c2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/uploadfile/UploadFileRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/uploadsessions/item/uploadfile/UploadFileRequestBuilder.java @@ -39,9 +39,12 @@ public UploadFileRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, * Upload a file in a customDataProvidedResourceUploadSession created for a customDataProvidedResource. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession post() { return post(null); } @@ -50,9 +53,12 @@ public CustomDataProvidedResourceUploadSession post() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -62,8 +68,11 @@ public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nullable /** * Upload a file in a customDataProvidedResourceUploadSession created for a customDataProvidedResource. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation() { * Upload a file in a customDataProvidedResourceUploadSession created for a customDataProvidedResource. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -83,8 +95,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link UploadFileRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public UploadFileRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new UploadFileRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/externaloriginresourceconnector/ExternalOriginResourceConnectorRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/externaloriginresourceconnector/ExternalOriginResourceConnectorRequestBuilder.java index 69ee1e708e4..a53070f9855 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/externaloriginresourceconnector/ExternalOriginResourceConnectorRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/externaloriginresourceconnector/ExternalOriginResourceConnectorRequestBuilder.java @@ -40,8 +40,11 @@ public ExternalOriginResourceConnectorRequestBuilder(@jakarta.annotation.Nonnull * The connector that integrates with external origin systems to provision access to resources from those systems. Read-only. Nullable. * @return a {@link ExternalOriginResourceConnector} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ExternalOriginResourceConnector get() { return get(null); } @@ -50,8 +53,11 @@ public ExternalOriginResourceConnector get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ExternalOriginResourceConnector} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ExternalOriginResourceConnector get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public ExternalOriginResourceConnector get(@jakarta.annotation.Nullable final ja /** * The connector that integrates with external origin systems to provision access to resources from those systems. Read-only. Nullable. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * The connector that integrates with external origin systems to provision access to resources from those systems. Read-only. Nullable. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ExternalOriginResourceConnectorRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ExternalOriginResourceConnectorRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ExternalOriginResourceConnectorRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/refresh/RefreshRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/refresh/RefreshRequestBuilder.java index 80fc10dada1..df4646f6701 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/refresh/RefreshRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/refresh/RefreshRequestBuilder.java @@ -37,8 +37,11 @@ public RefreshRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j /** * In Microsoft Entra entitlement management, refresh the accessPackageResource object to fetch the latest details for displayName, description, and resourceType from the origin system. For the AadApplication originSystem, this operation also updates the displayName and description for the accessPackageResourceRole. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * In Microsoft Entra entitlement management, refresh the accessPackageResource object to fetch the latest details for displayName, description, and resourceType from the origin system. For the AadApplication originSystem, this operation also updates the displayName and description for the accessPackageResourceRole. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * In Microsoft Entra entitlement management, refresh the accessPackageResource object to fetch the latest details for displayName, description, and resourceType from the origin system. For the AadApplication originSystem, this operation also updates the displayName and description for the accessPackageResourceRole. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * In Microsoft Entra entitlement management, refresh the accessPackageResource object to fetch the latest details for displayName, description, and resourceType from the origin system. For the AadApplication originSystem, this operation also updates the displayName and description for the accessPackageResourceRole. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RefreshRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RefreshRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RefreshRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/uploadsessions/UploadSessionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/uploadsessions/UploadSessionsRequestBuilder.java index 3351820cafb..5b40d1ed24e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/uploadsessions/UploadSessionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/uploadsessions/UploadSessionsRequestBuilder.java @@ -26,7 +26,10 @@ public class UploadSessionsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the uploadSessions property of the microsoft.graph.accessPackageResource entity. * @param customDataProvidedResourceUploadSessionId The unique identifier of customDataProvidedResourceUploadSession * @return a {@link CustomDataProvidedResourceUploadSessionItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CustomDataProvidedResourceUploadSessionItemRequestBuilder byCustomDataProvidedResourceUploadSessionId(@jakarta.annotation.Nonnull final String customDataProvidedResourceUploadSessionId) { Objects.requireNonNull(customDataProvidedResourceUploadSessionId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public UploadSessionsRequestBuilder(@jakarta.annotation.Nonnull final String raw * Get uploadSessions from identityGovernance * @return a {@link CustomDataProvidedResourceUploadSessionCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSessionCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public CustomDataProvidedResourceUploadSessionCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSessionCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSessionCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public CustomDataProvidedResourceUploadSessionCollectionResponse get(@jakarta.an * @param body The request body * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body) { return post(body, null); } @@ -97,8 +112,11 @@ public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nonnull * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nonnull /** * Get uploadSessions from identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Get uploadSessions from identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to uploadSessions for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link UploadSessionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public UploadSessionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new UploadSessionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/uploadsessions/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/uploadsessions/count/CountRequestBuilder.java index 0ee54c08854..562096dea45 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/uploadsessions/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/uploadsessions/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/CustomDataProvidedResourceUploadSessionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/CustomDataProvidedResourceUploadSessionItemRequestBuilder.java index 9f29954e5a2..f48cb3ef106 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/CustomDataProvidedResourceUploadSessionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/CustomDataProvidedResourceUploadSessionItemRequestBuilder.java @@ -25,7 +25,10 @@ public class CustomDataProvidedResourceUploadSessionItemRequestBuilder extends B /** * Provides operations to manage the files property of the microsoft.graph.customDataProvidedResourceUploadSession entity. * @return a {@link FilesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public FilesRequestBuilder files() { return new FilesRequestBuilder(pathParameters, requestAdapter); @@ -33,7 +36,10 @@ public FilesRequestBuilder files() { /** * Provides operations to call the uploadFile method. * @return a {@link UploadFileRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public UploadFileRequestBuilder uploadFile() { return new UploadFileRequestBuilder(pathParameters, requestAdapter); @@ -57,7 +63,10 @@ public CustomDataProvidedResourceUploadSessionItemRequestBuilder(@jakarta.annota /** * Delete navigation property uploadSessions for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -65,7 +74,10 @@ public void delete() { * Delete navigation property uploadSessions for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -76,8 +88,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Get uploadSessions from identityGovernance * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession get() { return get(null); } @@ -86,8 +101,11 @@ public CustomDataProvidedResourceUploadSession get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -99,8 +117,11 @@ public CustomDataProvidedResourceUploadSession get(@jakarta.annotation.Nullable * @param body The request body * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession patch(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body) { return patch(body, null); } @@ -110,8 +131,11 @@ public CustomDataProvidedResourceUploadSession patch(@jakarta.annotation.Nonnull * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession patch(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -122,8 +146,11 @@ public CustomDataProvidedResourceUploadSession patch(@jakarta.annotation.Nonnull /** * Delete navigation property uploadSessions for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -131,8 +158,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property uploadSessions for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -142,8 +172,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Get uploadSessions from identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -151,8 +184,11 @@ public RequestInformation toGetRequestInformation() { * Get uploadSessions from identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -163,8 +199,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property uploadSessions in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body) { return toPatchRequestInformation(body, null); } @@ -173,8 +212,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -187,8 +229,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CustomDataProvidedResourceUploadSessionItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CustomDataProvidedResourceUploadSessionItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CustomDataProvidedResourceUploadSessionItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/files/FilesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/files/FilesRequestBuilder.java index 4e036c4a901..cdc63762876 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/files/FilesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/files/FilesRequestBuilder.java @@ -25,7 +25,10 @@ public class FilesRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -34,8 +37,11 @@ public CountRequestBuilder count() { * Provides operations to manage the files property of the microsoft.graph.customDataProvidedResourceUploadSession entity. * @param customDataProvidedResourceFileId The unique identifier of customDataProvidedResourceFile * @return a {@link CustomDataProvidedResourceFileItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CustomDataProvidedResourceFileItemRequestBuilder byCustomDataProvidedResourceFileId(@jakarta.annotation.Nonnull final String customDataProvidedResourceFileId) { Objects.requireNonNull(customDataProvidedResourceFileId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -62,8 +68,11 @@ public FilesRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @return a {@link CustomDataProvidedResourceFileCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceFileCollectionResponse get() { return get(null); } @@ -72,8 +81,11 @@ public CustomDataProvidedResourceFileCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceFileCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceFileCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -83,8 +95,11 @@ public CustomDataProvidedResourceFileCollectionResponse get(@jakarta.annotation. /** * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -92,8 +107,11 @@ public RequestInformation toGetRequestInformation() { * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -104,8 +122,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link FilesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new FilesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/files/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/files/count/CountRequestBuilder.java index 394951ce174..9dda917a77b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/files/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/files/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/files/item/CustomDataProvidedResourceFileItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/files/item/CustomDataProvidedResourceFileItemRequestBuilder.java index eb83c7fb407..59461c35abb 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/files/item/CustomDataProvidedResourceFileItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/files/item/CustomDataProvidedResourceFileItemRequestBuilder.java @@ -24,7 +24,10 @@ public class CustomDataProvidedResourceFileItemRequestBuilder extends BaseReques /** * Provides operations to manage the media for the identityGovernance entity. * @return a {@link ContentRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ContentRequestBuilder content() { return new ContentRequestBuilder(pathParameters, requestAdapter); @@ -49,8 +52,11 @@ public CustomDataProvidedResourceFileItemRequestBuilder(@jakarta.annotation.Nonn * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @return a {@link CustomDataProvidedResourceFile} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceFile get() { return get(null); } @@ -59,8 +65,11 @@ public CustomDataProvidedResourceFile get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceFile} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceFile get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -70,8 +79,11 @@ public CustomDataProvidedResourceFile get(@jakarta.annotation.Nullable final jav /** * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -79,8 +91,11 @@ public RequestInformation toGetRequestInformation() { * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -91,8 +106,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CustomDataProvidedResourceFileItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CustomDataProvidedResourceFileItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CustomDataProvidedResourceFileItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/files/item/value/ContentRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/files/item/value/ContentRequestBuilder.java index 1206b75900d..c2d5a0b5e0a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/files/item/value/ContentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/files/item/value/ContentRequestBuilder.java @@ -38,7 +38,10 @@ public ContentRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j /** * The unique identifier for an entity. Read-only. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -46,7 +49,10 @@ public void delete() { * The unique identifier for an entity. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * The unique identifier for an entity. Read-only. * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public InputStream get() { return get(null); } @@ -67,8 +76,11 @@ public InputStream get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public InputStream get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -80,8 +92,11 @@ public InputStream get(@jakarta.annotation.Nullable final java.util.function.Con * @param body Binary request body * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public InputStream put(@jakarta.annotation.Nonnull final InputStream body) { return put(body, null); } @@ -91,8 +106,11 @@ public InputStream put(@jakarta.annotation.Nonnull final InputStream body) { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public InputStream put(@jakarta.annotation.Nonnull final InputStream body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPutRequestInformation(body, requestConfiguration); @@ -103,8 +121,11 @@ public InputStream put(@jakarta.annotation.Nonnull final InputStream body, @jaka /** * The unique identifier for an entity. Read-only. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -112,8 +133,11 @@ public RequestInformation toDeleteRequestInformation() { * The unique identifier for an entity. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -123,8 +147,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * The unique identifier for an entity. Read-only. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -132,8 +159,11 @@ public RequestInformation toGetRequestInformation() { * The unique identifier for an entity. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new); @@ -144,8 +174,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * The unique identifier for an entity. Read-only. * @param body Binary request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull final InputStream body) { return toPutRequestInformation(body, null); } @@ -154,8 +187,11 @@ public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull fi * @param body Binary request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull final InputStream body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PUT, urlTemplate, pathParameters); @@ -168,8 +204,11 @@ public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull fi * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ContentRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ContentRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ContentRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/uploadfile/UploadFileRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/uploadfile/UploadFileRequestBuilder.java index 2f93a6a1d59..4528ad3512c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/uploadfile/UploadFileRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/uploadfile/UploadFileRequestBuilder.java @@ -39,9 +39,12 @@ public UploadFileRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, * Upload a file in a customDataProvidedResourceUploadSession created for a customDataProvidedResource. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession post() { return post(null); } @@ -50,9 +53,12 @@ public CustomDataProvidedResourceUploadSession post() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -62,8 +68,11 @@ public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nullable /** * Upload a file in a customDataProvidedResourceUploadSession created for a customDataProvidedResource. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation() { * Upload a file in a customDataProvidedResourceUploadSession created for a customDataProvidedResource. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -83,8 +95,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link UploadFileRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public UploadFileRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new UploadFileRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/AccessPackageResourceScopeRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/AccessPackageResourceScopeRequestBuilder.java index 8bb24e3059f..f0dede94522 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/AccessPackageResourceScopeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/AccessPackageResourceScopeRequestBuilder.java @@ -24,7 +24,10 @@ public class AccessPackageResourceScopeRequestBuilder extends BaseRequestBuilder /** * Provides operations to manage the accessPackageResource property of the microsoft.graph.accessPackageResourceScope entity. * @return a {@link AccessPackageResourceRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackageResourceRequestBuilder accessPackageResource() { return new AccessPackageResourceRequestBuilder(pathParameters, requestAdapter); @@ -48,7 +51,10 @@ public AccessPackageResourceScopeRequestBuilder(@jakarta.annotation.Nonnull fina /** * Delete navigation property accessPackageResourceScope for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -56,7 +62,10 @@ public void delete() { * Delete navigation property accessPackageResourceScope for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -67,8 +76,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Get accessPackageResourceScope from identityGovernance * @return a {@link AccessPackageResourceScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScope get() { return get(null); } @@ -77,8 +89,11 @@ public AccessPackageResourceScope get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScope get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -90,8 +105,11 @@ public AccessPackageResourceScope get(@jakarta.annotation.Nullable final java.ut * @param body The request body * @return a {@link AccessPackageResourceScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScope patch(@jakarta.annotation.Nonnull final AccessPackageResourceScope body) { return patch(body, null); } @@ -101,8 +119,11 @@ public AccessPackageResourceScope patch(@jakarta.annotation.Nonnull final Access * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScope patch(@jakarta.annotation.Nonnull final AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -113,8 +134,11 @@ public AccessPackageResourceScope patch(@jakarta.annotation.Nonnull final Access /** * Delete navigation property accessPackageResourceScope for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -122,8 +146,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property accessPackageResourceScope for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -133,8 +160,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Get accessPackageResourceScope from identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -142,8 +172,11 @@ public RequestInformation toGetRequestInformation() { * Get accessPackageResourceScope from identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -154,8 +187,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property accessPackageResourceScope in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceScope body) { return toPatchRequestInformation(body, null); } @@ -164,8 +200,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -178,8 +217,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceScopeRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceScopeRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceScopeRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/AccessPackageResourceRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/AccessPackageResourceRequestBuilder.java index 2684a8e7b55..3cca245d976 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/AccessPackageResourceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/AccessPackageResourceRequestBuilder.java @@ -29,7 +29,10 @@ public class AccessPackageResourceRequestBuilder extends BaseRequestBuilder { /** * Provides operations to manage the accessPackageResourceEnvironment property of the microsoft.graph.accessPackageResource entity. * @return a {@link AccessPackageResourceEnvironmentRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackageResourceEnvironmentRequestBuilder accessPackageResourceEnvironment() { return new AccessPackageResourceEnvironmentRequestBuilder(pathParameters, requestAdapter); @@ -37,7 +40,10 @@ public AccessPackageResourceEnvironmentRequestBuilder accessPackageResourceEnvir /** * Provides operations to manage the accessPackageResourceRoles property of the microsoft.graph.accessPackageResource entity. * @return a {@link AccessPackageResourceRolesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackageResourceRolesRequestBuilder accessPackageResourceRoles() { return new AccessPackageResourceRolesRequestBuilder(pathParameters, requestAdapter); @@ -45,7 +51,10 @@ public AccessPackageResourceRolesRequestBuilder accessPackageResourceRoles() { /** * Provides operations to manage the accessPackageResourceScopes property of the microsoft.graph.accessPackageResource entity. * @return a {@link AccessPackageResourceScopesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackageResourceScopesRequestBuilder accessPackageResourceScopes() { return new AccessPackageResourceScopesRequestBuilder(pathParameters, requestAdapter); @@ -53,7 +62,10 @@ public AccessPackageResourceScopesRequestBuilder accessPackageResourceScopes() { /** * Provides operations to manage the externalOriginResourceConnector property of the microsoft.graph.accessPackageResource entity. * @return a {@link ExternalOriginResourceConnectorRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ExternalOriginResourceConnectorRequestBuilder externalOriginResourceConnector() { return new ExternalOriginResourceConnectorRequestBuilder(pathParameters, requestAdapter); @@ -61,7 +73,10 @@ public ExternalOriginResourceConnectorRequestBuilder externalOriginResourceConne /** * Provides operations to call the refresh method. * @return a {@link RefreshRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public RefreshRequestBuilder refresh() { return new RefreshRequestBuilder(pathParameters, requestAdapter); @@ -69,7 +84,10 @@ public RefreshRequestBuilder refresh() { /** * Provides operations to manage the uploadSessions property of the microsoft.graph.accessPackageResource entity. * @return a {@link UploadSessionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public UploadSessionsRequestBuilder uploadSessions() { return new UploadSessionsRequestBuilder(pathParameters, requestAdapter); @@ -93,7 +111,10 @@ public AccessPackageResourceRequestBuilder(@jakarta.annotation.Nonnull final Str /** * Delete navigation property accessPackageResource for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -101,7 +122,10 @@ public void delete() { * Delete navigation property accessPackageResource for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -112,8 +136,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Get accessPackageResource from identityGovernance * @return a {@link AccessPackageResource} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResource get() { return get(null); } @@ -122,8 +149,11 @@ public AccessPackageResource get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResource} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResource get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -135,8 +165,11 @@ public AccessPackageResource get(@jakarta.annotation.Nullable final java.util.fu * @param body The request body * @return a {@link AccessPackageResource} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResource patch(@jakarta.annotation.Nonnull final AccessPackageResource body) { return patch(body, null); } @@ -146,8 +179,11 @@ public AccessPackageResource patch(@jakarta.annotation.Nonnull final AccessPacka * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResource} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResource patch(@jakarta.annotation.Nonnull final AccessPackageResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -158,8 +194,11 @@ public AccessPackageResource patch(@jakarta.annotation.Nonnull final AccessPacka /** * Delete navigation property accessPackageResource for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -167,8 +206,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property accessPackageResource for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -178,8 +220,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Get accessPackageResource from identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -187,8 +232,11 @@ public RequestInformation toGetRequestInformation() { * Get accessPackageResource from identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -199,8 +247,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property accessPackageResource in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResource body) { return toPatchRequestInformation(body, null); } @@ -209,8 +260,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -223,8 +277,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceenvironment/AccessPackageResourceEnvironmentRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceenvironment/AccessPackageResourceEnvironmentRequestBuilder.java index 46c7871eee0..0ac26a8cf2a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceenvironment/AccessPackageResourceEnvironmentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceenvironment/AccessPackageResourceEnvironmentRequestBuilder.java @@ -40,8 +40,11 @@ public AccessPackageResourceEnvironmentRequestBuilder(@jakarta.annotation.Nonnul * Contains the environment information for the resource. This environment can be set using either the @odata.bind annotation or the environment's originId. Supports $expand. * @return a {@link AccessPackageResourceEnvironment} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceEnvironment get() { return get(null); } @@ -50,8 +53,11 @@ public AccessPackageResourceEnvironment get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceEnvironment} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceEnvironment get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public AccessPackageResourceEnvironment get(@jakarta.annotation.Nullable final j /** * Contains the environment information for the resource. This environment can be set using either the @odata.bind annotation or the environment's originId. Supports $expand. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * Contains the environment information for the resource. This environment can be set using either the @odata.bind annotation or the environment's originId. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceEnvironmentRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceEnvironmentRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceEnvironmentRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java index fbbee64cfcd..b4912f44f88 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java @@ -26,7 +26,10 @@ public class AccessPackageResourceRolesRequestBuilder extends BaseRequestBuilder /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the accessPackageResourceRoles property of the microsoft.graph.accessPackageResource entity. * @param accessPackageResourceRoleId The unique identifier of accessPackageResourceRole * @return a {@link AccessPackageResourceRoleItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceRoleItemRequestBuilder byAccessPackageResourceRoleId(@jakarta.annotation.Nonnull final String accessPackageResourceRoleId) { Objects.requireNonNull(accessPackageResourceRoleId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public AccessPackageResourceRolesRequestBuilder(@jakarta.annotation.Nonnull fina * Read-only. Nullable. Supports $expand. * @return a {@link AccessPackageResourceRoleCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRoleCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public AccessPackageResourceRoleCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceRoleCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRoleCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public AccessPackageResourceRoleCollectionResponse get(@jakarta.annotation.Nulla * @param body The request body * @return a {@link AccessPackageResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRole post(@jakarta.annotation.Nonnull final AccessPackageResourceRole body) { return post(body, null); } @@ -97,8 +112,11 @@ public AccessPackageResourceRole post(@jakarta.annotation.Nonnull final AccessPa * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRole post(@jakarta.annotation.Nonnull final AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public AccessPackageResourceRole post(@jakarta.annotation.Nonnull final AccessPa /** * Read-only. Nullable. Supports $expand. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Read-only. Nullable. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to accessPackageResourceRoles for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRole body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceRolesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceRolesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceRolesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/count/CountRequestBuilder.java index f5de2f54781..91cdc633ef2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java index 9707a73e874..001abe4bcea 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java @@ -24,7 +24,10 @@ public class AccessPackageResourceRoleItemRequestBuilder extends BaseRequestBuil /** * Provides operations to manage the accessPackageResource property of the microsoft.graph.accessPackageResourceRole entity. * @return a {@link AccessPackageResourceRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackageResourceRequestBuilder accessPackageResource() { return new AccessPackageResourceRequestBuilder(pathParameters, requestAdapter); @@ -48,7 +51,10 @@ public AccessPackageResourceRoleItemRequestBuilder(@jakarta.annotation.Nonnull f /** * Delete navigation property accessPackageResourceRoles for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -56,7 +62,10 @@ public void delete() { * Delete navigation property accessPackageResourceRoles for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -67,8 +76,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Read-only. Nullable. Supports $expand. * @return a {@link AccessPackageResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRole get() { return get(null); } @@ -77,8 +89,11 @@ public AccessPackageResourceRole get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRole get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -90,8 +105,11 @@ public AccessPackageResourceRole get(@jakarta.annotation.Nullable final java.uti * @param body The request body * @return a {@link AccessPackageResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRole patch(@jakarta.annotation.Nonnull final AccessPackageResourceRole body) { return patch(body, null); } @@ -101,8 +119,11 @@ public AccessPackageResourceRole patch(@jakarta.annotation.Nonnull final AccessP * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRole patch(@jakarta.annotation.Nonnull final AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -113,8 +134,11 @@ public AccessPackageResourceRole patch(@jakarta.annotation.Nonnull final AccessP /** * Delete navigation property accessPackageResourceRoles for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -122,8 +146,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property accessPackageResourceRoles for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -133,8 +160,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Read-only. Nullable. Supports $expand. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -142,8 +172,11 @@ public RequestInformation toGetRequestInformation() { * Read-only. Nullable. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -154,8 +187,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property accessPackageResourceRoles in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRole body) { return toPatchRequestInformation(body, null); } @@ -164,8 +200,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -178,8 +217,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceRoleItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceRoleItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceRoleItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/AccessPackageResourceRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/AccessPackageResourceRequestBuilder.java index 36f7f401836..d3b1a89d503 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/AccessPackageResourceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/AccessPackageResourceRequestBuilder.java @@ -28,7 +28,10 @@ public class AccessPackageResourceRequestBuilder extends BaseRequestBuilder { /** * Provides operations to manage the accessPackageResourceEnvironment property of the microsoft.graph.accessPackageResource entity. * @return a {@link AccessPackageResourceEnvironmentRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackageResourceEnvironmentRequestBuilder accessPackageResourceEnvironment() { return new AccessPackageResourceEnvironmentRequestBuilder(pathParameters, requestAdapter); @@ -36,7 +39,10 @@ public AccessPackageResourceEnvironmentRequestBuilder accessPackageResourceEnvir /** * Provides operations to manage the accessPackageResourceScopes property of the microsoft.graph.accessPackageResource entity. * @return a {@link AccessPackageResourceScopesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackageResourceScopesRequestBuilder accessPackageResourceScopes() { return new AccessPackageResourceScopesRequestBuilder(pathParameters, requestAdapter); @@ -44,7 +50,10 @@ public AccessPackageResourceScopesRequestBuilder accessPackageResourceScopes() { /** * Provides operations to manage the externalOriginResourceConnector property of the microsoft.graph.accessPackageResource entity. * @return a {@link ExternalOriginResourceConnectorRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ExternalOriginResourceConnectorRequestBuilder externalOriginResourceConnector() { return new ExternalOriginResourceConnectorRequestBuilder(pathParameters, requestAdapter); @@ -52,7 +61,10 @@ public ExternalOriginResourceConnectorRequestBuilder externalOriginResourceConne /** * Provides operations to call the refresh method. * @return a {@link RefreshRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public RefreshRequestBuilder refresh() { return new RefreshRequestBuilder(pathParameters, requestAdapter); @@ -60,7 +72,10 @@ public RefreshRequestBuilder refresh() { /** * Provides operations to manage the uploadSessions property of the microsoft.graph.accessPackageResource entity. * @return a {@link UploadSessionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public UploadSessionsRequestBuilder uploadSessions() { return new UploadSessionsRequestBuilder(pathParameters, requestAdapter); @@ -84,7 +99,10 @@ public AccessPackageResourceRequestBuilder(@jakarta.annotation.Nonnull final Str /** * Delete navigation property accessPackageResource for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -92,7 +110,10 @@ public void delete() { * Delete navigation property accessPackageResource for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -103,8 +124,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Get accessPackageResource from identityGovernance * @return a {@link AccessPackageResource} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResource get() { return get(null); } @@ -113,8 +137,11 @@ public AccessPackageResource get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResource} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResource get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -126,8 +153,11 @@ public AccessPackageResource get(@jakarta.annotation.Nullable final java.util.fu * @param body The request body * @return a {@link AccessPackageResource} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResource patch(@jakarta.annotation.Nonnull final AccessPackageResource body) { return patch(body, null); } @@ -137,8 +167,11 @@ public AccessPackageResource patch(@jakarta.annotation.Nonnull final AccessPacka * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResource} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResource patch(@jakarta.annotation.Nonnull final AccessPackageResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -149,8 +182,11 @@ public AccessPackageResource patch(@jakarta.annotation.Nonnull final AccessPacka /** * Delete navigation property accessPackageResource for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -158,8 +194,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property accessPackageResource for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -169,8 +208,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Get accessPackageResource from identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -178,8 +220,11 @@ public RequestInformation toGetRequestInformation() { * Get accessPackageResource from identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -190,8 +235,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property accessPackageResource in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResource body) { return toPatchRequestInformation(body, null); } @@ -200,8 +248,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -214,8 +265,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourceenvironment/AccessPackageResourceEnvironmentRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourceenvironment/AccessPackageResourceEnvironmentRequestBuilder.java index a850e155eb3..62ff46493c0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourceenvironment/AccessPackageResourceEnvironmentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourceenvironment/AccessPackageResourceEnvironmentRequestBuilder.java @@ -40,8 +40,11 @@ public AccessPackageResourceEnvironmentRequestBuilder(@jakarta.annotation.Nonnul * Contains the environment information for the resource. This environment can be set using either the @odata.bind annotation or the environment's originId. Supports $expand. * @return a {@link AccessPackageResourceEnvironment} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceEnvironment get() { return get(null); } @@ -50,8 +53,11 @@ public AccessPackageResourceEnvironment get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceEnvironment} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceEnvironment get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public AccessPackageResourceEnvironment get(@jakarta.annotation.Nullable final j /** * Contains the environment information for the resource. This environment can be set using either the @odata.bind annotation or the environment's originId. Supports $expand. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * Contains the environment information for the resource. This environment can be set using either the @odata.bind annotation or the environment's originId. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceEnvironmentRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceEnvironmentRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceEnvironmentRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java index 6d6a5b49707..8dd961e8fdd 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java @@ -26,7 +26,10 @@ public class AccessPackageResourceScopesRequestBuilder extends BaseRequestBuilde /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the accessPackageResourceScopes property of the microsoft.graph.accessPackageResource entity. * @param accessPackageResourceScopeId The unique identifier of accessPackageResourceScope * @return a {@link AccessPackageResourceScopeItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceScopeItemRequestBuilder byAccessPackageResourceScopeId(@jakarta.annotation.Nonnull final String accessPackageResourceScopeId) { Objects.requireNonNull(accessPackageResourceScopeId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public AccessPackageResourceScopesRequestBuilder(@jakarta.annotation.Nonnull fin * Read-only. Nullable. Supports $expand. * @return a {@link AccessPackageResourceScopeCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScopeCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public AccessPackageResourceScopeCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceScopeCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScopeCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public AccessPackageResourceScopeCollectionResponse get(@jakarta.annotation.Null * @param body The request body * @return a {@link AccessPackageResourceScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScope post(@jakarta.annotation.Nonnull final AccessPackageResourceScope body) { return post(body, null); } @@ -97,8 +112,11 @@ public AccessPackageResourceScope post(@jakarta.annotation.Nonnull final AccessP * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScope post(@jakarta.annotation.Nonnull final AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public AccessPackageResourceScope post(@jakarta.annotation.Nonnull final AccessP /** * Read-only. Nullable. Supports $expand. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Read-only. Nullable. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to accessPackageResourceScopes for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceScope body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceScopesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceScopesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceScopesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/count/CountRequestBuilder.java index e02985e6ed0..7ad96866744 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java index 18accd57c42..2f60a8646ca 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java @@ -39,7 +39,10 @@ public AccessPackageResourceScopeItemRequestBuilder(@jakarta.annotation.Nonnull /** * Delete navigation property accessPackageResourceScopes for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -47,7 +50,10 @@ public void delete() { * Delete navigation property accessPackageResourceScopes for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -58,8 +64,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Read-only. Nullable. Supports $expand. * @return a {@link AccessPackageResourceScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScope get() { return get(null); } @@ -68,8 +77,11 @@ public AccessPackageResourceScope get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScope get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -81,8 +93,11 @@ public AccessPackageResourceScope get(@jakarta.annotation.Nullable final java.ut * @param body The request body * @return a {@link AccessPackageResourceScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScope patch(@jakarta.annotation.Nonnull final AccessPackageResourceScope body) { return patch(body, null); } @@ -92,8 +107,11 @@ public AccessPackageResourceScope patch(@jakarta.annotation.Nonnull final Access * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScope patch(@jakarta.annotation.Nonnull final AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -104,8 +122,11 @@ public AccessPackageResourceScope patch(@jakarta.annotation.Nonnull final Access /** * Delete navigation property accessPackageResourceScopes for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -113,8 +134,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property accessPackageResourceScopes for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Read-only. Nullable. Supports $expand. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -133,8 +160,11 @@ public RequestInformation toGetRequestInformation() { * Read-only. Nullable. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -145,8 +175,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property accessPackageResourceScopes in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceScope body) { return toPatchRequestInformation(body, null); } @@ -155,8 +188,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -169,8 +205,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceScopeItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceScopeItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceScopeItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/externaloriginresourceconnector/ExternalOriginResourceConnectorRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/externaloriginresourceconnector/ExternalOriginResourceConnectorRequestBuilder.java index 7686e3aa0a6..c9a55aeadef 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/externaloriginresourceconnector/ExternalOriginResourceConnectorRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/externaloriginresourceconnector/ExternalOriginResourceConnectorRequestBuilder.java @@ -40,8 +40,11 @@ public ExternalOriginResourceConnectorRequestBuilder(@jakarta.annotation.Nonnull * The connector that integrates with external origin systems to provision access to resources from those systems. Read-only. Nullable. * @return a {@link ExternalOriginResourceConnector} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ExternalOriginResourceConnector get() { return get(null); } @@ -50,8 +53,11 @@ public ExternalOriginResourceConnector get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ExternalOriginResourceConnector} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ExternalOriginResourceConnector get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public ExternalOriginResourceConnector get(@jakarta.annotation.Nullable final ja /** * The connector that integrates with external origin systems to provision access to resources from those systems. Read-only. Nullable. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * The connector that integrates with external origin systems to provision access to resources from those systems. Read-only. Nullable. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ExternalOriginResourceConnectorRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ExternalOriginResourceConnectorRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ExternalOriginResourceConnectorRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/refresh/RefreshRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/refresh/RefreshRequestBuilder.java index be9b80f7a5e..0837eefe734 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/refresh/RefreshRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/refresh/RefreshRequestBuilder.java @@ -37,8 +37,11 @@ public RefreshRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j /** * In Microsoft Entra entitlement management, refresh the accessPackageResource object to fetch the latest details for displayName, description, and resourceType from the origin system. For the AadApplication originSystem, this operation also updates the displayName and description for the accessPackageResourceRole. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * In Microsoft Entra entitlement management, refresh the accessPackageResource object to fetch the latest details for displayName, description, and resourceType from the origin system. For the AadApplication originSystem, this operation also updates the displayName and description for the accessPackageResourceRole. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * In Microsoft Entra entitlement management, refresh the accessPackageResource object to fetch the latest details for displayName, description, and resourceType from the origin system. For the AadApplication originSystem, this operation also updates the displayName and description for the accessPackageResourceRole. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * In Microsoft Entra entitlement management, refresh the accessPackageResource object to fetch the latest details for displayName, description, and resourceType from the origin system. For the AadApplication originSystem, this operation also updates the displayName and description for the accessPackageResourceRole. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RefreshRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RefreshRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RefreshRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/UploadSessionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/UploadSessionsRequestBuilder.java index 9072b0701a0..96d6acbe76a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/UploadSessionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/UploadSessionsRequestBuilder.java @@ -26,7 +26,10 @@ public class UploadSessionsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the uploadSessions property of the microsoft.graph.accessPackageResource entity. * @param customDataProvidedResourceUploadSessionId The unique identifier of customDataProvidedResourceUploadSession * @return a {@link CustomDataProvidedResourceUploadSessionItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CustomDataProvidedResourceUploadSessionItemRequestBuilder byCustomDataProvidedResourceUploadSessionId(@jakarta.annotation.Nonnull final String customDataProvidedResourceUploadSessionId) { Objects.requireNonNull(customDataProvidedResourceUploadSessionId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public UploadSessionsRequestBuilder(@jakarta.annotation.Nonnull final String raw * Get uploadSessions from identityGovernance * @return a {@link CustomDataProvidedResourceUploadSessionCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSessionCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public CustomDataProvidedResourceUploadSessionCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSessionCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSessionCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public CustomDataProvidedResourceUploadSessionCollectionResponse get(@jakarta.an * @param body The request body * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body) { return post(body, null); } @@ -97,8 +112,11 @@ public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nonnull * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nonnull /** * Get uploadSessions from identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Get uploadSessions from identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to uploadSessions for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link UploadSessionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public UploadSessionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new UploadSessionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/count/CountRequestBuilder.java index fcf30617910..a4df52c9097 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/CustomDataProvidedResourceUploadSessionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/CustomDataProvidedResourceUploadSessionItemRequestBuilder.java index b9feda14938..11bbc9b7414 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/CustomDataProvidedResourceUploadSessionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/CustomDataProvidedResourceUploadSessionItemRequestBuilder.java @@ -25,7 +25,10 @@ public class CustomDataProvidedResourceUploadSessionItemRequestBuilder extends B /** * Provides operations to manage the files property of the microsoft.graph.customDataProvidedResourceUploadSession entity. * @return a {@link FilesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public FilesRequestBuilder files() { return new FilesRequestBuilder(pathParameters, requestAdapter); @@ -33,7 +36,10 @@ public FilesRequestBuilder files() { /** * Provides operations to call the uploadFile method. * @return a {@link UploadFileRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public UploadFileRequestBuilder uploadFile() { return new UploadFileRequestBuilder(pathParameters, requestAdapter); @@ -57,7 +63,10 @@ public CustomDataProvidedResourceUploadSessionItemRequestBuilder(@jakarta.annota /** * Delete navigation property uploadSessions for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -65,7 +74,10 @@ public void delete() { * Delete navigation property uploadSessions for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -76,8 +88,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Get uploadSessions from identityGovernance * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession get() { return get(null); } @@ -86,8 +101,11 @@ public CustomDataProvidedResourceUploadSession get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -99,8 +117,11 @@ public CustomDataProvidedResourceUploadSession get(@jakarta.annotation.Nullable * @param body The request body * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession patch(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body) { return patch(body, null); } @@ -110,8 +131,11 @@ public CustomDataProvidedResourceUploadSession patch(@jakarta.annotation.Nonnull * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession patch(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -122,8 +146,11 @@ public CustomDataProvidedResourceUploadSession patch(@jakarta.annotation.Nonnull /** * Delete navigation property uploadSessions for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -131,8 +158,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property uploadSessions for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -142,8 +172,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Get uploadSessions from identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -151,8 +184,11 @@ public RequestInformation toGetRequestInformation() { * Get uploadSessions from identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -163,8 +199,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property uploadSessions in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body) { return toPatchRequestInformation(body, null); } @@ -173,8 +212,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -187,8 +229,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CustomDataProvidedResourceUploadSessionItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CustomDataProvidedResourceUploadSessionItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CustomDataProvidedResourceUploadSessionItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/files/FilesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/files/FilesRequestBuilder.java index 0c84efe4062..b1810d72417 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/files/FilesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/files/FilesRequestBuilder.java @@ -25,7 +25,10 @@ public class FilesRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -34,8 +37,11 @@ public CountRequestBuilder count() { * Provides operations to manage the files property of the microsoft.graph.customDataProvidedResourceUploadSession entity. * @param customDataProvidedResourceFileId The unique identifier of customDataProvidedResourceFile * @return a {@link CustomDataProvidedResourceFileItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CustomDataProvidedResourceFileItemRequestBuilder byCustomDataProvidedResourceFileId(@jakarta.annotation.Nonnull final String customDataProvidedResourceFileId) { Objects.requireNonNull(customDataProvidedResourceFileId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -62,8 +68,11 @@ public FilesRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @return a {@link CustomDataProvidedResourceFileCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceFileCollectionResponse get() { return get(null); } @@ -72,8 +81,11 @@ public CustomDataProvidedResourceFileCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceFileCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceFileCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -83,8 +95,11 @@ public CustomDataProvidedResourceFileCollectionResponse get(@jakarta.annotation. /** * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -92,8 +107,11 @@ public RequestInformation toGetRequestInformation() { * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -104,8 +122,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link FilesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new FilesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/files/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/files/count/CountRequestBuilder.java index ff41b6597c8..4367785586f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/files/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/files/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/files/item/CustomDataProvidedResourceFileItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/files/item/CustomDataProvidedResourceFileItemRequestBuilder.java index f755aeeec8d..2326f3e57f8 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/files/item/CustomDataProvidedResourceFileItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/files/item/CustomDataProvidedResourceFileItemRequestBuilder.java @@ -24,7 +24,10 @@ public class CustomDataProvidedResourceFileItemRequestBuilder extends BaseReques /** * Provides operations to manage the media for the identityGovernance entity. * @return a {@link ContentRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ContentRequestBuilder content() { return new ContentRequestBuilder(pathParameters, requestAdapter); @@ -49,8 +52,11 @@ public CustomDataProvidedResourceFileItemRequestBuilder(@jakarta.annotation.Nonn * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @return a {@link CustomDataProvidedResourceFile} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceFile get() { return get(null); } @@ -59,8 +65,11 @@ public CustomDataProvidedResourceFile get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceFile} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceFile get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -70,8 +79,11 @@ public CustomDataProvidedResourceFile get(@jakarta.annotation.Nullable final jav /** * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -79,8 +91,11 @@ public RequestInformation toGetRequestInformation() { * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -91,8 +106,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CustomDataProvidedResourceFileItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CustomDataProvidedResourceFileItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CustomDataProvidedResourceFileItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/files/item/value/ContentRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/files/item/value/ContentRequestBuilder.java index 0466d6c7f0c..f1599ea62d1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/files/item/value/ContentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/files/item/value/ContentRequestBuilder.java @@ -38,7 +38,10 @@ public ContentRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j /** * The unique identifier for an entity. Read-only. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -46,7 +49,10 @@ public void delete() { * The unique identifier for an entity. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * The unique identifier for an entity. Read-only. * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public InputStream get() { return get(null); } @@ -67,8 +76,11 @@ public InputStream get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public InputStream get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -80,8 +92,11 @@ public InputStream get(@jakarta.annotation.Nullable final java.util.function.Con * @param body Binary request body * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public InputStream put(@jakarta.annotation.Nonnull final InputStream body) { return put(body, null); } @@ -91,8 +106,11 @@ public InputStream put(@jakarta.annotation.Nonnull final InputStream body) { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public InputStream put(@jakarta.annotation.Nonnull final InputStream body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPutRequestInformation(body, requestConfiguration); @@ -103,8 +121,11 @@ public InputStream put(@jakarta.annotation.Nonnull final InputStream body, @jaka /** * The unique identifier for an entity. Read-only. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -112,8 +133,11 @@ public RequestInformation toDeleteRequestInformation() { * The unique identifier for an entity. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -123,8 +147,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * The unique identifier for an entity. Read-only. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -132,8 +159,11 @@ public RequestInformation toGetRequestInformation() { * The unique identifier for an entity. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new); @@ -144,8 +174,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * The unique identifier for an entity. Read-only. * @param body Binary request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull final InputStream body) { return toPutRequestInformation(body, null); } @@ -154,8 +187,11 @@ public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull fi * @param body Binary request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull final InputStream body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PUT, urlTemplate, pathParameters); @@ -168,8 +204,11 @@ public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull fi * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ContentRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ContentRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ContentRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/uploadfile/UploadFileRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/uploadfile/UploadFileRequestBuilder.java index 3badea3ec4b..f7f8affb428 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/uploadfile/UploadFileRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/uploadsessions/item/uploadfile/UploadFileRequestBuilder.java @@ -39,9 +39,12 @@ public UploadFileRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, * Upload a file in a customDataProvidedResourceUploadSession created for a customDataProvidedResource. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession post() { return post(null); } @@ -50,9 +53,12 @@ public CustomDataProvidedResourceUploadSession post() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -62,8 +68,11 @@ public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nullable /** * Upload a file in a customDataProvidedResourceUploadSession created for a customDataProvidedResource. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation() { * Upload a file in a customDataProvidedResourceUploadSession created for a customDataProvidedResource. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -83,8 +95,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link UploadFileRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public UploadFileRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new UploadFileRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java index 951913ffdef..7401b43cb69 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java @@ -26,7 +26,10 @@ public class AccessPackageResourceScopesRequestBuilder extends BaseRequestBuilde /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the accessPackageResourceScopes property of the microsoft.graph.accessPackageResource entity. * @param accessPackageResourceScopeId The unique identifier of accessPackageResourceScope * @return a {@link AccessPackageResourceScopeItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceScopeItemRequestBuilder byAccessPackageResourceScopeId(@jakarta.annotation.Nonnull final String accessPackageResourceScopeId) { Objects.requireNonNull(accessPackageResourceScopeId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public AccessPackageResourceScopesRequestBuilder(@jakarta.annotation.Nonnull fin * Read-only. Nullable. Supports $expand. * @return a {@link AccessPackageResourceScopeCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScopeCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public AccessPackageResourceScopeCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceScopeCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScopeCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public AccessPackageResourceScopeCollectionResponse get(@jakarta.annotation.Null * @param body The request body * @return a {@link AccessPackageResourceScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScope post(@jakarta.annotation.Nonnull final AccessPackageResourceScope body) { return post(body, null); } @@ -97,8 +112,11 @@ public AccessPackageResourceScope post(@jakarta.annotation.Nonnull final AccessP * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScope post(@jakarta.annotation.Nonnull final AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public AccessPackageResourceScope post(@jakarta.annotation.Nonnull final AccessP /** * Read-only. Nullable. Supports $expand. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Read-only. Nullable. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to accessPackageResourceScopes for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceScope body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceScopesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceScopesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceScopesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourcescopes/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourcescopes/count/CountRequestBuilder.java index 1a323ec4d53..72853fe2c50 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourcescopes/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourcescopes/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java index 7f1fb9f8793..680b10ea2c8 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java @@ -39,7 +39,10 @@ public AccessPackageResourceScopeItemRequestBuilder(@jakarta.annotation.Nonnull /** * Delete navigation property accessPackageResourceScopes for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -47,7 +50,10 @@ public void delete() { * Delete navigation property accessPackageResourceScopes for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -58,8 +64,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Read-only. Nullable. Supports $expand. * @return a {@link AccessPackageResourceScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScope get() { return get(null); } @@ -68,8 +77,11 @@ public AccessPackageResourceScope get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScope get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -81,8 +93,11 @@ public AccessPackageResourceScope get(@jakarta.annotation.Nullable final java.ut * @param body The request body * @return a {@link AccessPackageResourceScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScope patch(@jakarta.annotation.Nonnull final AccessPackageResourceScope body) { return patch(body, null); } @@ -92,8 +107,11 @@ public AccessPackageResourceScope patch(@jakarta.annotation.Nonnull final Access * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceScope patch(@jakarta.annotation.Nonnull final AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -104,8 +122,11 @@ public AccessPackageResourceScope patch(@jakarta.annotation.Nonnull final Access /** * Delete navigation property accessPackageResourceScopes for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -113,8 +134,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property accessPackageResourceScopes for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Read-only. Nullable. Supports $expand. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -133,8 +160,11 @@ public RequestInformation toGetRequestInformation() { * Read-only. Nullable. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -145,8 +175,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property accessPackageResourceScopes in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceScope body) { return toPatchRequestInformation(body, null); } @@ -155,8 +188,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -169,8 +205,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceScopeItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceScopeItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceScopeItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/externaloriginresourceconnector/ExternalOriginResourceConnectorRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/externaloriginresourceconnector/ExternalOriginResourceConnectorRequestBuilder.java index 358ea732bbc..28a80ed60c5 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/externaloriginresourceconnector/ExternalOriginResourceConnectorRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/externaloriginresourceconnector/ExternalOriginResourceConnectorRequestBuilder.java @@ -40,8 +40,11 @@ public ExternalOriginResourceConnectorRequestBuilder(@jakarta.annotation.Nonnull * The connector that integrates with external origin systems to provision access to resources from those systems. Read-only. Nullable. * @return a {@link ExternalOriginResourceConnector} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ExternalOriginResourceConnector get() { return get(null); } @@ -50,8 +53,11 @@ public ExternalOriginResourceConnector get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ExternalOriginResourceConnector} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ExternalOriginResourceConnector get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public ExternalOriginResourceConnector get(@jakarta.annotation.Nullable final ja /** * The connector that integrates with external origin systems to provision access to resources from those systems. Read-only. Nullable. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * The connector that integrates with external origin systems to provision access to resources from those systems. Read-only. Nullable. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ExternalOriginResourceConnectorRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ExternalOriginResourceConnectorRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ExternalOriginResourceConnectorRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/refresh/RefreshRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/refresh/RefreshRequestBuilder.java index 6b447f3c6e0..6a6ff4dcda7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/refresh/RefreshRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/refresh/RefreshRequestBuilder.java @@ -37,8 +37,11 @@ public RefreshRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j /** * In Microsoft Entra entitlement management, refresh the accessPackageResource object to fetch the latest details for displayName, description, and resourceType from the origin system. For the AadApplication originSystem, this operation also updates the displayName and description for the accessPackageResourceRole. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * In Microsoft Entra entitlement management, refresh the accessPackageResource object to fetch the latest details for displayName, description, and resourceType from the origin system. For the AadApplication originSystem, this operation also updates the displayName and description for the accessPackageResourceRole. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * In Microsoft Entra entitlement management, refresh the accessPackageResource object to fetch the latest details for displayName, description, and resourceType from the origin system. For the AadApplication originSystem, this operation also updates the displayName and description for the accessPackageResourceRole. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * In Microsoft Entra entitlement management, refresh the accessPackageResource object to fetch the latest details for displayName, description, and resourceType from the origin system. For the AadApplication originSystem, this operation also updates the displayName and description for the accessPackageResourceRole. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RefreshRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RefreshRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RefreshRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/uploadsessions/UploadSessionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/uploadsessions/UploadSessionsRequestBuilder.java index 7770190b582..67332032d0e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/uploadsessions/UploadSessionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/uploadsessions/UploadSessionsRequestBuilder.java @@ -26,7 +26,10 @@ public class UploadSessionsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the uploadSessions property of the microsoft.graph.accessPackageResource entity. * @param customDataProvidedResourceUploadSessionId The unique identifier of customDataProvidedResourceUploadSession * @return a {@link CustomDataProvidedResourceUploadSessionItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CustomDataProvidedResourceUploadSessionItemRequestBuilder byCustomDataProvidedResourceUploadSessionId(@jakarta.annotation.Nonnull final String customDataProvidedResourceUploadSessionId) { Objects.requireNonNull(customDataProvidedResourceUploadSessionId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public UploadSessionsRequestBuilder(@jakarta.annotation.Nonnull final String raw * Get uploadSessions from identityGovernance * @return a {@link CustomDataProvidedResourceUploadSessionCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSessionCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public CustomDataProvidedResourceUploadSessionCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSessionCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSessionCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public CustomDataProvidedResourceUploadSessionCollectionResponse get(@jakarta.an * @param body The request body * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body) { return post(body, null); } @@ -97,8 +112,11 @@ public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nonnull * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nonnull /** * Get uploadSessions from identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Get uploadSessions from identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to uploadSessions for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link UploadSessionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public UploadSessionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new UploadSessionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/uploadsessions/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/uploadsessions/count/CountRequestBuilder.java index 9cb72f2bdaf..7cad767f338 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/uploadsessions/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/uploadsessions/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/CustomDataProvidedResourceUploadSessionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/CustomDataProvidedResourceUploadSessionItemRequestBuilder.java index c375fca0c62..81082e6fbfb 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/CustomDataProvidedResourceUploadSessionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/CustomDataProvidedResourceUploadSessionItemRequestBuilder.java @@ -25,7 +25,10 @@ public class CustomDataProvidedResourceUploadSessionItemRequestBuilder extends B /** * Provides operations to manage the files property of the microsoft.graph.customDataProvidedResourceUploadSession entity. * @return a {@link FilesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public FilesRequestBuilder files() { return new FilesRequestBuilder(pathParameters, requestAdapter); @@ -33,7 +36,10 @@ public FilesRequestBuilder files() { /** * Provides operations to call the uploadFile method. * @return a {@link UploadFileRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public UploadFileRequestBuilder uploadFile() { return new UploadFileRequestBuilder(pathParameters, requestAdapter); @@ -57,7 +63,10 @@ public CustomDataProvidedResourceUploadSessionItemRequestBuilder(@jakarta.annota /** * Delete navigation property uploadSessions for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -65,7 +74,10 @@ public void delete() { * Delete navigation property uploadSessions for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -76,8 +88,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Get uploadSessions from identityGovernance * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession get() { return get(null); } @@ -86,8 +101,11 @@ public CustomDataProvidedResourceUploadSession get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -99,8 +117,11 @@ public CustomDataProvidedResourceUploadSession get(@jakarta.annotation.Nullable * @param body The request body * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession patch(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body) { return patch(body, null); } @@ -110,8 +131,11 @@ public CustomDataProvidedResourceUploadSession patch(@jakarta.annotation.Nonnull * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession patch(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -122,8 +146,11 @@ public CustomDataProvidedResourceUploadSession patch(@jakarta.annotation.Nonnull /** * Delete navigation property uploadSessions for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -131,8 +158,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property uploadSessions for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -142,8 +172,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Get uploadSessions from identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -151,8 +184,11 @@ public RequestInformation toGetRequestInformation() { * Get uploadSessions from identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -163,8 +199,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property uploadSessions in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body) { return toPatchRequestInformation(body, null); } @@ -173,8 +212,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final CustomDataProvidedResourceUploadSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -187,8 +229,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CustomDataProvidedResourceUploadSessionItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CustomDataProvidedResourceUploadSessionItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CustomDataProvidedResourceUploadSessionItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/files/FilesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/files/FilesRequestBuilder.java index 7daa38c73f2..ec77dae536c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/files/FilesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/files/FilesRequestBuilder.java @@ -25,7 +25,10 @@ public class FilesRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -34,8 +37,11 @@ public CountRequestBuilder count() { * Provides operations to manage the files property of the microsoft.graph.customDataProvidedResourceUploadSession entity. * @param customDataProvidedResourceFileId The unique identifier of customDataProvidedResourceFile * @return a {@link CustomDataProvidedResourceFileItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CustomDataProvidedResourceFileItemRequestBuilder byCustomDataProvidedResourceFileId(@jakarta.annotation.Nonnull final String customDataProvidedResourceFileId) { Objects.requireNonNull(customDataProvidedResourceFileId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -62,8 +68,11 @@ public FilesRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @return a {@link CustomDataProvidedResourceFileCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceFileCollectionResponse get() { return get(null); } @@ -72,8 +81,11 @@ public CustomDataProvidedResourceFileCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceFileCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceFileCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -83,8 +95,11 @@ public CustomDataProvidedResourceFileCollectionResponse get(@jakarta.annotation. /** * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -92,8 +107,11 @@ public RequestInformation toGetRequestInformation() { * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -104,8 +122,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link FilesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new FilesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/files/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/files/count/CountRequestBuilder.java index 4bc877c8555..c2c4ab442eb 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/files/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/files/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/files/item/CustomDataProvidedResourceFileItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/files/item/CustomDataProvidedResourceFileItemRequestBuilder.java index 4eb630b707f..84f02bd6558 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/files/item/CustomDataProvidedResourceFileItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/files/item/CustomDataProvidedResourceFileItemRequestBuilder.java @@ -24,7 +24,10 @@ public class CustomDataProvidedResourceFileItemRequestBuilder extends BaseReques /** * Provides operations to manage the media for the identityGovernance entity. * @return a {@link ContentRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ContentRequestBuilder content() { return new ContentRequestBuilder(pathParameters, requestAdapter); @@ -49,8 +52,11 @@ public CustomDataProvidedResourceFileItemRequestBuilder(@jakarta.annotation.Nonn * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @return a {@link CustomDataProvidedResourceFile} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceFile get() { return get(null); } @@ -59,8 +65,11 @@ public CustomDataProvidedResourceFile get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceFile} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceFile get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -70,8 +79,11 @@ public CustomDataProvidedResourceFile get(@jakarta.annotation.Nullable final jav /** * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -79,8 +91,11 @@ public RequestInformation toGetRequestInformation() { * The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -91,8 +106,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CustomDataProvidedResourceFileItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CustomDataProvidedResourceFileItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CustomDataProvidedResourceFileItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/files/item/value/ContentRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/files/item/value/ContentRequestBuilder.java index f6a2413c039..8a03b2be43d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/files/item/value/ContentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/files/item/value/ContentRequestBuilder.java @@ -38,7 +38,10 @@ public ContentRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j /** * The unique identifier for an entity. Read-only. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -46,7 +49,10 @@ public void delete() { * The unique identifier for an entity. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * The unique identifier for an entity. Read-only. * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public InputStream get() { return get(null); } @@ -67,8 +76,11 @@ public InputStream get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public InputStream get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -80,8 +92,11 @@ public InputStream get(@jakarta.annotation.Nullable final java.util.function.Con * @param body Binary request body * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public InputStream put(@jakarta.annotation.Nonnull final InputStream body) { return put(body, null); } @@ -91,8 +106,11 @@ public InputStream put(@jakarta.annotation.Nonnull final InputStream body) { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public InputStream put(@jakarta.annotation.Nonnull final InputStream body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPutRequestInformation(body, requestConfiguration); @@ -103,8 +121,11 @@ public InputStream put(@jakarta.annotation.Nonnull final InputStream body, @jaka /** * The unique identifier for an entity. Read-only. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -112,8 +133,11 @@ public RequestInformation toDeleteRequestInformation() { * The unique identifier for an entity. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -123,8 +147,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * The unique identifier for an entity. Read-only. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -132,8 +159,11 @@ public RequestInformation toGetRequestInformation() { * The unique identifier for an entity. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new); @@ -144,8 +174,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * The unique identifier for an entity. Read-only. * @param body Binary request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull final InputStream body) { return toPutRequestInformation(body, null); } @@ -154,8 +187,11 @@ public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull fi * @param body Binary request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull final InputStream body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PUT, urlTemplate, pathParameters); @@ -168,8 +204,11 @@ public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull fi * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ContentRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ContentRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ContentRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/uploadfile/UploadFileRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/uploadfile/UploadFileRequestBuilder.java index 94c2000a81a..981fd1c1453 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/uploadfile/UploadFileRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/uploadfile/UploadFileRequestBuilder.java @@ -39,9 +39,12 @@ public UploadFileRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, * Upload a file in a customDataProvidedResourceUploadSession created for a customDataProvidedResource. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession post() { return post(null); } @@ -50,9 +53,12 @@ public CustomDataProvidedResourceUploadSession post() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomDataProvidedResourceUploadSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -62,8 +68,11 @@ public CustomDataProvidedResourceUploadSession post(@jakarta.annotation.Nullable /** * Upload a file in a customDataProvidedResourceUploadSession created for a customDataProvidedResource. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation() { * Upload a file in a customDataProvidedResourceUploadSession created for a customDataProvidedResource. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -83,8 +95,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link UploadFileRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public UploadFileRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new UploadFileRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackagesincompatiblewith/AccessPackagesIncompatibleWithRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackagesincompatiblewith/AccessPackagesIncompatibleWithRequestBuilder.java index 5895b76eb82..99158ef59f3 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackagesincompatiblewith/AccessPackagesIncompatibleWithRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackagesincompatiblewith/AccessPackagesIncompatibleWithRequestBuilder.java @@ -25,7 +25,10 @@ public class AccessPackagesIncompatibleWithRequestBuilder extends BaseRequestBui /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -34,8 +37,11 @@ public CountRequestBuilder count() { * Provides operations to manage the accessPackagesIncompatibleWith property of the microsoft.graph.accessPackage entity. * @param accessPackageId1 The unique identifier of accessPackage * @return a {@link AccessPackageItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageItemRequestBuilder byAccessPackageId1(@jakarta.annotation.Nonnull final String accessPackageId1) { Objects.requireNonNull(accessPackageId1); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -62,9 +68,12 @@ public AccessPackagesIncompatibleWithRequestBuilder(@jakarta.annotation.Nonnull * Retrieve a list of the accessPackage objects marked a specified accessPackage as incompatible. * @return a {@link AccessPackageCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageCollectionResponse get() { return get(null); } @@ -73,9 +82,12 @@ public AccessPackageCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -85,8 +97,11 @@ public AccessPackageCollectionResponse get(@jakarta.annotation.Nullable final ja /** * Retrieve a list of the accessPackage objects marked a specified accessPackage as incompatible. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -94,8 +109,11 @@ public RequestInformation toGetRequestInformation() { * Retrieve a list of the accessPackage objects marked a specified accessPackage as incompatible. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -106,8 +124,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackagesIncompatibleWithRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackagesIncompatibleWithRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackagesIncompatibleWithRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackagesincompatiblewith/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackagesincompatiblewith/count/CountRequestBuilder.java index b2a16fe1701..44aa673b25f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackagesincompatiblewith/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackagesincompatiblewith/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackagesincompatiblewith/item/AccessPackageItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackagesincompatiblewith/item/AccessPackageItemRequestBuilder.java index 2f311812e55..b3552ae525d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackagesincompatiblewith/item/AccessPackageItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackagesincompatiblewith/item/AccessPackageItemRequestBuilder.java @@ -40,8 +40,11 @@ public AccessPackageItemRequestBuilder(@jakarta.annotation.Nonnull final String * The access packages that are incompatible with this package. Read-only. * @return a {@link AccessPackage} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackage get() { return get(null); } @@ -50,8 +53,11 @@ public AccessPackage get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackage} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackage get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public AccessPackage get(@jakarta.annotation.Nullable final java.util.function.C /** * The access packages that are incompatible with this package. Read-only. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * The access packages that are incompatible with this package. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackagesincompatiblewithwithuniquename/AccessPackagesIncompatibleWithWithUniqueNameRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackagesincompatiblewithwithuniquename/AccessPackagesIncompatibleWithWithUniqueNameRequestBuilder.java index a989259f022..ac5fe2e42d4 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackagesincompatiblewithwithuniquename/AccessPackagesIncompatibleWithWithUniqueNameRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackagesincompatiblewithwithuniquename/AccessPackagesIncompatibleWithWithUniqueNameRequestBuilder.java @@ -42,8 +42,11 @@ public AccessPackagesIncompatibleWithWithUniqueNameRequestBuilder(@jakarta.annot * The access packages that are incompatible with this package. Read-only. * @return a {@link AccessPackage} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackage get() { return get(null); } @@ -52,8 +55,11 @@ public AccessPackage get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackage} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackage get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -63,8 +69,11 @@ public AccessPackage get(@jakarta.annotation.Nullable final java.util.function.C /** * The access packages that are incompatible with this package. Read-only. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -72,8 +81,11 @@ public RequestInformation toGetRequestInformation() { * The access packages that are incompatible with this package. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -84,8 +96,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackagesIncompatibleWithWithUniqueNameRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackagesIncompatibleWithWithUniqueNameRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackagesIncompatibleWithWithUniqueNameRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/getapplicablepolicyrequirements/GetApplicablePolicyRequirementsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/getapplicablepolicyrequirements/GetApplicablePolicyRequirementsRequestBuilder.java index af25901d39b..03366757e3b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/getapplicablepolicyrequirements/GetApplicablePolicyRequirementsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/getapplicablepolicyrequirements/GetApplicablePolicyRequirementsRequestBuilder.java @@ -38,9 +38,12 @@ public GetApplicablePolicyRequirementsRequestBuilder(@jakarta.annotation.Nonnull * In Microsoft Entra entitlement management, this action retrieves accessPackageAssignmentRequestRequirements objects for an accessPackage that the currently signed-in user can use to create an accessPackageAssignmentRequest. Each requirement object corresponds to an access package assignment policy that the currently signed-in user is allowed to request an assignment for. * @return a {@link GetApplicablePolicyRequirementsPostResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public GetApplicablePolicyRequirementsPostResponse post() { return post(null); } @@ -49,9 +52,12 @@ public GetApplicablePolicyRequirementsPostResponse post() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GetApplicablePolicyRequirementsPostResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public GetApplicablePolicyRequirementsPostResponse post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public GetApplicablePolicyRequirementsPostResponse post(@jakarta.annotation.Null /** * In Microsoft Entra entitlement management, this action retrieves accessPackageAssignmentRequestRequirements objects for an accessPackage that the currently signed-in user can use to create an accessPackageAssignmentRequest. Each requirement object corresponds to an access package assignment policy that the currently signed-in user is allowed to request an assignment for. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toPostRequestInformation() { * In Microsoft Entra entitlement management, this action retrieves accessPackageAssignmentRequestRequirements objects for an accessPackage that the currently signed-in user can use to create an accessPackageAssignmentRequest. Each requirement object corresponds to an access package assignment policy that the currently signed-in user is allowed to request an assignment for. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -82,8 +94,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link GetApplicablePolicyRequirementsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public GetApplicablePolicyRequirementsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new GetApplicablePolicyRequirementsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/incompatibleaccesspackages/IncompatibleAccessPackagesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/incompatibleaccesspackages/IncompatibleAccessPackagesRequestBuilder.java index 163aec0b056..723e5accf52 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/incompatibleaccesspackages/IncompatibleAccessPackagesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/incompatibleaccesspackages/IncompatibleAccessPackagesRequestBuilder.java @@ -26,7 +26,10 @@ public class IncompatibleAccessPackagesRequestBuilder extends BaseRequestBuilder /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -34,7 +37,10 @@ public CountRequestBuilder count() { /** * Provides operations to manage the collection of identityGovernance entities. * @return a {@link RefRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public RefRequestBuilder ref() { return new RefRequestBuilder(pathParameters, requestAdapter); @@ -71,9 +77,12 @@ public IncompatibleAccessPackagesRequestBuilder(@jakarta.annotation.Nonnull fina * Retrieve a list of the accessPackage objects marked as incompatible on an accessPackage. * @return a {@link AccessPackageCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageCollectionResponse get() { return get(null); } @@ -82,9 +91,12 @@ public AccessPackageCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -94,8 +106,11 @@ public AccessPackageCollectionResponse get(@jakarta.annotation.Nullable final ja /** * Retrieve a list of the accessPackage objects marked as incompatible on an accessPackage. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -103,8 +118,11 @@ public RequestInformation toGetRequestInformation() { * Retrieve a list of the accessPackage objects marked as incompatible on an accessPackage. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -115,8 +133,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link IncompatibleAccessPackagesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public IncompatibleAccessPackagesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new IncompatibleAccessPackagesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/incompatibleaccesspackages/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/incompatibleaccesspackages/count/CountRequestBuilder.java index ae99725e773..6bcccbcd178 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/incompatibleaccesspackages/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/incompatibleaccesspackages/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/incompatibleaccesspackages/item/ref/RefRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/incompatibleaccesspackages/item/ref/RefRequestBuilder.java index 383351f3f61..d6c49d531d3 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/incompatibleaccesspackages/item/ref/RefRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/incompatibleaccesspackages/item/ref/RefRequestBuilder.java @@ -37,8 +37,11 @@ public RefRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakar /** * Remove an access package from the list of access packages marked as incompatible on an accessPackage. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void delete() { delete(null); } @@ -46,8 +49,11 @@ public void delete() { * Remove an access package from the list of access packages marked as incompatible on an accessPackage. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume /** * Remove an access package from the list of access packages marked as incompatible on an accessPackage. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toDeleteRequestInformation() { * Remove an access package from the list of access packages marked as incompatible on an accessPackage. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RefRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RefRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RefRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/incompatibleaccesspackages/ref/RefRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/incompatibleaccesspackages/ref/RefRequestBuilder.java index 38a310fa6a8..1c7f1403796 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/incompatibleaccesspackages/ref/RefRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/incompatibleaccesspackages/ref/RefRequestBuilder.java @@ -40,8 +40,11 @@ public RefRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakar /** * Remove an access package from the list of access packages marked as incompatible on an accessPackage. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void delete() { delete(null); } @@ -49,8 +52,11 @@ public void delete() { * Remove an access package from the list of access packages marked as incompatible on an accessPackage. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,9 +67,12 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Retrieve a list of the accessPackage objects marked as incompatible on an accessPackage. * @return a {@link StringCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public StringCollectionResponse get() { return get(null); } @@ -72,9 +81,12 @@ public StringCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link StringCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public StringCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -85,8 +97,11 @@ public StringCollectionResponse get(@jakarta.annotation.Nullable final java.util * Add an accessPackage to the list of access packages marked as incompatible on an accessPackage. * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final ReferenceCreate body) { post(body, null); } @@ -95,8 +110,11 @@ public void post(@jakarta.annotation.Nonnull final ReferenceCreate body) { * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final ReferenceCreate body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -107,8 +125,11 @@ public void post(@jakarta.annotation.Nonnull final ReferenceCreate body, @jakart /** * Remove an access package from the list of access packages marked as incompatible on an accessPackage. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -116,8 +137,11 @@ public RequestInformation toDeleteRequestInformation() { * Remove an access package from the list of access packages marked as incompatible on an accessPackage. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/identityGovernance/entitlementManagement/accessPackages/{accessPackage%2Did}/incompatibleAccessPackages/$ref?@id={%40id}", pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new, x -> x.queryParameters); @@ -127,8 +151,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Retrieve a list of the accessPackage objects marked as incompatible on an accessPackage. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -136,8 +163,11 @@ public RequestInformation toGetRequestInformation() { * Retrieve a list of the accessPackage objects marked as incompatible on an accessPackage. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -148,8 +178,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Add an accessPackage to the list of access packages marked as incompatible on an accessPackage. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ReferenceCreate body) { return toPostRequestInformation(body, null); } @@ -158,8 +191,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ReferenceCreate body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -172,8 +208,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RefRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RefRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RefRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/incompatiblegroups/IncompatibleGroupsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/incompatiblegroups/IncompatibleGroupsRequestBuilder.java index 073def10951..3a61064441e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/incompatiblegroups/IncompatibleGroupsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/incompatiblegroups/IncompatibleGroupsRequestBuilder.java @@ -26,7 +26,10 @@ public class IncompatibleGroupsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -34,7 +37,10 @@ public CountRequestBuilder count() { /** * Provides operations to manage the collection of identityGovernance entities. * @return a {@link RefRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public RefRequestBuilder ref() { return new RefRequestBuilder(pathParameters, requestAdapter); @@ -71,9 +77,12 @@ public IncompatibleGroupsRequestBuilder(@jakarta.annotation.Nonnull final String * Retrieve a list of the group objects marked as incompatible on an accessPackage. * @return a {@link GroupCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public GroupCollectionResponse get() { return get(null); } @@ -82,9 +91,12 @@ public GroupCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GroupCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public GroupCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -94,8 +106,11 @@ public GroupCollectionResponse get(@jakarta.annotation.Nullable final java.util. /** * Retrieve a list of the group objects marked as incompatible on an accessPackage. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -103,8 +118,11 @@ public RequestInformation toGetRequestInformation() { * Retrieve a list of the group objects marked as incompatible on an accessPackage. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -115,8 +133,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link IncompatibleGroupsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public IncompatibleGroupsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new IncompatibleGroupsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/incompatiblegroups/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/incompatiblegroups/count/CountRequestBuilder.java index 2530fc4e497..842ede5c376 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/incompatiblegroups/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/incompatiblegroups/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/incompatiblegroups/item/ref/RefRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/incompatiblegroups/item/ref/RefRequestBuilder.java index 9543e799ebf..6c52b77b056 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/incompatiblegroups/item/ref/RefRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/incompatiblegroups/item/ref/RefRequestBuilder.java @@ -37,8 +37,11 @@ public RefRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakar /** * Remove a group from the list of groups marked as incompatible on an accessPackage. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void delete() { delete(null); } @@ -46,8 +49,11 @@ public void delete() { * Remove a group from the list of groups marked as incompatible on an accessPackage. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume /** * Remove a group from the list of groups marked as incompatible on an accessPackage. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toDeleteRequestInformation() { * Remove a group from the list of groups marked as incompatible on an accessPackage. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RefRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RefRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RefRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/incompatiblegroups/item/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/incompatiblegroups/item/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java index a79d8cfe834..e48ba96aaeb 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/incompatiblegroups/item/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/incompatiblegroups/item/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java @@ -24,7 +24,10 @@ public class ServiceProvisioningErrorsRequestBuilder extends BaseRequestBuilder /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -49,8 +52,11 @@ public ServiceProvisioningErrorsRequestBuilder(@jakarta.annotation.Nonnull final * Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object. * @return a {@link ServiceProvisioningErrorCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ServiceProvisioningErrorCollectionResponse get() { return get(null); } @@ -59,8 +65,11 @@ public ServiceProvisioningErrorCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ServiceProvisioningErrorCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ServiceProvisioningErrorCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -70,8 +79,11 @@ public ServiceProvisioningErrorCollectionResponse get(@jakarta.annotation.Nullab /** * Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -79,8 +91,11 @@ public RequestInformation toGetRequestInformation() { * Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -91,8 +106,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ServiceProvisioningErrorsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ServiceProvisioningErrorsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ServiceProvisioningErrorsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/incompatiblegroups/item/serviceprovisioningerrors/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/incompatiblegroups/item/serviceprovisioningerrors/count/CountRequestBuilder.java index b8a07f9d2f0..b3f6b998f11 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/incompatiblegroups/item/serviceprovisioningerrors/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/incompatiblegroups/item/serviceprovisioningerrors/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/incompatiblegroups/ref/RefRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/incompatiblegroups/ref/RefRequestBuilder.java index 9cebec97874..1e493da27cb 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/incompatiblegroups/ref/RefRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/incompatiblegroups/ref/RefRequestBuilder.java @@ -40,8 +40,11 @@ public RefRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakar /** * Remove a group from the list of groups marked as incompatible on an accessPackage. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void delete() { delete(null); } @@ -49,8 +52,11 @@ public void delete() { * Remove a group from the list of groups marked as incompatible on an accessPackage. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,9 +67,12 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Retrieve a list of the group objects marked as incompatible on an accessPackage. * @return a {@link StringCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public StringCollectionResponse get() { return get(null); } @@ -72,9 +81,12 @@ public StringCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link StringCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public StringCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -85,8 +97,11 @@ public StringCollectionResponse get(@jakarta.annotation.Nullable final java.util * Add a group to the list of groups marked as incompatible on an accessPackage. * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final ReferenceCreate body) { post(body, null); } @@ -95,8 +110,11 @@ public void post(@jakarta.annotation.Nonnull final ReferenceCreate body) { * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final ReferenceCreate body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -107,8 +125,11 @@ public void post(@jakarta.annotation.Nonnull final ReferenceCreate body, @jakart /** * Remove a group from the list of groups marked as incompatible on an accessPackage. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -116,8 +137,11 @@ public RequestInformation toDeleteRequestInformation() { * Remove a group from the list of groups marked as incompatible on an accessPackage. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/identityGovernance/entitlementManagement/accessPackages/{accessPackage%2Did}/incompatibleGroups/$ref?@id={%40id}", pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new, x -> x.queryParameters); @@ -127,8 +151,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Retrieve a list of the group objects marked as incompatible on an accessPackage. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -136,8 +163,11 @@ public RequestInformation toGetRequestInformation() { * Retrieve a list of the group objects marked as incompatible on an accessPackage. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -148,8 +178,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Add a group to the list of groups marked as incompatible on an accessPackage. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ReferenceCreate body) { return toPostRequestInformation(body, null); } @@ -158,8 +191,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ReferenceCreate body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -172,8 +208,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RefRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RefRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RefRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/movetocatalog/MoveToCatalogRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/movetocatalog/MoveToCatalogRequestBuilder.java index 13fd24fd2f6..892242f85d2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/movetocatalog/MoveToCatalogRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/movetocatalog/MoveToCatalogRequestBuilder.java @@ -38,8 +38,11 @@ public MoveToCatalogRequestBuilder(@jakarta.annotation.Nonnull final String rawU * In Microsoft Entra entitlement management, this action moves the accessPackage to a specified target accessPackageCatalog. The resources in the access package must be present in the target catalog. * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final MoveToCatalogPostRequestBody body) { post(body, null); } @@ -48,8 +51,11 @@ public void post(@jakarta.annotation.Nonnull final MoveToCatalogPostRequestBody * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final MoveToCatalogPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -61,8 +67,11 @@ public void post(@jakarta.annotation.Nonnull final MoveToCatalogPostRequestBody * In Microsoft Entra entitlement management, this action moves the accessPackage to a specified target accessPackageCatalog. The resources in the access package must be present in the target catalog. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MoveToCatalogPostRequestBody body) { return toPostRequestInformation(body, null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MoveToCatalogPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -85,8 +97,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link MoveToCatalogRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public MoveToCatalogRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new MoveToCatalogRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/search/SearchRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/search/SearchRequestBuilder.java index 03017de8d1b..91237f9d558 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/search/SearchRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/search/SearchRequestBuilder.java @@ -39,8 +39,11 @@ public SearchRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ja * Invoke function Search * @return a {@link SearchGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public SearchGetResponse get() { return get(null); } @@ -49,8 +52,11 @@ public SearchGetResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SearchGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public SearchGetResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public SearchGetResponse get(@jakarta.annotation.Nullable final java.util.functi /** * Invoke function Search * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Invoke function Search * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link SearchRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public SearchRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new SearchRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagesuggestions/AccessPackageSuggestionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagesuggestions/AccessPackageSuggestionsRequestBuilder.java index 9a8aa2cbd6c..754c3b34502 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagesuggestions/AccessPackageSuggestionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagesuggestions/AccessPackageSuggestionsRequestBuilder.java @@ -27,7 +27,10 @@ public class AccessPackageSuggestionsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -36,8 +39,11 @@ public CountRequestBuilder count() { * Provides operations to manage the accessPackageSuggestions property of the microsoft.graph.entitlementManagement entity. * @param accessPackageSuggestionId The unique identifier of accessPackageSuggestion * @return a {@link AccessPackageSuggestionItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageSuggestionItemRequestBuilder byAccessPackageSuggestionId(@jakarta.annotation.Nonnull final String accessPackageSuggestionId) { Objects.requireNonNull(accessPackageSuggestionId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -64,8 +70,11 @@ public AccessPackageSuggestionsRequestBuilder(@jakarta.annotation.Nonnull final * Provides operations to call the filterByCurrentUser method. * @param on Usage: on='{on}' * @return a {@link FilterByCurrentUserWithOnRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilterByCurrentUserWithOnRequestBuilder filterByCurrentUserWithOn(@jakarta.annotation.Nonnull final String on) { Objects.requireNonNull(on); return new FilterByCurrentUserWithOnRequestBuilder(pathParameters, requestAdapter, on); @@ -74,8 +83,11 @@ public FilterByCurrentUserWithOnRequestBuilder filterByCurrentUserWithOn(@jakart * Get accessPackageSuggestions from identityGovernance * @return a {@link AccessPackageSuggestionCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageSuggestionCollectionResponse get() { return get(null); } @@ -84,8 +96,11 @@ public AccessPackageSuggestionCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageSuggestionCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageSuggestionCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -97,8 +112,11 @@ public AccessPackageSuggestionCollectionResponse get(@jakarta.annotation.Nullabl * @param body The request body * @return a {@link AccessPackageSuggestion} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageSuggestion post(@jakarta.annotation.Nonnull final AccessPackageSuggestion body) { return post(body, null); } @@ -108,8 +126,11 @@ public AccessPackageSuggestion post(@jakarta.annotation.Nonnull final AccessPack * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageSuggestion} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageSuggestion post(@jakarta.annotation.Nonnull final AccessPackageSuggestion body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -120,8 +141,11 @@ public AccessPackageSuggestion post(@jakarta.annotation.Nonnull final AccessPack /** * Get accessPackageSuggestions from identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -129,8 +153,11 @@ public RequestInformation toGetRequestInformation() { * Get accessPackageSuggestions from identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -141,8 +168,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to accessPackageSuggestions for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageSuggestion body) { return toPostRequestInformation(body, null); } @@ -151,8 +181,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageSuggestion body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -165,8 +198,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageSuggestionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageSuggestionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageSuggestionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagesuggestions/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagesuggestions/count/CountRequestBuilder.java index a8942274b86..2f227c10229 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagesuggestions/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagesuggestions/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagesuggestions/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagesuggestions/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java index a1372f86815..381a54193e1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagesuggestions/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagesuggestions/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java @@ -41,9 +41,12 @@ public FilterByCurrentUserWithOnRequestBuilder(@jakarta.annotation.Nonnull final * Retrieve suggested accessPackageSuggestion objects for the current end user. This operation returns access packages that are suggested based on various criteria such as related people insights and the user's assignment history. The suggestions help end users discover relevant access packages they may need for their role or work context. * @return a {@link FilterByCurrentUserWithOnGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public FilterByCurrentUserWithOnGetResponse get() { return get(null); } @@ -52,9 +55,12 @@ public FilterByCurrentUserWithOnGetResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link FilterByCurrentUserWithOnGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public FilterByCurrentUserWithOnGetResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -64,8 +70,11 @@ public FilterByCurrentUserWithOnGetResponse get(@jakarta.annotation.Nullable fin /** * Retrieve suggested accessPackageSuggestion objects for the current end user. This operation returns access packages that are suggested based on various criteria such as related people insights and the user's assignment history. The suggestions help end users discover relevant access packages they may need for their role or work context. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -73,8 +82,11 @@ public RequestInformation toGetRequestInformation() { * Retrieve suggested accessPackageSuggestion objects for the current end user. This operation returns access packages that are suggested based on various criteria such as related people insights and the user's assignment history. The suggestions help end users discover relevant access packages they may need for their role or work context. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -85,8 +97,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link FilterByCurrentUserWithOnRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilterByCurrentUserWithOnRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new FilterByCurrentUserWithOnRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagesuggestions/item/AccessPackageSuggestionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagesuggestions/item/AccessPackageSuggestionItemRequestBuilder.java index 40a9ba407fa..1d3d6188eef 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagesuggestions/item/AccessPackageSuggestionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagesuggestions/item/AccessPackageSuggestionItemRequestBuilder.java @@ -24,7 +24,10 @@ public class AccessPackageSuggestionItemRequestBuilder extends BaseRequestBuilde /** * Provides operations to manage the accessPackage property of the microsoft.graph.accessPackageSuggestion entity. * @return a {@link AccessPackageRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AccessPackageRequestBuilder accessPackage() { return new AccessPackageRequestBuilder(pathParameters, requestAdapter); @@ -48,7 +51,10 @@ public AccessPackageSuggestionItemRequestBuilder(@jakarta.annotation.Nonnull fin /** * Delete navigation property accessPackageSuggestions for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -56,7 +62,10 @@ public void delete() { * Delete navigation property accessPackageSuggestions for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -67,8 +76,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Get accessPackageSuggestions from identityGovernance * @return a {@link AccessPackageSuggestion} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageSuggestion get() { return get(null); } @@ -77,8 +89,11 @@ public AccessPackageSuggestion get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageSuggestion} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageSuggestion get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -90,8 +105,11 @@ public AccessPackageSuggestion get(@jakarta.annotation.Nullable final java.util. * @param body The request body * @return a {@link AccessPackageSuggestion} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageSuggestion patch(@jakarta.annotation.Nonnull final AccessPackageSuggestion body) { return patch(body, null); } @@ -101,8 +119,11 @@ public AccessPackageSuggestion patch(@jakarta.annotation.Nonnull final AccessPac * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageSuggestion} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageSuggestion patch(@jakarta.annotation.Nonnull final AccessPackageSuggestion body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -113,8 +134,11 @@ public AccessPackageSuggestion patch(@jakarta.annotation.Nonnull final AccessPac /** * Delete navigation property accessPackageSuggestions for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -122,8 +146,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property accessPackageSuggestions for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -133,8 +160,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Get accessPackageSuggestions from identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -142,8 +172,11 @@ public RequestInformation toGetRequestInformation() { * Get accessPackageSuggestions from identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -154,8 +187,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property accessPackageSuggestions in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageSuggestion body) { return toPatchRequestInformation(body, null); } @@ -164,8 +200,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageSuggestion body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -178,8 +217,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageSuggestionItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageSuggestionItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageSuggestionItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagesuggestions/item/accesspackage/AccessPackageRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagesuggestions/item/accesspackage/AccessPackageRequestBuilder.java index 99441a5c5f5..c637a1b7c74 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagesuggestions/item/accesspackage/AccessPackageRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagesuggestions/item/accesspackage/AccessPackageRequestBuilder.java @@ -40,8 +40,11 @@ public AccessPackageRequestBuilder(@jakarta.annotation.Nonnull final String rawU * The access package information for the suggested package. * @return a {@link AvailableAccessPackage} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AvailableAccessPackage get() { return get(null); } @@ -50,8 +53,11 @@ public AvailableAccessPackage get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AvailableAccessPackage} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AvailableAccessPackage get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public AvailableAccessPackage get(@jakarta.annotation.Nullable final java.util.f /** * The access package information for the suggested package. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * The access package information for the suggested package. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageswithuniquename/AccessPackagesWithUniqueNameRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageswithuniquename/AccessPackagesWithUniqueNameRequestBuilder.java index 1a3d7b05ebd..27c1c1a6768 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageswithuniquename/AccessPackagesWithUniqueNameRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageswithuniquename/AccessPackagesWithUniqueNameRequestBuilder.java @@ -25,7 +25,10 @@ public class AccessPackagesWithUniqueNameRequestBuilder extends BaseRequestBuild /** * Provides operations to call the getApplicablePolicyRequirements method. * @return a {@link GetApplicablePolicyRequirementsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public GetApplicablePolicyRequirementsRequestBuilder getApplicablePolicyRequirements() { return new GetApplicablePolicyRequirementsRequestBuilder(pathParameters, requestAdapter); @@ -33,7 +36,10 @@ public GetApplicablePolicyRequirementsRequestBuilder getApplicablePolicyRequirem /** * Provides operations to call the moveToCatalog method. * @return a {@link MoveToCatalogRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public MoveToCatalogRequestBuilder moveToCatalog() { return new MoveToCatalogRequestBuilder(pathParameters, requestAdapter); @@ -59,8 +65,11 @@ public AccessPackagesWithUniqueNameRequestBuilder(@jakarta.annotation.Nonnull fi /** * Delete an accessPackage object. You can't delete an access package if it has any accessPackageAssignment. To delete the access package, first query if there are any assignments with a filter to indicate the specific access package, such as: $filter=accessPackage/id eq 'a914b616-e04e-476b-aa37-91038f0b165b'. For more information on how to remove assignments that are still in the delivered state, see Remove an assignment. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void delete() { delete(null); } @@ -68,8 +77,11 @@ public void delete() { * Delete an accessPackage object. You can't delete an access package if it has any accessPackageAssignment. To delete the access package, first query if there are any assignments with a filter to indicate the specific access package, such as: $filter=accessPackage/id eq 'a914b616-e04e-476b-aa37-91038f0b165b'. For more information on how to remove assignments that are still in the delivered state, see Remove an assignment. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -80,9 +92,12 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Retrieve the properties and relationships of an accessPackage object. * @return a {@link AccessPackage} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public AccessPackage get() { return get(null); } @@ -91,9 +106,12 @@ public AccessPackage get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackage} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public AccessPackage get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -105,9 +123,12 @@ public AccessPackage get(@jakarta.annotation.Nullable final java.util.function.C * @param body The request body * @return a {@link AccessPackage} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public AccessPackage patch(@jakarta.annotation.Nonnull final AccessPackage body) { return patch(body, null); } @@ -117,9 +138,12 @@ public AccessPackage patch(@jakarta.annotation.Nonnull final AccessPackage body) * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackage} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public AccessPackage patch(@jakarta.annotation.Nonnull final AccessPackage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -130,8 +154,11 @@ public AccessPackage patch(@jakarta.annotation.Nonnull final AccessPackage body, /** * Delete an accessPackage object. You can't delete an access package if it has any accessPackageAssignment. To delete the access package, first query if there are any assignments with a filter to indicate the specific access package, such as: $filter=accessPackage/id eq 'a914b616-e04e-476b-aa37-91038f0b165b'. For more information on how to remove assignments that are still in the delivered state, see Remove an assignment. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -139,8 +166,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete an accessPackage object. You can't delete an access package if it has any accessPackageAssignment. To delete the access package, first query if there are any assignments with a filter to indicate the specific access package, such as: $filter=accessPackage/id eq 'a914b616-e04e-476b-aa37-91038f0b165b'. For more information on how to remove assignments that are still in the delivered state, see Remove an assignment. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -150,8 +180,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Retrieve the properties and relationships of an accessPackage object. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -159,8 +192,11 @@ public RequestInformation toGetRequestInformation() { * Retrieve the properties and relationships of an accessPackage object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -171,8 +207,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update an existing accessPackage object to change one or more of its properties, such as the display name or description. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackage body) { return toPatchRequestInformation(body, null); } @@ -181,8 +220,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -195,8 +237,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackagesWithUniqueNameRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackagesWithUniqueNameRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackagesWithUniqueNameRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageswithuniquename/getapplicablepolicyrequirements/GetApplicablePolicyRequirementsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageswithuniquename/getapplicablepolicyrequirements/GetApplicablePolicyRequirementsRequestBuilder.java index f23f0dd8b8c..8aa326c46aa 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageswithuniquename/getapplicablepolicyrequirements/GetApplicablePolicyRequirementsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageswithuniquename/getapplicablepolicyrequirements/GetApplicablePolicyRequirementsRequestBuilder.java @@ -38,9 +38,12 @@ public GetApplicablePolicyRequirementsRequestBuilder(@jakarta.annotation.Nonnull * In Microsoft Entra entitlement management, this action retrieves accessPackageAssignmentRequestRequirements objects for an accessPackage that the currently signed-in user can use to create an accessPackageAssignmentRequest. Each requirement object corresponds to an access package assignment policy that the currently signed-in user is allowed to request an assignment for. * @return a {@link GetApplicablePolicyRequirementsPostResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public GetApplicablePolicyRequirementsPostResponse post() { return post(null); } @@ -49,9 +52,12 @@ public GetApplicablePolicyRequirementsPostResponse post() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GetApplicablePolicyRequirementsPostResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public GetApplicablePolicyRequirementsPostResponse post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public GetApplicablePolicyRequirementsPostResponse post(@jakarta.annotation.Null /** * In Microsoft Entra entitlement management, this action retrieves accessPackageAssignmentRequestRequirements objects for an accessPackage that the currently signed-in user can use to create an accessPackageAssignmentRequest. Each requirement object corresponds to an access package assignment policy that the currently signed-in user is allowed to request an assignment for. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toPostRequestInformation() { * In Microsoft Entra entitlement management, this action retrieves accessPackageAssignmentRequestRequirements objects for an accessPackage that the currently signed-in user can use to create an accessPackageAssignmentRequest. Each requirement object corresponds to an access package assignment policy that the currently signed-in user is allowed to request an assignment for. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -82,8 +94,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link GetApplicablePolicyRequirementsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public GetApplicablePolicyRequirementsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new GetApplicablePolicyRequirementsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageswithuniquename/movetocatalog/MoveToCatalogRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageswithuniquename/movetocatalog/MoveToCatalogRequestBuilder.java index 2ecaeaeed14..50b62383387 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageswithuniquename/movetocatalog/MoveToCatalogRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageswithuniquename/movetocatalog/MoveToCatalogRequestBuilder.java @@ -38,8 +38,11 @@ public MoveToCatalogRequestBuilder(@jakarta.annotation.Nonnull final String rawU * In Microsoft Entra entitlement management, this action moves the accessPackage to a specified target accessPackageCatalog. The resources in the access package must be present in the target catalog. * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final MoveToCatalogPostRequestBody body) { post(body, null); } @@ -48,8 +51,11 @@ public void post(@jakarta.annotation.Nonnull final MoveToCatalogPostRequestBody * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final MoveToCatalogPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -61,8 +67,11 @@ public void post(@jakarta.annotation.Nonnull final MoveToCatalogPostRequestBody * In Microsoft Entra entitlement management, this action moves the accessPackage to a specified target accessPackageCatalog. The resources in the access package must be present in the target catalog. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MoveToCatalogPostRequestBody body) { return toPostRequestInformation(body, null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MoveToCatalogPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -85,8 +97,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link MoveToCatalogRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public MoveToCatalogRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new MoveToCatalogRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/availableaccesspackages/AvailableAccessPackagesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/availableaccesspackages/AvailableAccessPackagesRequestBuilder.java index b13800e06f6..7a65e0bd4fb 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/availableaccesspackages/AvailableAccessPackagesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/availableaccesspackages/AvailableAccessPackagesRequestBuilder.java @@ -26,7 +26,10 @@ public class AvailableAccessPackagesRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the availableAccessPackages property of the microsoft.graph.entitlementManagement entity. * @param availableAccessPackageId The unique identifier of availableAccessPackage * @return a {@link AvailableAccessPackageItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AvailableAccessPackageItemRequestBuilder byAvailableAccessPackageId(@jakarta.annotation.Nonnull final String availableAccessPackageId) { Objects.requireNonNull(availableAccessPackageId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public AvailableAccessPackagesRequestBuilder(@jakarta.annotation.Nonnull final S * Get availableAccessPackages from identityGovernance * @return a {@link AvailableAccessPackageCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AvailableAccessPackageCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public AvailableAccessPackageCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AvailableAccessPackageCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AvailableAccessPackageCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public AvailableAccessPackageCollectionResponse get(@jakarta.annotation.Nullable * @param body The request body * @return a {@link AvailableAccessPackage} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AvailableAccessPackage post(@jakarta.annotation.Nonnull final AvailableAccessPackage body) { return post(body, null); } @@ -97,8 +112,11 @@ public AvailableAccessPackage post(@jakarta.annotation.Nonnull final AvailableAc * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AvailableAccessPackage} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AvailableAccessPackage post(@jakarta.annotation.Nonnull final AvailableAccessPackage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public AvailableAccessPackage post(@jakarta.annotation.Nonnull final AvailableAc /** * Get availableAccessPackages from identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Get availableAccessPackages from identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to availableAccessPackages for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AvailableAccessPackage body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AvailableAccessPackage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AvailableAccessPackagesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AvailableAccessPackagesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AvailableAccessPackagesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/availableaccesspackages/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/availableaccesspackages/count/CountRequestBuilder.java index 9dc62f4ca1c..5cad5b6b28a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/availableaccesspackages/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/availableaccesspackages/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/availableaccesspackages/item/AvailableAccessPackageItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/availableaccesspackages/item/AvailableAccessPackageItemRequestBuilder.java index ec468075d92..dcc12b4181f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/availableaccesspackages/item/AvailableAccessPackageItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/availableaccesspackages/item/AvailableAccessPackageItemRequestBuilder.java @@ -24,7 +24,10 @@ public class AvailableAccessPackageItemRequestBuilder extends BaseRequestBuilder /** * Provides operations to manage the resourceRoleScopes property of the microsoft.graph.availableAccessPackage entity. * @return a {@link ResourceRoleScopesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ResourceRoleScopesRequestBuilder resourceRoleScopes() { return new ResourceRoleScopesRequestBuilder(pathParameters, requestAdapter); @@ -48,7 +51,10 @@ public AvailableAccessPackageItemRequestBuilder(@jakarta.annotation.Nonnull fina /** * Delete navigation property availableAccessPackages for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -56,7 +62,10 @@ public void delete() { * Delete navigation property availableAccessPackages for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -67,8 +76,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Get availableAccessPackages from identityGovernance * @return a {@link AvailableAccessPackage} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AvailableAccessPackage get() { return get(null); } @@ -77,8 +89,11 @@ public AvailableAccessPackage get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AvailableAccessPackage} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AvailableAccessPackage get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -90,8 +105,11 @@ public AvailableAccessPackage get(@jakarta.annotation.Nullable final java.util.f * @param body The request body * @return a {@link AvailableAccessPackage} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AvailableAccessPackage patch(@jakarta.annotation.Nonnull final AvailableAccessPackage body) { return patch(body, null); } @@ -101,8 +119,11 @@ public AvailableAccessPackage patch(@jakarta.annotation.Nonnull final AvailableA * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AvailableAccessPackage} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AvailableAccessPackage patch(@jakarta.annotation.Nonnull final AvailableAccessPackage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -113,8 +134,11 @@ public AvailableAccessPackage patch(@jakarta.annotation.Nonnull final AvailableA /** * Delete navigation property availableAccessPackages for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -122,8 +146,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property availableAccessPackages for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -133,8 +160,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Get availableAccessPackages from identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -142,8 +172,11 @@ public RequestInformation toGetRequestInformation() { * Get availableAccessPackages from identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -154,8 +187,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property availableAccessPackages in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AvailableAccessPackage body) { return toPatchRequestInformation(body, null); } @@ -164,8 +200,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AvailableAccessPackage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -178,8 +217,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AvailableAccessPackageItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AvailableAccessPackageItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AvailableAccessPackageItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/availableaccesspackages/item/resourcerolescopes/ResourceRoleScopesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/availableaccesspackages/item/resourcerolescopes/ResourceRoleScopesRequestBuilder.java index 9f3c1a3505a..3bc78dac376 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/availableaccesspackages/item/resourcerolescopes/ResourceRoleScopesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/availableaccesspackages/item/resourcerolescopes/ResourceRoleScopesRequestBuilder.java @@ -25,7 +25,10 @@ public class ResourceRoleScopesRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -34,8 +37,11 @@ public CountRequestBuilder count() { * Provides operations to manage the resourceRoleScopes property of the microsoft.graph.availableAccessPackage entity. * @param accessPackageResourceRoleScopeId The unique identifier of accessPackageResourceRoleScope * @return a {@link AccessPackageResourceRoleScopeItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceRoleScopeItemRequestBuilder byAccessPackageResourceRoleScopeId(@jakarta.annotation.Nonnull final String accessPackageResourceRoleScopeId) { Objects.requireNonNull(accessPackageResourceRoleScopeId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -62,9 +68,12 @@ public ResourceRoleScopesRequestBuilder(@jakarta.annotation.Nonnull final String * Get a list of the accessPackageResourceRoleScope objects associated with an availableAccessPackage. * @return a {@link AccessPackageResourceRoleScopeCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRoleScopeCollectionResponse get() { return get(null); } @@ -73,9 +82,12 @@ public AccessPackageResourceRoleScopeCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceRoleScopeCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRoleScopeCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -85,8 +97,11 @@ public AccessPackageResourceRoleScopeCollectionResponse get(@jakarta.annotation. /** * Get a list of the accessPackageResourceRoleScope objects associated with an availableAccessPackage. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -94,8 +109,11 @@ public RequestInformation toGetRequestInformation() { * Get a list of the accessPackageResourceRoleScope objects associated with an availableAccessPackage. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -106,8 +124,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ResourceRoleScopesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ResourceRoleScopesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ResourceRoleScopesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/availableaccesspackages/item/resourcerolescopes/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/availableaccesspackages/item/resourcerolescopes/count/CountRequestBuilder.java index 504c3460712..3bfe4fa9331 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/availableaccesspackages/item/resourcerolescopes/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/availableaccesspackages/item/resourcerolescopes/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/availableaccesspackages/item/resourcerolescopes/item/AccessPackageResourceRoleScopeItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/availableaccesspackages/item/resourcerolescopes/item/AccessPackageResourceRoleScopeItemRequestBuilder.java index be2f0bf8c8d..108e84d9702 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/availableaccesspackages/item/resourcerolescopes/item/AccessPackageResourceRoleScopeItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/availableaccesspackages/item/resourcerolescopes/item/AccessPackageResourceRoleScopeItemRequestBuilder.java @@ -40,8 +40,11 @@ public AccessPackageResourceRoleScopeItemRequestBuilder(@jakarta.annotation.Nonn * The resource role scopes associated with this available access package. * @return a {@link AccessPackageResourceRoleScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRoleScope get() { return get(null); } @@ -50,8 +53,11 @@ public AccessPackageResourceRoleScope get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageResourceRoleScope} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageResourceRoleScope get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public AccessPackageResourceRoleScope get(@jakarta.annotation.Nullable final jav /** * The resource role scopes associated with this available access package. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * The resource role scopes associated with this available access package. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageResourceRoleScopeItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageResourceRoleScopeItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageResourceRoleScopeItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/connectedorganizations/ConnectedOrganizationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/connectedorganizations/ConnectedOrganizationsRequestBuilder.java index 2db2972030f..3f52e22ccef 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/connectedorganizations/ConnectedOrganizationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/connectedorganizations/ConnectedOrganizationsRequestBuilder.java @@ -26,7 +26,10 @@ public class ConnectedOrganizationsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the connectedOrganizations property of the microsoft.graph.entitlementManagement entity. * @param connectedOrganizationId The unique identifier of connectedOrganization * @return a {@link ConnectedOrganizationItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ConnectedOrganizationItemRequestBuilder byConnectedOrganizationId(@jakarta.annotation.Nonnull final String connectedOrganizationId) { Objects.requireNonNull(connectedOrganizationId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,9 +69,12 @@ public ConnectedOrganizationsRequestBuilder(@jakarta.annotation.Nonnull final St * Retrieve a list of connectedOrganization objects. * @return a {@link ConnectedOrganizationCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public ConnectedOrganizationCollectionResponse get() { return get(null); } @@ -74,9 +83,12 @@ public ConnectedOrganizationCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ConnectedOrganizationCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public ConnectedOrganizationCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -88,9 +100,12 @@ public ConnectedOrganizationCollectionResponse get(@jakarta.annotation.Nullable * @param body The request body * @return a {@link ConnectedOrganization} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public ConnectedOrganization post(@jakarta.annotation.Nonnull final ConnectedOrganization body) { return post(body, null); } @@ -100,9 +115,12 @@ public ConnectedOrganization post(@jakarta.annotation.Nonnull final ConnectedOrg * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ConnectedOrganization} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public ConnectedOrganization post(@jakarta.annotation.Nonnull final ConnectedOrganization body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -113,8 +131,11 @@ public ConnectedOrganization post(@jakarta.annotation.Nonnull final ConnectedOrg /** * Retrieve a list of connectedOrganization objects. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -122,8 +143,11 @@ public RequestInformation toGetRequestInformation() { * Retrieve a list of connectedOrganization objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -134,8 +158,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create a new connectedOrganization object. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ConnectedOrganization body) { return toPostRequestInformation(body, null); } @@ -144,8 +171,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ConnectedOrganization body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -158,8 +188,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ConnectedOrganizationsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ConnectedOrganizationsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ConnectedOrganizationsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/connectedorganizations/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/connectedorganizations/count/CountRequestBuilder.java index ea7b65eeb74..a9ae6275249 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/connectedorganizations/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/connectedorganizations/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/connectedorganizations/item/ConnectedOrganizationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/connectedorganizations/item/ConnectedOrganizationItemRequestBuilder.java index 91536c36d1a..3e0d1d14a41 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/connectedorganizations/item/ConnectedOrganizationItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/connectedorganizations/item/ConnectedOrganizationItemRequestBuilder.java @@ -25,7 +25,10 @@ public class ConnectedOrganizationItemRequestBuilder extends BaseRequestBuilder /** * Provides operations to manage the externalSponsors property of the microsoft.graph.connectedOrganization entity. * @return a {@link ExternalSponsorsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ExternalSponsorsRequestBuilder externalSponsors() { return new ExternalSponsorsRequestBuilder(pathParameters, requestAdapter); @@ -33,7 +36,10 @@ public ExternalSponsorsRequestBuilder externalSponsors() { /** * Provides operations to manage the internalSponsors property of the microsoft.graph.connectedOrganization entity. * @return a {@link InternalSponsorsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public InternalSponsorsRequestBuilder internalSponsors() { return new InternalSponsorsRequestBuilder(pathParameters, requestAdapter); @@ -57,8 +63,11 @@ public ConnectedOrganizationItemRequestBuilder(@jakarta.annotation.Nonnull final /** * Delete a connectedOrganization object. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void delete() { delete(null); } @@ -66,8 +75,11 @@ public void delete() { * Delete a connectedOrganization object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -78,9 +90,12 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Retrieve the properties and relationships of a connectedOrganization object. * @return a {@link ConnectedOrganization} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public ConnectedOrganization get() { return get(null); } @@ -89,9 +104,12 @@ public ConnectedOrganization get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ConnectedOrganization} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public ConnectedOrganization get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -103,9 +121,12 @@ public ConnectedOrganization get(@jakarta.annotation.Nullable final java.util.fu * @param body The request body * @return a {@link ConnectedOrganization} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public ConnectedOrganization patch(@jakarta.annotation.Nonnull final ConnectedOrganization body) { return patch(body, null); } @@ -115,9 +136,12 @@ public ConnectedOrganization patch(@jakarta.annotation.Nonnull final ConnectedOr * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ConnectedOrganization} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public ConnectedOrganization patch(@jakarta.annotation.Nonnull final ConnectedOrganization body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -128,8 +152,11 @@ public ConnectedOrganization patch(@jakarta.annotation.Nonnull final ConnectedOr /** * Delete a connectedOrganization object. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -137,8 +164,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete a connectedOrganization object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -148,8 +178,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Retrieve the properties and relationships of a connectedOrganization object. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -157,8 +190,11 @@ public RequestInformation toGetRequestInformation() { * Retrieve the properties and relationships of a connectedOrganization object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -169,8 +205,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update a connectedOrganization object to change one or more of its properties. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final ConnectedOrganization body) { return toPatchRequestInformation(body, null); } @@ -179,8 +218,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final ConnectedOrganization body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -193,8 +235,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ConnectedOrganizationItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ConnectedOrganizationItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ConnectedOrganizationItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/connectedorganizations/item/externalsponsors/ExternalSponsorsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/connectedorganizations/item/externalsponsors/ExternalSponsorsRequestBuilder.java index 26b2dfc1bf2..76963b19e2f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/connectedorganizations/item/externalsponsors/ExternalSponsorsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/connectedorganizations/item/externalsponsors/ExternalSponsorsRequestBuilder.java @@ -26,7 +26,10 @@ public class ExternalSponsorsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -34,7 +37,10 @@ public CountRequestBuilder count() { /** * Provides operations to manage the collection of identityGovernance entities. * @return a {@link RefRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public RefRequestBuilder ref() { return new RefRequestBuilder(pathParameters, requestAdapter); @@ -71,9 +77,12 @@ public ExternalSponsorsRequestBuilder(@jakarta.annotation.Nonnull final String r * Retrieve a list of a connectedOrganization's external sponsors. The external sponsors are a set of users who can approve requests on behalf of other users from that connected organization. * @return a {@link DirectoryObjectCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public DirectoryObjectCollectionResponse get() { return get(null); } @@ -82,9 +91,12 @@ public DirectoryObjectCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DirectoryObjectCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public DirectoryObjectCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -94,8 +106,11 @@ public DirectoryObjectCollectionResponse get(@jakarta.annotation.Nullable final /** * Retrieve a list of a connectedOrganization's external sponsors. The external sponsors are a set of users who can approve requests on behalf of other users from that connected organization. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -103,8 +118,11 @@ public RequestInformation toGetRequestInformation() { * Retrieve a list of a connectedOrganization's external sponsors. The external sponsors are a set of users who can approve requests on behalf of other users from that connected organization. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -115,8 +133,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ExternalSponsorsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ExternalSponsorsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ExternalSponsorsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/connectedorganizations/item/externalsponsors/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/connectedorganizations/item/externalsponsors/count/CountRequestBuilder.java index 09a59c79f6b..ac42aa5d858 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/connectedorganizations/item/externalsponsors/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/connectedorganizations/item/externalsponsors/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/connectedorganizations/item/externalsponsors/item/ref/RefRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/connectedorganizations/item/externalsponsors/item/ref/RefRequestBuilder.java index adecde2f0ef..7b9c5e10aac 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/connectedorganizations/item/externalsponsors/item/ref/RefRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/connectedorganizations/item/externalsponsors/item/ref/RefRequestBuilder.java @@ -37,8 +37,11 @@ public RefRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakar /** * Remove a user or a group from the externalSponsors relationship of a connectedOrganization. External sponsors are a set of users who can approve requests on behalf of other users from that connected organization. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void delete() { delete(null); } @@ -46,8 +49,11 @@ public void delete() { * Remove a user or a group from the externalSponsors relationship of a connectedOrganization. External sponsors are a set of users who can approve requests on behalf of other users from that connected organization. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume /** * Remove a user or a group from the externalSponsors relationship of a connectedOrganization. External sponsors are a set of users who can approve requests on behalf of other users from that connected organization. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toDeleteRequestInformation() { * Remove a user or a group from the externalSponsors relationship of a connectedOrganization. External sponsors are a set of users who can approve requests on behalf of other users from that connected organization. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RefRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RefRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RefRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/connectedorganizations/item/externalsponsors/ref/RefRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/connectedorganizations/item/externalsponsors/ref/RefRequestBuilder.java index 0dbfa48fb69..72f4e666ccc 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/connectedorganizations/item/externalsponsors/ref/RefRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/connectedorganizations/item/externalsponsors/ref/RefRequestBuilder.java @@ -40,8 +40,11 @@ public RefRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakar /** * Remove a user or a group from the externalSponsors relationship of a connectedOrganization. External sponsors are a set of users who can approve requests on behalf of other users from that connected organization. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void delete() { delete(null); } @@ -49,8 +52,11 @@ public void delete() { * Remove a user or a group from the externalSponsors relationship of a connectedOrganization. External sponsors are a set of users who can approve requests on behalf of other users from that connected organization. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,9 +67,12 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Retrieve a list of a connectedOrganization's external sponsors. The external sponsors are a set of users who can approve requests on behalf of other users from that connected organization. * @return a {@link StringCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public StringCollectionResponse get() { return get(null); } @@ -72,9 +81,12 @@ public StringCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link StringCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public StringCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -85,8 +97,11 @@ public StringCollectionResponse get(@jakarta.annotation.Nullable final java.util * Add a user or a group to the externalSponsors relationship of a connectedOrganization. External sponsors are a set of users who can approve requests on behalf of other users from that connected organization. * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final ReferenceCreate body) { post(body, null); } @@ -95,8 +110,11 @@ public void post(@jakarta.annotation.Nonnull final ReferenceCreate body) { * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final ReferenceCreate body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -107,8 +125,11 @@ public void post(@jakarta.annotation.Nonnull final ReferenceCreate body, @jakart /** * Remove a user or a group from the externalSponsors relationship of a connectedOrganization. External sponsors are a set of users who can approve requests on behalf of other users from that connected organization. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -116,8 +137,11 @@ public RequestInformation toDeleteRequestInformation() { * Remove a user or a group from the externalSponsors relationship of a connectedOrganization. External sponsors are a set of users who can approve requests on behalf of other users from that connected organization. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/identityGovernance/entitlementManagement/connectedOrganizations/{connectedOrganization%2Did}/externalSponsors/$ref?@id={%40id}", pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new, x -> x.queryParameters); @@ -127,8 +151,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Retrieve a list of a connectedOrganization's external sponsors. The external sponsors are a set of users who can approve requests on behalf of other users from that connected organization. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -136,8 +163,11 @@ public RequestInformation toGetRequestInformation() { * Retrieve a list of a connectedOrganization's external sponsors. The external sponsors are a set of users who can approve requests on behalf of other users from that connected organization. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -148,8 +178,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Add a user or a group to the externalSponsors relationship of a connectedOrganization. External sponsors are a set of users who can approve requests on behalf of other users from that connected organization. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ReferenceCreate body) { return toPostRequestInformation(body, null); } @@ -158,8 +191,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ReferenceCreate body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -172,8 +208,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RefRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RefRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RefRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/connectedorganizations/item/internalsponsors/InternalSponsorsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/connectedorganizations/item/internalsponsors/InternalSponsorsRequestBuilder.java index 8a4d75361a7..5c975f05c0f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/connectedorganizations/item/internalsponsors/InternalSponsorsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/connectedorganizations/item/internalsponsors/InternalSponsorsRequestBuilder.java @@ -26,7 +26,10 @@ public class InternalSponsorsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -34,7 +37,10 @@ public CountRequestBuilder count() { /** * Provides operations to manage the collection of identityGovernance entities. * @return a {@link RefRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public RefRequestBuilder ref() { return new RefRequestBuilder(pathParameters, requestAdapter); @@ -71,9 +77,12 @@ public InternalSponsorsRequestBuilder(@jakarta.annotation.Nonnull final String r * Retrieve a list of a connectedOrganization's internal sponsors. The internal sponsors are a set of users who can approve requests on behalf of other users from that connected organization. * @return a {@link DirectoryObjectCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public DirectoryObjectCollectionResponse get() { return get(null); } @@ -82,9 +91,12 @@ public DirectoryObjectCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DirectoryObjectCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public DirectoryObjectCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -94,8 +106,11 @@ public DirectoryObjectCollectionResponse get(@jakarta.annotation.Nullable final /** * Retrieve a list of a connectedOrganization's internal sponsors. The internal sponsors are a set of users who can approve requests on behalf of other users from that connected organization. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -103,8 +118,11 @@ public RequestInformation toGetRequestInformation() { * Retrieve a list of a connectedOrganization's internal sponsors. The internal sponsors are a set of users who can approve requests on behalf of other users from that connected organization. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -115,8 +133,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link InternalSponsorsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public InternalSponsorsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new InternalSponsorsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/connectedorganizations/item/internalsponsors/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/connectedorganizations/item/internalsponsors/count/CountRequestBuilder.java index e0d1693a839..fa70aefe070 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/connectedorganizations/item/internalsponsors/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/connectedorganizations/item/internalsponsors/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/connectedorganizations/item/internalsponsors/item/ref/RefRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/connectedorganizations/item/internalsponsors/item/ref/RefRequestBuilder.java index 608cbe31f71..21d7bc5d613 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/connectedorganizations/item/internalsponsors/item/ref/RefRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/connectedorganizations/item/internalsponsors/item/ref/RefRequestBuilder.java @@ -37,8 +37,11 @@ public RefRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakar /** * Remove a user or a group from the internalSponsors relationship of a connectedOrganization. Internal sponsors are a set of users who can approve requests on behalf of other users from that connected organization. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void delete() { delete(null); } @@ -46,8 +49,11 @@ public void delete() { * Remove a user or a group from the internalSponsors relationship of a connectedOrganization. Internal sponsors are a set of users who can approve requests on behalf of other users from that connected organization. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume /** * Remove a user or a group from the internalSponsors relationship of a connectedOrganization. Internal sponsors are a set of users who can approve requests on behalf of other users from that connected organization. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toDeleteRequestInformation() { * Remove a user or a group from the internalSponsors relationship of a connectedOrganization. Internal sponsors are a set of users who can approve requests on behalf of other users from that connected organization. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RefRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RefRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RefRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/connectedorganizations/item/internalsponsors/ref/RefRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/connectedorganizations/item/internalsponsors/ref/RefRequestBuilder.java index 5025eb5ca3c..106a426b1f2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/connectedorganizations/item/internalsponsors/ref/RefRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/connectedorganizations/item/internalsponsors/ref/RefRequestBuilder.java @@ -40,8 +40,11 @@ public RefRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakar /** * Remove a user or a group from the internalSponsors relationship of a connectedOrganization. Internal sponsors are a set of users who can approve requests on behalf of other users from that connected organization. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void delete() { delete(null); } @@ -49,8 +52,11 @@ public void delete() { * Remove a user or a group from the internalSponsors relationship of a connectedOrganization. Internal sponsors are a set of users who can approve requests on behalf of other users from that connected organization. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,9 +67,12 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Retrieve a list of a connectedOrganization's internal sponsors. The internal sponsors are a set of users who can approve requests on behalf of other users from that connected organization. * @return a {@link StringCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public StringCollectionResponse get() { return get(null); } @@ -72,9 +81,12 @@ public StringCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link StringCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public StringCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -85,8 +97,11 @@ public StringCollectionResponse get(@jakarta.annotation.Nullable final java.util * Add a user or a group to the internalSponsors relationship of a connectedOrganization. Internal sponsors are a set of users who can approve requests on behalf of other users from that connected organization. * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final ReferenceCreate body) { post(body, null); } @@ -95,8 +110,11 @@ public void post(@jakarta.annotation.Nonnull final ReferenceCreate body) { * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final ReferenceCreate body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -107,8 +125,11 @@ public void post(@jakarta.annotation.Nonnull final ReferenceCreate body, @jakart /** * Remove a user or a group from the internalSponsors relationship of a connectedOrganization. Internal sponsors are a set of users who can approve requests on behalf of other users from that connected organization. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -116,8 +137,11 @@ public RequestInformation toDeleteRequestInformation() { * Remove a user or a group from the internalSponsors relationship of a connectedOrganization. Internal sponsors are a set of users who can approve requests on behalf of other users from that connected organization. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/identityGovernance/entitlementManagement/connectedOrganizations/{connectedOrganization%2Did}/internalSponsors/$ref?@id={%40id}", pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new, x -> x.queryParameters); @@ -127,8 +151,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Retrieve a list of a connectedOrganization's internal sponsors. The internal sponsors are a set of users who can approve requests on behalf of other users from that connected organization. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -136,8 +163,11 @@ public RequestInformation toGetRequestInformation() { * Retrieve a list of a connectedOrganization's internal sponsors. The internal sponsors are a set of users who can approve requests on behalf of other users from that connected organization. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -148,8 +178,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Add a user or a group to the internalSponsors relationship of a connectedOrganization. Internal sponsors are a set of users who can approve requests on behalf of other users from that connected organization. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ReferenceCreate body) { return toPostRequestInformation(body, null); } @@ -158,8 +191,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ReferenceCreate body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -172,8 +208,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RefRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RefRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RefRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/externaloriginresourceconnectors/ExternalOriginResourceConnectorsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/externaloriginresourceconnectors/ExternalOriginResourceConnectorsRequestBuilder.java index 695de145ffe..2f18983a90b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/externaloriginresourceconnectors/ExternalOriginResourceConnectorsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/externaloriginresourceconnectors/ExternalOriginResourceConnectorsRequestBuilder.java @@ -26,7 +26,10 @@ public class ExternalOriginResourceConnectorsRequestBuilder extends BaseRequestB /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the externalOriginResourceConnectors property of the microsoft.graph.entitlementManagement entity. * @param externalOriginResourceConnectorId The unique identifier of externalOriginResourceConnector * @return a {@link ExternalOriginResourceConnectorItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ExternalOriginResourceConnectorItemRequestBuilder byExternalOriginResourceConnectorId(@jakarta.annotation.Nonnull final String externalOriginResourceConnectorId) { Objects.requireNonNull(externalOriginResourceConnectorId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,9 +69,12 @@ public ExternalOriginResourceConnectorsRequestBuilder(@jakarta.annotation.Nonnul * Get a list of externalOriginResourceConnector objects and their properties. * @return a {@link ExternalOriginResourceConnectorCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public ExternalOriginResourceConnectorCollectionResponse get() { return get(null); } @@ -74,9 +83,12 @@ public ExternalOriginResourceConnectorCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ExternalOriginResourceConnectorCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public ExternalOriginResourceConnectorCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -88,9 +100,12 @@ public ExternalOriginResourceConnectorCollectionResponse get(@jakarta.annotation * @param body The request body * @return a {@link ExternalOriginResourceConnector} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public ExternalOriginResourceConnector post(@jakarta.annotation.Nonnull final ExternalOriginResourceConnector body) { return post(body, null); } @@ -100,9 +115,12 @@ public ExternalOriginResourceConnector post(@jakarta.annotation.Nonnull final Ex * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ExternalOriginResourceConnector} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public ExternalOriginResourceConnector post(@jakarta.annotation.Nonnull final ExternalOriginResourceConnector body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -113,8 +131,11 @@ public ExternalOriginResourceConnector post(@jakarta.annotation.Nonnull final Ex /** * Get a list of externalOriginResourceConnector objects and their properties. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -122,8 +143,11 @@ public RequestInformation toGetRequestInformation() { * Get a list of externalOriginResourceConnector objects and their properties. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -134,8 +158,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Creates a new externalOriginResourceConnector object. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ExternalOriginResourceConnector body) { return toPostRequestInformation(body, null); } @@ -144,8 +171,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ExternalOriginResourceConnector body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -158,8 +188,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ExternalOriginResourceConnectorsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ExternalOriginResourceConnectorsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ExternalOriginResourceConnectorsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/externaloriginresourceconnectors/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/externaloriginresourceconnectors/count/CountRequestBuilder.java index 17fcbaeffea..ae65d144c11 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/externaloriginresourceconnectors/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/externaloriginresourceconnectors/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/externaloriginresourceconnectors/item/ExternalOriginResourceConnectorItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/externaloriginresourceconnectors/item/ExternalOriginResourceConnectorItemRequestBuilder.java index 87295ebb52f..ad3e936c160 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/externaloriginresourceconnectors/item/ExternalOriginResourceConnectorItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/externaloriginresourceconnectors/item/ExternalOriginResourceConnectorItemRequestBuilder.java @@ -39,8 +39,11 @@ public ExternalOriginResourceConnectorItemRequestBuilder(@jakarta.annotation.Non /** * Delete an externalOriginResourceConnector object. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void delete() { delete(null); } @@ -48,8 +51,11 @@ public void delete() { * Delete an externalOriginResourceConnector object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Represents the connectors used to communicate with external resource systems. * @return a {@link ExternalOriginResourceConnector} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ExternalOriginResourceConnector get() { return get(null); } @@ -70,8 +79,11 @@ public ExternalOriginResourceConnector get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ExternalOriginResourceConnector} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ExternalOriginResourceConnector get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -83,9 +95,12 @@ public ExternalOriginResourceConnector get(@jakarta.annotation.Nullable final ja * @param body The request body * @return a {@link ExternalOriginResourceConnector} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public ExternalOriginResourceConnector patch(@jakarta.annotation.Nonnull final ExternalOriginResourceConnector body) { return patch(body, null); } @@ -95,9 +110,12 @@ public ExternalOriginResourceConnector patch(@jakarta.annotation.Nonnull final E * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ExternalOriginResourceConnector} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public ExternalOriginResourceConnector patch(@jakarta.annotation.Nonnull final ExternalOriginResourceConnector body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -108,8 +126,11 @@ public ExternalOriginResourceConnector patch(@jakarta.annotation.Nonnull final E /** * Delete an externalOriginResourceConnector object. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -117,8 +138,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete an externalOriginResourceConnector object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -128,8 +152,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Represents the connectors used to communicate with external resource systems. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -137,8 +164,11 @@ public RequestInformation toGetRequestInformation() { * Represents the connectors used to communicate with external resource systems. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -149,8 +179,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the properties of an externalOriginResourceConnector object. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final ExternalOriginResourceConnector body) { return toPatchRequestInformation(body, null); } @@ -159,8 +192,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final ExternalOriginResourceConnector body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -173,8 +209,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ExternalOriginResourceConnectorItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ExternalOriginResourceConnectorItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ExternalOriginResourceConnectorItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/settings/SettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/settings/SettingsRequestBuilder.java index 7c9573d9ecf..c25c3bb3b33 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/settings/SettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/settings/SettingsRequestBuilder.java @@ -39,7 +39,10 @@ public SettingsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ /** * Delete navigation property settings for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -47,7 +50,10 @@ public void delete() { * Delete navigation property settings for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -58,9 +64,12 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Retrieve the properties of an entitlementManagementSettings object. * @return a {@link EntitlementManagementSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public EntitlementManagementSettings get() { return get(null); } @@ -69,9 +78,12 @@ public EntitlementManagementSettings get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link EntitlementManagementSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public EntitlementManagementSettings get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -83,9 +95,12 @@ public EntitlementManagementSettings get(@jakarta.annotation.Nullable final java * @param body The request body * @return a {@link EntitlementManagementSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public EntitlementManagementSettings patch(@jakarta.annotation.Nonnull final EntitlementManagementSettings body) { return patch(body, null); } @@ -95,9 +110,12 @@ public EntitlementManagementSettings patch(@jakarta.annotation.Nonnull final Ent * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link EntitlementManagementSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public EntitlementManagementSettings patch(@jakarta.annotation.Nonnull final EntitlementManagementSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -108,8 +126,11 @@ public EntitlementManagementSettings patch(@jakarta.annotation.Nonnull final Ent /** * Delete navigation property settings for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -117,8 +138,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property settings for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -128,8 +152,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Retrieve the properties of an entitlementManagementSettings object. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -137,8 +164,11 @@ public RequestInformation toGetRequestInformation() { * Retrieve the properties of an entitlementManagementSettings object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -149,8 +179,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update an existing entitlementManagementSettings object to change one or more of its properties. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final EntitlementManagementSettings body) { return toPatchRequestInformation(body, null); } @@ -159,8 +192,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final EntitlementManagementSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -173,8 +209,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link SettingsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public SettingsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new SettingsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/subjects/SubjectsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/subjects/SubjectsRequestBuilder.java index 83d1d0b9365..4bec724494b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/subjects/SubjectsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/subjects/SubjectsRequestBuilder.java @@ -26,7 +26,10 @@ public class SubjectsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the subjects property of the microsoft.graph.entitlementManagement entity. * @param accessPackageSubjectId The unique identifier of accessPackageSubject * @return a {@link AccessPackageSubjectItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageSubjectItemRequestBuilder byAccessPackageSubjectId(@jakarta.annotation.Nonnull final String accessPackageSubjectId) { Objects.requireNonNull(accessPackageSubjectId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,9 +69,12 @@ public SubjectsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ * Get the properties of an external directory user represented by an existing accessPackageSubject object. * @return a {@link AccessPackageSubjectCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageSubjectCollectionResponse get() { return get(null); } @@ -74,9 +83,12 @@ public AccessPackageSubjectCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageSubjectCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageSubjectCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -88,8 +100,11 @@ public AccessPackageSubjectCollectionResponse get(@jakarta.annotation.Nullable f * @param body The request body * @return a {@link AccessPackageSubject} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageSubject post(@jakarta.annotation.Nonnull final AccessPackageSubject body) { return post(body, null); } @@ -99,8 +114,11 @@ public AccessPackageSubject post(@jakarta.annotation.Nonnull final AccessPackage * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageSubject} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageSubject post(@jakarta.annotation.Nonnull final AccessPackageSubject body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -111,8 +129,11 @@ public AccessPackageSubject post(@jakarta.annotation.Nonnull final AccessPackage /** * Get the properties of an external directory user represented by an existing accessPackageSubject object. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -120,8 +141,11 @@ public RequestInformation toGetRequestInformation() { * Get the properties of an external directory user represented by an existing accessPackageSubject object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -132,8 +156,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to subjects for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageSubject body) { return toPostRequestInformation(body, null); } @@ -142,8 +169,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageSubject body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -156,8 +186,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link SubjectsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public SubjectsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new SubjectsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/subjects/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/subjects/count/CountRequestBuilder.java index e2e89990f75..23b1af11a60 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/subjects/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/subjects/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/subjects/item/AccessPackageSubjectItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/subjects/item/AccessPackageSubjectItemRequestBuilder.java index 0f6b146d9e0..a59e8543bb6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/subjects/item/AccessPackageSubjectItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/subjects/item/AccessPackageSubjectItemRequestBuilder.java @@ -24,7 +24,10 @@ public class AccessPackageSubjectItemRequestBuilder extends BaseRequestBuilder { /** * Provides operations to manage the connectedOrganization property of the microsoft.graph.accessPackageSubject entity. * @return a {@link ConnectedOrganizationRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ConnectedOrganizationRequestBuilder connectedOrganization() { return new ConnectedOrganizationRequestBuilder(pathParameters, requestAdapter); @@ -48,7 +51,10 @@ public AccessPackageSubjectItemRequestBuilder(@jakarta.annotation.Nonnull final /** * Delete navigation property subjects for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -56,7 +62,10 @@ public void delete() { * Delete navigation property subjects for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -67,8 +76,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Represents the subjects within entitlement management. * @return a {@link AccessPackageSubject} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageSubject get() { return get(null); } @@ -77,8 +89,11 @@ public AccessPackageSubject get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageSubject} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageSubject get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -90,9 +105,12 @@ public AccessPackageSubject get(@jakarta.annotation.Nullable final java.util.fun * @param body The request body * @return a {@link AccessPackageSubject} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageSubject patch(@jakarta.annotation.Nonnull final AccessPackageSubject body) { return patch(body, null); } @@ -102,9 +120,12 @@ public AccessPackageSubject patch(@jakarta.annotation.Nonnull final AccessPackag * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageSubject} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageSubject patch(@jakarta.annotation.Nonnull final AccessPackageSubject body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -115,8 +136,11 @@ public AccessPackageSubject patch(@jakarta.annotation.Nonnull final AccessPackag /** * Delete navigation property subjects for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property subjects for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -135,8 +162,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Represents the subjects within entitlement management. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -144,8 +174,11 @@ public RequestInformation toGetRequestInformation() { * Represents the subjects within entitlement management. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -156,8 +189,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update an external directory user represented by an existing accessPackageSubject object to change the subject lifecycle. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageSubject body) { return toPatchRequestInformation(body, null); } @@ -166,8 +202,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageSubject body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -180,8 +219,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AccessPackageSubjectItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AccessPackageSubjectItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AccessPackageSubjectItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/subjects/item/connectedorganization/ConnectedOrganizationRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/subjects/item/connectedorganization/ConnectedOrganizationRequestBuilder.java index 0c56d3b5b25..1e1a70d0a7f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/subjects/item/connectedorganization/ConnectedOrganizationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/subjects/item/connectedorganization/ConnectedOrganizationRequestBuilder.java @@ -40,8 +40,11 @@ public ConnectedOrganizationRequestBuilder(@jakarta.annotation.Nonnull final Str * The connected organization of the subject. Read-only. Nullable. * @return a {@link ConnectedOrganization} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ConnectedOrganization get() { return get(null); } @@ -50,8 +53,11 @@ public ConnectedOrganization get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ConnectedOrganization} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ConnectedOrganization get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public ConnectedOrganization get(@jakarta.annotation.Nullable final java.util.fu /** * The connected organization of the subject. Read-only. Nullable. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * The connected organization of the subject. Read-only. Nullable. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ConnectedOrganizationRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ConnectedOrganizationRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ConnectedOrganizationRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/subjectswithobjectid/SubjectsWithObjectIdRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/subjectswithobjectid/SubjectsWithObjectIdRequestBuilder.java index d1c7480aa82..2c75ef61b56 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/subjectswithobjectid/SubjectsWithObjectIdRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/subjectswithobjectid/SubjectsWithObjectIdRequestBuilder.java @@ -41,7 +41,10 @@ public SubjectsWithObjectIdRequestBuilder(@jakarta.annotation.Nonnull final Stri /** * Delete navigation property subjects for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -49,7 +52,10 @@ public void delete() { * Delete navigation property subjects for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Represents the subjects within entitlement management. * @return a {@link AccessPackageSubject} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageSubject get() { return get(null); } @@ -70,8 +79,11 @@ public AccessPackageSubject get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageSubject} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageSubject get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -83,9 +95,12 @@ public AccessPackageSubject get(@jakarta.annotation.Nullable final java.util.fun * @param body The request body * @return a {@link AccessPackageSubject} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageSubject patch(@jakarta.annotation.Nonnull final AccessPackageSubject body) { return patch(body, null); } @@ -95,9 +110,12 @@ public AccessPackageSubject patch(@jakarta.annotation.Nonnull final AccessPackag * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackageSubject} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public AccessPackageSubject patch(@jakarta.annotation.Nonnull final AccessPackageSubject body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -108,8 +126,11 @@ public AccessPackageSubject patch(@jakarta.annotation.Nonnull final AccessPackag /** * Delete navigation property subjects for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -117,8 +138,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property subjects for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -128,8 +152,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Represents the subjects within entitlement management. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -137,8 +164,11 @@ public RequestInformation toGetRequestInformation() { * Represents the subjects within entitlement management. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -149,8 +179,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update an external directory user represented by an existing accessPackageSubject object to change the subject lifecycle. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageSubject body) { return toPatchRequestInformation(body, null); } @@ -159,8 +192,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageSubject body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -173,8 +209,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link SubjectsWithObjectIdRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public SubjectsWithObjectIdRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new SubjectsWithObjectIdRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/LifecycleWorkflowsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/LifecycleWorkflowsRequestBuilder.java index e31e6db5d36..f1847f222d7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/LifecycleWorkflowsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/LifecycleWorkflowsRequestBuilder.java @@ -3,6 +3,8 @@ import com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.customtaskextensions.CustomTaskExtensionsRequestBuilder; import com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.DeletedItemsRequestBuilder; import com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.insights.InsightsRequestBuilder; +import com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.LifecyclePoliciesRequestBuilder; +import com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicypriorityconfigurations.LifecyclePolicyPriorityConfigurationsRequestBuilder; import com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.settings.SettingsRequestBuilder; import com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.taskdefinitions.TaskDefinitionsRequestBuilder; import com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.workflows.WorkflowsRequestBuilder; @@ -30,7 +32,10 @@ public class LifecycleWorkflowsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to manage the customTaskExtensions property of the microsoft.graph.identityGovernance.lifecycleWorkflowsContainer entity. * @return a {@link CustomTaskExtensionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CustomTaskExtensionsRequestBuilder customTaskExtensions() { return new CustomTaskExtensionsRequestBuilder(pathParameters, requestAdapter); @@ -38,7 +43,10 @@ public CustomTaskExtensionsRequestBuilder customTaskExtensions() { /** * Provides operations to manage the deletedItems property of the microsoft.graph.identityGovernance.lifecycleWorkflowsContainer entity. * @return a {@link DeletedItemsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public DeletedItemsRequestBuilder deletedItems() { return new DeletedItemsRequestBuilder(pathParameters, requestAdapter); @@ -46,15 +54,43 @@ public DeletedItemsRequestBuilder deletedItems() { /** * Provides operations to manage the insights property of the microsoft.graph.identityGovernance.lifecycleWorkflowsContainer entity. * @return a {@link InsightsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public InsightsRequestBuilder insights() { return new InsightsRequestBuilder(pathParameters, requestAdapter); } + /** + * Provides operations to manage the lifecyclePolicies property of the microsoft.graph.identityGovernance.lifecycleWorkflowsContainer entity. + * @return a {@link LifecyclePoliciesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @Deprecated + @jakarta.annotation.Nonnull + public LifecyclePoliciesRequestBuilder lifecyclePolicies() { + return new LifecyclePoliciesRequestBuilder(pathParameters, requestAdapter); + } + /** + * Provides operations to manage the lifecyclePolicyPriorityConfigurations property of the microsoft.graph.identityGovernance.lifecycleWorkflowsContainer entity. + * @return a {@link LifecyclePolicyPriorityConfigurationsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @Deprecated + @jakarta.annotation.Nonnull + public LifecyclePolicyPriorityConfigurationsRequestBuilder lifecyclePolicyPriorityConfigurations() { + return new LifecyclePolicyPriorityConfigurationsRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to manage the settings property of the microsoft.graph.identityGovernance.lifecycleWorkflowsContainer entity. * @return a {@link SettingsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public SettingsRequestBuilder settings() { return new SettingsRequestBuilder(pathParameters, requestAdapter); @@ -62,7 +98,10 @@ public SettingsRequestBuilder settings() { /** * Provides operations to manage the taskDefinitions property of the microsoft.graph.identityGovernance.lifecycleWorkflowsContainer entity. * @return a {@link TaskDefinitionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public TaskDefinitionsRequestBuilder taskDefinitions() { return new TaskDefinitionsRequestBuilder(pathParameters, requestAdapter); @@ -70,7 +109,10 @@ public TaskDefinitionsRequestBuilder taskDefinitions() { /** * Provides operations to manage the workflows property of the microsoft.graph.identityGovernance.lifecycleWorkflowsContainer entity. * @return a {@link WorkflowsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public WorkflowsRequestBuilder workflows() { return new WorkflowsRequestBuilder(pathParameters, requestAdapter); @@ -78,7 +120,10 @@ public WorkflowsRequestBuilder workflows() { /** * Provides operations to manage the workflowTemplates property of the microsoft.graph.identityGovernance.lifecycleWorkflowsContainer entity. * @return a {@link WorkflowTemplatesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public WorkflowTemplatesRequestBuilder workflowTemplates() { return new WorkflowTemplatesRequestBuilder(pathParameters, requestAdapter); @@ -102,7 +147,10 @@ public LifecycleWorkflowsRequestBuilder(@jakarta.annotation.Nonnull final String /** * Delete navigation property lifecycleWorkflows for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -110,7 +158,10 @@ public void delete() { * Delete navigation property lifecycleWorkflows for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -121,8 +172,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Get lifecycleWorkflows from identityGovernance * @return a {@link LifecycleWorkflowsContainer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public LifecycleWorkflowsContainer get() { return get(null); } @@ -131,8 +185,11 @@ public LifecycleWorkflowsContainer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link LifecycleWorkflowsContainer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public LifecycleWorkflowsContainer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -144,8 +201,11 @@ public LifecycleWorkflowsContainer get(@jakarta.annotation.Nullable final java.u * @param body The request body * @return a {@link LifecycleWorkflowsContainer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public LifecycleWorkflowsContainer patch(@jakarta.annotation.Nonnull final LifecycleWorkflowsContainer body) { return patch(body, null); } @@ -155,8 +215,11 @@ public LifecycleWorkflowsContainer patch(@jakarta.annotation.Nonnull final Lifec * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link LifecycleWorkflowsContainer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public LifecycleWorkflowsContainer patch(@jakarta.annotation.Nonnull final LifecycleWorkflowsContainer body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -167,8 +230,11 @@ public LifecycleWorkflowsContainer patch(@jakarta.annotation.Nonnull final Lifec /** * Delete navigation property lifecycleWorkflows for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -176,8 +242,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property lifecycleWorkflows for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -187,8 +256,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Get lifecycleWorkflows from identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -196,8 +268,11 @@ public RequestInformation toGetRequestInformation() { * Get lifecycleWorkflows from identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -208,8 +283,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property lifecycleWorkflows in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final LifecycleWorkflowsContainer body) { return toPatchRequestInformation(body, null); } @@ -218,8 +296,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final LifecycleWorkflowsContainer body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -232,8 +313,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link LifecycleWorkflowsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public LifecycleWorkflowsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new LifecycleWorkflowsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/customtaskextensions/CustomTaskExtensionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/customtaskextensions/CustomTaskExtensionsRequestBuilder.java index a790166deaf..0c3367c9685 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/customtaskextensions/CustomTaskExtensionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/customtaskextensions/CustomTaskExtensionsRequestBuilder.java @@ -26,7 +26,10 @@ public class CustomTaskExtensionsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the customTaskExtensions property of the microsoft.graph.identityGovernance.lifecycleWorkflowsContainer entity. * @param customTaskExtensionId The unique identifier of customTaskExtension * @return a {@link CustomTaskExtensionItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CustomTaskExtensionItemRequestBuilder byCustomTaskExtensionId(@jakarta.annotation.Nonnull final String customTaskExtensionId) { Objects.requireNonNull(customTaskExtensionId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,9 +69,12 @@ public CustomTaskExtensionsRequestBuilder(@jakarta.annotation.Nonnull final Stri * Get a list of the customTaskExtension objects and their properties. * @return a {@link CustomTaskExtensionCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public CustomTaskExtensionCollectionResponse get() { return get(null); } @@ -74,9 +83,12 @@ public CustomTaskExtensionCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomTaskExtensionCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public CustomTaskExtensionCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -88,9 +100,12 @@ public CustomTaskExtensionCollectionResponse get(@jakarta.annotation.Nullable fi * @param body The request body * @return a {@link CustomTaskExtension} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public CustomTaskExtension post(@jakarta.annotation.Nonnull final CustomTaskExtension body) { return post(body, null); } @@ -100,9 +115,12 @@ public CustomTaskExtension post(@jakarta.annotation.Nonnull final CustomTaskExte * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomTaskExtension} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public CustomTaskExtension post(@jakarta.annotation.Nonnull final CustomTaskExtension body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -113,8 +131,11 @@ public CustomTaskExtension post(@jakarta.annotation.Nonnull final CustomTaskExte /** * Get a list of the customTaskExtension objects and their properties. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -122,8 +143,11 @@ public RequestInformation toGetRequestInformation() { * Get a list of the customTaskExtension objects and their properties. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -134,8 +158,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create a new customTaskExtension object. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CustomTaskExtension body) { return toPostRequestInformation(body, null); } @@ -144,8 +171,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CustomTaskExtension body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -158,8 +188,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CustomTaskExtensionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CustomTaskExtensionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CustomTaskExtensionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/customtaskextensions/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/customtaskextensions/count/CountRequestBuilder.java index c8facb0d5dd..4125412cde7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/customtaskextensions/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/customtaskextensions/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/customtaskextensions/item/CustomTaskExtensionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/customtaskextensions/item/CustomTaskExtensionItemRequestBuilder.java index 9df829dfcdc..19b83514388 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/customtaskextensions/item/CustomTaskExtensionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/customtaskextensions/item/CustomTaskExtensionItemRequestBuilder.java @@ -25,7 +25,10 @@ public class CustomTaskExtensionItemRequestBuilder extends BaseRequestBuilder { /** * Provides operations to manage the createdBy property of the microsoft.graph.identityGovernance.customTaskExtension entity. * @return a {@link CreatedByRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CreatedByRequestBuilder createdBy() { return new CreatedByRequestBuilder(pathParameters, requestAdapter); @@ -33,7 +36,10 @@ public CreatedByRequestBuilder createdBy() { /** * Provides operations to manage the lastModifiedBy property of the microsoft.graph.identityGovernance.customTaskExtension entity. * @return a {@link LastModifiedByRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public LastModifiedByRequestBuilder lastModifiedBy() { return new LastModifiedByRequestBuilder(pathParameters, requestAdapter); @@ -57,8 +63,11 @@ public CustomTaskExtensionItemRequestBuilder(@jakarta.annotation.Nonnull final S /** * Delete a customTaskExtension object. A custom task extension can only be deleted if it is not referenced in any task objects in a lifecycle workflow. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void delete() { delete(null); } @@ -66,8 +75,11 @@ public void delete() { * Delete a customTaskExtension object. A custom task extension can only be deleted if it is not referenced in any task objects in a lifecycle workflow. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -78,9 +90,12 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Read the properties and relationships of a customTaskExtension object. * @return a {@link CustomTaskExtension} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public CustomTaskExtension get() { return get(null); } @@ -89,9 +104,12 @@ public CustomTaskExtension get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomTaskExtension} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public CustomTaskExtension get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -103,9 +121,12 @@ public CustomTaskExtension get(@jakarta.annotation.Nullable final java.util.func * @param body The request body * @return a {@link CustomTaskExtension} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public CustomTaskExtension patch(@jakarta.annotation.Nonnull final CustomTaskExtension body) { return patch(body, null); } @@ -115,9 +136,12 @@ public CustomTaskExtension patch(@jakarta.annotation.Nonnull final CustomTaskExt * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomTaskExtension} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public CustomTaskExtension patch(@jakarta.annotation.Nonnull final CustomTaskExtension body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -128,8 +152,11 @@ public CustomTaskExtension patch(@jakarta.annotation.Nonnull final CustomTaskExt /** * Delete a customTaskExtension object. A custom task extension can only be deleted if it is not referenced in any task objects in a lifecycle workflow. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -137,8 +164,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete a customTaskExtension object. A custom task extension can only be deleted if it is not referenced in any task objects in a lifecycle workflow. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -148,8 +178,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Read the properties and relationships of a customTaskExtension object. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -157,8 +190,11 @@ public RequestInformation toGetRequestInformation() { * Read the properties and relationships of a customTaskExtension object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -169,8 +205,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the properties of a customTaskExtension object. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final CustomTaskExtension body) { return toPatchRequestInformation(body, null); } @@ -179,8 +218,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final CustomTaskExtension body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -193,8 +235,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CustomTaskExtensionItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CustomTaskExtensionItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CustomTaskExtensionItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/customtaskextensions/item/createdby/CreatedByRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/customtaskextensions/item/createdby/CreatedByRequestBuilder.java index 8fbd0eba442..6d158f41b19 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/customtaskextensions/item/createdby/CreatedByRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/customtaskextensions/item/createdby/CreatedByRequestBuilder.java @@ -25,7 +25,10 @@ public class CreatedByRequestBuilder extends BaseRequestBuilder { /** * The mailboxSettings property * @return a {@link MailboxSettingsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public MailboxSettingsRequestBuilder mailboxSettings() { return new MailboxSettingsRequestBuilder(pathParameters, requestAdapter); @@ -33,7 +36,10 @@ public MailboxSettingsRequestBuilder mailboxSettings() { /** * The serviceProvisioningErrors property * @return a {@link ServiceProvisioningErrorsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ServiceProvisioningErrorsRequestBuilder serviceProvisioningErrors() { return new ServiceProvisioningErrorsRequestBuilder(pathParameters, requestAdapter); @@ -58,8 +64,11 @@ public CreatedByRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, * The unique identifier of the Microsoft Entra user that created the custom task extension.Supports $filter(eq, ne) and $expand. * @return a {@link User} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public User get() { return get(null); } @@ -68,8 +77,11 @@ public User get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link User} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public User get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -79,8 +91,11 @@ public User get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -100,8 +118,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CreatedByRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CreatedByRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CreatedByRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/customtaskextensions/item/createdby/mailboxsettings/MailboxSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/customtaskextensions/item/createdby/mailboxsettings/MailboxSettingsRequestBuilder.java index ff8c0b67d7d..9d5791cacc8 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/customtaskextensions/item/createdby/mailboxsettings/MailboxSettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/customtaskextensions/item/createdby/mailboxsettings/MailboxSettingsRequestBuilder.java @@ -40,8 +40,11 @@ public MailboxSettingsRequestBuilder(@jakarta.annotation.Nonnull final String ra * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Requires $select to retrieve. * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings get() { return get(null); } @@ -50,8 +53,11 @@ public MailboxSettings get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -63,8 +69,11 @@ public MailboxSettings get(@jakarta.annotation.Nullable final java.util.function * @param body The request body * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings body) { return patch(body, null); } @@ -74,8 +83,11 @@ public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings b * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -86,8 +98,11 @@ public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings b /** * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Requires $select to retrieve. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -95,8 +110,11 @@ public RequestInformation toGetRequestInformation() { * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Requires $select to retrieve. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -107,8 +125,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update property mailboxSettings value. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxSettings body) { return toPatchRequestInformation(body, null); } @@ -117,8 +138,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -131,8 +155,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link MailboxSettingsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public MailboxSettingsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new MailboxSettingsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/customtaskextensions/item/createdby/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/customtaskextensions/item/createdby/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java index 8fb6aa142bb..15d7f016097 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/customtaskextensions/item/createdby/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/customtaskextensions/item/createdby/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java @@ -24,7 +24,10 @@ public class ServiceProvisioningErrorsRequestBuilder extends BaseRequestBuilder /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -49,8 +52,11 @@ public ServiceProvisioningErrorsRequestBuilder(@jakarta.annotation.Nonnull final * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. * @return a {@link ServiceProvisioningErrorCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ServiceProvisioningErrorCollectionResponse get() { return get(null); } @@ -59,8 +65,11 @@ public ServiceProvisioningErrorCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ServiceProvisioningErrorCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ServiceProvisioningErrorCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -70,8 +79,11 @@ public ServiceProvisioningErrorCollectionResponse get(@jakarta.annotation.Nullab /** * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -79,8 +91,11 @@ public RequestInformation toGetRequestInformation() { * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -91,8 +106,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ServiceProvisioningErrorsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ServiceProvisioningErrorsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ServiceProvisioningErrorsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/customtaskextensions/item/createdby/serviceprovisioningerrors/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/customtaskextensions/item/createdby/serviceprovisioningerrors/count/CountRequestBuilder.java index 00bf9cb331a..d47388eb888 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/customtaskextensions/item/createdby/serviceprovisioningerrors/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/customtaskextensions/item/createdby/serviceprovisioningerrors/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/customtaskextensions/item/lastmodifiedby/LastModifiedByRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/customtaskextensions/item/lastmodifiedby/LastModifiedByRequestBuilder.java index 17cf5066131..1842ad99b39 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/customtaskextensions/item/lastmodifiedby/LastModifiedByRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/customtaskextensions/item/lastmodifiedby/LastModifiedByRequestBuilder.java @@ -25,7 +25,10 @@ public class LastModifiedByRequestBuilder extends BaseRequestBuilder { /** * The mailboxSettings property * @return a {@link MailboxSettingsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public MailboxSettingsRequestBuilder mailboxSettings() { return new MailboxSettingsRequestBuilder(pathParameters, requestAdapter); @@ -33,7 +36,10 @@ public MailboxSettingsRequestBuilder mailboxSettings() { /** * The serviceProvisioningErrors property * @return a {@link ServiceProvisioningErrorsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ServiceProvisioningErrorsRequestBuilder serviceProvisioningErrors() { return new ServiceProvisioningErrorsRequestBuilder(pathParameters, requestAdapter); @@ -58,8 +64,11 @@ public LastModifiedByRequestBuilder(@jakarta.annotation.Nonnull final String raw * The unique identifier of the Microsoft Entra user that modified the custom task extension last.Supports $filter(eq, ne) and $expand. * @return a {@link User} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public User get() { return get(null); } @@ -68,8 +77,11 @@ public User get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link User} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public User get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -79,8 +91,11 @@ public User get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -100,8 +118,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link LastModifiedByRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public LastModifiedByRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new LastModifiedByRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/customtaskextensions/item/lastmodifiedby/mailboxsettings/MailboxSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/customtaskextensions/item/lastmodifiedby/mailboxsettings/MailboxSettingsRequestBuilder.java index c5e16e519d1..1c2f6db2fef 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/customtaskextensions/item/lastmodifiedby/mailboxsettings/MailboxSettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/customtaskextensions/item/lastmodifiedby/mailboxsettings/MailboxSettingsRequestBuilder.java @@ -40,8 +40,11 @@ public MailboxSettingsRequestBuilder(@jakarta.annotation.Nonnull final String ra * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Requires $select to retrieve. * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings get() { return get(null); } @@ -50,8 +53,11 @@ public MailboxSettings get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -63,8 +69,11 @@ public MailboxSettings get(@jakarta.annotation.Nullable final java.util.function * @param body The request body * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings body) { return patch(body, null); } @@ -74,8 +83,11 @@ public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings b * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -86,8 +98,11 @@ public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings b /** * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Requires $select to retrieve. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -95,8 +110,11 @@ public RequestInformation toGetRequestInformation() { * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Requires $select to retrieve. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -107,8 +125,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update property mailboxSettings value. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxSettings body) { return toPatchRequestInformation(body, null); } @@ -117,8 +138,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -131,8 +155,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link MailboxSettingsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public MailboxSettingsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new MailboxSettingsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/customtaskextensions/item/lastmodifiedby/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/customtaskextensions/item/lastmodifiedby/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java index c9366a5ab3c..1ecbcada1b4 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/customtaskextensions/item/lastmodifiedby/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/customtaskextensions/item/lastmodifiedby/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java @@ -24,7 +24,10 @@ public class ServiceProvisioningErrorsRequestBuilder extends BaseRequestBuilder /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -49,8 +52,11 @@ public ServiceProvisioningErrorsRequestBuilder(@jakarta.annotation.Nonnull final * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. * @return a {@link ServiceProvisioningErrorCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ServiceProvisioningErrorCollectionResponse get() { return get(null); } @@ -59,8 +65,11 @@ public ServiceProvisioningErrorCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ServiceProvisioningErrorCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ServiceProvisioningErrorCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -70,8 +79,11 @@ public ServiceProvisioningErrorCollectionResponse get(@jakarta.annotation.Nullab /** * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -79,8 +91,11 @@ public RequestInformation toGetRequestInformation() { * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -91,8 +106,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ServiceProvisioningErrorsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ServiceProvisioningErrorsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ServiceProvisioningErrorsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/customtaskextensions/item/lastmodifiedby/serviceprovisioningerrors/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/customtaskextensions/item/lastmodifiedby/serviceprovisioningerrors/count/CountRequestBuilder.java index bb230690f8f..7032e8ae4b1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/customtaskextensions/item/lastmodifiedby/serviceprovisioningerrors/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/customtaskextensions/item/lastmodifiedby/serviceprovisioningerrors/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/DeletedItemsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/DeletedItemsRequestBuilder.java index a2e8e50df83..b0e62f1a3da 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/DeletedItemsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/DeletedItemsRequestBuilder.java @@ -1,5 +1,6 @@ package com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems; +import com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.LifecyclePoliciesRequestBuilder; import com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.workflows.WorkflowsRequestBuilder; import com.microsoft.graph.beta.models.DeletedItemContainer; import com.microsoft.graph.beta.models.odataerrors.ODataError; @@ -21,10 +22,24 @@ */ @jakarta.annotation.Generated("com.microsoft.kiota") public class DeletedItemsRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to manage the lifecyclePolicies property of the microsoft.graph.deletedItemContainer entity. + * @return a {@link LifecyclePoliciesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @Deprecated + @jakarta.annotation.Nonnull + public LifecyclePoliciesRequestBuilder lifecyclePolicies() { + return new LifecyclePoliciesRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to manage the workflows property of the microsoft.graph.deletedItemContainer entity. * @return a {@link WorkflowsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public WorkflowsRequestBuilder workflows() { return new WorkflowsRequestBuilder(pathParameters, requestAdapter); @@ -48,7 +63,10 @@ public DeletedItemsRequestBuilder(@jakarta.annotation.Nonnull final String rawUr /** * Delete navigation property deletedItems for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -56,7 +74,10 @@ public void delete() { * Delete navigation property deletedItems for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -67,8 +88,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Deleted workflows in your lifecycle workflows instance. * @return a {@link DeletedItemContainer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public DeletedItemContainer get() { return get(null); } @@ -77,8 +101,11 @@ public DeletedItemContainer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DeletedItemContainer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public DeletedItemContainer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -88,8 +115,11 @@ public DeletedItemContainer get(@jakarta.annotation.Nullable final java.util.fun /** * Delete navigation property deletedItems for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -97,8 +127,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property deletedItems for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -108,8 +141,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Deleted workflows in your lifecycle workflows instance. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -117,8 +153,11 @@ public RequestInformation toGetRequestInformation() { * Deleted workflows in your lifecycle workflows instance. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -129,8 +168,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link DeletedItemsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public DeletedItemsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new DeletedItemsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/lifecyclepolicies/LifecyclePoliciesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/lifecyclepolicies/LifecyclePoliciesRequestBuilder.java new file mode 100644 index 00000000000..0860f2b2bb1 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/lifecyclepolicies/LifecyclePoliciesRequestBuilder.java @@ -0,0 +1,208 @@ +package com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies; + +import com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.count.CountRequestBuilder; +import com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.LifecyclePolicyItemRequestBuilder; +import com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicyCollectionResponse; +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to manage the lifecyclePolicies property of the microsoft.graph.deletedItemContainer entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class LifecyclePoliciesRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to count the resources in the collection. + * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @Deprecated + @jakarta.annotation.Nonnull + public CountRequestBuilder count() { + return new CountRequestBuilder(pathParameters, requestAdapter); + } + /** + * Provides operations to manage the lifecyclePolicies property of the microsoft.graph.deletedItemContainer entity. + * @param lifecyclePolicyId The unique identifier of lifecyclePolicy + * @return a {@link LifecyclePolicyItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public LifecyclePolicyItemRequestBuilder byLifecyclePolicyId(@jakarta.annotation.Nonnull final String lifecyclePolicyId) { + Objects.requireNonNull(lifecyclePolicyId); + final HashMap urlTplParams = new HashMap(this.pathParameters); + urlTplParams.put("lifecyclePolicy%2Did", lifecyclePolicyId); + return new LifecyclePolicyItemRequestBuilder(urlTplParams, requestAdapter); + } + /** + * Instantiates a new {@link LifecyclePoliciesRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public LifecyclePoliciesRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters); + } + /** + * Instantiates a new {@link LifecyclePoliciesRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public LifecyclePoliciesRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); + } + /** + * Get lifecyclePolicies from identityGovernance + * @return a {@link LifecyclePolicyCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nullable + @Deprecated + public LifecyclePolicyCollectionResponse get() { + return get(null); + } + /** + * Get lifecyclePolicies from identityGovernance + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link LifecyclePolicyCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nullable + @Deprecated + public LifecyclePolicyCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, LifecyclePolicyCollectionResponse::createFromDiscriminatorValue); + } + /** + * Get lifecyclePolicies from identityGovernance + * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get lifecyclePolicies from identityGovernance + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + 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. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link LifecyclePoliciesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public LifecyclePoliciesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new LifecyclePoliciesRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get lifecyclePolicies from identityGovernance + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Include count of items + */ + @jakarta.annotation.Nullable + public Boolean count; + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Filter items by property values + */ + @jakarta.annotation.Nullable + public String filter; + /** + * Order items by property values + */ + @jakarta.annotation.Nullable + public String[] orderby; + /** + * Search items by search phrases + */ + @jakarta.annotation.Nullable + public String search; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Skip the first n items + */ + @jakarta.annotation.Nullable + public Integer skip; + /** + * Show only the first n items + */ + @jakarta.annotation.Nullable + public Integer top; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24count", count); + allQueryParams.put("%24filter", filter); + allQueryParams.put("%24search", search); + allQueryParams.put("%24skip", skip); + allQueryParams.put("%24top", top); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24orderby", orderby); + allQueryParams.put("%24select", select); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/lifecyclepolicies/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/lifecyclepolicies/count/CountRequestBuilder.java new file mode 100644 index 00000000000..ebdd880cbed --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/lifecyclepolicies/count/CountRequestBuilder.java @@ -0,0 +1,143 @@ +package com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.count; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to count the resources in the collection. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class CountRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link CountRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public CountRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/$count{?%24filter,%24search}", pathParameters); + } + /** + * Instantiates a new {@link CountRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/$count{?%24filter,%24search}", rawUrl); + } + /** + * Get the number of the resource + * @return a {@link Integer} + * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nullable + @Deprecated + public Integer get() { + return get(null); + } + /** + * Get the number of the resource + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link Integer} + * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nullable + @Deprecated + public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Integer.class); + } + /** + * Get the number of the resource + * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get the number of the resource + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + 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. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new CountRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get the number of the resource + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Filter items by property values + */ + @jakarta.annotation.Nullable + public String filter; + /** + * Search items by search phrases + */ + @jakarta.annotation.Nullable + public String search; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24filter", filter); + allQueryParams.put("%24search", search); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/lifecyclepolicies/item/LifecyclePolicyItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/lifecyclepolicies/item/LifecyclePolicyItemRequestBuilder.java new file mode 100644 index 00000000000..472a9b673b8 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/lifecyclepolicies/item/LifecyclePolicyItemRequestBuilder.java @@ -0,0 +1,260 @@ +package com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item; + +import com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.createdby.CreatedByRequestBuilder; +import com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.lastmodifiedby.LastModifiedByRequestBuilder; +import com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.microsoftgraphidentitygovernancerestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder; +import com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.rules.RulesRequestBuilder; +import com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.VersionsRequestBuilder; +import com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicy; +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to manage the lifecyclePolicies property of the microsoft.graph.deletedItemContainer entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class LifecyclePolicyItemRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to manage the createdBy property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + * @return a {@link CreatedByRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @Deprecated + @jakarta.annotation.Nonnull + public CreatedByRequestBuilder createdBy() { + return new CreatedByRequestBuilder(pathParameters, requestAdapter); + } + /** + * Provides operations to manage the lastModifiedBy property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + * @return a {@link LastModifiedByRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @Deprecated + @jakarta.annotation.Nonnull + public LastModifiedByRequestBuilder lastModifiedBy() { + return new LastModifiedByRequestBuilder(pathParameters, requestAdapter); + } + /** + * Provides operations to call the restore method. + * @return a {@link MicrosoftGraphIdentityGovernanceRestoreRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @Deprecated + @jakarta.annotation.Nonnull + public MicrosoftGraphIdentityGovernanceRestoreRequestBuilder microsoftGraphIdentityGovernanceRestore() { + return new MicrosoftGraphIdentityGovernanceRestoreRequestBuilder(pathParameters, requestAdapter); + } + /** + * Provides operations to manage the rules property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + * @return a {@link RulesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @Deprecated + @jakarta.annotation.Nonnull + public RulesRequestBuilder rules() { + return new RulesRequestBuilder(pathParameters, requestAdapter); + } + /** + * Provides operations to manage the versions property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + * @return a {@link VersionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @Deprecated + @jakarta.annotation.Nonnull + public VersionsRequestBuilder versions() { + return new VersionsRequestBuilder(pathParameters, requestAdapter); + } + /** + * Instantiates a new {@link LifecyclePolicyItemRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public LifecyclePolicyItemRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link LifecyclePolicyItemRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public LifecyclePolicyItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}{?%24expand,%24select}", rawUrl); + } + /** + * Delete navigation property lifecyclePolicies for identityGovernance + * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @Deprecated + public void delete() { + delete(null); + } + /** + * Delete navigation property lifecyclePolicies for identityGovernance + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @Deprecated + public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); + } + /** + * Get lifecyclePolicies from identityGovernance + * @return a {@link LifecyclePolicy} + * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nullable + @Deprecated + public LifecyclePolicy get() { + return get(null); + } + /** + * Get lifecyclePolicies from identityGovernance + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link LifecyclePolicy} + * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nullable + @Deprecated + public LifecyclePolicy get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, LifecyclePolicy::createFromDiscriminatorValue); + } + /** + * Delete navigation property lifecyclePolicies for identityGovernance + * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public RequestInformation toDeleteRequestInformation() { + return toDeleteRequestInformation(null); + } + /** + * Delete navigation property lifecyclePolicies for identityGovernance + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Get lifecyclePolicies from identityGovernance + * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get lifecyclePolicies from identityGovernance + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + 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. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link LifecyclePolicyItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public LifecyclePolicyItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new LifecyclePolicyItemRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class DeleteRequestConfiguration extends BaseRequestConfiguration { + } + /** + * Get lifecyclePolicies from identityGovernance + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24select", select); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/lifecyclepolicies/item/createdby/CreatedByRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/lifecyclepolicies/item/createdby/CreatedByRequestBuilder.java new file mode 100644 index 00000000000..fe847972466 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/lifecyclepolicies/item/createdby/CreatedByRequestBuilder.java @@ -0,0 +1,144 @@ +package com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.createdby; + +import com.microsoft.graph.beta.models.DirectoryObject; +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to manage the createdBy property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class CreatedByRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link CreatedByRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public CreatedByRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/createdBy{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link CreatedByRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public CreatedByRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/createdBy{?%24expand,%24select}", rawUrl); + } + /** + * Get createdBy from identityGovernance + * @return a {@link DirectoryObject} + * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nullable + @Deprecated + public DirectoryObject get() { + return get(null); + } + /** + * Get createdBy from identityGovernance + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link DirectoryObject} + * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nullable + @Deprecated + public DirectoryObject get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, DirectoryObject::createFromDiscriminatorValue); + } + /** + * Get createdBy from identityGovernance + * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get createdBy from identityGovernance + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + 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. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link CreatedByRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public CreatedByRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new CreatedByRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get createdBy from identityGovernance + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24select", select); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/lifecyclepolicies/item/lastmodifiedby/LastModifiedByRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/lifecyclepolicies/item/lastmodifiedby/LastModifiedByRequestBuilder.java new file mode 100644 index 00000000000..00696d24b7f --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/lifecyclepolicies/item/lastmodifiedby/LastModifiedByRequestBuilder.java @@ -0,0 +1,144 @@ +package com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.lastmodifiedby; + +import com.microsoft.graph.beta.models.DirectoryObject; +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to manage the lastModifiedBy property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class LastModifiedByRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link LastModifiedByRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public LastModifiedByRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/lastModifiedBy{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link LastModifiedByRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public LastModifiedByRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/lastModifiedBy{?%24expand,%24select}", rawUrl); + } + /** + * Get lastModifiedBy from identityGovernance + * @return a {@link DirectoryObject} + * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nullable + @Deprecated + public DirectoryObject get() { + return get(null); + } + /** + * Get lastModifiedBy from identityGovernance + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link DirectoryObject} + * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nullable + @Deprecated + public DirectoryObject get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, DirectoryObject::createFromDiscriminatorValue); + } + /** + * Get lastModifiedBy from identityGovernance + * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get lastModifiedBy from identityGovernance + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + 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. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link LastModifiedByRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public LastModifiedByRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new LastModifiedByRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get lastModifiedBy from identityGovernance + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24select", select); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/lifecyclepolicies/item/microsoftgraphidentitygovernancerestore/MicrosoftGraphIdentityGovernanceRestoreRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/lifecyclepolicies/item/microsoftgraphidentitygovernancerestore/MicrosoftGraphIdentityGovernanceRestoreRequestBuilder.java new file mode 100644 index 00000000000..5b57d0716b7 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/lifecyclepolicies/item/microsoftgraphidentitygovernancerestore/MicrosoftGraphIdentityGovernanceRestoreRequestBuilder.java @@ -0,0 +1,111 @@ +package com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.microsoftgraphidentitygovernancerestore; + +import com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicy; +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to call the restore method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class MicrosoftGraphIdentityGovernanceRestoreRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link MicrosoftGraphIdentityGovernanceRestoreRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public MicrosoftGraphIdentityGovernanceRestoreRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/microsoft.graph.identityGovernance.restore", pathParameters); + } + /** + * Instantiates a new {@link MicrosoftGraphIdentityGovernanceRestoreRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public MicrosoftGraphIdentityGovernanceRestoreRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/microsoft.graph.identityGovernance.restore", rawUrl); + } + /** + * Invoke action restore + * @return a {@link LifecyclePolicy} + * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nullable + @Deprecated + public LifecyclePolicy post() { + return post(null); + } + /** + * Invoke action restore + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link LifecyclePolicy} + * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nullable + @Deprecated + public LifecyclePolicy post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, LifecyclePolicy::createFromDiscriminatorValue); + } + /** + * Invoke action restore + * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public RequestInformation toPostRequestInformation() { + return toPostRequestInformation(null); + } + /** + * Invoke action restore + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); + 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. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link MicrosoftGraphIdentityGovernanceRestoreRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public MicrosoftGraphIdentityGovernanceRestoreRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new MicrosoftGraphIdentityGovernanceRestoreRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PostRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/lifecyclepolicies/item/rules/RulesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/lifecyclepolicies/item/rules/RulesRequestBuilder.java new file mode 100644 index 00000000000..c5626387b37 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/lifecyclepolicies/item/rules/RulesRequestBuilder.java @@ -0,0 +1,196 @@ +package com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.rules; + +import com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.rules.item.LifecyclePolicyRuleItemRequestBuilder; +import com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicyRuleCollectionResponse; +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to manage the rules property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RulesRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to manage the rules property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + * @param lifecyclePolicyRuleId The unique identifier of lifecyclePolicyRule + * @return a {@link LifecyclePolicyRuleItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public LifecyclePolicyRuleItemRequestBuilder byLifecyclePolicyRuleId(@jakarta.annotation.Nonnull final String lifecyclePolicyRuleId) { + Objects.requireNonNull(lifecyclePolicyRuleId); + final HashMap urlTplParams = new HashMap(this.pathParameters); + urlTplParams.put("lifecyclePolicyRule%2Did", lifecyclePolicyRuleId); + return new LifecyclePolicyRuleItemRequestBuilder(urlTplParams, requestAdapter); + } + /** + * Instantiates a new {@link RulesRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public RulesRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/rules{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters); + } + /** + * Instantiates a new {@link RulesRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public RulesRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/rules{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); + } + /** + * Get rules from identityGovernance + * @return a {@link LifecyclePolicyRuleCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nullable + @Deprecated + public LifecyclePolicyRuleCollectionResponse get() { + return get(null); + } + /** + * Get rules from identityGovernance + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link LifecyclePolicyRuleCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nullable + @Deprecated + public LifecyclePolicyRuleCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, LifecyclePolicyRuleCollectionResponse::createFromDiscriminatorValue); + } + /** + * Get rules from identityGovernance + * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get rules from identityGovernance + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + 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. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link RulesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public RulesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new RulesRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get rules from identityGovernance + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Include count of items + */ + @jakarta.annotation.Nullable + public Boolean count; + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Filter items by property values + */ + @jakarta.annotation.Nullable + public String filter; + /** + * Order items by property values + */ + @jakarta.annotation.Nullable + public String[] orderby; + /** + * Search items by search phrases + */ + @jakarta.annotation.Nullable + public String search; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Skip the first n items + */ + @jakarta.annotation.Nullable + public Integer skip; + /** + * Show only the first n items + */ + @jakarta.annotation.Nullable + public Integer top; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24count", count); + allQueryParams.put("%24filter", filter); + allQueryParams.put("%24search", search); + allQueryParams.put("%24skip", skip); + allQueryParams.put("%24top", top); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24orderby", orderby); + allQueryParams.put("%24select", select); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/lifecyclepolicies/item/rules/item/LifecyclePolicyRuleItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/lifecyclepolicies/item/rules/item/LifecyclePolicyRuleItemRequestBuilder.java new file mode 100644 index 00000000000..ac13b3bcff2 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/lifecyclepolicies/item/rules/item/LifecyclePolicyRuleItemRequestBuilder.java @@ -0,0 +1,144 @@ +package com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.rules.item; + +import com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicyRule; +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to manage the rules property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class LifecyclePolicyRuleItemRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link LifecyclePolicyRuleItemRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public LifecyclePolicyRuleItemRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/rules/{lifecyclePolicyRule%2Did}{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link LifecyclePolicyRuleItemRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public LifecyclePolicyRuleItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/rules/{lifecyclePolicyRule%2Did}{?%24expand,%24select}", rawUrl); + } + /** + * Get rules from identityGovernance + * @return a {@link LifecyclePolicyRule} + * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nullable + @Deprecated + public LifecyclePolicyRule get() { + return get(null); + } + /** + * Get rules from identityGovernance + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link LifecyclePolicyRule} + * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nullable + @Deprecated + public LifecyclePolicyRule get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, LifecyclePolicyRule::createFromDiscriminatorValue); + } + /** + * Get rules from identityGovernance + * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get rules from identityGovernance + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + 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. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link LifecyclePolicyRuleItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public LifecyclePolicyRuleItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new LifecyclePolicyRuleItemRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get rules from identityGovernance + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24select", select); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/lifecyclepolicies/item/versions/VersionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/lifecyclepolicies/item/versions/VersionsRequestBuilder.java new file mode 100644 index 00000000000..2f044d8b2d9 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/lifecyclepolicies/item/versions/VersionsRequestBuilder.java @@ -0,0 +1,196 @@ +package com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions; + +import com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.item.LifecyclePolicyItemRequestBuilder; +import com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicyCollectionResponse; +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to manage the versions property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class VersionsRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to manage the versions property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + * @param lifecyclePolicyId1 The unique identifier of lifecyclePolicy + * @return a {@link LifecyclePolicyItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public LifecyclePolicyItemRequestBuilder byLifecyclePolicyId1(@jakarta.annotation.Nonnull final String lifecyclePolicyId1) { + Objects.requireNonNull(lifecyclePolicyId1); + final HashMap urlTplParams = new HashMap(this.pathParameters); + urlTplParams.put("lifecyclePolicy%2Did1", lifecyclePolicyId1); + return new LifecyclePolicyItemRequestBuilder(urlTplParams, requestAdapter); + } + /** + * Instantiates a new {@link VersionsRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public VersionsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/versions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters); + } + /** + * Instantiates a new {@link VersionsRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public VersionsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/versions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); + } + /** + * Get versions from identityGovernance + * @return a {@link LifecyclePolicyCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nullable + @Deprecated + public LifecyclePolicyCollectionResponse get() { + return get(null); + } + /** + * Get versions from identityGovernance + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link LifecyclePolicyCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nullable + @Deprecated + public LifecyclePolicyCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, LifecyclePolicyCollectionResponse::createFromDiscriminatorValue); + } + /** + * Get versions from identityGovernance + * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get versions from identityGovernance + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + 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. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link VersionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public VersionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new VersionsRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get versions from identityGovernance + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Include count of items + */ + @jakarta.annotation.Nullable + public Boolean count; + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Filter items by property values + */ + @jakarta.annotation.Nullable + public String filter; + /** + * Order items by property values + */ + @jakarta.annotation.Nullable + public String[] orderby; + /** + * Search items by search phrases + */ + @jakarta.annotation.Nullable + public String search; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Skip the first n items + */ + @jakarta.annotation.Nullable + public Integer skip; + /** + * Show only the first n items + */ + @jakarta.annotation.Nullable + public Integer top; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24count", count); + allQueryParams.put("%24filter", filter); + allQueryParams.put("%24search", search); + allQueryParams.put("%24skip", skip); + allQueryParams.put("%24top", top); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24orderby", orderby); + allQueryParams.put("%24select", select); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/lifecyclepolicies/item/versions/item/LifecyclePolicyItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/lifecyclepolicies/item/versions/item/LifecyclePolicyItemRequestBuilder.java new file mode 100644 index 00000000000..545abb93b9a --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/lifecyclepolicies/item/versions/item/LifecyclePolicyItemRequestBuilder.java @@ -0,0 +1,192 @@ +package com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.item; + +import com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.item.createdby.CreatedByRequestBuilder; +import com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.item.lastmodifiedby.LastModifiedByRequestBuilder; +import com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.item.microsoftgraphidentitygovernancerestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder; +import com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.item.rules.RulesRequestBuilder; +import com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicy; +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to manage the versions property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class LifecyclePolicyItemRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to manage the createdBy property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + * @return a {@link CreatedByRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @Deprecated + @jakarta.annotation.Nonnull + public CreatedByRequestBuilder createdBy() { + return new CreatedByRequestBuilder(pathParameters, requestAdapter); + } + /** + * Provides operations to manage the lastModifiedBy property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + * @return a {@link LastModifiedByRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @Deprecated + @jakarta.annotation.Nonnull + public LastModifiedByRequestBuilder lastModifiedBy() { + return new LastModifiedByRequestBuilder(pathParameters, requestAdapter); + } + /** + * Provides operations to call the restore method. + * @return a {@link MicrosoftGraphIdentityGovernanceRestoreRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @Deprecated + @jakarta.annotation.Nonnull + public MicrosoftGraphIdentityGovernanceRestoreRequestBuilder microsoftGraphIdentityGovernanceRestore() { + return new MicrosoftGraphIdentityGovernanceRestoreRequestBuilder(pathParameters, requestAdapter); + } + /** + * Provides operations to manage the rules property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + * @return a {@link RulesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @Deprecated + @jakarta.annotation.Nonnull + public RulesRequestBuilder rules() { + return new RulesRequestBuilder(pathParameters, requestAdapter); + } + /** + * Instantiates a new {@link LifecyclePolicyItemRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public LifecyclePolicyItemRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link LifecyclePolicyItemRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public LifecyclePolicyItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}{?%24expand,%24select}", rawUrl); + } + /** + * Get versions from identityGovernance + * @return a {@link LifecyclePolicy} + * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nullable + @Deprecated + public LifecyclePolicy get() { + return get(null); + } + /** + * Get versions from identityGovernance + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link LifecyclePolicy} + * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nullable + @Deprecated + public LifecyclePolicy get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, LifecyclePolicy::createFromDiscriminatorValue); + } + /** + * Get versions from identityGovernance + * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get versions from identityGovernance + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + 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. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link LifecyclePolicyItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public LifecyclePolicyItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new LifecyclePolicyItemRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get versions from identityGovernance + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24select", select); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/lifecyclepolicies/item/versions/item/createdby/CreatedByRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/lifecyclepolicies/item/versions/item/createdby/CreatedByRequestBuilder.java new file mode 100644 index 00000000000..0411b154b5e --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/lifecyclepolicies/item/versions/item/createdby/CreatedByRequestBuilder.java @@ -0,0 +1,144 @@ +package com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.item.createdby; + +import com.microsoft.graph.beta.models.DirectoryObject; +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to manage the createdBy property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class CreatedByRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link CreatedByRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public CreatedByRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}/createdBy{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link CreatedByRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public CreatedByRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}/createdBy{?%24expand,%24select}", rawUrl); + } + /** + * Get createdBy from identityGovernance + * @return a {@link DirectoryObject} + * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nullable + @Deprecated + public DirectoryObject get() { + return get(null); + } + /** + * Get createdBy from identityGovernance + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link DirectoryObject} + * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nullable + @Deprecated + public DirectoryObject get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, DirectoryObject::createFromDiscriminatorValue); + } + /** + * Get createdBy from identityGovernance + * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get createdBy from identityGovernance + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + 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. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link CreatedByRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public CreatedByRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new CreatedByRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get createdBy from identityGovernance + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24select", select); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/lifecyclepolicies/item/versions/item/lastmodifiedby/LastModifiedByRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/lifecyclepolicies/item/versions/item/lastmodifiedby/LastModifiedByRequestBuilder.java new file mode 100644 index 00000000000..75524dc33b9 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/lifecyclepolicies/item/versions/item/lastmodifiedby/LastModifiedByRequestBuilder.java @@ -0,0 +1,144 @@ +package com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.item.lastmodifiedby; + +import com.microsoft.graph.beta.models.DirectoryObject; +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to manage the lastModifiedBy property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class LastModifiedByRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link LastModifiedByRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public LastModifiedByRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}/lastModifiedBy{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link LastModifiedByRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public LastModifiedByRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}/lastModifiedBy{?%24expand,%24select}", rawUrl); + } + /** + * Get lastModifiedBy from identityGovernance + * @return a {@link DirectoryObject} + * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nullable + @Deprecated + public DirectoryObject get() { + return get(null); + } + /** + * Get lastModifiedBy from identityGovernance + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link DirectoryObject} + * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nullable + @Deprecated + public DirectoryObject get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, DirectoryObject::createFromDiscriminatorValue); + } + /** + * Get lastModifiedBy from identityGovernance + * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get lastModifiedBy from identityGovernance + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + 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. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link LastModifiedByRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public LastModifiedByRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new LastModifiedByRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get lastModifiedBy from identityGovernance + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24select", select); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/lifecyclepolicies/item/versions/item/microsoftgraphidentitygovernancerestore/MicrosoftGraphIdentityGovernanceRestoreRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/lifecyclepolicies/item/versions/item/microsoftgraphidentitygovernancerestore/MicrosoftGraphIdentityGovernanceRestoreRequestBuilder.java new file mode 100644 index 00000000000..0ab7561af8c --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/lifecyclepolicies/item/versions/item/microsoftgraphidentitygovernancerestore/MicrosoftGraphIdentityGovernanceRestoreRequestBuilder.java @@ -0,0 +1,111 @@ +package com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.item.microsoftgraphidentitygovernancerestore; + +import com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicy; +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to call the restore method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class MicrosoftGraphIdentityGovernanceRestoreRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link MicrosoftGraphIdentityGovernanceRestoreRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public MicrosoftGraphIdentityGovernanceRestoreRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}/microsoft.graph.identityGovernance.restore", pathParameters); + } + /** + * Instantiates a new {@link MicrosoftGraphIdentityGovernanceRestoreRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public MicrosoftGraphIdentityGovernanceRestoreRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}/microsoft.graph.identityGovernance.restore", rawUrl); + } + /** + * Invoke action restore + * @return a {@link LifecyclePolicy} + * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nullable + @Deprecated + public LifecyclePolicy post() { + return post(null); + } + /** + * Invoke action restore + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link LifecyclePolicy} + * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nullable + @Deprecated + public LifecyclePolicy post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, LifecyclePolicy::createFromDiscriminatorValue); + } + /** + * Invoke action restore + * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public RequestInformation toPostRequestInformation() { + return toPostRequestInformation(null); + } + /** + * Invoke action restore + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); + 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. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link MicrosoftGraphIdentityGovernanceRestoreRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public MicrosoftGraphIdentityGovernanceRestoreRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new MicrosoftGraphIdentityGovernanceRestoreRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PostRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/lifecyclepolicies/item/versions/item/rules/RulesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/lifecyclepolicies/item/versions/item/rules/RulesRequestBuilder.java new file mode 100644 index 00000000000..70d1b616bf5 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/lifecyclepolicies/item/versions/item/rules/RulesRequestBuilder.java @@ -0,0 +1,208 @@ +package com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.item.rules; + +import com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.item.rules.count.CountRequestBuilder; +import com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.item.rules.item.LifecyclePolicyRuleItemRequestBuilder; +import com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicyRuleCollectionResponse; +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to manage the rules property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RulesRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to count the resources in the collection. + * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @Deprecated + @jakarta.annotation.Nonnull + public CountRequestBuilder count() { + return new CountRequestBuilder(pathParameters, requestAdapter); + } + /** + * Provides operations to manage the rules property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + * @param lifecyclePolicyRuleId The unique identifier of lifecyclePolicyRule + * @return a {@link LifecyclePolicyRuleItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public LifecyclePolicyRuleItemRequestBuilder byLifecyclePolicyRuleId(@jakarta.annotation.Nonnull final String lifecyclePolicyRuleId) { + Objects.requireNonNull(lifecyclePolicyRuleId); + final HashMap urlTplParams = new HashMap(this.pathParameters); + urlTplParams.put("lifecyclePolicyRule%2Did", lifecyclePolicyRuleId); + return new LifecyclePolicyRuleItemRequestBuilder(urlTplParams, requestAdapter); + } + /** + * Instantiates a new {@link RulesRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public RulesRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}/rules{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters); + } + /** + * Instantiates a new {@link RulesRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public RulesRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}/rules{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); + } + /** + * Get rules from identityGovernance + * @return a {@link LifecyclePolicyRuleCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nullable + @Deprecated + public LifecyclePolicyRuleCollectionResponse get() { + return get(null); + } + /** + * Get rules from identityGovernance + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link LifecyclePolicyRuleCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nullable + @Deprecated + public LifecyclePolicyRuleCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, LifecyclePolicyRuleCollectionResponse::createFromDiscriminatorValue); + } + /** + * Get rules from identityGovernance + * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get rules from identityGovernance + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + 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. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link RulesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public RulesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new RulesRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get rules from identityGovernance + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Include count of items + */ + @jakarta.annotation.Nullable + public Boolean count; + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Filter items by property values + */ + @jakarta.annotation.Nullable + public String filter; + /** + * Order items by property values + */ + @jakarta.annotation.Nullable + public String[] orderby; + /** + * Search items by search phrases + */ + @jakarta.annotation.Nullable + public String search; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Skip the first n items + */ + @jakarta.annotation.Nullable + public Integer skip; + /** + * Show only the first n items + */ + @jakarta.annotation.Nullable + public Integer top; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24count", count); + allQueryParams.put("%24filter", filter); + allQueryParams.put("%24search", search); + allQueryParams.put("%24skip", skip); + allQueryParams.put("%24top", top); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24orderby", orderby); + allQueryParams.put("%24select", select); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/lifecyclepolicies/item/versions/item/rules/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/lifecyclepolicies/item/versions/item/rules/count/CountRequestBuilder.java new file mode 100644 index 00000000000..13a2ff9ea7e --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/lifecyclepolicies/item/versions/item/rules/count/CountRequestBuilder.java @@ -0,0 +1,143 @@ +package com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.item.rules.count; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to count the resources in the collection. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class CountRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link CountRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public CountRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}/rules/$count{?%24filter,%24search}", pathParameters); + } + /** + * Instantiates a new {@link CountRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}/rules/$count{?%24filter,%24search}", rawUrl); + } + /** + * Get the number of the resource + * @return a {@link Integer} + * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nullable + @Deprecated + public Integer get() { + return get(null); + } + /** + * Get the number of the resource + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link Integer} + * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nullable + @Deprecated + public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Integer.class); + } + /** + * Get the number of the resource + * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get the number of the resource + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + 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. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new CountRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get the number of the resource + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Filter items by property values + */ + @jakarta.annotation.Nullable + public String filter; + /** + * Search items by search phrases + */ + @jakarta.annotation.Nullable + public String search; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24filter", filter); + allQueryParams.put("%24search", search); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/lifecyclepolicies/item/versions/item/rules/item/LifecyclePolicyRuleItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/lifecyclepolicies/item/versions/item/rules/item/LifecyclePolicyRuleItemRequestBuilder.java new file mode 100644 index 00000000000..bebb571d493 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/lifecyclepolicies/item/versions/item/rules/item/LifecyclePolicyRuleItemRequestBuilder.java @@ -0,0 +1,144 @@ +package com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.item.rules.item; + +import com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicyRule; +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to manage the rules property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class LifecyclePolicyRuleItemRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link LifecyclePolicyRuleItemRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public LifecyclePolicyRuleItemRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}/rules/{lifecyclePolicyRule%2Did}{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link LifecyclePolicyRuleItemRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public LifecyclePolicyRuleItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}/rules/{lifecyclePolicyRule%2Did}{?%24expand,%24select}", rawUrl); + } + /** + * Get rules from identityGovernance + * @return a {@link LifecyclePolicyRule} + * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nullable + @Deprecated + public LifecyclePolicyRule get() { + return get(null); + } + /** + * Get rules from identityGovernance + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link LifecyclePolicyRule} + * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nullable + @Deprecated + public LifecyclePolicyRule get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, LifecyclePolicyRule::createFromDiscriminatorValue); + } + /** + * Get rules from identityGovernance + * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get rules from identityGovernance + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + 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. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link LifecyclePolicyRuleItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public LifecyclePolicyRuleItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new LifecyclePolicyRuleItemRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get rules from identityGovernance + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24select", select); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/WorkflowsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/WorkflowsRequestBuilder.java index efda5004def..7a56f5ab5ad 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/WorkflowsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/WorkflowsRequestBuilder.java @@ -25,7 +25,10 @@ public class WorkflowsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -34,8 +37,11 @@ public CountRequestBuilder count() { * Provides operations to manage the workflows property of the microsoft.graph.deletedItemContainer entity. * @param workflowId The unique identifier of workflow * @return a {@link WorkflowItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public WorkflowItemRequestBuilder byWorkflowId(@jakarta.annotation.Nonnull final String workflowId) { Objects.requireNonNull(workflowId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -62,9 +68,12 @@ public WorkflowsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, * Get a list of deleted workflow objects and their properties from the deletedItemContainer. * @return a {@link WorkflowCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public WorkflowCollectionResponse get() { return get(null); } @@ -73,9 +82,12 @@ public WorkflowCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link WorkflowCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public WorkflowCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -85,8 +97,11 @@ public WorkflowCollectionResponse get(@jakarta.annotation.Nullable final java.ut /** * Get a list of deleted workflow objects and their properties from the deletedItemContainer. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -94,8 +109,11 @@ public RequestInformation toGetRequestInformation() { * Get a list of deleted workflow objects and their properties from the deletedItemContainer. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -106,8 +124,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link WorkflowsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public WorkflowsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new WorkflowsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/count/CountRequestBuilder.java index e698b21beed..a0906a16fe5 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/WorkflowItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/WorkflowItemRequestBuilder.java index 7308ea70565..5a94f217acf 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/WorkflowItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/WorkflowItemRequestBuilder.java @@ -43,7 +43,10 @@ public class WorkflowItemRequestBuilder extends BaseRequestBuilder { /** * Provides operations to manage the administrationScopeTargets property of the microsoft.graph.identityGovernance.workflowBase entity. * @return a {@link AdministrationScopeTargetsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AdministrationScopeTargetsRequestBuilder administrationScopeTargets() { return new AdministrationScopeTargetsRequestBuilder(pathParameters, requestAdapter); @@ -51,7 +54,10 @@ public AdministrationScopeTargetsRequestBuilder administrationScopeTargets() { /** * Provides operations to manage the createdBy property of the microsoft.graph.identityGovernance.workflowBase entity. * @return a {@link CreatedByRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CreatedByRequestBuilder createdBy() { return new CreatedByRequestBuilder(pathParameters, requestAdapter); @@ -59,7 +65,10 @@ public CreatedByRequestBuilder createdBy() { /** * Provides operations to manage the executionScope property of the microsoft.graph.identityGovernance.workflow entity. * @return a {@link ExecutionScopeRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ExecutionScopeRequestBuilder executionScope() { return new ExecutionScopeRequestBuilder(pathParameters, requestAdapter); @@ -67,7 +76,10 @@ public ExecutionScopeRequestBuilder executionScope() { /** * Provides operations to manage the lastModifiedBy property of the microsoft.graph.identityGovernance.workflowBase entity. * @return a {@link LastModifiedByRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public LastModifiedByRequestBuilder lastModifiedBy() { return new LastModifiedByRequestBuilder(pathParameters, requestAdapter); @@ -75,7 +87,10 @@ public LastModifiedByRequestBuilder lastModifiedBy() { /** * Provides operations to call the activate method. * @return a {@link MicrosoftGraphIdentityGovernanceActivateRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public MicrosoftGraphIdentityGovernanceActivateRequestBuilder microsoftGraphIdentityGovernanceActivate() { return new MicrosoftGraphIdentityGovernanceActivateRequestBuilder(pathParameters, requestAdapter); @@ -83,7 +98,10 @@ public MicrosoftGraphIdentityGovernanceActivateRequestBuilder microsoftGraphIden /** * Provides operations to call the activateAndWait method. * @return a {@link MicrosoftGraphIdentityGovernanceActivateAndWaitRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public MicrosoftGraphIdentityGovernanceActivateAndWaitRequestBuilder microsoftGraphIdentityGovernanceActivateAndWait() { return new MicrosoftGraphIdentityGovernanceActivateAndWaitRequestBuilder(pathParameters, requestAdapter); @@ -91,7 +109,10 @@ public MicrosoftGraphIdentityGovernanceActivateAndWaitRequestBuilder microsoftGr /** * Provides operations to call the activateWithScope method. * @return a {@link MicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public MicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder microsoftGraphIdentityGovernanceActivateWithScope() { return new MicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder(pathParameters, requestAdapter); @@ -99,7 +120,10 @@ public MicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder microsoft /** * Provides operations to call the cancelProcessing method. * @return a {@link MicrosoftGraphIdentityGovernanceCancelProcessingRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public MicrosoftGraphIdentityGovernanceCancelProcessingRequestBuilder microsoftGraphIdentityGovernanceCancelProcessing() { return new MicrosoftGraphIdentityGovernanceCancelProcessingRequestBuilder(pathParameters, requestAdapter); @@ -107,7 +131,10 @@ public MicrosoftGraphIdentityGovernanceCancelProcessingRequestBuilder microsoftG /** * Provides operations to call the clearQuarantine method. * @return a {@link MicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public MicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder microsoftGraphIdentityGovernanceClearQuarantine() { return new MicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder(pathParameters, requestAdapter); @@ -115,7 +142,10 @@ public MicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder microsoftGr /** * Provides operations to call the createNewVersion method. * @return a {@link MicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public MicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder microsoftGraphIdentityGovernanceCreateNewVersion() { return new MicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder(pathParameters, requestAdapter); @@ -123,7 +153,10 @@ public MicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder microsoftG /** * Provides operations to call the previewTaskFailures method. * @return a {@link MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder microsoftGraphIdentityGovernancePreviewTaskFailures() { return new MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder(pathParameters, requestAdapter); @@ -131,7 +164,10 @@ public MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder microso /** * Provides operations to call the previewWorkflow method. * @return a {@link MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder microsoftGraphIdentityGovernancePreviewWorkflow() { return new MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder(pathParameters, requestAdapter); @@ -139,7 +175,10 @@ public MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder microsoftGr /** * Provides operations to call the restore method. * @return a {@link MicrosoftGraphIdentityGovernanceRestoreRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public MicrosoftGraphIdentityGovernanceRestoreRequestBuilder microsoftGraphIdentityGovernanceRestore() { return new MicrosoftGraphIdentityGovernanceRestoreRequestBuilder(pathParameters, requestAdapter); @@ -147,7 +186,10 @@ public MicrosoftGraphIdentityGovernanceRestoreRequestBuilder microsoftGraphIdent /** * Provides operations to manage the previewScope property of the microsoft.graph.identityGovernance.workflow entity. * @return a {@link PreviewScopeRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public PreviewScopeRequestBuilder previewScope() { return new PreviewScopeRequestBuilder(pathParameters, requestAdapter); @@ -155,7 +197,10 @@ public PreviewScopeRequestBuilder previewScope() { /** * Provides operations to manage the runs property of the microsoft.graph.identityGovernance.workflow entity. * @return a {@link RunsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public RunsRequestBuilder runs() { return new RunsRequestBuilder(pathParameters, requestAdapter); @@ -163,7 +208,10 @@ public RunsRequestBuilder runs() { /** * Provides operations to manage the subjectProcessingResults property of the microsoft.graph.identityGovernance.workflow entity. * @return a {@link SubjectProcessingResultsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public SubjectProcessingResultsRequestBuilder subjectProcessingResults() { return new SubjectProcessingResultsRequestBuilder(pathParameters, requestAdapter); @@ -171,7 +219,10 @@ public SubjectProcessingResultsRequestBuilder subjectProcessingResults() { /** * Provides operations to manage the taskReports property of the microsoft.graph.identityGovernance.workflow entity. * @return a {@link TaskReportsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public TaskReportsRequestBuilder taskReports() { return new TaskReportsRequestBuilder(pathParameters, requestAdapter); @@ -179,7 +230,10 @@ public TaskReportsRequestBuilder taskReports() { /** * Provides operations to manage the tasks property of the microsoft.graph.identityGovernance.workflowBase entity. * @return a {@link TasksRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public TasksRequestBuilder tasks() { return new TasksRequestBuilder(pathParameters, requestAdapter); @@ -187,7 +241,10 @@ public TasksRequestBuilder tasks() { /** * Provides operations to manage the userProcessingResults property of the microsoft.graph.identityGovernance.workflow entity. * @return a {@link UserProcessingResultsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public UserProcessingResultsRequestBuilder userProcessingResults() { return new UserProcessingResultsRequestBuilder(pathParameters, requestAdapter); @@ -195,7 +252,10 @@ public UserProcessingResultsRequestBuilder userProcessingResults() { /** * Provides operations to manage the versions property of the microsoft.graph.identityGovernance.workflow entity. * @return a {@link VersionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public VersionsRequestBuilder versions() { return new VersionsRequestBuilder(pathParameters, requestAdapter); @@ -219,8 +279,11 @@ public WorkflowItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUr /** * Delete a workflow object. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void delete() { delete(null); } @@ -228,8 +291,11 @@ public void delete() { * Delete a workflow object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -240,9 +306,12 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Retrieve a deleted workflow object. * @return a {@link Workflow} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public Workflow get() { return get(null); } @@ -251,9 +320,12 @@ public Workflow get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Workflow} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public Workflow get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -263,8 +335,11 @@ public Workflow get(@jakarta.annotation.Nullable final java.util.function.Consum /** * Delete a workflow object. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -272,8 +347,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete a workflow object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -283,8 +361,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Retrieve a deleted workflow object. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -292,8 +373,11 @@ public RequestInformation toGetRequestInformation() { * Retrieve a deleted workflow object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -304,8 +388,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link WorkflowItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public WorkflowItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new WorkflowItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/administrationscopetargets/AdministrationScopeTargetsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/administrationscopetargets/AdministrationScopeTargetsRequestBuilder.java index a79286cf821..9f322e4246d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/administrationscopetargets/AdministrationScopeTargetsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/administrationscopetargets/AdministrationScopeTargetsRequestBuilder.java @@ -25,7 +25,10 @@ public class AdministrationScopeTargetsRequestBuilder extends BaseRequestBuilder /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -34,8 +37,11 @@ public CountRequestBuilder count() { * Provides operations to manage the administrationScopeTargets property of the microsoft.graph.identityGovernance.workflowBase entity. * @param directoryObjectId The unique identifier of directoryObject * @return a {@link DirectoryObjectItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public DirectoryObjectItemRequestBuilder byDirectoryObjectId(@jakarta.annotation.Nonnull final String directoryObjectId) { Objects.requireNonNull(directoryObjectId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -62,8 +68,11 @@ public AdministrationScopeTargetsRequestBuilder(@jakarta.annotation.Nonnull fina * The administrative units in the scope of the workflow. Optional. Supports $expand. * @return a {@link DirectoryObjectCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public DirectoryObjectCollectionResponse get() { return get(null); } @@ -72,8 +81,11 @@ public DirectoryObjectCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DirectoryObjectCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public DirectoryObjectCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -83,8 +95,11 @@ public DirectoryObjectCollectionResponse get(@jakarta.annotation.Nullable final /** * The administrative units in the scope of the workflow. Optional. Supports $expand. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -92,8 +107,11 @@ public RequestInformation toGetRequestInformation() { * The administrative units in the scope of the workflow. Optional. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -104,8 +122,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AdministrationScopeTargetsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AdministrationScopeTargetsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AdministrationScopeTargetsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/administrationscopetargets/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/administrationscopetargets/count/CountRequestBuilder.java index 81da20e6ceb..6cc430c1660 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/administrationscopetargets/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/administrationscopetargets/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/administrationscopetargets/item/DirectoryObjectItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/administrationscopetargets/item/DirectoryObjectItemRequestBuilder.java index 3603ba4fc27..2012ea273fd 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/administrationscopetargets/item/DirectoryObjectItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/administrationscopetargets/item/DirectoryObjectItemRequestBuilder.java @@ -40,8 +40,11 @@ public DirectoryObjectItemRequestBuilder(@jakarta.annotation.Nonnull final Strin * The administrative units in the scope of the workflow. Optional. Supports $expand. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public DirectoryObject get() { return get(null); } @@ -50,8 +53,11 @@ public DirectoryObject get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public DirectoryObject get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public DirectoryObject get(@jakarta.annotation.Nullable final java.util.function /** * The administrative units in the scope of the workflow. Optional. Supports $expand. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * The administrative units in the scope of the workflow. Optional. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link DirectoryObjectItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public DirectoryObjectItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new DirectoryObjectItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/createdby/CreatedByRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/createdby/CreatedByRequestBuilder.java index 81af3e7f3d1..1ad3a729c9b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/createdby/CreatedByRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/createdby/CreatedByRequestBuilder.java @@ -25,7 +25,10 @@ public class CreatedByRequestBuilder extends BaseRequestBuilder { /** * The mailboxSettings property * @return a {@link MailboxSettingsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public MailboxSettingsRequestBuilder mailboxSettings() { return new MailboxSettingsRequestBuilder(pathParameters, requestAdapter); @@ -33,7 +36,10 @@ public MailboxSettingsRequestBuilder mailboxSettings() { /** * The serviceProvisioningErrors property * @return a {@link ServiceProvisioningErrorsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ServiceProvisioningErrorsRequestBuilder serviceProvisioningErrors() { return new ServiceProvisioningErrorsRequestBuilder(pathParameters, requestAdapter); @@ -58,8 +64,11 @@ public CreatedByRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, * The user who created the workflow. * @return a {@link User} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public User get() { return get(null); } @@ -68,8 +77,11 @@ public User get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link User} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public User get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -79,8 +91,11 @@ public User get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -100,8 +118,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CreatedByRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CreatedByRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CreatedByRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/createdby/mailboxsettings/MailboxSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/createdby/mailboxsettings/MailboxSettingsRequestBuilder.java index ee7c290c690..7717dfa39d1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/createdby/mailboxsettings/MailboxSettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/createdby/mailboxsettings/MailboxSettingsRequestBuilder.java @@ -40,8 +40,11 @@ public MailboxSettingsRequestBuilder(@jakarta.annotation.Nonnull final String ra * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Requires $select to retrieve. * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings get() { return get(null); } @@ -50,8 +53,11 @@ public MailboxSettings get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -63,8 +69,11 @@ public MailboxSettings get(@jakarta.annotation.Nullable final java.util.function * @param body The request body * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings body) { return patch(body, null); } @@ -74,8 +83,11 @@ public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings b * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -86,8 +98,11 @@ public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings b /** * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Requires $select to retrieve. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -95,8 +110,11 @@ public RequestInformation toGetRequestInformation() { * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Requires $select to retrieve. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -107,8 +125,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update property mailboxSettings value. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxSettings body) { return toPatchRequestInformation(body, null); } @@ -117,8 +138,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -131,8 +155,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link MailboxSettingsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public MailboxSettingsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new MailboxSettingsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/createdby/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/createdby/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java index 44693cfa2c4..e462c5c91cd 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/createdby/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/createdby/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java @@ -24,7 +24,10 @@ public class ServiceProvisioningErrorsRequestBuilder extends BaseRequestBuilder /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -49,8 +52,11 @@ public ServiceProvisioningErrorsRequestBuilder(@jakarta.annotation.Nonnull final * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. * @return a {@link ServiceProvisioningErrorCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ServiceProvisioningErrorCollectionResponse get() { return get(null); } @@ -59,8 +65,11 @@ public ServiceProvisioningErrorCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ServiceProvisioningErrorCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ServiceProvisioningErrorCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -70,8 +79,11 @@ public ServiceProvisioningErrorCollectionResponse get(@jakarta.annotation.Nullab /** * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -79,8 +91,11 @@ public RequestInformation toGetRequestInformation() { * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -91,8 +106,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ServiceProvisioningErrorsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ServiceProvisioningErrorsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ServiceProvisioningErrorsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/createdby/serviceprovisioningerrors/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/createdby/serviceprovisioningerrors/count/CountRequestBuilder.java index a6e76908bf0..77826e9a46a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/createdby/serviceprovisioningerrors/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/createdby/serviceprovisioningerrors/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/executionscope/ExecutionScopeRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/executionscope/ExecutionScopeRequestBuilder.java index dc440ac9ce2..3b8f4cc713c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/executionscope/ExecutionScopeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/executionscope/ExecutionScopeRequestBuilder.java @@ -25,7 +25,10 @@ public class ExecutionScopeRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -34,8 +37,11 @@ public CountRequestBuilder count() { * Provides operations to manage the executionScope property of the microsoft.graph.identityGovernance.workflow entity. * @param userProcessingResultId The unique identifier of userProcessingResult * @return a {@link UserProcessingResultItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public UserProcessingResultItemRequestBuilder byUserProcessingResultId(@jakarta.annotation.Nonnull final String userProcessingResultId) { Objects.requireNonNull(userProcessingResultId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -62,8 +68,11 @@ public ExecutionScopeRequestBuilder(@jakarta.annotation.Nonnull final String raw * The list of users that meet the workflowExecutionConditions of a workflow. * @return a {@link UserProcessingResultCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public UserProcessingResultCollectionResponse get() { return get(null); } @@ -72,8 +81,11 @@ public UserProcessingResultCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link UserProcessingResultCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public UserProcessingResultCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -83,8 +95,11 @@ public UserProcessingResultCollectionResponse get(@jakarta.annotation.Nullable f /** * The list of users that meet the workflowExecutionConditions of a workflow. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -92,8 +107,11 @@ public RequestInformation toGetRequestInformation() { * The list of users that meet the workflowExecutionConditions of a workflow. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -104,8 +122,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ExecutionScopeRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ExecutionScopeRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ExecutionScopeRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/executionscope/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/executionscope/count/CountRequestBuilder.java index 0735dd45c24..2b7f1d4e648 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/executionscope/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/executionscope/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/executionscope/item/UserProcessingResultItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/executionscope/item/UserProcessingResultItemRequestBuilder.java index 7c61f7bea42..b1737a63610 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/executionscope/item/UserProcessingResultItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/executionscope/item/UserProcessingResultItemRequestBuilder.java @@ -40,8 +40,11 @@ public UserProcessingResultItemRequestBuilder(@jakarta.annotation.Nonnull final * The list of users that meet the workflowExecutionConditions of a workflow. * @return a {@link UserProcessingResult} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public UserProcessingResult get() { return get(null); } @@ -50,8 +53,11 @@ public UserProcessingResult get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link UserProcessingResult} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public UserProcessingResult get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public UserProcessingResult get(@jakarta.annotation.Nullable final java.util.fun /** * The list of users that meet the workflowExecutionConditions of a workflow. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * The list of users that meet the workflowExecutionConditions of a workflow. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link UserProcessingResultItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public UserProcessingResultItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new UserProcessingResultItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/lastmodifiedby/LastModifiedByRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/lastmodifiedby/LastModifiedByRequestBuilder.java index 2b64deb9677..cd65c816f4e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/lastmodifiedby/LastModifiedByRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/lastmodifiedby/LastModifiedByRequestBuilder.java @@ -25,7 +25,10 @@ public class LastModifiedByRequestBuilder extends BaseRequestBuilder { /** * The mailboxSettings property * @return a {@link MailboxSettingsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public MailboxSettingsRequestBuilder mailboxSettings() { return new MailboxSettingsRequestBuilder(pathParameters, requestAdapter); @@ -33,7 +36,10 @@ public MailboxSettingsRequestBuilder mailboxSettings() { /** * The serviceProvisioningErrors property * @return a {@link ServiceProvisioningErrorsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ServiceProvisioningErrorsRequestBuilder serviceProvisioningErrors() { return new ServiceProvisioningErrorsRequestBuilder(pathParameters, requestAdapter); @@ -58,8 +64,11 @@ public LastModifiedByRequestBuilder(@jakarta.annotation.Nonnull final String raw * The user who last modified the workflow. * @return a {@link User} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public User get() { return get(null); } @@ -68,8 +77,11 @@ public User get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link User} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public User get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -79,8 +91,11 @@ public User get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -100,8 +118,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link LastModifiedByRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public LastModifiedByRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new LastModifiedByRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/lastmodifiedby/mailboxsettings/MailboxSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/lastmodifiedby/mailboxsettings/MailboxSettingsRequestBuilder.java index 356c22c1e0e..f46601b0681 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/lastmodifiedby/mailboxsettings/MailboxSettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/lastmodifiedby/mailboxsettings/MailboxSettingsRequestBuilder.java @@ -40,8 +40,11 @@ public MailboxSettingsRequestBuilder(@jakarta.annotation.Nonnull final String ra * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Requires $select to retrieve. * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings get() { return get(null); } @@ -50,8 +53,11 @@ public MailboxSettings get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -63,8 +69,11 @@ public MailboxSettings get(@jakarta.annotation.Nullable final java.util.function * @param body The request body * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings body) { return patch(body, null); } @@ -74,8 +83,11 @@ public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings b * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -86,8 +98,11 @@ public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings b /** * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Requires $select to retrieve. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -95,8 +110,11 @@ public RequestInformation toGetRequestInformation() { * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Requires $select to retrieve. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -107,8 +125,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update property mailboxSettings value. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxSettings body) { return toPatchRequestInformation(body, null); } @@ -117,8 +138,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -131,8 +155,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link MailboxSettingsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public MailboxSettingsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new MailboxSettingsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/lastmodifiedby/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/lastmodifiedby/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java index c8de4587b0e..319de6288b4 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/lastmodifiedby/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/lastmodifiedby/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java @@ -24,7 +24,10 @@ public class ServiceProvisioningErrorsRequestBuilder extends BaseRequestBuilder /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -49,8 +52,11 @@ public ServiceProvisioningErrorsRequestBuilder(@jakarta.annotation.Nonnull final * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. * @return a {@link ServiceProvisioningErrorCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ServiceProvisioningErrorCollectionResponse get() { return get(null); } @@ -59,8 +65,11 @@ public ServiceProvisioningErrorCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ServiceProvisioningErrorCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ServiceProvisioningErrorCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -70,8 +79,11 @@ public ServiceProvisioningErrorCollectionResponse get(@jakarta.annotation.Nullab /** * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -79,8 +91,11 @@ public RequestInformation toGetRequestInformation() { * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -91,8 +106,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ServiceProvisioningErrorsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ServiceProvisioningErrorsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ServiceProvisioningErrorsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/lastmodifiedby/serviceprovisioningerrors/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/lastmodifiedby/serviceprovisioningerrors/count/CountRequestBuilder.java index 65b9ce18cd8..d652c3adfab 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/lastmodifiedby/serviceprovisioningerrors/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/lastmodifiedby/serviceprovisioningerrors/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/microsoftgraphidentitygovernanceactivate/MicrosoftGraphIdentityGovernanceActivateRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/microsoftgraphidentitygovernanceactivate/MicrosoftGraphIdentityGovernanceActivateRequestBuilder.java index 386811deb26..80ad77cfd0c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/microsoftgraphidentitygovernanceactivate/MicrosoftGraphIdentityGovernanceActivateRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/microsoftgraphidentitygovernanceactivate/MicrosoftGraphIdentityGovernanceActivateRequestBuilder.java @@ -38,8 +38,11 @@ public MicrosoftGraphIdentityGovernanceActivateRequestBuilder(@jakarta.annotatio * Run a workflow object on-demand. You can run any workflow on-demand, including scheduled workflows. Workflows created from the 'Real-time employee termination' template are run on-demand only. When you run a workflow on demand, the tasks are executed regardless of whether the user state matches the scope and trigger execution conditions. * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final ActivatePostRequestBody body) { post(body, null); } @@ -48,8 +51,11 @@ public void post(@jakarta.annotation.Nonnull final ActivatePostRequestBody body) * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final ActivatePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -61,8 +67,11 @@ public void post(@jakarta.annotation.Nonnull final ActivatePostRequestBody body, * Run a workflow object on-demand. You can run any workflow on-demand, including scheduled workflows. Workflows created from the 'Real-time employee termination' template are run on-demand only. When you run a workflow on demand, the tasks are executed regardless of whether the user state matches the scope and trigger execution conditions. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ActivatePostRequestBody body) { return toPostRequestInformation(body, null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ActivatePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -85,8 +97,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link MicrosoftGraphIdentityGovernanceActivateRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public MicrosoftGraphIdentityGovernanceActivateRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new MicrosoftGraphIdentityGovernanceActivateRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/microsoftgraphidentitygovernanceactivateandwait/MicrosoftGraphIdentityGovernanceActivateAndWaitRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/microsoftgraphidentitygovernanceactivateandwait/MicrosoftGraphIdentityGovernanceActivateAndWaitRequestBuilder.java index 4d3f4dc8c74..aa0bbde79cd 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/microsoftgraphidentitygovernanceactivateandwait/MicrosoftGraphIdentityGovernanceActivateAndWaitRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/microsoftgraphidentitygovernanceactivateandwait/MicrosoftGraphIdentityGovernanceActivateAndWaitRequestBuilder.java @@ -40,9 +40,12 @@ public MicrosoftGraphIdentityGovernanceActivateAndWaitRequestBuilder(@jakarta.an * @param body The request body * @return a {@link AwaitedWorkflowProcessingResult} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public AwaitedWorkflowProcessingResult post(@jakarta.annotation.Nonnull final ActivateAndWaitPostRequestBody body) { return post(body, null); } @@ -52,9 +55,12 @@ public AwaitedWorkflowProcessingResult post(@jakarta.annotation.Nonnull final Ac * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AwaitedWorkflowProcessingResult} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public AwaitedWorkflowProcessingResult post(@jakarta.annotation.Nonnull final ActivateAndWaitPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -66,8 +72,11 @@ public AwaitedWorkflowProcessingResult post(@jakarta.annotation.Nonnull final Ac * Activate a lifecycle workflow for a specified subject and synchronously wait for execution to complete. This action returns an awaitedWorkflowProcessingResult with the execution outcome. Use this action when you need immediate confirmation of workflow completion, for example when provisioning a non-user subject. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ActivateAndWaitPostRequestBody body) { return toPostRequestInformation(body, null); } @@ -76,8 +85,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ActivateAndWaitPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -90,8 +102,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link MicrosoftGraphIdentityGovernanceActivateAndWaitRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public MicrosoftGraphIdentityGovernanceActivateAndWaitRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new MicrosoftGraphIdentityGovernanceActivateAndWaitRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/microsoftgraphidentitygovernanceactivatewithscope/MicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/microsoftgraphidentitygovernanceactivatewithscope/MicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder.java index e7937c27a7d..248579c6862 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/microsoftgraphidentitygovernanceactivatewithscope/MicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/microsoftgraphidentitygovernanceactivatewithscope/MicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder.java @@ -38,8 +38,11 @@ public MicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder(@jakarta. * Run a workflow object on-demand with a specific scope. You can run any workflow on-demand, including scheduled workflows. Workflows created from the 'Real-time employee termination' template are run on-demand only. When you run a workflow on demand, the tasks are executed regardless of whether the user state matches the scope and trigger execution conditions. * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final ActivateWithScopePostRequestBody body) { post(body, null); } @@ -48,8 +51,11 @@ public void post(@jakarta.annotation.Nonnull final ActivateWithScopePostRequestB * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final ActivateWithScopePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -61,8 +67,11 @@ public void post(@jakarta.annotation.Nonnull final ActivateWithScopePostRequestB * Run a workflow object on-demand with a specific scope. You can run any workflow on-demand, including scheduled workflows. Workflows created from the 'Real-time employee termination' template are run on-demand only. When you run a workflow on demand, the tasks are executed regardless of whether the user state matches the scope and trigger execution conditions. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ActivateWithScopePostRequestBody body) { return toPostRequestInformation(body, null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ActivateWithScopePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -85,8 +97,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link MicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public MicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new MicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/microsoftgraphidentitygovernanceclearquarantine/MicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/microsoftgraphidentitygovernanceclearquarantine/MicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder.java index 699e70d36e5..6fe2dd1a7fb 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/microsoftgraphidentitygovernanceclearquarantine/MicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/microsoftgraphidentitygovernanceclearquarantine/MicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder.java @@ -39,9 +39,12 @@ public MicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder(@jakarta.an * Release a quarantined workflow so that it resumes processing. A workflow is automatically quarantined when a run exceeds the threshold conditions defined in its quarantineConfiguration. After an administrator reviews the cause of the quarantine, calling this action clears the quarantine state and allows the workflow to run again. * @return a {@link Workflow} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public Workflow post() { return post(null); } @@ -50,9 +53,12 @@ public Workflow post() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Workflow} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public Workflow post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -62,8 +68,11 @@ public Workflow post(@jakarta.annotation.Nullable final java.util.function.Consu /** * Release a quarantined workflow so that it resumes processing. A workflow is automatically quarantined when a run exceeds the threshold conditions defined in its quarantineConfiguration. After an administrator reviews the cause of the quarantine, calling this action clears the quarantine state and allows the workflow to run again. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation() { * Release a quarantined workflow so that it resumes processing. A workflow is automatically quarantined when a run exceeds the threshold conditions defined in its quarantineConfiguration. After an administrator reviews the cause of the quarantine, calling this action clears the quarantine state and allows the workflow to run again. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -83,8 +95,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link MicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public MicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new MicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/microsoftgraphidentitygovernancecreatenewversion/MicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/microsoftgraphidentitygovernancecreatenewversion/MicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder.java index 79c51bd5bd6..792bfc82f7d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/microsoftgraphidentitygovernancecreatenewversion/MicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/microsoftgraphidentitygovernancecreatenewversion/MicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder.java @@ -40,9 +40,12 @@ public MicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder(@jakarta.a * @param body The request body * @return a {@link Workflow} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public Workflow post(@jakarta.annotation.Nonnull final CreateNewVersionPostRequestBody body) { return post(body, null); } @@ -52,9 +55,12 @@ public Workflow post(@jakarta.annotation.Nonnull final CreateNewVersionPostReque * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Workflow} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public Workflow post(@jakarta.annotation.Nonnull final CreateNewVersionPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -66,8 +72,11 @@ public Workflow post(@jakarta.annotation.Nonnull final CreateNewVersionPostReque * Create a new version of the workflow object. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CreateNewVersionPostRequestBody body) { return toPostRequestInformation(body, null); } @@ -76,8 +85,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CreateNewVersionPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -90,8 +102,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link MicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public MicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new MicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/microsoftgraphidentitygovernancerestore/MicrosoftGraphIdentityGovernanceRestoreRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/microsoftgraphidentitygovernancerestore/MicrosoftGraphIdentityGovernanceRestoreRequestBuilder.java index f0eba068c8f..a4608f29566 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/microsoftgraphidentitygovernancerestore/MicrosoftGraphIdentityGovernanceRestoreRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/microsoftgraphidentitygovernancerestore/MicrosoftGraphIdentityGovernanceRestoreRequestBuilder.java @@ -39,9 +39,12 @@ public MicrosoftGraphIdentityGovernanceRestoreRequestBuilder(@jakarta.annotation * Restore a deleted workflow object. You can only restore a workflow that was deleted within the last 30 days before Microsoft Entra ID automatically permanently deletes it. * @return a {@link Workflow} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public Workflow post() { return post(null); } @@ -50,9 +53,12 @@ public Workflow post() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Workflow} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public Workflow post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -62,8 +68,11 @@ public Workflow post(@jakarta.annotation.Nullable final java.util.function.Consu /** * Restore a deleted workflow object. You can only restore a workflow that was deleted within the last 30 days before Microsoft Entra ID automatically permanently deletes it. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation() { * Restore a deleted workflow object. You can only restore a workflow that was deleted within the last 30 days before Microsoft Entra ID automatically permanently deletes it. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -83,8 +95,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link MicrosoftGraphIdentityGovernanceRestoreRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public MicrosoftGraphIdentityGovernanceRestoreRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new MicrosoftGraphIdentityGovernanceRestoreRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/RunsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/RunsRequestBuilder.java index dbfb3a5c14f..b7d223eb5d4 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/RunsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/RunsRequestBuilder.java @@ -27,7 +27,10 @@ public class RunsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -36,8 +39,11 @@ public CountRequestBuilder count() { * Provides operations to manage the runs property of the microsoft.graph.identityGovernance.workflow entity. * @param runId The unique identifier of run * @return a {@link RunItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RunItemRequestBuilder byRunId(@jakarta.annotation.Nonnull final String runId) { Objects.requireNonNull(runId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -64,8 +70,11 @@ public RunsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jaka * Workflow runs. * @return a {@link RunCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public RunCollectionResponse get() { return get(null); } @@ -74,8 +83,11 @@ public RunCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RunCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public RunCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -87,8 +99,11 @@ public RunCollectionResponse get(@jakarta.annotation.Nullable final java.util.fu * @param endDateTime Usage: endDateTime={endDateTime} * @param startDateTime Usage: startDateTime={startDateTime} * @return a {@link MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime(@jakarta.annotation.Nonnull final OffsetDateTime endDateTime, @jakarta.annotation.Nonnull final OffsetDateTime startDateTime) { Objects.requireNonNull(endDateTime); Objects.requireNonNull(startDateTime); @@ -97,8 +112,11 @@ public MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRe /** * Workflow runs. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -106,8 +124,11 @@ public RequestInformation toGetRequestInformation() { * Workflow runs. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RunsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RunsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RunsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/count/CountRequestBuilder.java index ff194f8ee54..797e8536ba3 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/RunItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/RunItemRequestBuilder.java index aac6a3b3382..0cac152ddde 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/RunItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/RunItemRequestBuilder.java @@ -27,7 +27,10 @@ public class RunItemRequestBuilder extends BaseRequestBuilder { /** * Provides operations to manage the reprocessedRuns property of the microsoft.graph.identityGovernance.run entity. * @return a {@link ReprocessedRunsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ReprocessedRunsRequestBuilder reprocessedRuns() { return new ReprocessedRunsRequestBuilder(pathParameters, requestAdapter); @@ -35,7 +38,10 @@ public ReprocessedRunsRequestBuilder reprocessedRuns() { /** * Provides operations to manage the subjectProcessingResults property of the microsoft.graph.identityGovernance.run entity. * @return a {@link SubjectProcessingResultsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public SubjectProcessingResultsRequestBuilder subjectProcessingResults() { return new SubjectProcessingResultsRequestBuilder(pathParameters, requestAdapter); @@ -43,7 +49,10 @@ public SubjectProcessingResultsRequestBuilder subjectProcessingResults() { /** * Provides operations to manage the taskProcessingResults property of the microsoft.graph.identityGovernance.run entity. * @return a {@link TaskProcessingResultsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public TaskProcessingResultsRequestBuilder taskProcessingResults() { return new TaskProcessingResultsRequestBuilder(pathParameters, requestAdapter); @@ -51,7 +60,10 @@ public TaskProcessingResultsRequestBuilder taskProcessingResults() { /** * Provides operations to manage the userProcessingResults property of the microsoft.graph.identityGovernance.run entity. * @return a {@link UserProcessingResultsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public UserProcessingResultsRequestBuilder userProcessingResults() { return new UserProcessingResultsRequestBuilder(pathParameters, requestAdapter); @@ -76,8 +88,11 @@ public RunItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j * Workflow runs. * @return a {@link Run} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Run get() { return get(null); } @@ -86,8 +101,11 @@ public Run get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Run} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Run get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -97,8 +115,11 @@ public Run get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -118,8 +142,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RunItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RunItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RunItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/reprocessedruns/ReprocessedRunsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/reprocessedruns/ReprocessedRunsRequestBuilder.java index 216385a25f9..4693dcf6fe5 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/reprocessedruns/ReprocessedRunsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/reprocessedruns/ReprocessedRunsRequestBuilder.java @@ -25,7 +25,10 @@ public class ReprocessedRunsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -34,8 +37,11 @@ public CountRequestBuilder count() { * Provides operations to manage the reprocessedRuns property of the microsoft.graph.identityGovernance.run entity. * @param runId1 The unique identifier of run * @return a {@link RunItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RunItemRequestBuilder byRunId1(@jakarta.annotation.Nonnull final String runId1) { Objects.requireNonNull(runId1); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -62,8 +68,11 @@ public ReprocessedRunsRequestBuilder(@jakarta.annotation.Nonnull final String ra * The related reprocessed workflow run. * @return a {@link RunCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public RunCollectionResponse get() { return get(null); } @@ -72,8 +81,11 @@ public RunCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RunCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public RunCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -83,8 +95,11 @@ public RunCollectionResponse get(@jakarta.annotation.Nullable final java.util.fu /** * The related reprocessed workflow run. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -92,8 +107,11 @@ public RequestInformation toGetRequestInformation() { * The related reprocessed workflow run. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -104,8 +122,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ReprocessedRunsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ReprocessedRunsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ReprocessedRunsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/reprocessedruns/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/reprocessedruns/count/CountRequestBuilder.java index 96809ddfe15..39280f791a8 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/reprocessedruns/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/reprocessedruns/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/reprocessedruns/item/RunItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/reprocessedruns/item/RunItemRequestBuilder.java index 94ed1b69bb5..e40bb5bc9b4 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/reprocessedruns/item/RunItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/reprocessedruns/item/RunItemRequestBuilder.java @@ -40,8 +40,11 @@ public RunItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j * The related reprocessed workflow run. * @return a {@link Run} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Run get() { return get(null); } @@ -50,8 +53,11 @@ public Run get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Run} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Run get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public Run get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RunItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RunItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RunItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/subjectprocessingresults/SubjectProcessingResultsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/subjectprocessingresults/SubjectProcessingResultsRequestBuilder.java index 58f719ee40b..a1ebceef0c6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/subjectprocessingresults/SubjectProcessingResultsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/subjectprocessingresults/SubjectProcessingResultsRequestBuilder.java @@ -2,6 +2,7 @@ import com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.subjectprocessingresults.count.CountRequestBuilder; import com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.subjectprocessingresults.item.SubjectProcessingResultItemRequestBuilder; +import com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.subjectprocessingresults.microsoftgraphidentitygovernancesummarywithstartdatetimewithenddatetime.MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder; import com.microsoft.graph.beta.models.identitygovernance.SubjectProcessingResultCollectionResponse; import com.microsoft.graph.beta.models.odataerrors.ODataError; import com.microsoft.kiota.BaseRequestBuilder; @@ -13,6 +14,7 @@ import com.microsoft.kiota.RequestOption; import com.microsoft.kiota.serialization.Parsable; import com.microsoft.kiota.serialization.ParsableFactory; +import java.time.OffsetDateTime; import java.util.Collection; import java.util.HashMap; import java.util.Map; @@ -25,7 +27,10 @@ public class SubjectProcessingResultsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -34,8 +39,11 @@ public CountRequestBuilder count() { * Provides operations to manage the subjectProcessingResults property of the microsoft.graph.identityGovernance.run entity. * @param subjectProcessingResultId The unique identifier of subjectProcessingResult * @return a {@link SubjectProcessingResultItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public SubjectProcessingResultItemRequestBuilder bySubjectProcessingResultId(@jakarta.annotation.Nonnull final String subjectProcessingResultId) { Objects.requireNonNull(subjectProcessingResultId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -62,8 +70,11 @@ public SubjectProcessingResultsRequestBuilder(@jakarta.annotation.Nonnull final * The processing results for each subject in this workflow run. * @return a {@link SubjectProcessingResultCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public SubjectProcessingResultCollectionResponse get() { return get(null); } @@ -72,19 +83,40 @@ public SubjectProcessingResultCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SubjectProcessingResultCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public SubjectProcessingResultCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); return this.requestAdapter.send(requestInfo, errorMapping, SubjectProcessingResultCollectionResponse::createFromDiscriminatorValue); } + /** + * Provides operations to call the summary method. + * @param endDateTime Usage: endDateTime={endDateTime} + * @param startDateTime Usage: startDateTime={startDateTime} + * @return a {@link MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime(@jakarta.annotation.Nonnull final OffsetDateTime endDateTime, @jakarta.annotation.Nonnull final OffsetDateTime startDateTime) { + Objects.requireNonNull(endDateTime); + Objects.requireNonNull(startDateTime); + return new MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder(pathParameters, requestAdapter, endDateTime, startDateTime); + } /** * The processing results for each subject in this workflow run. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -92,8 +124,11 @@ public RequestInformation toGetRequestInformation() { * The processing results for each subject in this workflow run. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -104,8 +139,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link SubjectProcessingResultsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public SubjectProcessingResultsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new SubjectProcessingResultsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/subjectprocessingresults/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/subjectprocessingresults/count/CountRequestBuilder.java index 2ba20b166aa..84198792d41 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/subjectprocessingresults/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/subjectprocessingresults/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/subjectprocessingresults/item/SubjectProcessingResultItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/subjectprocessingresults/item/SubjectProcessingResultItemRequestBuilder.java index 63995c0d797..5ebafe75e94 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/subjectprocessingresults/item/SubjectProcessingResultItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/subjectprocessingresults/item/SubjectProcessingResultItemRequestBuilder.java @@ -25,7 +25,10 @@ public class SubjectProcessingResultItemRequestBuilder extends BaseRequestBuilde /** * Provides operations to manage the reprocessedRuns property of the microsoft.graph.identityGovernance.subjectProcessingResult entity. * @return a {@link ReprocessedRunsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ReprocessedRunsRequestBuilder reprocessedRuns() { return new ReprocessedRunsRequestBuilder(pathParameters, requestAdapter); @@ -33,7 +36,10 @@ public ReprocessedRunsRequestBuilder reprocessedRuns() { /** * Provides operations to manage the taskProcessingResults property of the microsoft.graph.identityGovernance.subjectProcessingResult entity. * @return a {@link TaskProcessingResultsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public TaskProcessingResultsRequestBuilder taskProcessingResults() { return new TaskProcessingResultsRequestBuilder(pathParameters, requestAdapter); @@ -58,8 +64,11 @@ public SubjectProcessingResultItemRequestBuilder(@jakarta.annotation.Nonnull fin * The processing results for each subject in this workflow run. * @return a {@link SubjectProcessingResult} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public SubjectProcessingResult get() { return get(null); } @@ -68,8 +77,11 @@ public SubjectProcessingResult get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SubjectProcessingResult} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public SubjectProcessingResult get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -79,8 +91,11 @@ public SubjectProcessingResult get(@jakarta.annotation.Nullable final java.util. /** * The processing results for each subject in this workflow run. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -88,8 +103,11 @@ public RequestInformation toGetRequestInformation() { * The processing results for each subject in this workflow run. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -100,8 +118,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link SubjectProcessingResultItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public SubjectProcessingResultItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new SubjectProcessingResultItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/subjectprocessingresults/item/reprocessedruns/ReprocessedRunsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/subjectprocessingresults/item/reprocessedruns/ReprocessedRunsRequestBuilder.java index 4dd1f0b6eb1..94f5f0d47a1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/subjectprocessingresults/item/reprocessedruns/ReprocessedRunsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/subjectprocessingresults/item/reprocessedruns/ReprocessedRunsRequestBuilder.java @@ -25,7 +25,10 @@ public class ReprocessedRunsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -34,8 +37,11 @@ public CountRequestBuilder count() { * Provides operations to manage the reprocessedRuns property of the microsoft.graph.identityGovernance.subjectProcessingResult entity. * @param runId1 The unique identifier of run * @return a {@link RunItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RunItemRequestBuilder byRunId1(@jakarta.annotation.Nonnull final String runId1) { Objects.requireNonNull(runId1); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -62,8 +68,11 @@ public ReprocessedRunsRequestBuilder(@jakarta.annotation.Nonnull final String ra * The reprocessed runs associated with this subject processing result. * @return a {@link RunCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public RunCollectionResponse get() { return get(null); } @@ -72,8 +81,11 @@ public RunCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RunCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public RunCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -83,8 +95,11 @@ public RunCollectionResponse get(@jakarta.annotation.Nullable final java.util.fu /** * The reprocessed runs associated with this subject processing result. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -92,8 +107,11 @@ public RequestInformation toGetRequestInformation() { * The reprocessed runs associated with this subject processing result. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -104,8 +122,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ReprocessedRunsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ReprocessedRunsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ReprocessedRunsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/subjectprocessingresults/item/reprocessedruns/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/subjectprocessingresults/item/reprocessedruns/count/CountRequestBuilder.java index bb1e7562b5a..9716be6c8e7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/subjectprocessingresults/item/reprocessedruns/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/subjectprocessingresults/item/reprocessedruns/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/subjectprocessingresults/item/reprocessedruns/item/RunItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/subjectprocessingresults/item/reprocessedruns/item/RunItemRequestBuilder.java index b3247e4eed7..52e339de0a8 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/subjectprocessingresults/item/reprocessedruns/item/RunItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/subjectprocessingresults/item/reprocessedruns/item/RunItemRequestBuilder.java @@ -40,8 +40,11 @@ public RunItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j * The reprocessed runs associated with this subject processing result. * @return a {@link Run} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Run get() { return get(null); } @@ -50,8 +53,11 @@ public Run get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Run} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Run get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public Run get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RunItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RunItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RunItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/subjectprocessingresults/item/taskprocessingresults/TaskProcessingResultsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/subjectprocessingresults/item/taskprocessingresults/TaskProcessingResultsRequestBuilder.java index 7c91f14dd2c..c773048a3be 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/subjectprocessingresults/item/taskprocessingresults/TaskProcessingResultsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/subjectprocessingresults/item/taskprocessingresults/TaskProcessingResultsRequestBuilder.java @@ -25,7 +25,10 @@ public class TaskProcessingResultsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -34,8 +37,11 @@ public CountRequestBuilder count() { * Provides operations to manage the taskProcessingResults property of the microsoft.graph.identityGovernance.subjectProcessingResult entity. * @param taskProcessingResultId The unique identifier of taskProcessingResult * @return a {@link TaskProcessingResultItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public TaskProcessingResultItemRequestBuilder byTaskProcessingResultId(@jakarta.annotation.Nonnull final String taskProcessingResultId) { Objects.requireNonNull(taskProcessingResultId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -62,8 +68,11 @@ public TaskProcessingResultsRequestBuilder(@jakarta.annotation.Nonnull final Str * The task-level processing results for this subject. Read-only. * @return a {@link TaskProcessingResultCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public TaskProcessingResultCollectionResponse get() { return get(null); } @@ -72,8 +81,11 @@ public TaskProcessingResultCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link TaskProcessingResultCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public TaskProcessingResultCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -83,8 +95,11 @@ public TaskProcessingResultCollectionResponse get(@jakarta.annotation.Nullable f /** * The task-level processing results for this subject. Read-only. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -92,8 +107,11 @@ public RequestInformation toGetRequestInformation() { * The task-level processing results for this subject. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -104,8 +122,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link TaskProcessingResultsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public TaskProcessingResultsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new TaskProcessingResultsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/subjectprocessingresults/item/taskprocessingresults/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/subjectprocessingresults/item/taskprocessingresults/count/CountRequestBuilder.java index 1999da08a80..663d20ddc3f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/subjectprocessingresults/item/taskprocessingresults/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/subjectprocessingresults/item/taskprocessingresults/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/subjectprocessingresults/item/taskprocessingresults/item/TaskProcessingResultItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/subjectprocessingresults/item/taskprocessingresults/item/TaskProcessingResultItemRequestBuilder.java index 1cad8500955..76e9075eb2d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/subjectprocessingresults/item/taskprocessingresults/item/TaskProcessingResultItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/subjectprocessingresults/item/taskprocessingresults/item/TaskProcessingResultItemRequestBuilder.java @@ -26,7 +26,10 @@ public class TaskProcessingResultItemRequestBuilder extends BaseRequestBuilder { /** * Provides operations to call the resume method. * @return a {@link MicrosoftGraphIdentityGovernanceResumeRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public MicrosoftGraphIdentityGovernanceResumeRequestBuilder microsoftGraphIdentityGovernanceResume() { return new MicrosoftGraphIdentityGovernanceResumeRequestBuilder(pathParameters, requestAdapter); @@ -34,7 +37,10 @@ public MicrosoftGraphIdentityGovernanceResumeRequestBuilder microsoftGraphIdenti /** * Provides operations to manage the subject property of the microsoft.graph.identityGovernance.taskProcessingResult entity. * @return a {@link SubjectRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public SubjectRequestBuilder subject() { return new SubjectRequestBuilder(pathParameters, requestAdapter); @@ -42,7 +48,10 @@ public SubjectRequestBuilder subject() { /** * Provides operations to manage the task property of the microsoft.graph.identityGovernance.taskProcessingResult entity. * @return a {@link TaskRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public TaskRequestBuilder task() { return new TaskRequestBuilder(pathParameters, requestAdapter); @@ -67,8 +76,11 @@ public TaskProcessingResultItemRequestBuilder(@jakarta.annotation.Nonnull final * The task-level processing results for this subject. Read-only. * @return a {@link TaskProcessingResult} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public TaskProcessingResult get() { return get(null); } @@ -77,8 +89,11 @@ public TaskProcessingResult get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link TaskProcessingResult} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public TaskProcessingResult get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -88,8 +103,11 @@ public TaskProcessingResult get(@jakarta.annotation.Nullable final java.util.fun /** * The task-level processing results for this subject. Read-only. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -97,8 +115,11 @@ public RequestInformation toGetRequestInformation() { * The task-level processing results for this subject. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -109,8 +130,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link TaskProcessingResultItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public TaskProcessingResultItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new TaskProcessingResultItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/subjectprocessingresults/item/taskprocessingresults/item/microsoftgraphidentitygovernanceresume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/subjectprocessingresults/item/taskprocessingresults/item/microsoftgraphidentitygovernanceresume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.java index 933ec54ca42..4737ab734c3 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/subjectprocessingresults/item/taskprocessingresults/item/microsoftgraphidentitygovernanceresume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/subjectprocessingresults/item/taskprocessingresults/item/microsoftgraphidentitygovernanceresume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.java @@ -38,8 +38,11 @@ public MicrosoftGraphIdentityGovernanceResumeRequestBuilder(@jakarta.annotation. * Resume a taskProcessingResult that's inProgress. In the default case, an Azure Logic Apps system-assigned managed identity calls this API. For more information, see Lifecycle Workflows extensibility approach. * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final ResumePostRequestBody body) { post(body, null); } @@ -48,8 +51,11 @@ public void post(@jakarta.annotation.Nonnull final ResumePostRequestBody body) { * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final ResumePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -61,8 +67,11 @@ public void post(@jakarta.annotation.Nonnull final ResumePostRequestBody body, @ * Resume a taskProcessingResult that's inProgress. In the default case, an Azure Logic Apps system-assigned managed identity calls this API. For more information, see Lifecycle Workflows extensibility approach. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ResumePostRequestBody body) { return toPostRequestInformation(body, null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ResumePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -85,8 +97,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link MicrosoftGraphIdentityGovernanceResumeRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public MicrosoftGraphIdentityGovernanceResumeRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new MicrosoftGraphIdentityGovernanceResumeRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/subjectprocessingresults/item/taskprocessingresults/item/subject/SubjectRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/subjectprocessingresults/item/taskprocessingresults/item/subject/SubjectRequestBuilder.java index 4d05b36a77c..0c98ac3812a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/subjectprocessingresults/item/taskprocessingresults/item/subject/SubjectRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/subjectprocessingresults/item/taskprocessingresults/item/subject/SubjectRequestBuilder.java @@ -25,7 +25,10 @@ public class SubjectRequestBuilder extends BaseRequestBuilder { /** * The mailboxSettings property * @return a {@link MailboxSettingsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public MailboxSettingsRequestBuilder mailboxSettings() { return new MailboxSettingsRequestBuilder(pathParameters, requestAdapter); @@ -33,7 +36,10 @@ public MailboxSettingsRequestBuilder mailboxSettings() { /** * The serviceProvisioningErrors property * @return a {@link ServiceProvisioningErrorsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ServiceProvisioningErrorsRequestBuilder serviceProvisioningErrors() { return new ServiceProvisioningErrorsRequestBuilder(pathParameters, requestAdapter); @@ -58,8 +64,11 @@ public SubjectRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j * The unique identifier of the Microsoft Entra user targeted for the task execution.Supports $filter(eq, ne) and $expand. * @return a {@link User} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public User get() { return get(null); } @@ -68,8 +77,11 @@ public User get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link User} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public User get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -79,8 +91,11 @@ public User get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -100,8 +118,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link SubjectRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public SubjectRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new SubjectRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/subjectprocessingresults/item/taskprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/subjectprocessingresults/item/taskprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java index 2c23b501160..4b0d9024dea 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/subjectprocessingresults/item/taskprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/subjectprocessingresults/item/taskprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java @@ -40,8 +40,11 @@ public MailboxSettingsRequestBuilder(@jakarta.annotation.Nonnull final String ra * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Requires $select to retrieve. * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings get() { return get(null); } @@ -50,8 +53,11 @@ public MailboxSettings get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -63,8 +69,11 @@ public MailboxSettings get(@jakarta.annotation.Nullable final java.util.function * @param body The request body * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings body) { return patch(body, null); } @@ -74,8 +83,11 @@ public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings b * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -86,8 +98,11 @@ public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings b /** * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Requires $select to retrieve. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -95,8 +110,11 @@ public RequestInformation toGetRequestInformation() { * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Requires $select to retrieve. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -107,8 +125,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update property mailboxSettings value. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxSettings body) { return toPatchRequestInformation(body, null); } @@ -117,8 +138,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -131,8 +155,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link MailboxSettingsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public MailboxSettingsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new MailboxSettingsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/subjectprocessingresults/item/taskprocessingresults/item/subject/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/subjectprocessingresults/item/taskprocessingresults/item/subject/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java index 7d679510213..df8d333b5e9 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/subjectprocessingresults/item/taskprocessingresults/item/subject/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/subjectprocessingresults/item/taskprocessingresults/item/subject/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java @@ -24,7 +24,10 @@ public class ServiceProvisioningErrorsRequestBuilder extends BaseRequestBuilder /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -49,8 +52,11 @@ public ServiceProvisioningErrorsRequestBuilder(@jakarta.annotation.Nonnull final * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. * @return a {@link ServiceProvisioningErrorCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ServiceProvisioningErrorCollectionResponse get() { return get(null); } @@ -59,8 +65,11 @@ public ServiceProvisioningErrorCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ServiceProvisioningErrorCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ServiceProvisioningErrorCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -70,8 +79,11 @@ public ServiceProvisioningErrorCollectionResponse get(@jakarta.annotation.Nullab /** * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -79,8 +91,11 @@ public RequestInformation toGetRequestInformation() { * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -91,8 +106,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ServiceProvisioningErrorsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ServiceProvisioningErrorsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ServiceProvisioningErrorsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/subjectprocessingresults/item/taskprocessingresults/item/subject/serviceprovisioningerrors/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/subjectprocessingresults/item/taskprocessingresults/item/subject/serviceprovisioningerrors/count/CountRequestBuilder.java index b407bc3273f..207bb48bb04 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/subjectprocessingresults/item/taskprocessingresults/item/subject/serviceprovisioningerrors/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/subjectprocessingresults/item/taskprocessingresults/item/subject/serviceprovisioningerrors/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/subjectprocessingresults/item/taskprocessingresults/item/task/TaskRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/subjectprocessingresults/item/taskprocessingresults/item/task/TaskRequestBuilder.java index b90b2ad503d..25562466fe6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/subjectprocessingresults/item/taskprocessingresults/item/task/TaskRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/subjectprocessingresults/item/taskprocessingresults/item/task/TaskRequestBuilder.java @@ -40,8 +40,11 @@ public TaskRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jaka * The related workflow task * @return a {@link Task} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Task get() { return get(null); } @@ -50,8 +53,11 @@ public Task get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Task} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Task get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public Task get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link TaskRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public TaskRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new TaskRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/subjectprocessingresults/microsoftgraphidentitygovernancesummarywithstartdatetimewithenddatetime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/subjectprocessingresults/microsoftgraphidentitygovernancesummarywithstartdatetimewithenddatetime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.java new file mode 100644 index 00000000000..bf9c8aa10f3 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/subjectprocessingresults/microsoftgraphidentitygovernancesummarywithstartdatetimewithenddatetime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.java @@ -0,0 +1,116 @@ +package com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.subjectprocessingresults.microsoftgraphidentitygovernancesummarywithstartdatetimewithenddatetime; + +import com.microsoft.graph.beta.models.identitygovernance.SubjectSummary; +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.time.OffsetDateTime; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to call the summary method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder} and sets the default values. + * @param endDateTime Usage: endDateTime={endDateTime} + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + * @param startDateTime Usage: startDateTime={startDateTime} + */ + public MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter, @jakarta.annotation.Nullable final OffsetDateTime endDateTime, @jakarta.annotation.Nullable final OffsetDateTime startDateTime) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/workflows/{workflow%2Did}/runs/{run%2Did}/subjectProcessingResults/microsoft.graph.identityGovernance.summary(startDateTime={startDateTime},endDateTime={endDateTime})", pathParameters); + this.pathParameters.put("endDateTime", endDateTime); + this.pathParameters.put("startDateTime", startDateTime); + } + /** + * Instantiates a new {@link MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/workflows/{workflow%2Did}/runs/{run%2Did}/subjectProcessingResults/microsoft.graph.identityGovernance.summary(startDateTime={startDateTime},endDateTime={endDateTime})", rawUrl); + } + /** + * Invoke function summary + * @return a {@link SubjectSummary} + * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nullable + @Deprecated + public SubjectSummary get() { + return get(null); + } + /** + * Invoke function summary + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link SubjectSummary} + * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nullable + @Deprecated + public SubjectSummary get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, SubjectSummary::createFromDiscriminatorValue); + } + /** + * Invoke function summary + * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Invoke function summary + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new); + 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. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/taskprocessingresults/TaskProcessingResultsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/taskprocessingresults/TaskProcessingResultsRequestBuilder.java index 055f2d79e63..143c20b5fa1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/taskprocessingresults/TaskProcessingResultsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/taskprocessingresults/TaskProcessingResultsRequestBuilder.java @@ -25,7 +25,10 @@ public class TaskProcessingResultsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -34,8 +37,11 @@ public CountRequestBuilder count() { * Provides operations to manage the taskProcessingResults property of the microsoft.graph.identityGovernance.run entity. * @param taskProcessingResultId The unique identifier of taskProcessingResult * @return a {@link TaskProcessingResultItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public TaskProcessingResultItemRequestBuilder byTaskProcessingResultId(@jakarta.annotation.Nonnull final String taskProcessingResultId) { Objects.requireNonNull(taskProcessingResultId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -62,8 +68,11 @@ public TaskProcessingResultsRequestBuilder(@jakarta.annotation.Nonnull final Str * The related taskProcessingResults. * @return a {@link TaskProcessingResultCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public TaskProcessingResultCollectionResponse get() { return get(null); } @@ -72,8 +81,11 @@ public TaskProcessingResultCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link TaskProcessingResultCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public TaskProcessingResultCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -83,8 +95,11 @@ public TaskProcessingResultCollectionResponse get(@jakarta.annotation.Nullable f /** * The related taskProcessingResults. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -92,8 +107,11 @@ public RequestInformation toGetRequestInformation() { * The related taskProcessingResults. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -104,8 +122,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link TaskProcessingResultsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public TaskProcessingResultsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new TaskProcessingResultsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/taskprocessingresults/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/taskprocessingresults/count/CountRequestBuilder.java index 70606c63dca..7ee431af931 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/taskprocessingresults/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/taskprocessingresults/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/taskprocessingresults/item/TaskProcessingResultItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/taskprocessingresults/item/TaskProcessingResultItemRequestBuilder.java index cb448083ccf..e44544d595a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/taskprocessingresults/item/TaskProcessingResultItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/taskprocessingresults/item/TaskProcessingResultItemRequestBuilder.java @@ -26,7 +26,10 @@ public class TaskProcessingResultItemRequestBuilder extends BaseRequestBuilder { /** * Provides operations to call the resume method. * @return a {@link MicrosoftGraphIdentityGovernanceResumeRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public MicrosoftGraphIdentityGovernanceResumeRequestBuilder microsoftGraphIdentityGovernanceResume() { return new MicrosoftGraphIdentityGovernanceResumeRequestBuilder(pathParameters, requestAdapter); @@ -34,7 +37,10 @@ public MicrosoftGraphIdentityGovernanceResumeRequestBuilder microsoftGraphIdenti /** * Provides operations to manage the subject property of the microsoft.graph.identityGovernance.taskProcessingResult entity. * @return a {@link SubjectRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public SubjectRequestBuilder subject() { return new SubjectRequestBuilder(pathParameters, requestAdapter); @@ -42,7 +48,10 @@ public SubjectRequestBuilder subject() { /** * Provides operations to manage the task property of the microsoft.graph.identityGovernance.taskProcessingResult entity. * @return a {@link TaskRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public TaskRequestBuilder task() { return new TaskRequestBuilder(pathParameters, requestAdapter); @@ -67,8 +76,11 @@ public TaskProcessingResultItemRequestBuilder(@jakarta.annotation.Nonnull final * The related taskProcessingResults. * @return a {@link TaskProcessingResult} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public TaskProcessingResult get() { return get(null); } @@ -77,8 +89,11 @@ public TaskProcessingResult get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link TaskProcessingResult} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public TaskProcessingResult get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -88,8 +103,11 @@ public TaskProcessingResult get(@jakarta.annotation.Nullable final java.util.fun /** * The related taskProcessingResults. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -97,8 +115,11 @@ public RequestInformation toGetRequestInformation() { * The related taskProcessingResults. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -109,8 +130,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link TaskProcessingResultItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public TaskProcessingResultItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new TaskProcessingResultItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/taskprocessingresults/item/microsoftgraphidentitygovernanceresume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/taskprocessingresults/item/microsoftgraphidentitygovernanceresume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.java index f1e2fc17b38..291602379f1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/taskprocessingresults/item/microsoftgraphidentitygovernanceresume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/taskprocessingresults/item/microsoftgraphidentitygovernanceresume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.java @@ -38,8 +38,11 @@ public MicrosoftGraphIdentityGovernanceResumeRequestBuilder(@jakarta.annotation. * Resume a taskProcessingResult that's inProgress. In the default case, an Azure Logic Apps system-assigned managed identity calls this API. For more information, see Lifecycle Workflows extensibility approach. * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final ResumePostRequestBody body) { post(body, null); } @@ -48,8 +51,11 @@ public void post(@jakarta.annotation.Nonnull final ResumePostRequestBody body) { * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final ResumePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -61,8 +67,11 @@ public void post(@jakarta.annotation.Nonnull final ResumePostRequestBody body, @ * Resume a taskProcessingResult that's inProgress. In the default case, an Azure Logic Apps system-assigned managed identity calls this API. For more information, see Lifecycle Workflows extensibility approach. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ResumePostRequestBody body) { return toPostRequestInformation(body, null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ResumePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -85,8 +97,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link MicrosoftGraphIdentityGovernanceResumeRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public MicrosoftGraphIdentityGovernanceResumeRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new MicrosoftGraphIdentityGovernanceResumeRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/taskprocessingresults/item/subject/SubjectRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/taskprocessingresults/item/subject/SubjectRequestBuilder.java index d614df9e14d..aa0520bf745 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/taskprocessingresults/item/subject/SubjectRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/taskprocessingresults/item/subject/SubjectRequestBuilder.java @@ -25,7 +25,10 @@ public class SubjectRequestBuilder extends BaseRequestBuilder { /** * The mailboxSettings property * @return a {@link MailboxSettingsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public MailboxSettingsRequestBuilder mailboxSettings() { return new MailboxSettingsRequestBuilder(pathParameters, requestAdapter); @@ -33,7 +36,10 @@ public MailboxSettingsRequestBuilder mailboxSettings() { /** * The serviceProvisioningErrors property * @return a {@link ServiceProvisioningErrorsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ServiceProvisioningErrorsRequestBuilder serviceProvisioningErrors() { return new ServiceProvisioningErrorsRequestBuilder(pathParameters, requestAdapter); @@ -58,8 +64,11 @@ public SubjectRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j * The unique identifier of the Microsoft Entra user targeted for the task execution.Supports $filter(eq, ne) and $expand. * @return a {@link User} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public User get() { return get(null); } @@ -68,8 +77,11 @@ public User get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link User} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public User get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -79,8 +91,11 @@ public User get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -100,8 +118,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link SubjectRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public SubjectRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new SubjectRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/taskprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/taskprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java index eebafa978dc..630eb290164 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/taskprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/taskprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java @@ -40,8 +40,11 @@ public MailboxSettingsRequestBuilder(@jakarta.annotation.Nonnull final String ra * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Requires $select to retrieve. * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings get() { return get(null); } @@ -50,8 +53,11 @@ public MailboxSettings get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -63,8 +69,11 @@ public MailboxSettings get(@jakarta.annotation.Nullable final java.util.function * @param body The request body * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings body) { return patch(body, null); } @@ -74,8 +83,11 @@ public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings b * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -86,8 +98,11 @@ public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings b /** * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Requires $select to retrieve. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -95,8 +110,11 @@ public RequestInformation toGetRequestInformation() { * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Requires $select to retrieve. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -107,8 +125,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update property mailboxSettings value. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxSettings body) { return toPatchRequestInformation(body, null); } @@ -117,8 +138,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -131,8 +155,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link MailboxSettingsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public MailboxSettingsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new MailboxSettingsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/taskprocessingresults/item/subject/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/taskprocessingresults/item/subject/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java index 2d26bfb8765..44f4aea74aa 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/taskprocessingresults/item/subject/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/taskprocessingresults/item/subject/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java @@ -24,7 +24,10 @@ public class ServiceProvisioningErrorsRequestBuilder extends BaseRequestBuilder /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -49,8 +52,11 @@ public ServiceProvisioningErrorsRequestBuilder(@jakarta.annotation.Nonnull final * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. * @return a {@link ServiceProvisioningErrorCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ServiceProvisioningErrorCollectionResponse get() { return get(null); } @@ -59,8 +65,11 @@ public ServiceProvisioningErrorCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ServiceProvisioningErrorCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ServiceProvisioningErrorCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -70,8 +79,11 @@ public ServiceProvisioningErrorCollectionResponse get(@jakarta.annotation.Nullab /** * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -79,8 +91,11 @@ public RequestInformation toGetRequestInformation() { * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -91,8 +106,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ServiceProvisioningErrorsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ServiceProvisioningErrorsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ServiceProvisioningErrorsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/taskprocessingresults/item/subject/serviceprovisioningerrors/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/taskprocessingresults/item/subject/serviceprovisioningerrors/count/CountRequestBuilder.java index fcd43dc079a..2d693c36f20 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/taskprocessingresults/item/subject/serviceprovisioningerrors/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/taskprocessingresults/item/subject/serviceprovisioningerrors/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/taskprocessingresults/item/task/TaskRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/taskprocessingresults/item/task/TaskRequestBuilder.java index 64e6a8b5e64..f80e24e2063 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/taskprocessingresults/item/task/TaskRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/taskprocessingresults/item/task/TaskRequestBuilder.java @@ -40,8 +40,11 @@ public TaskRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jaka * The related workflow task * @return a {@link Task} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Task get() { return get(null); } @@ -50,8 +53,11 @@ public Task get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Task} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Task get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public Task get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link TaskRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public TaskRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new TaskRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/userprocessingresults/UserProcessingResultsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/userprocessingresults/UserProcessingResultsRequestBuilder.java index 436049a94bd..923cb39aee6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/userprocessingresults/UserProcessingResultsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/userprocessingresults/UserProcessingResultsRequestBuilder.java @@ -27,7 +27,10 @@ public class UserProcessingResultsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -36,8 +39,11 @@ public CountRequestBuilder count() { * Provides operations to manage the userProcessingResults property of the microsoft.graph.identityGovernance.run entity. * @param userProcessingResultId The unique identifier of userProcessingResult * @return a {@link UserProcessingResultItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public UserProcessingResultItemRequestBuilder byUserProcessingResultId(@jakarta.annotation.Nonnull final String userProcessingResultId) { Objects.requireNonNull(userProcessingResultId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -64,8 +70,11 @@ public UserProcessingResultsRequestBuilder(@jakarta.annotation.Nonnull final Str * The associated individual user execution. * @return a {@link UserProcessingResultCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public UserProcessingResultCollectionResponse get() { return get(null); } @@ -74,8 +83,11 @@ public UserProcessingResultCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link UserProcessingResultCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public UserProcessingResultCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -87,8 +99,11 @@ public UserProcessingResultCollectionResponse get(@jakarta.annotation.Nullable f * @param endDateTime Usage: endDateTime={endDateTime} * @param startDateTime Usage: startDateTime={startDateTime} * @return a {@link MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime(@jakarta.annotation.Nonnull final OffsetDateTime endDateTime, @jakarta.annotation.Nonnull final OffsetDateTime startDateTime) { Objects.requireNonNull(endDateTime); Objects.requireNonNull(startDateTime); @@ -97,8 +112,11 @@ public MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRe /** * The associated individual user execution. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -106,8 +124,11 @@ public RequestInformation toGetRequestInformation() { * The associated individual user execution. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link UserProcessingResultsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public UserProcessingResultsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new UserProcessingResultsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/userprocessingresults/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/userprocessingresults/count/CountRequestBuilder.java index 354ddd400fa..154b2db1797 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/userprocessingresults/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/userprocessingresults/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/userprocessingresults/item/UserProcessingResultItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/userprocessingresults/item/UserProcessingResultItemRequestBuilder.java index cd21935b01b..629afa917bb 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/userprocessingresults/item/UserProcessingResultItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/userprocessingresults/item/UserProcessingResultItemRequestBuilder.java @@ -26,7 +26,10 @@ public class UserProcessingResultItemRequestBuilder extends BaseRequestBuilder { /** * Provides operations to manage the reprocessedRuns property of the microsoft.graph.identityGovernance.userProcessingResult entity. * @return a {@link ReprocessedRunsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ReprocessedRunsRequestBuilder reprocessedRuns() { return new ReprocessedRunsRequestBuilder(pathParameters, requestAdapter); @@ -34,7 +37,10 @@ public ReprocessedRunsRequestBuilder reprocessedRuns() { /** * Provides operations to manage the subject property of the microsoft.graph.identityGovernance.userProcessingResult entity. * @return a {@link SubjectRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public SubjectRequestBuilder subject() { return new SubjectRequestBuilder(pathParameters, requestAdapter); @@ -42,7 +48,10 @@ public SubjectRequestBuilder subject() { /** * Provides operations to manage the taskProcessingResults property of the microsoft.graph.identityGovernance.userProcessingResult entity. * @return a {@link TaskProcessingResultsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public TaskProcessingResultsRequestBuilder taskProcessingResults() { return new TaskProcessingResultsRequestBuilder(pathParameters, requestAdapter); @@ -67,8 +76,11 @@ public UserProcessingResultItemRequestBuilder(@jakarta.annotation.Nonnull final * The associated individual user execution. * @return a {@link UserProcessingResult} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public UserProcessingResult get() { return get(null); } @@ -77,8 +89,11 @@ public UserProcessingResult get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link UserProcessingResult} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public UserProcessingResult get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -88,8 +103,11 @@ public UserProcessingResult get(@jakarta.annotation.Nullable final java.util.fun /** * The associated individual user execution. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -97,8 +115,11 @@ public RequestInformation toGetRequestInformation() { * The associated individual user execution. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -109,8 +130,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link UserProcessingResultItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public UserProcessingResultItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new UserProcessingResultItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/userprocessingresults/item/reprocessedruns/ReprocessedRunsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/userprocessingresults/item/reprocessedruns/ReprocessedRunsRequestBuilder.java index 937274fa606..543efa26bf3 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/userprocessingresults/item/reprocessedruns/ReprocessedRunsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/userprocessingresults/item/reprocessedruns/ReprocessedRunsRequestBuilder.java @@ -25,7 +25,10 @@ public class ReprocessedRunsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -34,8 +37,11 @@ public CountRequestBuilder count() { * Provides operations to manage the reprocessedRuns property of the microsoft.graph.identityGovernance.userProcessingResult entity. * @param runId1 The unique identifier of run * @return a {@link RunItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RunItemRequestBuilder byRunId1(@jakarta.annotation.Nonnull final String runId1) { Objects.requireNonNull(runId1); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -62,8 +68,11 @@ public ReprocessedRunsRequestBuilder(@jakarta.annotation.Nonnull final String ra * The related reprocessed workflow run. * @return a {@link RunCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public RunCollectionResponse get() { return get(null); } @@ -72,8 +81,11 @@ public RunCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RunCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public RunCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -83,8 +95,11 @@ public RunCollectionResponse get(@jakarta.annotation.Nullable final java.util.fu /** * The related reprocessed workflow run. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -92,8 +107,11 @@ public RequestInformation toGetRequestInformation() { * The related reprocessed workflow run. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -104,8 +122,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ReprocessedRunsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ReprocessedRunsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ReprocessedRunsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/userprocessingresults/item/reprocessedruns/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/userprocessingresults/item/reprocessedruns/count/CountRequestBuilder.java index 66a8844fbac..c6394dca6a2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/userprocessingresults/item/reprocessedruns/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/userprocessingresults/item/reprocessedruns/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/userprocessingresults/item/reprocessedruns/item/RunItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/userprocessingresults/item/reprocessedruns/item/RunItemRequestBuilder.java index de094b95c50..f859a41089f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/userprocessingresults/item/reprocessedruns/item/RunItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/userprocessingresults/item/reprocessedruns/item/RunItemRequestBuilder.java @@ -40,8 +40,11 @@ public RunItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j * The related reprocessed workflow run. * @return a {@link Run} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Run get() { return get(null); } @@ -50,8 +53,11 @@ public Run get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Run} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Run get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public Run get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RunItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RunItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RunItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/userprocessingresults/item/subject/SubjectRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/userprocessingresults/item/subject/SubjectRequestBuilder.java index 3ca92d3d010..de8f2aa2a4d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/userprocessingresults/item/subject/SubjectRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/userprocessingresults/item/subject/SubjectRequestBuilder.java @@ -25,7 +25,10 @@ public class SubjectRequestBuilder extends BaseRequestBuilder { /** * The mailboxSettings property * @return a {@link MailboxSettingsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public MailboxSettingsRequestBuilder mailboxSettings() { return new MailboxSettingsRequestBuilder(pathParameters, requestAdapter); @@ -33,7 +36,10 @@ public MailboxSettingsRequestBuilder mailboxSettings() { /** * The serviceProvisioningErrors property * @return a {@link ServiceProvisioningErrorsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ServiceProvisioningErrorsRequestBuilder serviceProvisioningErrors() { return new ServiceProvisioningErrorsRequestBuilder(pathParameters, requestAdapter); @@ -58,8 +64,11 @@ public SubjectRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j * The unique identifier of the user targeted for the taskProcessingResult.Supports $filter(eq, ne) and $expand. * @return a {@link User} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public User get() { return get(null); } @@ -68,8 +77,11 @@ public User get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link User} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public User get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -79,8 +91,11 @@ public User get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -100,8 +118,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link SubjectRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public SubjectRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new SubjectRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/userprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/userprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java index b0d58fad9ac..50d117560ee 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/userprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/userprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java @@ -40,8 +40,11 @@ public MailboxSettingsRequestBuilder(@jakarta.annotation.Nonnull final String ra * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Requires $select to retrieve. * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings get() { return get(null); } @@ -50,8 +53,11 @@ public MailboxSettings get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -63,8 +69,11 @@ public MailboxSettings get(@jakarta.annotation.Nullable final java.util.function * @param body The request body * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings body) { return patch(body, null); } @@ -74,8 +83,11 @@ public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings b * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -86,8 +98,11 @@ public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings b /** * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Requires $select to retrieve. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -95,8 +110,11 @@ public RequestInformation toGetRequestInformation() { * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Requires $select to retrieve. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -107,8 +125,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update property mailboxSettings value. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxSettings body) { return toPatchRequestInformation(body, null); } @@ -117,8 +138,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -131,8 +155,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link MailboxSettingsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public MailboxSettingsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new MailboxSettingsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/userprocessingresults/item/subject/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/userprocessingresults/item/subject/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java index bb1a2c478da..95bd50f0bf1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/userprocessingresults/item/subject/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/userprocessingresults/item/subject/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java @@ -24,7 +24,10 @@ public class ServiceProvisioningErrorsRequestBuilder extends BaseRequestBuilder /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -49,8 +52,11 @@ public ServiceProvisioningErrorsRequestBuilder(@jakarta.annotation.Nonnull final * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. * @return a {@link ServiceProvisioningErrorCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ServiceProvisioningErrorCollectionResponse get() { return get(null); } @@ -59,8 +65,11 @@ public ServiceProvisioningErrorCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ServiceProvisioningErrorCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ServiceProvisioningErrorCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -70,8 +79,11 @@ public ServiceProvisioningErrorCollectionResponse get(@jakarta.annotation.Nullab /** * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -79,8 +91,11 @@ public RequestInformation toGetRequestInformation() { * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -91,8 +106,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ServiceProvisioningErrorsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ServiceProvisioningErrorsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ServiceProvisioningErrorsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/userprocessingresults/item/subject/serviceprovisioningerrors/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/userprocessingresults/item/subject/serviceprovisioningerrors/count/CountRequestBuilder.java index 346a8031f13..26ae706627d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/userprocessingresults/item/subject/serviceprovisioningerrors/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/userprocessingresults/item/subject/serviceprovisioningerrors/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/userprocessingresults/item/taskprocessingresults/TaskProcessingResultsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/userprocessingresults/item/taskprocessingresults/TaskProcessingResultsRequestBuilder.java index b44f8455d8f..5e4d8bac110 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/userprocessingresults/item/taskprocessingresults/TaskProcessingResultsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/userprocessingresults/item/taskprocessingresults/TaskProcessingResultsRequestBuilder.java @@ -25,7 +25,10 @@ public class TaskProcessingResultsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -34,8 +37,11 @@ public CountRequestBuilder count() { * Provides operations to manage the taskProcessingResults property of the microsoft.graph.identityGovernance.userProcessingResult entity. * @param taskProcessingResultId The unique identifier of taskProcessingResult * @return a {@link TaskProcessingResultItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public TaskProcessingResultItemRequestBuilder byTaskProcessingResultId(@jakarta.annotation.Nonnull final String taskProcessingResultId) { Objects.requireNonNull(taskProcessingResultId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -62,8 +68,11 @@ public TaskProcessingResultsRequestBuilder(@jakarta.annotation.Nonnull final Str * The associated individual task execution. * @return a {@link TaskProcessingResultCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public TaskProcessingResultCollectionResponse get() { return get(null); } @@ -72,8 +81,11 @@ public TaskProcessingResultCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link TaskProcessingResultCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public TaskProcessingResultCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -83,8 +95,11 @@ public TaskProcessingResultCollectionResponse get(@jakarta.annotation.Nullable f /** * The associated individual task execution. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -92,8 +107,11 @@ public RequestInformation toGetRequestInformation() { * The associated individual task execution. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -104,8 +122,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link TaskProcessingResultsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public TaskProcessingResultsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new TaskProcessingResultsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/userprocessingresults/item/taskprocessingresults/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/userprocessingresults/item/taskprocessingresults/count/CountRequestBuilder.java index ecf2064a3ab..2218d795bdf 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/userprocessingresults/item/taskprocessingresults/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/userprocessingresults/item/taskprocessingresults/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/userprocessingresults/item/taskprocessingresults/item/TaskProcessingResultItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/userprocessingresults/item/taskprocessingresults/item/TaskProcessingResultItemRequestBuilder.java index 691cdf86947..f2d6d7e9e2a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/userprocessingresults/item/taskprocessingresults/item/TaskProcessingResultItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/userprocessingresults/item/taskprocessingresults/item/TaskProcessingResultItemRequestBuilder.java @@ -26,7 +26,10 @@ public class TaskProcessingResultItemRequestBuilder extends BaseRequestBuilder { /** * Provides operations to call the resume method. * @return a {@link MicrosoftGraphIdentityGovernanceResumeRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public MicrosoftGraphIdentityGovernanceResumeRequestBuilder microsoftGraphIdentityGovernanceResume() { return new MicrosoftGraphIdentityGovernanceResumeRequestBuilder(pathParameters, requestAdapter); @@ -34,7 +37,10 @@ public MicrosoftGraphIdentityGovernanceResumeRequestBuilder microsoftGraphIdenti /** * Provides operations to manage the subject property of the microsoft.graph.identityGovernance.taskProcessingResult entity. * @return a {@link SubjectRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public SubjectRequestBuilder subject() { return new SubjectRequestBuilder(pathParameters, requestAdapter); @@ -42,7 +48,10 @@ public SubjectRequestBuilder subject() { /** * Provides operations to manage the task property of the microsoft.graph.identityGovernance.taskProcessingResult entity. * @return a {@link TaskRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public TaskRequestBuilder task() { return new TaskRequestBuilder(pathParameters, requestAdapter); @@ -67,8 +76,11 @@ public TaskProcessingResultItemRequestBuilder(@jakarta.annotation.Nonnull final * The associated individual task execution. * @return a {@link TaskProcessingResult} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public TaskProcessingResult get() { return get(null); } @@ -77,8 +89,11 @@ public TaskProcessingResult get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link TaskProcessingResult} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public TaskProcessingResult get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -88,8 +103,11 @@ public TaskProcessingResult get(@jakarta.annotation.Nullable final java.util.fun /** * The associated individual task execution. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -97,8 +115,11 @@ public RequestInformation toGetRequestInformation() { * The associated individual task execution. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -109,8 +130,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link TaskProcessingResultItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public TaskProcessingResultItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new TaskProcessingResultItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/userprocessingresults/item/taskprocessingresults/item/microsoftgraphidentitygovernanceresume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/userprocessingresults/item/taskprocessingresults/item/microsoftgraphidentitygovernanceresume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.java index 4ecf62d3cf4..4a8663742f2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/userprocessingresults/item/taskprocessingresults/item/microsoftgraphidentitygovernanceresume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/userprocessingresults/item/taskprocessingresults/item/microsoftgraphidentitygovernanceresume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.java @@ -38,8 +38,11 @@ public MicrosoftGraphIdentityGovernanceResumeRequestBuilder(@jakarta.annotation. * Resume a taskProcessingResult that's inProgress. In the default case, an Azure Logic Apps system-assigned managed identity calls this API. For more information, see Lifecycle Workflows extensibility approach. * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final ResumePostRequestBody body) { post(body, null); } @@ -48,8 +51,11 @@ public void post(@jakarta.annotation.Nonnull final ResumePostRequestBody body) { * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final ResumePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -61,8 +67,11 @@ public void post(@jakarta.annotation.Nonnull final ResumePostRequestBody body, @ * Resume a taskProcessingResult that's inProgress. In the default case, an Azure Logic Apps system-assigned managed identity calls this API. For more information, see Lifecycle Workflows extensibility approach. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ResumePostRequestBody body) { return toPostRequestInformation(body, null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ResumePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -85,8 +97,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link MicrosoftGraphIdentityGovernanceResumeRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public MicrosoftGraphIdentityGovernanceResumeRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new MicrosoftGraphIdentityGovernanceResumeRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/userprocessingresults/item/taskprocessingresults/item/subject/SubjectRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/userprocessingresults/item/taskprocessingresults/item/subject/SubjectRequestBuilder.java index 4aa24199f58..e8dc19f5cbc 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/userprocessingresults/item/taskprocessingresults/item/subject/SubjectRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/userprocessingresults/item/taskprocessingresults/item/subject/SubjectRequestBuilder.java @@ -25,7 +25,10 @@ public class SubjectRequestBuilder extends BaseRequestBuilder { /** * The mailboxSettings property * @return a {@link MailboxSettingsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public MailboxSettingsRequestBuilder mailboxSettings() { return new MailboxSettingsRequestBuilder(pathParameters, requestAdapter); @@ -33,7 +36,10 @@ public MailboxSettingsRequestBuilder mailboxSettings() { /** * The serviceProvisioningErrors property * @return a {@link ServiceProvisioningErrorsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ServiceProvisioningErrorsRequestBuilder serviceProvisioningErrors() { return new ServiceProvisioningErrorsRequestBuilder(pathParameters, requestAdapter); @@ -58,8 +64,11 @@ public SubjectRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j * The unique identifier of the Microsoft Entra user targeted for the task execution.Supports $filter(eq, ne) and $expand. * @return a {@link User} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public User get() { return get(null); } @@ -68,8 +77,11 @@ public User get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link User} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public User get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -79,8 +91,11 @@ public User get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -100,8 +118,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link SubjectRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public SubjectRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new SubjectRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/userprocessingresults/item/taskprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/userprocessingresults/item/taskprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java index 442a60a6ebd..7dde33581d0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/userprocessingresults/item/taskprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/userprocessingresults/item/taskprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java @@ -40,8 +40,11 @@ public MailboxSettingsRequestBuilder(@jakarta.annotation.Nonnull final String ra * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Requires $select to retrieve. * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings get() { return get(null); } @@ -50,8 +53,11 @@ public MailboxSettings get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -63,8 +69,11 @@ public MailboxSettings get(@jakarta.annotation.Nullable final java.util.function * @param body The request body * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings body) { return patch(body, null); } @@ -74,8 +83,11 @@ public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings b * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -86,8 +98,11 @@ public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings b /** * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Requires $select to retrieve. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -95,8 +110,11 @@ public RequestInformation toGetRequestInformation() { * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Requires $select to retrieve. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -107,8 +125,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update property mailboxSettings value. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxSettings body) { return toPatchRequestInformation(body, null); } @@ -117,8 +138,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -131,8 +155,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link MailboxSettingsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public MailboxSettingsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new MailboxSettingsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/userprocessingresults/item/taskprocessingresults/item/subject/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/userprocessingresults/item/taskprocessingresults/item/subject/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java index 969940178b2..36a4b56404b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/userprocessingresults/item/taskprocessingresults/item/subject/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/userprocessingresults/item/taskprocessingresults/item/subject/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java @@ -24,7 +24,10 @@ public class ServiceProvisioningErrorsRequestBuilder extends BaseRequestBuilder /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -49,8 +52,11 @@ public ServiceProvisioningErrorsRequestBuilder(@jakarta.annotation.Nonnull final * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. * @return a {@link ServiceProvisioningErrorCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ServiceProvisioningErrorCollectionResponse get() { return get(null); } @@ -59,8 +65,11 @@ public ServiceProvisioningErrorCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ServiceProvisioningErrorCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ServiceProvisioningErrorCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -70,8 +79,11 @@ public ServiceProvisioningErrorCollectionResponse get(@jakarta.annotation.Nullab /** * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -79,8 +91,11 @@ public RequestInformation toGetRequestInformation() { * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -91,8 +106,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ServiceProvisioningErrorsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ServiceProvisioningErrorsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ServiceProvisioningErrorsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/userprocessingresults/item/taskprocessingresults/item/subject/serviceprovisioningerrors/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/userprocessingresults/item/taskprocessingresults/item/subject/serviceprovisioningerrors/count/CountRequestBuilder.java index 3f00e00eb10..ad397390bdc 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/userprocessingresults/item/taskprocessingresults/item/subject/serviceprovisioningerrors/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/userprocessingresults/item/taskprocessingresults/item/subject/serviceprovisioningerrors/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/userprocessingresults/item/taskprocessingresults/item/task/TaskRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/userprocessingresults/item/taskprocessingresults/item/task/TaskRequestBuilder.java index a5f191a3ff4..4b24a494e23 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/userprocessingresults/item/taskprocessingresults/item/task/TaskRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/userprocessingresults/item/taskprocessingresults/item/task/TaskRequestBuilder.java @@ -40,8 +40,11 @@ public TaskRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jaka * The related workflow task * @return a {@link Task} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Task get() { return get(null); } @@ -50,8 +53,11 @@ public Task get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Task} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Task get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public Task get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link TaskRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public TaskRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new TaskRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/userprocessingresults/microsoftgraphidentitygovernancesummarywithstartdatetimewithenddatetime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/userprocessingresults/microsoftgraphidentitygovernancesummarywithstartdatetimewithenddatetime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.java index aa0d891aed0..372cab79f56 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/userprocessingresults/microsoftgraphidentitygovernancesummarywithstartdatetimewithenddatetime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/userprocessingresults/microsoftgraphidentitygovernancesummarywithstartdatetimewithenddatetime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.java @@ -44,8 +44,11 @@ public MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRe * Invoke function summary * @return a {@link UserSummary} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public UserSummary get() { return get(null); } @@ -54,8 +57,11 @@ public UserSummary get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link UserSummary} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public UserSummary get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -65,8 +71,11 @@ public UserSummary get(@jakarta.annotation.Nullable final java.util.function.Con /** * Invoke function summary * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -74,8 +83,11 @@ public RequestInformation toGetRequestInformation() { * Invoke function summary * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new); @@ -86,8 +98,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/microsoftgraphidentitygovernancesummarywithstartdatetimewithenddatetime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/microsoftgraphidentitygovernancesummarywithstartdatetimewithenddatetime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.java index c84563ca12d..2c3236ec89a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/microsoftgraphidentitygovernancesummarywithstartdatetimewithenddatetime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/microsoftgraphidentitygovernancesummarywithstartdatetimewithenddatetime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.java @@ -44,8 +44,11 @@ public MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRe * Invoke function summary * @return a {@link RunSummary} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public RunSummary get() { return get(null); } @@ -54,8 +57,11 @@ public RunSummary get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RunSummary} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public RunSummary get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -65,8 +71,11 @@ public RunSummary get(@jakarta.annotation.Nullable final java.util.function.Cons /** * Invoke function summary * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -74,8 +83,11 @@ public RequestInformation toGetRequestInformation() { * Invoke function summary * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new); @@ -86,8 +98,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/subjectprocessingresults/SubjectProcessingResultsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/subjectprocessingresults/SubjectProcessingResultsRequestBuilder.java index 96f2004ca32..4baac0557a7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/subjectprocessingresults/SubjectProcessingResultsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/subjectprocessingresults/SubjectProcessingResultsRequestBuilder.java @@ -2,6 +2,7 @@ import com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.subjectprocessingresults.count.CountRequestBuilder; import com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.subjectprocessingresults.item.SubjectProcessingResultItemRequestBuilder; +import com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.subjectprocessingresults.microsoftgraphidentitygovernancesummarywithstartdatetimewithenddatetime.MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder; import com.microsoft.graph.beta.models.identitygovernance.SubjectProcessingResultCollectionResponse; import com.microsoft.graph.beta.models.odataerrors.ODataError; import com.microsoft.kiota.BaseRequestBuilder; @@ -13,6 +14,7 @@ import com.microsoft.kiota.RequestOption; import com.microsoft.kiota.serialization.Parsable; import com.microsoft.kiota.serialization.ParsableFactory; +import java.time.OffsetDateTime; import java.util.Collection; import java.util.HashMap; import java.util.Map; @@ -25,7 +27,10 @@ public class SubjectProcessingResultsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -34,8 +39,11 @@ public CountRequestBuilder count() { * Provides operations to manage the subjectProcessingResults property of the microsoft.graph.identityGovernance.workflow entity. * @param subjectProcessingResultId The unique identifier of subjectProcessingResult * @return a {@link SubjectProcessingResultItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public SubjectProcessingResultItemRequestBuilder bySubjectProcessingResultId(@jakarta.annotation.Nonnull final String subjectProcessingResultId) { Objects.requireNonNull(subjectProcessingResultId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -62,8 +70,11 @@ public SubjectProcessingResultsRequestBuilder(@jakarta.annotation.Nonnull final * Get subjectProcessingResults from identityGovernance * @return a {@link SubjectProcessingResultCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public SubjectProcessingResultCollectionResponse get() { return get(null); } @@ -72,19 +83,40 @@ public SubjectProcessingResultCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SubjectProcessingResultCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public SubjectProcessingResultCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); return this.requestAdapter.send(requestInfo, errorMapping, SubjectProcessingResultCollectionResponse::createFromDiscriminatorValue); } + /** + * Provides operations to call the summary method. + * @param endDateTime Usage: endDateTime={endDateTime} + * @param startDateTime Usage: startDateTime={startDateTime} + * @return a {@link MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime(@jakarta.annotation.Nonnull final OffsetDateTime endDateTime, @jakarta.annotation.Nonnull final OffsetDateTime startDateTime) { + Objects.requireNonNull(endDateTime); + Objects.requireNonNull(startDateTime); + return new MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder(pathParameters, requestAdapter, endDateTime, startDateTime); + } /** * Get subjectProcessingResults from identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -92,8 +124,11 @@ public RequestInformation toGetRequestInformation() { * Get subjectProcessingResults from identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -104,8 +139,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link SubjectProcessingResultsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public SubjectProcessingResultsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new SubjectProcessingResultsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/subjectprocessingresults/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/subjectprocessingresults/count/CountRequestBuilder.java index be22e7b9892..64ebe829b51 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/subjectprocessingresults/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/subjectprocessingresults/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/subjectprocessingresults/item/SubjectProcessingResultItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/subjectprocessingresults/item/SubjectProcessingResultItemRequestBuilder.java index bcaec557926..d3a410da589 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/subjectprocessingresults/item/SubjectProcessingResultItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/subjectprocessingresults/item/SubjectProcessingResultItemRequestBuilder.java @@ -25,7 +25,10 @@ public class SubjectProcessingResultItemRequestBuilder extends BaseRequestBuilde /** * Provides operations to manage the reprocessedRuns property of the microsoft.graph.identityGovernance.subjectProcessingResult entity. * @return a {@link ReprocessedRunsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ReprocessedRunsRequestBuilder reprocessedRuns() { return new ReprocessedRunsRequestBuilder(pathParameters, requestAdapter); @@ -33,7 +36,10 @@ public ReprocessedRunsRequestBuilder reprocessedRuns() { /** * Provides operations to manage the taskProcessingResults property of the microsoft.graph.identityGovernance.subjectProcessingResult entity. * @return a {@link TaskProcessingResultsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public TaskProcessingResultsRequestBuilder taskProcessingResults() { return new TaskProcessingResultsRequestBuilder(pathParameters, requestAdapter); @@ -58,8 +64,11 @@ public SubjectProcessingResultItemRequestBuilder(@jakarta.annotation.Nonnull fin * Get subjectProcessingResults from identityGovernance * @return a {@link SubjectProcessingResult} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public SubjectProcessingResult get() { return get(null); } @@ -68,8 +77,11 @@ public SubjectProcessingResult get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SubjectProcessingResult} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public SubjectProcessingResult get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -79,8 +91,11 @@ public SubjectProcessingResult get(@jakarta.annotation.Nullable final java.util. /** * Get subjectProcessingResults from identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -88,8 +103,11 @@ public RequestInformation toGetRequestInformation() { * Get subjectProcessingResults from identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -100,8 +118,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link SubjectProcessingResultItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public SubjectProcessingResultItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new SubjectProcessingResultItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/subjectprocessingresults/item/reprocessedruns/ReprocessedRunsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/subjectprocessingresults/item/reprocessedruns/ReprocessedRunsRequestBuilder.java index 537c4a4d87e..2ec613e78eb 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/subjectprocessingresults/item/reprocessedruns/ReprocessedRunsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/subjectprocessingresults/item/reprocessedruns/ReprocessedRunsRequestBuilder.java @@ -25,7 +25,10 @@ public class ReprocessedRunsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -34,8 +37,11 @@ public CountRequestBuilder count() { * Provides operations to manage the reprocessedRuns property of the microsoft.graph.identityGovernance.subjectProcessingResult entity. * @param runId The unique identifier of run * @return a {@link RunItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RunItemRequestBuilder byRunId(@jakarta.annotation.Nonnull final String runId) { Objects.requireNonNull(runId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -62,8 +68,11 @@ public ReprocessedRunsRequestBuilder(@jakarta.annotation.Nonnull final String ra * The reprocessed runs associated with this subject processing result. * @return a {@link RunCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public RunCollectionResponse get() { return get(null); } @@ -72,8 +81,11 @@ public RunCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RunCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public RunCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -83,8 +95,11 @@ public RunCollectionResponse get(@jakarta.annotation.Nullable final java.util.fu /** * The reprocessed runs associated with this subject processing result. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -92,8 +107,11 @@ public RequestInformation toGetRequestInformation() { * The reprocessed runs associated with this subject processing result. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -104,8 +122,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ReprocessedRunsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ReprocessedRunsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ReprocessedRunsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/subjectprocessingresults/item/reprocessedruns/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/subjectprocessingresults/item/reprocessedruns/count/CountRequestBuilder.java index 5590c9c7ff8..474f403d85b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/subjectprocessingresults/item/reprocessedruns/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/subjectprocessingresults/item/reprocessedruns/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/subjectprocessingresults/item/reprocessedruns/item/RunItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/subjectprocessingresults/item/reprocessedruns/item/RunItemRequestBuilder.java index e9c0e798eca..394ddd14498 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/subjectprocessingresults/item/reprocessedruns/item/RunItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/subjectprocessingresults/item/reprocessedruns/item/RunItemRequestBuilder.java @@ -40,8 +40,11 @@ public RunItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j * The reprocessed runs associated with this subject processing result. * @return a {@link Run} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Run get() { return get(null); } @@ -50,8 +53,11 @@ public Run get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Run} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Run get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public Run get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RunItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RunItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RunItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/subjectprocessingresults/item/taskprocessingresults/TaskProcessingResultsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/subjectprocessingresults/item/taskprocessingresults/TaskProcessingResultsRequestBuilder.java index 86aa6253774..3fdc6de009f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/subjectprocessingresults/item/taskprocessingresults/TaskProcessingResultsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/subjectprocessingresults/item/taskprocessingresults/TaskProcessingResultsRequestBuilder.java @@ -25,7 +25,10 @@ public class TaskProcessingResultsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -34,8 +37,11 @@ public CountRequestBuilder count() { * Provides operations to manage the taskProcessingResults property of the microsoft.graph.identityGovernance.subjectProcessingResult entity. * @param taskProcessingResultId The unique identifier of taskProcessingResult * @return a {@link TaskProcessingResultItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public TaskProcessingResultItemRequestBuilder byTaskProcessingResultId(@jakarta.annotation.Nonnull final String taskProcessingResultId) { Objects.requireNonNull(taskProcessingResultId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -62,8 +68,11 @@ public TaskProcessingResultsRequestBuilder(@jakarta.annotation.Nonnull final Str * The task-level processing results for this subject. Read-only. * @return a {@link TaskProcessingResultCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public TaskProcessingResultCollectionResponse get() { return get(null); } @@ -72,8 +81,11 @@ public TaskProcessingResultCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link TaskProcessingResultCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public TaskProcessingResultCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -83,8 +95,11 @@ public TaskProcessingResultCollectionResponse get(@jakarta.annotation.Nullable f /** * The task-level processing results for this subject. Read-only. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -92,8 +107,11 @@ public RequestInformation toGetRequestInformation() { * The task-level processing results for this subject. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -104,8 +122,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link TaskProcessingResultsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public TaskProcessingResultsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new TaskProcessingResultsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/subjectprocessingresults/item/taskprocessingresults/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/subjectprocessingresults/item/taskprocessingresults/count/CountRequestBuilder.java index 181ec42c7da..d9b2c72188b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/subjectprocessingresults/item/taskprocessingresults/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/subjectprocessingresults/item/taskprocessingresults/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/subjectprocessingresults/item/taskprocessingresults/item/TaskProcessingResultItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/subjectprocessingresults/item/taskprocessingresults/item/TaskProcessingResultItemRequestBuilder.java index 5d840cdf7fd..abf7b50b23a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/subjectprocessingresults/item/taskprocessingresults/item/TaskProcessingResultItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/subjectprocessingresults/item/taskprocessingresults/item/TaskProcessingResultItemRequestBuilder.java @@ -26,7 +26,10 @@ public class TaskProcessingResultItemRequestBuilder extends BaseRequestBuilder { /** * Provides operations to call the resume method. * @return a {@link MicrosoftGraphIdentityGovernanceResumeRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public MicrosoftGraphIdentityGovernanceResumeRequestBuilder microsoftGraphIdentityGovernanceResume() { return new MicrosoftGraphIdentityGovernanceResumeRequestBuilder(pathParameters, requestAdapter); @@ -34,7 +37,10 @@ public MicrosoftGraphIdentityGovernanceResumeRequestBuilder microsoftGraphIdenti /** * Provides operations to manage the subject property of the microsoft.graph.identityGovernance.taskProcessingResult entity. * @return a {@link SubjectRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public SubjectRequestBuilder subject() { return new SubjectRequestBuilder(pathParameters, requestAdapter); @@ -42,7 +48,10 @@ public SubjectRequestBuilder subject() { /** * Provides operations to manage the task property of the microsoft.graph.identityGovernance.taskProcessingResult entity. * @return a {@link TaskRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public TaskRequestBuilder task() { return new TaskRequestBuilder(pathParameters, requestAdapter); @@ -67,8 +76,11 @@ public TaskProcessingResultItemRequestBuilder(@jakarta.annotation.Nonnull final * The task-level processing results for this subject. Read-only. * @return a {@link TaskProcessingResult} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public TaskProcessingResult get() { return get(null); } @@ -77,8 +89,11 @@ public TaskProcessingResult get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link TaskProcessingResult} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public TaskProcessingResult get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -88,8 +103,11 @@ public TaskProcessingResult get(@jakarta.annotation.Nullable final java.util.fun /** * The task-level processing results for this subject. Read-only. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -97,8 +115,11 @@ public RequestInformation toGetRequestInformation() { * The task-level processing results for this subject. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -109,8 +130,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link TaskProcessingResultItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public TaskProcessingResultItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new TaskProcessingResultItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/subjectprocessingresults/item/taskprocessingresults/item/microsoftgraphidentitygovernanceresume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/subjectprocessingresults/item/taskprocessingresults/item/microsoftgraphidentitygovernanceresume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.java index d6885e37f2a..02c41d5f8b7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/subjectprocessingresults/item/taskprocessingresults/item/microsoftgraphidentitygovernanceresume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/subjectprocessingresults/item/taskprocessingresults/item/microsoftgraphidentitygovernanceresume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.java @@ -38,8 +38,11 @@ public MicrosoftGraphIdentityGovernanceResumeRequestBuilder(@jakarta.annotation. * Resume a taskProcessingResult that's inProgress. In the default case, an Azure Logic Apps system-assigned managed identity calls this API. For more information, see Lifecycle Workflows extensibility approach. * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final ResumePostRequestBody body) { post(body, null); } @@ -48,8 +51,11 @@ public void post(@jakarta.annotation.Nonnull final ResumePostRequestBody body) { * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final ResumePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -61,8 +67,11 @@ public void post(@jakarta.annotation.Nonnull final ResumePostRequestBody body, @ * Resume a taskProcessingResult that's inProgress. In the default case, an Azure Logic Apps system-assigned managed identity calls this API. For more information, see Lifecycle Workflows extensibility approach. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ResumePostRequestBody body) { return toPostRequestInformation(body, null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ResumePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -85,8 +97,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link MicrosoftGraphIdentityGovernanceResumeRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public MicrosoftGraphIdentityGovernanceResumeRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new MicrosoftGraphIdentityGovernanceResumeRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/subjectprocessingresults/item/taskprocessingresults/item/subject/SubjectRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/subjectprocessingresults/item/taskprocessingresults/item/subject/SubjectRequestBuilder.java index 3c18b42062a..8d9f79798e7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/subjectprocessingresults/item/taskprocessingresults/item/subject/SubjectRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/subjectprocessingresults/item/taskprocessingresults/item/subject/SubjectRequestBuilder.java @@ -25,7 +25,10 @@ public class SubjectRequestBuilder extends BaseRequestBuilder { /** * The mailboxSettings property * @return a {@link MailboxSettingsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public MailboxSettingsRequestBuilder mailboxSettings() { return new MailboxSettingsRequestBuilder(pathParameters, requestAdapter); @@ -33,7 +36,10 @@ public MailboxSettingsRequestBuilder mailboxSettings() { /** * The serviceProvisioningErrors property * @return a {@link ServiceProvisioningErrorsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ServiceProvisioningErrorsRequestBuilder serviceProvisioningErrors() { return new ServiceProvisioningErrorsRequestBuilder(pathParameters, requestAdapter); @@ -58,8 +64,11 @@ public SubjectRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j * The unique identifier of the Microsoft Entra user targeted for the task execution.Supports $filter(eq, ne) and $expand. * @return a {@link User} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public User get() { return get(null); } @@ -68,8 +77,11 @@ public User get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link User} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public User get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -79,8 +91,11 @@ public User get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -100,8 +118,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link SubjectRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public SubjectRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new SubjectRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/subjectprocessingresults/item/taskprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/subjectprocessingresults/item/taskprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java index f6c7d67ce2f..5c0c39f740d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/subjectprocessingresults/item/taskprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/subjectprocessingresults/item/taskprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java @@ -40,8 +40,11 @@ public MailboxSettingsRequestBuilder(@jakarta.annotation.Nonnull final String ra * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Requires $select to retrieve. * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings get() { return get(null); } @@ -50,8 +53,11 @@ public MailboxSettings get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -63,8 +69,11 @@ public MailboxSettings get(@jakarta.annotation.Nullable final java.util.function * @param body The request body * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings body) { return patch(body, null); } @@ -74,8 +83,11 @@ public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings b * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -86,8 +98,11 @@ public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings b /** * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Requires $select to retrieve. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -95,8 +110,11 @@ public RequestInformation toGetRequestInformation() { * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Requires $select to retrieve. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -107,8 +125,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update property mailboxSettings value. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxSettings body) { return toPatchRequestInformation(body, null); } @@ -117,8 +138,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -131,8 +155,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link MailboxSettingsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public MailboxSettingsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new MailboxSettingsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/subjectprocessingresults/item/taskprocessingresults/item/subject/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/subjectprocessingresults/item/taskprocessingresults/item/subject/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java index 61bf3e2b331..175caf01d3f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/subjectprocessingresults/item/taskprocessingresults/item/subject/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/subjectprocessingresults/item/taskprocessingresults/item/subject/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java @@ -24,7 +24,10 @@ public class ServiceProvisioningErrorsRequestBuilder extends BaseRequestBuilder /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -49,8 +52,11 @@ public ServiceProvisioningErrorsRequestBuilder(@jakarta.annotation.Nonnull final * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. * @return a {@link ServiceProvisioningErrorCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ServiceProvisioningErrorCollectionResponse get() { return get(null); } @@ -59,8 +65,11 @@ public ServiceProvisioningErrorCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ServiceProvisioningErrorCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ServiceProvisioningErrorCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -70,8 +79,11 @@ public ServiceProvisioningErrorCollectionResponse get(@jakarta.annotation.Nullab /** * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -79,8 +91,11 @@ public RequestInformation toGetRequestInformation() { * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -91,8 +106,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ServiceProvisioningErrorsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ServiceProvisioningErrorsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ServiceProvisioningErrorsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/subjectprocessingresults/item/taskprocessingresults/item/subject/serviceprovisioningerrors/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/subjectprocessingresults/item/taskprocessingresults/item/subject/serviceprovisioningerrors/count/CountRequestBuilder.java index 23270536d2b..d8611cbf43d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/subjectprocessingresults/item/taskprocessingresults/item/subject/serviceprovisioningerrors/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/subjectprocessingresults/item/taskprocessingresults/item/subject/serviceprovisioningerrors/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/subjectprocessingresults/item/taskprocessingresults/item/task/TaskRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/subjectprocessingresults/item/taskprocessingresults/item/task/TaskRequestBuilder.java index a868c3c3ae1..c4763ea5b19 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/subjectprocessingresults/item/taskprocessingresults/item/task/TaskRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/subjectprocessingresults/item/taskprocessingresults/item/task/TaskRequestBuilder.java @@ -40,8 +40,11 @@ public TaskRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jaka * The related workflow task * @return a {@link Task} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Task get() { return get(null); } @@ -50,8 +53,11 @@ public Task get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Task} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Task get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public Task get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link TaskRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public TaskRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new TaskRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/subjectprocessingresults/microsoftgraphidentitygovernancesummarywithstartdatetimewithenddatetime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/subjectprocessingresults/microsoftgraphidentitygovernancesummarywithstartdatetimewithenddatetime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.java new file mode 100644 index 00000000000..3bf62322aef --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/subjectprocessingresults/microsoftgraphidentitygovernancesummarywithstartdatetimewithenddatetime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.java @@ -0,0 +1,116 @@ +package com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.subjectprocessingresults.microsoftgraphidentitygovernancesummarywithstartdatetimewithenddatetime; + +import com.microsoft.graph.beta.models.identitygovernance.SubjectSummary; +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.time.OffsetDateTime; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to call the summary method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder} and sets the default values. + * @param endDateTime Usage: endDateTime={endDateTime} + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + * @param startDateTime Usage: startDateTime={startDateTime} + */ + public MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter, @jakarta.annotation.Nullable final OffsetDateTime endDateTime, @jakarta.annotation.Nullable final OffsetDateTime startDateTime) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/workflows/{workflow%2Did}/subjectProcessingResults/microsoft.graph.identityGovernance.summary(startDateTime={startDateTime},endDateTime={endDateTime})", pathParameters); + this.pathParameters.put("endDateTime", endDateTime); + this.pathParameters.put("startDateTime", startDateTime); + } + /** + * Instantiates a new {@link MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/workflows/{workflow%2Did}/subjectProcessingResults/microsoft.graph.identityGovernance.summary(startDateTime={startDateTime},endDateTime={endDateTime})", rawUrl); + } + /** + * Invoke function summary + * @return a {@link SubjectSummary} + * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nullable + @Deprecated + public SubjectSummary get() { + return get(null); + } + /** + * Invoke function summary + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link SubjectSummary} + * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nullable + @Deprecated + public SubjectSummary get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, SubjectSummary::createFromDiscriminatorValue); + } + /** + * Invoke function summary + * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Invoke function summary + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new); + 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. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/taskreports/TaskReportsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/taskreports/TaskReportsRequestBuilder.java index 8372a30acfd..a6693088e37 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/taskreports/TaskReportsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/taskreports/TaskReportsRequestBuilder.java @@ -27,7 +27,10 @@ public class TaskReportsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -36,8 +39,11 @@ public CountRequestBuilder count() { * Provides operations to manage the taskReports property of the microsoft.graph.identityGovernance.workflow entity. * @param taskReportId The unique identifier of taskReport * @return a {@link TaskReportItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public TaskReportItemRequestBuilder byTaskReportId(@jakarta.annotation.Nonnull final String taskReportId) { Objects.requireNonNull(taskReportId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -64,8 +70,11 @@ public TaskReportsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl * Represents the aggregation of task execution data for tasks within a workflow object. * @return a {@link TaskReportCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public TaskReportCollectionResponse get() { return get(null); } @@ -74,8 +83,11 @@ public TaskReportCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link TaskReportCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public TaskReportCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -87,8 +99,11 @@ public TaskReportCollectionResponse get(@jakarta.annotation.Nullable final java. * @param endDateTime Usage: endDateTime={endDateTime} * @param startDateTime Usage: startDateTime={startDateTime} * @return a {@link MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime(@jakarta.annotation.Nonnull final OffsetDateTime endDateTime, @jakarta.annotation.Nonnull final OffsetDateTime startDateTime) { Objects.requireNonNull(endDateTime); Objects.requireNonNull(startDateTime); @@ -97,8 +112,11 @@ public MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRe /** * Represents the aggregation of task execution data for tasks within a workflow object. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -106,8 +124,11 @@ public RequestInformation toGetRequestInformation() { * Represents the aggregation of task execution data for tasks within a workflow object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link TaskReportsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public TaskReportsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new TaskReportsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/taskreports/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/taskreports/count/CountRequestBuilder.java index c843b807854..09e84c89684 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/taskreports/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/taskreports/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/taskreports/item/TaskReportItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/taskreports/item/TaskReportItemRequestBuilder.java index b040a516c4e..e6bfa13eda1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/taskreports/item/TaskReportItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/taskreports/item/TaskReportItemRequestBuilder.java @@ -26,7 +26,10 @@ public class TaskReportItemRequestBuilder extends BaseRequestBuilder { /** * Provides operations to manage the task property of the microsoft.graph.identityGovernance.taskReport entity. * @return a {@link TaskRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public TaskRequestBuilder task() { return new TaskRequestBuilder(pathParameters, requestAdapter); @@ -34,7 +37,10 @@ public TaskRequestBuilder task() { /** * Provides operations to manage the taskDefinition property of the microsoft.graph.identityGovernance.taskReport entity. * @return a {@link TaskDefinitionRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public TaskDefinitionRequestBuilder taskDefinition() { return new TaskDefinitionRequestBuilder(pathParameters, requestAdapter); @@ -42,7 +48,10 @@ public TaskDefinitionRequestBuilder taskDefinition() { /** * Provides operations to manage the taskProcessingResults property of the microsoft.graph.identityGovernance.taskReport entity. * @return a {@link TaskProcessingResultsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public TaskProcessingResultsRequestBuilder taskProcessingResults() { return new TaskProcessingResultsRequestBuilder(pathParameters, requestAdapter); @@ -67,8 +76,11 @@ public TaskReportItemRequestBuilder(@jakarta.annotation.Nonnull final String raw * Represents the aggregation of task execution data for tasks within a workflow object. * @return a {@link TaskReport} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public TaskReport get() { return get(null); } @@ -77,8 +89,11 @@ public TaskReport get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link TaskReport} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public TaskReport get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -88,8 +103,11 @@ public TaskReport get(@jakarta.annotation.Nullable final java.util.function.Cons /** * Represents the aggregation of task execution data for tasks within a workflow object. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -97,8 +115,11 @@ public RequestInformation toGetRequestInformation() { * Represents the aggregation of task execution data for tasks within a workflow object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -109,8 +130,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link TaskReportItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public TaskReportItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new TaskReportItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/taskreports/item/task/TaskRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/taskreports/item/task/TaskRequestBuilder.java index f04ff7a90fe..54003d460e4 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/taskreports/item/task/TaskRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/taskreports/item/task/TaskRequestBuilder.java @@ -40,8 +40,11 @@ public TaskRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jaka * The related lifecycle workflow task.Supports $filter(eq, ne) and $expand. * @return a {@link Task} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Task get() { return get(null); } @@ -50,8 +53,11 @@ public Task get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Task} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Task get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public Task get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link TaskRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public TaskRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new TaskRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/taskreports/item/taskdefinition/TaskDefinitionRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/taskreports/item/taskdefinition/TaskDefinitionRequestBuilder.java index c2b0d872009..aadd3559559 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/taskreports/item/taskdefinition/TaskDefinitionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/taskreports/item/taskdefinition/TaskDefinitionRequestBuilder.java @@ -40,8 +40,11 @@ public TaskDefinitionRequestBuilder(@jakarta.annotation.Nonnull final String raw * The taskDefinition associated with the related lifecycle workflow task.Supports $filter(eq, ne) and $expand. * @return a {@link TaskDefinition} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public TaskDefinition get() { return get(null); } @@ -50,8 +53,11 @@ public TaskDefinition get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link TaskDefinition} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public TaskDefinition get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public TaskDefinition get(@jakarta.annotation.Nullable final java.util.function. /** * The taskDefinition associated with the related lifecycle workflow task.Supports $filter(eq, ne) and $expand. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * The taskDefinition associated with the related lifecycle workflow task.Supports $filter(eq, ne) and $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link TaskDefinitionRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public TaskDefinitionRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new TaskDefinitionRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/taskreports/item/taskprocessingresults/TaskProcessingResultsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/taskreports/item/taskprocessingresults/TaskProcessingResultsRequestBuilder.java index a12f12d1f76..8fbbab7c51f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/taskreports/item/taskprocessingresults/TaskProcessingResultsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/taskreports/item/taskprocessingresults/TaskProcessingResultsRequestBuilder.java @@ -25,7 +25,10 @@ public class TaskProcessingResultsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -34,8 +37,11 @@ public CountRequestBuilder count() { * Provides operations to manage the taskProcessingResults property of the microsoft.graph.identityGovernance.taskReport entity. * @param taskProcessingResultId The unique identifier of taskProcessingResult * @return a {@link TaskProcessingResultItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public TaskProcessingResultItemRequestBuilder byTaskProcessingResultId(@jakarta.annotation.Nonnull final String taskProcessingResultId) { Objects.requireNonNull(taskProcessingResultId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -62,8 +68,11 @@ public TaskProcessingResultsRequestBuilder(@jakarta.annotation.Nonnull final Str * The related lifecycle workflow taskProcessingResults. * @return a {@link TaskProcessingResultCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public TaskProcessingResultCollectionResponse get() { return get(null); } @@ -72,8 +81,11 @@ public TaskProcessingResultCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link TaskProcessingResultCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public TaskProcessingResultCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -83,8 +95,11 @@ public TaskProcessingResultCollectionResponse get(@jakarta.annotation.Nullable f /** * The related lifecycle workflow taskProcessingResults. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -92,8 +107,11 @@ public RequestInformation toGetRequestInformation() { * The related lifecycle workflow taskProcessingResults. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -104,8 +122,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link TaskProcessingResultsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public TaskProcessingResultsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new TaskProcessingResultsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/taskreports/item/taskprocessingresults/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/taskreports/item/taskprocessingresults/count/CountRequestBuilder.java index 9a00f6bf9d7..dd947e6807a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/taskreports/item/taskprocessingresults/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/taskreports/item/taskprocessingresults/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/taskreports/item/taskprocessingresults/item/TaskProcessingResultItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/taskreports/item/taskprocessingresults/item/TaskProcessingResultItemRequestBuilder.java index e6a07ec74f4..6adaf121a2f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/taskreports/item/taskprocessingresults/item/TaskProcessingResultItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/taskreports/item/taskprocessingresults/item/TaskProcessingResultItemRequestBuilder.java @@ -26,7 +26,10 @@ public class TaskProcessingResultItemRequestBuilder extends BaseRequestBuilder { /** * Provides operations to call the resume method. * @return a {@link MicrosoftGraphIdentityGovernanceResumeRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public MicrosoftGraphIdentityGovernanceResumeRequestBuilder microsoftGraphIdentityGovernanceResume() { return new MicrosoftGraphIdentityGovernanceResumeRequestBuilder(pathParameters, requestAdapter); @@ -34,7 +37,10 @@ public MicrosoftGraphIdentityGovernanceResumeRequestBuilder microsoftGraphIdenti /** * Provides operations to manage the subject property of the microsoft.graph.identityGovernance.taskProcessingResult entity. * @return a {@link SubjectRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public SubjectRequestBuilder subject() { return new SubjectRequestBuilder(pathParameters, requestAdapter); @@ -42,7 +48,10 @@ public SubjectRequestBuilder subject() { /** * Provides operations to manage the task property of the microsoft.graph.identityGovernance.taskProcessingResult entity. * @return a {@link TaskRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public TaskRequestBuilder task() { return new TaskRequestBuilder(pathParameters, requestAdapter); @@ -67,8 +76,11 @@ public TaskProcessingResultItemRequestBuilder(@jakarta.annotation.Nonnull final * The related lifecycle workflow taskProcessingResults. * @return a {@link TaskProcessingResult} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public TaskProcessingResult get() { return get(null); } @@ -77,8 +89,11 @@ public TaskProcessingResult get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link TaskProcessingResult} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public TaskProcessingResult get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -88,8 +103,11 @@ public TaskProcessingResult get(@jakarta.annotation.Nullable final java.util.fun /** * The related lifecycle workflow taskProcessingResults. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -97,8 +115,11 @@ public RequestInformation toGetRequestInformation() { * The related lifecycle workflow taskProcessingResults. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -109,8 +130,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link TaskProcessingResultItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public TaskProcessingResultItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new TaskProcessingResultItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/taskreports/item/taskprocessingresults/item/microsoftgraphidentitygovernanceresume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/taskreports/item/taskprocessingresults/item/microsoftgraphidentitygovernanceresume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.java index 78c626d003f..fc928a4ec57 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/taskreports/item/taskprocessingresults/item/microsoftgraphidentitygovernanceresume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/taskreports/item/taskprocessingresults/item/microsoftgraphidentitygovernanceresume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.java @@ -38,8 +38,11 @@ public MicrosoftGraphIdentityGovernanceResumeRequestBuilder(@jakarta.annotation. * Resume a taskProcessingResult that's inProgress. In the default case, an Azure Logic Apps system-assigned managed identity calls this API. For more information, see Lifecycle Workflows extensibility approach. * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final ResumePostRequestBody body) { post(body, null); } @@ -48,8 +51,11 @@ public void post(@jakarta.annotation.Nonnull final ResumePostRequestBody body) { * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final ResumePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -61,8 +67,11 @@ public void post(@jakarta.annotation.Nonnull final ResumePostRequestBody body, @ * Resume a taskProcessingResult that's inProgress. In the default case, an Azure Logic Apps system-assigned managed identity calls this API. For more information, see Lifecycle Workflows extensibility approach. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ResumePostRequestBody body) { return toPostRequestInformation(body, null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ResumePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -85,8 +97,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link MicrosoftGraphIdentityGovernanceResumeRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public MicrosoftGraphIdentityGovernanceResumeRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new MicrosoftGraphIdentityGovernanceResumeRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/taskreports/item/taskprocessingresults/item/subject/SubjectRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/taskreports/item/taskprocessingresults/item/subject/SubjectRequestBuilder.java index d210db0ac1d..b663f242150 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/taskreports/item/taskprocessingresults/item/subject/SubjectRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/taskreports/item/taskprocessingresults/item/subject/SubjectRequestBuilder.java @@ -25,7 +25,10 @@ public class SubjectRequestBuilder extends BaseRequestBuilder { /** * The mailboxSettings property * @return a {@link MailboxSettingsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public MailboxSettingsRequestBuilder mailboxSettings() { return new MailboxSettingsRequestBuilder(pathParameters, requestAdapter); @@ -33,7 +36,10 @@ public MailboxSettingsRequestBuilder mailboxSettings() { /** * The serviceProvisioningErrors property * @return a {@link ServiceProvisioningErrorsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ServiceProvisioningErrorsRequestBuilder serviceProvisioningErrors() { return new ServiceProvisioningErrorsRequestBuilder(pathParameters, requestAdapter); @@ -58,8 +64,11 @@ public SubjectRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j * The unique identifier of the Microsoft Entra user targeted for the task execution.Supports $filter(eq, ne) and $expand. * @return a {@link User} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public User get() { return get(null); } @@ -68,8 +77,11 @@ public User get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link User} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public User get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -79,8 +91,11 @@ public User get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -100,8 +118,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link SubjectRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public SubjectRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new SubjectRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/taskreports/item/taskprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/taskreports/item/taskprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java index 2fde6079c53..1959bde65ac 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/taskreports/item/taskprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/taskreports/item/taskprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java @@ -40,8 +40,11 @@ public MailboxSettingsRequestBuilder(@jakarta.annotation.Nonnull final String ra * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Requires $select to retrieve. * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings get() { return get(null); } @@ -50,8 +53,11 @@ public MailboxSettings get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -63,8 +69,11 @@ public MailboxSettings get(@jakarta.annotation.Nullable final java.util.function * @param body The request body * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings body) { return patch(body, null); } @@ -74,8 +83,11 @@ public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings b * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -86,8 +98,11 @@ public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings b /** * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Requires $select to retrieve. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -95,8 +110,11 @@ public RequestInformation toGetRequestInformation() { * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Requires $select to retrieve. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -107,8 +125,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update property mailboxSettings value. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxSettings body) { return toPatchRequestInformation(body, null); } @@ -117,8 +138,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -131,8 +155,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link MailboxSettingsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public MailboxSettingsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new MailboxSettingsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/taskreports/item/taskprocessingresults/item/subject/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/taskreports/item/taskprocessingresults/item/subject/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java index b26a2be1422..eadb7c802b6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/taskreports/item/taskprocessingresults/item/subject/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/taskreports/item/taskprocessingresults/item/subject/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java @@ -24,7 +24,10 @@ public class ServiceProvisioningErrorsRequestBuilder extends BaseRequestBuilder /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -49,8 +52,11 @@ public ServiceProvisioningErrorsRequestBuilder(@jakarta.annotation.Nonnull final * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. * @return a {@link ServiceProvisioningErrorCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ServiceProvisioningErrorCollectionResponse get() { return get(null); } @@ -59,8 +65,11 @@ public ServiceProvisioningErrorCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ServiceProvisioningErrorCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ServiceProvisioningErrorCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -70,8 +79,11 @@ public ServiceProvisioningErrorCollectionResponse get(@jakarta.annotation.Nullab /** * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -79,8 +91,11 @@ public RequestInformation toGetRequestInformation() { * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -91,8 +106,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ServiceProvisioningErrorsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ServiceProvisioningErrorsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ServiceProvisioningErrorsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/taskreports/item/taskprocessingresults/item/subject/serviceprovisioningerrors/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/taskreports/item/taskprocessingresults/item/subject/serviceprovisioningerrors/count/CountRequestBuilder.java index 7657c9b98d7..96e7a8ab6ea 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/taskreports/item/taskprocessingresults/item/subject/serviceprovisioningerrors/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/taskreports/item/taskprocessingresults/item/subject/serviceprovisioningerrors/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/taskreports/item/taskprocessingresults/item/task/TaskRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/taskreports/item/taskprocessingresults/item/task/TaskRequestBuilder.java index 65dd99d7586..d744d6886d5 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/taskreports/item/taskprocessingresults/item/task/TaskRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/taskreports/item/taskprocessingresults/item/task/TaskRequestBuilder.java @@ -40,8 +40,11 @@ public TaskRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jaka * The related workflow task * @return a {@link Task} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Task get() { return get(null); } @@ -50,8 +53,11 @@ public Task get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Task} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Task get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public Task get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link TaskRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public TaskRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new TaskRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/taskreports/microsoftgraphidentitygovernancesummarywithstartdatetimewithenddatetime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/taskreports/microsoftgraphidentitygovernancesummarywithstartdatetimewithenddatetime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.java index ece2ede2d1b..a27548dabcf 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/taskreports/microsoftgraphidentitygovernancesummarywithstartdatetimewithenddatetime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/taskreports/microsoftgraphidentitygovernancesummarywithstartdatetimewithenddatetime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.java @@ -44,8 +44,11 @@ public MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRe * Invoke function summary * @return a {@link TaskReportSummary} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public TaskReportSummary get() { return get(null); } @@ -54,8 +57,11 @@ public TaskReportSummary get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link TaskReportSummary} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public TaskReportSummary get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -65,8 +71,11 @@ public TaskReportSummary get(@jakarta.annotation.Nullable final java.util.functi /** * Invoke function summary * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -74,8 +83,11 @@ public RequestInformation toGetRequestInformation() { * Invoke function summary * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new); @@ -86,8 +98,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/tasks/TasksRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/tasks/TasksRequestBuilder.java index f8d141846b1..7b64fa1bc6d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/tasks/TasksRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/tasks/TasksRequestBuilder.java @@ -26,7 +26,10 @@ public class TasksRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the tasks property of the microsoft.graph.identityGovernance.workflowBase entity. * @param taskId The unique identifier of task * @return a {@link TaskItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public TaskItemRequestBuilder byTaskId(@jakarta.annotation.Nonnull final String taskId) { Objects.requireNonNull(taskId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public TasksRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * The tasks in the workflow. * @return a {@link TaskCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public TaskCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public TaskCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link TaskCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public TaskCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public TaskCollectionResponse get(@jakarta.annotation.Nullable final java.util.f * @param body The request body * @return a {@link Task} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Task post(@jakarta.annotation.Nonnull final Task body) { return post(body, null); } @@ -97,8 +112,11 @@ public Task post(@jakarta.annotation.Nonnull final Task body) { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Task} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Task post(@jakarta.annotation.Nonnull final Task body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public Task post(@jakarta.annotation.Nonnull final Task body, @jakarta.annotatio /** * The tasks in the workflow. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * The tasks in the workflow. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to tasks for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Task body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Task body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link TasksRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public TasksRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new TasksRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/tasks/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/tasks/count/CountRequestBuilder.java index ee358541082..18ba617b6b5 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/tasks/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/tasks/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/tasks/item/TaskItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/tasks/item/TaskItemRequestBuilder.java index 34dad7de54e..da163bb156e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/tasks/item/TaskItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/tasks/item/TaskItemRequestBuilder.java @@ -24,7 +24,10 @@ public class TaskItemRequestBuilder extends BaseRequestBuilder { /** * Provides operations to manage the taskProcessingResults property of the microsoft.graph.identityGovernance.task entity. * @return a {@link TaskProcessingResultsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public TaskProcessingResultsRequestBuilder taskProcessingResults() { return new TaskProcessingResultsRequestBuilder(pathParameters, requestAdapter); @@ -48,7 +51,10 @@ public TaskItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ /** * Delete navigation property tasks for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -56,7 +62,10 @@ public void delete() { * Delete navigation property tasks for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -67,8 +76,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * The tasks in the workflow. * @return a {@link Task} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Task get() { return get(null); } @@ -77,8 +89,11 @@ public Task get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Task} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Task get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -90,8 +105,11 @@ public Task get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -113,8 +134,11 @@ public Task patch(@jakarta.annotation.Nonnull final Task body, @jakarta.annotati /** * Delete navigation property tasks for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -122,8 +146,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property tasks for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -133,8 +160,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * The tasks in the workflow. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -142,8 +172,11 @@ public RequestInformation toGetRequestInformation() { * The tasks in the workflow. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -154,8 +187,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property tasks in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final Task body) { return toPatchRequestInformation(body, null); } @@ -164,8 +200,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final Task body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -178,8 +217,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link TaskItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public TaskItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new TaskItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/tasks/item/taskprocessingresults/TaskProcessingResultsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/tasks/item/taskprocessingresults/TaskProcessingResultsRequestBuilder.java index 48ec66b8005..3d2dbae55a1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/tasks/item/taskprocessingresults/TaskProcessingResultsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/tasks/item/taskprocessingresults/TaskProcessingResultsRequestBuilder.java @@ -25,7 +25,10 @@ public class TaskProcessingResultsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -34,8 +37,11 @@ public CountRequestBuilder count() { * Provides operations to manage the taskProcessingResults property of the microsoft.graph.identityGovernance.task entity. * @param taskProcessingResultId The unique identifier of taskProcessingResult * @return a {@link TaskProcessingResultItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public TaskProcessingResultItemRequestBuilder byTaskProcessingResultId(@jakarta.annotation.Nonnull final String taskProcessingResultId) { Objects.requireNonNull(taskProcessingResultId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -62,8 +68,11 @@ public TaskProcessingResultsRequestBuilder(@jakarta.annotation.Nonnull final Str * The result of processing the task. * @return a {@link TaskProcessingResultCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public TaskProcessingResultCollectionResponse get() { return get(null); } @@ -72,8 +81,11 @@ public TaskProcessingResultCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link TaskProcessingResultCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public TaskProcessingResultCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -83,8 +95,11 @@ public TaskProcessingResultCollectionResponse get(@jakarta.annotation.Nullable f /** * The result of processing the task. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -92,8 +107,11 @@ public RequestInformation toGetRequestInformation() { * The result of processing the task. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -104,8 +122,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link TaskProcessingResultsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public TaskProcessingResultsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new TaskProcessingResultsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/tasks/item/taskprocessingresults/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/tasks/item/taskprocessingresults/count/CountRequestBuilder.java index c8f02831a7a..d98ceebe9f7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/tasks/item/taskprocessingresults/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/tasks/item/taskprocessingresults/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/tasks/item/taskprocessingresults/item/TaskProcessingResultItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/tasks/item/taskprocessingresults/item/TaskProcessingResultItemRequestBuilder.java index b0c42af5567..0f4a4363815 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/tasks/item/taskprocessingresults/item/TaskProcessingResultItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/tasks/item/taskprocessingresults/item/TaskProcessingResultItemRequestBuilder.java @@ -26,7 +26,10 @@ public class TaskProcessingResultItemRequestBuilder extends BaseRequestBuilder { /** * Provides operations to call the resume method. * @return a {@link MicrosoftGraphIdentityGovernanceResumeRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public MicrosoftGraphIdentityGovernanceResumeRequestBuilder microsoftGraphIdentityGovernanceResume() { return new MicrosoftGraphIdentityGovernanceResumeRequestBuilder(pathParameters, requestAdapter); @@ -34,7 +37,10 @@ public MicrosoftGraphIdentityGovernanceResumeRequestBuilder microsoftGraphIdenti /** * Provides operations to manage the subject property of the microsoft.graph.identityGovernance.taskProcessingResult entity. * @return a {@link SubjectRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public SubjectRequestBuilder subject() { return new SubjectRequestBuilder(pathParameters, requestAdapter); @@ -42,7 +48,10 @@ public SubjectRequestBuilder subject() { /** * Provides operations to manage the task property of the microsoft.graph.identityGovernance.taskProcessingResult entity. * @return a {@link TaskRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public TaskRequestBuilder task() { return new TaskRequestBuilder(pathParameters, requestAdapter); @@ -67,8 +76,11 @@ public TaskProcessingResultItemRequestBuilder(@jakarta.annotation.Nonnull final * The result of processing the task. * @return a {@link TaskProcessingResult} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public TaskProcessingResult get() { return get(null); } @@ -77,8 +89,11 @@ public TaskProcessingResult get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link TaskProcessingResult} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public TaskProcessingResult get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -88,8 +103,11 @@ public TaskProcessingResult get(@jakarta.annotation.Nullable final java.util.fun /** * The result of processing the task. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -97,8 +115,11 @@ public RequestInformation toGetRequestInformation() { * The result of processing the task. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -109,8 +130,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link TaskProcessingResultItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public TaskProcessingResultItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new TaskProcessingResultItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/tasks/item/taskprocessingresults/item/microsoftgraphidentitygovernanceresume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/tasks/item/taskprocessingresults/item/microsoftgraphidentitygovernanceresume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.java index 479abd90a61..9a290aff1d4 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/tasks/item/taskprocessingresults/item/microsoftgraphidentitygovernanceresume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/tasks/item/taskprocessingresults/item/microsoftgraphidentitygovernanceresume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.java @@ -38,8 +38,11 @@ public MicrosoftGraphIdentityGovernanceResumeRequestBuilder(@jakarta.annotation. * Resume a taskProcessingResult that's inProgress. In the default case, an Azure Logic Apps system-assigned managed identity calls this API. For more information, see Lifecycle Workflows extensibility approach. * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final ResumePostRequestBody body) { post(body, null); } @@ -48,8 +51,11 @@ public void post(@jakarta.annotation.Nonnull final ResumePostRequestBody body) { * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final ResumePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -61,8 +67,11 @@ public void post(@jakarta.annotation.Nonnull final ResumePostRequestBody body, @ * Resume a taskProcessingResult that's inProgress. In the default case, an Azure Logic Apps system-assigned managed identity calls this API. For more information, see Lifecycle Workflows extensibility approach. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ResumePostRequestBody body) { return toPostRequestInformation(body, null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ResumePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -85,8 +97,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link MicrosoftGraphIdentityGovernanceResumeRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public MicrosoftGraphIdentityGovernanceResumeRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new MicrosoftGraphIdentityGovernanceResumeRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/tasks/item/taskprocessingresults/item/subject/SubjectRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/tasks/item/taskprocessingresults/item/subject/SubjectRequestBuilder.java index d94ec30d9ef..7e51cc8d910 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/tasks/item/taskprocessingresults/item/subject/SubjectRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/tasks/item/taskprocessingresults/item/subject/SubjectRequestBuilder.java @@ -25,7 +25,10 @@ public class SubjectRequestBuilder extends BaseRequestBuilder { /** * The mailboxSettings property * @return a {@link MailboxSettingsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public MailboxSettingsRequestBuilder mailboxSettings() { return new MailboxSettingsRequestBuilder(pathParameters, requestAdapter); @@ -33,7 +36,10 @@ public MailboxSettingsRequestBuilder mailboxSettings() { /** * The serviceProvisioningErrors property * @return a {@link ServiceProvisioningErrorsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ServiceProvisioningErrorsRequestBuilder serviceProvisioningErrors() { return new ServiceProvisioningErrorsRequestBuilder(pathParameters, requestAdapter); @@ -58,8 +64,11 @@ public SubjectRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j * The unique identifier of the Microsoft Entra user targeted for the task execution.Supports $filter(eq, ne) and $expand. * @return a {@link User} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public User get() { return get(null); } @@ -68,8 +77,11 @@ public User get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link User} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public User get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -79,8 +91,11 @@ public User get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -100,8 +118,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link SubjectRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public SubjectRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new SubjectRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/tasks/item/taskprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/tasks/item/taskprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java index 693d73b889c..7249f2085a7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/tasks/item/taskprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/tasks/item/taskprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java @@ -40,8 +40,11 @@ public MailboxSettingsRequestBuilder(@jakarta.annotation.Nonnull final String ra * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Requires $select to retrieve. * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings get() { return get(null); } @@ -50,8 +53,11 @@ public MailboxSettings get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -63,8 +69,11 @@ public MailboxSettings get(@jakarta.annotation.Nullable final java.util.function * @param body The request body * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings body) { return patch(body, null); } @@ -74,8 +83,11 @@ public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings b * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -86,8 +98,11 @@ public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings b /** * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Requires $select to retrieve. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -95,8 +110,11 @@ public RequestInformation toGetRequestInformation() { * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Requires $select to retrieve. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -107,8 +125,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update property mailboxSettings value. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxSettings body) { return toPatchRequestInformation(body, null); } @@ -117,8 +138,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -131,8 +155,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link MailboxSettingsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public MailboxSettingsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new MailboxSettingsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/tasks/item/taskprocessingresults/item/subject/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/tasks/item/taskprocessingresults/item/subject/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java index 5d08cbb4bc1..ff1593e01fd 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/tasks/item/taskprocessingresults/item/subject/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/tasks/item/taskprocessingresults/item/subject/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java @@ -24,7 +24,10 @@ public class ServiceProvisioningErrorsRequestBuilder extends BaseRequestBuilder /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -49,8 +52,11 @@ public ServiceProvisioningErrorsRequestBuilder(@jakarta.annotation.Nonnull final * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. * @return a {@link ServiceProvisioningErrorCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ServiceProvisioningErrorCollectionResponse get() { return get(null); } @@ -59,8 +65,11 @@ public ServiceProvisioningErrorCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ServiceProvisioningErrorCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ServiceProvisioningErrorCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -70,8 +79,11 @@ public ServiceProvisioningErrorCollectionResponse get(@jakarta.annotation.Nullab /** * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -79,8 +91,11 @@ public RequestInformation toGetRequestInformation() { * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -91,8 +106,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ServiceProvisioningErrorsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ServiceProvisioningErrorsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ServiceProvisioningErrorsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/tasks/item/taskprocessingresults/item/subject/serviceprovisioningerrors/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/tasks/item/taskprocessingresults/item/subject/serviceprovisioningerrors/count/CountRequestBuilder.java index 2d148c92aea..08897bbf43a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/tasks/item/taskprocessingresults/item/subject/serviceprovisioningerrors/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/tasks/item/taskprocessingresults/item/subject/serviceprovisioningerrors/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/tasks/item/taskprocessingresults/item/task/TaskRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/tasks/item/taskprocessingresults/item/task/TaskRequestBuilder.java index cdaeec34feb..9a9ef4c35c4 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/tasks/item/taskprocessingresults/item/task/TaskRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/tasks/item/taskprocessingresults/item/task/TaskRequestBuilder.java @@ -40,8 +40,11 @@ public TaskRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jaka * The related workflow task * @return a {@link Task} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Task get() { return get(null); } @@ -50,8 +53,11 @@ public Task get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Task} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Task get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public Task get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link TaskRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public TaskRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new TaskRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/userprocessingresults/UserProcessingResultsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/userprocessingresults/UserProcessingResultsRequestBuilder.java index f0b8e4ca12f..965e6c8db4b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/userprocessingresults/UserProcessingResultsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/userprocessingresults/UserProcessingResultsRequestBuilder.java @@ -27,7 +27,10 @@ public class UserProcessingResultsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -36,8 +39,11 @@ public CountRequestBuilder count() { * Provides operations to manage the userProcessingResults property of the microsoft.graph.identityGovernance.workflow entity. * @param userProcessingResultId The unique identifier of userProcessingResult * @return a {@link UserProcessingResultItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public UserProcessingResultItemRequestBuilder byUserProcessingResultId(@jakarta.annotation.Nonnull final String userProcessingResultId) { Objects.requireNonNull(userProcessingResultId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -64,8 +70,11 @@ public UserProcessingResultsRequestBuilder(@jakarta.annotation.Nonnull final Str * Per-user workflow execution results. * @return a {@link UserProcessingResultCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public UserProcessingResultCollectionResponse get() { return get(null); } @@ -74,8 +83,11 @@ public UserProcessingResultCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link UserProcessingResultCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public UserProcessingResultCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -87,8 +99,11 @@ public UserProcessingResultCollectionResponse get(@jakarta.annotation.Nullable f * @param endDateTime Usage: endDateTime={endDateTime} * @param startDateTime Usage: startDateTime={startDateTime} * @return a {@link MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime(@jakarta.annotation.Nonnull final OffsetDateTime endDateTime, @jakarta.annotation.Nonnull final OffsetDateTime startDateTime) { Objects.requireNonNull(endDateTime); Objects.requireNonNull(startDateTime); @@ -97,8 +112,11 @@ public MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRe /** * Per-user workflow execution results. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -106,8 +124,11 @@ public RequestInformation toGetRequestInformation() { * Per-user workflow execution results. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link UserProcessingResultsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public UserProcessingResultsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new UserProcessingResultsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/userprocessingresults/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/userprocessingresults/count/CountRequestBuilder.java index 2d94b342cf4..740aa7bdf17 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/userprocessingresults/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/userprocessingresults/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/userprocessingresults/item/UserProcessingResultItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/userprocessingresults/item/UserProcessingResultItemRequestBuilder.java index 79171340b8f..1ed28c69144 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/userprocessingresults/item/UserProcessingResultItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/userprocessingresults/item/UserProcessingResultItemRequestBuilder.java @@ -26,7 +26,10 @@ public class UserProcessingResultItemRequestBuilder extends BaseRequestBuilder { /** * Provides operations to manage the reprocessedRuns property of the microsoft.graph.identityGovernance.userProcessingResult entity. * @return a {@link ReprocessedRunsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ReprocessedRunsRequestBuilder reprocessedRuns() { return new ReprocessedRunsRequestBuilder(pathParameters, requestAdapter); @@ -34,7 +37,10 @@ public ReprocessedRunsRequestBuilder reprocessedRuns() { /** * Provides operations to manage the subject property of the microsoft.graph.identityGovernance.userProcessingResult entity. * @return a {@link SubjectRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public SubjectRequestBuilder subject() { return new SubjectRequestBuilder(pathParameters, requestAdapter); @@ -42,7 +48,10 @@ public SubjectRequestBuilder subject() { /** * Provides operations to manage the taskProcessingResults property of the microsoft.graph.identityGovernance.userProcessingResult entity. * @return a {@link TaskProcessingResultsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public TaskProcessingResultsRequestBuilder taskProcessingResults() { return new TaskProcessingResultsRequestBuilder(pathParameters, requestAdapter); @@ -67,8 +76,11 @@ public UserProcessingResultItemRequestBuilder(@jakarta.annotation.Nonnull final * Per-user workflow execution results. * @return a {@link UserProcessingResult} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public UserProcessingResult get() { return get(null); } @@ -77,8 +89,11 @@ public UserProcessingResult get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link UserProcessingResult} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public UserProcessingResult get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -88,8 +103,11 @@ public UserProcessingResult get(@jakarta.annotation.Nullable final java.util.fun /** * Per-user workflow execution results. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -97,8 +115,11 @@ public RequestInformation toGetRequestInformation() { * Per-user workflow execution results. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -109,8 +130,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link UserProcessingResultItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public UserProcessingResultItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new UserProcessingResultItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/userprocessingresults/item/reprocessedruns/ReprocessedRunsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/userprocessingresults/item/reprocessedruns/ReprocessedRunsRequestBuilder.java index cc926bf2503..7282db5f249 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/userprocessingresults/item/reprocessedruns/ReprocessedRunsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/userprocessingresults/item/reprocessedruns/ReprocessedRunsRequestBuilder.java @@ -25,7 +25,10 @@ public class ReprocessedRunsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -34,8 +37,11 @@ public CountRequestBuilder count() { * Provides operations to manage the reprocessedRuns property of the microsoft.graph.identityGovernance.userProcessingResult entity. * @param runId The unique identifier of run * @return a {@link RunItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RunItemRequestBuilder byRunId(@jakarta.annotation.Nonnull final String runId) { Objects.requireNonNull(runId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -62,8 +68,11 @@ public ReprocessedRunsRequestBuilder(@jakarta.annotation.Nonnull final String ra * The related reprocessed workflow run. * @return a {@link RunCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public RunCollectionResponse get() { return get(null); } @@ -72,8 +81,11 @@ public RunCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RunCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public RunCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -83,8 +95,11 @@ public RunCollectionResponse get(@jakarta.annotation.Nullable final java.util.fu /** * The related reprocessed workflow run. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -92,8 +107,11 @@ public RequestInformation toGetRequestInformation() { * The related reprocessed workflow run. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -104,8 +122,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ReprocessedRunsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ReprocessedRunsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ReprocessedRunsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/userprocessingresults/item/reprocessedruns/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/userprocessingresults/item/reprocessedruns/count/CountRequestBuilder.java index e33d12c3b9e..f2a847076fe 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/userprocessingresults/item/reprocessedruns/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/userprocessingresults/item/reprocessedruns/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/userprocessingresults/item/reprocessedruns/item/RunItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/userprocessingresults/item/reprocessedruns/item/RunItemRequestBuilder.java index 6c82b39d47d..162925c0800 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/userprocessingresults/item/reprocessedruns/item/RunItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/userprocessingresults/item/reprocessedruns/item/RunItemRequestBuilder.java @@ -40,8 +40,11 @@ public RunItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j * The related reprocessed workflow run. * @return a {@link Run} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Run get() { return get(null); } @@ -50,8 +53,11 @@ public Run get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Run} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Run get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public Run get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RunItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RunItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RunItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/userprocessingresults/item/subject/SubjectRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/userprocessingresults/item/subject/SubjectRequestBuilder.java index c2e9ab13dcc..5d7c09bd810 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/userprocessingresults/item/subject/SubjectRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/userprocessingresults/item/subject/SubjectRequestBuilder.java @@ -25,7 +25,10 @@ public class SubjectRequestBuilder extends BaseRequestBuilder { /** * The mailboxSettings property * @return a {@link MailboxSettingsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public MailboxSettingsRequestBuilder mailboxSettings() { return new MailboxSettingsRequestBuilder(pathParameters, requestAdapter); @@ -33,7 +36,10 @@ public MailboxSettingsRequestBuilder mailboxSettings() { /** * The serviceProvisioningErrors property * @return a {@link ServiceProvisioningErrorsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ServiceProvisioningErrorsRequestBuilder serviceProvisioningErrors() { return new ServiceProvisioningErrorsRequestBuilder(pathParameters, requestAdapter); @@ -58,8 +64,11 @@ public SubjectRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j * The unique identifier of the user targeted for the taskProcessingResult.Supports $filter(eq, ne) and $expand. * @return a {@link User} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public User get() { return get(null); } @@ -68,8 +77,11 @@ public User get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link User} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public User get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -79,8 +91,11 @@ public User get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -100,8 +118,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link SubjectRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public SubjectRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new SubjectRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/userprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/userprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java index 635d8451f22..08c69f1616b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/userprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/userprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java @@ -40,8 +40,11 @@ public MailboxSettingsRequestBuilder(@jakarta.annotation.Nonnull final String ra * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Requires $select to retrieve. * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings get() { return get(null); } @@ -50,8 +53,11 @@ public MailboxSettings get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -63,8 +69,11 @@ public MailboxSettings get(@jakarta.annotation.Nullable final java.util.function * @param body The request body * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings body) { return patch(body, null); } @@ -74,8 +83,11 @@ public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings b * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -86,8 +98,11 @@ public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings b /** * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Requires $select to retrieve. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -95,8 +110,11 @@ public RequestInformation toGetRequestInformation() { * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Requires $select to retrieve. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -107,8 +125,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update property mailboxSettings value. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxSettings body) { return toPatchRequestInformation(body, null); } @@ -117,8 +138,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -131,8 +155,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link MailboxSettingsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public MailboxSettingsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new MailboxSettingsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/userprocessingresults/item/subject/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/userprocessingresults/item/subject/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java index ce410419995..97e3d5b8d42 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/userprocessingresults/item/subject/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/userprocessingresults/item/subject/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java @@ -24,7 +24,10 @@ public class ServiceProvisioningErrorsRequestBuilder extends BaseRequestBuilder /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -49,8 +52,11 @@ public ServiceProvisioningErrorsRequestBuilder(@jakarta.annotation.Nonnull final * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. * @return a {@link ServiceProvisioningErrorCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ServiceProvisioningErrorCollectionResponse get() { return get(null); } @@ -59,8 +65,11 @@ public ServiceProvisioningErrorCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ServiceProvisioningErrorCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ServiceProvisioningErrorCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -70,8 +79,11 @@ public ServiceProvisioningErrorCollectionResponse get(@jakarta.annotation.Nullab /** * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -79,8 +91,11 @@ public RequestInformation toGetRequestInformation() { * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -91,8 +106,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ServiceProvisioningErrorsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ServiceProvisioningErrorsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ServiceProvisioningErrorsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/userprocessingresults/item/subject/serviceprovisioningerrors/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/userprocessingresults/item/subject/serviceprovisioningerrors/count/CountRequestBuilder.java index c7765b19899..60b0b31c2d8 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/userprocessingresults/item/subject/serviceprovisioningerrors/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/userprocessingresults/item/subject/serviceprovisioningerrors/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/userprocessingresults/item/taskprocessingresults/TaskProcessingResultsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/userprocessingresults/item/taskprocessingresults/TaskProcessingResultsRequestBuilder.java index 011bccd4044..faa296a3f15 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/userprocessingresults/item/taskprocessingresults/TaskProcessingResultsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/userprocessingresults/item/taskprocessingresults/TaskProcessingResultsRequestBuilder.java @@ -25,7 +25,10 @@ public class TaskProcessingResultsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -34,8 +37,11 @@ public CountRequestBuilder count() { * Provides operations to manage the taskProcessingResults property of the microsoft.graph.identityGovernance.userProcessingResult entity. * @param taskProcessingResultId The unique identifier of taskProcessingResult * @return a {@link TaskProcessingResultItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public TaskProcessingResultItemRequestBuilder byTaskProcessingResultId(@jakarta.annotation.Nonnull final String taskProcessingResultId) { Objects.requireNonNull(taskProcessingResultId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -62,8 +68,11 @@ public TaskProcessingResultsRequestBuilder(@jakarta.annotation.Nonnull final Str * The associated individual task execution. * @return a {@link TaskProcessingResultCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public TaskProcessingResultCollectionResponse get() { return get(null); } @@ -72,8 +81,11 @@ public TaskProcessingResultCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link TaskProcessingResultCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public TaskProcessingResultCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -83,8 +95,11 @@ public TaskProcessingResultCollectionResponse get(@jakarta.annotation.Nullable f /** * The associated individual task execution. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -92,8 +107,11 @@ public RequestInformation toGetRequestInformation() { * The associated individual task execution. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -104,8 +122,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link TaskProcessingResultsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public TaskProcessingResultsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new TaskProcessingResultsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/userprocessingresults/item/taskprocessingresults/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/userprocessingresults/item/taskprocessingresults/count/CountRequestBuilder.java index 032b80d0fd5..df079c8bd26 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/userprocessingresults/item/taskprocessingresults/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/userprocessingresults/item/taskprocessingresults/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/userprocessingresults/item/taskprocessingresults/item/TaskProcessingResultItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/userprocessingresults/item/taskprocessingresults/item/TaskProcessingResultItemRequestBuilder.java index ffca4fed1cb..de4a1cf1d00 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/userprocessingresults/item/taskprocessingresults/item/TaskProcessingResultItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/userprocessingresults/item/taskprocessingresults/item/TaskProcessingResultItemRequestBuilder.java @@ -26,7 +26,10 @@ public class TaskProcessingResultItemRequestBuilder extends BaseRequestBuilder { /** * Provides operations to call the resume method. * @return a {@link MicrosoftGraphIdentityGovernanceResumeRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public MicrosoftGraphIdentityGovernanceResumeRequestBuilder microsoftGraphIdentityGovernanceResume() { return new MicrosoftGraphIdentityGovernanceResumeRequestBuilder(pathParameters, requestAdapter); @@ -34,7 +37,10 @@ public MicrosoftGraphIdentityGovernanceResumeRequestBuilder microsoftGraphIdenti /** * Provides operations to manage the subject property of the microsoft.graph.identityGovernance.taskProcessingResult entity. * @return a {@link SubjectRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public SubjectRequestBuilder subject() { return new SubjectRequestBuilder(pathParameters, requestAdapter); @@ -42,7 +48,10 @@ public SubjectRequestBuilder subject() { /** * Provides operations to manage the task property of the microsoft.graph.identityGovernance.taskProcessingResult entity. * @return a {@link TaskRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public TaskRequestBuilder task() { return new TaskRequestBuilder(pathParameters, requestAdapter); @@ -67,8 +76,11 @@ public TaskProcessingResultItemRequestBuilder(@jakarta.annotation.Nonnull final * The associated individual task execution. * @return a {@link TaskProcessingResult} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public TaskProcessingResult get() { return get(null); } @@ -77,8 +89,11 @@ public TaskProcessingResult get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link TaskProcessingResult} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public TaskProcessingResult get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -88,8 +103,11 @@ public TaskProcessingResult get(@jakarta.annotation.Nullable final java.util.fun /** * The associated individual task execution. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -97,8 +115,11 @@ public RequestInformation toGetRequestInformation() { * The associated individual task execution. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -109,8 +130,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link TaskProcessingResultItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public TaskProcessingResultItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new TaskProcessingResultItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/userprocessingresults/item/taskprocessingresults/item/microsoftgraphidentitygovernanceresume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/userprocessingresults/item/taskprocessingresults/item/microsoftgraphidentitygovernanceresume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.java index 90c3c1bf7d0..d5d34b8c561 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/userprocessingresults/item/taskprocessingresults/item/microsoftgraphidentitygovernanceresume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/userprocessingresults/item/taskprocessingresults/item/microsoftgraphidentitygovernanceresume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.java @@ -38,8 +38,11 @@ public MicrosoftGraphIdentityGovernanceResumeRequestBuilder(@jakarta.annotation. * Resume a taskProcessingResult that's inProgress. In the default case, an Azure Logic Apps system-assigned managed identity calls this API. For more information, see Lifecycle Workflows extensibility approach. * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final ResumePostRequestBody body) { post(body, null); } @@ -48,8 +51,11 @@ public void post(@jakarta.annotation.Nonnull final ResumePostRequestBody body) { * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final ResumePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -61,8 +67,11 @@ public void post(@jakarta.annotation.Nonnull final ResumePostRequestBody body, @ * Resume a taskProcessingResult that's inProgress. In the default case, an Azure Logic Apps system-assigned managed identity calls this API. For more information, see Lifecycle Workflows extensibility approach. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ResumePostRequestBody body) { return toPostRequestInformation(body, null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ResumePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -85,8 +97,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link MicrosoftGraphIdentityGovernanceResumeRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public MicrosoftGraphIdentityGovernanceResumeRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new MicrosoftGraphIdentityGovernanceResumeRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/userprocessingresults/item/taskprocessingresults/item/subject/SubjectRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/userprocessingresults/item/taskprocessingresults/item/subject/SubjectRequestBuilder.java index 89952dd6506..34fc6ed969e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/userprocessingresults/item/taskprocessingresults/item/subject/SubjectRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/userprocessingresults/item/taskprocessingresults/item/subject/SubjectRequestBuilder.java @@ -25,7 +25,10 @@ public class SubjectRequestBuilder extends BaseRequestBuilder { /** * The mailboxSettings property * @return a {@link MailboxSettingsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public MailboxSettingsRequestBuilder mailboxSettings() { return new MailboxSettingsRequestBuilder(pathParameters, requestAdapter); @@ -33,7 +36,10 @@ public MailboxSettingsRequestBuilder mailboxSettings() { /** * The serviceProvisioningErrors property * @return a {@link ServiceProvisioningErrorsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ServiceProvisioningErrorsRequestBuilder serviceProvisioningErrors() { return new ServiceProvisioningErrorsRequestBuilder(pathParameters, requestAdapter); @@ -58,8 +64,11 @@ public SubjectRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j * The unique identifier of the Microsoft Entra user targeted for the task execution.Supports $filter(eq, ne) and $expand. * @return a {@link User} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public User get() { return get(null); } @@ -68,8 +77,11 @@ public User get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link User} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public User get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -79,8 +91,11 @@ public User get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -100,8 +118,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link SubjectRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public SubjectRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new SubjectRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/userprocessingresults/item/taskprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/userprocessingresults/item/taskprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java index 38aed5c7113..7b4b8e7aeb4 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/userprocessingresults/item/taskprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/userprocessingresults/item/taskprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java @@ -40,8 +40,11 @@ public MailboxSettingsRequestBuilder(@jakarta.annotation.Nonnull final String ra * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Requires $select to retrieve. * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings get() { return get(null); } @@ -50,8 +53,11 @@ public MailboxSettings get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -63,8 +69,11 @@ public MailboxSettings get(@jakarta.annotation.Nullable final java.util.function * @param body The request body * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings body) { return patch(body, null); } @@ -74,8 +83,11 @@ public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings b * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -86,8 +98,11 @@ public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings b /** * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Requires $select to retrieve. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -95,8 +110,11 @@ public RequestInformation toGetRequestInformation() { * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Requires $select to retrieve. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -107,8 +125,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update property mailboxSettings value. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxSettings body) { return toPatchRequestInformation(body, null); } @@ -117,8 +138,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -131,8 +155,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link MailboxSettingsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public MailboxSettingsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new MailboxSettingsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/userprocessingresults/item/taskprocessingresults/item/subject/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/userprocessingresults/item/taskprocessingresults/item/subject/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java index 39763053eb3..78bc48371d5 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/userprocessingresults/item/taskprocessingresults/item/subject/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/userprocessingresults/item/taskprocessingresults/item/subject/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java @@ -24,7 +24,10 @@ public class ServiceProvisioningErrorsRequestBuilder extends BaseRequestBuilder /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -49,8 +52,11 @@ public ServiceProvisioningErrorsRequestBuilder(@jakarta.annotation.Nonnull final * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. * @return a {@link ServiceProvisioningErrorCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ServiceProvisioningErrorCollectionResponse get() { return get(null); } @@ -59,8 +65,11 @@ public ServiceProvisioningErrorCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ServiceProvisioningErrorCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ServiceProvisioningErrorCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -70,8 +79,11 @@ public ServiceProvisioningErrorCollectionResponse get(@jakarta.annotation.Nullab /** * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -79,8 +91,11 @@ public RequestInformation toGetRequestInformation() { * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -91,8 +106,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ServiceProvisioningErrorsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ServiceProvisioningErrorsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ServiceProvisioningErrorsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/userprocessingresults/item/taskprocessingresults/item/subject/serviceprovisioningerrors/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/userprocessingresults/item/taskprocessingresults/item/subject/serviceprovisioningerrors/count/CountRequestBuilder.java index 5d4322a33f0..09517f696c1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/userprocessingresults/item/taskprocessingresults/item/subject/serviceprovisioningerrors/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/userprocessingresults/item/taskprocessingresults/item/subject/serviceprovisioningerrors/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/userprocessingresults/item/taskprocessingresults/item/task/TaskRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/userprocessingresults/item/taskprocessingresults/item/task/TaskRequestBuilder.java index bd447163a2c..0dfceaec3c3 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/userprocessingresults/item/taskprocessingresults/item/task/TaskRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/userprocessingresults/item/taskprocessingresults/item/task/TaskRequestBuilder.java @@ -40,8 +40,11 @@ public TaskRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jaka * The related workflow task * @return a {@link Task} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Task get() { return get(null); } @@ -50,8 +53,11 @@ public Task get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Task} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Task get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public Task get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link TaskRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public TaskRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new TaskRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/userprocessingresults/microsoftgraphidentitygovernancesummarywithstartdatetimewithenddatetime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/userprocessingresults/microsoftgraphidentitygovernancesummarywithstartdatetimewithenddatetime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.java index 16bd8e46b66..952e25162a6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/userprocessingresults/microsoftgraphidentitygovernancesummarywithstartdatetimewithenddatetime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/userprocessingresults/microsoftgraphidentitygovernancesummarywithstartdatetimewithenddatetime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.java @@ -44,8 +44,11 @@ public MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRe * Invoke function summary * @return a {@link UserSummary} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public UserSummary get() { return get(null); } @@ -54,8 +57,11 @@ public UserSummary get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link UserSummary} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public UserSummary get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -65,8 +71,11 @@ public UserSummary get(@jakarta.annotation.Nullable final java.util.function.Con /** * Invoke function summary * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -74,8 +83,11 @@ public RequestInformation toGetRequestInformation() { * Invoke function summary * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new); @@ -86,8 +98,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/VersionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/VersionsRequestBuilder.java index 62f1bcd6bb7..d4fb802566c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/VersionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/VersionsRequestBuilder.java @@ -25,7 +25,10 @@ public class VersionsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -34,8 +37,11 @@ public CountRequestBuilder count() { * Provides operations to manage the versions property of the microsoft.graph.identityGovernance.workflow entity. * @param workflowVersionVersionNumber The unique identifier of workflowVersion * @return a {@link WorkflowVersionVersionNumberItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public WorkflowVersionVersionNumberItemRequestBuilder byWorkflowVersionVersionNumber(@jakarta.annotation.Nonnull final Integer workflowVersionVersionNumber) { Objects.requireNonNull(workflowVersionVersionNumber); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -62,8 +68,11 @@ public VersionsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ * The workflow versions that are available. * @return a {@link WorkflowVersionCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public WorkflowVersionCollectionResponse get() { return get(null); } @@ -72,8 +81,11 @@ public WorkflowVersionCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link WorkflowVersionCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public WorkflowVersionCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -83,8 +95,11 @@ public WorkflowVersionCollectionResponse get(@jakarta.annotation.Nullable final /** * The workflow versions that are available. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -92,8 +107,11 @@ public RequestInformation toGetRequestInformation() { * The workflow versions that are available. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -104,8 +122,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link VersionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public VersionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new VersionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/count/CountRequestBuilder.java index b7e6326d229..04c8d57a7ea 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/WorkflowVersionVersionNumberItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/WorkflowVersionVersionNumberItemRequestBuilder.java index c2a21dbe5eb..6b39c827fd7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/WorkflowVersionVersionNumberItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/WorkflowVersionVersionNumberItemRequestBuilder.java @@ -27,7 +27,10 @@ public class WorkflowVersionVersionNumberItemRequestBuilder extends BaseRequestB /** * Provides operations to manage the administrationScopeTargets property of the microsoft.graph.identityGovernance.workflowBase entity. * @return a {@link AdministrationScopeTargetsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AdministrationScopeTargetsRequestBuilder administrationScopeTargets() { return new AdministrationScopeTargetsRequestBuilder(pathParameters, requestAdapter); @@ -35,7 +38,10 @@ public AdministrationScopeTargetsRequestBuilder administrationScopeTargets() { /** * Provides operations to manage the createdBy property of the microsoft.graph.identityGovernance.workflowBase entity. * @return a {@link CreatedByRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CreatedByRequestBuilder createdBy() { return new CreatedByRequestBuilder(pathParameters, requestAdapter); @@ -43,7 +49,10 @@ public CreatedByRequestBuilder createdBy() { /** * Provides operations to manage the lastModifiedBy property of the microsoft.graph.identityGovernance.workflowBase entity. * @return a {@link LastModifiedByRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public LastModifiedByRequestBuilder lastModifiedBy() { return new LastModifiedByRequestBuilder(pathParameters, requestAdapter); @@ -51,7 +60,10 @@ public LastModifiedByRequestBuilder lastModifiedBy() { /** * Provides operations to manage the tasks property of the microsoft.graph.identityGovernance.workflowBase entity. * @return a {@link TasksRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public TasksRequestBuilder tasks() { return new TasksRequestBuilder(pathParameters, requestAdapter); @@ -76,8 +88,11 @@ public WorkflowVersionVersionNumberItemRequestBuilder(@jakarta.annotation.Nonnul * The workflow versions that are available. * @return a {@link WorkflowVersion} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public WorkflowVersion get() { return get(null); } @@ -86,8 +101,11 @@ public WorkflowVersion get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link WorkflowVersion} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public WorkflowVersion get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -97,8 +115,11 @@ public WorkflowVersion get(@jakarta.annotation.Nullable final java.util.function /** * The workflow versions that are available. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -106,8 +127,11 @@ public RequestInformation toGetRequestInformation() { * The workflow versions that are available. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -118,8 +142,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link WorkflowVersionVersionNumberItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public WorkflowVersionVersionNumberItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new WorkflowVersionVersionNumberItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/administrationscopetargets/AdministrationScopeTargetsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/administrationscopetargets/AdministrationScopeTargetsRequestBuilder.java index dfb3efaa55a..01b63840757 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/administrationscopetargets/AdministrationScopeTargetsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/administrationscopetargets/AdministrationScopeTargetsRequestBuilder.java @@ -25,7 +25,10 @@ public class AdministrationScopeTargetsRequestBuilder extends BaseRequestBuilder /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -34,8 +37,11 @@ public CountRequestBuilder count() { * Provides operations to manage the administrationScopeTargets property of the microsoft.graph.identityGovernance.workflowBase entity. * @param directoryObjectId The unique identifier of directoryObject * @return a {@link DirectoryObjectItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public DirectoryObjectItemRequestBuilder byDirectoryObjectId(@jakarta.annotation.Nonnull final String directoryObjectId) { Objects.requireNonNull(directoryObjectId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -62,8 +68,11 @@ public AdministrationScopeTargetsRequestBuilder(@jakarta.annotation.Nonnull fina * The administrative units in the scope of the workflow. Optional. Supports $expand. * @return a {@link DirectoryObjectCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public DirectoryObjectCollectionResponse get() { return get(null); } @@ -72,8 +81,11 @@ public DirectoryObjectCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DirectoryObjectCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public DirectoryObjectCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -83,8 +95,11 @@ public DirectoryObjectCollectionResponse get(@jakarta.annotation.Nullable final /** * The administrative units in the scope of the workflow. Optional. Supports $expand. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -92,8 +107,11 @@ public RequestInformation toGetRequestInformation() { * The administrative units in the scope of the workflow. Optional. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -104,8 +122,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AdministrationScopeTargetsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AdministrationScopeTargetsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AdministrationScopeTargetsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/administrationscopetargets/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/administrationscopetargets/count/CountRequestBuilder.java index 543310a0681..7c751688ceb 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/administrationscopetargets/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/administrationscopetargets/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/administrationscopetargets/item/DirectoryObjectItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/administrationscopetargets/item/DirectoryObjectItemRequestBuilder.java index b62d166207c..fdd7a9b4799 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/administrationscopetargets/item/DirectoryObjectItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/administrationscopetargets/item/DirectoryObjectItemRequestBuilder.java @@ -40,8 +40,11 @@ public DirectoryObjectItemRequestBuilder(@jakarta.annotation.Nonnull final Strin * The administrative units in the scope of the workflow. Optional. Supports $expand. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public DirectoryObject get() { return get(null); } @@ -50,8 +53,11 @@ public DirectoryObject get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public DirectoryObject get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public DirectoryObject get(@jakarta.annotation.Nullable final java.util.function /** * The administrative units in the scope of the workflow. Optional. Supports $expand. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * The administrative units in the scope of the workflow. Optional. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link DirectoryObjectItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public DirectoryObjectItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new DirectoryObjectItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/createdby/CreatedByRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/createdby/CreatedByRequestBuilder.java index 34fb4779eea..ab9f76f6260 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/createdby/CreatedByRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/createdby/CreatedByRequestBuilder.java @@ -25,7 +25,10 @@ public class CreatedByRequestBuilder extends BaseRequestBuilder { /** * The mailboxSettings property * @return a {@link MailboxSettingsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public MailboxSettingsRequestBuilder mailboxSettings() { return new MailboxSettingsRequestBuilder(pathParameters, requestAdapter); @@ -33,7 +36,10 @@ public MailboxSettingsRequestBuilder mailboxSettings() { /** * The serviceProvisioningErrors property * @return a {@link ServiceProvisioningErrorsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ServiceProvisioningErrorsRequestBuilder serviceProvisioningErrors() { return new ServiceProvisioningErrorsRequestBuilder(pathParameters, requestAdapter); @@ -58,8 +64,11 @@ public CreatedByRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, * The user who created the workflow. * @return a {@link User} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public User get() { return get(null); } @@ -68,8 +77,11 @@ public User get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link User} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public User get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -79,8 +91,11 @@ public User get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -100,8 +118,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CreatedByRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CreatedByRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CreatedByRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/createdby/mailboxsettings/MailboxSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/createdby/mailboxsettings/MailboxSettingsRequestBuilder.java index 0971bad1d0c..cae5381b4f7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/createdby/mailboxsettings/MailboxSettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/createdby/mailboxsettings/MailboxSettingsRequestBuilder.java @@ -40,8 +40,11 @@ public MailboxSettingsRequestBuilder(@jakarta.annotation.Nonnull final String ra * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Requires $select to retrieve. * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings get() { return get(null); } @@ -50,8 +53,11 @@ public MailboxSettings get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -63,8 +69,11 @@ public MailboxSettings get(@jakarta.annotation.Nullable final java.util.function * @param body The request body * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings body) { return patch(body, null); } @@ -74,8 +83,11 @@ public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings b * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -86,8 +98,11 @@ public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings b /** * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Requires $select to retrieve. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -95,8 +110,11 @@ public RequestInformation toGetRequestInformation() { * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Requires $select to retrieve. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -107,8 +125,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update property mailboxSettings value. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxSettings body) { return toPatchRequestInformation(body, null); } @@ -117,8 +138,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -131,8 +155,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link MailboxSettingsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public MailboxSettingsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new MailboxSettingsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/createdby/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/createdby/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java index 1587aae8149..a829862ede2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/createdby/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/createdby/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java @@ -24,7 +24,10 @@ public class ServiceProvisioningErrorsRequestBuilder extends BaseRequestBuilder /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -49,8 +52,11 @@ public ServiceProvisioningErrorsRequestBuilder(@jakarta.annotation.Nonnull final * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. * @return a {@link ServiceProvisioningErrorCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ServiceProvisioningErrorCollectionResponse get() { return get(null); } @@ -59,8 +65,11 @@ public ServiceProvisioningErrorCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ServiceProvisioningErrorCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ServiceProvisioningErrorCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -70,8 +79,11 @@ public ServiceProvisioningErrorCollectionResponse get(@jakarta.annotation.Nullab /** * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -79,8 +91,11 @@ public RequestInformation toGetRequestInformation() { * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -91,8 +106,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ServiceProvisioningErrorsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ServiceProvisioningErrorsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ServiceProvisioningErrorsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/createdby/serviceprovisioningerrors/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/createdby/serviceprovisioningerrors/count/CountRequestBuilder.java index 7ff656a3406..5403c9ff5d6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/createdby/serviceprovisioningerrors/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/createdby/serviceprovisioningerrors/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/lastmodifiedby/LastModifiedByRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/lastmodifiedby/LastModifiedByRequestBuilder.java index 4539c940f91..cc5f20fc6bd 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/lastmodifiedby/LastModifiedByRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/lastmodifiedby/LastModifiedByRequestBuilder.java @@ -25,7 +25,10 @@ public class LastModifiedByRequestBuilder extends BaseRequestBuilder { /** * The mailboxSettings property * @return a {@link MailboxSettingsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public MailboxSettingsRequestBuilder mailboxSettings() { return new MailboxSettingsRequestBuilder(pathParameters, requestAdapter); @@ -33,7 +36,10 @@ public MailboxSettingsRequestBuilder mailboxSettings() { /** * The serviceProvisioningErrors property * @return a {@link ServiceProvisioningErrorsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ServiceProvisioningErrorsRequestBuilder serviceProvisioningErrors() { return new ServiceProvisioningErrorsRequestBuilder(pathParameters, requestAdapter); @@ -58,8 +64,11 @@ public LastModifiedByRequestBuilder(@jakarta.annotation.Nonnull final String raw * The user who last modified the workflow. * @return a {@link User} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public User get() { return get(null); } @@ -68,8 +77,11 @@ public User get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link User} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public User get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -79,8 +91,11 @@ public User get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -100,8 +118,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link LastModifiedByRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public LastModifiedByRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new LastModifiedByRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/lastmodifiedby/mailboxsettings/MailboxSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/lastmodifiedby/mailboxsettings/MailboxSettingsRequestBuilder.java index 57c60c18786..df5a0d6eed2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/lastmodifiedby/mailboxsettings/MailboxSettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/lastmodifiedby/mailboxsettings/MailboxSettingsRequestBuilder.java @@ -40,8 +40,11 @@ public MailboxSettingsRequestBuilder(@jakarta.annotation.Nonnull final String ra * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Requires $select to retrieve. * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings get() { return get(null); } @@ -50,8 +53,11 @@ public MailboxSettings get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -63,8 +69,11 @@ public MailboxSettings get(@jakarta.annotation.Nullable final java.util.function * @param body The request body * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings body) { return patch(body, null); } @@ -74,8 +83,11 @@ public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings b * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -86,8 +98,11 @@ public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings b /** * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Requires $select to retrieve. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -95,8 +110,11 @@ public RequestInformation toGetRequestInformation() { * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Requires $select to retrieve. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -107,8 +125,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update property mailboxSettings value. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxSettings body) { return toPatchRequestInformation(body, null); } @@ -117,8 +138,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -131,8 +155,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link MailboxSettingsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public MailboxSettingsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new MailboxSettingsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/lastmodifiedby/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/lastmodifiedby/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java index bb57beb0781..0da0c7524e2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/lastmodifiedby/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/lastmodifiedby/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java @@ -24,7 +24,10 @@ public class ServiceProvisioningErrorsRequestBuilder extends BaseRequestBuilder /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -49,8 +52,11 @@ public ServiceProvisioningErrorsRequestBuilder(@jakarta.annotation.Nonnull final * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. * @return a {@link ServiceProvisioningErrorCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ServiceProvisioningErrorCollectionResponse get() { return get(null); } @@ -59,8 +65,11 @@ public ServiceProvisioningErrorCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ServiceProvisioningErrorCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ServiceProvisioningErrorCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -70,8 +79,11 @@ public ServiceProvisioningErrorCollectionResponse get(@jakarta.annotation.Nullab /** * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -79,8 +91,11 @@ public RequestInformation toGetRequestInformation() { * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -91,8 +106,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ServiceProvisioningErrorsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ServiceProvisioningErrorsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ServiceProvisioningErrorsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/lastmodifiedby/serviceprovisioningerrors/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/lastmodifiedby/serviceprovisioningerrors/count/CountRequestBuilder.java index 8962041c050..2bd072f7c25 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/lastmodifiedby/serviceprovisioningerrors/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/lastmodifiedby/serviceprovisioningerrors/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/tasks/TasksRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/tasks/TasksRequestBuilder.java index 9ddacac8894..a29a142ab62 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/tasks/TasksRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/tasks/TasksRequestBuilder.java @@ -26,7 +26,10 @@ public class TasksRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the tasks property of the microsoft.graph.identityGovernance.workflowBase entity. * @param taskId The unique identifier of task * @return a {@link TaskItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public TaskItemRequestBuilder byTaskId(@jakarta.annotation.Nonnull final String taskId) { Objects.requireNonNull(taskId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public TasksRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * The tasks in the workflow. * @return a {@link TaskCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public TaskCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public TaskCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link TaskCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public TaskCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public TaskCollectionResponse get(@jakarta.annotation.Nullable final java.util.f * @param body The request body * @return a {@link Task} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Task post(@jakarta.annotation.Nonnull final Task body) { return post(body, null); } @@ -97,8 +112,11 @@ public Task post(@jakarta.annotation.Nonnull final Task body) { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Task} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Task post(@jakarta.annotation.Nonnull final Task body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public Task post(@jakarta.annotation.Nonnull final Task body, @jakarta.annotatio /** * The tasks in the workflow. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * The tasks in the workflow. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to tasks for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Task body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Task body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link TasksRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public TasksRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new TasksRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/tasks/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/tasks/count/CountRequestBuilder.java index cbffd60b664..b4a0a6db509 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/tasks/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/tasks/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/tasks/item/TaskItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/tasks/item/TaskItemRequestBuilder.java index 0dd4120559c..5906c6e4f49 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/tasks/item/TaskItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/tasks/item/TaskItemRequestBuilder.java @@ -24,7 +24,10 @@ public class TaskItemRequestBuilder extends BaseRequestBuilder { /** * Provides operations to manage the taskProcessingResults property of the microsoft.graph.identityGovernance.task entity. * @return a {@link TaskProcessingResultsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public TaskProcessingResultsRequestBuilder taskProcessingResults() { return new TaskProcessingResultsRequestBuilder(pathParameters, requestAdapter); @@ -48,7 +51,10 @@ public TaskItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ /** * Delete navigation property tasks for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -56,7 +62,10 @@ public void delete() { * Delete navigation property tasks for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -67,8 +76,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * The tasks in the workflow. * @return a {@link Task} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Task get() { return get(null); } @@ -77,8 +89,11 @@ public Task get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Task} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Task get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -90,8 +105,11 @@ public Task get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -113,8 +134,11 @@ public Task patch(@jakarta.annotation.Nonnull final Task body, @jakarta.annotati /** * Delete navigation property tasks for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -122,8 +146,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property tasks for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -133,8 +160,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * The tasks in the workflow. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -142,8 +172,11 @@ public RequestInformation toGetRequestInformation() { * The tasks in the workflow. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -154,8 +187,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property tasks in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final Task body) { return toPatchRequestInformation(body, null); } @@ -164,8 +200,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final Task body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -178,8 +217,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link TaskItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public TaskItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new TaskItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/tasks/item/taskprocessingresults/TaskProcessingResultsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/tasks/item/taskprocessingresults/TaskProcessingResultsRequestBuilder.java index 1d9c66559d6..24152b6fd9f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/tasks/item/taskprocessingresults/TaskProcessingResultsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/tasks/item/taskprocessingresults/TaskProcessingResultsRequestBuilder.java @@ -25,7 +25,10 @@ public class TaskProcessingResultsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -34,8 +37,11 @@ public CountRequestBuilder count() { * Provides operations to manage the taskProcessingResults property of the microsoft.graph.identityGovernance.task entity. * @param taskProcessingResultId The unique identifier of taskProcessingResult * @return a {@link TaskProcessingResultItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public TaskProcessingResultItemRequestBuilder byTaskProcessingResultId(@jakarta.annotation.Nonnull final String taskProcessingResultId) { Objects.requireNonNull(taskProcessingResultId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -62,8 +68,11 @@ public TaskProcessingResultsRequestBuilder(@jakarta.annotation.Nonnull final Str * The result of processing the task. * @return a {@link TaskProcessingResultCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public TaskProcessingResultCollectionResponse get() { return get(null); } @@ -72,8 +81,11 @@ public TaskProcessingResultCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link TaskProcessingResultCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public TaskProcessingResultCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -83,8 +95,11 @@ public TaskProcessingResultCollectionResponse get(@jakarta.annotation.Nullable f /** * The result of processing the task. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -92,8 +107,11 @@ public RequestInformation toGetRequestInformation() { * The result of processing the task. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -104,8 +122,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link TaskProcessingResultsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public TaskProcessingResultsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new TaskProcessingResultsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/tasks/item/taskprocessingresults/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/tasks/item/taskprocessingresults/count/CountRequestBuilder.java index 68a1b16e5a1..0ade69828dd 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/tasks/item/taskprocessingresults/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/tasks/item/taskprocessingresults/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/tasks/item/taskprocessingresults/item/TaskProcessingResultItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/tasks/item/taskprocessingresults/item/TaskProcessingResultItemRequestBuilder.java index 4a4284e67af..dc3b2aa1ab6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/tasks/item/taskprocessingresults/item/TaskProcessingResultItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/tasks/item/taskprocessingresults/item/TaskProcessingResultItemRequestBuilder.java @@ -26,7 +26,10 @@ public class TaskProcessingResultItemRequestBuilder extends BaseRequestBuilder { /** * Provides operations to call the resume method. * @return a {@link MicrosoftGraphIdentityGovernanceResumeRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public MicrosoftGraphIdentityGovernanceResumeRequestBuilder microsoftGraphIdentityGovernanceResume() { return new MicrosoftGraphIdentityGovernanceResumeRequestBuilder(pathParameters, requestAdapter); @@ -34,7 +37,10 @@ public MicrosoftGraphIdentityGovernanceResumeRequestBuilder microsoftGraphIdenti /** * Provides operations to manage the subject property of the microsoft.graph.identityGovernance.taskProcessingResult entity. * @return a {@link SubjectRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public SubjectRequestBuilder subject() { return new SubjectRequestBuilder(pathParameters, requestAdapter); @@ -42,7 +48,10 @@ public SubjectRequestBuilder subject() { /** * Provides operations to manage the task property of the microsoft.graph.identityGovernance.taskProcessingResult entity. * @return a {@link TaskRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public TaskRequestBuilder task() { return new TaskRequestBuilder(pathParameters, requestAdapter); @@ -67,8 +76,11 @@ public TaskProcessingResultItemRequestBuilder(@jakarta.annotation.Nonnull final * The result of processing the task. * @return a {@link TaskProcessingResult} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public TaskProcessingResult get() { return get(null); } @@ -77,8 +89,11 @@ public TaskProcessingResult get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link TaskProcessingResult} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public TaskProcessingResult get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -88,8 +103,11 @@ public TaskProcessingResult get(@jakarta.annotation.Nullable final java.util.fun /** * The result of processing the task. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -97,8 +115,11 @@ public RequestInformation toGetRequestInformation() { * The result of processing the task. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -109,8 +130,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link TaskProcessingResultItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public TaskProcessingResultItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new TaskProcessingResultItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/tasks/item/taskprocessingresults/item/microsoftgraphidentitygovernanceresume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/tasks/item/taskprocessingresults/item/microsoftgraphidentitygovernanceresume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.java index 05f502ffb89..36dc0150993 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/tasks/item/taskprocessingresults/item/microsoftgraphidentitygovernanceresume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/tasks/item/taskprocessingresults/item/microsoftgraphidentitygovernanceresume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.java @@ -38,8 +38,11 @@ public MicrosoftGraphIdentityGovernanceResumeRequestBuilder(@jakarta.annotation. * Resume a taskProcessingResult that's inProgress. In the default case, an Azure Logic Apps system-assigned managed identity calls this API. For more information, see Lifecycle Workflows extensibility approach. * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final ResumePostRequestBody body) { post(body, null); } @@ -48,8 +51,11 @@ public void post(@jakarta.annotation.Nonnull final ResumePostRequestBody body) { * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final ResumePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -61,8 +67,11 @@ public void post(@jakarta.annotation.Nonnull final ResumePostRequestBody body, @ * Resume a taskProcessingResult that's inProgress. In the default case, an Azure Logic Apps system-assigned managed identity calls this API. For more information, see Lifecycle Workflows extensibility approach. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ResumePostRequestBody body) { return toPostRequestInformation(body, null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ResumePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -85,8 +97,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link MicrosoftGraphIdentityGovernanceResumeRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public MicrosoftGraphIdentityGovernanceResumeRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new MicrosoftGraphIdentityGovernanceResumeRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/tasks/item/taskprocessingresults/item/subject/SubjectRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/tasks/item/taskprocessingresults/item/subject/SubjectRequestBuilder.java index 16a391d6a69..f98f17a8157 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/tasks/item/taskprocessingresults/item/subject/SubjectRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/tasks/item/taskprocessingresults/item/subject/SubjectRequestBuilder.java @@ -25,7 +25,10 @@ public class SubjectRequestBuilder extends BaseRequestBuilder { /** * The mailboxSettings property * @return a {@link MailboxSettingsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public MailboxSettingsRequestBuilder mailboxSettings() { return new MailboxSettingsRequestBuilder(pathParameters, requestAdapter); @@ -33,7 +36,10 @@ public MailboxSettingsRequestBuilder mailboxSettings() { /** * The serviceProvisioningErrors property * @return a {@link ServiceProvisioningErrorsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ServiceProvisioningErrorsRequestBuilder serviceProvisioningErrors() { return new ServiceProvisioningErrorsRequestBuilder(pathParameters, requestAdapter); @@ -58,8 +64,11 @@ public SubjectRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j * The unique identifier of the Microsoft Entra user targeted for the task execution.Supports $filter(eq, ne) and $expand. * @return a {@link User} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public User get() { return get(null); } @@ -68,8 +77,11 @@ public User get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link User} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public User get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -79,8 +91,11 @@ public User get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -100,8 +118,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link SubjectRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public SubjectRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new SubjectRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/tasks/item/taskprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/tasks/item/taskprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java index fceb094d745..4afc5f7a2c1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/tasks/item/taskprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/tasks/item/taskprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java @@ -40,8 +40,11 @@ public MailboxSettingsRequestBuilder(@jakarta.annotation.Nonnull final String ra * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Requires $select to retrieve. * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings get() { return get(null); } @@ -50,8 +53,11 @@ public MailboxSettings get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -63,8 +69,11 @@ public MailboxSettings get(@jakarta.annotation.Nullable final java.util.function * @param body The request body * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings body) { return patch(body, null); } @@ -74,8 +83,11 @@ public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings b * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -86,8 +98,11 @@ public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings b /** * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Requires $select to retrieve. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -95,8 +110,11 @@ public RequestInformation toGetRequestInformation() { * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Requires $select to retrieve. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -107,8 +125,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update property mailboxSettings value. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxSettings body) { return toPatchRequestInformation(body, null); } @@ -117,8 +138,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -131,8 +155,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link MailboxSettingsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public MailboxSettingsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new MailboxSettingsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/tasks/item/taskprocessingresults/item/subject/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/tasks/item/taskprocessingresults/item/subject/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java index 6fd2a6336ec..bdbdbe64b50 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/tasks/item/taskprocessingresults/item/subject/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/tasks/item/taskprocessingresults/item/subject/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java @@ -24,7 +24,10 @@ public class ServiceProvisioningErrorsRequestBuilder extends BaseRequestBuilder /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -49,8 +52,11 @@ public ServiceProvisioningErrorsRequestBuilder(@jakarta.annotation.Nonnull final * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. * @return a {@link ServiceProvisioningErrorCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ServiceProvisioningErrorCollectionResponse get() { return get(null); } @@ -59,8 +65,11 @@ public ServiceProvisioningErrorCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ServiceProvisioningErrorCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ServiceProvisioningErrorCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -70,8 +79,11 @@ public ServiceProvisioningErrorCollectionResponse get(@jakarta.annotation.Nullab /** * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -79,8 +91,11 @@ public RequestInformation toGetRequestInformation() { * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -91,8 +106,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ServiceProvisioningErrorsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ServiceProvisioningErrorsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ServiceProvisioningErrorsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/tasks/item/taskprocessingresults/item/subject/serviceprovisioningerrors/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/tasks/item/taskprocessingresults/item/subject/serviceprovisioningerrors/count/CountRequestBuilder.java index 35887e8f06c..b186d4c6988 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/tasks/item/taskprocessingresults/item/subject/serviceprovisioningerrors/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/tasks/item/taskprocessingresults/item/subject/serviceprovisioningerrors/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/tasks/item/taskprocessingresults/item/task/TaskRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/tasks/item/taskprocessingresults/item/task/TaskRequestBuilder.java index 3e7038ec445..b0b187f2de9 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/tasks/item/taskprocessingresults/item/task/TaskRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/tasks/item/taskprocessingresults/item/task/TaskRequestBuilder.java @@ -40,8 +40,11 @@ public TaskRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jaka * The related workflow task * @return a {@link Task} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Task get() { return get(null); } @@ -50,8 +53,11 @@ public Task get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Task} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Task get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public Task get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link TaskRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public TaskRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new TaskRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/insights/InsightsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/insights/InsightsRequestBuilder.java index 193006592ab..0273eccaac1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/insights/InsightsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/insights/InsightsRequestBuilder.java @@ -44,7 +44,10 @@ public InsightsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ /** * Delete navigation property insights for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -52,7 +55,10 @@ public void delete() { * Delete navigation property insights for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -63,8 +69,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * The insight container holding workflow insight summaries for a tenant. * @return a {@link Insights} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Insights get() { return get(null); } @@ -73,8 +82,11 @@ public Insights get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Insights} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Insights get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public Insights get(@jakarta.annotation.Nullable final java.util.function.Consum * @param endDateTime Usage: endDateTime={endDateTime} * @param startDateTime Usage: startDateTime={startDateTime} * @return a {@link MicrosoftGraphIdentityGovernanceTopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public MicrosoftGraphIdentityGovernanceTopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilder microsoftGraphIdentityGovernanceTopTasksProcessedSummaryWithStartDateTimeWithEndDateTime(@jakarta.annotation.Nonnull final OffsetDateTime endDateTime, @jakarta.annotation.Nonnull final OffsetDateTime startDateTime) { Objects.requireNonNull(endDateTime); Objects.requireNonNull(startDateTime); @@ -98,8 +113,11 @@ public MicrosoftGraphIdentityGovernanceTopTasksProcessedSummaryWithStartDateTime * @param endDateTime Usage: endDateTime={endDateTime} * @param startDateTime Usage: startDateTime={startDateTime} * @return a {@link MicrosoftGraphIdentityGovernanceTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public MicrosoftGraphIdentityGovernanceTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilder microsoftGraphIdentityGovernanceTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTime(@jakarta.annotation.Nonnull final OffsetDateTime endDateTime, @jakarta.annotation.Nonnull final OffsetDateTime startDateTime) { Objects.requireNonNull(endDateTime); Objects.requireNonNull(startDateTime); @@ -110,8 +128,11 @@ public MicrosoftGraphIdentityGovernanceTopWorkflowsProcessedSummaryWithStartDate * @param endDateTime Usage: endDateTime={endDateTime} * @param startDateTime Usage: startDateTime={startDateTime} * @return a {@link MicrosoftGraphIdentityGovernanceWorkflowsProcessedByCategoryWithStartDateTimeWithEndDateTimeRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public MicrosoftGraphIdentityGovernanceWorkflowsProcessedByCategoryWithStartDateTimeWithEndDateTimeRequestBuilder microsoftGraphIdentityGovernanceWorkflowsProcessedByCategoryWithStartDateTimeWithEndDateTime(@jakarta.annotation.Nonnull final OffsetDateTime endDateTime, @jakarta.annotation.Nonnull final OffsetDateTime startDateTime) { Objects.requireNonNull(endDateTime); Objects.requireNonNull(startDateTime); @@ -122,8 +143,11 @@ public MicrosoftGraphIdentityGovernanceWorkflowsProcessedByCategoryWithStartDate * @param endDateTime Usage: endDateTime={endDateTime} * @param startDateTime Usage: startDateTime={startDateTime} * @return a {@link MicrosoftGraphIdentityGovernanceWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public MicrosoftGraphIdentityGovernanceWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilder microsoftGraphIdentityGovernanceWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTime(@jakarta.annotation.Nonnull final OffsetDateTime endDateTime, @jakarta.annotation.Nonnull final OffsetDateTime startDateTime) { Objects.requireNonNull(endDateTime); Objects.requireNonNull(startDateTime); @@ -134,8 +158,11 @@ public MicrosoftGraphIdentityGovernanceWorkflowsProcessedSummaryWithStartDateTim * @param body The request body * @return a {@link Insights} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Insights patch(@jakarta.annotation.Nonnull final Insights body) { return patch(body, null); } @@ -145,8 +172,11 @@ public Insights patch(@jakarta.annotation.Nonnull final Insights body) { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Insights} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Insights patch(@jakarta.annotation.Nonnull final Insights body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -157,8 +187,11 @@ public Insights patch(@jakarta.annotation.Nonnull final Insights body, @jakarta. /** * Delete navigation property insights for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -166,8 +199,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property insights for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -177,8 +213,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * The insight container holding workflow insight summaries for a tenant. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -186,8 +225,11 @@ public RequestInformation toGetRequestInformation() { * The insight container holding workflow insight summaries for a tenant. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -198,8 +240,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property insights in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final Insights body) { return toPatchRequestInformation(body, null); } @@ -208,8 +253,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final Insights body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -222,8 +270,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link InsightsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public InsightsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new InsightsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/insights/microsoftgraphidentitygovernancetoptasksprocessedsummarywithstartdatetimewithenddatetime/MicrosoftGraphIdentityGovernanceTopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/insights/microsoftgraphidentitygovernancetoptasksprocessedsummarywithstartdatetimewithenddatetime/MicrosoftGraphIdentityGovernanceTopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.java index 0fce9642aa0..820da5761aa 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/insights/microsoftgraphidentitygovernancetoptasksprocessedsummarywithstartdatetimewithenddatetime/MicrosoftGraphIdentityGovernanceTopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/insights/microsoftgraphidentitygovernancetoptasksprocessedsummarywithstartdatetimewithenddatetime/MicrosoftGraphIdentityGovernanceTopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.java @@ -44,9 +44,12 @@ public MicrosoftGraphIdentityGovernanceTopTasksProcessedSummaryWithStartDateTime * Provide a summary from the insights resource of the most processed task objects, known as top tasks, for a specified time period in a tenant. The task definition is provided, along with numerical counts of total, successful, and failed runs. For information about workflows processed, see insights: topWorkflowsProcessedSummary. * @return a {@link TopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public TopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeGetResponse get() { return get(null); } @@ -55,9 +58,12 @@ public TopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeGetResponse get() * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link TopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public TopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeGetResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -67,8 +73,11 @@ public TopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeGetResponse get(@ /** * Provide a summary from the insights resource of the most processed task objects, known as top tasks, for a specified time period in a tenant. The task definition is provided, along with numerical counts of total, successful, and failed runs. For information about workflows processed, see insights: topWorkflowsProcessedSummary. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -76,8 +85,11 @@ public RequestInformation toGetRequestInformation() { * Provide a summary from the insights resource of the most processed task objects, known as top tasks, for a specified time period in a tenant. The task definition is provided, along with numerical counts of total, successful, and failed runs. For information about workflows processed, see insights: topWorkflowsProcessedSummary. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -88,8 +100,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link MicrosoftGraphIdentityGovernanceTopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public MicrosoftGraphIdentityGovernanceTopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new MicrosoftGraphIdentityGovernanceTopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/insights/microsoftgraphidentitygovernancetopworkflowsprocessedsummarywithstartdatetimewithenddatetime/MicrosoftGraphIdentityGovernanceTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/insights/microsoftgraphidentitygovernancetopworkflowsprocessedsummarywithstartdatetimewithenddatetime/MicrosoftGraphIdentityGovernanceTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.java index 1dda133056c..0f28f9f62c7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/insights/microsoftgraphidentitygovernancetopworkflowsprocessedsummarywithstartdatetimewithenddatetime/MicrosoftGraphIdentityGovernanceTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/insights/microsoftgraphidentitygovernancetopworkflowsprocessedsummarywithstartdatetimewithenddatetime/MicrosoftGraphIdentityGovernanceTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.java @@ -44,9 +44,12 @@ public MicrosoftGraphIdentityGovernanceTopWorkflowsProcessedSummaryWithStartDate * Provide a summary from the insights resource of the workflow objects processed the most, known as top workflows, for a specified period in a tenant. Workflow basic details are given, along with run information. For information about tasks processed, see insights: topTasksProcessedSummary. * @return a {@link TopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public TopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeGetResponse get() { return get(null); } @@ -55,9 +58,12 @@ public TopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeGetResponse g * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link TopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public TopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeGetResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -67,8 +73,11 @@ public TopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeGetResponse g /** * Provide a summary from the insights resource of the workflow objects processed the most, known as top workflows, for a specified period in a tenant. Workflow basic details are given, along with run information. For information about tasks processed, see insights: topTasksProcessedSummary. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -76,8 +85,11 @@ public RequestInformation toGetRequestInformation() { * Provide a summary from the insights resource of the workflow objects processed the most, known as top workflows, for a specified period in a tenant. Workflow basic details are given, along with run information. For information about tasks processed, see insights: topTasksProcessedSummary. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -88,8 +100,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link MicrosoftGraphIdentityGovernanceTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public MicrosoftGraphIdentityGovernanceTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new MicrosoftGraphIdentityGovernanceTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/insights/microsoftgraphidentitygovernanceworkflowsprocessedbycategorywithstartdatetimewithenddatetime/MicrosoftGraphIdentityGovernanceWorkflowsProcessedByCategoryWithStartDateTimeWithEndDateTimeRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/insights/microsoftgraphidentitygovernanceworkflowsprocessedbycategorywithstartdatetimewithenddatetime/MicrosoftGraphIdentityGovernanceWorkflowsProcessedByCategoryWithStartDateTimeWithEndDateTimeRequestBuilder.java index 40053271ceb..0e8556df464 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/insights/microsoftgraphidentitygovernanceworkflowsprocessedbycategorywithstartdatetimewithenddatetime/MicrosoftGraphIdentityGovernanceWorkflowsProcessedByCategoryWithStartDateTimeWithEndDateTimeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/insights/microsoftgraphidentitygovernanceworkflowsprocessedbycategorywithstartdatetimewithenddatetime/MicrosoftGraphIdentityGovernanceWorkflowsProcessedByCategoryWithStartDateTimeWithEndDateTimeRequestBuilder.java @@ -44,9 +44,12 @@ public MicrosoftGraphIdentityGovernanceWorkflowsProcessedByCategoryWithStartDate * Provide a summary from the insights resource of workflow objects processed by category in a tenant. This allows you to quickly get category information, by numerical value, without retrieving the other information included in the workflowsProcessedSummary call. * @return a {@link WorkflowsInsightsByCategory} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public WorkflowsInsightsByCategory get() { return get(null); } @@ -55,9 +58,12 @@ public WorkflowsInsightsByCategory get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link WorkflowsInsightsByCategory} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public WorkflowsInsightsByCategory get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -67,8 +73,11 @@ public WorkflowsInsightsByCategory get(@jakarta.annotation.Nullable final java.u /** * Provide a summary from the insights resource of workflow objects processed by category in a tenant. This allows you to quickly get category information, by numerical value, without retrieving the other information included in the workflowsProcessedSummary call. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -76,8 +85,11 @@ public RequestInformation toGetRequestInformation() { * Provide a summary from the insights resource of workflow objects processed by category in a tenant. This allows you to quickly get category information, by numerical value, without retrieving the other information included in the workflowsProcessedSummary call. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new); @@ -88,8 +100,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link MicrosoftGraphIdentityGovernanceWorkflowsProcessedByCategoryWithStartDateTimeWithEndDateTimeRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public MicrosoftGraphIdentityGovernanceWorkflowsProcessedByCategoryWithStartDateTimeWithEndDateTimeRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new MicrosoftGraphIdentityGovernanceWorkflowsProcessedByCategoryWithStartDateTimeWithEndDateTimeRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/insights/microsoftgraphidentitygovernanceworkflowsprocessedsummarywithstartdatetimewithenddatetime/MicrosoftGraphIdentityGovernanceWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/insights/microsoftgraphidentitygovernanceworkflowsprocessedsummarywithstartdatetimewithenddatetime/MicrosoftGraphIdentityGovernanceWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.java index b8383e036b2..c3128e3f97d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/insights/microsoftgraphidentitygovernanceworkflowsprocessedsummarywithstartdatetimewithenddatetime/MicrosoftGraphIdentityGovernanceWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/insights/microsoftgraphidentitygovernanceworkflowsprocessedsummarywithstartdatetimewithenddatetime/MicrosoftGraphIdentityGovernanceWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.java @@ -44,9 +44,12 @@ public MicrosoftGraphIdentityGovernanceWorkflowsProcessedSummaryWithStartDateTim * Provide a summary from the insights resource of workflow objects processed within a tenant for a specified period. Because the list returned by List workflows doesn't indicate which workflows were processed, this summary gives you a quick overview based on counts. * @return a {@link WorkflowsInsightsSummary} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public WorkflowsInsightsSummary get() { return get(null); } @@ -55,9 +58,12 @@ public WorkflowsInsightsSummary get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link WorkflowsInsightsSummary} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public WorkflowsInsightsSummary get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -67,8 +73,11 @@ public WorkflowsInsightsSummary get(@jakarta.annotation.Nullable final java.util /** * Provide a summary from the insights resource of workflow objects processed within a tenant for a specified period. Because the list returned by List workflows doesn't indicate which workflows were processed, this summary gives you a quick overview based on counts. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -76,8 +85,11 @@ public RequestInformation toGetRequestInformation() { * Provide a summary from the insights resource of workflow objects processed within a tenant for a specified period. Because the list returned by List workflows doesn't indicate which workflows were processed, this summary gives you a quick overview based on counts. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new); @@ -88,8 +100,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link MicrosoftGraphIdentityGovernanceWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public MicrosoftGraphIdentityGovernanceWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new MicrosoftGraphIdentityGovernanceWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/lifecyclepolicies/LifecyclePoliciesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/lifecyclepolicies/LifecyclePoliciesRequestBuilder.java new file mode 100644 index 00000000000..446e3020264 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/lifecyclepolicies/LifecyclePoliciesRequestBuilder.java @@ -0,0 +1,276 @@ +package com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies; + +import com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.count.CountRequestBuilder; +import com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.LifecyclePolicyItemRequestBuilder; +import com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicy; +import com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicyCollectionResponse; +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to manage the lifecyclePolicies property of the microsoft.graph.identityGovernance.lifecycleWorkflowsContainer entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class LifecyclePoliciesRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to count the resources in the collection. + * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @Deprecated + @jakarta.annotation.Nonnull + public CountRequestBuilder count() { + return new CountRequestBuilder(pathParameters, requestAdapter); + } + /** + * Provides operations to manage the lifecyclePolicies property of the microsoft.graph.identityGovernance.lifecycleWorkflowsContainer entity. + * @param lifecyclePolicyId The unique identifier of lifecyclePolicy + * @return a {@link LifecyclePolicyItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public LifecyclePolicyItemRequestBuilder byLifecyclePolicyId(@jakarta.annotation.Nonnull final String lifecyclePolicyId) { + Objects.requireNonNull(lifecyclePolicyId); + final HashMap urlTplParams = new HashMap(this.pathParameters); + urlTplParams.put("lifecyclePolicy%2Did", lifecyclePolicyId); + return new LifecyclePolicyItemRequestBuilder(urlTplParams, requestAdapter); + } + /** + * Instantiates a new {@link LifecyclePoliciesRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public LifecyclePoliciesRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters); + } + /** + * Instantiates a new {@link LifecyclePoliciesRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public LifecyclePoliciesRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); + } + /** + * Get lifecyclePolicies from identityGovernance + * @return a {@link LifecyclePolicyCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nullable + @Deprecated + public LifecyclePolicyCollectionResponse get() { + return get(null); + } + /** + * Get lifecyclePolicies from identityGovernance + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link LifecyclePolicyCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nullable + @Deprecated + public LifecyclePolicyCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, LifecyclePolicyCollectionResponse::createFromDiscriminatorValue); + } + /** + * Create new navigation property to lifecyclePolicies for identityGovernance + * @param body The request body + * @return a {@link LifecyclePolicy} + * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nullable + @Deprecated + public LifecyclePolicy post(@jakarta.annotation.Nonnull final LifecyclePolicy body) { + return post(body, null); + } + /** + * Create new navigation property to lifecyclePolicies for identityGovernance + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link LifecyclePolicy} + * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nullable + @Deprecated + public LifecyclePolicy post(@jakarta.annotation.Nonnull final LifecyclePolicy body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, LifecyclePolicy::createFromDiscriminatorValue); + } + /** + * Get lifecyclePolicies from identityGovernance + * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get lifecyclePolicies from identityGovernance + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Create new navigation property to lifecyclePolicies for identityGovernance + * @param body The request body + * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final LifecyclePolicy body) { + return toPostRequestInformation(body, null); + } + /** + * Create new navigation property to lifecyclePolicies for identityGovernance + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final LifecyclePolicy body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); + 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. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link LifecyclePoliciesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public LifecyclePoliciesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new LifecyclePoliciesRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get lifecyclePolicies from identityGovernance + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Include count of items + */ + @jakarta.annotation.Nullable + public Boolean count; + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Filter items by property values + */ + @jakarta.annotation.Nullable + public String filter; + /** + * Order items by property values + */ + @jakarta.annotation.Nullable + public String[] orderby; + /** + * Search items by search phrases + */ + @jakarta.annotation.Nullable + public String search; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Skip the first n items + */ + @jakarta.annotation.Nullable + public Integer skip; + /** + * Show only the first n items + */ + @jakarta.annotation.Nullable + public Integer top; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24count", count); + allQueryParams.put("%24filter", filter); + allQueryParams.put("%24search", search); + allQueryParams.put("%24skip", skip); + allQueryParams.put("%24top", top); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24orderby", orderby); + allQueryParams.put("%24select", select); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PostRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/employeeexperience/communities/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/lifecyclepolicies/count/CountRequestBuilder.java similarity index 83% rename from src/main/java/com/microsoft/graph/beta/generated/employeeexperience/communities/count/CountRequestBuilder.java rename to src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/lifecyclepolicies/count/CountRequestBuilder.java index 931290e81d0..541cecc1b0f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/employeeexperience/communities/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/lifecyclepolicies/count/CountRequestBuilder.java @@ -1,4 +1,4 @@ -package com.microsoft.graph.beta.employeeexperience.communities.count; +package com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.count; import com.microsoft.graph.beta.models.odataerrors.ODataError; import com.microsoft.kiota.BaseRequestBuilder; @@ -25,7 +25,7 @@ public class CountRequestBuilder extends BaseRequestBuilder { * @param requestAdapter The request adapter to use to execute the requests. */ public CountRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { - super(requestAdapter, "{+baseurl}/employeeExperience/communities/$count{?%24filter,%24search}", pathParameters); + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/$count{?%24filter,%24search}", pathParameters); } /** * Instantiates a new {@link CountRequestBuilder} and sets the default values. @@ -33,14 +33,17 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final HashMap requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/lifecyclepolicies/item/LifecyclePolicyItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/lifecyclepolicies/item/LifecyclePolicyItemRequestBuilder.java new file mode 100644 index 00000000000..5e582755882 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/lifecyclepolicies/item/LifecyclePolicyItemRequestBuilder.java @@ -0,0 +1,260 @@ +package com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item; + +import com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.createdby.CreatedByRequestBuilder; +import com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.lastmodifiedby.LastModifiedByRequestBuilder; +import com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.microsoftgraphidentitygovernancerestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder; +import com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.rules.RulesRequestBuilder; +import com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.VersionsRequestBuilder; +import com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicy; +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to manage the lifecyclePolicies property of the microsoft.graph.identityGovernance.lifecycleWorkflowsContainer entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class LifecyclePolicyItemRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to manage the createdBy property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + * @return a {@link CreatedByRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @Deprecated + @jakarta.annotation.Nonnull + public CreatedByRequestBuilder createdBy() { + return new CreatedByRequestBuilder(pathParameters, requestAdapter); + } + /** + * Provides operations to manage the lastModifiedBy property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + * @return a {@link LastModifiedByRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @Deprecated + @jakarta.annotation.Nonnull + public LastModifiedByRequestBuilder lastModifiedBy() { + return new LastModifiedByRequestBuilder(pathParameters, requestAdapter); + } + /** + * Provides operations to call the restore method. + * @return a {@link MicrosoftGraphIdentityGovernanceRestoreRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @Deprecated + @jakarta.annotation.Nonnull + public MicrosoftGraphIdentityGovernanceRestoreRequestBuilder microsoftGraphIdentityGovernanceRestore() { + return new MicrosoftGraphIdentityGovernanceRestoreRequestBuilder(pathParameters, requestAdapter); + } + /** + * Provides operations to manage the rules property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + * @return a {@link RulesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @Deprecated + @jakarta.annotation.Nonnull + public RulesRequestBuilder rules() { + return new RulesRequestBuilder(pathParameters, requestAdapter); + } + /** + * Provides operations to manage the versions property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + * @return a {@link VersionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @Deprecated + @jakarta.annotation.Nonnull + public VersionsRequestBuilder versions() { + return new VersionsRequestBuilder(pathParameters, requestAdapter); + } + /** + * Instantiates a new {@link LifecyclePolicyItemRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public LifecyclePolicyItemRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link LifecyclePolicyItemRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public LifecyclePolicyItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}{?%24expand,%24select}", rawUrl); + } + /** + * Delete navigation property lifecyclePolicies for identityGovernance + * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @Deprecated + public void delete() { + delete(null); + } + /** + * Delete navigation property lifecyclePolicies for identityGovernance + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @Deprecated + public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); + } + /** + * Get lifecyclePolicies from identityGovernance + * @return a {@link LifecyclePolicy} + * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nullable + @Deprecated + public LifecyclePolicy get() { + return get(null); + } + /** + * Get lifecyclePolicies from identityGovernance + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link LifecyclePolicy} + * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nullable + @Deprecated + public LifecyclePolicy get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, LifecyclePolicy::createFromDiscriminatorValue); + } + /** + * Delete navigation property lifecyclePolicies for identityGovernance + * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public RequestInformation toDeleteRequestInformation() { + return toDeleteRequestInformation(null); + } + /** + * Delete navigation property lifecyclePolicies for identityGovernance + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Get lifecyclePolicies from identityGovernance + * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get lifecyclePolicies from identityGovernance + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + 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. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link LifecyclePolicyItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public LifecyclePolicyItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new LifecyclePolicyItemRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class DeleteRequestConfiguration extends BaseRequestConfiguration { + } + /** + * Get lifecyclePolicies from identityGovernance + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24select", select); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/lifecyclepolicies/item/createdby/CreatedByRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/lifecyclepolicies/item/createdby/CreatedByRequestBuilder.java new file mode 100644 index 00000000000..e8050928ef4 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/lifecyclepolicies/item/createdby/CreatedByRequestBuilder.java @@ -0,0 +1,144 @@ +package com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.createdby; + +import com.microsoft.graph.beta.models.DirectoryObject; +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to manage the createdBy property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class CreatedByRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link CreatedByRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public CreatedByRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/createdBy{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link CreatedByRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public CreatedByRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/createdBy{?%24expand,%24select}", rawUrl); + } + /** + * Get createdBy from identityGovernance + * @return a {@link DirectoryObject} + * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nullable + @Deprecated + public DirectoryObject get() { + return get(null); + } + /** + * Get createdBy from identityGovernance + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link DirectoryObject} + * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nullable + @Deprecated + public DirectoryObject get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, DirectoryObject::createFromDiscriminatorValue); + } + /** + * Get createdBy from identityGovernance + * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get createdBy from identityGovernance + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + 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. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link CreatedByRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public CreatedByRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new CreatedByRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get createdBy from identityGovernance + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24select", select); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/lifecyclepolicies/item/lastmodifiedby/LastModifiedByRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/lifecyclepolicies/item/lastmodifiedby/LastModifiedByRequestBuilder.java new file mode 100644 index 00000000000..179185b3711 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/lifecyclepolicies/item/lastmodifiedby/LastModifiedByRequestBuilder.java @@ -0,0 +1,144 @@ +package com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.lastmodifiedby; + +import com.microsoft.graph.beta.models.DirectoryObject; +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to manage the lastModifiedBy property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class LastModifiedByRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link LastModifiedByRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public LastModifiedByRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/lastModifiedBy{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link LastModifiedByRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public LastModifiedByRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/lastModifiedBy{?%24expand,%24select}", rawUrl); + } + /** + * Get lastModifiedBy from identityGovernance + * @return a {@link DirectoryObject} + * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nullable + @Deprecated + public DirectoryObject get() { + return get(null); + } + /** + * Get lastModifiedBy from identityGovernance + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link DirectoryObject} + * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nullable + @Deprecated + public DirectoryObject get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, DirectoryObject::createFromDiscriminatorValue); + } + /** + * Get lastModifiedBy from identityGovernance + * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get lastModifiedBy from identityGovernance + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + 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. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link LastModifiedByRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public LastModifiedByRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new LastModifiedByRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get lastModifiedBy from identityGovernance + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24select", select); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/lifecyclepolicies/item/microsoftgraphidentitygovernancerestore/MicrosoftGraphIdentityGovernanceRestoreRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/lifecyclepolicies/item/microsoftgraphidentitygovernancerestore/MicrosoftGraphIdentityGovernanceRestoreRequestBuilder.java new file mode 100644 index 00000000000..abfce3baadf --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/lifecyclepolicies/item/microsoftgraphidentitygovernancerestore/MicrosoftGraphIdentityGovernanceRestoreRequestBuilder.java @@ -0,0 +1,111 @@ +package com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.microsoftgraphidentitygovernancerestore; + +import com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicy; +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to call the restore method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class MicrosoftGraphIdentityGovernanceRestoreRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link MicrosoftGraphIdentityGovernanceRestoreRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public MicrosoftGraphIdentityGovernanceRestoreRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/microsoft.graph.identityGovernance.restore", pathParameters); + } + /** + * Instantiates a new {@link MicrosoftGraphIdentityGovernanceRestoreRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public MicrosoftGraphIdentityGovernanceRestoreRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/microsoft.graph.identityGovernance.restore", rawUrl); + } + /** + * Invoke action restore + * @return a {@link LifecyclePolicy} + * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nullable + @Deprecated + public LifecyclePolicy post() { + return post(null); + } + /** + * Invoke action restore + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link LifecyclePolicy} + * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nullable + @Deprecated + public LifecyclePolicy post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, LifecyclePolicy::createFromDiscriminatorValue); + } + /** + * Invoke action restore + * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public RequestInformation toPostRequestInformation() { + return toPostRequestInformation(null); + } + /** + * Invoke action restore + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); + 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. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link MicrosoftGraphIdentityGovernanceRestoreRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public MicrosoftGraphIdentityGovernanceRestoreRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new MicrosoftGraphIdentityGovernanceRestoreRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PostRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/lifecyclepolicies/item/rules/RulesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/lifecyclepolicies/item/rules/RulesRequestBuilder.java new file mode 100644 index 00000000000..7d564381423 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/lifecyclepolicies/item/rules/RulesRequestBuilder.java @@ -0,0 +1,196 @@ +package com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.rules; + +import com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.rules.item.LifecyclePolicyRuleItemRequestBuilder; +import com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicyRuleCollectionResponse; +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to manage the rules property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RulesRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to manage the rules property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + * @param lifecyclePolicyRuleId The unique identifier of lifecyclePolicyRule + * @return a {@link LifecyclePolicyRuleItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public LifecyclePolicyRuleItemRequestBuilder byLifecyclePolicyRuleId(@jakarta.annotation.Nonnull final String lifecyclePolicyRuleId) { + Objects.requireNonNull(lifecyclePolicyRuleId); + final HashMap urlTplParams = new HashMap(this.pathParameters); + urlTplParams.put("lifecyclePolicyRule%2Did", lifecyclePolicyRuleId); + return new LifecyclePolicyRuleItemRequestBuilder(urlTplParams, requestAdapter); + } + /** + * Instantiates a new {@link RulesRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public RulesRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/rules{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters); + } + /** + * Instantiates a new {@link RulesRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public RulesRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/rules{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); + } + /** + * Get rules from identityGovernance + * @return a {@link LifecyclePolicyRuleCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nullable + @Deprecated + public LifecyclePolicyRuleCollectionResponse get() { + return get(null); + } + /** + * Get rules from identityGovernance + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link LifecyclePolicyRuleCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nullable + @Deprecated + public LifecyclePolicyRuleCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, LifecyclePolicyRuleCollectionResponse::createFromDiscriminatorValue); + } + /** + * Get rules from identityGovernance + * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get rules from identityGovernance + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + 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. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link RulesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public RulesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new RulesRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get rules from identityGovernance + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Include count of items + */ + @jakarta.annotation.Nullable + public Boolean count; + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Filter items by property values + */ + @jakarta.annotation.Nullable + public String filter; + /** + * Order items by property values + */ + @jakarta.annotation.Nullable + public String[] orderby; + /** + * Search items by search phrases + */ + @jakarta.annotation.Nullable + public String search; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Skip the first n items + */ + @jakarta.annotation.Nullable + public Integer skip; + /** + * Show only the first n items + */ + @jakarta.annotation.Nullable + public Integer top; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24count", count); + allQueryParams.put("%24filter", filter); + allQueryParams.put("%24search", search); + allQueryParams.put("%24skip", skip); + allQueryParams.put("%24top", top); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24orderby", orderby); + allQueryParams.put("%24select", select); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/lifecyclepolicies/item/rules/item/LifecyclePolicyRuleItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/lifecyclepolicies/item/rules/item/LifecyclePolicyRuleItemRequestBuilder.java new file mode 100644 index 00000000000..feb2ae52b7d --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/lifecyclepolicies/item/rules/item/LifecyclePolicyRuleItemRequestBuilder.java @@ -0,0 +1,144 @@ +package com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.rules.item; + +import com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicyRule; +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to manage the rules property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class LifecyclePolicyRuleItemRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link LifecyclePolicyRuleItemRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public LifecyclePolicyRuleItemRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/rules/{lifecyclePolicyRule%2Did}{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link LifecyclePolicyRuleItemRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public LifecyclePolicyRuleItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/rules/{lifecyclePolicyRule%2Did}{?%24expand,%24select}", rawUrl); + } + /** + * Get rules from identityGovernance + * @return a {@link LifecyclePolicyRule} + * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nullable + @Deprecated + public LifecyclePolicyRule get() { + return get(null); + } + /** + * Get rules from identityGovernance + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link LifecyclePolicyRule} + * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nullable + @Deprecated + public LifecyclePolicyRule get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, LifecyclePolicyRule::createFromDiscriminatorValue); + } + /** + * Get rules from identityGovernance + * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get rules from identityGovernance + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + 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. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link LifecyclePolicyRuleItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public LifecyclePolicyRuleItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new LifecyclePolicyRuleItemRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get rules from identityGovernance + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24select", select); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/lifecyclepolicies/item/versions/VersionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/lifecyclepolicies/item/versions/VersionsRequestBuilder.java new file mode 100644 index 00000000000..7bcbb8f8dc1 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/lifecyclepolicies/item/versions/VersionsRequestBuilder.java @@ -0,0 +1,196 @@ +package com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions; + +import com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.item.LifecyclePolicyItemRequestBuilder; +import com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicyCollectionResponse; +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to manage the versions property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class VersionsRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to manage the versions property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + * @param lifecyclePolicyId1 The unique identifier of lifecyclePolicy + * @return a {@link LifecyclePolicyItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public LifecyclePolicyItemRequestBuilder byLifecyclePolicyId1(@jakarta.annotation.Nonnull final String lifecyclePolicyId1) { + Objects.requireNonNull(lifecyclePolicyId1); + final HashMap urlTplParams = new HashMap(this.pathParameters); + urlTplParams.put("lifecyclePolicy%2Did1", lifecyclePolicyId1); + return new LifecyclePolicyItemRequestBuilder(urlTplParams, requestAdapter); + } + /** + * Instantiates a new {@link VersionsRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public VersionsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/versions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters); + } + /** + * Instantiates a new {@link VersionsRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public VersionsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/versions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); + } + /** + * Get versions from identityGovernance + * @return a {@link LifecyclePolicyCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nullable + @Deprecated + public LifecyclePolicyCollectionResponse get() { + return get(null); + } + /** + * Get versions from identityGovernance + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link LifecyclePolicyCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nullable + @Deprecated + public LifecyclePolicyCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, LifecyclePolicyCollectionResponse::createFromDiscriminatorValue); + } + /** + * Get versions from identityGovernance + * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get versions from identityGovernance + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + 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. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link VersionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public VersionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new VersionsRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get versions from identityGovernance + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Include count of items + */ + @jakarta.annotation.Nullable + public Boolean count; + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Filter items by property values + */ + @jakarta.annotation.Nullable + public String filter; + /** + * Order items by property values + */ + @jakarta.annotation.Nullable + public String[] orderby; + /** + * Search items by search phrases + */ + @jakarta.annotation.Nullable + public String search; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Skip the first n items + */ + @jakarta.annotation.Nullable + public Integer skip; + /** + * Show only the first n items + */ + @jakarta.annotation.Nullable + public Integer top; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24count", count); + allQueryParams.put("%24filter", filter); + allQueryParams.put("%24search", search); + allQueryParams.put("%24skip", skip); + allQueryParams.put("%24top", top); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24orderby", orderby); + allQueryParams.put("%24select", select); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/lifecyclepolicies/item/versions/item/LifecyclePolicyItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/lifecyclepolicies/item/versions/item/LifecyclePolicyItemRequestBuilder.java new file mode 100644 index 00000000000..ec473a80380 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/lifecyclepolicies/item/versions/item/LifecyclePolicyItemRequestBuilder.java @@ -0,0 +1,192 @@ +package com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.item; + +import com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.item.createdby.CreatedByRequestBuilder; +import com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.item.lastmodifiedby.LastModifiedByRequestBuilder; +import com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.item.microsoftgraphidentitygovernancerestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder; +import com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.item.rules.RulesRequestBuilder; +import com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicy; +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to manage the versions property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class LifecyclePolicyItemRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to manage the createdBy property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + * @return a {@link CreatedByRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @Deprecated + @jakarta.annotation.Nonnull + public CreatedByRequestBuilder createdBy() { + return new CreatedByRequestBuilder(pathParameters, requestAdapter); + } + /** + * Provides operations to manage the lastModifiedBy property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + * @return a {@link LastModifiedByRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @Deprecated + @jakarta.annotation.Nonnull + public LastModifiedByRequestBuilder lastModifiedBy() { + return new LastModifiedByRequestBuilder(pathParameters, requestAdapter); + } + /** + * Provides operations to call the restore method. + * @return a {@link MicrosoftGraphIdentityGovernanceRestoreRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @Deprecated + @jakarta.annotation.Nonnull + public MicrosoftGraphIdentityGovernanceRestoreRequestBuilder microsoftGraphIdentityGovernanceRestore() { + return new MicrosoftGraphIdentityGovernanceRestoreRequestBuilder(pathParameters, requestAdapter); + } + /** + * Provides operations to manage the rules property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + * @return a {@link RulesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @Deprecated + @jakarta.annotation.Nonnull + public RulesRequestBuilder rules() { + return new RulesRequestBuilder(pathParameters, requestAdapter); + } + /** + * Instantiates a new {@link LifecyclePolicyItemRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public LifecyclePolicyItemRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link LifecyclePolicyItemRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public LifecyclePolicyItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}{?%24expand,%24select}", rawUrl); + } + /** + * Get versions from identityGovernance + * @return a {@link LifecyclePolicy} + * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nullable + @Deprecated + public LifecyclePolicy get() { + return get(null); + } + /** + * Get versions from identityGovernance + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link LifecyclePolicy} + * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nullable + @Deprecated + public LifecyclePolicy get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, LifecyclePolicy::createFromDiscriminatorValue); + } + /** + * Get versions from identityGovernance + * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get versions from identityGovernance + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + 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. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link LifecyclePolicyItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public LifecyclePolicyItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new LifecyclePolicyItemRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get versions from identityGovernance + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24select", select); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/lifecyclepolicies/item/versions/item/createdby/CreatedByRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/lifecyclepolicies/item/versions/item/createdby/CreatedByRequestBuilder.java new file mode 100644 index 00000000000..e37d65d9dc5 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/lifecyclepolicies/item/versions/item/createdby/CreatedByRequestBuilder.java @@ -0,0 +1,144 @@ +package com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.item.createdby; + +import com.microsoft.graph.beta.models.DirectoryObject; +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to manage the createdBy property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class CreatedByRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link CreatedByRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public CreatedByRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}/createdBy{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link CreatedByRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public CreatedByRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}/createdBy{?%24expand,%24select}", rawUrl); + } + /** + * Get createdBy from identityGovernance + * @return a {@link DirectoryObject} + * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nullable + @Deprecated + public DirectoryObject get() { + return get(null); + } + /** + * Get createdBy from identityGovernance + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link DirectoryObject} + * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nullable + @Deprecated + public DirectoryObject get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, DirectoryObject::createFromDiscriminatorValue); + } + /** + * Get createdBy from identityGovernance + * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get createdBy from identityGovernance + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + 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. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link CreatedByRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public CreatedByRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new CreatedByRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get createdBy from identityGovernance + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24select", select); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/lifecyclepolicies/item/versions/item/lastmodifiedby/LastModifiedByRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/lifecyclepolicies/item/versions/item/lastmodifiedby/LastModifiedByRequestBuilder.java new file mode 100644 index 00000000000..eab5f728ebb --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/lifecyclepolicies/item/versions/item/lastmodifiedby/LastModifiedByRequestBuilder.java @@ -0,0 +1,144 @@ +package com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.item.lastmodifiedby; + +import com.microsoft.graph.beta.models.DirectoryObject; +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to manage the lastModifiedBy property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class LastModifiedByRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link LastModifiedByRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public LastModifiedByRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}/lastModifiedBy{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link LastModifiedByRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public LastModifiedByRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}/lastModifiedBy{?%24expand,%24select}", rawUrl); + } + /** + * Get lastModifiedBy from identityGovernance + * @return a {@link DirectoryObject} + * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nullable + @Deprecated + public DirectoryObject get() { + return get(null); + } + /** + * Get lastModifiedBy from identityGovernance + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link DirectoryObject} + * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nullable + @Deprecated + public DirectoryObject get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, DirectoryObject::createFromDiscriminatorValue); + } + /** + * Get lastModifiedBy from identityGovernance + * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get lastModifiedBy from identityGovernance + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + 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. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link LastModifiedByRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public LastModifiedByRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new LastModifiedByRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get lastModifiedBy from identityGovernance + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24select", select); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/lifecyclepolicies/item/versions/item/microsoftgraphidentitygovernancerestore/MicrosoftGraphIdentityGovernanceRestoreRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/lifecyclepolicies/item/versions/item/microsoftgraphidentitygovernancerestore/MicrosoftGraphIdentityGovernanceRestoreRequestBuilder.java new file mode 100644 index 00000000000..4e3fdb7c7d1 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/lifecyclepolicies/item/versions/item/microsoftgraphidentitygovernancerestore/MicrosoftGraphIdentityGovernanceRestoreRequestBuilder.java @@ -0,0 +1,111 @@ +package com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.item.microsoftgraphidentitygovernancerestore; + +import com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicy; +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to call the restore method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class MicrosoftGraphIdentityGovernanceRestoreRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link MicrosoftGraphIdentityGovernanceRestoreRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public MicrosoftGraphIdentityGovernanceRestoreRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}/microsoft.graph.identityGovernance.restore", pathParameters); + } + /** + * Instantiates a new {@link MicrosoftGraphIdentityGovernanceRestoreRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public MicrosoftGraphIdentityGovernanceRestoreRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}/microsoft.graph.identityGovernance.restore", rawUrl); + } + /** + * Invoke action restore + * @return a {@link LifecyclePolicy} + * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nullable + @Deprecated + public LifecyclePolicy post() { + return post(null); + } + /** + * Invoke action restore + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link LifecyclePolicy} + * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nullable + @Deprecated + public LifecyclePolicy post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, LifecyclePolicy::createFromDiscriminatorValue); + } + /** + * Invoke action restore + * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public RequestInformation toPostRequestInformation() { + return toPostRequestInformation(null); + } + /** + * Invoke action restore + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); + 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. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link MicrosoftGraphIdentityGovernanceRestoreRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public MicrosoftGraphIdentityGovernanceRestoreRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new MicrosoftGraphIdentityGovernanceRestoreRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PostRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/lifecyclepolicies/item/versions/item/rules/RulesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/lifecyclepolicies/item/versions/item/rules/RulesRequestBuilder.java new file mode 100644 index 00000000000..edfad19430a --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/lifecyclepolicies/item/versions/item/rules/RulesRequestBuilder.java @@ -0,0 +1,208 @@ +package com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.item.rules; + +import com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.item.rules.count.CountRequestBuilder; +import com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.item.rules.item.LifecyclePolicyRuleItemRequestBuilder; +import com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicyRuleCollectionResponse; +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to manage the rules property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RulesRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to count the resources in the collection. + * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @Deprecated + @jakarta.annotation.Nonnull + public CountRequestBuilder count() { + return new CountRequestBuilder(pathParameters, requestAdapter); + } + /** + * Provides operations to manage the rules property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + * @param lifecyclePolicyRuleId The unique identifier of lifecyclePolicyRule + * @return a {@link LifecyclePolicyRuleItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public LifecyclePolicyRuleItemRequestBuilder byLifecyclePolicyRuleId(@jakarta.annotation.Nonnull final String lifecyclePolicyRuleId) { + Objects.requireNonNull(lifecyclePolicyRuleId); + final HashMap urlTplParams = new HashMap(this.pathParameters); + urlTplParams.put("lifecyclePolicyRule%2Did", lifecyclePolicyRuleId); + return new LifecyclePolicyRuleItemRequestBuilder(urlTplParams, requestAdapter); + } + /** + * Instantiates a new {@link RulesRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public RulesRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}/rules{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters); + } + /** + * Instantiates a new {@link RulesRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public RulesRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}/rules{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); + } + /** + * Get rules from identityGovernance + * @return a {@link LifecyclePolicyRuleCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nullable + @Deprecated + public LifecyclePolicyRuleCollectionResponse get() { + return get(null); + } + /** + * Get rules from identityGovernance + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link LifecyclePolicyRuleCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nullable + @Deprecated + public LifecyclePolicyRuleCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, LifecyclePolicyRuleCollectionResponse::createFromDiscriminatorValue); + } + /** + * Get rules from identityGovernance + * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get rules from identityGovernance + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + 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. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link RulesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public RulesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new RulesRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get rules from identityGovernance + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Include count of items + */ + @jakarta.annotation.Nullable + public Boolean count; + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Filter items by property values + */ + @jakarta.annotation.Nullable + public String filter; + /** + * Order items by property values + */ + @jakarta.annotation.Nullable + public String[] orderby; + /** + * Search items by search phrases + */ + @jakarta.annotation.Nullable + public String search; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Skip the first n items + */ + @jakarta.annotation.Nullable + public Integer skip; + /** + * Show only the first n items + */ + @jakarta.annotation.Nullable + public Integer top; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24count", count); + allQueryParams.put("%24filter", filter); + allQueryParams.put("%24search", search); + allQueryParams.put("%24skip", skip); + allQueryParams.put("%24top", top); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24orderby", orderby); + allQueryParams.put("%24select", select); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/lifecyclepolicies/item/versions/item/rules/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/lifecyclepolicies/item/versions/item/rules/count/CountRequestBuilder.java new file mode 100644 index 00000000000..876e7a778ae --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/lifecyclepolicies/item/versions/item/rules/count/CountRequestBuilder.java @@ -0,0 +1,143 @@ +package com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.item.rules.count; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to count the resources in the collection. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class CountRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link CountRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public CountRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}/rules/$count{?%24filter,%24search}", pathParameters); + } + /** + * Instantiates a new {@link CountRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}/rules/$count{?%24filter,%24search}", rawUrl); + } + /** + * Get the number of the resource + * @return a {@link Integer} + * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nullable + @Deprecated + public Integer get() { + return get(null); + } + /** + * Get the number of the resource + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link Integer} + * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nullable + @Deprecated + public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Integer.class); + } + /** + * Get the number of the resource + * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get the number of the resource + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + 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. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new CountRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get the number of the resource + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Filter items by property values + */ + @jakarta.annotation.Nullable + public String filter; + /** + * Search items by search phrases + */ + @jakarta.annotation.Nullable + public String search; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24filter", filter); + allQueryParams.put("%24search", search); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/lifecyclepolicies/item/versions/item/rules/item/LifecyclePolicyRuleItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/lifecyclepolicies/item/versions/item/rules/item/LifecyclePolicyRuleItemRequestBuilder.java new file mode 100644 index 00000000000..85679d28e29 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/lifecyclepolicies/item/versions/item/rules/item/LifecyclePolicyRuleItemRequestBuilder.java @@ -0,0 +1,144 @@ +package com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.item.rules.item; + +import com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicyRule; +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to manage the rules property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class LifecyclePolicyRuleItemRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link LifecyclePolicyRuleItemRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public LifecyclePolicyRuleItemRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}/rules/{lifecyclePolicyRule%2Did}{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link LifecyclePolicyRuleItemRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public LifecyclePolicyRuleItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}/rules/{lifecyclePolicyRule%2Did}{?%24expand,%24select}", rawUrl); + } + /** + * Get rules from identityGovernance + * @return a {@link LifecyclePolicyRule} + * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nullable + @Deprecated + public LifecyclePolicyRule get() { + return get(null); + } + /** + * Get rules from identityGovernance + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link LifecyclePolicyRule} + * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nullable + @Deprecated + public LifecyclePolicyRule get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, LifecyclePolicyRule::createFromDiscriminatorValue); + } + /** + * Get rules from identityGovernance + * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get rules from identityGovernance + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + 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. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link LifecyclePolicyRuleItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public LifecyclePolicyRuleItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new LifecyclePolicyRuleItemRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get rules from identityGovernance + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24select", select); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/lifecyclepolicypriorityconfigurations/LifecyclePolicyPriorityConfigurationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/lifecyclepolicypriorityconfigurations/LifecyclePolicyPriorityConfigurationsRequestBuilder.java new file mode 100644 index 00000000000..9de684b24b9 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/lifecyclepolicypriorityconfigurations/LifecyclePolicyPriorityConfigurationsRequestBuilder.java @@ -0,0 +1,208 @@ +package com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicypriorityconfigurations; + +import com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicypriorityconfigurations.count.CountRequestBuilder; +import com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicypriorityconfigurations.item.LifecyclePolicyPriorityConfigurationItemRequestBuilder; +import com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicyPriorityConfigurationCollectionResponse; +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to manage the lifecyclePolicyPriorityConfigurations property of the microsoft.graph.identityGovernance.lifecycleWorkflowsContainer entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class LifecyclePolicyPriorityConfigurationsRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to count the resources in the collection. + * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @Deprecated + @jakarta.annotation.Nonnull + public CountRequestBuilder count() { + return new CountRequestBuilder(pathParameters, requestAdapter); + } + /** + * Provides operations to manage the lifecyclePolicyPriorityConfigurations property of the microsoft.graph.identityGovernance.lifecycleWorkflowsContainer entity. + * @param lifecyclePolicyPriorityConfigurationId The unique identifier of lifecyclePolicyPriorityConfiguration + * @return a {@link LifecyclePolicyPriorityConfigurationItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public LifecyclePolicyPriorityConfigurationItemRequestBuilder byLifecyclePolicyPriorityConfigurationId(@jakarta.annotation.Nonnull final String lifecyclePolicyPriorityConfigurationId) { + Objects.requireNonNull(lifecyclePolicyPriorityConfigurationId); + final HashMap urlTplParams = new HashMap(this.pathParameters); + urlTplParams.put("lifecyclePolicyPriorityConfiguration%2Did", lifecyclePolicyPriorityConfigurationId); + return new LifecyclePolicyPriorityConfigurationItemRequestBuilder(urlTplParams, requestAdapter); + } + /** + * Instantiates a new {@link LifecyclePolicyPriorityConfigurationsRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public LifecyclePolicyPriorityConfigurationsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicyPriorityConfigurations{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters); + } + /** + * Instantiates a new {@link LifecyclePolicyPriorityConfigurationsRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public LifecyclePolicyPriorityConfigurationsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicyPriorityConfigurations{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); + } + /** + * Get lifecyclePolicyPriorityConfigurations from identityGovernance + * @return a {@link LifecyclePolicyPriorityConfigurationCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nullable + @Deprecated + public LifecyclePolicyPriorityConfigurationCollectionResponse get() { + return get(null); + } + /** + * Get lifecyclePolicyPriorityConfigurations from identityGovernance + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link LifecyclePolicyPriorityConfigurationCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nullable + @Deprecated + public LifecyclePolicyPriorityConfigurationCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, LifecyclePolicyPriorityConfigurationCollectionResponse::createFromDiscriminatorValue); + } + /** + * Get lifecyclePolicyPriorityConfigurations from identityGovernance + * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get lifecyclePolicyPriorityConfigurations from identityGovernance + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + 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. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link LifecyclePolicyPriorityConfigurationsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public LifecyclePolicyPriorityConfigurationsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new LifecyclePolicyPriorityConfigurationsRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get lifecyclePolicyPriorityConfigurations from identityGovernance + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Include count of items + */ + @jakarta.annotation.Nullable + public Boolean count; + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Filter items by property values + */ + @jakarta.annotation.Nullable + public String filter; + /** + * Order items by property values + */ + @jakarta.annotation.Nullable + public String[] orderby; + /** + * Search items by search phrases + */ + @jakarta.annotation.Nullable + public String search; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Skip the first n items + */ + @jakarta.annotation.Nullable + public Integer skip; + /** + * Show only the first n items + */ + @jakarta.annotation.Nullable + public Integer top; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24count", count); + allQueryParams.put("%24filter", filter); + allQueryParams.put("%24search", search); + allQueryParams.put("%24skip", skip); + allQueryParams.put("%24top", top); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24orderby", orderby); + allQueryParams.put("%24select", select); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/lifecyclepolicypriorityconfigurations/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/lifecyclepolicypriorityconfigurations/count/CountRequestBuilder.java new file mode 100644 index 00000000000..4cdc3247266 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/lifecyclepolicypriorityconfigurations/count/CountRequestBuilder.java @@ -0,0 +1,143 @@ +package com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicypriorityconfigurations.count; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to count the resources in the collection. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class CountRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link CountRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public CountRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicyPriorityConfigurations/$count{?%24filter,%24search}", pathParameters); + } + /** + * Instantiates a new {@link CountRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicyPriorityConfigurations/$count{?%24filter,%24search}", rawUrl); + } + /** + * Get the number of the resource + * @return a {@link Integer} + * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nullable + @Deprecated + public Integer get() { + return get(null); + } + /** + * Get the number of the resource + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link Integer} + * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nullable + @Deprecated + public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Integer.class); + } + /** + * Get the number of the resource + * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get the number of the resource + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + 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. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new CountRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get the number of the resource + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Filter items by property values + */ + @jakarta.annotation.Nullable + public String filter; + /** + * Search items by search phrases + */ + @jakarta.annotation.Nullable + public String search; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24filter", filter); + allQueryParams.put("%24search", search); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/lifecyclepolicypriorityconfigurations/item/LifecyclePolicyPriorityConfigurationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/lifecyclepolicypriorityconfigurations/item/LifecyclePolicyPriorityConfigurationItemRequestBuilder.java new file mode 100644 index 00000000000..be1980d781d --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/lifecyclepolicypriorityconfigurations/item/LifecyclePolicyPriorityConfigurationItemRequestBuilder.java @@ -0,0 +1,211 @@ +package com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicypriorityconfigurations.item; + +import com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicyPriorityConfiguration; +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to manage the lifecyclePolicyPriorityConfigurations property of the microsoft.graph.identityGovernance.lifecycleWorkflowsContainer entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class LifecyclePolicyPriorityConfigurationItemRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link LifecyclePolicyPriorityConfigurationItemRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public LifecyclePolicyPriorityConfigurationItemRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicyPriorityConfigurations/{lifecyclePolicyPriorityConfiguration%2Did}{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link LifecyclePolicyPriorityConfigurationItemRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public LifecyclePolicyPriorityConfigurationItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicyPriorityConfigurations/{lifecyclePolicyPriorityConfiguration%2Did}{?%24expand,%24select}", rawUrl); + } + /** + * Get lifecyclePolicyPriorityConfigurations from identityGovernance + * @return a {@link LifecyclePolicyPriorityConfiguration} + * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nullable + @Deprecated + public LifecyclePolicyPriorityConfiguration get() { + return get(null); + } + /** + * Get lifecyclePolicyPriorityConfigurations from identityGovernance + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link LifecyclePolicyPriorityConfiguration} + * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nullable + @Deprecated + public LifecyclePolicyPriorityConfiguration get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, LifecyclePolicyPriorityConfiguration::createFromDiscriminatorValue); + } + /** + * Update the navigation property lifecyclePolicyPriorityConfigurations in identityGovernance + * @param body The request body + * @return a {@link LifecyclePolicyPriorityConfiguration} + * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nullable + @Deprecated + public LifecyclePolicyPriorityConfiguration patch(@jakarta.annotation.Nonnull final LifecyclePolicyPriorityConfiguration body) { + return patch(body, null); + } + /** + * Update the navigation property lifecyclePolicyPriorityConfigurations in identityGovernance + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link LifecyclePolicyPriorityConfiguration} + * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nullable + @Deprecated + public LifecyclePolicyPriorityConfiguration patch(@jakarta.annotation.Nonnull final LifecyclePolicyPriorityConfiguration body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, LifecyclePolicyPriorityConfiguration::createFromDiscriminatorValue); + } + /** + * Get lifecyclePolicyPriorityConfigurations from identityGovernance + * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get lifecyclePolicyPriorityConfigurations from identityGovernance + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Update the navigation property lifecyclePolicyPriorityConfigurations in identityGovernance + * @param body The request body + * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final LifecyclePolicyPriorityConfiguration body) { + return toPatchRequestInformation(body, null); + } + /** + * Update the navigation property lifecyclePolicyPriorityConfigurations in identityGovernance + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final LifecyclePolicyPriorityConfiguration body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new); + 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. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link LifecyclePolicyPriorityConfigurationItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public LifecyclePolicyPriorityConfigurationItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new LifecyclePolicyPriorityConfigurationItemRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get lifecyclePolicyPriorityConfigurations from identityGovernance + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24select", select); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PatchRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/settings/SettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/settings/SettingsRequestBuilder.java index 316c385db22..3f8988a88bf 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/settings/SettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/settings/SettingsRequestBuilder.java @@ -40,9 +40,12 @@ public SettingsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ * Read the properties and relationships of a lifecycleManagementSettings object. * @return a {@link LifecycleManagementSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public LifecycleManagementSettings get() { return get(null); } @@ -51,9 +54,12 @@ public LifecycleManagementSettings get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link LifecycleManagementSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public LifecycleManagementSettings get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -65,9 +71,12 @@ public LifecycleManagementSettings get(@jakarta.annotation.Nullable final java.u * @param body The request body * @return a {@link LifecycleManagementSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public LifecycleManagementSettings patch(@jakarta.annotation.Nonnull final LifecycleManagementSettings body) { return patch(body, null); } @@ -77,9 +86,12 @@ public LifecycleManagementSettings patch(@jakarta.annotation.Nonnull final Lifec * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link LifecycleManagementSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public LifecycleManagementSettings patch(@jakarta.annotation.Nonnull final LifecycleManagementSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -90,8 +102,11 @@ public LifecycleManagementSettings patch(@jakarta.annotation.Nonnull final Lifec /** * Read the properties and relationships of a lifecycleManagementSettings object. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -99,8 +114,11 @@ public RequestInformation toGetRequestInformation() { * Read the properties and relationships of a lifecycleManagementSettings object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -111,8 +129,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the properties of a lifecycleManagementSettings object. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final LifecycleManagementSettings body) { return toPatchRequestInformation(body, null); } @@ -121,8 +142,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final LifecycleManagementSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -135,8 +159,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link SettingsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public SettingsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new SettingsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/taskdefinitions/TaskDefinitionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/taskdefinitions/TaskDefinitionsRequestBuilder.java index b2c486de333..3699137b4a4 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/taskdefinitions/TaskDefinitionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/taskdefinitions/TaskDefinitionsRequestBuilder.java @@ -25,7 +25,10 @@ public class TaskDefinitionsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -34,8 +37,11 @@ public CountRequestBuilder count() { * Provides operations to manage the taskDefinitions property of the microsoft.graph.identityGovernance.lifecycleWorkflowsContainer entity. * @param taskDefinitionId The unique identifier of taskDefinition * @return a {@link TaskDefinitionItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public TaskDefinitionItemRequestBuilder byTaskDefinitionId(@jakarta.annotation.Nonnull final String taskDefinitionId) { Objects.requireNonNull(taskDefinitionId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -62,9 +68,12 @@ public TaskDefinitionsRequestBuilder(@jakarta.annotation.Nonnull final String ra * Get a list of built-in workflow tasks in Lifecycle Workflows. A task is represented by the taskDefinition object. * @return a {@link TaskDefinitionCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public TaskDefinitionCollectionResponse get() { return get(null); } @@ -73,9 +82,12 @@ public TaskDefinitionCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link TaskDefinitionCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public TaskDefinitionCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -85,8 +97,11 @@ public TaskDefinitionCollectionResponse get(@jakarta.annotation.Nullable final j /** * Get a list of built-in workflow tasks in Lifecycle Workflows. A task is represented by the taskDefinition object. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -94,8 +109,11 @@ public RequestInformation toGetRequestInformation() { * Get a list of built-in workflow tasks in Lifecycle Workflows. A task is represented by the taskDefinition object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -106,8 +124,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link TaskDefinitionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public TaskDefinitionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new TaskDefinitionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/taskdefinitions/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/taskdefinitions/count/CountRequestBuilder.java index 538dda00b86..7ff960dd735 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/taskdefinitions/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/taskdefinitions/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/taskdefinitions/item/TaskDefinitionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/taskdefinitions/item/TaskDefinitionItemRequestBuilder.java index d264dcd2ada..fff6eb2608a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/taskdefinitions/item/TaskDefinitionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/taskdefinitions/item/TaskDefinitionItemRequestBuilder.java @@ -40,9 +40,12 @@ public TaskDefinitionItemRequestBuilder(@jakarta.annotation.Nonnull final String * Read the details of a built-in workflow task in Lifecycle Workflows. * @return a {@link TaskDefinition} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public TaskDefinition get() { return get(null); } @@ -51,9 +54,12 @@ public TaskDefinition get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link TaskDefinition} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public TaskDefinition get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -63,8 +69,11 @@ public TaskDefinition get(@jakarta.annotation.Nullable final java.util.function. /** * Read the details of a built-in workflow task in Lifecycle Workflows. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -72,8 +81,11 @@ public RequestInformation toGetRequestInformation() { * Read the details of a built-in workflow task in Lifecycle Workflows. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -84,8 +96,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link TaskDefinitionItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public TaskDefinitionItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new TaskDefinitionItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/WorkflowsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/WorkflowsRequestBuilder.java index 2e69f63cdee..6a23eadc131 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/WorkflowsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/WorkflowsRequestBuilder.java @@ -26,7 +26,10 @@ public class WorkflowsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the workflows property of the microsoft.graph.identityGovernance.lifecycleWorkflowsContainer entity. * @param workflowId The unique identifier of workflow * @return a {@link WorkflowItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public WorkflowItemRequestBuilder byWorkflowId(@jakarta.annotation.Nonnull final String workflowId) { Objects.requireNonNull(workflowId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,9 +69,12 @@ public WorkflowsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, * Get a list of workflow resources that are associated with Lifecycle Workflows. * @return a {@link WorkflowCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public WorkflowCollectionResponse get() { return get(null); } @@ -74,9 +83,12 @@ public WorkflowCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link WorkflowCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public WorkflowCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -88,9 +100,12 @@ public WorkflowCollectionResponse get(@jakarta.annotation.Nullable final java.ut * @param body The request body * @return a {@link Workflow} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public Workflow post(@jakarta.annotation.Nonnull final Workflow body) { return post(body, null); } @@ -100,9 +115,12 @@ public Workflow post(@jakarta.annotation.Nonnull final Workflow body) { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Workflow} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public Workflow post(@jakarta.annotation.Nonnull final Workflow body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -113,8 +131,11 @@ public Workflow post(@jakarta.annotation.Nonnull final Workflow body, @jakarta.a /** * Get a list of workflow resources that are associated with Lifecycle Workflows. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -122,8 +143,11 @@ public RequestInformation toGetRequestInformation() { * Get a list of workflow resources that are associated with Lifecycle Workflows. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -134,8 +158,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create a new workflow object. You can create up to 100 workflows in a tenant. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Workflow body) { return toPostRequestInformation(body, null); } @@ -144,8 +171,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Workflow body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -158,8 +188,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link WorkflowsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public WorkflowsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new WorkflowsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/count/CountRequestBuilder.java index 14fe08dc8d1..939fc0e8893 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/WorkflowItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/WorkflowItemRequestBuilder.java index badd2738ab1..6ee17b9ec2c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/WorkflowItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/WorkflowItemRequestBuilder.java @@ -43,7 +43,10 @@ public class WorkflowItemRequestBuilder extends BaseRequestBuilder { /** * Provides operations to manage the administrationScopeTargets property of the microsoft.graph.identityGovernance.workflowBase entity. * @return a {@link AdministrationScopeTargetsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AdministrationScopeTargetsRequestBuilder administrationScopeTargets() { return new AdministrationScopeTargetsRequestBuilder(pathParameters, requestAdapter); @@ -51,7 +54,10 @@ public AdministrationScopeTargetsRequestBuilder administrationScopeTargets() { /** * Provides operations to manage the createdBy property of the microsoft.graph.identityGovernance.workflowBase entity. * @return a {@link CreatedByRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CreatedByRequestBuilder createdBy() { return new CreatedByRequestBuilder(pathParameters, requestAdapter); @@ -59,7 +65,10 @@ public CreatedByRequestBuilder createdBy() { /** * Provides operations to manage the executionScope property of the microsoft.graph.identityGovernance.workflow entity. * @return a {@link ExecutionScopeRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ExecutionScopeRequestBuilder executionScope() { return new ExecutionScopeRequestBuilder(pathParameters, requestAdapter); @@ -67,7 +76,10 @@ public ExecutionScopeRequestBuilder executionScope() { /** * Provides operations to manage the lastModifiedBy property of the microsoft.graph.identityGovernance.workflowBase entity. * @return a {@link LastModifiedByRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public LastModifiedByRequestBuilder lastModifiedBy() { return new LastModifiedByRequestBuilder(pathParameters, requestAdapter); @@ -75,7 +87,10 @@ public LastModifiedByRequestBuilder lastModifiedBy() { /** * Provides operations to call the activate method. * @return a {@link MicrosoftGraphIdentityGovernanceActivateRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public MicrosoftGraphIdentityGovernanceActivateRequestBuilder microsoftGraphIdentityGovernanceActivate() { return new MicrosoftGraphIdentityGovernanceActivateRequestBuilder(pathParameters, requestAdapter); @@ -83,7 +98,10 @@ public MicrosoftGraphIdentityGovernanceActivateRequestBuilder microsoftGraphIden /** * Provides operations to call the activateAndWait method. * @return a {@link MicrosoftGraphIdentityGovernanceActivateAndWaitRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public MicrosoftGraphIdentityGovernanceActivateAndWaitRequestBuilder microsoftGraphIdentityGovernanceActivateAndWait() { return new MicrosoftGraphIdentityGovernanceActivateAndWaitRequestBuilder(pathParameters, requestAdapter); @@ -91,7 +109,10 @@ public MicrosoftGraphIdentityGovernanceActivateAndWaitRequestBuilder microsoftGr /** * Provides operations to call the activateWithScope method. * @return a {@link MicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public MicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder microsoftGraphIdentityGovernanceActivateWithScope() { return new MicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder(pathParameters, requestAdapter); @@ -99,7 +120,10 @@ public MicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder microsoft /** * Provides operations to call the cancelProcessing method. * @return a {@link MicrosoftGraphIdentityGovernanceCancelProcessingRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public MicrosoftGraphIdentityGovernanceCancelProcessingRequestBuilder microsoftGraphIdentityGovernanceCancelProcessing() { return new MicrosoftGraphIdentityGovernanceCancelProcessingRequestBuilder(pathParameters, requestAdapter); @@ -107,7 +131,10 @@ public MicrosoftGraphIdentityGovernanceCancelProcessingRequestBuilder microsoftG /** * Provides operations to call the clearQuarantine method. * @return a {@link MicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public MicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder microsoftGraphIdentityGovernanceClearQuarantine() { return new MicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder(pathParameters, requestAdapter); @@ -115,7 +142,10 @@ public MicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder microsoftGr /** * Provides operations to call the createNewVersion method. * @return a {@link MicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public MicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder microsoftGraphIdentityGovernanceCreateNewVersion() { return new MicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder(pathParameters, requestAdapter); @@ -123,7 +153,10 @@ public MicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder microsoftG /** * Provides operations to call the previewTaskFailures method. * @return a {@link MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder microsoftGraphIdentityGovernancePreviewTaskFailures() { return new MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder(pathParameters, requestAdapter); @@ -131,7 +164,10 @@ public MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder microso /** * Provides operations to call the previewWorkflow method. * @return a {@link MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder microsoftGraphIdentityGovernancePreviewWorkflow() { return new MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder(pathParameters, requestAdapter); @@ -139,7 +175,10 @@ public MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder microsoftGr /** * Provides operations to call the restore method. * @return a {@link MicrosoftGraphIdentityGovernanceRestoreRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public MicrosoftGraphIdentityGovernanceRestoreRequestBuilder microsoftGraphIdentityGovernanceRestore() { return new MicrosoftGraphIdentityGovernanceRestoreRequestBuilder(pathParameters, requestAdapter); @@ -147,7 +186,10 @@ public MicrosoftGraphIdentityGovernanceRestoreRequestBuilder microsoftGraphIdent /** * Provides operations to manage the previewScope property of the microsoft.graph.identityGovernance.workflow entity. * @return a {@link PreviewScopeRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public PreviewScopeRequestBuilder previewScope() { return new PreviewScopeRequestBuilder(pathParameters, requestAdapter); @@ -155,7 +197,10 @@ public PreviewScopeRequestBuilder previewScope() { /** * Provides operations to manage the runs property of the microsoft.graph.identityGovernance.workflow entity. * @return a {@link RunsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public RunsRequestBuilder runs() { return new RunsRequestBuilder(pathParameters, requestAdapter); @@ -163,7 +208,10 @@ public RunsRequestBuilder runs() { /** * Provides operations to manage the subjectProcessingResults property of the microsoft.graph.identityGovernance.workflow entity. * @return a {@link SubjectProcessingResultsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public SubjectProcessingResultsRequestBuilder subjectProcessingResults() { return new SubjectProcessingResultsRequestBuilder(pathParameters, requestAdapter); @@ -171,7 +219,10 @@ public SubjectProcessingResultsRequestBuilder subjectProcessingResults() { /** * Provides operations to manage the taskReports property of the microsoft.graph.identityGovernance.workflow entity. * @return a {@link TaskReportsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public TaskReportsRequestBuilder taskReports() { return new TaskReportsRequestBuilder(pathParameters, requestAdapter); @@ -179,7 +230,10 @@ public TaskReportsRequestBuilder taskReports() { /** * Provides operations to manage the tasks property of the microsoft.graph.identityGovernance.workflowBase entity. * @return a {@link TasksRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public TasksRequestBuilder tasks() { return new TasksRequestBuilder(pathParameters, requestAdapter); @@ -187,7 +241,10 @@ public TasksRequestBuilder tasks() { /** * Provides operations to manage the userProcessingResults property of the microsoft.graph.identityGovernance.workflow entity. * @return a {@link UserProcessingResultsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public UserProcessingResultsRequestBuilder userProcessingResults() { return new UserProcessingResultsRequestBuilder(pathParameters, requestAdapter); @@ -195,7 +252,10 @@ public UserProcessingResultsRequestBuilder userProcessingResults() { /** * Provides operations to manage the versions property of the microsoft.graph.identityGovernance.workflow entity. * @return a {@link VersionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public VersionsRequestBuilder versions() { return new VersionsRequestBuilder(pathParameters, requestAdapter); @@ -219,8 +279,11 @@ public WorkflowItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUr /** * Delete a workflow object and its associated tasks, taskProcessingResults and versions. The deleted workflow is sent to the deleted workflows container. You can restore a deleted workflow and its associated objects within 30 days of deletion. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void delete() { delete(null); } @@ -228,8 +291,11 @@ public void delete() { * Delete a workflow object and its associated tasks, taskProcessingResults and versions. The deleted workflow is sent to the deleted workflows container. You can restore a deleted workflow and its associated objects within 30 days of deletion. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -240,9 +306,12 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Read the properties and relationships of a workflow object. * @return a {@link Workflow} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public Workflow get() { return get(null); } @@ -251,9 +320,12 @@ public Workflow get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Workflow} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public Workflow get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -265,9 +337,12 @@ public Workflow get(@jakarta.annotation.Nullable final java.util.function.Consum * @param body The request body * @return a {@link Workflow} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public Workflow patch(@jakarta.annotation.Nonnull final Workflow body) { return patch(body, null); } @@ -277,9 +352,12 @@ public Workflow patch(@jakarta.annotation.Nonnull final Workflow body) { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Workflow} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public Workflow patch(@jakarta.annotation.Nonnull final Workflow body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -290,8 +368,11 @@ public Workflow patch(@jakarta.annotation.Nonnull final Workflow body, @jakarta. /** * Delete a workflow object and its associated tasks, taskProcessingResults and versions. The deleted workflow is sent to the deleted workflows container. You can restore a deleted workflow and its associated objects within 30 days of deletion. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -299,8 +380,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete a workflow object and its associated tasks, taskProcessingResults and versions. The deleted workflow is sent to the deleted workflows container. You can restore a deleted workflow and its associated objects within 30 days of deletion. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -310,8 +394,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Read the properties and relationships of a workflow object. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -319,8 +406,11 @@ public RequestInformation toGetRequestInformation() { * Read the properties and relationships of a workflow object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -331,8 +421,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the properties of a workflow object. Only the properties listed in the request body table can be updated. To update any other workflow properties, see workflow: createNewVersion. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final Workflow body) { return toPatchRequestInformation(body, null); } @@ -341,8 +434,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final Workflow body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -355,8 +451,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link WorkflowItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public WorkflowItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new WorkflowItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/administrationscopetargets/AdministrationScopeTargetsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/administrationscopetargets/AdministrationScopeTargetsRequestBuilder.java index 57ee1b99f5a..5e057cf61ad 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/administrationscopetargets/AdministrationScopeTargetsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/administrationscopetargets/AdministrationScopeTargetsRequestBuilder.java @@ -25,7 +25,10 @@ public class AdministrationScopeTargetsRequestBuilder extends BaseRequestBuilder /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -34,8 +37,11 @@ public CountRequestBuilder count() { * Provides operations to manage the administrationScopeTargets property of the microsoft.graph.identityGovernance.workflowBase entity. * @param directoryObjectId The unique identifier of directoryObject * @return a {@link DirectoryObjectItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public DirectoryObjectItemRequestBuilder byDirectoryObjectId(@jakarta.annotation.Nonnull final String directoryObjectId) { Objects.requireNonNull(directoryObjectId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -62,8 +68,11 @@ public AdministrationScopeTargetsRequestBuilder(@jakarta.annotation.Nonnull fina * The administrative units in the scope of the workflow. Optional. Supports $expand. * @return a {@link DirectoryObjectCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public DirectoryObjectCollectionResponse get() { return get(null); } @@ -72,8 +81,11 @@ public DirectoryObjectCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DirectoryObjectCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public DirectoryObjectCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -83,8 +95,11 @@ public DirectoryObjectCollectionResponse get(@jakarta.annotation.Nullable final /** * The administrative units in the scope of the workflow. Optional. Supports $expand. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -92,8 +107,11 @@ public RequestInformation toGetRequestInformation() { * The administrative units in the scope of the workflow. Optional. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -104,8 +122,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AdministrationScopeTargetsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AdministrationScopeTargetsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AdministrationScopeTargetsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/administrationscopetargets/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/administrationscopetargets/count/CountRequestBuilder.java index 09d1f82ef43..160494d3ec0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/administrationscopetargets/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/administrationscopetargets/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/administrationscopetargets/item/DirectoryObjectItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/administrationscopetargets/item/DirectoryObjectItemRequestBuilder.java index 1cc1c091fef..836b66a1cf6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/administrationscopetargets/item/DirectoryObjectItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/administrationscopetargets/item/DirectoryObjectItemRequestBuilder.java @@ -40,8 +40,11 @@ public DirectoryObjectItemRequestBuilder(@jakarta.annotation.Nonnull final Strin * The administrative units in the scope of the workflow. Optional. Supports $expand. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public DirectoryObject get() { return get(null); } @@ -50,8 +53,11 @@ public DirectoryObject get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public DirectoryObject get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public DirectoryObject get(@jakarta.annotation.Nullable final java.util.function /** * The administrative units in the scope of the workflow. Optional. Supports $expand. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * The administrative units in the scope of the workflow. Optional. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link DirectoryObjectItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public DirectoryObjectItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new DirectoryObjectItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/createdby/CreatedByRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/createdby/CreatedByRequestBuilder.java index 65d39a8e75f..42ffe886e78 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/createdby/CreatedByRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/createdby/CreatedByRequestBuilder.java @@ -25,7 +25,10 @@ public class CreatedByRequestBuilder extends BaseRequestBuilder { /** * The mailboxSettings property * @return a {@link MailboxSettingsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public MailboxSettingsRequestBuilder mailboxSettings() { return new MailboxSettingsRequestBuilder(pathParameters, requestAdapter); @@ -33,7 +36,10 @@ public MailboxSettingsRequestBuilder mailboxSettings() { /** * The serviceProvisioningErrors property * @return a {@link ServiceProvisioningErrorsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ServiceProvisioningErrorsRequestBuilder serviceProvisioningErrors() { return new ServiceProvisioningErrorsRequestBuilder(pathParameters, requestAdapter); @@ -58,8 +64,11 @@ public CreatedByRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, * The user who created the workflow. * @return a {@link User} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public User get() { return get(null); } @@ -68,8 +77,11 @@ public User get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link User} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public User get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -79,8 +91,11 @@ public User get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -100,8 +118,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CreatedByRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CreatedByRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CreatedByRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/createdby/mailboxsettings/MailboxSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/createdby/mailboxsettings/MailboxSettingsRequestBuilder.java index 52b8a91191d..11114229cc8 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/createdby/mailboxsettings/MailboxSettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/createdby/mailboxsettings/MailboxSettingsRequestBuilder.java @@ -40,8 +40,11 @@ public MailboxSettingsRequestBuilder(@jakarta.annotation.Nonnull final String ra * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Requires $select to retrieve. * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings get() { return get(null); } @@ -50,8 +53,11 @@ public MailboxSettings get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -63,8 +69,11 @@ public MailboxSettings get(@jakarta.annotation.Nullable final java.util.function * @param body The request body * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings body) { return patch(body, null); } @@ -74,8 +83,11 @@ public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings b * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -86,8 +98,11 @@ public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings b /** * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Requires $select to retrieve. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -95,8 +110,11 @@ public RequestInformation toGetRequestInformation() { * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Requires $select to retrieve. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -107,8 +125,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update property mailboxSettings value. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxSettings body) { return toPatchRequestInformation(body, null); } @@ -117,8 +138,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -131,8 +155,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link MailboxSettingsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public MailboxSettingsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new MailboxSettingsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/createdby/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/createdby/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java index 758902b93ed..3d54f91c0f5 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/createdby/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/createdby/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java @@ -24,7 +24,10 @@ public class ServiceProvisioningErrorsRequestBuilder extends BaseRequestBuilder /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -49,8 +52,11 @@ public ServiceProvisioningErrorsRequestBuilder(@jakarta.annotation.Nonnull final * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. * @return a {@link ServiceProvisioningErrorCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ServiceProvisioningErrorCollectionResponse get() { return get(null); } @@ -59,8 +65,11 @@ public ServiceProvisioningErrorCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ServiceProvisioningErrorCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ServiceProvisioningErrorCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -70,8 +79,11 @@ public ServiceProvisioningErrorCollectionResponse get(@jakarta.annotation.Nullab /** * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -79,8 +91,11 @@ public RequestInformation toGetRequestInformation() { * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -91,8 +106,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ServiceProvisioningErrorsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ServiceProvisioningErrorsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ServiceProvisioningErrorsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/createdby/serviceprovisioningerrors/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/createdby/serviceprovisioningerrors/count/CountRequestBuilder.java index 74f46f12a9b..5ab8ee29d63 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/createdby/serviceprovisioningerrors/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/createdby/serviceprovisioningerrors/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/executionscope/ExecutionScopeRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/executionscope/ExecutionScopeRequestBuilder.java index 95a71b57bea..b0e8b4c499e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/executionscope/ExecutionScopeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/executionscope/ExecutionScopeRequestBuilder.java @@ -25,7 +25,10 @@ public class ExecutionScopeRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -34,8 +37,11 @@ public CountRequestBuilder count() { * Provides operations to manage the executionScope property of the microsoft.graph.identityGovernance.workflow entity. * @param userProcessingResultId The unique identifier of userProcessingResult * @return a {@link UserProcessingResultItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public UserProcessingResultItemRequestBuilder byUserProcessingResultId(@jakarta.annotation.Nonnull final String userProcessingResultId) { Objects.requireNonNull(userProcessingResultId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -62,8 +68,11 @@ public ExecutionScopeRequestBuilder(@jakarta.annotation.Nonnull final String raw * The list of users that meet the workflowExecutionConditions of a workflow. * @return a {@link UserProcessingResultCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public UserProcessingResultCollectionResponse get() { return get(null); } @@ -72,8 +81,11 @@ public UserProcessingResultCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link UserProcessingResultCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public UserProcessingResultCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -83,8 +95,11 @@ public UserProcessingResultCollectionResponse get(@jakarta.annotation.Nullable f /** * The list of users that meet the workflowExecutionConditions of a workflow. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -92,8 +107,11 @@ public RequestInformation toGetRequestInformation() { * The list of users that meet the workflowExecutionConditions of a workflow. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -104,8 +122,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ExecutionScopeRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ExecutionScopeRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ExecutionScopeRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/executionscope/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/executionscope/count/CountRequestBuilder.java index b1c074ad0ba..c6dbc9c1e42 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/executionscope/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/executionscope/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/executionscope/item/UserProcessingResultItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/executionscope/item/UserProcessingResultItemRequestBuilder.java index dade7b2abae..bafee3490f8 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/executionscope/item/UserProcessingResultItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/executionscope/item/UserProcessingResultItemRequestBuilder.java @@ -40,8 +40,11 @@ public UserProcessingResultItemRequestBuilder(@jakarta.annotation.Nonnull final * The list of users that meet the workflowExecutionConditions of a workflow. * @return a {@link UserProcessingResult} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public UserProcessingResult get() { return get(null); } @@ -50,8 +53,11 @@ public UserProcessingResult get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link UserProcessingResult} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public UserProcessingResult get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public UserProcessingResult get(@jakarta.annotation.Nullable final java.util.fun /** * The list of users that meet the workflowExecutionConditions of a workflow. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * The list of users that meet the workflowExecutionConditions of a workflow. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link UserProcessingResultItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public UserProcessingResultItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new UserProcessingResultItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/lastmodifiedby/LastModifiedByRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/lastmodifiedby/LastModifiedByRequestBuilder.java index af0c53fce77..63a61287769 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/lastmodifiedby/LastModifiedByRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/lastmodifiedby/LastModifiedByRequestBuilder.java @@ -25,7 +25,10 @@ public class LastModifiedByRequestBuilder extends BaseRequestBuilder { /** * The mailboxSettings property * @return a {@link MailboxSettingsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public MailboxSettingsRequestBuilder mailboxSettings() { return new MailboxSettingsRequestBuilder(pathParameters, requestAdapter); @@ -33,7 +36,10 @@ public MailboxSettingsRequestBuilder mailboxSettings() { /** * The serviceProvisioningErrors property * @return a {@link ServiceProvisioningErrorsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ServiceProvisioningErrorsRequestBuilder serviceProvisioningErrors() { return new ServiceProvisioningErrorsRequestBuilder(pathParameters, requestAdapter); @@ -58,8 +64,11 @@ public LastModifiedByRequestBuilder(@jakarta.annotation.Nonnull final String raw * The user who last modified the workflow. * @return a {@link User} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public User get() { return get(null); } @@ -68,8 +77,11 @@ public User get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link User} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public User get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -79,8 +91,11 @@ public User get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -100,8 +118,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link LastModifiedByRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public LastModifiedByRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new LastModifiedByRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/lastmodifiedby/mailboxsettings/MailboxSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/lastmodifiedby/mailboxsettings/MailboxSettingsRequestBuilder.java index 752d3d7de4a..d9a7daf7d3e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/lastmodifiedby/mailboxsettings/MailboxSettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/lastmodifiedby/mailboxsettings/MailboxSettingsRequestBuilder.java @@ -40,8 +40,11 @@ public MailboxSettingsRequestBuilder(@jakarta.annotation.Nonnull final String ra * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Requires $select to retrieve. * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings get() { return get(null); } @@ -50,8 +53,11 @@ public MailboxSettings get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -63,8 +69,11 @@ public MailboxSettings get(@jakarta.annotation.Nullable final java.util.function * @param body The request body * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings body) { return patch(body, null); } @@ -74,8 +83,11 @@ public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings b * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -86,8 +98,11 @@ public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings b /** * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Requires $select to retrieve. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -95,8 +110,11 @@ public RequestInformation toGetRequestInformation() { * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Requires $select to retrieve. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -107,8 +125,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update property mailboxSettings value. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxSettings body) { return toPatchRequestInformation(body, null); } @@ -117,8 +138,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -131,8 +155,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link MailboxSettingsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public MailboxSettingsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new MailboxSettingsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/lastmodifiedby/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/lastmodifiedby/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java index 6ab78b35118..783b3a614a5 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/lastmodifiedby/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/lastmodifiedby/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java @@ -24,7 +24,10 @@ public class ServiceProvisioningErrorsRequestBuilder extends BaseRequestBuilder /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -49,8 +52,11 @@ public ServiceProvisioningErrorsRequestBuilder(@jakarta.annotation.Nonnull final * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. * @return a {@link ServiceProvisioningErrorCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ServiceProvisioningErrorCollectionResponse get() { return get(null); } @@ -59,8 +65,11 @@ public ServiceProvisioningErrorCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ServiceProvisioningErrorCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ServiceProvisioningErrorCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -70,8 +79,11 @@ public ServiceProvisioningErrorCollectionResponse get(@jakarta.annotation.Nullab /** * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -79,8 +91,11 @@ public RequestInformation toGetRequestInformation() { * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -91,8 +106,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ServiceProvisioningErrorsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ServiceProvisioningErrorsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ServiceProvisioningErrorsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/lastmodifiedby/serviceprovisioningerrors/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/lastmodifiedby/serviceprovisioningerrors/count/CountRequestBuilder.java index 9133cbb6432..45a4d1bd854 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/lastmodifiedby/serviceprovisioningerrors/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/lastmodifiedby/serviceprovisioningerrors/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/microsoftgraphidentitygovernanceactivate/MicrosoftGraphIdentityGovernanceActivateRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/microsoftgraphidentitygovernanceactivate/MicrosoftGraphIdentityGovernanceActivateRequestBuilder.java index c2daf6a8b31..0dfa001320f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/microsoftgraphidentitygovernanceactivate/MicrosoftGraphIdentityGovernanceActivateRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/microsoftgraphidentitygovernanceactivate/MicrosoftGraphIdentityGovernanceActivateRequestBuilder.java @@ -38,8 +38,11 @@ public MicrosoftGraphIdentityGovernanceActivateRequestBuilder(@jakarta.annotatio * Run a workflow object on-demand. You can run any workflow on-demand, including scheduled workflows. Workflows created from the 'Real-time employee termination' template are run on-demand only. When you run a workflow on demand, the tasks are executed regardless of whether the user state matches the scope and trigger execution conditions. * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final ActivatePostRequestBody body) { post(body, null); } @@ -48,8 +51,11 @@ public void post(@jakarta.annotation.Nonnull final ActivatePostRequestBody body) * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final ActivatePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -61,8 +67,11 @@ public void post(@jakarta.annotation.Nonnull final ActivatePostRequestBody body, * Run a workflow object on-demand. You can run any workflow on-demand, including scheduled workflows. Workflows created from the 'Real-time employee termination' template are run on-demand only. When you run a workflow on demand, the tasks are executed regardless of whether the user state matches the scope and trigger execution conditions. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ActivatePostRequestBody body) { return toPostRequestInformation(body, null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ActivatePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -85,8 +97,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link MicrosoftGraphIdentityGovernanceActivateRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public MicrosoftGraphIdentityGovernanceActivateRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new MicrosoftGraphIdentityGovernanceActivateRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/microsoftgraphidentitygovernanceactivateandwait/MicrosoftGraphIdentityGovernanceActivateAndWaitRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/microsoftgraphidentitygovernanceactivateandwait/MicrosoftGraphIdentityGovernanceActivateAndWaitRequestBuilder.java index 2dc23cb74c7..56caaa0f088 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/microsoftgraphidentitygovernanceactivateandwait/MicrosoftGraphIdentityGovernanceActivateAndWaitRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/microsoftgraphidentitygovernanceactivateandwait/MicrosoftGraphIdentityGovernanceActivateAndWaitRequestBuilder.java @@ -40,9 +40,12 @@ public MicrosoftGraphIdentityGovernanceActivateAndWaitRequestBuilder(@jakarta.an * @param body The request body * @return a {@link AwaitedWorkflowProcessingResult} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public AwaitedWorkflowProcessingResult post(@jakarta.annotation.Nonnull final ActivateAndWaitPostRequestBody body) { return post(body, null); } @@ -52,9 +55,12 @@ public AwaitedWorkflowProcessingResult post(@jakarta.annotation.Nonnull final Ac * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AwaitedWorkflowProcessingResult} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public AwaitedWorkflowProcessingResult post(@jakarta.annotation.Nonnull final ActivateAndWaitPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -66,8 +72,11 @@ public AwaitedWorkflowProcessingResult post(@jakarta.annotation.Nonnull final Ac * Activate a lifecycle workflow for a specified subject and synchronously wait for execution to complete. This action returns an awaitedWorkflowProcessingResult with the execution outcome. Use this action when you need immediate confirmation of workflow completion, for example when provisioning a non-user subject. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ActivateAndWaitPostRequestBody body) { return toPostRequestInformation(body, null); } @@ -76,8 +85,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ActivateAndWaitPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -90,8 +102,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link MicrosoftGraphIdentityGovernanceActivateAndWaitRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public MicrosoftGraphIdentityGovernanceActivateAndWaitRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new MicrosoftGraphIdentityGovernanceActivateAndWaitRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/microsoftgraphidentitygovernanceactivatewithscope/MicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/microsoftgraphidentitygovernanceactivatewithscope/MicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder.java index c12665d275b..cc3da89314f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/microsoftgraphidentitygovernanceactivatewithscope/MicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/microsoftgraphidentitygovernanceactivatewithscope/MicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder.java @@ -38,8 +38,11 @@ public MicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder(@jakarta. * Run a workflow object on-demand with a specific scope. You can run any workflow on-demand, including scheduled workflows. Workflows created from the 'Real-time employee termination' template are run on-demand only. When you run a workflow on demand, the tasks are executed regardless of whether the user state matches the scope and trigger execution conditions. * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final ActivateWithScopePostRequestBody body) { post(body, null); } @@ -48,8 +51,11 @@ public void post(@jakarta.annotation.Nonnull final ActivateWithScopePostRequestB * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final ActivateWithScopePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -61,8 +67,11 @@ public void post(@jakarta.annotation.Nonnull final ActivateWithScopePostRequestB * Run a workflow object on-demand with a specific scope. You can run any workflow on-demand, including scheduled workflows. Workflows created from the 'Real-time employee termination' template are run on-demand only. When you run a workflow on demand, the tasks are executed regardless of whether the user state matches the scope and trigger execution conditions. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ActivateWithScopePostRequestBody body) { return toPostRequestInformation(body, null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ActivateWithScopePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -85,8 +97,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link MicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public MicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new MicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/microsoftgraphidentitygovernanceclearquarantine/MicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/microsoftgraphidentitygovernanceclearquarantine/MicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder.java index ac4379a284f..0e649559f30 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/microsoftgraphidentitygovernanceclearquarantine/MicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/microsoftgraphidentitygovernanceclearquarantine/MicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder.java @@ -39,9 +39,12 @@ public MicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder(@jakarta.an * Release a quarantined workflow so that it resumes processing. A workflow is automatically quarantined when a run exceeds the threshold conditions defined in its quarantineConfiguration. After an administrator reviews the cause of the quarantine, calling this action clears the quarantine state and allows the workflow to run again. * @return a {@link Workflow} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public Workflow post() { return post(null); } @@ -50,9 +53,12 @@ public Workflow post() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Workflow} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public Workflow post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -62,8 +68,11 @@ public Workflow post(@jakarta.annotation.Nullable final java.util.function.Consu /** * Release a quarantined workflow so that it resumes processing. A workflow is automatically quarantined when a run exceeds the threshold conditions defined in its quarantineConfiguration. After an administrator reviews the cause of the quarantine, calling this action clears the quarantine state and allows the workflow to run again. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation() { * Release a quarantined workflow so that it resumes processing. A workflow is automatically quarantined when a run exceeds the threshold conditions defined in its quarantineConfiguration. After an administrator reviews the cause of the quarantine, calling this action clears the quarantine state and allows the workflow to run again. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -83,8 +95,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link MicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public MicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new MicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/microsoftgraphidentitygovernancecreatenewversion/MicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/microsoftgraphidentitygovernancecreatenewversion/MicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder.java index 2f94dc141c6..ae30b709e00 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/microsoftgraphidentitygovernancecreatenewversion/MicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/microsoftgraphidentitygovernancecreatenewversion/MicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder.java @@ -40,9 +40,12 @@ public MicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder(@jakarta.a * @param body The request body * @return a {@link Workflow} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public Workflow post(@jakarta.annotation.Nonnull final CreateNewVersionPostRequestBody body) { return post(body, null); } @@ -52,9 +55,12 @@ public Workflow post(@jakarta.annotation.Nonnull final CreateNewVersionPostReque * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Workflow} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public Workflow post(@jakarta.annotation.Nonnull final CreateNewVersionPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -66,8 +72,11 @@ public Workflow post(@jakarta.annotation.Nonnull final CreateNewVersionPostReque * Create a new version of the workflow object. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CreateNewVersionPostRequestBody body) { return toPostRequestInformation(body, null); } @@ -76,8 +85,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CreateNewVersionPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -90,8 +102,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link MicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public MicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new MicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/microsoftgraphidentitygovernancerestore/MicrosoftGraphIdentityGovernanceRestoreRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/microsoftgraphidentitygovernancerestore/MicrosoftGraphIdentityGovernanceRestoreRequestBuilder.java index 8dd41d6822e..40e0b26043a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/microsoftgraphidentitygovernancerestore/MicrosoftGraphIdentityGovernanceRestoreRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/microsoftgraphidentitygovernancerestore/MicrosoftGraphIdentityGovernanceRestoreRequestBuilder.java @@ -39,9 +39,12 @@ public MicrosoftGraphIdentityGovernanceRestoreRequestBuilder(@jakarta.annotation * Restore a deleted workflow object. You can only restore a workflow that was deleted within the last 30 days before Microsoft Entra ID automatically permanently deletes it. * @return a {@link Workflow} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public Workflow post() { return post(null); } @@ -50,9 +53,12 @@ public Workflow post() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Workflow} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public Workflow post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -62,8 +68,11 @@ public Workflow post(@jakarta.annotation.Nullable final java.util.function.Consu /** * Restore a deleted workflow object. You can only restore a workflow that was deleted within the last 30 days before Microsoft Entra ID automatically permanently deletes it. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation() { * Restore a deleted workflow object. You can only restore a workflow that was deleted within the last 30 days before Microsoft Entra ID automatically permanently deletes it. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -83,8 +95,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link MicrosoftGraphIdentityGovernanceRestoreRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public MicrosoftGraphIdentityGovernanceRestoreRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new MicrosoftGraphIdentityGovernanceRestoreRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/RunsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/RunsRequestBuilder.java index bd38a1d5654..587a3ff6d04 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/RunsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/RunsRequestBuilder.java @@ -27,7 +27,10 @@ public class RunsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -36,8 +39,11 @@ public CountRequestBuilder count() { * Provides operations to manage the runs property of the microsoft.graph.identityGovernance.workflow entity. * @param runId The unique identifier of run * @return a {@link RunItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RunItemRequestBuilder byRunId(@jakarta.annotation.Nonnull final String runId) { Objects.requireNonNull(runId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -64,9 +70,12 @@ public RunsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jaka * Get a list of run objects and their properties for a workflow. * @return a {@link RunCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public RunCollectionResponse get() { return get(null); } @@ -75,9 +84,12 @@ public RunCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RunCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public RunCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -89,8 +101,11 @@ public RunCollectionResponse get(@jakarta.annotation.Nullable final java.util.fu * @param endDateTime Usage: endDateTime={endDateTime} * @param startDateTime Usage: startDateTime={startDateTime} * @return a {@link MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime(@jakarta.annotation.Nonnull final OffsetDateTime endDateTime, @jakarta.annotation.Nonnull final OffsetDateTime startDateTime) { Objects.requireNonNull(endDateTime); Objects.requireNonNull(startDateTime); @@ -99,8 +114,11 @@ public MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRe /** * Get a list of run objects and their properties for a workflow. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -108,8 +126,11 @@ public RequestInformation toGetRequestInformation() { * Get a list of run objects and their properties for a workflow. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -120,8 +141,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RunsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RunsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RunsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/count/CountRequestBuilder.java index 4329c33493a..51aded59a91 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/RunItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/RunItemRequestBuilder.java index a48c352dbe1..1eb9c8389a9 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/RunItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/RunItemRequestBuilder.java @@ -27,7 +27,10 @@ public class RunItemRequestBuilder extends BaseRequestBuilder { /** * Provides operations to manage the reprocessedRuns property of the microsoft.graph.identityGovernance.run entity. * @return a {@link ReprocessedRunsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ReprocessedRunsRequestBuilder reprocessedRuns() { return new ReprocessedRunsRequestBuilder(pathParameters, requestAdapter); @@ -35,7 +38,10 @@ public ReprocessedRunsRequestBuilder reprocessedRuns() { /** * Provides operations to manage the subjectProcessingResults property of the microsoft.graph.identityGovernance.run entity. * @return a {@link SubjectProcessingResultsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public SubjectProcessingResultsRequestBuilder subjectProcessingResults() { return new SubjectProcessingResultsRequestBuilder(pathParameters, requestAdapter); @@ -43,7 +49,10 @@ public SubjectProcessingResultsRequestBuilder subjectProcessingResults() { /** * Provides operations to manage the taskProcessingResults property of the microsoft.graph.identityGovernance.run entity. * @return a {@link TaskProcessingResultsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public TaskProcessingResultsRequestBuilder taskProcessingResults() { return new TaskProcessingResultsRequestBuilder(pathParameters, requestAdapter); @@ -51,7 +60,10 @@ public TaskProcessingResultsRequestBuilder taskProcessingResults() { /** * Provides operations to manage the userProcessingResults property of the microsoft.graph.identityGovernance.run entity. * @return a {@link UserProcessingResultsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public UserProcessingResultsRequestBuilder userProcessingResults() { return new UserProcessingResultsRequestBuilder(pathParameters, requestAdapter); @@ -76,9 +88,12 @@ public RunItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j * Read the properties and relationships of a run object. * @return a {@link Run} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public Run get() { return get(null); } @@ -87,9 +102,12 @@ public Run get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Run} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public Run get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -99,8 +117,11 @@ public Run get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -120,8 +144,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RunItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RunItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RunItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/reprocessedruns/ReprocessedRunsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/reprocessedruns/ReprocessedRunsRequestBuilder.java index c4d259f50ee..4bcf80783bb 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/reprocessedruns/ReprocessedRunsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/reprocessedruns/ReprocessedRunsRequestBuilder.java @@ -25,7 +25,10 @@ public class ReprocessedRunsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -34,8 +37,11 @@ public CountRequestBuilder count() { * Provides operations to manage the reprocessedRuns property of the microsoft.graph.identityGovernance.run entity. * @param runId1 The unique identifier of run * @return a {@link RunItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RunItemRequestBuilder byRunId1(@jakarta.annotation.Nonnull final String runId1) { Objects.requireNonNull(runId1); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -62,8 +68,11 @@ public ReprocessedRunsRequestBuilder(@jakarta.annotation.Nonnull final String ra * The related reprocessed workflow run. * @return a {@link RunCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public RunCollectionResponse get() { return get(null); } @@ -72,8 +81,11 @@ public RunCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RunCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public RunCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -83,8 +95,11 @@ public RunCollectionResponse get(@jakarta.annotation.Nullable final java.util.fu /** * The related reprocessed workflow run. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -92,8 +107,11 @@ public RequestInformation toGetRequestInformation() { * The related reprocessed workflow run. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -104,8 +122,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ReprocessedRunsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ReprocessedRunsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ReprocessedRunsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/reprocessedruns/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/reprocessedruns/count/CountRequestBuilder.java index ea8417b7987..7240dd98414 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/reprocessedruns/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/reprocessedruns/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/reprocessedruns/item/RunItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/reprocessedruns/item/RunItemRequestBuilder.java index a054b16e53d..cf1f516b699 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/reprocessedruns/item/RunItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/reprocessedruns/item/RunItemRequestBuilder.java @@ -40,8 +40,11 @@ public RunItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j * The related reprocessed workflow run. * @return a {@link Run} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Run get() { return get(null); } @@ -50,8 +53,11 @@ public Run get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Run} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Run get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public Run get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RunItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RunItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RunItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/subjectprocessingresults/SubjectProcessingResultsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/subjectprocessingresults/SubjectProcessingResultsRequestBuilder.java index 5564a051c61..6031f926ef9 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/subjectprocessingresults/SubjectProcessingResultsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/subjectprocessingresults/SubjectProcessingResultsRequestBuilder.java @@ -2,6 +2,7 @@ import com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.workflows.item.runs.item.subjectprocessingresults.count.CountRequestBuilder; import com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.workflows.item.runs.item.subjectprocessingresults.item.SubjectProcessingResultItemRequestBuilder; +import com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.workflows.item.runs.item.subjectprocessingresults.microsoftgraphidentitygovernancesummarywithstartdatetimewithenddatetime.MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder; import com.microsoft.graph.beta.models.identitygovernance.SubjectProcessingResultCollectionResponse; import com.microsoft.graph.beta.models.odataerrors.ODataError; import com.microsoft.kiota.BaseRequestBuilder; @@ -13,6 +14,7 @@ import com.microsoft.kiota.RequestOption; import com.microsoft.kiota.serialization.Parsable; import com.microsoft.kiota.serialization.ParsableFactory; +import java.time.OffsetDateTime; import java.util.Collection; import java.util.HashMap; import java.util.Map; @@ -25,7 +27,10 @@ public class SubjectProcessingResultsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -34,8 +39,11 @@ public CountRequestBuilder count() { * Provides operations to manage the subjectProcessingResults property of the microsoft.graph.identityGovernance.run entity. * @param subjectProcessingResultId The unique identifier of subjectProcessingResult * @return a {@link SubjectProcessingResultItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public SubjectProcessingResultItemRequestBuilder bySubjectProcessingResultId(@jakarta.annotation.Nonnull final String subjectProcessingResultId) { Objects.requireNonNull(subjectProcessingResultId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -62,9 +70,12 @@ public SubjectProcessingResultsRequestBuilder(@jakarta.annotation.Nonnull final * Get a list of the subjectProcessingResult objects for a specific workflow run. Each result represents the processing outcome for a single subject. * @return a {@link SubjectProcessingResultCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public SubjectProcessingResultCollectionResponse get() { return get(null); } @@ -73,20 +84,41 @@ public SubjectProcessingResultCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SubjectProcessingResultCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public SubjectProcessingResultCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); return this.requestAdapter.send(requestInfo, errorMapping, SubjectProcessingResultCollectionResponse::createFromDiscriminatorValue); } + /** + * Provides operations to call the summary method. + * @param endDateTime Usage: endDateTime={endDateTime} + * @param startDateTime Usage: startDateTime={startDateTime} + * @return a {@link MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime(@jakarta.annotation.Nonnull final OffsetDateTime endDateTime, @jakarta.annotation.Nonnull final OffsetDateTime startDateTime) { + Objects.requireNonNull(endDateTime); + Objects.requireNonNull(startDateTime); + return new MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder(pathParameters, requestAdapter, endDateTime, startDateTime); + } /** * Get a list of the subjectProcessingResult objects for a specific workflow run. Each result represents the processing outcome for a single subject. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -94,8 +126,11 @@ public RequestInformation toGetRequestInformation() { * Get a list of the subjectProcessingResult objects for a specific workflow run. Each result represents the processing outcome for a single subject. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -106,8 +141,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link SubjectProcessingResultsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public SubjectProcessingResultsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new SubjectProcessingResultsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/subjectprocessingresults/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/subjectprocessingresults/count/CountRequestBuilder.java index 9dca543fe46..bd5d9142b9c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/subjectprocessingresults/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/subjectprocessingresults/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/subjectprocessingresults/item/SubjectProcessingResultItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/subjectprocessingresults/item/SubjectProcessingResultItemRequestBuilder.java index c59ffa19a62..5a414d39c56 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/subjectprocessingresults/item/SubjectProcessingResultItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/subjectprocessingresults/item/SubjectProcessingResultItemRequestBuilder.java @@ -25,7 +25,10 @@ public class SubjectProcessingResultItemRequestBuilder extends BaseRequestBuilde /** * Provides operations to manage the reprocessedRuns property of the microsoft.graph.identityGovernance.subjectProcessingResult entity. * @return a {@link ReprocessedRunsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ReprocessedRunsRequestBuilder reprocessedRuns() { return new ReprocessedRunsRequestBuilder(pathParameters, requestAdapter); @@ -33,7 +36,10 @@ public ReprocessedRunsRequestBuilder reprocessedRuns() { /** * Provides operations to manage the taskProcessingResults property of the microsoft.graph.identityGovernance.subjectProcessingResult entity. * @return a {@link TaskProcessingResultsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public TaskProcessingResultsRequestBuilder taskProcessingResults() { return new TaskProcessingResultsRequestBuilder(pathParameters, requestAdapter); @@ -58,9 +64,12 @@ public SubjectProcessingResultItemRequestBuilder(@jakarta.annotation.Nonnull fin * Read the properties and relationships of a subjectProcessingResult object for a workflow run. * @return a {@link SubjectProcessingResult} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public SubjectProcessingResult get() { return get(null); } @@ -69,9 +78,12 @@ public SubjectProcessingResult get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SubjectProcessingResult} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public SubjectProcessingResult get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -81,8 +93,11 @@ public SubjectProcessingResult get(@jakarta.annotation.Nullable final java.util. /** * Read the properties and relationships of a subjectProcessingResult object for a workflow run. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -90,8 +105,11 @@ public RequestInformation toGetRequestInformation() { * Read the properties and relationships of a subjectProcessingResult object for a workflow run. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -102,8 +120,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link SubjectProcessingResultItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public SubjectProcessingResultItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new SubjectProcessingResultItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/subjectprocessingresults/item/reprocessedruns/ReprocessedRunsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/subjectprocessingresults/item/reprocessedruns/ReprocessedRunsRequestBuilder.java index 5a2442e519f..eadbf53a7eb 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/subjectprocessingresults/item/reprocessedruns/ReprocessedRunsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/subjectprocessingresults/item/reprocessedruns/ReprocessedRunsRequestBuilder.java @@ -25,7 +25,10 @@ public class ReprocessedRunsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -34,8 +37,11 @@ public CountRequestBuilder count() { * Provides operations to manage the reprocessedRuns property of the microsoft.graph.identityGovernance.subjectProcessingResult entity. * @param runId1 The unique identifier of run * @return a {@link RunItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RunItemRequestBuilder byRunId1(@jakarta.annotation.Nonnull final String runId1) { Objects.requireNonNull(runId1); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -62,8 +68,11 @@ public ReprocessedRunsRequestBuilder(@jakarta.annotation.Nonnull final String ra * The reprocessed runs associated with this subject processing result. * @return a {@link RunCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public RunCollectionResponse get() { return get(null); } @@ -72,8 +81,11 @@ public RunCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RunCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public RunCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -83,8 +95,11 @@ public RunCollectionResponse get(@jakarta.annotation.Nullable final java.util.fu /** * The reprocessed runs associated with this subject processing result. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -92,8 +107,11 @@ public RequestInformation toGetRequestInformation() { * The reprocessed runs associated with this subject processing result. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -104,8 +122,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ReprocessedRunsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ReprocessedRunsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ReprocessedRunsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/subjectprocessingresults/item/reprocessedruns/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/subjectprocessingresults/item/reprocessedruns/count/CountRequestBuilder.java index 994efb9f3a9..38006695cec 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/subjectprocessingresults/item/reprocessedruns/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/subjectprocessingresults/item/reprocessedruns/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/subjectprocessingresults/item/reprocessedruns/item/RunItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/subjectprocessingresults/item/reprocessedruns/item/RunItemRequestBuilder.java index 84ba90df4fa..418b4603e2f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/subjectprocessingresults/item/reprocessedruns/item/RunItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/subjectprocessingresults/item/reprocessedruns/item/RunItemRequestBuilder.java @@ -40,8 +40,11 @@ public RunItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j * The reprocessed runs associated with this subject processing result. * @return a {@link Run} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Run get() { return get(null); } @@ -50,8 +53,11 @@ public Run get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Run} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Run get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public Run get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RunItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RunItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RunItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/subjectprocessingresults/item/taskprocessingresults/TaskProcessingResultsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/subjectprocessingresults/item/taskprocessingresults/TaskProcessingResultsRequestBuilder.java index 3e7ac8f2f15..a3e809f6dbc 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/subjectprocessingresults/item/taskprocessingresults/TaskProcessingResultsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/subjectprocessingresults/item/taskprocessingresults/TaskProcessingResultsRequestBuilder.java @@ -25,7 +25,10 @@ public class TaskProcessingResultsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -34,8 +37,11 @@ public CountRequestBuilder count() { * Provides operations to manage the taskProcessingResults property of the microsoft.graph.identityGovernance.subjectProcessingResult entity. * @param taskProcessingResultId The unique identifier of taskProcessingResult * @return a {@link TaskProcessingResultItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public TaskProcessingResultItemRequestBuilder byTaskProcessingResultId(@jakarta.annotation.Nonnull final String taskProcessingResultId) { Objects.requireNonNull(taskProcessingResultId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -62,8 +68,11 @@ public TaskProcessingResultsRequestBuilder(@jakarta.annotation.Nonnull final Str * The task-level processing results for this subject. Read-only. * @return a {@link TaskProcessingResultCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public TaskProcessingResultCollectionResponse get() { return get(null); } @@ -72,8 +81,11 @@ public TaskProcessingResultCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link TaskProcessingResultCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public TaskProcessingResultCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -83,8 +95,11 @@ public TaskProcessingResultCollectionResponse get(@jakarta.annotation.Nullable f /** * The task-level processing results for this subject. Read-only. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -92,8 +107,11 @@ public RequestInformation toGetRequestInformation() { * The task-level processing results for this subject. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -104,8 +122,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link TaskProcessingResultsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public TaskProcessingResultsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new TaskProcessingResultsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/subjectprocessingresults/item/taskprocessingresults/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/subjectprocessingresults/item/taskprocessingresults/count/CountRequestBuilder.java index 02848a4f222..bd4735ab8d0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/subjectprocessingresults/item/taskprocessingresults/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/subjectprocessingresults/item/taskprocessingresults/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/subjectprocessingresults/item/taskprocessingresults/item/TaskProcessingResultItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/subjectprocessingresults/item/taskprocessingresults/item/TaskProcessingResultItemRequestBuilder.java index 4707b04a93c..37a57c82435 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/subjectprocessingresults/item/taskprocessingresults/item/TaskProcessingResultItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/subjectprocessingresults/item/taskprocessingresults/item/TaskProcessingResultItemRequestBuilder.java @@ -26,7 +26,10 @@ public class TaskProcessingResultItemRequestBuilder extends BaseRequestBuilder { /** * Provides operations to call the resume method. * @return a {@link MicrosoftGraphIdentityGovernanceResumeRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public MicrosoftGraphIdentityGovernanceResumeRequestBuilder microsoftGraphIdentityGovernanceResume() { return new MicrosoftGraphIdentityGovernanceResumeRequestBuilder(pathParameters, requestAdapter); @@ -34,7 +37,10 @@ public MicrosoftGraphIdentityGovernanceResumeRequestBuilder microsoftGraphIdenti /** * Provides operations to manage the subject property of the microsoft.graph.identityGovernance.taskProcessingResult entity. * @return a {@link SubjectRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public SubjectRequestBuilder subject() { return new SubjectRequestBuilder(pathParameters, requestAdapter); @@ -42,7 +48,10 @@ public SubjectRequestBuilder subject() { /** * Provides operations to manage the task property of the microsoft.graph.identityGovernance.taskProcessingResult entity. * @return a {@link TaskRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public TaskRequestBuilder task() { return new TaskRequestBuilder(pathParameters, requestAdapter); @@ -67,8 +76,11 @@ public TaskProcessingResultItemRequestBuilder(@jakarta.annotation.Nonnull final * The task-level processing results for this subject. Read-only. * @return a {@link TaskProcessingResult} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public TaskProcessingResult get() { return get(null); } @@ -77,8 +89,11 @@ public TaskProcessingResult get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link TaskProcessingResult} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public TaskProcessingResult get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -88,8 +103,11 @@ public TaskProcessingResult get(@jakarta.annotation.Nullable final java.util.fun /** * The task-level processing results for this subject. Read-only. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -97,8 +115,11 @@ public RequestInformation toGetRequestInformation() { * The task-level processing results for this subject. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -109,8 +130,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link TaskProcessingResultItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public TaskProcessingResultItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new TaskProcessingResultItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/subjectprocessingresults/item/taskprocessingresults/item/microsoftgraphidentitygovernanceresume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/subjectprocessingresults/item/taskprocessingresults/item/microsoftgraphidentitygovernanceresume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.java index e54eb3078ff..a40ee65aa49 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/subjectprocessingresults/item/taskprocessingresults/item/microsoftgraphidentitygovernanceresume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/subjectprocessingresults/item/taskprocessingresults/item/microsoftgraphidentitygovernanceresume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.java @@ -38,8 +38,11 @@ public MicrosoftGraphIdentityGovernanceResumeRequestBuilder(@jakarta.annotation. * Resume a taskProcessingResult that's inProgress. In the default case, an Azure Logic Apps system-assigned managed identity calls this API. For more information, see Lifecycle Workflows extensibility approach. * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final ResumePostRequestBody body) { post(body, null); } @@ -48,8 +51,11 @@ public void post(@jakarta.annotation.Nonnull final ResumePostRequestBody body) { * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final ResumePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -61,8 +67,11 @@ public void post(@jakarta.annotation.Nonnull final ResumePostRequestBody body, @ * Resume a taskProcessingResult that's inProgress. In the default case, an Azure Logic Apps system-assigned managed identity calls this API. For more information, see Lifecycle Workflows extensibility approach. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ResumePostRequestBody body) { return toPostRequestInformation(body, null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ResumePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -85,8 +97,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link MicrosoftGraphIdentityGovernanceResumeRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public MicrosoftGraphIdentityGovernanceResumeRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new MicrosoftGraphIdentityGovernanceResumeRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/subjectprocessingresults/item/taskprocessingresults/item/subject/SubjectRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/subjectprocessingresults/item/taskprocessingresults/item/subject/SubjectRequestBuilder.java index 03812be13b2..78c6f51a08c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/subjectprocessingresults/item/taskprocessingresults/item/subject/SubjectRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/subjectprocessingresults/item/taskprocessingresults/item/subject/SubjectRequestBuilder.java @@ -25,7 +25,10 @@ public class SubjectRequestBuilder extends BaseRequestBuilder { /** * The mailboxSettings property * @return a {@link MailboxSettingsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public MailboxSettingsRequestBuilder mailboxSettings() { return new MailboxSettingsRequestBuilder(pathParameters, requestAdapter); @@ -33,7 +36,10 @@ public MailboxSettingsRequestBuilder mailboxSettings() { /** * The serviceProvisioningErrors property * @return a {@link ServiceProvisioningErrorsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ServiceProvisioningErrorsRequestBuilder serviceProvisioningErrors() { return new ServiceProvisioningErrorsRequestBuilder(pathParameters, requestAdapter); @@ -58,8 +64,11 @@ public SubjectRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j * The unique identifier of the Microsoft Entra user targeted for the task execution.Supports $filter(eq, ne) and $expand. * @return a {@link User} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public User get() { return get(null); } @@ -68,8 +77,11 @@ public User get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link User} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public User get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -79,8 +91,11 @@ public User get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -100,8 +118,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link SubjectRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public SubjectRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new SubjectRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/subjectprocessingresults/item/taskprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/subjectprocessingresults/item/taskprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java index a56ae34bc82..fd67515abc8 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/subjectprocessingresults/item/taskprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/subjectprocessingresults/item/taskprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java @@ -40,8 +40,11 @@ public MailboxSettingsRequestBuilder(@jakarta.annotation.Nonnull final String ra * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Requires $select to retrieve. * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings get() { return get(null); } @@ -50,8 +53,11 @@ public MailboxSettings get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -63,8 +69,11 @@ public MailboxSettings get(@jakarta.annotation.Nullable final java.util.function * @param body The request body * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings body) { return patch(body, null); } @@ -74,8 +83,11 @@ public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings b * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -86,8 +98,11 @@ public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings b /** * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Requires $select to retrieve. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -95,8 +110,11 @@ public RequestInformation toGetRequestInformation() { * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Requires $select to retrieve. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -107,8 +125,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update property mailboxSettings value. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxSettings body) { return toPatchRequestInformation(body, null); } @@ -117,8 +138,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -131,8 +155,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link MailboxSettingsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public MailboxSettingsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new MailboxSettingsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/subjectprocessingresults/item/taskprocessingresults/item/subject/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/subjectprocessingresults/item/taskprocessingresults/item/subject/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java index 98f0e6da525..a3b225929b7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/subjectprocessingresults/item/taskprocessingresults/item/subject/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/subjectprocessingresults/item/taskprocessingresults/item/subject/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java @@ -24,7 +24,10 @@ public class ServiceProvisioningErrorsRequestBuilder extends BaseRequestBuilder /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -49,8 +52,11 @@ public ServiceProvisioningErrorsRequestBuilder(@jakarta.annotation.Nonnull final * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. * @return a {@link ServiceProvisioningErrorCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ServiceProvisioningErrorCollectionResponse get() { return get(null); } @@ -59,8 +65,11 @@ public ServiceProvisioningErrorCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ServiceProvisioningErrorCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ServiceProvisioningErrorCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -70,8 +79,11 @@ public ServiceProvisioningErrorCollectionResponse get(@jakarta.annotation.Nullab /** * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -79,8 +91,11 @@ public RequestInformation toGetRequestInformation() { * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -91,8 +106,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ServiceProvisioningErrorsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ServiceProvisioningErrorsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ServiceProvisioningErrorsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/subjectprocessingresults/item/taskprocessingresults/item/subject/serviceprovisioningerrors/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/subjectprocessingresults/item/taskprocessingresults/item/subject/serviceprovisioningerrors/count/CountRequestBuilder.java index f229c596e9a..22dc97c8204 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/subjectprocessingresults/item/taskprocessingresults/item/subject/serviceprovisioningerrors/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/subjectprocessingresults/item/taskprocessingresults/item/subject/serviceprovisioningerrors/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/subjectprocessingresults/item/taskprocessingresults/item/task/TaskRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/subjectprocessingresults/item/taskprocessingresults/item/task/TaskRequestBuilder.java index 594199c6407..fe62b549f2f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/subjectprocessingresults/item/taskprocessingresults/item/task/TaskRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/subjectprocessingresults/item/taskprocessingresults/item/task/TaskRequestBuilder.java @@ -40,8 +40,11 @@ public TaskRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jaka * The related workflow task * @return a {@link Task} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Task get() { return get(null); } @@ -50,8 +53,11 @@ public Task get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Task} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Task get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public Task get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link TaskRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public TaskRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new TaskRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/subjectprocessingresults/microsoftgraphidentitygovernancesummarywithstartdatetimewithenddatetime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/subjectprocessingresults/microsoftgraphidentitygovernancesummarywithstartdatetimewithenddatetime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.java new file mode 100644 index 00000000000..cd6bc14def5 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/subjectprocessingresults/microsoftgraphidentitygovernancesummarywithstartdatetimewithenddatetime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.java @@ -0,0 +1,116 @@ +package com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.workflows.item.runs.item.subjectprocessingresults.microsoftgraphidentitygovernancesummarywithstartdatetimewithenddatetime; + +import com.microsoft.graph.beta.models.identitygovernance.SubjectSummary; +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.time.OffsetDateTime; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to call the summary method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder} and sets the default values. + * @param endDateTime Usage: endDateTime={endDateTime} + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + * @param startDateTime Usage: startDateTime={startDateTime} + */ + public MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter, @jakarta.annotation.Nullable final OffsetDateTime endDateTime, @jakarta.annotation.Nullable final OffsetDateTime startDateTime) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/workflows/{workflow%2Did}/runs/{run%2Did}/subjectProcessingResults/microsoft.graph.identityGovernance.summary(startDateTime={startDateTime},endDateTime={endDateTime})", pathParameters); + this.pathParameters.put("endDateTime", endDateTime); + this.pathParameters.put("startDateTime", startDateTime); + } + /** + * Instantiates a new {@link MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/workflows/{workflow%2Did}/runs/{run%2Did}/subjectProcessingResults/microsoft.graph.identityGovernance.summary(startDateTime={startDateTime},endDateTime={endDateTime})", rawUrl); + } + /** + * Provide a subjectSummary for subjectProcessingResult objects over a specified time period. Because the number of subject processing results returned by the list API can be overwhelming, this summary allows administrators to get a quick overview based on counts. + * @return a {@link SubjectSummary} + * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nullable + @Deprecated + public SubjectSummary get() { + return get(null); + } + /** + * Provide a subjectSummary for subjectProcessingResult objects over a specified time period. Because the number of subject processing results returned by the list API can be overwhelming, this summary allows administrators to get a quick overview based on counts. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link SubjectSummary} + * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nullable + @Deprecated + public SubjectSummary get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, SubjectSummary::createFromDiscriminatorValue); + } + /** + * Provide a subjectSummary for subjectProcessingResult objects over a specified time period. Because the number of subject processing results returned by the list API can be overwhelming, this summary allows administrators to get a quick overview based on counts. + * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Provide a subjectSummary for subjectProcessingResult objects over a specified time period. Because the number of subject processing results returned by the list API can be overwhelming, this summary allows administrators to get a quick overview based on counts. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new); + 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. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/taskprocessingresults/TaskProcessingResultsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/taskprocessingresults/TaskProcessingResultsRequestBuilder.java index ca9c12f2a7a..382002bcc24 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/taskprocessingresults/TaskProcessingResultsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/taskprocessingresults/TaskProcessingResultsRequestBuilder.java @@ -25,7 +25,10 @@ public class TaskProcessingResultsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -34,8 +37,11 @@ public CountRequestBuilder count() { * Provides operations to manage the taskProcessingResults property of the microsoft.graph.identityGovernance.run entity. * @param taskProcessingResultId The unique identifier of taskProcessingResult * @return a {@link TaskProcessingResultItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public TaskProcessingResultItemRequestBuilder byTaskProcessingResultId(@jakarta.annotation.Nonnull final String taskProcessingResultId) { Objects.requireNonNull(taskProcessingResultId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -62,9 +68,12 @@ public TaskProcessingResultsRequestBuilder(@jakarta.annotation.Nonnull final Str * Get the taskProcessingResult resources for a run. * @return a {@link TaskProcessingResultCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public TaskProcessingResultCollectionResponse get() { return get(null); } @@ -73,9 +82,12 @@ public TaskProcessingResultCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link TaskProcessingResultCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public TaskProcessingResultCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -85,8 +97,11 @@ public TaskProcessingResultCollectionResponse get(@jakarta.annotation.Nullable f /** * Get the taskProcessingResult resources for a run. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -94,8 +109,11 @@ public RequestInformation toGetRequestInformation() { * Get the taskProcessingResult resources for a run. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -106,8 +124,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link TaskProcessingResultsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public TaskProcessingResultsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new TaskProcessingResultsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/taskprocessingresults/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/taskprocessingresults/count/CountRequestBuilder.java index 13735ba671c..cd7ec31f32f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/taskprocessingresults/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/taskprocessingresults/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/taskprocessingresults/item/TaskProcessingResultItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/taskprocessingresults/item/TaskProcessingResultItemRequestBuilder.java index e45b1ce9c05..5e79261382b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/taskprocessingresults/item/TaskProcessingResultItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/taskprocessingresults/item/TaskProcessingResultItemRequestBuilder.java @@ -26,7 +26,10 @@ public class TaskProcessingResultItemRequestBuilder extends BaseRequestBuilder { /** * Provides operations to call the resume method. * @return a {@link MicrosoftGraphIdentityGovernanceResumeRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public MicrosoftGraphIdentityGovernanceResumeRequestBuilder microsoftGraphIdentityGovernanceResume() { return new MicrosoftGraphIdentityGovernanceResumeRequestBuilder(pathParameters, requestAdapter); @@ -34,7 +37,10 @@ public MicrosoftGraphIdentityGovernanceResumeRequestBuilder microsoftGraphIdenti /** * Provides operations to manage the subject property of the microsoft.graph.identityGovernance.taskProcessingResult entity. * @return a {@link SubjectRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public SubjectRequestBuilder subject() { return new SubjectRequestBuilder(pathParameters, requestAdapter); @@ -42,7 +48,10 @@ public SubjectRequestBuilder subject() { /** * Provides operations to manage the task property of the microsoft.graph.identityGovernance.taskProcessingResult entity. * @return a {@link TaskRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public TaskRequestBuilder task() { return new TaskRequestBuilder(pathParameters, requestAdapter); @@ -67,8 +76,11 @@ public TaskProcessingResultItemRequestBuilder(@jakarta.annotation.Nonnull final * The related taskProcessingResults. * @return a {@link TaskProcessingResult} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public TaskProcessingResult get() { return get(null); } @@ -77,8 +89,11 @@ public TaskProcessingResult get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link TaskProcessingResult} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public TaskProcessingResult get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -88,8 +103,11 @@ public TaskProcessingResult get(@jakarta.annotation.Nullable final java.util.fun /** * The related taskProcessingResults. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -97,8 +115,11 @@ public RequestInformation toGetRequestInformation() { * The related taskProcessingResults. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -109,8 +130,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link TaskProcessingResultItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public TaskProcessingResultItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new TaskProcessingResultItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/taskprocessingresults/item/microsoftgraphidentitygovernanceresume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/taskprocessingresults/item/microsoftgraphidentitygovernanceresume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.java index 3a4311b4b94..e1668d07734 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/taskprocessingresults/item/microsoftgraphidentitygovernanceresume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/taskprocessingresults/item/microsoftgraphidentitygovernanceresume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.java @@ -38,8 +38,11 @@ public MicrosoftGraphIdentityGovernanceResumeRequestBuilder(@jakarta.annotation. * Resume a taskProcessingResult that's inProgress. In the default case, an Azure Logic Apps system-assigned managed identity calls this API. For more information, see Lifecycle Workflows extensibility approach. * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final ResumePostRequestBody body) { post(body, null); } @@ -48,8 +51,11 @@ public void post(@jakarta.annotation.Nonnull final ResumePostRequestBody body) { * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final ResumePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -61,8 +67,11 @@ public void post(@jakarta.annotation.Nonnull final ResumePostRequestBody body, @ * Resume a taskProcessingResult that's inProgress. In the default case, an Azure Logic Apps system-assigned managed identity calls this API. For more information, see Lifecycle Workflows extensibility approach. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ResumePostRequestBody body) { return toPostRequestInformation(body, null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ResumePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -85,8 +97,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link MicrosoftGraphIdentityGovernanceResumeRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public MicrosoftGraphIdentityGovernanceResumeRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new MicrosoftGraphIdentityGovernanceResumeRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/taskprocessingresults/item/subject/SubjectRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/taskprocessingresults/item/subject/SubjectRequestBuilder.java index 87f7c347e3d..39cd3fec6c8 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/taskprocessingresults/item/subject/SubjectRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/taskprocessingresults/item/subject/SubjectRequestBuilder.java @@ -25,7 +25,10 @@ public class SubjectRequestBuilder extends BaseRequestBuilder { /** * The mailboxSettings property * @return a {@link MailboxSettingsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public MailboxSettingsRequestBuilder mailboxSettings() { return new MailboxSettingsRequestBuilder(pathParameters, requestAdapter); @@ -33,7 +36,10 @@ public MailboxSettingsRequestBuilder mailboxSettings() { /** * The serviceProvisioningErrors property * @return a {@link ServiceProvisioningErrorsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ServiceProvisioningErrorsRequestBuilder serviceProvisioningErrors() { return new ServiceProvisioningErrorsRequestBuilder(pathParameters, requestAdapter); @@ -58,8 +64,11 @@ public SubjectRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j * The unique identifier of the Microsoft Entra user targeted for the task execution.Supports $filter(eq, ne) and $expand. * @return a {@link User} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public User get() { return get(null); } @@ -68,8 +77,11 @@ public User get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link User} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public User get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -79,8 +91,11 @@ public User get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -100,8 +118,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link SubjectRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public SubjectRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new SubjectRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/taskprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/taskprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java index 16d665353b8..af2c6a2d989 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/taskprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/taskprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java @@ -40,8 +40,11 @@ public MailboxSettingsRequestBuilder(@jakarta.annotation.Nonnull final String ra * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Requires $select to retrieve. * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings get() { return get(null); } @@ -50,8 +53,11 @@ public MailboxSettings get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -63,8 +69,11 @@ public MailboxSettings get(@jakarta.annotation.Nullable final java.util.function * @param body The request body * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings body) { return patch(body, null); } @@ -74,8 +83,11 @@ public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings b * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -86,8 +98,11 @@ public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings b /** * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Requires $select to retrieve. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -95,8 +110,11 @@ public RequestInformation toGetRequestInformation() { * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Requires $select to retrieve. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -107,8 +125,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update property mailboxSettings value. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxSettings body) { return toPatchRequestInformation(body, null); } @@ -117,8 +138,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -131,8 +155,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link MailboxSettingsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public MailboxSettingsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new MailboxSettingsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/taskprocessingresults/item/subject/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/taskprocessingresults/item/subject/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java index 3755d4cbf62..e299ae4e041 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/taskprocessingresults/item/subject/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/taskprocessingresults/item/subject/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java @@ -24,7 +24,10 @@ public class ServiceProvisioningErrorsRequestBuilder extends BaseRequestBuilder /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -49,8 +52,11 @@ public ServiceProvisioningErrorsRequestBuilder(@jakarta.annotation.Nonnull final * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. * @return a {@link ServiceProvisioningErrorCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ServiceProvisioningErrorCollectionResponse get() { return get(null); } @@ -59,8 +65,11 @@ public ServiceProvisioningErrorCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ServiceProvisioningErrorCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ServiceProvisioningErrorCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -70,8 +79,11 @@ public ServiceProvisioningErrorCollectionResponse get(@jakarta.annotation.Nullab /** * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -79,8 +91,11 @@ public RequestInformation toGetRequestInformation() { * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -91,8 +106,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ServiceProvisioningErrorsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ServiceProvisioningErrorsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ServiceProvisioningErrorsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/taskprocessingresults/item/subject/serviceprovisioningerrors/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/taskprocessingresults/item/subject/serviceprovisioningerrors/count/CountRequestBuilder.java index de71ff768a6..b6a84d15556 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/taskprocessingresults/item/subject/serviceprovisioningerrors/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/taskprocessingresults/item/subject/serviceprovisioningerrors/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/taskprocessingresults/item/task/TaskRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/taskprocessingresults/item/task/TaskRequestBuilder.java index 4a8367ba774..9520b25f207 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/taskprocessingresults/item/task/TaskRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/taskprocessingresults/item/task/TaskRequestBuilder.java @@ -40,8 +40,11 @@ public TaskRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jaka * The related workflow task * @return a {@link Task} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Task get() { return get(null); } @@ -50,8 +53,11 @@ public Task get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Task} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Task get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public Task get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link TaskRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public TaskRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new TaskRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/userprocessingresults/UserProcessingResultsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/userprocessingresults/UserProcessingResultsRequestBuilder.java index 77defad5fc2..651b639ca01 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/userprocessingresults/UserProcessingResultsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/userprocessingresults/UserProcessingResultsRequestBuilder.java @@ -27,7 +27,10 @@ public class UserProcessingResultsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -36,8 +39,11 @@ public CountRequestBuilder count() { * Provides operations to manage the userProcessingResults property of the microsoft.graph.identityGovernance.run entity. * @param userProcessingResultId The unique identifier of userProcessingResult * @return a {@link UserProcessingResultItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public UserProcessingResultItemRequestBuilder byUserProcessingResultId(@jakarta.annotation.Nonnull final String userProcessingResultId) { Objects.requireNonNull(userProcessingResultId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -64,9 +70,12 @@ public UserProcessingResultsRequestBuilder(@jakarta.annotation.Nonnull final Str * Get user processing results of a workflow run object. * @return a {@link UserProcessingResultCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public UserProcessingResultCollectionResponse get() { return get(null); } @@ -75,9 +84,12 @@ public UserProcessingResultCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link UserProcessingResultCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public UserProcessingResultCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -89,8 +101,11 @@ public UserProcessingResultCollectionResponse get(@jakarta.annotation.Nullable f * @param endDateTime Usage: endDateTime={endDateTime} * @param startDateTime Usage: startDateTime={startDateTime} * @return a {@link MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime(@jakarta.annotation.Nonnull final OffsetDateTime endDateTime, @jakarta.annotation.Nonnull final OffsetDateTime startDateTime) { Objects.requireNonNull(endDateTime); Objects.requireNonNull(startDateTime); @@ -99,8 +114,11 @@ public MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRe /** * Get user processing results of a workflow run object. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -108,8 +126,11 @@ public RequestInformation toGetRequestInformation() { * Get user processing results of a workflow run object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -120,8 +141,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link UserProcessingResultsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public UserProcessingResultsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new UserProcessingResultsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/userprocessingresults/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/userprocessingresults/count/CountRequestBuilder.java index 465c06434ca..a1dda524766 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/userprocessingresults/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/userprocessingresults/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/userprocessingresults/item/UserProcessingResultItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/userprocessingresults/item/UserProcessingResultItemRequestBuilder.java index 8750fe1bdae..076530dc553 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/userprocessingresults/item/UserProcessingResultItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/userprocessingresults/item/UserProcessingResultItemRequestBuilder.java @@ -26,7 +26,10 @@ public class UserProcessingResultItemRequestBuilder extends BaseRequestBuilder { /** * Provides operations to manage the reprocessedRuns property of the microsoft.graph.identityGovernance.userProcessingResult entity. * @return a {@link ReprocessedRunsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ReprocessedRunsRequestBuilder reprocessedRuns() { return new ReprocessedRunsRequestBuilder(pathParameters, requestAdapter); @@ -34,7 +37,10 @@ public ReprocessedRunsRequestBuilder reprocessedRuns() { /** * Provides operations to manage the subject property of the microsoft.graph.identityGovernance.userProcessingResult entity. * @return a {@link SubjectRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public SubjectRequestBuilder subject() { return new SubjectRequestBuilder(pathParameters, requestAdapter); @@ -42,7 +48,10 @@ public SubjectRequestBuilder subject() { /** * Provides operations to manage the taskProcessingResults property of the microsoft.graph.identityGovernance.userProcessingResult entity. * @return a {@link TaskProcessingResultsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public TaskProcessingResultsRequestBuilder taskProcessingResults() { return new TaskProcessingResultsRequestBuilder(pathParameters, requestAdapter); @@ -67,9 +76,12 @@ public UserProcessingResultItemRequestBuilder(@jakarta.annotation.Nonnull final * Get a userProcessingResult for a run. * @return a {@link UserProcessingResult} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public UserProcessingResult get() { return get(null); } @@ -78,9 +90,12 @@ public UserProcessingResult get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link UserProcessingResult} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public UserProcessingResult get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -90,8 +105,11 @@ public UserProcessingResult get(@jakarta.annotation.Nullable final java.util.fun /** * Get a userProcessingResult for a run. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -99,8 +117,11 @@ public RequestInformation toGetRequestInformation() { * Get a userProcessingResult for a run. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -111,8 +132,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link UserProcessingResultItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public UserProcessingResultItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new UserProcessingResultItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/userprocessingresults/item/reprocessedruns/ReprocessedRunsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/userprocessingresults/item/reprocessedruns/ReprocessedRunsRequestBuilder.java index 8b2ea567e9d..51741bbf317 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/userprocessingresults/item/reprocessedruns/ReprocessedRunsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/userprocessingresults/item/reprocessedruns/ReprocessedRunsRequestBuilder.java @@ -25,7 +25,10 @@ public class ReprocessedRunsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -34,8 +37,11 @@ public CountRequestBuilder count() { * Provides operations to manage the reprocessedRuns property of the microsoft.graph.identityGovernance.userProcessingResult entity. * @param runId1 The unique identifier of run * @return a {@link RunItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RunItemRequestBuilder byRunId1(@jakarta.annotation.Nonnull final String runId1) { Objects.requireNonNull(runId1); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -62,8 +68,11 @@ public ReprocessedRunsRequestBuilder(@jakarta.annotation.Nonnull final String ra * The related reprocessed workflow run. * @return a {@link RunCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public RunCollectionResponse get() { return get(null); } @@ -72,8 +81,11 @@ public RunCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RunCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public RunCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -83,8 +95,11 @@ public RunCollectionResponse get(@jakarta.annotation.Nullable final java.util.fu /** * The related reprocessed workflow run. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -92,8 +107,11 @@ public RequestInformation toGetRequestInformation() { * The related reprocessed workflow run. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -104,8 +122,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ReprocessedRunsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ReprocessedRunsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ReprocessedRunsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/userprocessingresults/item/reprocessedruns/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/userprocessingresults/item/reprocessedruns/count/CountRequestBuilder.java index 7ff859463f6..391aba79605 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/userprocessingresults/item/reprocessedruns/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/userprocessingresults/item/reprocessedruns/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/userprocessingresults/item/reprocessedruns/item/RunItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/userprocessingresults/item/reprocessedruns/item/RunItemRequestBuilder.java index a0bf1fa9904..1031c5ca03b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/userprocessingresults/item/reprocessedruns/item/RunItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/userprocessingresults/item/reprocessedruns/item/RunItemRequestBuilder.java @@ -40,8 +40,11 @@ public RunItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j * The related reprocessed workflow run. * @return a {@link Run} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Run get() { return get(null); } @@ -50,8 +53,11 @@ public Run get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Run} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Run get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public Run get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RunItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RunItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RunItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/userprocessingresults/item/subject/SubjectRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/userprocessingresults/item/subject/SubjectRequestBuilder.java index 8bb457dd955..bb2c69a956f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/userprocessingresults/item/subject/SubjectRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/userprocessingresults/item/subject/SubjectRequestBuilder.java @@ -25,7 +25,10 @@ public class SubjectRequestBuilder extends BaseRequestBuilder { /** * The mailboxSettings property * @return a {@link MailboxSettingsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public MailboxSettingsRequestBuilder mailboxSettings() { return new MailboxSettingsRequestBuilder(pathParameters, requestAdapter); @@ -33,7 +36,10 @@ public MailboxSettingsRequestBuilder mailboxSettings() { /** * The serviceProvisioningErrors property * @return a {@link ServiceProvisioningErrorsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ServiceProvisioningErrorsRequestBuilder serviceProvisioningErrors() { return new ServiceProvisioningErrorsRequestBuilder(pathParameters, requestAdapter); @@ -58,8 +64,11 @@ public SubjectRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j * The unique identifier of the user targeted for the taskProcessingResult.Supports $filter(eq, ne) and $expand. * @return a {@link User} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public User get() { return get(null); } @@ -68,8 +77,11 @@ public User get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link User} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public User get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -79,8 +91,11 @@ public User get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -100,8 +118,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link SubjectRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public SubjectRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new SubjectRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/userprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/userprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java index a44880646f8..893c7f8ef8c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/userprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/userprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java @@ -40,8 +40,11 @@ public MailboxSettingsRequestBuilder(@jakarta.annotation.Nonnull final String ra * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Requires $select to retrieve. * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings get() { return get(null); } @@ -50,8 +53,11 @@ public MailboxSettings get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -63,8 +69,11 @@ public MailboxSettings get(@jakarta.annotation.Nullable final java.util.function * @param body The request body * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings body) { return patch(body, null); } @@ -74,8 +83,11 @@ public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings b * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -86,8 +98,11 @@ public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings b /** * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Requires $select to retrieve. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -95,8 +110,11 @@ public RequestInformation toGetRequestInformation() { * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Requires $select to retrieve. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -107,8 +125,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update property mailboxSettings value. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxSettings body) { return toPatchRequestInformation(body, null); } @@ -117,8 +138,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -131,8 +155,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link MailboxSettingsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public MailboxSettingsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new MailboxSettingsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/userprocessingresults/item/subject/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/userprocessingresults/item/subject/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java index 4a6125f009f..68a69321674 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/userprocessingresults/item/subject/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/userprocessingresults/item/subject/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java @@ -24,7 +24,10 @@ public class ServiceProvisioningErrorsRequestBuilder extends BaseRequestBuilder /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -49,8 +52,11 @@ public ServiceProvisioningErrorsRequestBuilder(@jakarta.annotation.Nonnull final * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. * @return a {@link ServiceProvisioningErrorCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ServiceProvisioningErrorCollectionResponse get() { return get(null); } @@ -59,8 +65,11 @@ public ServiceProvisioningErrorCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ServiceProvisioningErrorCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ServiceProvisioningErrorCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -70,8 +79,11 @@ public ServiceProvisioningErrorCollectionResponse get(@jakarta.annotation.Nullab /** * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -79,8 +91,11 @@ public RequestInformation toGetRequestInformation() { * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -91,8 +106,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ServiceProvisioningErrorsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ServiceProvisioningErrorsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ServiceProvisioningErrorsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/userprocessingresults/item/subject/serviceprovisioningerrors/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/userprocessingresults/item/subject/serviceprovisioningerrors/count/CountRequestBuilder.java index b27b594040d..f96789b8668 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/userprocessingresults/item/subject/serviceprovisioningerrors/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/userprocessingresults/item/subject/serviceprovisioningerrors/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/userprocessingresults/item/taskprocessingresults/TaskProcessingResultsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/userprocessingresults/item/taskprocessingresults/TaskProcessingResultsRequestBuilder.java index b5391306dca..9dcf614ddda 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/userprocessingresults/item/taskprocessingresults/TaskProcessingResultsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/userprocessingresults/item/taskprocessingresults/TaskProcessingResultsRequestBuilder.java @@ -25,7 +25,10 @@ public class TaskProcessingResultsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -34,8 +37,11 @@ public CountRequestBuilder count() { * Provides operations to manage the taskProcessingResults property of the microsoft.graph.identityGovernance.userProcessingResult entity. * @param taskProcessingResultId The unique identifier of taskProcessingResult * @return a {@link TaskProcessingResultItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public TaskProcessingResultItemRequestBuilder byTaskProcessingResultId(@jakarta.annotation.Nonnull final String taskProcessingResultId) { Objects.requireNonNull(taskProcessingResultId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -62,9 +68,12 @@ public TaskProcessingResultsRequestBuilder(@jakarta.annotation.Nonnull final Str * Get the task processing result from a userProcessingResult either directly or through a run. * @return a {@link TaskProcessingResultCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public TaskProcessingResultCollectionResponse get() { return get(null); } @@ -73,9 +82,12 @@ public TaskProcessingResultCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link TaskProcessingResultCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public TaskProcessingResultCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -85,8 +97,11 @@ public TaskProcessingResultCollectionResponse get(@jakarta.annotation.Nullable f /** * Get the task processing result from a userProcessingResult either directly or through a run. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -94,8 +109,11 @@ public RequestInformation toGetRequestInformation() { * Get the task processing result from a userProcessingResult either directly or through a run. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -106,8 +124,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link TaskProcessingResultsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public TaskProcessingResultsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new TaskProcessingResultsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/userprocessingresults/item/taskprocessingresults/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/userprocessingresults/item/taskprocessingresults/count/CountRequestBuilder.java index 504987c8e75..c74dacbff6b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/userprocessingresults/item/taskprocessingresults/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/userprocessingresults/item/taskprocessingresults/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/userprocessingresults/item/taskprocessingresults/item/TaskProcessingResultItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/userprocessingresults/item/taskprocessingresults/item/TaskProcessingResultItemRequestBuilder.java index d5f7edecd06..f6b4b484c24 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/userprocessingresults/item/taskprocessingresults/item/TaskProcessingResultItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/userprocessingresults/item/taskprocessingresults/item/TaskProcessingResultItemRequestBuilder.java @@ -26,7 +26,10 @@ public class TaskProcessingResultItemRequestBuilder extends BaseRequestBuilder { /** * Provides operations to call the resume method. * @return a {@link MicrosoftGraphIdentityGovernanceResumeRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public MicrosoftGraphIdentityGovernanceResumeRequestBuilder microsoftGraphIdentityGovernanceResume() { return new MicrosoftGraphIdentityGovernanceResumeRequestBuilder(pathParameters, requestAdapter); @@ -34,7 +37,10 @@ public MicrosoftGraphIdentityGovernanceResumeRequestBuilder microsoftGraphIdenti /** * Provides operations to manage the subject property of the microsoft.graph.identityGovernance.taskProcessingResult entity. * @return a {@link SubjectRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public SubjectRequestBuilder subject() { return new SubjectRequestBuilder(pathParameters, requestAdapter); @@ -42,7 +48,10 @@ public SubjectRequestBuilder subject() { /** * Provides operations to manage the task property of the microsoft.graph.identityGovernance.taskProcessingResult entity. * @return a {@link TaskRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public TaskRequestBuilder task() { return new TaskRequestBuilder(pathParameters, requestAdapter); @@ -67,8 +76,11 @@ public TaskProcessingResultItemRequestBuilder(@jakarta.annotation.Nonnull final * The associated individual task execution. * @return a {@link TaskProcessingResult} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public TaskProcessingResult get() { return get(null); } @@ -77,8 +89,11 @@ public TaskProcessingResult get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link TaskProcessingResult} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public TaskProcessingResult get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -88,8 +103,11 @@ public TaskProcessingResult get(@jakarta.annotation.Nullable final java.util.fun /** * The associated individual task execution. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -97,8 +115,11 @@ public RequestInformation toGetRequestInformation() { * The associated individual task execution. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -109,8 +130,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link TaskProcessingResultItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public TaskProcessingResultItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new TaskProcessingResultItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/userprocessingresults/item/taskprocessingresults/item/microsoftgraphidentitygovernanceresume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/userprocessingresults/item/taskprocessingresults/item/microsoftgraphidentitygovernanceresume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.java index 6b59e7e0ff7..72327b3f960 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/userprocessingresults/item/taskprocessingresults/item/microsoftgraphidentitygovernanceresume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/userprocessingresults/item/taskprocessingresults/item/microsoftgraphidentitygovernanceresume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.java @@ -38,8 +38,11 @@ public MicrosoftGraphIdentityGovernanceResumeRequestBuilder(@jakarta.annotation. * Resume a taskProcessingResult that's inProgress. In the default case, an Azure Logic Apps system-assigned managed identity calls this API. For more information, see Lifecycle Workflows extensibility approach. * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final ResumePostRequestBody body) { post(body, null); } @@ -48,8 +51,11 @@ public void post(@jakarta.annotation.Nonnull final ResumePostRequestBody body) { * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final ResumePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -61,8 +67,11 @@ public void post(@jakarta.annotation.Nonnull final ResumePostRequestBody body, @ * Resume a taskProcessingResult that's inProgress. In the default case, an Azure Logic Apps system-assigned managed identity calls this API. For more information, see Lifecycle Workflows extensibility approach. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ResumePostRequestBody body) { return toPostRequestInformation(body, null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ResumePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -85,8 +97,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link MicrosoftGraphIdentityGovernanceResumeRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public MicrosoftGraphIdentityGovernanceResumeRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new MicrosoftGraphIdentityGovernanceResumeRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/userprocessingresults/item/taskprocessingresults/item/subject/SubjectRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/userprocessingresults/item/taskprocessingresults/item/subject/SubjectRequestBuilder.java index 384b0c9de9c..215e0be9442 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/userprocessingresults/item/taskprocessingresults/item/subject/SubjectRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/userprocessingresults/item/taskprocessingresults/item/subject/SubjectRequestBuilder.java @@ -25,7 +25,10 @@ public class SubjectRequestBuilder extends BaseRequestBuilder { /** * The mailboxSettings property * @return a {@link MailboxSettingsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public MailboxSettingsRequestBuilder mailboxSettings() { return new MailboxSettingsRequestBuilder(pathParameters, requestAdapter); @@ -33,7 +36,10 @@ public MailboxSettingsRequestBuilder mailboxSettings() { /** * The serviceProvisioningErrors property * @return a {@link ServiceProvisioningErrorsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ServiceProvisioningErrorsRequestBuilder serviceProvisioningErrors() { return new ServiceProvisioningErrorsRequestBuilder(pathParameters, requestAdapter); @@ -58,8 +64,11 @@ public SubjectRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j * The unique identifier of the Microsoft Entra user targeted for the task execution.Supports $filter(eq, ne) and $expand. * @return a {@link User} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public User get() { return get(null); } @@ -68,8 +77,11 @@ public User get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link User} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public User get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -79,8 +91,11 @@ public User get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -100,8 +118,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link SubjectRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public SubjectRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new SubjectRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/userprocessingresults/item/taskprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/userprocessingresults/item/taskprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java index 275751bd34d..7d216c079d3 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/userprocessingresults/item/taskprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/userprocessingresults/item/taskprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java @@ -40,8 +40,11 @@ public MailboxSettingsRequestBuilder(@jakarta.annotation.Nonnull final String ra * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Requires $select to retrieve. * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings get() { return get(null); } @@ -50,8 +53,11 @@ public MailboxSettings get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -63,8 +69,11 @@ public MailboxSettings get(@jakarta.annotation.Nullable final java.util.function * @param body The request body * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings body) { return patch(body, null); } @@ -74,8 +83,11 @@ public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings b * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -86,8 +98,11 @@ public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings b /** * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Requires $select to retrieve. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -95,8 +110,11 @@ public RequestInformation toGetRequestInformation() { * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Requires $select to retrieve. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -107,8 +125,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update property mailboxSettings value. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxSettings body) { return toPatchRequestInformation(body, null); } @@ -117,8 +138,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -131,8 +155,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link MailboxSettingsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public MailboxSettingsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new MailboxSettingsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/userprocessingresults/item/taskprocessingresults/item/subject/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/userprocessingresults/item/taskprocessingresults/item/subject/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java index c63ca7a8895..63e15beab93 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/userprocessingresults/item/taskprocessingresults/item/subject/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/userprocessingresults/item/taskprocessingresults/item/subject/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java @@ -24,7 +24,10 @@ public class ServiceProvisioningErrorsRequestBuilder extends BaseRequestBuilder /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -49,8 +52,11 @@ public ServiceProvisioningErrorsRequestBuilder(@jakarta.annotation.Nonnull final * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. * @return a {@link ServiceProvisioningErrorCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ServiceProvisioningErrorCollectionResponse get() { return get(null); } @@ -59,8 +65,11 @@ public ServiceProvisioningErrorCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ServiceProvisioningErrorCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ServiceProvisioningErrorCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -70,8 +79,11 @@ public ServiceProvisioningErrorCollectionResponse get(@jakarta.annotation.Nullab /** * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -79,8 +91,11 @@ public RequestInformation toGetRequestInformation() { * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -91,8 +106,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ServiceProvisioningErrorsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ServiceProvisioningErrorsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ServiceProvisioningErrorsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/userprocessingresults/item/taskprocessingresults/item/subject/serviceprovisioningerrors/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/userprocessingresults/item/taskprocessingresults/item/subject/serviceprovisioningerrors/count/CountRequestBuilder.java index 725c8ef5ad2..356c5dc24ea 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/userprocessingresults/item/taskprocessingresults/item/subject/serviceprovisioningerrors/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/userprocessingresults/item/taskprocessingresults/item/subject/serviceprovisioningerrors/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/userprocessingresults/item/taskprocessingresults/item/task/TaskRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/userprocessingresults/item/taskprocessingresults/item/task/TaskRequestBuilder.java index c33a24129a3..1b9d68ca149 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/userprocessingresults/item/taskprocessingresults/item/task/TaskRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/userprocessingresults/item/taskprocessingresults/item/task/TaskRequestBuilder.java @@ -40,8 +40,11 @@ public TaskRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jaka * The related workflow task * @return a {@link Task} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Task get() { return get(null); } @@ -50,8 +53,11 @@ public Task get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Task} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Task get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public Task get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link TaskRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public TaskRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new TaskRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/userprocessingresults/microsoftgraphidentitygovernancesummarywithstartdatetimewithenddatetime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/userprocessingresults/microsoftgraphidentitygovernancesummarywithstartdatetimewithenddatetime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.java index 6c33d89c0f7..90c962bff29 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/userprocessingresults/microsoftgraphidentitygovernancesummarywithstartdatetimewithenddatetime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/userprocessingresults/microsoftgraphidentitygovernancesummarywithstartdatetimewithenddatetime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.java @@ -44,8 +44,11 @@ public MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRe * Invoke function summary * @return a {@link UserSummary} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public UserSummary get() { return get(null); } @@ -54,8 +57,11 @@ public UserSummary get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link UserSummary} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public UserSummary get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -65,8 +71,11 @@ public UserSummary get(@jakarta.annotation.Nullable final java.util.function.Con /** * Invoke function summary * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -74,8 +83,11 @@ public RequestInformation toGetRequestInformation() { * Invoke function summary * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new); @@ -86,8 +98,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/microsoftgraphidentitygovernancesummarywithstartdatetimewithenddatetime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/microsoftgraphidentitygovernancesummarywithstartdatetimewithenddatetime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.java index 8df10e5a11a..6ef34cbabe8 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/microsoftgraphidentitygovernancesummarywithstartdatetimewithenddatetime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/microsoftgraphidentitygovernancesummarywithstartdatetimewithenddatetime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.java @@ -44,8 +44,11 @@ public MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRe * Get a runSummary for run objects over a specified time period. Because the number of runs returned by the list API call can be overwhelming, this summary allows administrators to get a quick overview based on counts. * @return a {@link RunSummary} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public RunSummary get() { return get(null); } @@ -54,8 +57,11 @@ public RunSummary get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RunSummary} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public RunSummary get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -65,8 +71,11 @@ public RunSummary get(@jakarta.annotation.Nullable final java.util.function.Cons /** * Get a runSummary for run objects over a specified time period. Because the number of runs returned by the list API call can be overwhelming, this summary allows administrators to get a quick overview based on counts. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -74,8 +83,11 @@ public RequestInformation toGetRequestInformation() { * Get a runSummary for run objects over a specified time period. Because the number of runs returned by the list API call can be overwhelming, this summary allows administrators to get a quick overview based on counts. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new); @@ -86,8 +98,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/subjectprocessingresults/SubjectProcessingResultsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/subjectprocessingresults/SubjectProcessingResultsRequestBuilder.java index e6524968615..0c1f4a506ea 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/subjectprocessingresults/SubjectProcessingResultsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/subjectprocessingresults/SubjectProcessingResultsRequestBuilder.java @@ -2,6 +2,7 @@ import com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.workflows.item.subjectprocessingresults.count.CountRequestBuilder; import com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.workflows.item.subjectprocessingresults.item.SubjectProcessingResultItemRequestBuilder; +import com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.workflows.item.subjectprocessingresults.microsoftgraphidentitygovernancesummarywithstartdatetimewithenddatetime.MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder; import com.microsoft.graph.beta.models.identitygovernance.SubjectProcessingResultCollectionResponse; import com.microsoft.graph.beta.models.odataerrors.ODataError; import com.microsoft.kiota.BaseRequestBuilder; @@ -13,6 +14,7 @@ import com.microsoft.kiota.RequestOption; import com.microsoft.kiota.serialization.Parsable; import com.microsoft.kiota.serialization.ParsableFactory; +import java.time.OffsetDateTime; import java.util.Collection; import java.util.HashMap; import java.util.Map; @@ -25,7 +27,10 @@ public class SubjectProcessingResultsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -34,8 +39,11 @@ public CountRequestBuilder count() { * Provides operations to manage the subjectProcessingResults property of the microsoft.graph.identityGovernance.workflow entity. * @param subjectProcessingResultId The unique identifier of subjectProcessingResult * @return a {@link SubjectProcessingResultItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public SubjectProcessingResultItemRequestBuilder bySubjectProcessingResultId(@jakarta.annotation.Nonnull final String subjectProcessingResultId) { Objects.requireNonNull(subjectProcessingResultId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -62,8 +70,11 @@ public SubjectProcessingResultsRequestBuilder(@jakarta.annotation.Nonnull final * Get subjectProcessingResults from identityGovernance * @return a {@link SubjectProcessingResultCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public SubjectProcessingResultCollectionResponse get() { return get(null); } @@ -72,19 +83,40 @@ public SubjectProcessingResultCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SubjectProcessingResultCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public SubjectProcessingResultCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); return this.requestAdapter.send(requestInfo, errorMapping, SubjectProcessingResultCollectionResponse::createFromDiscriminatorValue); } + /** + * Provides operations to call the summary method. + * @param endDateTime Usage: endDateTime={endDateTime} + * @param startDateTime Usage: startDateTime={startDateTime} + * @return a {@link MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime(@jakarta.annotation.Nonnull final OffsetDateTime endDateTime, @jakarta.annotation.Nonnull final OffsetDateTime startDateTime) { + Objects.requireNonNull(endDateTime); + Objects.requireNonNull(startDateTime); + return new MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder(pathParameters, requestAdapter, endDateTime, startDateTime); + } /** * Get subjectProcessingResults from identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -92,8 +124,11 @@ public RequestInformation toGetRequestInformation() { * Get subjectProcessingResults from identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -104,8 +139,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link SubjectProcessingResultsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public SubjectProcessingResultsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new SubjectProcessingResultsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/subjectprocessingresults/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/subjectprocessingresults/count/CountRequestBuilder.java index 897a843308c..393292a3781 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/subjectprocessingresults/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/subjectprocessingresults/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/subjectprocessingresults/item/SubjectProcessingResultItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/subjectprocessingresults/item/SubjectProcessingResultItemRequestBuilder.java index 41362fcf655..a7675769992 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/subjectprocessingresults/item/SubjectProcessingResultItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/subjectprocessingresults/item/SubjectProcessingResultItemRequestBuilder.java @@ -25,7 +25,10 @@ public class SubjectProcessingResultItemRequestBuilder extends BaseRequestBuilde /** * Provides operations to manage the reprocessedRuns property of the microsoft.graph.identityGovernance.subjectProcessingResult entity. * @return a {@link ReprocessedRunsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ReprocessedRunsRequestBuilder reprocessedRuns() { return new ReprocessedRunsRequestBuilder(pathParameters, requestAdapter); @@ -33,7 +36,10 @@ public ReprocessedRunsRequestBuilder reprocessedRuns() { /** * Provides operations to manage the taskProcessingResults property of the microsoft.graph.identityGovernance.subjectProcessingResult entity. * @return a {@link TaskProcessingResultsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public TaskProcessingResultsRequestBuilder taskProcessingResults() { return new TaskProcessingResultsRequestBuilder(pathParameters, requestAdapter); @@ -58,8 +64,11 @@ public SubjectProcessingResultItemRequestBuilder(@jakarta.annotation.Nonnull fin * Get subjectProcessingResults from identityGovernance * @return a {@link SubjectProcessingResult} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public SubjectProcessingResult get() { return get(null); } @@ -68,8 +77,11 @@ public SubjectProcessingResult get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SubjectProcessingResult} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public SubjectProcessingResult get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -79,8 +91,11 @@ public SubjectProcessingResult get(@jakarta.annotation.Nullable final java.util. /** * Get subjectProcessingResults from identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -88,8 +103,11 @@ public RequestInformation toGetRequestInformation() { * Get subjectProcessingResults from identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -100,8 +118,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link SubjectProcessingResultItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public SubjectProcessingResultItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new SubjectProcessingResultItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/subjectprocessingresults/item/reprocessedruns/ReprocessedRunsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/subjectprocessingresults/item/reprocessedruns/ReprocessedRunsRequestBuilder.java index edd745b47f4..59356751f66 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/subjectprocessingresults/item/reprocessedruns/ReprocessedRunsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/subjectprocessingresults/item/reprocessedruns/ReprocessedRunsRequestBuilder.java @@ -25,7 +25,10 @@ public class ReprocessedRunsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -34,8 +37,11 @@ public CountRequestBuilder count() { * Provides operations to manage the reprocessedRuns property of the microsoft.graph.identityGovernance.subjectProcessingResult entity. * @param runId The unique identifier of run * @return a {@link RunItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RunItemRequestBuilder byRunId(@jakarta.annotation.Nonnull final String runId) { Objects.requireNonNull(runId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -62,8 +68,11 @@ public ReprocessedRunsRequestBuilder(@jakarta.annotation.Nonnull final String ra * The reprocessed runs associated with this subject processing result. * @return a {@link RunCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public RunCollectionResponse get() { return get(null); } @@ -72,8 +81,11 @@ public RunCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RunCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public RunCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -83,8 +95,11 @@ public RunCollectionResponse get(@jakarta.annotation.Nullable final java.util.fu /** * The reprocessed runs associated with this subject processing result. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -92,8 +107,11 @@ public RequestInformation toGetRequestInformation() { * The reprocessed runs associated with this subject processing result. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -104,8 +122,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ReprocessedRunsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ReprocessedRunsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ReprocessedRunsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/subjectprocessingresults/item/reprocessedruns/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/subjectprocessingresults/item/reprocessedruns/count/CountRequestBuilder.java index b80d2eaf95b..ce7233bfa1a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/subjectprocessingresults/item/reprocessedruns/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/subjectprocessingresults/item/reprocessedruns/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/subjectprocessingresults/item/reprocessedruns/item/RunItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/subjectprocessingresults/item/reprocessedruns/item/RunItemRequestBuilder.java index fd4716ffa3a..a530d9b400b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/subjectprocessingresults/item/reprocessedruns/item/RunItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/subjectprocessingresults/item/reprocessedruns/item/RunItemRequestBuilder.java @@ -40,8 +40,11 @@ public RunItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j * The reprocessed runs associated with this subject processing result. * @return a {@link Run} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Run get() { return get(null); } @@ -50,8 +53,11 @@ public Run get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Run} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Run get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public Run get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RunItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RunItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RunItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/subjectprocessingresults/item/taskprocessingresults/TaskProcessingResultsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/subjectprocessingresults/item/taskprocessingresults/TaskProcessingResultsRequestBuilder.java index dc6baec5dcf..9c479b44499 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/subjectprocessingresults/item/taskprocessingresults/TaskProcessingResultsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/subjectprocessingresults/item/taskprocessingresults/TaskProcessingResultsRequestBuilder.java @@ -25,7 +25,10 @@ public class TaskProcessingResultsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -34,8 +37,11 @@ public CountRequestBuilder count() { * Provides operations to manage the taskProcessingResults property of the microsoft.graph.identityGovernance.subjectProcessingResult entity. * @param taskProcessingResultId The unique identifier of taskProcessingResult * @return a {@link TaskProcessingResultItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public TaskProcessingResultItemRequestBuilder byTaskProcessingResultId(@jakarta.annotation.Nonnull final String taskProcessingResultId) { Objects.requireNonNull(taskProcessingResultId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -62,8 +68,11 @@ public TaskProcessingResultsRequestBuilder(@jakarta.annotation.Nonnull final Str * The task-level processing results for this subject. Read-only. * @return a {@link TaskProcessingResultCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public TaskProcessingResultCollectionResponse get() { return get(null); } @@ -72,8 +81,11 @@ public TaskProcessingResultCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link TaskProcessingResultCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public TaskProcessingResultCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -83,8 +95,11 @@ public TaskProcessingResultCollectionResponse get(@jakarta.annotation.Nullable f /** * The task-level processing results for this subject. Read-only. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -92,8 +107,11 @@ public RequestInformation toGetRequestInformation() { * The task-level processing results for this subject. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -104,8 +122,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link TaskProcessingResultsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public TaskProcessingResultsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new TaskProcessingResultsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/subjectprocessingresults/item/taskprocessingresults/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/subjectprocessingresults/item/taskprocessingresults/count/CountRequestBuilder.java index 717d9af5713..bc704054872 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/subjectprocessingresults/item/taskprocessingresults/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/subjectprocessingresults/item/taskprocessingresults/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/subjectprocessingresults/item/taskprocessingresults/item/TaskProcessingResultItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/subjectprocessingresults/item/taskprocessingresults/item/TaskProcessingResultItemRequestBuilder.java index 3e1f6ec5d7c..a87ef9b0e5a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/subjectprocessingresults/item/taskprocessingresults/item/TaskProcessingResultItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/subjectprocessingresults/item/taskprocessingresults/item/TaskProcessingResultItemRequestBuilder.java @@ -26,7 +26,10 @@ public class TaskProcessingResultItemRequestBuilder extends BaseRequestBuilder { /** * Provides operations to call the resume method. * @return a {@link MicrosoftGraphIdentityGovernanceResumeRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public MicrosoftGraphIdentityGovernanceResumeRequestBuilder microsoftGraphIdentityGovernanceResume() { return new MicrosoftGraphIdentityGovernanceResumeRequestBuilder(pathParameters, requestAdapter); @@ -34,7 +37,10 @@ public MicrosoftGraphIdentityGovernanceResumeRequestBuilder microsoftGraphIdenti /** * Provides operations to manage the subject property of the microsoft.graph.identityGovernance.taskProcessingResult entity. * @return a {@link SubjectRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public SubjectRequestBuilder subject() { return new SubjectRequestBuilder(pathParameters, requestAdapter); @@ -42,7 +48,10 @@ public SubjectRequestBuilder subject() { /** * Provides operations to manage the task property of the microsoft.graph.identityGovernance.taskProcessingResult entity. * @return a {@link TaskRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public TaskRequestBuilder task() { return new TaskRequestBuilder(pathParameters, requestAdapter); @@ -67,8 +76,11 @@ public TaskProcessingResultItemRequestBuilder(@jakarta.annotation.Nonnull final * The task-level processing results for this subject. Read-only. * @return a {@link TaskProcessingResult} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public TaskProcessingResult get() { return get(null); } @@ -77,8 +89,11 @@ public TaskProcessingResult get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link TaskProcessingResult} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public TaskProcessingResult get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -88,8 +103,11 @@ public TaskProcessingResult get(@jakarta.annotation.Nullable final java.util.fun /** * The task-level processing results for this subject. Read-only. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -97,8 +115,11 @@ public RequestInformation toGetRequestInformation() { * The task-level processing results for this subject. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -109,8 +130,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link TaskProcessingResultItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public TaskProcessingResultItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new TaskProcessingResultItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/subjectprocessingresults/item/taskprocessingresults/item/microsoftgraphidentitygovernanceresume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/subjectprocessingresults/item/taskprocessingresults/item/microsoftgraphidentitygovernanceresume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.java index 0296855cb6c..0ec1eeb8c4b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/subjectprocessingresults/item/taskprocessingresults/item/microsoftgraphidentitygovernanceresume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/subjectprocessingresults/item/taskprocessingresults/item/microsoftgraphidentitygovernanceresume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.java @@ -38,8 +38,11 @@ public MicrosoftGraphIdentityGovernanceResumeRequestBuilder(@jakarta.annotation. * Resume a taskProcessingResult that's inProgress. In the default case, an Azure Logic Apps system-assigned managed identity calls this API. For more information, see Lifecycle Workflows extensibility approach. * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final ResumePostRequestBody body) { post(body, null); } @@ -48,8 +51,11 @@ public void post(@jakarta.annotation.Nonnull final ResumePostRequestBody body) { * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final ResumePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -61,8 +67,11 @@ public void post(@jakarta.annotation.Nonnull final ResumePostRequestBody body, @ * Resume a taskProcessingResult that's inProgress. In the default case, an Azure Logic Apps system-assigned managed identity calls this API. For more information, see Lifecycle Workflows extensibility approach. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ResumePostRequestBody body) { return toPostRequestInformation(body, null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ResumePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -85,8 +97,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link MicrosoftGraphIdentityGovernanceResumeRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public MicrosoftGraphIdentityGovernanceResumeRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new MicrosoftGraphIdentityGovernanceResumeRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/subjectprocessingresults/item/taskprocessingresults/item/subject/SubjectRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/subjectprocessingresults/item/taskprocessingresults/item/subject/SubjectRequestBuilder.java index 95436f03017..d1cdae02f8d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/subjectprocessingresults/item/taskprocessingresults/item/subject/SubjectRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/subjectprocessingresults/item/taskprocessingresults/item/subject/SubjectRequestBuilder.java @@ -25,7 +25,10 @@ public class SubjectRequestBuilder extends BaseRequestBuilder { /** * The mailboxSettings property * @return a {@link MailboxSettingsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public MailboxSettingsRequestBuilder mailboxSettings() { return new MailboxSettingsRequestBuilder(pathParameters, requestAdapter); @@ -33,7 +36,10 @@ public MailboxSettingsRequestBuilder mailboxSettings() { /** * The serviceProvisioningErrors property * @return a {@link ServiceProvisioningErrorsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ServiceProvisioningErrorsRequestBuilder serviceProvisioningErrors() { return new ServiceProvisioningErrorsRequestBuilder(pathParameters, requestAdapter); @@ -58,8 +64,11 @@ public SubjectRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j * The unique identifier of the Microsoft Entra user targeted for the task execution.Supports $filter(eq, ne) and $expand. * @return a {@link User} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public User get() { return get(null); } @@ -68,8 +77,11 @@ public User get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link User} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public User get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -79,8 +91,11 @@ public User get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -100,8 +118,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link SubjectRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public SubjectRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new SubjectRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/subjectprocessingresults/item/taskprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/subjectprocessingresults/item/taskprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java index cb4f0c4dc36..f69fe558736 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/subjectprocessingresults/item/taskprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/subjectprocessingresults/item/taskprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java @@ -40,8 +40,11 @@ public MailboxSettingsRequestBuilder(@jakarta.annotation.Nonnull final String ra * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Requires $select to retrieve. * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings get() { return get(null); } @@ -50,8 +53,11 @@ public MailboxSettings get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -63,8 +69,11 @@ public MailboxSettings get(@jakarta.annotation.Nullable final java.util.function * @param body The request body * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings body) { return patch(body, null); } @@ -74,8 +83,11 @@ public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings b * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -86,8 +98,11 @@ public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings b /** * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Requires $select to retrieve. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -95,8 +110,11 @@ public RequestInformation toGetRequestInformation() { * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Requires $select to retrieve. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -107,8 +125,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update property mailboxSettings value. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxSettings body) { return toPatchRequestInformation(body, null); } @@ -117,8 +138,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -131,8 +155,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link MailboxSettingsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public MailboxSettingsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new MailboxSettingsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/subjectprocessingresults/item/taskprocessingresults/item/subject/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/subjectprocessingresults/item/taskprocessingresults/item/subject/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java index c6bb6eb045a..70d92b3a78a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/subjectprocessingresults/item/taskprocessingresults/item/subject/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/subjectprocessingresults/item/taskprocessingresults/item/subject/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java @@ -24,7 +24,10 @@ public class ServiceProvisioningErrorsRequestBuilder extends BaseRequestBuilder /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -49,8 +52,11 @@ public ServiceProvisioningErrorsRequestBuilder(@jakarta.annotation.Nonnull final * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. * @return a {@link ServiceProvisioningErrorCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ServiceProvisioningErrorCollectionResponse get() { return get(null); } @@ -59,8 +65,11 @@ public ServiceProvisioningErrorCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ServiceProvisioningErrorCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ServiceProvisioningErrorCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -70,8 +79,11 @@ public ServiceProvisioningErrorCollectionResponse get(@jakarta.annotation.Nullab /** * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -79,8 +91,11 @@ public RequestInformation toGetRequestInformation() { * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -91,8 +106,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ServiceProvisioningErrorsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ServiceProvisioningErrorsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ServiceProvisioningErrorsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/subjectprocessingresults/item/taskprocessingresults/item/subject/serviceprovisioningerrors/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/subjectprocessingresults/item/taskprocessingresults/item/subject/serviceprovisioningerrors/count/CountRequestBuilder.java index f1a232ccbd2..77ed76ec53c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/subjectprocessingresults/item/taskprocessingresults/item/subject/serviceprovisioningerrors/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/subjectprocessingresults/item/taskprocessingresults/item/subject/serviceprovisioningerrors/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/subjectprocessingresults/item/taskprocessingresults/item/task/TaskRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/subjectprocessingresults/item/taskprocessingresults/item/task/TaskRequestBuilder.java index 609c78760b0..7a473191296 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/subjectprocessingresults/item/taskprocessingresults/item/task/TaskRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/subjectprocessingresults/item/taskprocessingresults/item/task/TaskRequestBuilder.java @@ -40,8 +40,11 @@ public TaskRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jaka * The related workflow task * @return a {@link Task} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Task get() { return get(null); } @@ -50,8 +53,11 @@ public Task get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Task} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Task get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public Task get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link TaskRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public TaskRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new TaskRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/subjectprocessingresults/microsoftgraphidentitygovernancesummarywithstartdatetimewithenddatetime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/subjectprocessingresults/microsoftgraphidentitygovernancesummarywithstartdatetimewithenddatetime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.java new file mode 100644 index 00000000000..54e4c94fbea --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/subjectprocessingresults/microsoftgraphidentitygovernancesummarywithstartdatetimewithenddatetime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.java @@ -0,0 +1,116 @@ +package com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.workflows.item.subjectprocessingresults.microsoftgraphidentitygovernancesummarywithstartdatetimewithenddatetime; + +import com.microsoft.graph.beta.models.identitygovernance.SubjectSummary; +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.time.OffsetDateTime; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to call the summary method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder} and sets the default values. + * @param endDateTime Usage: endDateTime={endDateTime} + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + * @param startDateTime Usage: startDateTime={startDateTime} + */ + public MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter, @jakarta.annotation.Nullable final OffsetDateTime endDateTime, @jakarta.annotation.Nullable final OffsetDateTime startDateTime) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/workflows/{workflow%2Did}/subjectProcessingResults/microsoft.graph.identityGovernance.summary(startDateTime={startDateTime},endDateTime={endDateTime})", pathParameters); + this.pathParameters.put("endDateTime", endDateTime); + this.pathParameters.put("startDateTime", startDateTime); + } + /** + * Instantiates a new {@link MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/workflows/{workflow%2Did}/subjectProcessingResults/microsoft.graph.identityGovernance.summary(startDateTime={startDateTime},endDateTime={endDateTime})", rawUrl); + } + /** + * Invoke function summary + * @return a {@link SubjectSummary} + * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nullable + @Deprecated + public SubjectSummary get() { + return get(null); + } + /** + * Invoke function summary + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link SubjectSummary} + * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nullable + @Deprecated + public SubjectSummary get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, SubjectSummary::createFromDiscriminatorValue); + } + /** + * Invoke function summary + * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Invoke function summary + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new); + 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. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 + */ + @jakarta.annotation.Nonnull + @Deprecated + public MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/taskreports/TaskReportsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/taskreports/TaskReportsRequestBuilder.java index 867c49e0004..fe36f34ebff 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/taskreports/TaskReportsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/taskreports/TaskReportsRequestBuilder.java @@ -27,7 +27,10 @@ public class TaskReportsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -36,8 +39,11 @@ public CountRequestBuilder count() { * Provides operations to manage the taskReports property of the microsoft.graph.identityGovernance.workflow entity. * @param taskReportId The unique identifier of taskReport * @return a {@link TaskReportItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public TaskReportItemRequestBuilder byTaskReportId(@jakarta.annotation.Nonnull final String taskReportId) { Objects.requireNonNull(taskReportId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -64,9 +70,12 @@ public TaskReportsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl * Get a list of the taskReport objects and their properties. * @return a {@link TaskReportCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public TaskReportCollectionResponse get() { return get(null); } @@ -75,9 +84,12 @@ public TaskReportCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link TaskReportCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public TaskReportCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -89,8 +101,11 @@ public TaskReportCollectionResponse get(@jakarta.annotation.Nullable final java. * @param endDateTime Usage: endDateTime={endDateTime} * @param startDateTime Usage: startDateTime={startDateTime} * @return a {@link MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime(@jakarta.annotation.Nonnull final OffsetDateTime endDateTime, @jakarta.annotation.Nonnull final OffsetDateTime startDateTime) { Objects.requireNonNull(endDateTime); Objects.requireNonNull(startDateTime); @@ -99,8 +114,11 @@ public MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRe /** * Get a list of the taskReport objects and their properties. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -108,8 +126,11 @@ public RequestInformation toGetRequestInformation() { * Get a list of the taskReport objects and their properties. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -120,8 +141,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link TaskReportsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public TaskReportsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new TaskReportsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/taskreports/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/taskreports/count/CountRequestBuilder.java index cb8caaf869f..16dc6714678 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/taskreports/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/taskreports/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/taskreports/item/TaskReportItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/taskreports/item/TaskReportItemRequestBuilder.java index 95cfc60f3b8..f8b877c2c17 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/taskreports/item/TaskReportItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/taskreports/item/TaskReportItemRequestBuilder.java @@ -26,7 +26,10 @@ public class TaskReportItemRequestBuilder extends BaseRequestBuilder { /** * Provides operations to manage the task property of the microsoft.graph.identityGovernance.taskReport entity. * @return a {@link TaskRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public TaskRequestBuilder task() { return new TaskRequestBuilder(pathParameters, requestAdapter); @@ -34,7 +37,10 @@ public TaskRequestBuilder task() { /** * Provides operations to manage the taskDefinition property of the microsoft.graph.identityGovernance.taskReport entity. * @return a {@link TaskDefinitionRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public TaskDefinitionRequestBuilder taskDefinition() { return new TaskDefinitionRequestBuilder(pathParameters, requestAdapter); @@ -42,7 +48,10 @@ public TaskDefinitionRequestBuilder taskDefinition() { /** * Provides operations to manage the taskProcessingResults property of the microsoft.graph.identityGovernance.taskReport entity. * @return a {@link TaskProcessingResultsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public TaskProcessingResultsRequestBuilder taskProcessingResults() { return new TaskProcessingResultsRequestBuilder(pathParameters, requestAdapter); @@ -67,8 +76,11 @@ public TaskReportItemRequestBuilder(@jakarta.annotation.Nonnull final String raw * Represents the aggregation of task execution data for tasks within a workflow object. * @return a {@link TaskReport} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public TaskReport get() { return get(null); } @@ -77,8 +89,11 @@ public TaskReport get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link TaskReport} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public TaskReport get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -88,8 +103,11 @@ public TaskReport get(@jakarta.annotation.Nullable final java.util.function.Cons /** * Represents the aggregation of task execution data for tasks within a workflow object. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -97,8 +115,11 @@ public RequestInformation toGetRequestInformation() { * Represents the aggregation of task execution data for tasks within a workflow object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -109,8 +130,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link TaskReportItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public TaskReportItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new TaskReportItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/taskreports/item/task/TaskRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/taskreports/item/task/TaskRequestBuilder.java index ae41150a0a1..da5a78b9d95 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/taskreports/item/task/TaskRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/taskreports/item/task/TaskRequestBuilder.java @@ -40,8 +40,11 @@ public TaskRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jaka * The related lifecycle workflow task.Supports $filter(eq, ne) and $expand. * @return a {@link Task} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Task get() { return get(null); } @@ -50,8 +53,11 @@ public Task get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Task} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Task get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public Task get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link TaskRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public TaskRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new TaskRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/taskreports/item/taskdefinition/TaskDefinitionRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/taskreports/item/taskdefinition/TaskDefinitionRequestBuilder.java index 0ee3d827f5b..8c177799120 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/taskreports/item/taskdefinition/TaskDefinitionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/taskreports/item/taskdefinition/TaskDefinitionRequestBuilder.java @@ -40,8 +40,11 @@ public TaskDefinitionRequestBuilder(@jakarta.annotation.Nonnull final String raw * The taskDefinition associated with the related lifecycle workflow task.Supports $filter(eq, ne) and $expand. * @return a {@link TaskDefinition} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public TaskDefinition get() { return get(null); } @@ -50,8 +53,11 @@ public TaskDefinition get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link TaskDefinition} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public TaskDefinition get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public TaskDefinition get(@jakarta.annotation.Nullable final java.util.function. /** * The taskDefinition associated with the related lifecycle workflow task.Supports $filter(eq, ne) and $expand. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * The taskDefinition associated with the related lifecycle workflow task.Supports $filter(eq, ne) and $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link TaskDefinitionRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public TaskDefinitionRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new TaskDefinitionRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/taskreports/item/taskprocessingresults/TaskProcessingResultsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/taskreports/item/taskprocessingresults/TaskProcessingResultsRequestBuilder.java index dab82c3e7c8..bf01e4cee7b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/taskreports/item/taskprocessingresults/TaskProcessingResultsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/taskreports/item/taskprocessingresults/TaskProcessingResultsRequestBuilder.java @@ -25,7 +25,10 @@ public class TaskProcessingResultsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -34,8 +37,11 @@ public CountRequestBuilder count() { * Provides operations to manage the taskProcessingResults property of the microsoft.graph.identityGovernance.taskReport entity. * @param taskProcessingResultId The unique identifier of taskProcessingResult * @return a {@link TaskProcessingResultItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public TaskProcessingResultItemRequestBuilder byTaskProcessingResultId(@jakarta.annotation.Nonnull final String taskProcessingResultId) { Objects.requireNonNull(taskProcessingResultId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -62,9 +68,12 @@ public TaskProcessingResultsRequestBuilder(@jakarta.annotation.Nonnull final Str * Get the task processing result resources from the taskReport. * @return a {@link TaskProcessingResultCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public TaskProcessingResultCollectionResponse get() { return get(null); } @@ -73,9 +82,12 @@ public TaskProcessingResultCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link TaskProcessingResultCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public TaskProcessingResultCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -85,8 +97,11 @@ public TaskProcessingResultCollectionResponse get(@jakarta.annotation.Nullable f /** * Get the task processing result resources from the taskReport. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -94,8 +109,11 @@ public RequestInformation toGetRequestInformation() { * Get the task processing result resources from the taskReport. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -106,8 +124,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link TaskProcessingResultsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public TaskProcessingResultsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new TaskProcessingResultsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/taskreports/item/taskprocessingresults/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/taskreports/item/taskprocessingresults/count/CountRequestBuilder.java index bec294fca08..601b01d8505 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/taskreports/item/taskprocessingresults/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/taskreports/item/taskprocessingresults/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/taskreports/item/taskprocessingresults/item/TaskProcessingResultItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/taskreports/item/taskprocessingresults/item/TaskProcessingResultItemRequestBuilder.java index ef432fb34eb..ac06d4a8d4e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/taskreports/item/taskprocessingresults/item/TaskProcessingResultItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/taskreports/item/taskprocessingresults/item/TaskProcessingResultItemRequestBuilder.java @@ -26,7 +26,10 @@ public class TaskProcessingResultItemRequestBuilder extends BaseRequestBuilder { /** * Provides operations to call the resume method. * @return a {@link MicrosoftGraphIdentityGovernanceResumeRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public MicrosoftGraphIdentityGovernanceResumeRequestBuilder microsoftGraphIdentityGovernanceResume() { return new MicrosoftGraphIdentityGovernanceResumeRequestBuilder(pathParameters, requestAdapter); @@ -34,7 +37,10 @@ public MicrosoftGraphIdentityGovernanceResumeRequestBuilder microsoftGraphIdenti /** * Provides operations to manage the subject property of the microsoft.graph.identityGovernance.taskProcessingResult entity. * @return a {@link SubjectRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public SubjectRequestBuilder subject() { return new SubjectRequestBuilder(pathParameters, requestAdapter); @@ -42,7 +48,10 @@ public SubjectRequestBuilder subject() { /** * Provides operations to manage the task property of the microsoft.graph.identityGovernance.taskProcessingResult entity. * @return a {@link TaskRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public TaskRequestBuilder task() { return new TaskRequestBuilder(pathParameters, requestAdapter); @@ -67,8 +76,11 @@ public TaskProcessingResultItemRequestBuilder(@jakarta.annotation.Nonnull final * The related lifecycle workflow taskProcessingResults. * @return a {@link TaskProcessingResult} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public TaskProcessingResult get() { return get(null); } @@ -77,8 +89,11 @@ public TaskProcessingResult get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link TaskProcessingResult} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public TaskProcessingResult get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -88,8 +103,11 @@ public TaskProcessingResult get(@jakarta.annotation.Nullable final java.util.fun /** * The related lifecycle workflow taskProcessingResults. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -97,8 +115,11 @@ public RequestInformation toGetRequestInformation() { * The related lifecycle workflow taskProcessingResults. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -109,8 +130,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link TaskProcessingResultItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public TaskProcessingResultItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new TaskProcessingResultItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/taskreports/item/taskprocessingresults/item/microsoftgraphidentitygovernanceresume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/taskreports/item/taskprocessingresults/item/microsoftgraphidentitygovernanceresume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.java index b95df288559..f8ebdc9225b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/taskreports/item/taskprocessingresults/item/microsoftgraphidentitygovernanceresume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/taskreports/item/taskprocessingresults/item/microsoftgraphidentitygovernanceresume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.java @@ -38,8 +38,11 @@ public MicrosoftGraphIdentityGovernanceResumeRequestBuilder(@jakarta.annotation. * Resume a taskProcessingResult that's inProgress. In the default case, an Azure Logic Apps system-assigned managed identity calls this API. For more information, see Lifecycle Workflows extensibility approach. * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final ResumePostRequestBody body) { post(body, null); } @@ -48,8 +51,11 @@ public void post(@jakarta.annotation.Nonnull final ResumePostRequestBody body) { * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final ResumePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -61,8 +67,11 @@ public void post(@jakarta.annotation.Nonnull final ResumePostRequestBody body, @ * Resume a taskProcessingResult that's inProgress. In the default case, an Azure Logic Apps system-assigned managed identity calls this API. For more information, see Lifecycle Workflows extensibility approach. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ResumePostRequestBody body) { return toPostRequestInformation(body, null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ResumePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -85,8 +97,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link MicrosoftGraphIdentityGovernanceResumeRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public MicrosoftGraphIdentityGovernanceResumeRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new MicrosoftGraphIdentityGovernanceResumeRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/taskreports/item/taskprocessingresults/item/subject/SubjectRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/taskreports/item/taskprocessingresults/item/subject/SubjectRequestBuilder.java index c8e602ab06b..1432830a844 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/taskreports/item/taskprocessingresults/item/subject/SubjectRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/taskreports/item/taskprocessingresults/item/subject/SubjectRequestBuilder.java @@ -25,7 +25,10 @@ public class SubjectRequestBuilder extends BaseRequestBuilder { /** * The mailboxSettings property * @return a {@link MailboxSettingsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public MailboxSettingsRequestBuilder mailboxSettings() { return new MailboxSettingsRequestBuilder(pathParameters, requestAdapter); @@ -33,7 +36,10 @@ public MailboxSettingsRequestBuilder mailboxSettings() { /** * The serviceProvisioningErrors property * @return a {@link ServiceProvisioningErrorsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ServiceProvisioningErrorsRequestBuilder serviceProvisioningErrors() { return new ServiceProvisioningErrorsRequestBuilder(pathParameters, requestAdapter); @@ -58,8 +64,11 @@ public SubjectRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j * The unique identifier of the Microsoft Entra user targeted for the task execution.Supports $filter(eq, ne) and $expand. * @return a {@link User} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public User get() { return get(null); } @@ -68,8 +77,11 @@ public User get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link User} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public User get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -79,8 +91,11 @@ public User get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -100,8 +118,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link SubjectRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public SubjectRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new SubjectRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/taskreports/item/taskprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/taskreports/item/taskprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java index 43e89b5436d..53a2d6e1e03 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/taskreports/item/taskprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/taskreports/item/taskprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java @@ -40,8 +40,11 @@ public MailboxSettingsRequestBuilder(@jakarta.annotation.Nonnull final String ra * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Requires $select to retrieve. * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings get() { return get(null); } @@ -50,8 +53,11 @@ public MailboxSettings get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -63,8 +69,11 @@ public MailboxSettings get(@jakarta.annotation.Nullable final java.util.function * @param body The request body * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings body) { return patch(body, null); } @@ -74,8 +83,11 @@ public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings b * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -86,8 +98,11 @@ public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings b /** * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Requires $select to retrieve. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -95,8 +110,11 @@ public RequestInformation toGetRequestInformation() { * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Requires $select to retrieve. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -107,8 +125,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update property mailboxSettings value. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxSettings body) { return toPatchRequestInformation(body, null); } @@ -117,8 +138,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -131,8 +155,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link MailboxSettingsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public MailboxSettingsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new MailboxSettingsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/taskreports/item/taskprocessingresults/item/subject/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/taskreports/item/taskprocessingresults/item/subject/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java index 326dcd1c771..925470ab74d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/taskreports/item/taskprocessingresults/item/subject/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/taskreports/item/taskprocessingresults/item/subject/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java @@ -24,7 +24,10 @@ public class ServiceProvisioningErrorsRequestBuilder extends BaseRequestBuilder /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -49,8 +52,11 @@ public ServiceProvisioningErrorsRequestBuilder(@jakarta.annotation.Nonnull final * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. * @return a {@link ServiceProvisioningErrorCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ServiceProvisioningErrorCollectionResponse get() { return get(null); } @@ -59,8 +65,11 @@ public ServiceProvisioningErrorCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ServiceProvisioningErrorCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ServiceProvisioningErrorCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -70,8 +79,11 @@ public ServiceProvisioningErrorCollectionResponse get(@jakarta.annotation.Nullab /** * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -79,8 +91,11 @@ public RequestInformation toGetRequestInformation() { * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -91,8 +106,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ServiceProvisioningErrorsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ServiceProvisioningErrorsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ServiceProvisioningErrorsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/taskreports/item/taskprocessingresults/item/subject/serviceprovisioningerrors/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/taskreports/item/taskprocessingresults/item/subject/serviceprovisioningerrors/count/CountRequestBuilder.java index 08da348c593..61466399d34 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/taskreports/item/taskprocessingresults/item/subject/serviceprovisioningerrors/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/taskreports/item/taskprocessingresults/item/subject/serviceprovisioningerrors/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/taskreports/item/taskprocessingresults/item/task/TaskRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/taskreports/item/taskprocessingresults/item/task/TaskRequestBuilder.java index c2c05f60b21..be9a3001d9d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/taskreports/item/taskprocessingresults/item/task/TaskRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/taskreports/item/taskprocessingresults/item/task/TaskRequestBuilder.java @@ -40,8 +40,11 @@ public TaskRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jaka * The related workflow task * @return a {@link Task} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Task get() { return get(null); } @@ -50,8 +53,11 @@ public Task get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Task} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Task get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public Task get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link TaskRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public TaskRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new TaskRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/taskreports/microsoftgraphidentitygovernancesummarywithstartdatetimewithenddatetime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/taskreports/microsoftgraphidentitygovernancesummarywithstartdatetimewithenddatetime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.java index f69a241ec82..9b6928fcc6f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/taskreports/microsoftgraphidentitygovernancesummarywithstartdatetimewithenddatetime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/taskreports/microsoftgraphidentitygovernancesummarywithstartdatetimewithenddatetime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.java @@ -44,8 +44,11 @@ public MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRe * Get a taskReportSummary for a taskReport. This API provides a summary of task processing results for a specified time period. Because the volume of task processing results and task reports returned by the List API calls can be overwhelming, this summary allows the administrator to get a quick overview based on counts. * @return a {@link TaskReportSummary} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public TaskReportSummary get() { return get(null); } @@ -54,8 +57,11 @@ public TaskReportSummary get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link TaskReportSummary} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public TaskReportSummary get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -65,8 +71,11 @@ public TaskReportSummary get(@jakarta.annotation.Nullable final java.util.functi /** * Get a taskReportSummary for a taskReport. This API provides a summary of task processing results for a specified time period. Because the volume of task processing results and task reports returned by the List API calls can be overwhelming, this summary allows the administrator to get a quick overview based on counts. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -74,8 +83,11 @@ public RequestInformation toGetRequestInformation() { * Get a taskReportSummary for a taskReport. This API provides a summary of task processing results for a specified time period. Because the volume of task processing results and task reports returned by the List API calls can be overwhelming, this summary allows the administrator to get a quick overview based on counts. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new); @@ -86,8 +98,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/tasks/TasksRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/tasks/TasksRequestBuilder.java index 9cba19a1f8a..228af0eb6ba 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/tasks/TasksRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/tasks/TasksRequestBuilder.java @@ -26,7 +26,10 @@ public class TasksRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the tasks property of the microsoft.graph.identityGovernance.workflowBase entity. * @param taskId The unique identifier of task * @return a {@link TaskItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public TaskItemRequestBuilder byTaskId(@jakarta.annotation.Nonnull final String taskId) { Objects.requireNonNull(taskId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,9 +69,12 @@ public TasksRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Retrieve the details of the built-in task objects in a workflow. * @return a {@link TaskCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public TaskCollectionResponse get() { return get(null); } @@ -74,9 +83,12 @@ public TaskCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link TaskCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public TaskCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -88,8 +100,11 @@ public TaskCollectionResponse get(@jakarta.annotation.Nullable final java.util.f * @param body The request body * @return a {@link Task} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Task post(@jakarta.annotation.Nonnull final Task body) { return post(body, null); } @@ -99,8 +114,11 @@ public Task post(@jakarta.annotation.Nonnull final Task body) { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Task} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Task post(@jakarta.annotation.Nonnull final Task body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -111,8 +129,11 @@ public Task post(@jakarta.annotation.Nonnull final Task body, @jakarta.annotatio /** * Retrieve the details of the built-in task objects in a workflow. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -120,8 +141,11 @@ public RequestInformation toGetRequestInformation() { * Retrieve the details of the built-in task objects in a workflow. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -132,8 +156,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to tasks for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Task body) { return toPostRequestInformation(body, null); } @@ -142,8 +169,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Task body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -156,8 +186,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link TasksRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public TasksRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new TasksRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/tasks/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/tasks/count/CountRequestBuilder.java index aa5efa804a1..3d7fa59b031 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/tasks/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/tasks/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/tasks/item/TaskItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/tasks/item/TaskItemRequestBuilder.java index a900ed6b6ce..0597803a63f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/tasks/item/TaskItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/tasks/item/TaskItemRequestBuilder.java @@ -24,7 +24,10 @@ public class TaskItemRequestBuilder extends BaseRequestBuilder { /** * Provides operations to manage the taskProcessingResults property of the microsoft.graph.identityGovernance.task entity. * @return a {@link TaskProcessingResultsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public TaskProcessingResultsRequestBuilder taskProcessingResults() { return new TaskProcessingResultsRequestBuilder(pathParameters, requestAdapter); @@ -48,7 +51,10 @@ public TaskItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ /** * Delete navigation property tasks for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -56,7 +62,10 @@ public void delete() { * Delete navigation property tasks for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -67,8 +76,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * The tasks in the workflow. * @return a {@link Task} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Task get() { return get(null); } @@ -77,8 +89,11 @@ public Task get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Task} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Task get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -90,8 +105,11 @@ public Task get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -113,8 +134,11 @@ public Task patch(@jakarta.annotation.Nonnull final Task body, @jakarta.annotati /** * Delete navigation property tasks for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -122,8 +146,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property tasks for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -133,8 +160,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * The tasks in the workflow. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -142,8 +172,11 @@ public RequestInformation toGetRequestInformation() { * The tasks in the workflow. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -154,8 +187,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property tasks in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final Task body) { return toPatchRequestInformation(body, null); } @@ -164,8 +200,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final Task body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -178,8 +217,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link TaskItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public TaskItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new TaskItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/tasks/item/taskprocessingresults/TaskProcessingResultsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/tasks/item/taskprocessingresults/TaskProcessingResultsRequestBuilder.java index df1472a36c3..ad0a57f54c0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/tasks/item/taskprocessingresults/TaskProcessingResultsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/tasks/item/taskprocessingresults/TaskProcessingResultsRequestBuilder.java @@ -25,7 +25,10 @@ public class TaskProcessingResultsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -34,8 +37,11 @@ public CountRequestBuilder count() { * Provides operations to manage the taskProcessingResults property of the microsoft.graph.identityGovernance.task entity. * @param taskProcessingResultId The unique identifier of taskProcessingResult * @return a {@link TaskProcessingResultItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public TaskProcessingResultItemRequestBuilder byTaskProcessingResultId(@jakarta.annotation.Nonnull final String taskProcessingResultId) { Objects.requireNonNull(taskProcessingResultId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -62,8 +68,11 @@ public TaskProcessingResultsRequestBuilder(@jakarta.annotation.Nonnull final Str * The result of processing the task. * @return a {@link TaskProcessingResultCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public TaskProcessingResultCollectionResponse get() { return get(null); } @@ -72,8 +81,11 @@ public TaskProcessingResultCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link TaskProcessingResultCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public TaskProcessingResultCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -83,8 +95,11 @@ public TaskProcessingResultCollectionResponse get(@jakarta.annotation.Nullable f /** * The result of processing the task. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -92,8 +107,11 @@ public RequestInformation toGetRequestInformation() { * The result of processing the task. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -104,8 +122,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link TaskProcessingResultsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public TaskProcessingResultsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new TaskProcessingResultsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/tasks/item/taskprocessingresults/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/tasks/item/taskprocessingresults/count/CountRequestBuilder.java index f640f6987d1..81bb44860ec 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/tasks/item/taskprocessingresults/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/tasks/item/taskprocessingresults/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/tasks/item/taskprocessingresults/item/TaskProcessingResultItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/tasks/item/taskprocessingresults/item/TaskProcessingResultItemRequestBuilder.java index 833bc44c236..a947dbea86b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/tasks/item/taskprocessingresults/item/TaskProcessingResultItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/tasks/item/taskprocessingresults/item/TaskProcessingResultItemRequestBuilder.java @@ -26,7 +26,10 @@ public class TaskProcessingResultItemRequestBuilder extends BaseRequestBuilder { /** * Provides operations to call the resume method. * @return a {@link MicrosoftGraphIdentityGovernanceResumeRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public MicrosoftGraphIdentityGovernanceResumeRequestBuilder microsoftGraphIdentityGovernanceResume() { return new MicrosoftGraphIdentityGovernanceResumeRequestBuilder(pathParameters, requestAdapter); @@ -34,7 +37,10 @@ public MicrosoftGraphIdentityGovernanceResumeRequestBuilder microsoftGraphIdenti /** * Provides operations to manage the subject property of the microsoft.graph.identityGovernance.taskProcessingResult entity. * @return a {@link SubjectRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public SubjectRequestBuilder subject() { return new SubjectRequestBuilder(pathParameters, requestAdapter); @@ -42,7 +48,10 @@ public SubjectRequestBuilder subject() { /** * Provides operations to manage the task property of the microsoft.graph.identityGovernance.taskProcessingResult entity. * @return a {@link TaskRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public TaskRequestBuilder task() { return new TaskRequestBuilder(pathParameters, requestAdapter); @@ -67,8 +76,11 @@ public TaskProcessingResultItemRequestBuilder(@jakarta.annotation.Nonnull final * The result of processing the task. * @return a {@link TaskProcessingResult} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public TaskProcessingResult get() { return get(null); } @@ -77,8 +89,11 @@ public TaskProcessingResult get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link TaskProcessingResult} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public TaskProcessingResult get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -88,8 +103,11 @@ public TaskProcessingResult get(@jakarta.annotation.Nullable final java.util.fun /** * The result of processing the task. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -97,8 +115,11 @@ public RequestInformation toGetRequestInformation() { * The result of processing the task. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -109,8 +130,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link TaskProcessingResultItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public TaskProcessingResultItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new TaskProcessingResultItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/tasks/item/taskprocessingresults/item/microsoftgraphidentitygovernanceresume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/tasks/item/taskprocessingresults/item/microsoftgraphidentitygovernanceresume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.java index 89380a16b8f..d3030f6feb1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/tasks/item/taskprocessingresults/item/microsoftgraphidentitygovernanceresume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/tasks/item/taskprocessingresults/item/microsoftgraphidentitygovernanceresume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.java @@ -38,8 +38,11 @@ public MicrosoftGraphIdentityGovernanceResumeRequestBuilder(@jakarta.annotation. * Resume a taskProcessingResult that's inProgress. In the default case, an Azure Logic Apps system-assigned managed identity calls this API. For more information, see Lifecycle Workflows extensibility approach. * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final ResumePostRequestBody body) { post(body, null); } @@ -48,8 +51,11 @@ public void post(@jakarta.annotation.Nonnull final ResumePostRequestBody body) { * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final ResumePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -61,8 +67,11 @@ public void post(@jakarta.annotation.Nonnull final ResumePostRequestBody body, @ * Resume a taskProcessingResult that's inProgress. In the default case, an Azure Logic Apps system-assigned managed identity calls this API. For more information, see Lifecycle Workflows extensibility approach. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ResumePostRequestBody body) { return toPostRequestInformation(body, null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ResumePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -85,8 +97,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link MicrosoftGraphIdentityGovernanceResumeRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public MicrosoftGraphIdentityGovernanceResumeRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new MicrosoftGraphIdentityGovernanceResumeRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/tasks/item/taskprocessingresults/item/subject/SubjectRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/tasks/item/taskprocessingresults/item/subject/SubjectRequestBuilder.java index 23f98d1e196..a345b7420f4 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/tasks/item/taskprocessingresults/item/subject/SubjectRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/tasks/item/taskprocessingresults/item/subject/SubjectRequestBuilder.java @@ -25,7 +25,10 @@ public class SubjectRequestBuilder extends BaseRequestBuilder { /** * The mailboxSettings property * @return a {@link MailboxSettingsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public MailboxSettingsRequestBuilder mailboxSettings() { return new MailboxSettingsRequestBuilder(pathParameters, requestAdapter); @@ -33,7 +36,10 @@ public MailboxSettingsRequestBuilder mailboxSettings() { /** * The serviceProvisioningErrors property * @return a {@link ServiceProvisioningErrorsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ServiceProvisioningErrorsRequestBuilder serviceProvisioningErrors() { return new ServiceProvisioningErrorsRequestBuilder(pathParameters, requestAdapter); @@ -58,8 +64,11 @@ public SubjectRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j * The unique identifier of the Microsoft Entra user targeted for the task execution.Supports $filter(eq, ne) and $expand. * @return a {@link User} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public User get() { return get(null); } @@ -68,8 +77,11 @@ public User get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link User} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public User get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -79,8 +91,11 @@ public User get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -100,8 +118,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link SubjectRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public SubjectRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new SubjectRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/tasks/item/taskprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/tasks/item/taskprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java index b6ddf1e3bd3..0fa9884b0d0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/tasks/item/taskprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/tasks/item/taskprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java @@ -40,8 +40,11 @@ public MailboxSettingsRequestBuilder(@jakarta.annotation.Nonnull final String ra * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Requires $select to retrieve. * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings get() { return get(null); } @@ -50,8 +53,11 @@ public MailboxSettings get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -63,8 +69,11 @@ public MailboxSettings get(@jakarta.annotation.Nullable final java.util.function * @param body The request body * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings body) { return patch(body, null); } @@ -74,8 +83,11 @@ public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings b * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -86,8 +98,11 @@ public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings b /** * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Requires $select to retrieve. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -95,8 +110,11 @@ public RequestInformation toGetRequestInformation() { * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Requires $select to retrieve. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -107,8 +125,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update property mailboxSettings value. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxSettings body) { return toPatchRequestInformation(body, null); } @@ -117,8 +138,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -131,8 +155,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link MailboxSettingsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public MailboxSettingsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new MailboxSettingsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/tasks/item/taskprocessingresults/item/subject/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/tasks/item/taskprocessingresults/item/subject/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java index 8473207dfd7..ff020a0e9bf 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/tasks/item/taskprocessingresults/item/subject/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/tasks/item/taskprocessingresults/item/subject/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java @@ -24,7 +24,10 @@ public class ServiceProvisioningErrorsRequestBuilder extends BaseRequestBuilder /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -49,8 +52,11 @@ public ServiceProvisioningErrorsRequestBuilder(@jakarta.annotation.Nonnull final * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. * @return a {@link ServiceProvisioningErrorCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ServiceProvisioningErrorCollectionResponse get() { return get(null); } @@ -59,8 +65,11 @@ public ServiceProvisioningErrorCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ServiceProvisioningErrorCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ServiceProvisioningErrorCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -70,8 +79,11 @@ public ServiceProvisioningErrorCollectionResponse get(@jakarta.annotation.Nullab /** * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -79,8 +91,11 @@ public RequestInformation toGetRequestInformation() { * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -91,8 +106,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ServiceProvisioningErrorsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ServiceProvisioningErrorsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ServiceProvisioningErrorsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/tasks/item/taskprocessingresults/item/subject/serviceprovisioningerrors/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/tasks/item/taskprocessingresults/item/subject/serviceprovisioningerrors/count/CountRequestBuilder.java index 57de6c9dcce..bbfafa3a11e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/tasks/item/taskprocessingresults/item/subject/serviceprovisioningerrors/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/tasks/item/taskprocessingresults/item/subject/serviceprovisioningerrors/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/tasks/item/taskprocessingresults/item/task/TaskRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/tasks/item/taskprocessingresults/item/task/TaskRequestBuilder.java index d7058eb29af..d3f06e70246 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/tasks/item/taskprocessingresults/item/task/TaskRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/tasks/item/taskprocessingresults/item/task/TaskRequestBuilder.java @@ -40,8 +40,11 @@ public TaskRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jaka * The related workflow task * @return a {@link Task} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Task get() { return get(null); } @@ -50,8 +53,11 @@ public Task get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Task} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Task get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public Task get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link TaskRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public TaskRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new TaskRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/userprocessingresults/UserProcessingResultsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/userprocessingresults/UserProcessingResultsRequestBuilder.java index b8f43db3c6e..5ce245a06a0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/userprocessingresults/UserProcessingResultsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/userprocessingresults/UserProcessingResultsRequestBuilder.java @@ -27,7 +27,10 @@ public class UserProcessingResultsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -36,8 +39,11 @@ public CountRequestBuilder count() { * Provides operations to manage the userProcessingResults property of the microsoft.graph.identityGovernance.workflow entity. * @param userProcessingResultId The unique identifier of userProcessingResult * @return a {@link UserProcessingResultItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public UserProcessingResultItemRequestBuilder byUserProcessingResultId(@jakarta.annotation.Nonnull final String userProcessingResultId) { Objects.requireNonNull(userProcessingResultId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -64,9 +70,12 @@ public UserProcessingResultsRequestBuilder(@jakarta.annotation.Nonnull final Str * Get the userProcessingResult resources for a workflow. * @return a {@link UserProcessingResultCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public UserProcessingResultCollectionResponse get() { return get(null); } @@ -75,9 +84,12 @@ public UserProcessingResultCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link UserProcessingResultCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public UserProcessingResultCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -89,8 +101,11 @@ public UserProcessingResultCollectionResponse get(@jakarta.annotation.Nullable f * @param endDateTime Usage: endDateTime={endDateTime} * @param startDateTime Usage: startDateTime={startDateTime} * @return a {@link MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime(@jakarta.annotation.Nonnull final OffsetDateTime endDateTime, @jakarta.annotation.Nonnull final OffsetDateTime startDateTime) { Objects.requireNonNull(endDateTime); Objects.requireNonNull(startDateTime); @@ -99,8 +114,11 @@ public MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRe /** * Get the userProcessingResult resources for a workflow. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -108,8 +126,11 @@ public RequestInformation toGetRequestInformation() { * Get the userProcessingResult resources for a workflow. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -120,8 +141,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link UserProcessingResultsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public UserProcessingResultsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new UserProcessingResultsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/userprocessingresults/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/userprocessingresults/count/CountRequestBuilder.java index d7e67316df9..90fab712194 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/userprocessingresults/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/userprocessingresults/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/userprocessingresults/item/UserProcessingResultItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/userprocessingresults/item/UserProcessingResultItemRequestBuilder.java index 7a9a46636ca..cdc6fdd7139 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/userprocessingresults/item/UserProcessingResultItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/userprocessingresults/item/UserProcessingResultItemRequestBuilder.java @@ -26,7 +26,10 @@ public class UserProcessingResultItemRequestBuilder extends BaseRequestBuilder { /** * Provides operations to manage the reprocessedRuns property of the microsoft.graph.identityGovernance.userProcessingResult entity. * @return a {@link ReprocessedRunsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ReprocessedRunsRequestBuilder reprocessedRuns() { return new ReprocessedRunsRequestBuilder(pathParameters, requestAdapter); @@ -34,7 +37,10 @@ public ReprocessedRunsRequestBuilder reprocessedRuns() { /** * Provides operations to manage the subject property of the microsoft.graph.identityGovernance.userProcessingResult entity. * @return a {@link SubjectRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public SubjectRequestBuilder subject() { return new SubjectRequestBuilder(pathParameters, requestAdapter); @@ -42,7 +48,10 @@ public SubjectRequestBuilder subject() { /** * Provides operations to manage the taskProcessingResults property of the microsoft.graph.identityGovernance.userProcessingResult entity. * @return a {@link TaskProcessingResultsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public TaskProcessingResultsRequestBuilder taskProcessingResults() { return new TaskProcessingResultsRequestBuilder(pathParameters, requestAdapter); @@ -67,8 +76,11 @@ public UserProcessingResultItemRequestBuilder(@jakarta.annotation.Nonnull final * Per-user workflow execution results. * @return a {@link UserProcessingResult} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public UserProcessingResult get() { return get(null); } @@ -77,8 +89,11 @@ public UserProcessingResult get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link UserProcessingResult} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public UserProcessingResult get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -88,8 +103,11 @@ public UserProcessingResult get(@jakarta.annotation.Nullable final java.util.fun /** * Per-user workflow execution results. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -97,8 +115,11 @@ public RequestInformation toGetRequestInformation() { * Per-user workflow execution results. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -109,8 +130,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link UserProcessingResultItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public UserProcessingResultItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new UserProcessingResultItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/userprocessingresults/item/reprocessedruns/ReprocessedRunsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/userprocessingresults/item/reprocessedruns/ReprocessedRunsRequestBuilder.java index 121c48ddf5c..8dd9039de2f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/userprocessingresults/item/reprocessedruns/ReprocessedRunsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/userprocessingresults/item/reprocessedruns/ReprocessedRunsRequestBuilder.java @@ -25,7 +25,10 @@ public class ReprocessedRunsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -34,8 +37,11 @@ public CountRequestBuilder count() { * Provides operations to manage the reprocessedRuns property of the microsoft.graph.identityGovernance.userProcessingResult entity. * @param runId The unique identifier of run * @return a {@link RunItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RunItemRequestBuilder byRunId(@jakarta.annotation.Nonnull final String runId) { Objects.requireNonNull(runId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -62,8 +68,11 @@ public ReprocessedRunsRequestBuilder(@jakarta.annotation.Nonnull final String ra * The related reprocessed workflow run. * @return a {@link RunCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public RunCollectionResponse get() { return get(null); } @@ -72,8 +81,11 @@ public RunCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RunCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public RunCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -83,8 +95,11 @@ public RunCollectionResponse get(@jakarta.annotation.Nullable final java.util.fu /** * The related reprocessed workflow run. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -92,8 +107,11 @@ public RequestInformation toGetRequestInformation() { * The related reprocessed workflow run. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -104,8 +122,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ReprocessedRunsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ReprocessedRunsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ReprocessedRunsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/userprocessingresults/item/reprocessedruns/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/userprocessingresults/item/reprocessedruns/count/CountRequestBuilder.java index 1b36907ee5f..603ae512d7e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/userprocessingresults/item/reprocessedruns/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/userprocessingresults/item/reprocessedruns/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/userprocessingresults/item/reprocessedruns/item/RunItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/userprocessingresults/item/reprocessedruns/item/RunItemRequestBuilder.java index d8c18f2ca83..860e539381c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/userprocessingresults/item/reprocessedruns/item/RunItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/userprocessingresults/item/reprocessedruns/item/RunItemRequestBuilder.java @@ -40,8 +40,11 @@ public RunItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j * The related reprocessed workflow run. * @return a {@link Run} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Run get() { return get(null); } @@ -50,8 +53,11 @@ public Run get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Run} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Run get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public Run get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RunItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RunItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RunItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/userprocessingresults/item/subject/SubjectRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/userprocessingresults/item/subject/SubjectRequestBuilder.java index ae64b6e0b5e..c7f7ccb4d8a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/userprocessingresults/item/subject/SubjectRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/userprocessingresults/item/subject/SubjectRequestBuilder.java @@ -25,7 +25,10 @@ public class SubjectRequestBuilder extends BaseRequestBuilder { /** * The mailboxSettings property * @return a {@link MailboxSettingsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public MailboxSettingsRequestBuilder mailboxSettings() { return new MailboxSettingsRequestBuilder(pathParameters, requestAdapter); @@ -33,7 +36,10 @@ public MailboxSettingsRequestBuilder mailboxSettings() { /** * The serviceProvisioningErrors property * @return a {@link ServiceProvisioningErrorsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ServiceProvisioningErrorsRequestBuilder serviceProvisioningErrors() { return new ServiceProvisioningErrorsRequestBuilder(pathParameters, requestAdapter); @@ -58,8 +64,11 @@ public SubjectRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j * The unique identifier of the user targeted for the taskProcessingResult.Supports $filter(eq, ne) and $expand. * @return a {@link User} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public User get() { return get(null); } @@ -68,8 +77,11 @@ public User get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link User} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public User get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -79,8 +91,11 @@ public User get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -100,8 +118,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link SubjectRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public SubjectRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new SubjectRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/userprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/userprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java index d08fb620dae..7cd4748ae29 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/userprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/userprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java @@ -40,8 +40,11 @@ public MailboxSettingsRequestBuilder(@jakarta.annotation.Nonnull final String ra * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Requires $select to retrieve. * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings get() { return get(null); } @@ -50,8 +53,11 @@ public MailboxSettings get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -63,8 +69,11 @@ public MailboxSettings get(@jakarta.annotation.Nullable final java.util.function * @param body The request body * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings body) { return patch(body, null); } @@ -74,8 +83,11 @@ public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings b * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -86,8 +98,11 @@ public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings b /** * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Requires $select to retrieve. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -95,8 +110,11 @@ public RequestInformation toGetRequestInformation() { * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Requires $select to retrieve. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -107,8 +125,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update property mailboxSettings value. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxSettings body) { return toPatchRequestInformation(body, null); } @@ -117,8 +138,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -131,8 +155,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link MailboxSettingsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public MailboxSettingsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new MailboxSettingsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/userprocessingresults/item/subject/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/userprocessingresults/item/subject/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java index 73643afc593..00c496f914d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/userprocessingresults/item/subject/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/userprocessingresults/item/subject/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java @@ -24,7 +24,10 @@ public class ServiceProvisioningErrorsRequestBuilder extends BaseRequestBuilder /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -49,8 +52,11 @@ public ServiceProvisioningErrorsRequestBuilder(@jakarta.annotation.Nonnull final * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. * @return a {@link ServiceProvisioningErrorCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ServiceProvisioningErrorCollectionResponse get() { return get(null); } @@ -59,8 +65,11 @@ public ServiceProvisioningErrorCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ServiceProvisioningErrorCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ServiceProvisioningErrorCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -70,8 +79,11 @@ public ServiceProvisioningErrorCollectionResponse get(@jakarta.annotation.Nullab /** * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -79,8 +91,11 @@ public RequestInformation toGetRequestInformation() { * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -91,8 +106,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ServiceProvisioningErrorsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ServiceProvisioningErrorsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ServiceProvisioningErrorsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/userprocessingresults/item/subject/serviceprovisioningerrors/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/userprocessingresults/item/subject/serviceprovisioningerrors/count/CountRequestBuilder.java index 195533a3a12..653853a9efe 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/userprocessingresults/item/subject/serviceprovisioningerrors/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/userprocessingresults/item/subject/serviceprovisioningerrors/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/userprocessingresults/item/taskprocessingresults/TaskProcessingResultsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/userprocessingresults/item/taskprocessingresults/TaskProcessingResultsRequestBuilder.java index 3e85d2cc09f..3ed66502d89 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/userprocessingresults/item/taskprocessingresults/TaskProcessingResultsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/userprocessingresults/item/taskprocessingresults/TaskProcessingResultsRequestBuilder.java @@ -25,7 +25,10 @@ public class TaskProcessingResultsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -34,8 +37,11 @@ public CountRequestBuilder count() { * Provides operations to manage the taskProcessingResults property of the microsoft.graph.identityGovernance.userProcessingResult entity. * @param taskProcessingResultId The unique identifier of taskProcessingResult * @return a {@link TaskProcessingResultItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public TaskProcessingResultItemRequestBuilder byTaskProcessingResultId(@jakarta.annotation.Nonnull final String taskProcessingResultId) { Objects.requireNonNull(taskProcessingResultId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -62,9 +68,12 @@ public TaskProcessingResultsRequestBuilder(@jakarta.annotation.Nonnull final Str * Get the task processing result from a userProcessingResult either directly or through a run. * @return a {@link TaskProcessingResultCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public TaskProcessingResultCollectionResponse get() { return get(null); } @@ -73,9 +82,12 @@ public TaskProcessingResultCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link TaskProcessingResultCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public TaskProcessingResultCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -85,8 +97,11 @@ public TaskProcessingResultCollectionResponse get(@jakarta.annotation.Nullable f /** * Get the task processing result from a userProcessingResult either directly or through a run. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -94,8 +109,11 @@ public RequestInformation toGetRequestInformation() { * Get the task processing result from a userProcessingResult either directly or through a run. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -106,8 +124,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link TaskProcessingResultsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public TaskProcessingResultsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new TaskProcessingResultsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/userprocessingresults/item/taskprocessingresults/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/userprocessingresults/item/taskprocessingresults/count/CountRequestBuilder.java index a646faa96e6..bf15a92e656 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/userprocessingresults/item/taskprocessingresults/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/userprocessingresults/item/taskprocessingresults/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/userprocessingresults/item/taskprocessingresults/item/TaskProcessingResultItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/userprocessingresults/item/taskprocessingresults/item/TaskProcessingResultItemRequestBuilder.java index 491b64cf25e..c2091c019ea 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/userprocessingresults/item/taskprocessingresults/item/TaskProcessingResultItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/userprocessingresults/item/taskprocessingresults/item/TaskProcessingResultItemRequestBuilder.java @@ -26,7 +26,10 @@ public class TaskProcessingResultItemRequestBuilder extends BaseRequestBuilder { /** * Provides operations to call the resume method. * @return a {@link MicrosoftGraphIdentityGovernanceResumeRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public MicrosoftGraphIdentityGovernanceResumeRequestBuilder microsoftGraphIdentityGovernanceResume() { return new MicrosoftGraphIdentityGovernanceResumeRequestBuilder(pathParameters, requestAdapter); @@ -34,7 +37,10 @@ public MicrosoftGraphIdentityGovernanceResumeRequestBuilder microsoftGraphIdenti /** * Provides operations to manage the subject property of the microsoft.graph.identityGovernance.taskProcessingResult entity. * @return a {@link SubjectRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public SubjectRequestBuilder subject() { return new SubjectRequestBuilder(pathParameters, requestAdapter); @@ -42,7 +48,10 @@ public SubjectRequestBuilder subject() { /** * Provides operations to manage the task property of the microsoft.graph.identityGovernance.taskProcessingResult entity. * @return a {@link TaskRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public TaskRequestBuilder task() { return new TaskRequestBuilder(pathParameters, requestAdapter); @@ -67,8 +76,11 @@ public TaskProcessingResultItemRequestBuilder(@jakarta.annotation.Nonnull final * The associated individual task execution. * @return a {@link TaskProcessingResult} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public TaskProcessingResult get() { return get(null); } @@ -77,8 +89,11 @@ public TaskProcessingResult get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link TaskProcessingResult} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public TaskProcessingResult get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -88,8 +103,11 @@ public TaskProcessingResult get(@jakarta.annotation.Nullable final java.util.fun /** * The associated individual task execution. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -97,8 +115,11 @@ public RequestInformation toGetRequestInformation() { * The associated individual task execution. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -109,8 +130,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link TaskProcessingResultItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public TaskProcessingResultItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new TaskProcessingResultItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/userprocessingresults/item/taskprocessingresults/item/microsoftgraphidentitygovernanceresume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/userprocessingresults/item/taskprocessingresults/item/microsoftgraphidentitygovernanceresume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.java index 3b85362250b..23af79a6595 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/userprocessingresults/item/taskprocessingresults/item/microsoftgraphidentitygovernanceresume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/userprocessingresults/item/taskprocessingresults/item/microsoftgraphidentitygovernanceresume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.java @@ -38,8 +38,11 @@ public MicrosoftGraphIdentityGovernanceResumeRequestBuilder(@jakarta.annotation. * Resume a taskProcessingResult that's inProgress. In the default case, an Azure Logic Apps system-assigned managed identity calls this API. For more information, see Lifecycle Workflows extensibility approach. * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final ResumePostRequestBody body) { post(body, null); } @@ -48,8 +51,11 @@ public void post(@jakarta.annotation.Nonnull final ResumePostRequestBody body) { * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final ResumePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -61,8 +67,11 @@ public void post(@jakarta.annotation.Nonnull final ResumePostRequestBody body, @ * Resume a taskProcessingResult that's inProgress. In the default case, an Azure Logic Apps system-assigned managed identity calls this API. For more information, see Lifecycle Workflows extensibility approach. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ResumePostRequestBody body) { return toPostRequestInformation(body, null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ResumePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -85,8 +97,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link MicrosoftGraphIdentityGovernanceResumeRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public MicrosoftGraphIdentityGovernanceResumeRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new MicrosoftGraphIdentityGovernanceResumeRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/userprocessingresults/item/taskprocessingresults/item/subject/SubjectRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/userprocessingresults/item/taskprocessingresults/item/subject/SubjectRequestBuilder.java index c1329126510..81772978453 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/userprocessingresults/item/taskprocessingresults/item/subject/SubjectRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/userprocessingresults/item/taskprocessingresults/item/subject/SubjectRequestBuilder.java @@ -25,7 +25,10 @@ public class SubjectRequestBuilder extends BaseRequestBuilder { /** * The mailboxSettings property * @return a {@link MailboxSettingsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public MailboxSettingsRequestBuilder mailboxSettings() { return new MailboxSettingsRequestBuilder(pathParameters, requestAdapter); @@ -33,7 +36,10 @@ public MailboxSettingsRequestBuilder mailboxSettings() { /** * The serviceProvisioningErrors property * @return a {@link ServiceProvisioningErrorsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ServiceProvisioningErrorsRequestBuilder serviceProvisioningErrors() { return new ServiceProvisioningErrorsRequestBuilder(pathParameters, requestAdapter); @@ -58,8 +64,11 @@ public SubjectRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j * The unique identifier of the Microsoft Entra user targeted for the task execution.Supports $filter(eq, ne) and $expand. * @return a {@link User} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public User get() { return get(null); } @@ -68,8 +77,11 @@ public User get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link User} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public User get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -79,8 +91,11 @@ public User get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -100,8 +118,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link SubjectRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public SubjectRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new SubjectRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/userprocessingresults/item/taskprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/userprocessingresults/item/taskprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java index 40f12640657..770676ba7e1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/userprocessingresults/item/taskprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/userprocessingresults/item/taskprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java @@ -40,8 +40,11 @@ public MailboxSettingsRequestBuilder(@jakarta.annotation.Nonnull final String ra * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Requires $select to retrieve. * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings get() { return get(null); } @@ -50,8 +53,11 @@ public MailboxSettings get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -63,8 +69,11 @@ public MailboxSettings get(@jakarta.annotation.Nullable final java.util.function * @param body The request body * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings body) { return patch(body, null); } @@ -74,8 +83,11 @@ public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings b * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -86,8 +98,11 @@ public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings b /** * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Requires $select to retrieve. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -95,8 +110,11 @@ public RequestInformation toGetRequestInformation() { * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Requires $select to retrieve. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -107,8 +125,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update property mailboxSettings value. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxSettings body) { return toPatchRequestInformation(body, null); } @@ -117,8 +138,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -131,8 +155,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link MailboxSettingsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public MailboxSettingsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new MailboxSettingsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/userprocessingresults/item/taskprocessingresults/item/subject/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/userprocessingresults/item/taskprocessingresults/item/subject/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java index 998242f14ec..d79bbd1df1a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/userprocessingresults/item/taskprocessingresults/item/subject/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/userprocessingresults/item/taskprocessingresults/item/subject/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java @@ -24,7 +24,10 @@ public class ServiceProvisioningErrorsRequestBuilder extends BaseRequestBuilder /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -49,8 +52,11 @@ public ServiceProvisioningErrorsRequestBuilder(@jakarta.annotation.Nonnull final * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. * @return a {@link ServiceProvisioningErrorCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ServiceProvisioningErrorCollectionResponse get() { return get(null); } @@ -59,8 +65,11 @@ public ServiceProvisioningErrorCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ServiceProvisioningErrorCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ServiceProvisioningErrorCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -70,8 +79,11 @@ public ServiceProvisioningErrorCollectionResponse get(@jakarta.annotation.Nullab /** * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -79,8 +91,11 @@ public RequestInformation toGetRequestInformation() { * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -91,8 +106,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ServiceProvisioningErrorsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ServiceProvisioningErrorsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ServiceProvisioningErrorsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/userprocessingresults/item/taskprocessingresults/item/subject/serviceprovisioningerrors/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/userprocessingresults/item/taskprocessingresults/item/subject/serviceprovisioningerrors/count/CountRequestBuilder.java index 321b939fc74..04f601274cd 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/userprocessingresults/item/taskprocessingresults/item/subject/serviceprovisioningerrors/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/userprocessingresults/item/taskprocessingresults/item/subject/serviceprovisioningerrors/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/userprocessingresults/item/taskprocessingresults/item/task/TaskRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/userprocessingresults/item/taskprocessingresults/item/task/TaskRequestBuilder.java index 17dd34ca1b8..aa3640181c6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/userprocessingresults/item/taskprocessingresults/item/task/TaskRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/userprocessingresults/item/taskprocessingresults/item/task/TaskRequestBuilder.java @@ -40,8 +40,11 @@ public TaskRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jaka * The related workflow task * @return a {@link Task} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Task get() { return get(null); } @@ -50,8 +53,11 @@ public Task get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Task} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Task get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public Task get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link TaskRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public TaskRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new TaskRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/userprocessingresults/microsoftgraphidentitygovernancesummarywithstartdatetimewithenddatetime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/userprocessingresults/microsoftgraphidentitygovernancesummarywithstartdatetimewithenddatetime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.java index f0bacb28204..acde3550332 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/userprocessingresults/microsoftgraphidentitygovernancesummarywithstartdatetimewithenddatetime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/userprocessingresults/microsoftgraphidentitygovernancesummarywithstartdatetimewithenddatetime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.java @@ -44,8 +44,11 @@ public MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRe * Invoke function summary * @return a {@link UserSummary} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public UserSummary get() { return get(null); } @@ -54,8 +57,11 @@ public UserSummary get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link UserSummary} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public UserSummary get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -65,8 +71,11 @@ public UserSummary get(@jakarta.annotation.Nullable final java.util.function.Con /** * Invoke function summary * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -74,8 +83,11 @@ public RequestInformation toGetRequestInformation() { * Invoke function summary * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new); @@ -86,8 +98,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/VersionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/VersionsRequestBuilder.java index 8839a77b8d5..48872dc69df 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/VersionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/VersionsRequestBuilder.java @@ -25,7 +25,10 @@ public class VersionsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -34,8 +37,11 @@ public CountRequestBuilder count() { * Provides operations to manage the versions property of the microsoft.graph.identityGovernance.workflow entity. * @param workflowVersionVersionNumber The unique identifier of workflowVersion * @return a {@link WorkflowVersionVersionNumberItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public WorkflowVersionVersionNumberItemRequestBuilder byWorkflowVersionVersionNumber(@jakarta.annotation.Nonnull final Integer workflowVersionVersionNumber) { Objects.requireNonNull(workflowVersionVersionNumber); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -62,9 +68,12 @@ public VersionsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ * Get a list of the workflowVersion objects and their properties. * @return a {@link WorkflowVersionCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public WorkflowVersionCollectionResponse get() { return get(null); } @@ -73,9 +82,12 @@ public WorkflowVersionCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link WorkflowVersionCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public WorkflowVersionCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -85,8 +97,11 @@ public WorkflowVersionCollectionResponse get(@jakarta.annotation.Nullable final /** * Get a list of the workflowVersion objects and their properties. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -94,8 +109,11 @@ public RequestInformation toGetRequestInformation() { * Get a list of the workflowVersion objects and their properties. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -106,8 +124,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link VersionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public VersionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new VersionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/count/CountRequestBuilder.java index 711114fbc88..09fffa8b8c6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/WorkflowVersionVersionNumberItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/WorkflowVersionVersionNumberItemRequestBuilder.java index 5a57a4d0f79..460622a0e4f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/WorkflowVersionVersionNumberItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/WorkflowVersionVersionNumberItemRequestBuilder.java @@ -27,7 +27,10 @@ public class WorkflowVersionVersionNumberItemRequestBuilder extends BaseRequestB /** * Provides operations to manage the administrationScopeTargets property of the microsoft.graph.identityGovernance.workflowBase entity. * @return a {@link AdministrationScopeTargetsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AdministrationScopeTargetsRequestBuilder administrationScopeTargets() { return new AdministrationScopeTargetsRequestBuilder(pathParameters, requestAdapter); @@ -35,7 +38,10 @@ public AdministrationScopeTargetsRequestBuilder administrationScopeTargets() { /** * Provides operations to manage the createdBy property of the microsoft.graph.identityGovernance.workflowBase entity. * @return a {@link CreatedByRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CreatedByRequestBuilder createdBy() { return new CreatedByRequestBuilder(pathParameters, requestAdapter); @@ -43,7 +49,10 @@ public CreatedByRequestBuilder createdBy() { /** * Provides operations to manage the lastModifiedBy property of the microsoft.graph.identityGovernance.workflowBase entity. * @return a {@link LastModifiedByRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public LastModifiedByRequestBuilder lastModifiedBy() { return new LastModifiedByRequestBuilder(pathParameters, requestAdapter); @@ -51,7 +60,10 @@ public LastModifiedByRequestBuilder lastModifiedBy() { /** * Provides operations to manage the tasks property of the microsoft.graph.identityGovernance.workflowBase entity. * @return a {@link TasksRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public TasksRequestBuilder tasks() { return new TasksRequestBuilder(pathParameters, requestAdapter); @@ -76,9 +88,12 @@ public WorkflowVersionVersionNumberItemRequestBuilder(@jakarta.annotation.Nonnul * Read the properties and relationships of a workflowVersion object. * @return a {@link WorkflowVersion} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public WorkflowVersion get() { return get(null); } @@ -87,9 +102,12 @@ public WorkflowVersion get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link WorkflowVersion} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public WorkflowVersion get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -99,8 +117,11 @@ public WorkflowVersion get(@jakarta.annotation.Nullable final java.util.function /** * Read the properties and relationships of a workflowVersion object. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -108,8 +129,11 @@ public RequestInformation toGetRequestInformation() { * Read the properties and relationships of a workflowVersion object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -120,8 +144,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link WorkflowVersionVersionNumberItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public WorkflowVersionVersionNumberItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new WorkflowVersionVersionNumberItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/administrationscopetargets/AdministrationScopeTargetsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/administrationscopetargets/AdministrationScopeTargetsRequestBuilder.java index 950609ad2a4..864fcd2cb45 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/administrationscopetargets/AdministrationScopeTargetsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/administrationscopetargets/AdministrationScopeTargetsRequestBuilder.java @@ -25,7 +25,10 @@ public class AdministrationScopeTargetsRequestBuilder extends BaseRequestBuilder /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -34,8 +37,11 @@ public CountRequestBuilder count() { * Provides operations to manage the administrationScopeTargets property of the microsoft.graph.identityGovernance.workflowBase entity. * @param directoryObjectId The unique identifier of directoryObject * @return a {@link DirectoryObjectItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public DirectoryObjectItemRequestBuilder byDirectoryObjectId(@jakarta.annotation.Nonnull final String directoryObjectId) { Objects.requireNonNull(directoryObjectId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -62,8 +68,11 @@ public AdministrationScopeTargetsRequestBuilder(@jakarta.annotation.Nonnull fina * The administrative units in the scope of the workflow. Optional. Supports $expand. * @return a {@link DirectoryObjectCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public DirectoryObjectCollectionResponse get() { return get(null); } @@ -72,8 +81,11 @@ public DirectoryObjectCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DirectoryObjectCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public DirectoryObjectCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -83,8 +95,11 @@ public DirectoryObjectCollectionResponse get(@jakarta.annotation.Nullable final /** * The administrative units in the scope of the workflow. Optional. Supports $expand. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -92,8 +107,11 @@ public RequestInformation toGetRequestInformation() { * The administrative units in the scope of the workflow. Optional. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -104,8 +122,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AdministrationScopeTargetsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AdministrationScopeTargetsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AdministrationScopeTargetsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/administrationscopetargets/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/administrationscopetargets/count/CountRequestBuilder.java index fc0d02575fc..55aa8cfdc28 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/administrationscopetargets/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/administrationscopetargets/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/administrationscopetargets/item/DirectoryObjectItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/administrationscopetargets/item/DirectoryObjectItemRequestBuilder.java index 67729fac556..b1ff2396770 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/administrationscopetargets/item/DirectoryObjectItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/administrationscopetargets/item/DirectoryObjectItemRequestBuilder.java @@ -40,8 +40,11 @@ public DirectoryObjectItemRequestBuilder(@jakarta.annotation.Nonnull final Strin * The administrative units in the scope of the workflow. Optional. Supports $expand. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public DirectoryObject get() { return get(null); } @@ -50,8 +53,11 @@ public DirectoryObject get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public DirectoryObject get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public DirectoryObject get(@jakarta.annotation.Nullable final java.util.function /** * The administrative units in the scope of the workflow. Optional. Supports $expand. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * The administrative units in the scope of the workflow. Optional. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link DirectoryObjectItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public DirectoryObjectItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new DirectoryObjectItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/createdby/CreatedByRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/createdby/CreatedByRequestBuilder.java index c9bcbd66a05..7eea83b19f2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/createdby/CreatedByRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/createdby/CreatedByRequestBuilder.java @@ -25,7 +25,10 @@ public class CreatedByRequestBuilder extends BaseRequestBuilder { /** * The mailboxSettings property * @return a {@link MailboxSettingsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public MailboxSettingsRequestBuilder mailboxSettings() { return new MailboxSettingsRequestBuilder(pathParameters, requestAdapter); @@ -33,7 +36,10 @@ public MailboxSettingsRequestBuilder mailboxSettings() { /** * The serviceProvisioningErrors property * @return a {@link ServiceProvisioningErrorsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ServiceProvisioningErrorsRequestBuilder serviceProvisioningErrors() { return new ServiceProvisioningErrorsRequestBuilder(pathParameters, requestAdapter); @@ -58,8 +64,11 @@ public CreatedByRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, * The user who created the workflow. * @return a {@link User} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public User get() { return get(null); } @@ -68,8 +77,11 @@ public User get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link User} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public User get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -79,8 +91,11 @@ public User get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -100,8 +118,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CreatedByRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CreatedByRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CreatedByRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/createdby/mailboxsettings/MailboxSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/createdby/mailboxsettings/MailboxSettingsRequestBuilder.java index c44abb7c25e..089ab981601 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/createdby/mailboxsettings/MailboxSettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/createdby/mailboxsettings/MailboxSettingsRequestBuilder.java @@ -40,8 +40,11 @@ public MailboxSettingsRequestBuilder(@jakarta.annotation.Nonnull final String ra * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Requires $select to retrieve. * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings get() { return get(null); } @@ -50,8 +53,11 @@ public MailboxSettings get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -63,8 +69,11 @@ public MailboxSettings get(@jakarta.annotation.Nullable final java.util.function * @param body The request body * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings body) { return patch(body, null); } @@ -74,8 +83,11 @@ public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings b * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -86,8 +98,11 @@ public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings b /** * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Requires $select to retrieve. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -95,8 +110,11 @@ public RequestInformation toGetRequestInformation() { * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Requires $select to retrieve. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -107,8 +125,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update property mailboxSettings value. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxSettings body) { return toPatchRequestInformation(body, null); } @@ -117,8 +138,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -131,8 +155,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link MailboxSettingsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public MailboxSettingsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new MailboxSettingsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/createdby/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/createdby/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java index a2c35823567..acbcf0657b4 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/createdby/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/createdby/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java @@ -24,7 +24,10 @@ public class ServiceProvisioningErrorsRequestBuilder extends BaseRequestBuilder /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -49,8 +52,11 @@ public ServiceProvisioningErrorsRequestBuilder(@jakarta.annotation.Nonnull final * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. * @return a {@link ServiceProvisioningErrorCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ServiceProvisioningErrorCollectionResponse get() { return get(null); } @@ -59,8 +65,11 @@ public ServiceProvisioningErrorCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ServiceProvisioningErrorCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ServiceProvisioningErrorCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -70,8 +79,11 @@ public ServiceProvisioningErrorCollectionResponse get(@jakarta.annotation.Nullab /** * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -79,8 +91,11 @@ public RequestInformation toGetRequestInformation() { * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -91,8 +106,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ServiceProvisioningErrorsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ServiceProvisioningErrorsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ServiceProvisioningErrorsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/createdby/serviceprovisioningerrors/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/createdby/serviceprovisioningerrors/count/CountRequestBuilder.java index 27dcedd352a..efd418a2a03 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/createdby/serviceprovisioningerrors/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/createdby/serviceprovisioningerrors/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/lastmodifiedby/LastModifiedByRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/lastmodifiedby/LastModifiedByRequestBuilder.java index 1944e6eee3c..e1254fc652a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/lastmodifiedby/LastModifiedByRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/lastmodifiedby/LastModifiedByRequestBuilder.java @@ -25,7 +25,10 @@ public class LastModifiedByRequestBuilder extends BaseRequestBuilder { /** * The mailboxSettings property * @return a {@link MailboxSettingsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public MailboxSettingsRequestBuilder mailboxSettings() { return new MailboxSettingsRequestBuilder(pathParameters, requestAdapter); @@ -33,7 +36,10 @@ public MailboxSettingsRequestBuilder mailboxSettings() { /** * The serviceProvisioningErrors property * @return a {@link ServiceProvisioningErrorsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ServiceProvisioningErrorsRequestBuilder serviceProvisioningErrors() { return new ServiceProvisioningErrorsRequestBuilder(pathParameters, requestAdapter); @@ -58,8 +64,11 @@ public LastModifiedByRequestBuilder(@jakarta.annotation.Nonnull final String raw * The user who last modified the workflow. * @return a {@link User} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public User get() { return get(null); } @@ -68,8 +77,11 @@ public User get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link User} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public User get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -79,8 +91,11 @@ public User get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -100,8 +118,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link LastModifiedByRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public LastModifiedByRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new LastModifiedByRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/lastmodifiedby/mailboxsettings/MailboxSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/lastmodifiedby/mailboxsettings/MailboxSettingsRequestBuilder.java index e0d586dc79b..a14428ed125 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/lastmodifiedby/mailboxsettings/MailboxSettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/lastmodifiedby/mailboxsettings/MailboxSettingsRequestBuilder.java @@ -40,8 +40,11 @@ public MailboxSettingsRequestBuilder(@jakarta.annotation.Nonnull final String ra * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Requires $select to retrieve. * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings get() { return get(null); } @@ -50,8 +53,11 @@ public MailboxSettings get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -63,8 +69,11 @@ public MailboxSettings get(@jakarta.annotation.Nullable final java.util.function * @param body The request body * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings body) { return patch(body, null); } @@ -74,8 +83,11 @@ public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings b * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -86,8 +98,11 @@ public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings b /** * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Requires $select to retrieve. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -95,8 +110,11 @@ public RequestInformation toGetRequestInformation() { * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Requires $select to retrieve. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -107,8 +125,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update property mailboxSettings value. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxSettings body) { return toPatchRequestInformation(body, null); } @@ -117,8 +138,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -131,8 +155,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link MailboxSettingsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public MailboxSettingsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new MailboxSettingsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/lastmodifiedby/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/lastmodifiedby/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java index fd2bd3fcda3..13b5f8ea3b7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/lastmodifiedby/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/lastmodifiedby/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java @@ -24,7 +24,10 @@ public class ServiceProvisioningErrorsRequestBuilder extends BaseRequestBuilder /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -49,8 +52,11 @@ public ServiceProvisioningErrorsRequestBuilder(@jakarta.annotation.Nonnull final * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. * @return a {@link ServiceProvisioningErrorCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ServiceProvisioningErrorCollectionResponse get() { return get(null); } @@ -59,8 +65,11 @@ public ServiceProvisioningErrorCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ServiceProvisioningErrorCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ServiceProvisioningErrorCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -70,8 +79,11 @@ public ServiceProvisioningErrorCollectionResponse get(@jakarta.annotation.Nullab /** * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -79,8 +91,11 @@ public RequestInformation toGetRequestInformation() { * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -91,8 +106,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ServiceProvisioningErrorsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ServiceProvisioningErrorsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ServiceProvisioningErrorsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/lastmodifiedby/serviceprovisioningerrors/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/lastmodifiedby/serviceprovisioningerrors/count/CountRequestBuilder.java index 993098b43a9..15963ec0ea5 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/lastmodifiedby/serviceprovisioningerrors/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/lastmodifiedby/serviceprovisioningerrors/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/tasks/TasksRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/tasks/TasksRequestBuilder.java index b254f652caf..67162045d60 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/tasks/TasksRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/tasks/TasksRequestBuilder.java @@ -26,7 +26,10 @@ public class TasksRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the tasks property of the microsoft.graph.identityGovernance.workflowBase entity. * @param taskId The unique identifier of task * @return a {@link TaskItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public TaskItemRequestBuilder byTaskId(@jakarta.annotation.Nonnull final String taskId) { Objects.requireNonNull(taskId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,9 +69,12 @@ public TasksRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get a list of task objects in a workflowVersion. * @return a {@link TaskCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public TaskCollectionResponse get() { return get(null); } @@ -74,9 +83,12 @@ public TaskCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link TaskCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public TaskCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -88,8 +100,11 @@ public TaskCollectionResponse get(@jakarta.annotation.Nullable final java.util.f * @param body The request body * @return a {@link Task} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Task post(@jakarta.annotation.Nonnull final Task body) { return post(body, null); } @@ -99,8 +114,11 @@ public Task post(@jakarta.annotation.Nonnull final Task body) { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Task} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Task post(@jakarta.annotation.Nonnull final Task body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -111,8 +129,11 @@ public Task post(@jakarta.annotation.Nonnull final Task body, @jakarta.annotatio /** * Get a list of task objects in a workflowVersion. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -120,8 +141,11 @@ public RequestInformation toGetRequestInformation() { * Get a list of task objects in a workflowVersion. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -132,8 +156,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to tasks for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Task body) { return toPostRequestInformation(body, null); } @@ -142,8 +169,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Task body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -156,8 +186,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link TasksRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public TasksRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new TasksRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/tasks/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/tasks/count/CountRequestBuilder.java index 2ee74a746c2..1bcf6c48ecd 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/tasks/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/tasks/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/tasks/item/TaskItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/tasks/item/TaskItemRequestBuilder.java index a141d8395e6..53f8706a60c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/tasks/item/TaskItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/tasks/item/TaskItemRequestBuilder.java @@ -24,7 +24,10 @@ public class TaskItemRequestBuilder extends BaseRequestBuilder { /** * Provides operations to manage the taskProcessingResults property of the microsoft.graph.identityGovernance.task entity. * @return a {@link TaskProcessingResultsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public TaskProcessingResultsRequestBuilder taskProcessingResults() { return new TaskProcessingResultsRequestBuilder(pathParameters, requestAdapter); @@ -48,7 +51,10 @@ public TaskItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ /** * Delete navigation property tasks for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -56,7 +62,10 @@ public void delete() { * Delete navigation property tasks for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -67,9 +76,12 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Get a specific task from a workflow or workflowVersion. * @return a {@link Task} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public Task get() { return get(null); } @@ -78,9 +90,12 @@ public Task get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Task} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public Task get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -92,8 +107,11 @@ public Task get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -115,8 +136,11 @@ public Task patch(@jakarta.annotation.Nonnull final Task body, @jakarta.annotati /** * Delete navigation property tasks for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property tasks for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -135,8 +162,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Get a specific task from a workflow or workflowVersion. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -144,8 +174,11 @@ public RequestInformation toGetRequestInformation() { * Get a specific task from a workflow or workflowVersion. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -156,8 +189,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property tasks in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final Task body) { return toPatchRequestInformation(body, null); } @@ -166,8 +202,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final Task body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -180,8 +219,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link TaskItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public TaskItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new TaskItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/tasks/item/taskprocessingresults/TaskProcessingResultsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/tasks/item/taskprocessingresults/TaskProcessingResultsRequestBuilder.java index e9e2215fce5..3f8aa4aa4dc 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/tasks/item/taskprocessingresults/TaskProcessingResultsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/tasks/item/taskprocessingresults/TaskProcessingResultsRequestBuilder.java @@ -25,7 +25,10 @@ public class TaskProcessingResultsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -34,8 +37,11 @@ public CountRequestBuilder count() { * Provides operations to manage the taskProcessingResults property of the microsoft.graph.identityGovernance.task entity. * @param taskProcessingResultId The unique identifier of taskProcessingResult * @return a {@link TaskProcessingResultItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public TaskProcessingResultItemRequestBuilder byTaskProcessingResultId(@jakarta.annotation.Nonnull final String taskProcessingResultId) { Objects.requireNonNull(taskProcessingResultId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -62,8 +68,11 @@ public TaskProcessingResultsRequestBuilder(@jakarta.annotation.Nonnull final Str * The result of processing the task. * @return a {@link TaskProcessingResultCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public TaskProcessingResultCollectionResponse get() { return get(null); } @@ -72,8 +81,11 @@ public TaskProcessingResultCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link TaskProcessingResultCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public TaskProcessingResultCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -83,8 +95,11 @@ public TaskProcessingResultCollectionResponse get(@jakarta.annotation.Nullable f /** * The result of processing the task. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -92,8 +107,11 @@ public RequestInformation toGetRequestInformation() { * The result of processing the task. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -104,8 +122,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link TaskProcessingResultsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public TaskProcessingResultsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new TaskProcessingResultsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/tasks/item/taskprocessingresults/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/tasks/item/taskprocessingresults/count/CountRequestBuilder.java index 394ee111e55..3c19c3e1533 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/tasks/item/taskprocessingresults/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/tasks/item/taskprocessingresults/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/tasks/item/taskprocessingresults/item/TaskProcessingResultItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/tasks/item/taskprocessingresults/item/TaskProcessingResultItemRequestBuilder.java index 205f37ced7d..c8a06df2d58 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/tasks/item/taskprocessingresults/item/TaskProcessingResultItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/tasks/item/taskprocessingresults/item/TaskProcessingResultItemRequestBuilder.java @@ -26,7 +26,10 @@ public class TaskProcessingResultItemRequestBuilder extends BaseRequestBuilder { /** * Provides operations to call the resume method. * @return a {@link MicrosoftGraphIdentityGovernanceResumeRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public MicrosoftGraphIdentityGovernanceResumeRequestBuilder microsoftGraphIdentityGovernanceResume() { return new MicrosoftGraphIdentityGovernanceResumeRequestBuilder(pathParameters, requestAdapter); @@ -34,7 +37,10 @@ public MicrosoftGraphIdentityGovernanceResumeRequestBuilder microsoftGraphIdenti /** * Provides operations to manage the subject property of the microsoft.graph.identityGovernance.taskProcessingResult entity. * @return a {@link SubjectRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public SubjectRequestBuilder subject() { return new SubjectRequestBuilder(pathParameters, requestAdapter); @@ -42,7 +48,10 @@ public SubjectRequestBuilder subject() { /** * Provides operations to manage the task property of the microsoft.graph.identityGovernance.taskProcessingResult entity. * @return a {@link TaskRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public TaskRequestBuilder task() { return new TaskRequestBuilder(pathParameters, requestAdapter); @@ -67,8 +76,11 @@ public TaskProcessingResultItemRequestBuilder(@jakarta.annotation.Nonnull final * The result of processing the task. * @return a {@link TaskProcessingResult} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public TaskProcessingResult get() { return get(null); } @@ -77,8 +89,11 @@ public TaskProcessingResult get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link TaskProcessingResult} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public TaskProcessingResult get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -88,8 +103,11 @@ public TaskProcessingResult get(@jakarta.annotation.Nullable final java.util.fun /** * The result of processing the task. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -97,8 +115,11 @@ public RequestInformation toGetRequestInformation() { * The result of processing the task. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -109,8 +130,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link TaskProcessingResultItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public TaskProcessingResultItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new TaskProcessingResultItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/tasks/item/taskprocessingresults/item/microsoftgraphidentitygovernanceresume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/tasks/item/taskprocessingresults/item/microsoftgraphidentitygovernanceresume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.java index 0f12eef5747..6d588ac2f5a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/tasks/item/taskprocessingresults/item/microsoftgraphidentitygovernanceresume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/tasks/item/taskprocessingresults/item/microsoftgraphidentitygovernanceresume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.java @@ -38,8 +38,11 @@ public MicrosoftGraphIdentityGovernanceResumeRequestBuilder(@jakarta.annotation. * Resume a taskProcessingResult that's inProgress. In the default case, an Azure Logic Apps system-assigned managed identity calls this API. For more information, see Lifecycle Workflows extensibility approach. * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final ResumePostRequestBody body) { post(body, null); } @@ -48,8 +51,11 @@ public void post(@jakarta.annotation.Nonnull final ResumePostRequestBody body) { * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final ResumePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -61,8 +67,11 @@ public void post(@jakarta.annotation.Nonnull final ResumePostRequestBody body, @ * Resume a taskProcessingResult that's inProgress. In the default case, an Azure Logic Apps system-assigned managed identity calls this API. For more information, see Lifecycle Workflows extensibility approach. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ResumePostRequestBody body) { return toPostRequestInformation(body, null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ResumePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -85,8 +97,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link MicrosoftGraphIdentityGovernanceResumeRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public MicrosoftGraphIdentityGovernanceResumeRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new MicrosoftGraphIdentityGovernanceResumeRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/tasks/item/taskprocessingresults/item/subject/SubjectRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/tasks/item/taskprocessingresults/item/subject/SubjectRequestBuilder.java index 64b3251bba4..b489a70489f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/tasks/item/taskprocessingresults/item/subject/SubjectRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/tasks/item/taskprocessingresults/item/subject/SubjectRequestBuilder.java @@ -25,7 +25,10 @@ public class SubjectRequestBuilder extends BaseRequestBuilder { /** * The mailboxSettings property * @return a {@link MailboxSettingsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public MailboxSettingsRequestBuilder mailboxSettings() { return new MailboxSettingsRequestBuilder(pathParameters, requestAdapter); @@ -33,7 +36,10 @@ public MailboxSettingsRequestBuilder mailboxSettings() { /** * The serviceProvisioningErrors property * @return a {@link ServiceProvisioningErrorsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ServiceProvisioningErrorsRequestBuilder serviceProvisioningErrors() { return new ServiceProvisioningErrorsRequestBuilder(pathParameters, requestAdapter); @@ -58,8 +64,11 @@ public SubjectRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j * The unique identifier of the Microsoft Entra user targeted for the task execution.Supports $filter(eq, ne) and $expand. * @return a {@link User} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public User get() { return get(null); } @@ -68,8 +77,11 @@ public User get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link User} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public User get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -79,8 +91,11 @@ public User get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -100,8 +118,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link SubjectRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public SubjectRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new SubjectRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/tasks/item/taskprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/tasks/item/taskprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java index 47a1a14f9f5..b7132ad155c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/tasks/item/taskprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/tasks/item/taskprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java @@ -40,8 +40,11 @@ public MailboxSettingsRequestBuilder(@jakarta.annotation.Nonnull final String ra * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Requires $select to retrieve. * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings get() { return get(null); } @@ -50,8 +53,11 @@ public MailboxSettings get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -63,8 +69,11 @@ public MailboxSettings get(@jakarta.annotation.Nullable final java.util.function * @param body The request body * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings body) { return patch(body, null); } @@ -74,8 +83,11 @@ public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings b * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -86,8 +98,11 @@ public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings b /** * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Requires $select to retrieve. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -95,8 +110,11 @@ public RequestInformation toGetRequestInformation() { * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Requires $select to retrieve. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -107,8 +125,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update property mailboxSettings value. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxSettings body) { return toPatchRequestInformation(body, null); } @@ -117,8 +138,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -131,8 +155,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link MailboxSettingsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public MailboxSettingsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new MailboxSettingsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/tasks/item/taskprocessingresults/item/subject/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/tasks/item/taskprocessingresults/item/subject/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java index 9fa26ced6be..d54c938b3ba 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/tasks/item/taskprocessingresults/item/subject/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/tasks/item/taskprocessingresults/item/subject/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java @@ -24,7 +24,10 @@ public class ServiceProvisioningErrorsRequestBuilder extends BaseRequestBuilder /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -49,8 +52,11 @@ public ServiceProvisioningErrorsRequestBuilder(@jakarta.annotation.Nonnull final * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. * @return a {@link ServiceProvisioningErrorCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ServiceProvisioningErrorCollectionResponse get() { return get(null); } @@ -59,8 +65,11 @@ public ServiceProvisioningErrorCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ServiceProvisioningErrorCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ServiceProvisioningErrorCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -70,8 +79,11 @@ public ServiceProvisioningErrorCollectionResponse get(@jakarta.annotation.Nullab /** * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -79,8 +91,11 @@ public RequestInformation toGetRequestInformation() { * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -91,8 +106,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ServiceProvisioningErrorsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ServiceProvisioningErrorsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ServiceProvisioningErrorsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/tasks/item/taskprocessingresults/item/subject/serviceprovisioningerrors/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/tasks/item/taskprocessingresults/item/subject/serviceprovisioningerrors/count/CountRequestBuilder.java index 01aee8fdb6b..eef3303cbca 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/tasks/item/taskprocessingresults/item/subject/serviceprovisioningerrors/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/tasks/item/taskprocessingresults/item/subject/serviceprovisioningerrors/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/tasks/item/taskprocessingresults/item/task/TaskRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/tasks/item/taskprocessingresults/item/task/TaskRequestBuilder.java index 44dce50b329..354aa3a0b7d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/tasks/item/taskprocessingresults/item/task/TaskRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/tasks/item/taskprocessingresults/item/task/TaskRequestBuilder.java @@ -40,8 +40,11 @@ public TaskRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jaka * The related workflow task * @return a {@link Task} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Task get() { return get(null); } @@ -50,8 +53,11 @@ public Task get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Task} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Task get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public Task get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link TaskRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public TaskRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new TaskRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflowtemplates/WorkflowTemplatesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflowtemplates/WorkflowTemplatesRequestBuilder.java index 05d678588d0..4c928f70336 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflowtemplates/WorkflowTemplatesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflowtemplates/WorkflowTemplatesRequestBuilder.java @@ -25,7 +25,10 @@ public class WorkflowTemplatesRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -34,8 +37,11 @@ public CountRequestBuilder count() { * Provides operations to manage the workflowTemplates property of the microsoft.graph.identityGovernance.lifecycleWorkflowsContainer entity. * @param workflowTemplateId The unique identifier of workflowTemplate * @return a {@link WorkflowTemplateItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public WorkflowTemplateItemRequestBuilder byWorkflowTemplateId(@jakarta.annotation.Nonnull final String workflowTemplateId) { Objects.requireNonNull(workflowTemplateId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -62,9 +68,12 @@ public WorkflowTemplatesRequestBuilder(@jakarta.annotation.Nonnull final String * Get a list of the workflowTemplate objects and their properties. * @return a {@link WorkflowTemplateCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public WorkflowTemplateCollectionResponse get() { return get(null); } @@ -73,9 +82,12 @@ public WorkflowTemplateCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link WorkflowTemplateCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public WorkflowTemplateCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -85,8 +97,11 @@ public WorkflowTemplateCollectionResponse get(@jakarta.annotation.Nullable final /** * Get a list of the workflowTemplate objects and their properties. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -94,8 +109,11 @@ public RequestInformation toGetRequestInformation() { * Get a list of the workflowTemplate objects and their properties. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -106,8 +124,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link WorkflowTemplatesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public WorkflowTemplatesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new WorkflowTemplatesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflowtemplates/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflowtemplates/count/CountRequestBuilder.java index 61b627b99f8..e22c0c3189b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflowtemplates/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflowtemplates/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflowtemplates/item/WorkflowTemplateItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflowtemplates/item/WorkflowTemplateItemRequestBuilder.java index 3921910a1b7..77f42ee48b0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflowtemplates/item/WorkflowTemplateItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflowtemplates/item/WorkflowTemplateItemRequestBuilder.java @@ -24,7 +24,10 @@ public class WorkflowTemplateItemRequestBuilder extends BaseRequestBuilder { /** * Provides operations to manage the tasks property of the microsoft.graph.identityGovernance.workflowTemplate entity. * @return a {@link TasksRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public TasksRequestBuilder tasks() { return new TasksRequestBuilder(pathParameters, requestAdapter); @@ -49,9 +52,12 @@ public WorkflowTemplateItemRequestBuilder(@jakarta.annotation.Nonnull final Stri * Read the properties and relationships of a workflowTemplate object. * @return a {@link WorkflowTemplate} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public WorkflowTemplate get() { return get(null); } @@ -60,9 +66,12 @@ public WorkflowTemplate get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link WorkflowTemplate} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public WorkflowTemplate get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -72,8 +81,11 @@ public WorkflowTemplate get(@jakarta.annotation.Nullable final java.util.functio /** * Read the properties and relationships of a workflowTemplate object. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation() { * Read the properties and relationships of a workflowTemplate object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -93,8 +108,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link WorkflowTemplateItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public WorkflowTemplateItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new WorkflowTemplateItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflowtemplates/item/tasks/TasksRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflowtemplates/item/tasks/TasksRequestBuilder.java index 6464fb4656c..f624a6b66c8 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflowtemplates/item/tasks/TasksRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflowtemplates/item/tasks/TasksRequestBuilder.java @@ -25,7 +25,10 @@ public class TasksRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -34,8 +37,11 @@ public CountRequestBuilder count() { * Provides operations to manage the tasks property of the microsoft.graph.identityGovernance.workflowTemplate entity. * @param taskId The unique identifier of task * @return a {@link TaskItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public TaskItemRequestBuilder byTaskId(@jakarta.annotation.Nonnull final String taskId) { Objects.requireNonNull(taskId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -62,8 +68,11 @@ public TasksRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Represents the configured tasks to execute and their execution sequence within a workflow. This relationship is expanded by default. * @return a {@link TaskCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public TaskCollectionResponse get() { return get(null); } @@ -72,8 +81,11 @@ public TaskCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link TaskCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public TaskCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -83,8 +95,11 @@ public TaskCollectionResponse get(@jakarta.annotation.Nullable final java.util.f /** * Represents the configured tasks to execute and their execution sequence within a workflow. This relationship is expanded by default. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -92,8 +107,11 @@ public RequestInformation toGetRequestInformation() { * Represents the configured tasks to execute and their execution sequence within a workflow. This relationship is expanded by default. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -104,8 +122,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link TasksRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public TasksRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new TasksRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflowtemplates/item/tasks/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflowtemplates/item/tasks/count/CountRequestBuilder.java index cca52d35734..295dfb7f6f6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflowtemplates/item/tasks/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflowtemplates/item/tasks/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflowtemplates/item/tasks/item/TaskItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflowtemplates/item/tasks/item/TaskItemRequestBuilder.java index 631cce82c23..d7cc09e6cbf 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflowtemplates/item/tasks/item/TaskItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflowtemplates/item/tasks/item/TaskItemRequestBuilder.java @@ -24,7 +24,10 @@ public class TaskItemRequestBuilder extends BaseRequestBuilder { /** * Provides operations to manage the taskProcessingResults property of the microsoft.graph.identityGovernance.task entity. * @return a {@link TaskProcessingResultsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public TaskProcessingResultsRequestBuilder taskProcessingResults() { return new TaskProcessingResultsRequestBuilder(pathParameters, requestAdapter); @@ -49,8 +52,11 @@ public TaskItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ * Represents the configured tasks to execute and their execution sequence within a workflow. This relationship is expanded by default. * @return a {@link Task} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Task get() { return get(null); } @@ -59,8 +65,11 @@ public Task get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Task} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Task get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -70,8 +79,11 @@ public Task get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -91,8 +106,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link TaskItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public TaskItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new TaskItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflowtemplates/item/tasks/item/taskprocessingresults/TaskProcessingResultsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflowtemplates/item/tasks/item/taskprocessingresults/TaskProcessingResultsRequestBuilder.java index 369c2d43a5e..1221866165f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflowtemplates/item/tasks/item/taskprocessingresults/TaskProcessingResultsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflowtemplates/item/tasks/item/taskprocessingresults/TaskProcessingResultsRequestBuilder.java @@ -25,7 +25,10 @@ public class TaskProcessingResultsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -34,8 +37,11 @@ public CountRequestBuilder count() { * Provides operations to manage the taskProcessingResults property of the microsoft.graph.identityGovernance.task entity. * @param taskProcessingResultId The unique identifier of taskProcessingResult * @return a {@link TaskProcessingResultItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public TaskProcessingResultItemRequestBuilder byTaskProcessingResultId(@jakarta.annotation.Nonnull final String taskProcessingResultId) { Objects.requireNonNull(taskProcessingResultId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -62,8 +68,11 @@ public TaskProcessingResultsRequestBuilder(@jakarta.annotation.Nonnull final Str * The result of processing the task. * @return a {@link TaskProcessingResultCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public TaskProcessingResultCollectionResponse get() { return get(null); } @@ -72,8 +81,11 @@ public TaskProcessingResultCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link TaskProcessingResultCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public TaskProcessingResultCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -83,8 +95,11 @@ public TaskProcessingResultCollectionResponse get(@jakarta.annotation.Nullable f /** * The result of processing the task. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -92,8 +107,11 @@ public RequestInformation toGetRequestInformation() { * The result of processing the task. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -104,8 +122,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link TaskProcessingResultsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public TaskProcessingResultsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new TaskProcessingResultsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflowtemplates/item/tasks/item/taskprocessingresults/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflowtemplates/item/tasks/item/taskprocessingresults/count/CountRequestBuilder.java index 4c202947372..0e7635c80dd 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflowtemplates/item/tasks/item/taskprocessingresults/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflowtemplates/item/tasks/item/taskprocessingresults/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflowtemplates/item/tasks/item/taskprocessingresults/item/TaskProcessingResultItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflowtemplates/item/tasks/item/taskprocessingresults/item/TaskProcessingResultItemRequestBuilder.java index 9836cedb2ae..05a0481f96c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflowtemplates/item/tasks/item/taskprocessingresults/item/TaskProcessingResultItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflowtemplates/item/tasks/item/taskprocessingresults/item/TaskProcessingResultItemRequestBuilder.java @@ -26,7 +26,10 @@ public class TaskProcessingResultItemRequestBuilder extends BaseRequestBuilder { /** * Provides operations to call the resume method. * @return a {@link MicrosoftGraphIdentityGovernanceResumeRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public MicrosoftGraphIdentityGovernanceResumeRequestBuilder microsoftGraphIdentityGovernanceResume() { return new MicrosoftGraphIdentityGovernanceResumeRequestBuilder(pathParameters, requestAdapter); @@ -34,7 +37,10 @@ public MicrosoftGraphIdentityGovernanceResumeRequestBuilder microsoftGraphIdenti /** * Provides operations to manage the subject property of the microsoft.graph.identityGovernance.taskProcessingResult entity. * @return a {@link SubjectRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public SubjectRequestBuilder subject() { return new SubjectRequestBuilder(pathParameters, requestAdapter); @@ -42,7 +48,10 @@ public SubjectRequestBuilder subject() { /** * Provides operations to manage the task property of the microsoft.graph.identityGovernance.taskProcessingResult entity. * @return a {@link TaskRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public TaskRequestBuilder task() { return new TaskRequestBuilder(pathParameters, requestAdapter); @@ -67,8 +76,11 @@ public TaskProcessingResultItemRequestBuilder(@jakarta.annotation.Nonnull final * The result of processing the task. * @return a {@link TaskProcessingResult} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public TaskProcessingResult get() { return get(null); } @@ -77,8 +89,11 @@ public TaskProcessingResult get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link TaskProcessingResult} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public TaskProcessingResult get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -88,8 +103,11 @@ public TaskProcessingResult get(@jakarta.annotation.Nullable final java.util.fun /** * The result of processing the task. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -97,8 +115,11 @@ public RequestInformation toGetRequestInformation() { * The result of processing the task. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -109,8 +130,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link TaskProcessingResultItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public TaskProcessingResultItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new TaskProcessingResultItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflowtemplates/item/tasks/item/taskprocessingresults/item/microsoftgraphidentitygovernanceresume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflowtemplates/item/tasks/item/taskprocessingresults/item/microsoftgraphidentitygovernanceresume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.java index e1dcb371669..a8c98a8d5e1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflowtemplates/item/tasks/item/taskprocessingresults/item/microsoftgraphidentitygovernanceresume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflowtemplates/item/tasks/item/taskprocessingresults/item/microsoftgraphidentitygovernanceresume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.java @@ -38,8 +38,11 @@ public MicrosoftGraphIdentityGovernanceResumeRequestBuilder(@jakarta.annotation. * Resume a taskProcessingResult that's inProgress. In the default case, an Azure Logic Apps system-assigned managed identity calls this API. For more information, see Lifecycle Workflows extensibility approach. * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final ResumePostRequestBody body) { post(body, null); } @@ -48,8 +51,11 @@ public void post(@jakarta.annotation.Nonnull final ResumePostRequestBody body) { * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final ResumePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -61,8 +67,11 @@ public void post(@jakarta.annotation.Nonnull final ResumePostRequestBody body, @ * Resume a taskProcessingResult that's inProgress. In the default case, an Azure Logic Apps system-assigned managed identity calls this API. For more information, see Lifecycle Workflows extensibility approach. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ResumePostRequestBody body) { return toPostRequestInformation(body, null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ResumePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -85,8 +97,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link MicrosoftGraphIdentityGovernanceResumeRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public MicrosoftGraphIdentityGovernanceResumeRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new MicrosoftGraphIdentityGovernanceResumeRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflowtemplates/item/tasks/item/taskprocessingresults/item/subject/SubjectRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflowtemplates/item/tasks/item/taskprocessingresults/item/subject/SubjectRequestBuilder.java index 6367c5d8dd7..917d9deb623 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflowtemplates/item/tasks/item/taskprocessingresults/item/subject/SubjectRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflowtemplates/item/tasks/item/taskprocessingresults/item/subject/SubjectRequestBuilder.java @@ -25,7 +25,10 @@ public class SubjectRequestBuilder extends BaseRequestBuilder { /** * The mailboxSettings property * @return a {@link MailboxSettingsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public MailboxSettingsRequestBuilder mailboxSettings() { return new MailboxSettingsRequestBuilder(pathParameters, requestAdapter); @@ -33,7 +36,10 @@ public MailboxSettingsRequestBuilder mailboxSettings() { /** * The serviceProvisioningErrors property * @return a {@link ServiceProvisioningErrorsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ServiceProvisioningErrorsRequestBuilder serviceProvisioningErrors() { return new ServiceProvisioningErrorsRequestBuilder(pathParameters, requestAdapter); @@ -58,8 +64,11 @@ public SubjectRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j * The unique identifier of the Microsoft Entra user targeted for the task execution.Supports $filter(eq, ne) and $expand. * @return a {@link User} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public User get() { return get(null); } @@ -68,8 +77,11 @@ public User get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link User} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public User get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -79,8 +91,11 @@ public User get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -100,8 +118,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link SubjectRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public SubjectRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new SubjectRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflowtemplates/item/tasks/item/taskprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflowtemplates/item/tasks/item/taskprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java index abc98dbecb1..945e199cd61 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflowtemplates/item/tasks/item/taskprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflowtemplates/item/tasks/item/taskprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java @@ -40,8 +40,11 @@ public MailboxSettingsRequestBuilder(@jakarta.annotation.Nonnull final String ra * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Requires $select to retrieve. * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings get() { return get(null); } @@ -50,8 +53,11 @@ public MailboxSettings get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -63,8 +69,11 @@ public MailboxSettings get(@jakarta.annotation.Nullable final java.util.function * @param body The request body * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings body) { return patch(body, null); } @@ -74,8 +83,11 @@ public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings b * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MailboxSettings} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -86,8 +98,11 @@ public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings b /** * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Requires $select to retrieve. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -95,8 +110,11 @@ public RequestInformation toGetRequestInformation() { * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Requires $select to retrieve. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -107,8 +125,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update property mailboxSettings value. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxSettings body) { return toPatchRequestInformation(body, null); } @@ -117,8 +138,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -131,8 +155,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link MailboxSettingsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public MailboxSettingsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new MailboxSettingsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflowtemplates/item/tasks/item/taskprocessingresults/item/subject/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflowtemplates/item/tasks/item/taskprocessingresults/item/subject/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java index 546fd73b994..da47b76f0dd 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflowtemplates/item/tasks/item/taskprocessingresults/item/subject/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflowtemplates/item/tasks/item/taskprocessingresults/item/subject/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java @@ -24,7 +24,10 @@ public class ServiceProvisioningErrorsRequestBuilder extends BaseRequestBuilder /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -49,8 +52,11 @@ public ServiceProvisioningErrorsRequestBuilder(@jakarta.annotation.Nonnull final * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. * @return a {@link ServiceProvisioningErrorCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ServiceProvisioningErrorCollectionResponse get() { return get(null); } @@ -59,8 +65,11 @@ public ServiceProvisioningErrorCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ServiceProvisioningErrorCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ServiceProvisioningErrorCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -70,8 +79,11 @@ public ServiceProvisioningErrorCollectionResponse get(@jakarta.annotation.Nullab /** * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -79,8 +91,11 @@ public RequestInformation toGetRequestInformation() { * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -91,8 +106,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ServiceProvisioningErrorsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ServiceProvisioningErrorsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ServiceProvisioningErrorsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflowtemplates/item/tasks/item/taskprocessingresults/item/subject/serviceprovisioningerrors/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflowtemplates/item/tasks/item/taskprocessingresults/item/subject/serviceprovisioningerrors/count/CountRequestBuilder.java index 33d22991af0..bebe9fe9bb5 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflowtemplates/item/tasks/item/taskprocessingresults/item/subject/serviceprovisioningerrors/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflowtemplates/item/tasks/item/taskprocessingresults/item/subject/serviceprovisioningerrors/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflowtemplates/item/tasks/item/taskprocessingresults/item/task/TaskRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflowtemplates/item/tasks/item/taskprocessingresults/item/task/TaskRequestBuilder.java index a9bef827234..f9242dfc40a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflowtemplates/item/tasks/item/taskprocessingresults/item/task/TaskRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflowtemplates/item/tasks/item/taskprocessingresults/item/task/TaskRequestBuilder.java @@ -40,8 +40,11 @@ public TaskRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jaka * The related workflow task * @return a {@link Task} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Task get() { return get(null); } @@ -50,8 +53,11 @@ public Task get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Task} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Task get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public Task get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link TaskRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public TaskRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new TaskRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/PermissionsAnalyticsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/PermissionsAnalyticsRequestBuilder.java index 083ff31bee0..b0bbc98fb1d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/PermissionsAnalyticsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/PermissionsAnalyticsRequestBuilder.java @@ -26,7 +26,10 @@ public class PermissionsAnalyticsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to manage the aws property of the microsoft.graph.permissionsAnalyticsAggregation entity. * @return a {@link AwsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AwsRequestBuilder aws() { return new AwsRequestBuilder(pathParameters, requestAdapter); @@ -34,7 +37,10 @@ public AwsRequestBuilder aws() { /** * Provides operations to manage the azure property of the microsoft.graph.permissionsAnalyticsAggregation entity. * @return a {@link AzureRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AzureRequestBuilder azure() { return new AzureRequestBuilder(pathParameters, requestAdapter); @@ -42,7 +48,10 @@ public AzureRequestBuilder azure() { /** * Provides operations to manage the gcp property of the microsoft.graph.permissionsAnalyticsAggregation entity. * @return a {@link GcpRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public GcpRequestBuilder gcp() { return new GcpRequestBuilder(pathParameters, requestAdapter); @@ -66,7 +75,10 @@ public PermissionsAnalyticsRequestBuilder(@jakarta.annotation.Nonnull final Stri /** * Delete navigation property permissionsAnalytics for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -74,7 +86,10 @@ public void delete() { * Delete navigation property permissionsAnalytics for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -85,8 +100,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Get permissionsAnalytics from identityGovernance * @return a {@link PermissionsAnalyticsAggregation} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public PermissionsAnalyticsAggregation get() { return get(null); } @@ -95,8 +113,11 @@ public PermissionsAnalyticsAggregation get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link PermissionsAnalyticsAggregation} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public PermissionsAnalyticsAggregation get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -108,8 +129,11 @@ public PermissionsAnalyticsAggregation get(@jakarta.annotation.Nullable final ja * @param body The request body * @return a {@link PermissionsAnalyticsAggregation} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public PermissionsAnalyticsAggregation patch(@jakarta.annotation.Nonnull final PermissionsAnalyticsAggregation body) { return patch(body, null); } @@ -119,8 +143,11 @@ public PermissionsAnalyticsAggregation patch(@jakarta.annotation.Nonnull final P * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link PermissionsAnalyticsAggregation} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public PermissionsAnalyticsAggregation patch(@jakarta.annotation.Nonnull final PermissionsAnalyticsAggregation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -131,8 +158,11 @@ public PermissionsAnalyticsAggregation patch(@jakarta.annotation.Nonnull final P /** * Delete navigation property permissionsAnalytics for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -140,8 +170,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property permissionsAnalytics for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -151,8 +184,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Get permissionsAnalytics from identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -160,8 +196,11 @@ public RequestInformation toGetRequestInformation() { * Get permissionsAnalytics from identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -172,8 +211,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property permissionsAnalytics in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final PermissionsAnalyticsAggregation body) { return toPatchRequestInformation(body, null); } @@ -182,8 +224,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final PermissionsAnalyticsAggregation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -196,8 +241,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link PermissionsAnalyticsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public PermissionsAnalyticsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new PermissionsAnalyticsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/aws/AwsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/aws/AwsRequestBuilder.java index 5aee7ae9f47..fccbb62f4c8 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/aws/AwsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/aws/AwsRequestBuilder.java @@ -25,7 +25,10 @@ public class AwsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to manage the findings property of the microsoft.graph.permissionsAnalytics entity. * @return a {@link FindingsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public FindingsRequestBuilder findings() { return new FindingsRequestBuilder(pathParameters, requestAdapter); @@ -33,7 +36,10 @@ public FindingsRequestBuilder findings() { /** * Provides operations to manage the permissionsCreepIndexDistributions property of the microsoft.graph.permissionsAnalytics entity. * @return a {@link PermissionsCreepIndexDistributionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public PermissionsCreepIndexDistributionsRequestBuilder permissionsCreepIndexDistributions() { return new PermissionsCreepIndexDistributionsRequestBuilder(pathParameters, requestAdapter); @@ -57,7 +63,10 @@ public AwsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakar /** * Delete navigation property aws for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -65,7 +74,10 @@ public void delete() { * Delete navigation property aws for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -76,8 +88,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * AWS permissions analytics findings. * @return a {@link PermissionsAnalytics} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public PermissionsAnalytics get() { return get(null); } @@ -86,8 +101,11 @@ public PermissionsAnalytics get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link PermissionsAnalytics} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public PermissionsAnalytics get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -99,8 +117,11 @@ public PermissionsAnalytics get(@jakarta.annotation.Nullable final java.util.fun * @param body The request body * @return a {@link PermissionsAnalytics} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public PermissionsAnalytics patch(@jakarta.annotation.Nonnull final PermissionsAnalytics body) { return patch(body, null); } @@ -110,8 +131,11 @@ public PermissionsAnalytics patch(@jakarta.annotation.Nonnull final PermissionsA * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link PermissionsAnalytics} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public PermissionsAnalytics patch(@jakarta.annotation.Nonnull final PermissionsAnalytics body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -122,8 +146,11 @@ public PermissionsAnalytics patch(@jakarta.annotation.Nonnull final PermissionsA /** * Delete navigation property aws for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -131,8 +158,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property aws for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -142,8 +172,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * AWS permissions analytics findings. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -151,8 +184,11 @@ public RequestInformation toGetRequestInformation() { * AWS permissions analytics findings. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -163,8 +199,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property aws in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final PermissionsAnalytics body) { return toPatchRequestInformation(body, null); } @@ -173,8 +212,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final PermissionsAnalytics body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -187,8 +229,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AwsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AwsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AwsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/aws/findings/FindingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/aws/findings/FindingsRequestBuilder.java index 6b0a11337cc..5cc1f82aa6d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/aws/findings/FindingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/aws/findings/FindingsRequestBuilder.java @@ -26,7 +26,10 @@ public class FindingsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the findings property of the microsoft.graph.permissionsAnalytics entity. * @param findingId The unique identifier of finding * @return a {@link FindingItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FindingItemRequestBuilder byFindingId(@jakarta.annotation.Nonnull final String findingId) { Objects.requireNonNull(findingId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public FindingsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ * The output of the permissions usage data analysis performed by Permissions Management to assess risk with identities and resources. * @return a {@link FindingCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public FindingCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public FindingCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link FindingCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public FindingCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public FindingCollectionResponse get(@jakarta.annotation.Nullable final java.uti * @param body The request body * @return a {@link Finding} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Finding post(@jakarta.annotation.Nonnull final Finding body) { return post(body, null); } @@ -97,8 +112,11 @@ public Finding post(@jakarta.annotation.Nonnull final Finding body) { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Finding} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Finding post(@jakarta.annotation.Nonnull final Finding body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public Finding post(@jakarta.annotation.Nonnull final Finding body, @jakarta.ann /** * The output of the permissions usage data analysis performed by Permissions Management to assess risk with identities and resources. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * The output of the permissions usage data analysis performed by Permissions Management to assess risk with identities and resources. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to findings for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Finding body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Finding body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link FindingsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FindingsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new FindingsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/aws/findings/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/aws/findings/count/CountRequestBuilder.java index 30949e01a8a..02e6ad6eaea 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/aws/findings/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/aws/findings/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/aws/findings/item/FindingItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/aws/findings/item/FindingItemRequestBuilder.java index f39068ddd5c..62d337ebb5f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/aws/findings/item/FindingItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/aws/findings/item/FindingItemRequestBuilder.java @@ -39,7 +39,10 @@ public FindingItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl /** * Delete navigation property findings for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -47,7 +50,10 @@ public void delete() { * Delete navigation property findings for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -58,8 +64,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * The output of the permissions usage data analysis performed by Permissions Management to assess risk with identities and resources. * @return a {@link Finding} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Finding get() { return get(null); } @@ -68,8 +77,11 @@ public Finding get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Finding} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Finding get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -81,8 +93,11 @@ public Finding get(@jakarta.annotation.Nullable final java.util.function.Consume * @param body The request body * @return a {@link Finding} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Finding patch(@jakarta.annotation.Nonnull final Finding body) { return patch(body, null); } @@ -92,8 +107,11 @@ public Finding patch(@jakarta.annotation.Nonnull final Finding body) { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Finding} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Finding patch(@jakarta.annotation.Nonnull final Finding body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -104,8 +122,11 @@ public Finding patch(@jakarta.annotation.Nonnull final Finding body, @jakarta.an /** * Delete navigation property findings for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -113,8 +134,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property findings for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * The output of the permissions usage data analysis performed by Permissions Management to assess risk with identities and resources. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -133,8 +160,11 @@ public RequestInformation toGetRequestInformation() { * The output of the permissions usage data analysis performed by Permissions Management to assess risk with identities and resources. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -145,8 +175,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property findings in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final Finding body) { return toPatchRequestInformation(body, null); } @@ -155,8 +188,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final Finding body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -169,8 +205,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link FindingItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FindingItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new FindingItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/aws/permissionscreepindexdistributions/PermissionsCreepIndexDistributionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/aws/permissionscreepindexdistributions/PermissionsCreepIndexDistributionsRequestBuilder.java index 760b3695614..5015a1bdbff 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/aws/permissionscreepindexdistributions/PermissionsCreepIndexDistributionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/aws/permissionscreepindexdistributions/PermissionsCreepIndexDistributionsRequestBuilder.java @@ -26,7 +26,10 @@ public class PermissionsCreepIndexDistributionsRequestBuilder extends BaseReques /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the permissionsCreepIndexDistributions property of the microsoft.graph.permissionsAnalytics entity. * @param permissionsCreepIndexDistributionId The unique identifier of permissionsCreepIndexDistribution * @return a {@link PermissionsCreepIndexDistributionItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public PermissionsCreepIndexDistributionItemRequestBuilder byPermissionsCreepIndexDistributionId(@jakarta.annotation.Nonnull final String permissionsCreepIndexDistributionId) { Objects.requireNonNull(permissionsCreepIndexDistributionId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,9 +69,12 @@ public PermissionsCreepIndexDistributionsRequestBuilder(@jakarta.annotation.Nonn * Get a list of the permissionsCreepIndexDistribution objects and their properties. * @return a {@link PermissionsCreepIndexDistributionCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public PermissionsCreepIndexDistributionCollectionResponse get() { return get(null); } @@ -74,9 +83,12 @@ public PermissionsCreepIndexDistributionCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link PermissionsCreepIndexDistributionCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public PermissionsCreepIndexDistributionCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -88,8 +100,11 @@ public PermissionsCreepIndexDistributionCollectionResponse get(@jakarta.annotati * @param body The request body * @return a {@link PermissionsCreepIndexDistribution} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public PermissionsCreepIndexDistribution post(@jakarta.annotation.Nonnull final PermissionsCreepIndexDistribution body) { return post(body, null); } @@ -99,8 +114,11 @@ public PermissionsCreepIndexDistribution post(@jakarta.annotation.Nonnull final * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link PermissionsCreepIndexDistribution} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public PermissionsCreepIndexDistribution post(@jakarta.annotation.Nonnull final PermissionsCreepIndexDistribution body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -111,8 +129,11 @@ public PermissionsCreepIndexDistribution post(@jakarta.annotation.Nonnull final /** * Get a list of the permissionsCreepIndexDistribution objects and their properties. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -120,8 +141,11 @@ public RequestInformation toGetRequestInformation() { * Get a list of the permissionsCreepIndexDistribution objects and their properties. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -132,8 +156,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to permissionsCreepIndexDistributions for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final PermissionsCreepIndexDistribution body) { return toPostRequestInformation(body, null); } @@ -142,8 +169,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final PermissionsCreepIndexDistribution body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -156,8 +186,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link PermissionsCreepIndexDistributionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public PermissionsCreepIndexDistributionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new PermissionsCreepIndexDistributionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/aws/permissionscreepindexdistributions/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/aws/permissionscreepindexdistributions/count/CountRequestBuilder.java index 9a1049d85a4..b3f9ea0516f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/aws/permissionscreepindexdistributions/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/aws/permissionscreepindexdistributions/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/aws/permissionscreepindexdistributions/item/PermissionsCreepIndexDistributionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/aws/permissionscreepindexdistributions/item/PermissionsCreepIndexDistributionItemRequestBuilder.java index 641f466dd40..0138e4d4587 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/aws/permissionscreepindexdistributions/item/PermissionsCreepIndexDistributionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/aws/permissionscreepindexdistributions/item/PermissionsCreepIndexDistributionItemRequestBuilder.java @@ -24,7 +24,10 @@ public class PermissionsCreepIndexDistributionItemRequestBuilder extends BaseReq /** * Provides operations to manage the authorizationSystem property of the microsoft.graph.permissionsCreepIndexDistribution entity. * @return a {@link AuthorizationSystemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AuthorizationSystemRequestBuilder authorizationSystem() { return new AuthorizationSystemRequestBuilder(pathParameters, requestAdapter); @@ -48,7 +51,10 @@ public PermissionsCreepIndexDistributionItemRequestBuilder(@jakarta.annotation.N /** * Delete navigation property permissionsCreepIndexDistributions for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -56,7 +62,10 @@ public void delete() { * Delete navigation property permissionsCreepIndexDistributions for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -67,8 +76,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Represents the Permissions Creep Index (PCI) for the authorization system. PCI distribution chart shows the classification of human and nonhuman identities based on the PCI score in three buckets (low, medium, high). * @return a {@link PermissionsCreepIndexDistribution} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public PermissionsCreepIndexDistribution get() { return get(null); } @@ -77,8 +89,11 @@ public PermissionsCreepIndexDistribution get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link PermissionsCreepIndexDistribution} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public PermissionsCreepIndexDistribution get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -90,8 +105,11 @@ public PermissionsCreepIndexDistribution get(@jakarta.annotation.Nullable final * @param body The request body * @return a {@link PermissionsCreepIndexDistribution} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public PermissionsCreepIndexDistribution patch(@jakarta.annotation.Nonnull final PermissionsCreepIndexDistribution body) { return patch(body, null); } @@ -101,8 +119,11 @@ public PermissionsCreepIndexDistribution patch(@jakarta.annotation.Nonnull final * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link PermissionsCreepIndexDistribution} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public PermissionsCreepIndexDistribution patch(@jakarta.annotation.Nonnull final PermissionsCreepIndexDistribution body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -113,8 +134,11 @@ public PermissionsCreepIndexDistribution patch(@jakarta.annotation.Nonnull final /** * Delete navigation property permissionsCreepIndexDistributions for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -122,8 +146,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property permissionsCreepIndexDistributions for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -133,8 +160,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Represents the Permissions Creep Index (PCI) for the authorization system. PCI distribution chart shows the classification of human and nonhuman identities based on the PCI score in three buckets (low, medium, high). * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -142,8 +172,11 @@ public RequestInformation toGetRequestInformation() { * Represents the Permissions Creep Index (PCI) for the authorization system. PCI distribution chart shows the classification of human and nonhuman identities based on the PCI score in three buckets (low, medium, high). * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -154,8 +187,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property permissionsCreepIndexDistributions in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final PermissionsCreepIndexDistribution body) { return toPatchRequestInformation(body, null); } @@ -164,8 +200,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final PermissionsCreepIndexDistribution body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -178,8 +217,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link PermissionsCreepIndexDistributionItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public PermissionsCreepIndexDistributionItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new PermissionsCreepIndexDistributionItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/aws/permissionscreepindexdistributions/item/authorizationsystem/AuthorizationSystemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/aws/permissionscreepindexdistributions/item/authorizationsystem/AuthorizationSystemRequestBuilder.java index 782921f2fbe..f1bd6b72f2f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/aws/permissionscreepindexdistributions/item/authorizationsystem/AuthorizationSystemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/aws/permissionscreepindexdistributions/item/authorizationsystem/AuthorizationSystemRequestBuilder.java @@ -40,8 +40,11 @@ public AuthorizationSystemRequestBuilder(@jakarta.annotation.Nonnull final Strin * Represents an authorization system onboarded to Permissions Management. * @return a {@link AuthorizationSystem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AuthorizationSystem get() { return get(null); } @@ -50,8 +53,11 @@ public AuthorizationSystem get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AuthorizationSystem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AuthorizationSystem get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public AuthorizationSystem get(@jakarta.annotation.Nullable final java.util.func /** * Represents an authorization system onboarded to Permissions Management. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * Represents an authorization system onboarded to Permissions Management. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AuthorizationSystemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AuthorizationSystemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AuthorizationSystemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/azure/AzureRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/azure/AzureRequestBuilder.java index 9bcd8caa8d8..aa0addbbf84 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/azure/AzureRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/azure/AzureRequestBuilder.java @@ -25,7 +25,10 @@ public class AzureRequestBuilder extends BaseRequestBuilder { /** * Provides operations to manage the findings property of the microsoft.graph.permissionsAnalytics entity. * @return a {@link FindingsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public FindingsRequestBuilder findings() { return new FindingsRequestBuilder(pathParameters, requestAdapter); @@ -33,7 +36,10 @@ public FindingsRequestBuilder findings() { /** * Provides operations to manage the permissionsCreepIndexDistributions property of the microsoft.graph.permissionsAnalytics entity. * @return a {@link PermissionsCreepIndexDistributionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public PermissionsCreepIndexDistributionsRequestBuilder permissionsCreepIndexDistributions() { return new PermissionsCreepIndexDistributionsRequestBuilder(pathParameters, requestAdapter); @@ -57,7 +63,10 @@ public AzureRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak /** * Delete navigation property azure for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -65,7 +74,10 @@ public void delete() { * Delete navigation property azure for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -76,8 +88,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Azure permissions analytics findings. * @return a {@link PermissionsAnalytics} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public PermissionsAnalytics get() { return get(null); } @@ -86,8 +101,11 @@ public PermissionsAnalytics get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link PermissionsAnalytics} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public PermissionsAnalytics get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -99,8 +117,11 @@ public PermissionsAnalytics get(@jakarta.annotation.Nullable final java.util.fun * @param body The request body * @return a {@link PermissionsAnalytics} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public PermissionsAnalytics patch(@jakarta.annotation.Nonnull final PermissionsAnalytics body) { return patch(body, null); } @@ -110,8 +131,11 @@ public PermissionsAnalytics patch(@jakarta.annotation.Nonnull final PermissionsA * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link PermissionsAnalytics} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public PermissionsAnalytics patch(@jakarta.annotation.Nonnull final PermissionsAnalytics body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -122,8 +146,11 @@ public PermissionsAnalytics patch(@jakarta.annotation.Nonnull final PermissionsA /** * Delete navigation property azure for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -131,8 +158,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property azure for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -142,8 +172,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Azure permissions analytics findings. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -151,8 +184,11 @@ public RequestInformation toGetRequestInformation() { * Azure permissions analytics findings. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -163,8 +199,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property azure in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final PermissionsAnalytics body) { return toPatchRequestInformation(body, null); } @@ -173,8 +212,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final PermissionsAnalytics body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -187,8 +229,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AzureRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AzureRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AzureRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/azure/findings/FindingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/azure/findings/FindingsRequestBuilder.java index 548ecdd9c9c..05be767e798 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/azure/findings/FindingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/azure/findings/FindingsRequestBuilder.java @@ -26,7 +26,10 @@ public class FindingsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the findings property of the microsoft.graph.permissionsAnalytics entity. * @param findingId The unique identifier of finding * @return a {@link FindingItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FindingItemRequestBuilder byFindingId(@jakarta.annotation.Nonnull final String findingId) { Objects.requireNonNull(findingId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public FindingsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ * The output of the permissions usage data analysis performed by Permissions Management to assess risk with identities and resources. * @return a {@link FindingCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public FindingCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public FindingCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link FindingCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public FindingCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public FindingCollectionResponse get(@jakarta.annotation.Nullable final java.uti * @param body The request body * @return a {@link Finding} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Finding post(@jakarta.annotation.Nonnull final Finding body) { return post(body, null); } @@ -97,8 +112,11 @@ public Finding post(@jakarta.annotation.Nonnull final Finding body) { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Finding} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Finding post(@jakarta.annotation.Nonnull final Finding body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public Finding post(@jakarta.annotation.Nonnull final Finding body, @jakarta.ann /** * The output of the permissions usage data analysis performed by Permissions Management to assess risk with identities and resources. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * The output of the permissions usage data analysis performed by Permissions Management to assess risk with identities and resources. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to findings for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Finding body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Finding body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link FindingsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FindingsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new FindingsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/azure/findings/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/azure/findings/count/CountRequestBuilder.java index d7bf505e559..f6aa0d704e9 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/azure/findings/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/azure/findings/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/azure/findings/item/FindingItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/azure/findings/item/FindingItemRequestBuilder.java index 3761fdb2f63..273b8173a26 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/azure/findings/item/FindingItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/azure/findings/item/FindingItemRequestBuilder.java @@ -39,7 +39,10 @@ public FindingItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl /** * Delete navigation property findings for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -47,7 +50,10 @@ public void delete() { * Delete navigation property findings for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -58,8 +64,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * The output of the permissions usage data analysis performed by Permissions Management to assess risk with identities and resources. * @return a {@link Finding} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Finding get() { return get(null); } @@ -68,8 +77,11 @@ public Finding get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Finding} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Finding get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -81,8 +93,11 @@ public Finding get(@jakarta.annotation.Nullable final java.util.function.Consume * @param body The request body * @return a {@link Finding} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Finding patch(@jakarta.annotation.Nonnull final Finding body) { return patch(body, null); } @@ -92,8 +107,11 @@ public Finding patch(@jakarta.annotation.Nonnull final Finding body) { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Finding} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Finding patch(@jakarta.annotation.Nonnull final Finding body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -104,8 +122,11 @@ public Finding patch(@jakarta.annotation.Nonnull final Finding body, @jakarta.an /** * Delete navigation property findings for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -113,8 +134,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property findings for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * The output of the permissions usage data analysis performed by Permissions Management to assess risk with identities and resources. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -133,8 +160,11 @@ public RequestInformation toGetRequestInformation() { * The output of the permissions usage data analysis performed by Permissions Management to assess risk with identities and resources. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -145,8 +175,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property findings in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final Finding body) { return toPatchRequestInformation(body, null); } @@ -155,8 +188,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final Finding body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -169,8 +205,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link FindingItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FindingItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new FindingItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/azure/permissionscreepindexdistributions/PermissionsCreepIndexDistributionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/azure/permissionscreepindexdistributions/PermissionsCreepIndexDistributionsRequestBuilder.java index 3d30bfbd4f1..21fc486d828 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/azure/permissionscreepindexdistributions/PermissionsCreepIndexDistributionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/azure/permissionscreepindexdistributions/PermissionsCreepIndexDistributionsRequestBuilder.java @@ -26,7 +26,10 @@ public class PermissionsCreepIndexDistributionsRequestBuilder extends BaseReques /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the permissionsCreepIndexDistributions property of the microsoft.graph.permissionsAnalytics entity. * @param permissionsCreepIndexDistributionId The unique identifier of permissionsCreepIndexDistribution * @return a {@link PermissionsCreepIndexDistributionItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public PermissionsCreepIndexDistributionItemRequestBuilder byPermissionsCreepIndexDistributionId(@jakarta.annotation.Nonnull final String permissionsCreepIndexDistributionId) { Objects.requireNonNull(permissionsCreepIndexDistributionId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public PermissionsCreepIndexDistributionsRequestBuilder(@jakarta.annotation.Nonn * Represents the Permissions Creep Index (PCI) for the authorization system. PCI distribution chart shows the classification of human and nonhuman identities based on the PCI score in three buckets (low, medium, high). * @return a {@link PermissionsCreepIndexDistributionCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public PermissionsCreepIndexDistributionCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public PermissionsCreepIndexDistributionCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link PermissionsCreepIndexDistributionCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public PermissionsCreepIndexDistributionCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public PermissionsCreepIndexDistributionCollectionResponse get(@jakarta.annotati * @param body The request body * @return a {@link PermissionsCreepIndexDistribution} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public PermissionsCreepIndexDistribution post(@jakarta.annotation.Nonnull final PermissionsCreepIndexDistribution body) { return post(body, null); } @@ -97,8 +112,11 @@ public PermissionsCreepIndexDistribution post(@jakarta.annotation.Nonnull final * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link PermissionsCreepIndexDistribution} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public PermissionsCreepIndexDistribution post(@jakarta.annotation.Nonnull final PermissionsCreepIndexDistribution body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public PermissionsCreepIndexDistribution post(@jakarta.annotation.Nonnull final /** * Represents the Permissions Creep Index (PCI) for the authorization system. PCI distribution chart shows the classification of human and nonhuman identities based on the PCI score in three buckets (low, medium, high). * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Represents the Permissions Creep Index (PCI) for the authorization system. PCI distribution chart shows the classification of human and nonhuman identities based on the PCI score in three buckets (low, medium, high). * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to permissionsCreepIndexDistributions for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final PermissionsCreepIndexDistribution body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final PermissionsCreepIndexDistribution body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link PermissionsCreepIndexDistributionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public PermissionsCreepIndexDistributionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new PermissionsCreepIndexDistributionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/azure/permissionscreepindexdistributions/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/azure/permissionscreepindexdistributions/count/CountRequestBuilder.java index d416896e95c..c791ad3d2e7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/azure/permissionscreepindexdistributions/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/azure/permissionscreepindexdistributions/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/azure/permissionscreepindexdistributions/item/PermissionsCreepIndexDistributionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/azure/permissionscreepindexdistributions/item/PermissionsCreepIndexDistributionItemRequestBuilder.java index cdd3914fa63..9654eefb979 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/azure/permissionscreepindexdistributions/item/PermissionsCreepIndexDistributionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/azure/permissionscreepindexdistributions/item/PermissionsCreepIndexDistributionItemRequestBuilder.java @@ -24,7 +24,10 @@ public class PermissionsCreepIndexDistributionItemRequestBuilder extends BaseReq /** * Provides operations to manage the authorizationSystem property of the microsoft.graph.permissionsCreepIndexDistribution entity. * @return a {@link AuthorizationSystemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AuthorizationSystemRequestBuilder authorizationSystem() { return new AuthorizationSystemRequestBuilder(pathParameters, requestAdapter); @@ -48,7 +51,10 @@ public PermissionsCreepIndexDistributionItemRequestBuilder(@jakarta.annotation.N /** * Delete navigation property permissionsCreepIndexDistributions for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -56,7 +62,10 @@ public void delete() { * Delete navigation property permissionsCreepIndexDistributions for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -67,8 +76,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Represents the Permissions Creep Index (PCI) for the authorization system. PCI distribution chart shows the classification of human and nonhuman identities based on the PCI score in three buckets (low, medium, high). * @return a {@link PermissionsCreepIndexDistribution} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public PermissionsCreepIndexDistribution get() { return get(null); } @@ -77,8 +89,11 @@ public PermissionsCreepIndexDistribution get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link PermissionsCreepIndexDistribution} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public PermissionsCreepIndexDistribution get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -90,8 +105,11 @@ public PermissionsCreepIndexDistribution get(@jakarta.annotation.Nullable final * @param body The request body * @return a {@link PermissionsCreepIndexDistribution} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public PermissionsCreepIndexDistribution patch(@jakarta.annotation.Nonnull final PermissionsCreepIndexDistribution body) { return patch(body, null); } @@ -101,8 +119,11 @@ public PermissionsCreepIndexDistribution patch(@jakarta.annotation.Nonnull final * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link PermissionsCreepIndexDistribution} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public PermissionsCreepIndexDistribution patch(@jakarta.annotation.Nonnull final PermissionsCreepIndexDistribution body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -113,8 +134,11 @@ public PermissionsCreepIndexDistribution patch(@jakarta.annotation.Nonnull final /** * Delete navigation property permissionsCreepIndexDistributions for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -122,8 +146,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property permissionsCreepIndexDistributions for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -133,8 +160,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Represents the Permissions Creep Index (PCI) for the authorization system. PCI distribution chart shows the classification of human and nonhuman identities based on the PCI score in three buckets (low, medium, high). * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -142,8 +172,11 @@ public RequestInformation toGetRequestInformation() { * Represents the Permissions Creep Index (PCI) for the authorization system. PCI distribution chart shows the classification of human and nonhuman identities based on the PCI score in three buckets (low, medium, high). * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -154,8 +187,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property permissionsCreepIndexDistributions in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final PermissionsCreepIndexDistribution body) { return toPatchRequestInformation(body, null); } @@ -164,8 +200,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final PermissionsCreepIndexDistribution body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -178,8 +217,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link PermissionsCreepIndexDistributionItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public PermissionsCreepIndexDistributionItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new PermissionsCreepIndexDistributionItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/azure/permissionscreepindexdistributions/item/authorizationsystem/AuthorizationSystemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/azure/permissionscreepindexdistributions/item/authorizationsystem/AuthorizationSystemRequestBuilder.java index 2f88a3025bb..694b0c108ea 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/azure/permissionscreepindexdistributions/item/authorizationsystem/AuthorizationSystemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/azure/permissionscreepindexdistributions/item/authorizationsystem/AuthorizationSystemRequestBuilder.java @@ -40,8 +40,11 @@ public AuthorizationSystemRequestBuilder(@jakarta.annotation.Nonnull final Strin * Represents an authorization system onboarded to Permissions Management. * @return a {@link AuthorizationSystem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AuthorizationSystem get() { return get(null); } @@ -50,8 +53,11 @@ public AuthorizationSystem get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AuthorizationSystem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AuthorizationSystem get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public AuthorizationSystem get(@jakarta.annotation.Nullable final java.util.func /** * Represents an authorization system onboarded to Permissions Management. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * Represents an authorization system onboarded to Permissions Management. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AuthorizationSystemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AuthorizationSystemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AuthorizationSystemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/gcp/GcpRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/gcp/GcpRequestBuilder.java index 7838ccbec75..4ee73cdd87a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/gcp/GcpRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/gcp/GcpRequestBuilder.java @@ -25,7 +25,10 @@ public class GcpRequestBuilder extends BaseRequestBuilder { /** * Provides operations to manage the findings property of the microsoft.graph.permissionsAnalytics entity. * @return a {@link FindingsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public FindingsRequestBuilder findings() { return new FindingsRequestBuilder(pathParameters, requestAdapter); @@ -33,7 +36,10 @@ public FindingsRequestBuilder findings() { /** * Provides operations to manage the permissionsCreepIndexDistributions property of the microsoft.graph.permissionsAnalytics entity. * @return a {@link PermissionsCreepIndexDistributionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public PermissionsCreepIndexDistributionsRequestBuilder permissionsCreepIndexDistributions() { return new PermissionsCreepIndexDistributionsRequestBuilder(pathParameters, requestAdapter); @@ -57,7 +63,10 @@ public GcpRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakar /** * Delete navigation property gcp for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -65,7 +74,10 @@ public void delete() { * Delete navigation property gcp for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -76,8 +88,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * GCP permissions analytics findings. * @return a {@link PermissionsAnalytics} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public PermissionsAnalytics get() { return get(null); } @@ -86,8 +101,11 @@ public PermissionsAnalytics get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link PermissionsAnalytics} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public PermissionsAnalytics get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -99,8 +117,11 @@ public PermissionsAnalytics get(@jakarta.annotation.Nullable final java.util.fun * @param body The request body * @return a {@link PermissionsAnalytics} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public PermissionsAnalytics patch(@jakarta.annotation.Nonnull final PermissionsAnalytics body) { return patch(body, null); } @@ -110,8 +131,11 @@ public PermissionsAnalytics patch(@jakarta.annotation.Nonnull final PermissionsA * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link PermissionsAnalytics} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public PermissionsAnalytics patch(@jakarta.annotation.Nonnull final PermissionsAnalytics body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -122,8 +146,11 @@ public PermissionsAnalytics patch(@jakarta.annotation.Nonnull final PermissionsA /** * Delete navigation property gcp for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -131,8 +158,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property gcp for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -142,8 +172,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * GCP permissions analytics findings. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -151,8 +184,11 @@ public RequestInformation toGetRequestInformation() { * GCP permissions analytics findings. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -163,8 +199,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property gcp in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final PermissionsAnalytics body) { return toPatchRequestInformation(body, null); } @@ -173,8 +212,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final PermissionsAnalytics body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -187,8 +229,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link GcpRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public GcpRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new GcpRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/gcp/findings/FindingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/gcp/findings/FindingsRequestBuilder.java index 1610dc670cf..e6bd5233c02 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/gcp/findings/FindingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/gcp/findings/FindingsRequestBuilder.java @@ -26,7 +26,10 @@ public class FindingsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the findings property of the microsoft.graph.permissionsAnalytics entity. * @param findingId The unique identifier of finding * @return a {@link FindingItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FindingItemRequestBuilder byFindingId(@jakarta.annotation.Nonnull final String findingId) { Objects.requireNonNull(findingId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public FindingsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ * The output of the permissions usage data analysis performed by Permissions Management to assess risk with identities and resources. * @return a {@link FindingCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public FindingCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public FindingCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link FindingCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public FindingCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public FindingCollectionResponse get(@jakarta.annotation.Nullable final java.uti * @param body The request body * @return a {@link Finding} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Finding post(@jakarta.annotation.Nonnull final Finding body) { return post(body, null); } @@ -97,8 +112,11 @@ public Finding post(@jakarta.annotation.Nonnull final Finding body) { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Finding} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Finding post(@jakarta.annotation.Nonnull final Finding body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public Finding post(@jakarta.annotation.Nonnull final Finding body, @jakarta.ann /** * The output of the permissions usage data analysis performed by Permissions Management to assess risk with identities and resources. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * The output of the permissions usage data analysis performed by Permissions Management to assess risk with identities and resources. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to findings for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Finding body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Finding body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link FindingsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FindingsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new FindingsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/gcp/findings/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/gcp/findings/count/CountRequestBuilder.java index 80fb8f9db6d..e0b67386b15 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/gcp/findings/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/gcp/findings/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/gcp/findings/item/FindingItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/gcp/findings/item/FindingItemRequestBuilder.java index 87f2bc96762..315fb7db662 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/gcp/findings/item/FindingItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/gcp/findings/item/FindingItemRequestBuilder.java @@ -39,7 +39,10 @@ public FindingItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl /** * Delete navigation property findings for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -47,7 +50,10 @@ public void delete() { * Delete navigation property findings for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -58,8 +64,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * The output of the permissions usage data analysis performed by Permissions Management to assess risk with identities and resources. * @return a {@link Finding} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Finding get() { return get(null); } @@ -68,8 +77,11 @@ public Finding get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Finding} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Finding get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -81,8 +93,11 @@ public Finding get(@jakarta.annotation.Nullable final java.util.function.Consume * @param body The request body * @return a {@link Finding} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Finding patch(@jakarta.annotation.Nonnull final Finding body) { return patch(body, null); } @@ -92,8 +107,11 @@ public Finding patch(@jakarta.annotation.Nonnull final Finding body) { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Finding} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Finding patch(@jakarta.annotation.Nonnull final Finding body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -104,8 +122,11 @@ public Finding patch(@jakarta.annotation.Nonnull final Finding body, @jakarta.an /** * Delete navigation property findings for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -113,8 +134,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property findings for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * The output of the permissions usage data analysis performed by Permissions Management to assess risk with identities and resources. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -133,8 +160,11 @@ public RequestInformation toGetRequestInformation() { * The output of the permissions usage data analysis performed by Permissions Management to assess risk with identities and resources. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -145,8 +175,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property findings in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final Finding body) { return toPatchRequestInformation(body, null); } @@ -155,8 +188,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final Finding body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -169,8 +205,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link FindingItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FindingItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new FindingItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/gcp/permissionscreepindexdistributions/PermissionsCreepIndexDistributionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/gcp/permissionscreepindexdistributions/PermissionsCreepIndexDistributionsRequestBuilder.java index c66d9bfd860..c065d93da54 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/gcp/permissionscreepindexdistributions/PermissionsCreepIndexDistributionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/gcp/permissionscreepindexdistributions/PermissionsCreepIndexDistributionsRequestBuilder.java @@ -26,7 +26,10 @@ public class PermissionsCreepIndexDistributionsRequestBuilder extends BaseReques /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the permissionsCreepIndexDistributions property of the microsoft.graph.permissionsAnalytics entity. * @param permissionsCreepIndexDistributionId The unique identifier of permissionsCreepIndexDistribution * @return a {@link PermissionsCreepIndexDistributionItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public PermissionsCreepIndexDistributionItemRequestBuilder byPermissionsCreepIndexDistributionId(@jakarta.annotation.Nonnull final String permissionsCreepIndexDistributionId) { Objects.requireNonNull(permissionsCreepIndexDistributionId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public PermissionsCreepIndexDistributionsRequestBuilder(@jakarta.annotation.Nonn * Represents the Permissions Creep Index (PCI) for the authorization system. PCI distribution chart shows the classification of human and nonhuman identities based on the PCI score in three buckets (low, medium, high). * @return a {@link PermissionsCreepIndexDistributionCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public PermissionsCreepIndexDistributionCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public PermissionsCreepIndexDistributionCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link PermissionsCreepIndexDistributionCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public PermissionsCreepIndexDistributionCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public PermissionsCreepIndexDistributionCollectionResponse get(@jakarta.annotati * @param body The request body * @return a {@link PermissionsCreepIndexDistribution} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public PermissionsCreepIndexDistribution post(@jakarta.annotation.Nonnull final PermissionsCreepIndexDistribution body) { return post(body, null); } @@ -97,8 +112,11 @@ public PermissionsCreepIndexDistribution post(@jakarta.annotation.Nonnull final * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link PermissionsCreepIndexDistribution} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public PermissionsCreepIndexDistribution post(@jakarta.annotation.Nonnull final PermissionsCreepIndexDistribution body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public PermissionsCreepIndexDistribution post(@jakarta.annotation.Nonnull final /** * Represents the Permissions Creep Index (PCI) for the authorization system. PCI distribution chart shows the classification of human and nonhuman identities based on the PCI score in three buckets (low, medium, high). * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Represents the Permissions Creep Index (PCI) for the authorization system. PCI distribution chart shows the classification of human and nonhuman identities based on the PCI score in three buckets (low, medium, high). * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to permissionsCreepIndexDistributions for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final PermissionsCreepIndexDistribution body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final PermissionsCreepIndexDistribution body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link PermissionsCreepIndexDistributionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public PermissionsCreepIndexDistributionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new PermissionsCreepIndexDistributionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/gcp/permissionscreepindexdistributions/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/gcp/permissionscreepindexdistributions/count/CountRequestBuilder.java index 52529ed4575..58c7666cf4e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/gcp/permissionscreepindexdistributions/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/gcp/permissionscreepindexdistributions/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/gcp/permissionscreepindexdistributions/item/PermissionsCreepIndexDistributionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/gcp/permissionscreepindexdistributions/item/PermissionsCreepIndexDistributionItemRequestBuilder.java index e69fbb7e8b1..c2ce1ebf86e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/gcp/permissionscreepindexdistributions/item/PermissionsCreepIndexDistributionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/gcp/permissionscreepindexdistributions/item/PermissionsCreepIndexDistributionItemRequestBuilder.java @@ -24,7 +24,10 @@ public class PermissionsCreepIndexDistributionItemRequestBuilder extends BaseReq /** * Provides operations to manage the authorizationSystem property of the microsoft.graph.permissionsCreepIndexDistribution entity. * @return a {@link AuthorizationSystemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AuthorizationSystemRequestBuilder authorizationSystem() { return new AuthorizationSystemRequestBuilder(pathParameters, requestAdapter); @@ -48,7 +51,10 @@ public PermissionsCreepIndexDistributionItemRequestBuilder(@jakarta.annotation.N /** * Delete navigation property permissionsCreepIndexDistributions for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -56,7 +62,10 @@ public void delete() { * Delete navigation property permissionsCreepIndexDistributions for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -67,8 +76,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Represents the Permissions Creep Index (PCI) for the authorization system. PCI distribution chart shows the classification of human and nonhuman identities based on the PCI score in three buckets (low, medium, high). * @return a {@link PermissionsCreepIndexDistribution} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public PermissionsCreepIndexDistribution get() { return get(null); } @@ -77,8 +89,11 @@ public PermissionsCreepIndexDistribution get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link PermissionsCreepIndexDistribution} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public PermissionsCreepIndexDistribution get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -90,8 +105,11 @@ public PermissionsCreepIndexDistribution get(@jakarta.annotation.Nullable final * @param body The request body * @return a {@link PermissionsCreepIndexDistribution} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public PermissionsCreepIndexDistribution patch(@jakarta.annotation.Nonnull final PermissionsCreepIndexDistribution body) { return patch(body, null); } @@ -101,8 +119,11 @@ public PermissionsCreepIndexDistribution patch(@jakarta.annotation.Nonnull final * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link PermissionsCreepIndexDistribution} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public PermissionsCreepIndexDistribution patch(@jakarta.annotation.Nonnull final PermissionsCreepIndexDistribution body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -113,8 +134,11 @@ public PermissionsCreepIndexDistribution patch(@jakarta.annotation.Nonnull final /** * Delete navigation property permissionsCreepIndexDistributions for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -122,8 +146,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property permissionsCreepIndexDistributions for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -133,8 +160,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Represents the Permissions Creep Index (PCI) for the authorization system. PCI distribution chart shows the classification of human and nonhuman identities based on the PCI score in three buckets (low, medium, high). * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -142,8 +172,11 @@ public RequestInformation toGetRequestInformation() { * Represents the Permissions Creep Index (PCI) for the authorization system. PCI distribution chart shows the classification of human and nonhuman identities based on the PCI score in three buckets (low, medium, high). * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -154,8 +187,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property permissionsCreepIndexDistributions in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final PermissionsCreepIndexDistribution body) { return toPatchRequestInformation(body, null); } @@ -164,8 +200,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final PermissionsCreepIndexDistribution body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -178,8 +217,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link PermissionsCreepIndexDistributionItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public PermissionsCreepIndexDistributionItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new PermissionsCreepIndexDistributionItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/gcp/permissionscreepindexdistributions/item/authorizationsystem/AuthorizationSystemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/gcp/permissionscreepindexdistributions/item/authorizationsystem/AuthorizationSystemRequestBuilder.java index 66c801a29fc..cf44e77c585 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/gcp/permissionscreepindexdistributions/item/authorizationsystem/AuthorizationSystemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/gcp/permissionscreepindexdistributions/item/authorizationsystem/AuthorizationSystemRequestBuilder.java @@ -40,8 +40,11 @@ public AuthorizationSystemRequestBuilder(@jakarta.annotation.Nonnull final Strin * Represents an authorization system onboarded to Permissions Management. * @return a {@link AuthorizationSystem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AuthorizationSystem get() { return get(null); } @@ -50,8 +53,11 @@ public AuthorizationSystem get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AuthorizationSystem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AuthorizationSystem get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public AuthorizationSystem get(@jakarta.annotation.Nullable final java.util.func /** * Represents an authorization system onboarded to Permissions Management. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * Represents an authorization system onboarded to Permissions Management. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AuthorizationSystemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AuthorizationSystemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AuthorizationSystemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsmanagement/PermissionsManagementRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsmanagement/PermissionsManagementRequestBuilder.java index b7cb5fcddf2..967fc08a7a6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsmanagement/PermissionsManagementRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsmanagement/PermissionsManagementRequestBuilder.java @@ -26,7 +26,10 @@ public class PermissionsManagementRequestBuilder extends BaseRequestBuilder { /** * Provides operations to manage the permissionsRequestChanges property of the microsoft.graph.permissionsManagement entity. * @return a {@link PermissionsRequestChangesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public PermissionsRequestChangesRequestBuilder permissionsRequestChanges() { return new PermissionsRequestChangesRequestBuilder(pathParameters, requestAdapter); @@ -34,7 +37,10 @@ public PermissionsRequestChangesRequestBuilder permissionsRequestChanges() { /** * Provides operations to manage the scheduledPermissionsApprovals property of the microsoft.graph.permissionsManagement entity. * @return a {@link ScheduledPermissionsApprovalsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ScheduledPermissionsApprovalsRequestBuilder scheduledPermissionsApprovals() { return new ScheduledPermissionsApprovalsRequestBuilder(pathParameters, requestAdapter); @@ -42,7 +48,10 @@ public ScheduledPermissionsApprovalsRequestBuilder scheduledPermissionsApprovals /** * Provides operations to manage the scheduledPermissionsRequests property of the microsoft.graph.permissionsManagement entity. * @return a {@link ScheduledPermissionsRequestsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ScheduledPermissionsRequestsRequestBuilder scheduledPermissionsRequests() { return new ScheduledPermissionsRequestsRequestBuilder(pathParameters, requestAdapter); @@ -66,7 +75,10 @@ public PermissionsManagementRequestBuilder(@jakarta.annotation.Nonnull final Str /** * Delete navigation property permissionsManagement for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -74,7 +86,10 @@ public void delete() { * Delete navigation property permissionsManagement for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -85,8 +100,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Get permissionsManagement from identityGovernance * @return a {@link PermissionsManagement} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public PermissionsManagement get() { return get(null); } @@ -95,8 +113,11 @@ public PermissionsManagement get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link PermissionsManagement} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public PermissionsManagement get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -108,8 +129,11 @@ public PermissionsManagement get(@jakarta.annotation.Nullable final java.util.fu * @param body The request body * @return a {@link PermissionsManagement} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public PermissionsManagement patch(@jakarta.annotation.Nonnull final PermissionsManagement body) { return patch(body, null); } @@ -119,8 +143,11 @@ public PermissionsManagement patch(@jakarta.annotation.Nonnull final Permissions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link PermissionsManagement} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public PermissionsManagement patch(@jakarta.annotation.Nonnull final PermissionsManagement body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -131,8 +158,11 @@ public PermissionsManagement patch(@jakarta.annotation.Nonnull final Permissions /** * Delete navigation property permissionsManagement for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -140,8 +170,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property permissionsManagement for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -151,8 +184,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Get permissionsManagement from identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -160,8 +196,11 @@ public RequestInformation toGetRequestInformation() { * Get permissionsManagement from identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -172,8 +211,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property permissionsManagement in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final PermissionsManagement body) { return toPatchRequestInformation(body, null); } @@ -182,8 +224,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final PermissionsManagement body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -196,8 +241,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link PermissionsManagementRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public PermissionsManagementRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new PermissionsManagementRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsmanagement/permissionsrequestchanges/PermissionsRequestChangesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsmanagement/permissionsrequestchanges/PermissionsRequestChangesRequestBuilder.java index 1951eacd433..4d88805c8fa 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsmanagement/permissionsrequestchanges/PermissionsRequestChangesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsmanagement/permissionsrequestchanges/PermissionsRequestChangesRequestBuilder.java @@ -26,7 +26,10 @@ public class PermissionsRequestChangesRequestBuilder extends BaseRequestBuilder /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the permissionsRequestChanges property of the microsoft.graph.permissionsManagement entity. * @param permissionsRequestChangeId The unique identifier of permissionsRequestChange * @return a {@link PermissionsRequestChangeItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public PermissionsRequestChangeItemRequestBuilder byPermissionsRequestChangeId(@jakarta.annotation.Nonnull final String permissionsRequestChangeId) { Objects.requireNonNull(permissionsRequestChangeId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,9 +69,12 @@ public PermissionsRequestChangesRequestBuilder(@jakarta.annotation.Nonnull final * List the permissionsRequestChange objects and their properties. * @return a {@link PermissionsRequestChangeCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public PermissionsRequestChangeCollectionResponse get() { return get(null); } @@ -74,9 +83,12 @@ public PermissionsRequestChangeCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link PermissionsRequestChangeCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public PermissionsRequestChangeCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -88,8 +100,11 @@ public PermissionsRequestChangeCollectionResponse get(@jakarta.annotation.Nullab * @param body The request body * @return a {@link PermissionsRequestChange} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public PermissionsRequestChange post(@jakarta.annotation.Nonnull final PermissionsRequestChange body) { return post(body, null); } @@ -99,8 +114,11 @@ public PermissionsRequestChange post(@jakarta.annotation.Nonnull final Permissio * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link PermissionsRequestChange} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public PermissionsRequestChange post(@jakarta.annotation.Nonnull final PermissionsRequestChange body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -111,8 +129,11 @@ public PermissionsRequestChange post(@jakarta.annotation.Nonnull final Permissio /** * List the permissionsRequestChange objects and their properties. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -120,8 +141,11 @@ public RequestInformation toGetRequestInformation() { * List the permissionsRequestChange objects and their properties. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -132,8 +156,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to permissionsRequestChanges for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final PermissionsRequestChange body) { return toPostRequestInformation(body, null); } @@ -142,8 +169,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final PermissionsRequestChange body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -156,8 +186,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link PermissionsRequestChangesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public PermissionsRequestChangesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new PermissionsRequestChangesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsmanagement/permissionsrequestchanges/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsmanagement/permissionsrequestchanges/count/CountRequestBuilder.java index 5dca248b135..f3b7be15155 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsmanagement/permissionsrequestchanges/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsmanagement/permissionsrequestchanges/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsmanagement/permissionsrequestchanges/item/PermissionsRequestChangeItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsmanagement/permissionsrequestchanges/item/PermissionsRequestChangeItemRequestBuilder.java index 6cd91d0c299..88abe0e62cc 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsmanagement/permissionsrequestchanges/item/PermissionsRequestChangeItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsmanagement/permissionsrequestchanges/item/PermissionsRequestChangeItemRequestBuilder.java @@ -39,7 +39,10 @@ public PermissionsRequestChangeItemRequestBuilder(@jakarta.annotation.Nonnull fi /** * Delete navigation property permissionsRequestChanges for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -47,7 +50,10 @@ public void delete() { * Delete navigation property permissionsRequestChanges for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -58,9 +64,12 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Read the properties and relationships of a permissionsRequestChange object. * @return a {@link PermissionsRequestChange} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public PermissionsRequestChange get() { return get(null); } @@ -69,9 +78,12 @@ public PermissionsRequestChange get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link PermissionsRequestChange} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public PermissionsRequestChange get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -83,8 +95,11 @@ public PermissionsRequestChange get(@jakarta.annotation.Nullable final java.util * @param body The request body * @return a {@link PermissionsRequestChange} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public PermissionsRequestChange patch(@jakarta.annotation.Nonnull final PermissionsRequestChange body) { return patch(body, null); } @@ -94,8 +109,11 @@ public PermissionsRequestChange patch(@jakarta.annotation.Nonnull final Permissi * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link PermissionsRequestChange} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public PermissionsRequestChange patch(@jakarta.annotation.Nonnull final PermissionsRequestChange body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -106,8 +124,11 @@ public PermissionsRequestChange patch(@jakarta.annotation.Nonnull final Permissi /** * Delete navigation property permissionsRequestChanges for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -115,8 +136,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property permissionsRequestChanges for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -126,8 +150,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Read the properties and relationships of a permissionsRequestChange object. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -135,8 +162,11 @@ public RequestInformation toGetRequestInformation() { * Read the properties and relationships of a permissionsRequestChange object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -147,8 +177,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property permissionsRequestChanges in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final PermissionsRequestChange body) { return toPatchRequestInformation(body, null); } @@ -157,8 +190,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final PermissionsRequestChange body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -171,8 +207,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link PermissionsRequestChangeItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public PermissionsRequestChangeItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new PermissionsRequestChangeItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsmanagement/scheduledpermissionsapprovals/ScheduledPermissionsApprovalsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsmanagement/scheduledpermissionsapprovals/ScheduledPermissionsApprovalsRequestBuilder.java index 28aab2eabbb..ca328b8a7ed 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsmanagement/scheduledpermissionsapprovals/ScheduledPermissionsApprovalsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsmanagement/scheduledpermissionsapprovals/ScheduledPermissionsApprovalsRequestBuilder.java @@ -27,7 +27,10 @@ public class ScheduledPermissionsApprovalsRequestBuilder extends BaseRequestBuil /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -36,8 +39,11 @@ public CountRequestBuilder count() { * Provides operations to manage the scheduledPermissionsApprovals property of the microsoft.graph.permissionsManagement entity. * @param approvalId The unique identifier of approval * @return a {@link ApprovalItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ApprovalItemRequestBuilder byApprovalId(@jakarta.annotation.Nonnull final String approvalId) { Objects.requireNonNull(approvalId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -64,8 +70,11 @@ public ScheduledPermissionsApprovalsRequestBuilder(@jakarta.annotation.Nonnull f * Provides operations to call the filterByCurrentUser method. * @param on Usage: on='{on}' * @return a {@link FilterByCurrentUserWithOnRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilterByCurrentUserWithOnRequestBuilder filterByCurrentUserWithOn(@jakarta.annotation.Nonnull final String on) { Objects.requireNonNull(on); return new FilterByCurrentUserWithOnRequestBuilder(pathParameters, requestAdapter, on); @@ -74,8 +83,11 @@ public FilterByCurrentUserWithOnRequestBuilder filterByCurrentUserWithOn(@jakart * Get scheduledPermissionsApprovals from identityGovernance * @return a {@link ApprovalCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ApprovalCollectionResponse get() { return get(null); } @@ -84,8 +96,11 @@ public ApprovalCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ApprovalCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ApprovalCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -97,8 +112,11 @@ public ApprovalCollectionResponse get(@jakarta.annotation.Nullable final java.ut * @param body The request body * @return a {@link Approval} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Approval post(@jakarta.annotation.Nonnull final Approval body) { return post(body, null); } @@ -108,8 +126,11 @@ public Approval post(@jakarta.annotation.Nonnull final Approval body) { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Approval} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Approval post(@jakarta.annotation.Nonnull final Approval body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -120,8 +141,11 @@ public Approval post(@jakarta.annotation.Nonnull final Approval body, @jakarta.a /** * Get scheduledPermissionsApprovals from identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -129,8 +153,11 @@ public RequestInformation toGetRequestInformation() { * Get scheduledPermissionsApprovals from identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -141,8 +168,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to scheduledPermissionsApprovals for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Approval body) { return toPostRequestInformation(body, null); } @@ -151,8 +181,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Approval body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -165,8 +198,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ScheduledPermissionsApprovalsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ScheduledPermissionsApprovalsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ScheduledPermissionsApprovalsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsmanagement/scheduledpermissionsapprovals/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsmanagement/scheduledpermissionsapprovals/count/CountRequestBuilder.java index 00afa570153..ebedca7bf89 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsmanagement/scheduledpermissionsapprovals/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsmanagement/scheduledpermissionsapprovals/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsmanagement/scheduledpermissionsapprovals/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsmanagement/scheduledpermissionsapprovals/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java index 685bbcf4033..3462aa05ea2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsmanagement/scheduledpermissionsapprovals/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsmanagement/scheduledpermissionsapprovals/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java @@ -41,9 +41,12 @@ public FilterByCurrentUserWithOnRequestBuilder(@jakarta.annotation.Nonnull final * In Microsoft Entra entitlement management, return a collection of access package assignment approvals. The objects returned are those that are in scope for approval by the calling user. In PIM for Groups, return a collection of assignment approvals. The objects returned are those that are in scope for approval by the calling user. * @return a {@link FilterByCurrentUserWithOnGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public FilterByCurrentUserWithOnGetResponse get() { return get(null); } @@ -52,9 +55,12 @@ public FilterByCurrentUserWithOnGetResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link FilterByCurrentUserWithOnGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public FilterByCurrentUserWithOnGetResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -64,8 +70,11 @@ public FilterByCurrentUserWithOnGetResponse get(@jakarta.annotation.Nullable fin /** * In Microsoft Entra entitlement management, return a collection of access package assignment approvals. The objects returned are those that are in scope for approval by the calling user. In PIM for Groups, return a collection of assignment approvals. The objects returned are those that are in scope for approval by the calling user. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -73,8 +82,11 @@ public RequestInformation toGetRequestInformation() { * In Microsoft Entra entitlement management, return a collection of access package assignment approvals. The objects returned are those that are in scope for approval by the calling user. In PIM for Groups, return a collection of assignment approvals. The objects returned are those that are in scope for approval by the calling user. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -85,8 +97,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link FilterByCurrentUserWithOnRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilterByCurrentUserWithOnRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new FilterByCurrentUserWithOnRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsmanagement/scheduledpermissionsapprovals/item/ApprovalItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsmanagement/scheduledpermissionsapprovals/item/ApprovalItemRequestBuilder.java index 0f84336cc72..1f268aa977a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsmanagement/scheduledpermissionsapprovals/item/ApprovalItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsmanagement/scheduledpermissionsapprovals/item/ApprovalItemRequestBuilder.java @@ -24,7 +24,10 @@ public class ApprovalItemRequestBuilder extends BaseRequestBuilder { /** * Provides operations to manage the steps property of the microsoft.graph.approval entity. * @return a {@link StepsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public StepsRequestBuilder steps() { return new StepsRequestBuilder(pathParameters, requestAdapter); @@ -48,7 +51,10 @@ public ApprovalItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUr /** * Delete navigation property scheduledPermissionsApprovals for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -56,7 +62,10 @@ public void delete() { * Delete navigation property scheduledPermissionsApprovals for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -67,8 +76,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Get scheduledPermissionsApprovals from identityGovernance * @return a {@link Approval} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Approval get() { return get(null); } @@ -77,8 +89,11 @@ public Approval get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Approval} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Approval get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -90,8 +105,11 @@ public Approval get(@jakarta.annotation.Nullable final java.util.function.Consum * @param body The request body * @return a {@link Approval} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Approval patch(@jakarta.annotation.Nonnull final Approval body) { return patch(body, null); } @@ -101,8 +119,11 @@ public Approval patch(@jakarta.annotation.Nonnull final Approval body) { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Approval} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Approval patch(@jakarta.annotation.Nonnull final Approval body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -113,8 +134,11 @@ public Approval patch(@jakarta.annotation.Nonnull final Approval body, @jakarta. /** * Delete navigation property scheduledPermissionsApprovals for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -122,8 +146,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property scheduledPermissionsApprovals for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -133,8 +160,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Get scheduledPermissionsApprovals from identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -142,8 +172,11 @@ public RequestInformation toGetRequestInformation() { * Get scheduledPermissionsApprovals from identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -154,8 +187,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property scheduledPermissionsApprovals in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final Approval body) { return toPatchRequestInformation(body, null); } @@ -164,8 +200,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final Approval body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -178,8 +217,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ApprovalItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ApprovalItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ApprovalItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsmanagement/scheduledpermissionsapprovals/item/steps/StepsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsmanagement/scheduledpermissionsapprovals/item/steps/StepsRequestBuilder.java index e6e1cfb6ede..b514277e2ad 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsmanagement/scheduledpermissionsapprovals/item/steps/StepsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsmanagement/scheduledpermissionsapprovals/item/steps/StepsRequestBuilder.java @@ -26,7 +26,10 @@ public class StepsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the steps property of the microsoft.graph.approval entity. * @param approvalStepId The unique identifier of approvalStep * @return a {@link ApprovalStepItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ApprovalStepItemRequestBuilder byApprovalStepId(@jakarta.annotation.Nonnull final String approvalStepId) { Objects.requireNonNull(approvalStepId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public StepsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Used to represent the decision associated with a single step in the approval process configured in approvalStage. * @return a {@link ApprovalStepCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ApprovalStepCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public ApprovalStepCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ApprovalStepCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ApprovalStepCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public ApprovalStepCollectionResponse get(@jakarta.annotation.Nullable final jav * @param body The request body * @return a {@link ApprovalStep} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ApprovalStep post(@jakarta.annotation.Nonnull final ApprovalStep body) { return post(body, null); } @@ -97,8 +112,11 @@ public ApprovalStep post(@jakarta.annotation.Nonnull final ApprovalStep body) { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ApprovalStep} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ApprovalStep post(@jakarta.annotation.Nonnull final ApprovalStep body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public ApprovalStep post(@jakarta.annotation.Nonnull final ApprovalStep body, @j /** * Used to represent the decision associated with a single step in the approval process configured in approvalStage. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Used to represent the decision associated with a single step in the approval process configured in approvalStage. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to steps for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ApprovalStep body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ApprovalStep body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link StepsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public StepsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new StepsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsmanagement/scheduledpermissionsapprovals/item/steps/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsmanagement/scheduledpermissionsapprovals/item/steps/count/CountRequestBuilder.java index b295dce17b7..aaaf3537b11 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsmanagement/scheduledpermissionsapprovals/item/steps/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsmanagement/scheduledpermissionsapprovals/item/steps/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsmanagement/scheduledpermissionsapprovals/item/steps/item/ApprovalStepItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsmanagement/scheduledpermissionsapprovals/item/steps/item/ApprovalStepItemRequestBuilder.java index a35f93f1650..14b45460881 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsmanagement/scheduledpermissionsapprovals/item/steps/item/ApprovalStepItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsmanagement/scheduledpermissionsapprovals/item/steps/item/ApprovalStepItemRequestBuilder.java @@ -39,7 +39,10 @@ public ApprovalStepItemRequestBuilder(@jakarta.annotation.Nonnull final String r /** * Delete navigation property steps for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -47,7 +50,10 @@ public void delete() { * Delete navigation property steps for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -58,8 +64,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Used to represent the decision associated with a single step in the approval process configured in approvalStage. * @return a {@link ApprovalStep} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ApprovalStep get() { return get(null); } @@ -68,8 +77,11 @@ public ApprovalStep get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ApprovalStep} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ApprovalStep get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -81,8 +93,11 @@ public ApprovalStep get(@jakarta.annotation.Nullable final java.util.function.Co * @param body The request body * @return a {@link ApprovalStep} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ApprovalStep patch(@jakarta.annotation.Nonnull final ApprovalStep body) { return patch(body, null); } @@ -92,8 +107,11 @@ public ApprovalStep patch(@jakarta.annotation.Nonnull final ApprovalStep body) { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ApprovalStep} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ApprovalStep patch(@jakarta.annotation.Nonnull final ApprovalStep body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -104,8 +122,11 @@ public ApprovalStep patch(@jakarta.annotation.Nonnull final ApprovalStep body, @ /** * Delete navigation property steps for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -113,8 +134,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property steps for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Used to represent the decision associated with a single step in the approval process configured in approvalStage. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -133,8 +160,11 @@ public RequestInformation toGetRequestInformation() { * Used to represent the decision associated with a single step in the approval process configured in approvalStage. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -145,8 +175,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property steps in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final ApprovalStep body) { return toPatchRequestInformation(body, null); } @@ -155,8 +188,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final ApprovalStep body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -169,8 +205,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ApprovalStepItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ApprovalStepItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ApprovalStepItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsmanagement/scheduledpermissionsrequests/ScheduledPermissionsRequestsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsmanagement/scheduledpermissionsrequests/ScheduledPermissionsRequestsRequestBuilder.java index 916e6d87309..8ad22985334 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsmanagement/scheduledpermissionsrequests/ScheduledPermissionsRequestsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsmanagement/scheduledpermissionsrequests/ScheduledPermissionsRequestsRequestBuilder.java @@ -42,8 +42,11 @@ public ScheduledPermissionsRequestsRequestBuilder(@jakarta.annotation.Nonnull fi * Provides operations to call the filterByCurrentUser method. * @param on Usage: on='{on}' * @return a {@link FilterByCurrentUserWithOnRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilterByCurrentUserWithOnRequestBuilder filterByCurrentUserWithOn(@jakarta.annotation.Nonnull final String on) { Objects.requireNonNull(on); return new FilterByCurrentUserWithOnRequestBuilder(pathParameters, requestAdapter, on); @@ -52,8 +55,11 @@ public FilterByCurrentUserWithOnRequestBuilder filterByCurrentUserWithOn(@jakart * Represents a permissions request that Permissions Management uses to manage permissions for an identity on resources in the authorization system. This request can be granted, rejected or canceled by identities in Permissions Management. * @return a {@link ScheduledPermissionsRequestCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ScheduledPermissionsRequestCollectionResponse get() { return get(null); } @@ -62,8 +68,11 @@ public ScheduledPermissionsRequestCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ScheduledPermissionsRequestCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ScheduledPermissionsRequestCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -75,9 +84,12 @@ public ScheduledPermissionsRequestCollectionResponse get(@jakarta.annotation.Nul * @param body The request body * @return a {@link ScheduledPermissionsRequest} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public ScheduledPermissionsRequest post(@jakarta.annotation.Nonnull final ScheduledPermissionsRequest body) { return post(body, null); } @@ -87,9 +99,12 @@ public ScheduledPermissionsRequest post(@jakarta.annotation.Nonnull final Schedu * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ScheduledPermissionsRequest} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public ScheduledPermissionsRequest post(@jakarta.annotation.Nonnull final ScheduledPermissionsRequest body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -100,8 +115,11 @@ public ScheduledPermissionsRequest post(@jakarta.annotation.Nonnull final Schedu /** * Represents a permissions request that Permissions Management uses to manage permissions for an identity on resources in the authorization system. This request can be granted, rejected or canceled by identities in Permissions Management. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -109,8 +127,11 @@ public RequestInformation toGetRequestInformation() { * Represents a permissions request that Permissions Management uses to manage permissions for an identity on resources in the authorization system. This request can be granted, rejected or canceled by identities in Permissions Management. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -121,8 +142,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create a new scheduledPermissionsRequest object. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ScheduledPermissionsRequest body) { return toPostRequestInformation(body, null); } @@ -131,8 +155,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ScheduledPermissionsRequest body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -145,8 +172,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ScheduledPermissionsRequestsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ScheduledPermissionsRequestsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ScheduledPermissionsRequestsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsmanagement/scheduledpermissionsrequests/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsmanagement/scheduledpermissionsrequests/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java index ee2eaa777cf..89db9f2cbdd 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsmanagement/scheduledpermissionsrequests/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsmanagement/scheduledpermissionsrequests/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java @@ -41,8 +41,11 @@ public FilterByCurrentUserWithOnRequestBuilder(@jakarta.annotation.Nonnull final * Invoke function filterByCurrentUser * @return a {@link FilterByCurrentUserWithOnGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public FilterByCurrentUserWithOnGetResponse get() { return get(null); } @@ -51,8 +54,11 @@ public FilterByCurrentUserWithOnGetResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link FilterByCurrentUserWithOnGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public FilterByCurrentUserWithOnGetResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -62,8 +68,11 @@ public FilterByCurrentUserWithOnGetResponse get(@jakarta.annotation.Nullable fin /** * Invoke function filterByCurrentUser * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -71,8 +80,11 @@ public RequestInformation toGetRequestInformation() { * Invoke function filterByCurrentUser * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -83,8 +95,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link FilterByCurrentUserWithOnRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilterByCurrentUserWithOnRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new FilterByCurrentUserWithOnRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/PrivilegedAccessRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/PrivilegedAccessRequestBuilder.java index d7c52df9f7c..8e0ed199128 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/PrivilegedAccessRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/PrivilegedAccessRequestBuilder.java @@ -24,7 +24,10 @@ public class PrivilegedAccessRequestBuilder extends BaseRequestBuilder { /** * Provides operations to manage the group property of the microsoft.graph.privilegedAccessRoot entity. * @return a {@link GroupRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public GroupRequestBuilder group() { return new GroupRequestBuilder(pathParameters, requestAdapter); @@ -48,7 +51,10 @@ public PrivilegedAccessRequestBuilder(@jakarta.annotation.Nonnull final String r /** * Delete navigation property privilegedAccess for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -56,7 +62,10 @@ public void delete() { * Delete navigation property privilegedAccess for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -67,8 +76,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Get privilegedAccess from identityGovernance * @return a {@link PrivilegedAccessRoot} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public PrivilegedAccessRoot get() { return get(null); } @@ -77,8 +89,11 @@ public PrivilegedAccessRoot get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link PrivilegedAccessRoot} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public PrivilegedAccessRoot get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -90,8 +105,11 @@ public PrivilegedAccessRoot get(@jakarta.annotation.Nullable final java.util.fun * @param body The request body * @return a {@link PrivilegedAccessRoot} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public PrivilegedAccessRoot patch(@jakarta.annotation.Nonnull final PrivilegedAccessRoot body) { return patch(body, null); } @@ -101,8 +119,11 @@ public PrivilegedAccessRoot patch(@jakarta.annotation.Nonnull final PrivilegedAc * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link PrivilegedAccessRoot} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public PrivilegedAccessRoot patch(@jakarta.annotation.Nonnull final PrivilegedAccessRoot body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -113,8 +134,11 @@ public PrivilegedAccessRoot patch(@jakarta.annotation.Nonnull final PrivilegedAc /** * Delete navigation property privilegedAccess for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -122,8 +146,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property privilegedAccess for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -133,8 +160,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Get privilegedAccess from identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -142,8 +172,11 @@ public RequestInformation toGetRequestInformation() { * Get privilegedAccess from identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -154,8 +187,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property privilegedAccess in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final PrivilegedAccessRoot body) { return toPatchRequestInformation(body, null); } @@ -164,8 +200,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final PrivilegedAccessRoot body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -178,8 +217,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link PrivilegedAccessRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public PrivilegedAccessRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new PrivilegedAccessRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/GroupRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/GroupRequestBuilder.java index 2059fe97c64..df789d620d7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/GroupRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/GroupRequestBuilder.java @@ -31,7 +31,10 @@ public class GroupRequestBuilder extends BaseRequestBuilder { /** * Provides operations to manage the assignmentApprovals property of the microsoft.graph.privilegedAccessGroup entity. * @return a {@link AssignmentApprovalsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AssignmentApprovalsRequestBuilder assignmentApprovals() { return new AssignmentApprovalsRequestBuilder(pathParameters, requestAdapter); @@ -39,7 +42,10 @@ public AssignmentApprovalsRequestBuilder assignmentApprovals() { /** * Provides operations to manage the assignmentScheduleInstances property of the microsoft.graph.privilegedAccessGroup entity. * @return a {@link AssignmentScheduleInstancesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AssignmentScheduleInstancesRequestBuilder assignmentScheduleInstances() { return new AssignmentScheduleInstancesRequestBuilder(pathParameters, requestAdapter); @@ -47,7 +53,10 @@ public AssignmentScheduleInstancesRequestBuilder assignmentScheduleInstances() { /** * Provides operations to manage the assignmentScheduleRequests property of the microsoft.graph.privilegedAccessGroup entity. * @return a {@link AssignmentScheduleRequestsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AssignmentScheduleRequestsRequestBuilder assignmentScheduleRequests() { return new AssignmentScheduleRequestsRequestBuilder(pathParameters, requestAdapter); @@ -55,7 +64,10 @@ public AssignmentScheduleRequestsRequestBuilder assignmentScheduleRequests() { /** * Provides operations to manage the assignmentSchedules property of the microsoft.graph.privilegedAccessGroup entity. * @return a {@link AssignmentSchedulesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AssignmentSchedulesRequestBuilder assignmentSchedules() { return new AssignmentSchedulesRequestBuilder(pathParameters, requestAdapter); @@ -63,7 +75,10 @@ public AssignmentSchedulesRequestBuilder assignmentSchedules() { /** * Provides operations to manage the eligibilityScheduleInstances property of the microsoft.graph.privilegedAccessGroup entity. * @return a {@link EligibilityScheduleInstancesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public EligibilityScheduleInstancesRequestBuilder eligibilityScheduleInstances() { return new EligibilityScheduleInstancesRequestBuilder(pathParameters, requestAdapter); @@ -71,7 +86,10 @@ public EligibilityScheduleInstancesRequestBuilder eligibilityScheduleInstances() /** * Provides operations to manage the eligibilityScheduleRequests property of the microsoft.graph.privilegedAccessGroup entity. * @return a {@link EligibilityScheduleRequestsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public EligibilityScheduleRequestsRequestBuilder eligibilityScheduleRequests() { return new EligibilityScheduleRequestsRequestBuilder(pathParameters, requestAdapter); @@ -79,7 +97,10 @@ public EligibilityScheduleRequestsRequestBuilder eligibilityScheduleRequests() { /** * Provides operations to manage the eligibilitySchedules property of the microsoft.graph.privilegedAccessGroup entity. * @return a {@link EligibilitySchedulesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public EligibilitySchedulesRequestBuilder eligibilitySchedules() { return new EligibilitySchedulesRequestBuilder(pathParameters, requestAdapter); @@ -87,7 +108,10 @@ public EligibilitySchedulesRequestBuilder eligibilitySchedules() { /** * Provides operations to manage the resources property of the microsoft.graph.privilegedAccessGroup entity. * @return a {@link ResourcesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ResourcesRequestBuilder resources() { return new ResourcesRequestBuilder(pathParameters, requestAdapter); @@ -111,7 +135,10 @@ public GroupRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak /** * Delete navigation property group for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -119,7 +146,10 @@ public void delete() { * Delete navigation property group for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -130,8 +160,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * A group that's governed through Privileged Identity Management (PIM). * @return a {@link PrivilegedAccessGroup} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public PrivilegedAccessGroup get() { return get(null); } @@ -140,8 +173,11 @@ public PrivilegedAccessGroup get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link PrivilegedAccessGroup} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public PrivilegedAccessGroup get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -153,8 +189,11 @@ public PrivilegedAccessGroup get(@jakarta.annotation.Nullable final java.util.fu * @param body The request body * @return a {@link PrivilegedAccessGroup} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public PrivilegedAccessGroup patch(@jakarta.annotation.Nonnull final PrivilegedAccessGroup body) { return patch(body, null); } @@ -164,8 +203,11 @@ public PrivilegedAccessGroup patch(@jakarta.annotation.Nonnull final PrivilegedA * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link PrivilegedAccessGroup} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public PrivilegedAccessGroup patch(@jakarta.annotation.Nonnull final PrivilegedAccessGroup body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -176,8 +218,11 @@ public PrivilegedAccessGroup patch(@jakarta.annotation.Nonnull final PrivilegedA /** * Delete navigation property group for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -185,8 +230,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property group for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -196,8 +244,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * A group that's governed through Privileged Identity Management (PIM). * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -205,8 +256,11 @@ public RequestInformation toGetRequestInformation() { * A group that's governed through Privileged Identity Management (PIM). * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -217,8 +271,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property group in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final PrivilegedAccessGroup body) { return toPatchRequestInformation(body, null); } @@ -227,8 +284,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final PrivilegedAccessGroup body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -241,8 +301,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link GroupRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public GroupRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new GroupRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentapprovals/AssignmentApprovalsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentapprovals/AssignmentApprovalsRequestBuilder.java index 487f95051e6..352b0917ccc 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentapprovals/AssignmentApprovalsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentapprovals/AssignmentApprovalsRequestBuilder.java @@ -27,7 +27,10 @@ public class AssignmentApprovalsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -36,8 +39,11 @@ public CountRequestBuilder count() { * Provides operations to manage the assignmentApprovals property of the microsoft.graph.privilegedAccessGroup entity. * @param approvalId The unique identifier of approval * @return a {@link ApprovalItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ApprovalItemRequestBuilder byApprovalId(@jakarta.annotation.Nonnull final String approvalId) { Objects.requireNonNull(approvalId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -64,8 +70,11 @@ public AssignmentApprovalsRequestBuilder(@jakarta.annotation.Nonnull final Strin * Provides operations to call the filterByCurrentUser method. * @param on Usage: on='{on}' * @return a {@link FilterByCurrentUserWithOnRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilterByCurrentUserWithOnRequestBuilder filterByCurrentUserWithOn(@jakarta.annotation.Nonnull final String on) { Objects.requireNonNull(on); return new FilterByCurrentUserWithOnRequestBuilder(pathParameters, requestAdapter, on); @@ -74,8 +83,11 @@ public FilterByCurrentUserWithOnRequestBuilder filterByCurrentUserWithOn(@jakart * Get assignmentApprovals from identityGovernance * @return a {@link ApprovalCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ApprovalCollectionResponse get() { return get(null); } @@ -84,8 +96,11 @@ public ApprovalCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ApprovalCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ApprovalCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -97,8 +112,11 @@ public ApprovalCollectionResponse get(@jakarta.annotation.Nullable final java.ut * @param body The request body * @return a {@link Approval} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Approval post(@jakarta.annotation.Nonnull final Approval body) { return post(body, null); } @@ -108,8 +126,11 @@ public Approval post(@jakarta.annotation.Nonnull final Approval body) { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Approval} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Approval post(@jakarta.annotation.Nonnull final Approval body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -120,8 +141,11 @@ public Approval post(@jakarta.annotation.Nonnull final Approval body, @jakarta.a /** * Get assignmentApprovals from identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -129,8 +153,11 @@ public RequestInformation toGetRequestInformation() { * Get assignmentApprovals from identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -141,8 +168,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to assignmentApprovals for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Approval body) { return toPostRequestInformation(body, null); } @@ -151,8 +181,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Approval body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -165,8 +198,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AssignmentApprovalsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AssignmentApprovalsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AssignmentApprovalsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentapprovals/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentapprovals/count/CountRequestBuilder.java index b0325e3562c..8d6885089ee 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentapprovals/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentapprovals/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentapprovals/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentapprovals/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java index 20d9fb8c816..a0bbc50f184 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentapprovals/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentapprovals/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java @@ -41,9 +41,12 @@ public FilterByCurrentUserWithOnRequestBuilder(@jakarta.annotation.Nonnull final * In Microsoft Entra entitlement management, return a collection of access package assignment approvals. The objects returned are those that are in scope for approval by the calling user. In PIM for Groups, return a collection of assignment approvals. The objects returned are those that are in scope for approval by the calling user. * @return a {@link FilterByCurrentUserWithOnGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public FilterByCurrentUserWithOnGetResponse get() { return get(null); } @@ -52,9 +55,12 @@ public FilterByCurrentUserWithOnGetResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link FilterByCurrentUserWithOnGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public FilterByCurrentUserWithOnGetResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -64,8 +70,11 @@ public FilterByCurrentUserWithOnGetResponse get(@jakarta.annotation.Nullable fin /** * In Microsoft Entra entitlement management, return a collection of access package assignment approvals. The objects returned are those that are in scope for approval by the calling user. In PIM for Groups, return a collection of assignment approvals. The objects returned are those that are in scope for approval by the calling user. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -73,8 +82,11 @@ public RequestInformation toGetRequestInformation() { * In Microsoft Entra entitlement management, return a collection of access package assignment approvals. The objects returned are those that are in scope for approval by the calling user. In PIM for Groups, return a collection of assignment approvals. The objects returned are those that are in scope for approval by the calling user. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -85,8 +97,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link FilterByCurrentUserWithOnRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilterByCurrentUserWithOnRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new FilterByCurrentUserWithOnRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentapprovals/item/ApprovalItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentapprovals/item/ApprovalItemRequestBuilder.java index 324707aa71f..5878e7301f8 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentapprovals/item/ApprovalItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentapprovals/item/ApprovalItemRequestBuilder.java @@ -24,7 +24,10 @@ public class ApprovalItemRequestBuilder extends BaseRequestBuilder { /** * Provides operations to manage the steps property of the microsoft.graph.approval entity. * @return a {@link StepsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public StepsRequestBuilder steps() { return new StepsRequestBuilder(pathParameters, requestAdapter); @@ -48,7 +51,10 @@ public ApprovalItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUr /** * Delete navigation property assignmentApprovals for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -56,7 +62,10 @@ public void delete() { * Delete navigation property assignmentApprovals for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -67,8 +76,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Get assignmentApprovals from identityGovernance * @return a {@link Approval} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Approval get() { return get(null); } @@ -77,8 +89,11 @@ public Approval get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Approval} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Approval get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -90,8 +105,11 @@ public Approval get(@jakarta.annotation.Nullable final java.util.function.Consum * @param body The request body * @return a {@link Approval} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Approval patch(@jakarta.annotation.Nonnull final Approval body) { return patch(body, null); } @@ -101,8 +119,11 @@ public Approval patch(@jakarta.annotation.Nonnull final Approval body) { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Approval} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Approval patch(@jakarta.annotation.Nonnull final Approval body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -113,8 +134,11 @@ public Approval patch(@jakarta.annotation.Nonnull final Approval body, @jakarta. /** * Delete navigation property assignmentApprovals for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -122,8 +146,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property assignmentApprovals for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -133,8 +160,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Get assignmentApprovals from identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -142,8 +172,11 @@ public RequestInformation toGetRequestInformation() { * Get assignmentApprovals from identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -154,8 +187,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property assignmentApprovals in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final Approval body) { return toPatchRequestInformation(body, null); } @@ -164,8 +200,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final Approval body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -178,8 +217,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ApprovalItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ApprovalItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ApprovalItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentapprovals/item/steps/StepsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentapprovals/item/steps/StepsRequestBuilder.java index 5bc98cbfdae..c11963dd650 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentapprovals/item/steps/StepsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentapprovals/item/steps/StepsRequestBuilder.java @@ -26,7 +26,10 @@ public class StepsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the steps property of the microsoft.graph.approval entity. * @param approvalStepId The unique identifier of approvalStep * @return a {@link ApprovalStepItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ApprovalStepItemRequestBuilder byApprovalStepId(@jakarta.annotation.Nonnull final String approvalStepId) { Objects.requireNonNull(approvalStepId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public StepsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Used to represent the decision associated with a single step in the approval process configured in approvalStage. * @return a {@link ApprovalStepCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ApprovalStepCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public ApprovalStepCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ApprovalStepCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ApprovalStepCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public ApprovalStepCollectionResponse get(@jakarta.annotation.Nullable final jav * @param body The request body * @return a {@link ApprovalStep} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ApprovalStep post(@jakarta.annotation.Nonnull final ApprovalStep body) { return post(body, null); } @@ -97,8 +112,11 @@ public ApprovalStep post(@jakarta.annotation.Nonnull final ApprovalStep body) { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ApprovalStep} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ApprovalStep post(@jakarta.annotation.Nonnull final ApprovalStep body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public ApprovalStep post(@jakarta.annotation.Nonnull final ApprovalStep body, @j /** * Used to represent the decision associated with a single step in the approval process configured in approvalStage. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Used to represent the decision associated with a single step in the approval process configured in approvalStage. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to steps for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ApprovalStep body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ApprovalStep body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link StepsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public StepsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new StepsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentapprovals/item/steps/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentapprovals/item/steps/count/CountRequestBuilder.java index f55928a691c..b871554bfa8 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentapprovals/item/steps/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentapprovals/item/steps/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentapprovals/item/steps/item/ApprovalStepItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentapprovals/item/steps/item/ApprovalStepItemRequestBuilder.java index 21525e5a735..11b1464b1b2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentapprovals/item/steps/item/ApprovalStepItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentapprovals/item/steps/item/ApprovalStepItemRequestBuilder.java @@ -39,7 +39,10 @@ public ApprovalStepItemRequestBuilder(@jakarta.annotation.Nonnull final String r /** * Delete navigation property steps for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -47,7 +50,10 @@ public void delete() { * Delete navigation property steps for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -58,8 +64,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Used to represent the decision associated with a single step in the approval process configured in approvalStage. * @return a {@link ApprovalStep} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ApprovalStep get() { return get(null); } @@ -68,8 +77,11 @@ public ApprovalStep get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ApprovalStep} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ApprovalStep get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -81,8 +93,11 @@ public ApprovalStep get(@jakarta.annotation.Nullable final java.util.function.Co * @param body The request body * @return a {@link ApprovalStep} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ApprovalStep patch(@jakarta.annotation.Nonnull final ApprovalStep body) { return patch(body, null); } @@ -92,8 +107,11 @@ public ApprovalStep patch(@jakarta.annotation.Nonnull final ApprovalStep body) { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ApprovalStep} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ApprovalStep patch(@jakarta.annotation.Nonnull final ApprovalStep body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -104,8 +122,11 @@ public ApprovalStep patch(@jakarta.annotation.Nonnull final ApprovalStep body, @ /** * Delete navigation property steps for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -113,8 +134,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property steps for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Used to represent the decision associated with a single step in the approval process configured in approvalStage. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -133,8 +160,11 @@ public RequestInformation toGetRequestInformation() { * Used to represent the decision associated with a single step in the approval process configured in approvalStage. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -145,8 +175,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property steps in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final ApprovalStep body) { return toPatchRequestInformation(body, null); } @@ -155,8 +188,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final ApprovalStep body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -169,8 +205,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ApprovalStepItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ApprovalStepItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ApprovalStepItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentscheduleinstances/AssignmentScheduleInstancesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentscheduleinstances/AssignmentScheduleInstancesRequestBuilder.java index 774c69a5d48..2a4b216b926 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentscheduleinstances/AssignmentScheduleInstancesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentscheduleinstances/AssignmentScheduleInstancesRequestBuilder.java @@ -27,7 +27,10 @@ public class AssignmentScheduleInstancesRequestBuilder extends BaseRequestBuilde /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -36,8 +39,11 @@ public CountRequestBuilder count() { * Provides operations to manage the assignmentScheduleInstances property of the microsoft.graph.privilegedAccessGroup entity. * @param privilegedAccessGroupAssignmentScheduleInstanceId The unique identifier of privilegedAccessGroupAssignmentScheduleInstance * @return a {@link PrivilegedAccessGroupAssignmentScheduleInstanceItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public PrivilegedAccessGroupAssignmentScheduleInstanceItemRequestBuilder byPrivilegedAccessGroupAssignmentScheduleInstanceId(@jakarta.annotation.Nonnull final String privilegedAccessGroupAssignmentScheduleInstanceId) { Objects.requireNonNull(privilegedAccessGroupAssignmentScheduleInstanceId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -64,8 +70,11 @@ public AssignmentScheduleInstancesRequestBuilder(@jakarta.annotation.Nonnull fin * Provides operations to call the filterByCurrentUser method. * @param on Usage: on='{on}' * @return a {@link FilterByCurrentUserWithOnRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilterByCurrentUserWithOnRequestBuilder filterByCurrentUserWithOn(@jakarta.annotation.Nonnull final String on) { Objects.requireNonNull(on); return new FilterByCurrentUserWithOnRequestBuilder(pathParameters, requestAdapter, on); @@ -74,9 +83,12 @@ public FilterByCurrentUserWithOnRequestBuilder filterByCurrentUserWithOn(@jakart * Get a list of the privilegedAccessGroupAssignmentScheduleInstance objects and their properties. * @return a {@link PrivilegedAccessGroupAssignmentScheduleInstanceCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public PrivilegedAccessGroupAssignmentScheduleInstanceCollectionResponse get() { return get(null); } @@ -85,9 +97,12 @@ public PrivilegedAccessGroupAssignmentScheduleInstanceCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link PrivilegedAccessGroupAssignmentScheduleInstanceCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public PrivilegedAccessGroupAssignmentScheduleInstanceCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -99,8 +114,11 @@ public PrivilegedAccessGroupAssignmentScheduleInstanceCollectionResponse get(@ja * @param body The request body * @return a {@link PrivilegedAccessGroupAssignmentScheduleInstance} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public PrivilegedAccessGroupAssignmentScheduleInstance post(@jakarta.annotation.Nonnull final PrivilegedAccessGroupAssignmentScheduleInstance body) { return post(body, null); } @@ -110,8 +128,11 @@ public PrivilegedAccessGroupAssignmentScheduleInstance post(@jakarta.annotation. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link PrivilegedAccessGroupAssignmentScheduleInstance} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public PrivilegedAccessGroupAssignmentScheduleInstance post(@jakarta.annotation.Nonnull final PrivilegedAccessGroupAssignmentScheduleInstance body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -122,8 +143,11 @@ public PrivilegedAccessGroupAssignmentScheduleInstance post(@jakarta.annotation. /** * Get a list of the privilegedAccessGroupAssignmentScheduleInstance objects and their properties. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -131,8 +155,11 @@ public RequestInformation toGetRequestInformation() { * Get a list of the privilegedAccessGroupAssignmentScheduleInstance objects and their properties. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -143,8 +170,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to assignmentScheduleInstances for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final PrivilegedAccessGroupAssignmentScheduleInstance body) { return toPostRequestInformation(body, null); } @@ -153,8 +183,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final PrivilegedAccessGroupAssignmentScheduleInstance body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -167,8 +200,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AssignmentScheduleInstancesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AssignmentScheduleInstancesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AssignmentScheduleInstancesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentscheduleinstances/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentscheduleinstances/count/CountRequestBuilder.java index df32d89b488..569636bf8d5 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentscheduleinstances/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentscheduleinstances/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentscheduleinstances/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentscheduleinstances/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java index f58ff76e21f..ff3f06bbfa1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentscheduleinstances/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentscheduleinstances/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java @@ -41,9 +41,12 @@ public FilterByCurrentUserWithOnRequestBuilder(@jakarta.annotation.Nonnull final * In PIM for Groups, retrieve the schedule instances for membership or ownership assignments for the calling principal to groups that are governed by PIM. * @return a {@link FilterByCurrentUserWithOnGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public FilterByCurrentUserWithOnGetResponse get() { return get(null); } @@ -52,9 +55,12 @@ public FilterByCurrentUserWithOnGetResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link FilterByCurrentUserWithOnGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public FilterByCurrentUserWithOnGetResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -64,8 +70,11 @@ public FilterByCurrentUserWithOnGetResponse get(@jakarta.annotation.Nullable fin /** * In PIM for Groups, retrieve the schedule instances for membership or ownership assignments for the calling principal to groups that are governed by PIM. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -73,8 +82,11 @@ public RequestInformation toGetRequestInformation() { * In PIM for Groups, retrieve the schedule instances for membership or ownership assignments for the calling principal to groups that are governed by PIM. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -85,8 +97,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link FilterByCurrentUserWithOnRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilterByCurrentUserWithOnRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new FilterByCurrentUserWithOnRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentscheduleinstances/item/PrivilegedAccessGroupAssignmentScheduleInstanceItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentscheduleinstances/item/PrivilegedAccessGroupAssignmentScheduleInstanceItemRequestBuilder.java index f1eb50aff9a..ca14d79745a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentscheduleinstances/item/PrivilegedAccessGroupAssignmentScheduleInstanceItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentscheduleinstances/item/PrivilegedAccessGroupAssignmentScheduleInstanceItemRequestBuilder.java @@ -26,7 +26,10 @@ public class PrivilegedAccessGroupAssignmentScheduleInstanceItemRequestBuilder e /** * Provides operations to manage the activatedUsing property of the microsoft.graph.privilegedAccessGroupAssignmentScheduleInstance entity. * @return a {@link ActivatedUsingRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ActivatedUsingRequestBuilder activatedUsing() { return new ActivatedUsingRequestBuilder(pathParameters, requestAdapter); @@ -34,7 +37,10 @@ public ActivatedUsingRequestBuilder activatedUsing() { /** * Provides operations to manage the group property of the microsoft.graph.privilegedAccessGroupAssignmentScheduleInstance entity. * @return a {@link GroupRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public GroupRequestBuilder group() { return new GroupRequestBuilder(pathParameters, requestAdapter); @@ -42,7 +48,10 @@ public GroupRequestBuilder group() { /** * Provides operations to manage the principal property of the microsoft.graph.privilegedAccessGroupAssignmentScheduleInstance entity. * @return a {@link PrincipalRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public PrincipalRequestBuilder principal() { return new PrincipalRequestBuilder(pathParameters, requestAdapter); @@ -66,7 +75,10 @@ public PrivilegedAccessGroupAssignmentScheduleInstanceItemRequestBuilder(@jakart /** * Delete navigation property assignmentScheduleInstances for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -74,7 +86,10 @@ public void delete() { * Delete navigation property assignmentScheduleInstances for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -85,9 +100,12 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Read the properties and relationships of a privilegedAccessGroupAssignmentScheduleInstance object. * @return a {@link PrivilegedAccessGroupAssignmentScheduleInstance} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public PrivilegedAccessGroupAssignmentScheduleInstance get() { return get(null); } @@ -96,9 +114,12 @@ public PrivilegedAccessGroupAssignmentScheduleInstance get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link PrivilegedAccessGroupAssignmentScheduleInstance} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public PrivilegedAccessGroupAssignmentScheduleInstance get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -110,8 +131,11 @@ public PrivilegedAccessGroupAssignmentScheduleInstance get(@jakarta.annotation.N * @param body The request body * @return a {@link PrivilegedAccessGroupAssignmentScheduleInstance} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public PrivilegedAccessGroupAssignmentScheduleInstance patch(@jakarta.annotation.Nonnull final PrivilegedAccessGroupAssignmentScheduleInstance body) { return patch(body, null); } @@ -121,8 +145,11 @@ public PrivilegedAccessGroupAssignmentScheduleInstance patch(@jakarta.annotation * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link PrivilegedAccessGroupAssignmentScheduleInstance} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public PrivilegedAccessGroupAssignmentScheduleInstance patch(@jakarta.annotation.Nonnull final PrivilegedAccessGroupAssignmentScheduleInstance body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -133,8 +160,11 @@ public PrivilegedAccessGroupAssignmentScheduleInstance patch(@jakarta.annotation /** * Delete navigation property assignmentScheduleInstances for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -142,8 +172,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property assignmentScheduleInstances for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -153,8 +186,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Read the properties and relationships of a privilegedAccessGroupAssignmentScheduleInstance object. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -162,8 +198,11 @@ public RequestInformation toGetRequestInformation() { * Read the properties and relationships of a privilegedAccessGroupAssignmentScheduleInstance object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -174,8 +213,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property assignmentScheduleInstances in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final PrivilegedAccessGroupAssignmentScheduleInstance body) { return toPatchRequestInformation(body, null); } @@ -184,8 +226,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final PrivilegedAccessGroupAssignmentScheduleInstance body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -198,8 +243,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link PrivilegedAccessGroupAssignmentScheduleInstanceItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public PrivilegedAccessGroupAssignmentScheduleInstanceItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new PrivilegedAccessGroupAssignmentScheduleInstanceItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentscheduleinstances/item/activatedusing/ActivatedUsingRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentscheduleinstances/item/activatedusing/ActivatedUsingRequestBuilder.java index 01087b213c7..db43fcc3ec8 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentscheduleinstances/item/activatedusing/ActivatedUsingRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentscheduleinstances/item/activatedusing/ActivatedUsingRequestBuilder.java @@ -40,8 +40,11 @@ public ActivatedUsingRequestBuilder(@jakarta.annotation.Nonnull final String raw * When the request activates a membership or ownership in PIM for Groups, this object represents the eligibility request for the group. Otherwise, it's null. * @return a {@link PrivilegedAccessGroupEligibilityScheduleInstance} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public PrivilegedAccessGroupEligibilityScheduleInstance get() { return get(null); } @@ -50,8 +53,11 @@ public PrivilegedAccessGroupEligibilityScheduleInstance get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link PrivilegedAccessGroupEligibilityScheduleInstance} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public PrivilegedAccessGroupEligibilityScheduleInstance get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public PrivilegedAccessGroupEligibilityScheduleInstance get(@jakarta.annotation. /** * When the request activates a membership or ownership in PIM for Groups, this object represents the eligibility request for the group. Otherwise, it's null. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * When the request activates a membership or ownership in PIM for Groups, this object represents the eligibility request for the group. Otherwise, it's null. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ActivatedUsingRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ActivatedUsingRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ActivatedUsingRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentscheduleinstances/item/group/GroupRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentscheduleinstances/item/group/GroupRequestBuilder.java index c9f800ace7b..d414dd38145 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentscheduleinstances/item/group/GroupRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentscheduleinstances/item/group/GroupRequestBuilder.java @@ -24,7 +24,10 @@ public class GroupRequestBuilder extends BaseRequestBuilder { /** * The serviceProvisioningErrors property * @return a {@link ServiceProvisioningErrorsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ServiceProvisioningErrorsRequestBuilder serviceProvisioningErrors() { return new ServiceProvisioningErrorsRequestBuilder(pathParameters, requestAdapter); @@ -49,8 +52,11 @@ public GroupRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * References the group that is the scope of the membership or ownership assignment through PIM for Groups. Supports $expand. * @return a {@link Group} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Group get() { return get(null); } @@ -59,8 +65,11 @@ public Group get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Group} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Group get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -70,8 +79,11 @@ public Group get(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * References the group that is the scope of the membership or ownership assignment through PIM for Groups. Supports $expand. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -79,8 +91,11 @@ public RequestInformation toGetRequestInformation() { * References the group that is the scope of the membership or ownership assignment through PIM for Groups. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -91,8 +106,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link GroupRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public GroupRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new GroupRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentscheduleinstances/item/group/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentscheduleinstances/item/group/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java index 6d3ad6b60ea..973a999a5c4 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentscheduleinstances/item/group/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentscheduleinstances/item/group/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java @@ -24,7 +24,10 @@ public class ServiceProvisioningErrorsRequestBuilder extends BaseRequestBuilder /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -49,8 +52,11 @@ public ServiceProvisioningErrorsRequestBuilder(@jakarta.annotation.Nonnull final * Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object. * @return a {@link ServiceProvisioningErrorCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ServiceProvisioningErrorCollectionResponse get() { return get(null); } @@ -59,8 +65,11 @@ public ServiceProvisioningErrorCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ServiceProvisioningErrorCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ServiceProvisioningErrorCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -70,8 +79,11 @@ public ServiceProvisioningErrorCollectionResponse get(@jakarta.annotation.Nullab /** * Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -79,8 +91,11 @@ public RequestInformation toGetRequestInformation() { * Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -91,8 +106,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ServiceProvisioningErrorsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ServiceProvisioningErrorsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ServiceProvisioningErrorsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentscheduleinstances/item/group/serviceprovisioningerrors/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentscheduleinstances/item/group/serviceprovisioningerrors/count/CountRequestBuilder.java index 6aaa6cb3919..03eed28f7c8 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentscheduleinstances/item/group/serviceprovisioningerrors/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentscheduleinstances/item/group/serviceprovisioningerrors/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentscheduleinstances/item/principal/PrincipalRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentscheduleinstances/item/principal/PrincipalRequestBuilder.java index 3a46807d374..5b0a4a0cd7d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentscheduleinstances/item/principal/PrincipalRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentscheduleinstances/item/principal/PrincipalRequestBuilder.java @@ -40,8 +40,11 @@ public PrincipalRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, * References the principal that's in the scope of the membership or ownership assignment request through the group that's governed by PIM. Supports $expand. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public DirectoryObject get() { return get(null); } @@ -50,8 +53,11 @@ public DirectoryObject get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public DirectoryObject get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public DirectoryObject get(@jakarta.annotation.Nullable final java.util.function /** * References the principal that's in the scope of the membership or ownership assignment request through the group that's governed by PIM. Supports $expand. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * References the principal that's in the scope of the membership or ownership assignment request through the group that's governed by PIM. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link PrincipalRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public PrincipalRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new PrincipalRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentschedulerequests/AssignmentScheduleRequestsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentschedulerequests/AssignmentScheduleRequestsRequestBuilder.java index c8489be4302..273a9ca0b66 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentschedulerequests/AssignmentScheduleRequestsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentschedulerequests/AssignmentScheduleRequestsRequestBuilder.java @@ -27,7 +27,10 @@ public class AssignmentScheduleRequestsRequestBuilder extends BaseRequestBuilder /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -36,8 +39,11 @@ public CountRequestBuilder count() { * Provides operations to manage the assignmentScheduleRequests property of the microsoft.graph.privilegedAccessGroup entity. * @param privilegedAccessGroupAssignmentScheduleRequestId The unique identifier of privilegedAccessGroupAssignmentScheduleRequest * @return a {@link PrivilegedAccessGroupAssignmentScheduleRequestItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public PrivilegedAccessGroupAssignmentScheduleRequestItemRequestBuilder byPrivilegedAccessGroupAssignmentScheduleRequestId(@jakarta.annotation.Nonnull final String privilegedAccessGroupAssignmentScheduleRequestId) { Objects.requireNonNull(privilegedAccessGroupAssignmentScheduleRequestId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -64,8 +70,11 @@ public AssignmentScheduleRequestsRequestBuilder(@jakarta.annotation.Nonnull fina * Provides operations to call the filterByCurrentUser method. * @param on Usage: on='{on}' * @return a {@link FilterByCurrentUserWithOnRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilterByCurrentUserWithOnRequestBuilder filterByCurrentUserWithOn(@jakarta.annotation.Nonnull final String on) { Objects.requireNonNull(on); return new FilterByCurrentUserWithOnRequestBuilder(pathParameters, requestAdapter, on); @@ -74,9 +83,12 @@ public FilterByCurrentUserWithOnRequestBuilder filterByCurrentUserWithOn(@jakart * Get a list of the privilegedAccessGroupAssignmentScheduleRequest objects and their properties. * @return a {@link PrivilegedAccessGroupAssignmentScheduleRequestCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public PrivilegedAccessGroupAssignmentScheduleRequestCollectionResponse get() { return get(null); } @@ -85,9 +97,12 @@ public PrivilegedAccessGroupAssignmentScheduleRequestCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link PrivilegedAccessGroupAssignmentScheduleRequestCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public PrivilegedAccessGroupAssignmentScheduleRequestCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -99,9 +114,12 @@ public PrivilegedAccessGroupAssignmentScheduleRequestCollectionResponse get(@jak * @param body The request body * @return a {@link PrivilegedAccessGroupAssignmentScheduleRequest} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public PrivilegedAccessGroupAssignmentScheduleRequest post(@jakarta.annotation.Nonnull final PrivilegedAccessGroupAssignmentScheduleRequest body) { return post(body, null); } @@ -111,9 +129,12 @@ public PrivilegedAccessGroupAssignmentScheduleRequest post(@jakarta.annotation.N * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link PrivilegedAccessGroupAssignmentScheduleRequest} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public PrivilegedAccessGroupAssignmentScheduleRequest post(@jakarta.annotation.Nonnull final PrivilegedAccessGroupAssignmentScheduleRequest body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -124,8 +145,11 @@ public PrivilegedAccessGroupAssignmentScheduleRequest post(@jakarta.annotation.N /** * Get a list of the privilegedAccessGroupAssignmentScheduleRequest objects and their properties. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -133,8 +157,11 @@ public RequestInformation toGetRequestInformation() { * Get a list of the privilegedAccessGroupAssignmentScheduleRequest objects and their properties. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -145,8 +172,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create a new privilegedAccessGroupAssignmentScheduleRequest object. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final PrivilegedAccessGroupAssignmentScheduleRequest body) { return toPostRequestInformation(body, null); } @@ -155,8 +185,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final PrivilegedAccessGroupAssignmentScheduleRequest body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -169,8 +202,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AssignmentScheduleRequestsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AssignmentScheduleRequestsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AssignmentScheduleRequestsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentschedulerequests/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentschedulerequests/count/CountRequestBuilder.java index 48f0b4de92f..f768d3cf149 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentschedulerequests/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentschedulerequests/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentschedulerequests/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentschedulerequests/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java index 36b266688f1..6dfa0a7eafa 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentschedulerequests/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentschedulerequests/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java @@ -41,9 +41,12 @@ public FilterByCurrentUserWithOnRequestBuilder(@jakarta.annotation.Nonnull final * In PIM for Groups, retrieve the requests for membership or ownership assignments for the calling principal to groups that are governed by PIM. * @return a {@link FilterByCurrentUserWithOnGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public FilterByCurrentUserWithOnGetResponse get() { return get(null); } @@ -52,9 +55,12 @@ public FilterByCurrentUserWithOnGetResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link FilterByCurrentUserWithOnGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public FilterByCurrentUserWithOnGetResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -64,8 +70,11 @@ public FilterByCurrentUserWithOnGetResponse get(@jakarta.annotation.Nullable fin /** * In PIM for Groups, retrieve the requests for membership or ownership assignments for the calling principal to groups that are governed by PIM. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -73,8 +82,11 @@ public RequestInformation toGetRequestInformation() { * In PIM for Groups, retrieve the requests for membership or ownership assignments for the calling principal to groups that are governed by PIM. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -85,8 +97,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link FilterByCurrentUserWithOnRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilterByCurrentUserWithOnRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new FilterByCurrentUserWithOnRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentschedulerequests/item/PrivilegedAccessGroupAssignmentScheduleRequestItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentschedulerequests/item/PrivilegedAccessGroupAssignmentScheduleRequestItemRequestBuilder.java index 3db03b4c8e8..54c46dc7b53 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentschedulerequests/item/PrivilegedAccessGroupAssignmentScheduleRequestItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentschedulerequests/item/PrivilegedAccessGroupAssignmentScheduleRequestItemRequestBuilder.java @@ -28,7 +28,10 @@ public class PrivilegedAccessGroupAssignmentScheduleRequestItemRequestBuilder ex /** * Provides operations to manage the activatedUsing property of the microsoft.graph.privilegedAccessGroupAssignmentScheduleRequest entity. * @return a {@link ActivatedUsingRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ActivatedUsingRequestBuilder activatedUsing() { return new ActivatedUsingRequestBuilder(pathParameters, requestAdapter); @@ -36,7 +39,10 @@ public ActivatedUsingRequestBuilder activatedUsing() { /** * Provides operations to call the cancel method. * @return a {@link CancelRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CancelRequestBuilder cancel() { return new CancelRequestBuilder(pathParameters, requestAdapter); @@ -44,7 +50,10 @@ public CancelRequestBuilder cancel() { /** * Provides operations to manage the group property of the microsoft.graph.privilegedAccessGroupAssignmentScheduleRequest entity. * @return a {@link GroupRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public GroupRequestBuilder group() { return new GroupRequestBuilder(pathParameters, requestAdapter); @@ -52,7 +61,10 @@ public GroupRequestBuilder group() { /** * Provides operations to manage the principal property of the microsoft.graph.privilegedAccessGroupAssignmentScheduleRequest entity. * @return a {@link PrincipalRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public PrincipalRequestBuilder principal() { return new PrincipalRequestBuilder(pathParameters, requestAdapter); @@ -60,7 +72,10 @@ public PrincipalRequestBuilder principal() { /** * Provides operations to manage the targetSchedule property of the microsoft.graph.privilegedAccessGroupAssignmentScheduleRequest entity. * @return a {@link TargetScheduleRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public TargetScheduleRequestBuilder targetSchedule() { return new TargetScheduleRequestBuilder(pathParameters, requestAdapter); @@ -84,7 +99,10 @@ public PrivilegedAccessGroupAssignmentScheduleRequestItemRequestBuilder(@jakarta /** * Delete navigation property assignmentScheduleRequests for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -92,7 +110,10 @@ public void delete() { * Delete navigation property assignmentScheduleRequests for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -103,9 +124,12 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Read the properties and relationships of a privilegedAccessGroupAssignmentScheduleRequest object. * @return a {@link PrivilegedAccessGroupAssignmentScheduleRequest} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public PrivilegedAccessGroupAssignmentScheduleRequest get() { return get(null); } @@ -114,9 +138,12 @@ public PrivilegedAccessGroupAssignmentScheduleRequest get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link PrivilegedAccessGroupAssignmentScheduleRequest} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public PrivilegedAccessGroupAssignmentScheduleRequest get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -128,8 +155,11 @@ public PrivilegedAccessGroupAssignmentScheduleRequest get(@jakarta.annotation.Nu * @param body The request body * @return a {@link PrivilegedAccessGroupAssignmentScheduleRequest} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public PrivilegedAccessGroupAssignmentScheduleRequest patch(@jakarta.annotation.Nonnull final PrivilegedAccessGroupAssignmentScheduleRequest body) { return patch(body, null); } @@ -139,8 +169,11 @@ public PrivilegedAccessGroupAssignmentScheduleRequest patch(@jakarta.annotation. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link PrivilegedAccessGroupAssignmentScheduleRequest} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public PrivilegedAccessGroupAssignmentScheduleRequest patch(@jakarta.annotation.Nonnull final PrivilegedAccessGroupAssignmentScheduleRequest body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -151,8 +184,11 @@ public PrivilegedAccessGroupAssignmentScheduleRequest patch(@jakarta.annotation. /** * Delete navigation property assignmentScheduleRequests for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -160,8 +196,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property assignmentScheduleRequests for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -171,8 +210,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Read the properties and relationships of a privilegedAccessGroupAssignmentScheduleRequest object. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -180,8 +222,11 @@ public RequestInformation toGetRequestInformation() { * Read the properties and relationships of a privilegedAccessGroupAssignmentScheduleRequest object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -192,8 +237,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property assignmentScheduleRequests in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final PrivilegedAccessGroupAssignmentScheduleRequest body) { return toPatchRequestInformation(body, null); } @@ -202,8 +250,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final PrivilegedAccessGroupAssignmentScheduleRequest body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -216,8 +267,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link PrivilegedAccessGroupAssignmentScheduleRequestItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public PrivilegedAccessGroupAssignmentScheduleRequestItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new PrivilegedAccessGroupAssignmentScheduleRequestItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentschedulerequests/item/activatedusing/ActivatedUsingRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentschedulerequests/item/activatedusing/ActivatedUsingRequestBuilder.java index 370043c7f22..87272f4236f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentschedulerequests/item/activatedusing/ActivatedUsingRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentschedulerequests/item/activatedusing/ActivatedUsingRequestBuilder.java @@ -40,8 +40,11 @@ public ActivatedUsingRequestBuilder(@jakarta.annotation.Nonnull final String raw * When the request activates a membership or ownership assignment in PIM for Groups, this object represents the eligibility policy for the group. Otherwise, it is null. Supports $expand. * @return a {@link PrivilegedAccessGroupEligibilitySchedule} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public PrivilegedAccessGroupEligibilitySchedule get() { return get(null); } @@ -50,8 +53,11 @@ public PrivilegedAccessGroupEligibilitySchedule get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link PrivilegedAccessGroupEligibilitySchedule} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public PrivilegedAccessGroupEligibilitySchedule get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public PrivilegedAccessGroupEligibilitySchedule get(@jakarta.annotation.Nullable /** * When the request activates a membership or ownership assignment in PIM for Groups, this object represents the eligibility policy for the group. Otherwise, it is null. Supports $expand. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * When the request activates a membership or ownership assignment in PIM for Groups, this object represents the eligibility policy for the group. Otherwise, it is null. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ActivatedUsingRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ActivatedUsingRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ActivatedUsingRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentschedulerequests/item/cancel/CancelRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentschedulerequests/item/cancel/CancelRequestBuilder.java index a7491837b70..f9d34b29357 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentschedulerequests/item/cancel/CancelRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentschedulerequests/item/cancel/CancelRequestBuilder.java @@ -37,8 +37,11 @@ public CancelRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ja /** * Cancel an access assignment request to a group whose membership and ownership are governed by PIM. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * Cancel an access assignment request to a group whose membership and ownership are governed by PIM. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Cancel an access assignment request to a group whose membership and ownership are governed by PIM. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * Cancel an access assignment request to a group whose membership and ownership are governed by PIM. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CancelRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CancelRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CancelRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentschedulerequests/item/group/GroupRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentschedulerequests/item/group/GroupRequestBuilder.java index 48b1ec7eb6e..3aaf24344f9 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentschedulerequests/item/group/GroupRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentschedulerequests/item/group/GroupRequestBuilder.java @@ -24,7 +24,10 @@ public class GroupRequestBuilder extends BaseRequestBuilder { /** * The serviceProvisioningErrors property * @return a {@link ServiceProvisioningErrorsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ServiceProvisioningErrorsRequestBuilder serviceProvisioningErrors() { return new ServiceProvisioningErrorsRequestBuilder(pathParameters, requestAdapter); @@ -49,8 +52,11 @@ public GroupRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * References the group that is the scope of the membership or ownership assignment request through PIM for Groups. Supports $expand and $select nested in $expand for select properties like id, displayName, and mail. * @return a {@link Group} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Group get() { return get(null); } @@ -59,8 +65,11 @@ public Group get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Group} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Group get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -70,8 +79,11 @@ public Group get(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * References the group that is the scope of the membership or ownership assignment request through PIM for Groups. Supports $expand and $select nested in $expand for select properties like id, displayName, and mail. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -79,8 +91,11 @@ public RequestInformation toGetRequestInformation() { * References the group that is the scope of the membership or ownership assignment request through PIM for Groups. Supports $expand and $select nested in $expand for select properties like id, displayName, and mail. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -91,8 +106,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link GroupRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public GroupRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new GroupRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentschedulerequests/item/group/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentschedulerequests/item/group/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java index 946b05d803e..a8dee15f793 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentschedulerequests/item/group/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentschedulerequests/item/group/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java @@ -24,7 +24,10 @@ public class ServiceProvisioningErrorsRequestBuilder extends BaseRequestBuilder /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -49,8 +52,11 @@ public ServiceProvisioningErrorsRequestBuilder(@jakarta.annotation.Nonnull final * Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object. * @return a {@link ServiceProvisioningErrorCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ServiceProvisioningErrorCollectionResponse get() { return get(null); } @@ -59,8 +65,11 @@ public ServiceProvisioningErrorCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ServiceProvisioningErrorCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ServiceProvisioningErrorCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -70,8 +79,11 @@ public ServiceProvisioningErrorCollectionResponse get(@jakarta.annotation.Nullab /** * Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -79,8 +91,11 @@ public RequestInformation toGetRequestInformation() { * Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -91,8 +106,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ServiceProvisioningErrorsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ServiceProvisioningErrorsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ServiceProvisioningErrorsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentschedulerequests/item/group/serviceprovisioningerrors/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentschedulerequests/item/group/serviceprovisioningerrors/count/CountRequestBuilder.java index 5239491a99a..4ccfa68f357 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentschedulerequests/item/group/serviceprovisioningerrors/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentschedulerequests/item/group/serviceprovisioningerrors/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentschedulerequests/item/principal/PrincipalRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentschedulerequests/item/principal/PrincipalRequestBuilder.java index 2ad7bf8c4b8..62da9f80469 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentschedulerequests/item/principal/PrincipalRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentschedulerequests/item/principal/PrincipalRequestBuilder.java @@ -40,8 +40,11 @@ public PrincipalRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, * References the principal that's in the scope of this membership or ownership assignment request through the group that's governed by PIM. Supports $expand and $select nested in $expand for id only. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public DirectoryObject get() { return get(null); } @@ -50,8 +53,11 @@ public DirectoryObject get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public DirectoryObject get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public DirectoryObject get(@jakarta.annotation.Nullable final java.util.function /** * References the principal that's in the scope of this membership or ownership assignment request through the group that's governed by PIM. Supports $expand and $select nested in $expand for id only. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * References the principal that's in the scope of this membership or ownership assignment request through the group that's governed by PIM. Supports $expand and $select nested in $expand for id only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link PrincipalRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public PrincipalRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new PrincipalRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentschedulerequests/item/targetschedule/TargetScheduleRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentschedulerequests/item/targetschedule/TargetScheduleRequestBuilder.java index 713a42c8784..faa1ab72fe7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentschedulerequests/item/targetschedule/TargetScheduleRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentschedulerequests/item/targetschedule/TargetScheduleRequestBuilder.java @@ -40,8 +40,11 @@ public TargetScheduleRequestBuilder(@jakarta.annotation.Nonnull final String raw * Schedule created by this request. Supports $expand. * @return a {@link PrivilegedAccessGroupEligibilitySchedule} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public PrivilegedAccessGroupEligibilitySchedule get() { return get(null); } @@ -50,8 +53,11 @@ public PrivilegedAccessGroupEligibilitySchedule get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link PrivilegedAccessGroupEligibilitySchedule} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public PrivilegedAccessGroupEligibilitySchedule get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public PrivilegedAccessGroupEligibilitySchedule get(@jakarta.annotation.Nullable /** * Schedule created by this request. Supports $expand. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * Schedule created by this request. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link TargetScheduleRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public TargetScheduleRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new TargetScheduleRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentschedules/AssignmentSchedulesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentschedules/AssignmentSchedulesRequestBuilder.java index d6494842e6e..b5beab4fae0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentschedules/AssignmentSchedulesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentschedules/AssignmentSchedulesRequestBuilder.java @@ -27,7 +27,10 @@ public class AssignmentSchedulesRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -36,8 +39,11 @@ public CountRequestBuilder count() { * Provides operations to manage the assignmentSchedules property of the microsoft.graph.privilegedAccessGroup entity. * @param privilegedAccessGroupAssignmentScheduleId The unique identifier of privilegedAccessGroupAssignmentSchedule * @return a {@link PrivilegedAccessGroupAssignmentScheduleItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public PrivilegedAccessGroupAssignmentScheduleItemRequestBuilder byPrivilegedAccessGroupAssignmentScheduleId(@jakarta.annotation.Nonnull final String privilegedAccessGroupAssignmentScheduleId) { Objects.requireNonNull(privilegedAccessGroupAssignmentScheduleId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -64,8 +70,11 @@ public AssignmentSchedulesRequestBuilder(@jakarta.annotation.Nonnull final Strin * Provides operations to call the filterByCurrentUser method. * @param on Usage: on='{on}' * @return a {@link FilterByCurrentUserWithOnRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilterByCurrentUserWithOnRequestBuilder filterByCurrentUserWithOn(@jakarta.annotation.Nonnull final String on) { Objects.requireNonNull(on); return new FilterByCurrentUserWithOnRequestBuilder(pathParameters, requestAdapter, on); @@ -74,9 +83,12 @@ public FilterByCurrentUserWithOnRequestBuilder filterByCurrentUserWithOn(@jakart * Get a list of the privilegedAccessGroupAssignmentSchedule objects and their properties. * @return a {@link PrivilegedAccessGroupAssignmentScheduleCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public PrivilegedAccessGroupAssignmentScheduleCollectionResponse get() { return get(null); } @@ -85,9 +97,12 @@ public PrivilegedAccessGroupAssignmentScheduleCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link PrivilegedAccessGroupAssignmentScheduleCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public PrivilegedAccessGroupAssignmentScheduleCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -99,8 +114,11 @@ public PrivilegedAccessGroupAssignmentScheduleCollectionResponse get(@jakarta.an * @param body The request body * @return a {@link PrivilegedAccessGroupAssignmentSchedule} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public PrivilegedAccessGroupAssignmentSchedule post(@jakarta.annotation.Nonnull final PrivilegedAccessGroupAssignmentSchedule body) { return post(body, null); } @@ -110,8 +128,11 @@ public PrivilegedAccessGroupAssignmentSchedule post(@jakarta.annotation.Nonnull * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link PrivilegedAccessGroupAssignmentSchedule} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public PrivilegedAccessGroupAssignmentSchedule post(@jakarta.annotation.Nonnull final PrivilegedAccessGroupAssignmentSchedule body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -122,8 +143,11 @@ public PrivilegedAccessGroupAssignmentSchedule post(@jakarta.annotation.Nonnull /** * Get a list of the privilegedAccessGroupAssignmentSchedule objects and their properties. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -131,8 +155,11 @@ public RequestInformation toGetRequestInformation() { * Get a list of the privilegedAccessGroupAssignmentSchedule objects and their properties. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -143,8 +170,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to assignmentSchedules for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final PrivilegedAccessGroupAssignmentSchedule body) { return toPostRequestInformation(body, null); } @@ -153,8 +183,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final PrivilegedAccessGroupAssignmentSchedule body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -167,8 +200,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AssignmentSchedulesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AssignmentSchedulesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AssignmentSchedulesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentschedules/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentschedules/count/CountRequestBuilder.java index 3d5612be0f6..bf4cc1e49dd 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentschedules/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentschedules/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentschedules/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentschedules/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java index a76a34598f7..8c37e4a1039 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentschedules/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentschedules/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java @@ -41,9 +41,12 @@ public FilterByCurrentUserWithOnRequestBuilder(@jakarta.annotation.Nonnull final * In PIM for Groups, retrieve the schedules for membership or ownership assignments for the calling principal to groups that are governed by PIM. * @return a {@link FilterByCurrentUserWithOnGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public FilterByCurrentUserWithOnGetResponse get() { return get(null); } @@ -52,9 +55,12 @@ public FilterByCurrentUserWithOnGetResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link FilterByCurrentUserWithOnGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public FilterByCurrentUserWithOnGetResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -64,8 +70,11 @@ public FilterByCurrentUserWithOnGetResponse get(@jakarta.annotation.Nullable fin /** * In PIM for Groups, retrieve the schedules for membership or ownership assignments for the calling principal to groups that are governed by PIM. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -73,8 +82,11 @@ public RequestInformation toGetRequestInformation() { * In PIM for Groups, retrieve the schedules for membership or ownership assignments for the calling principal to groups that are governed by PIM. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -85,8 +97,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link FilterByCurrentUserWithOnRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilterByCurrentUserWithOnRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new FilterByCurrentUserWithOnRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentschedules/item/PrivilegedAccessGroupAssignmentScheduleItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentschedules/item/PrivilegedAccessGroupAssignmentScheduleItemRequestBuilder.java index 1d77dcfa12e..312fe06ea78 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentschedules/item/PrivilegedAccessGroupAssignmentScheduleItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentschedules/item/PrivilegedAccessGroupAssignmentScheduleItemRequestBuilder.java @@ -26,7 +26,10 @@ public class PrivilegedAccessGroupAssignmentScheduleItemRequestBuilder extends B /** * Provides operations to manage the activatedUsing property of the microsoft.graph.privilegedAccessGroupAssignmentSchedule entity. * @return a {@link ActivatedUsingRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ActivatedUsingRequestBuilder activatedUsing() { return new ActivatedUsingRequestBuilder(pathParameters, requestAdapter); @@ -34,7 +37,10 @@ public ActivatedUsingRequestBuilder activatedUsing() { /** * Provides operations to manage the group property of the microsoft.graph.privilegedAccessGroupAssignmentSchedule entity. * @return a {@link GroupRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public GroupRequestBuilder group() { return new GroupRequestBuilder(pathParameters, requestAdapter); @@ -42,7 +48,10 @@ public GroupRequestBuilder group() { /** * Provides operations to manage the principal property of the microsoft.graph.privilegedAccessGroupAssignmentSchedule entity. * @return a {@link PrincipalRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public PrincipalRequestBuilder principal() { return new PrincipalRequestBuilder(pathParameters, requestAdapter); @@ -66,7 +75,10 @@ public PrivilegedAccessGroupAssignmentScheduleItemRequestBuilder(@jakarta.annota /** * Delete navigation property assignmentSchedules for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -74,7 +86,10 @@ public void delete() { * Delete navigation property assignmentSchedules for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -85,9 +100,12 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Read the properties and relationships of a privilegedAccessGroupAssignmentSchedule object. * @return a {@link PrivilegedAccessGroupAssignmentSchedule} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public PrivilegedAccessGroupAssignmentSchedule get() { return get(null); } @@ -96,9 +114,12 @@ public PrivilegedAccessGroupAssignmentSchedule get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link PrivilegedAccessGroupAssignmentSchedule} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public PrivilegedAccessGroupAssignmentSchedule get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -110,8 +131,11 @@ public PrivilegedAccessGroupAssignmentSchedule get(@jakarta.annotation.Nullable * @param body The request body * @return a {@link PrivilegedAccessGroupAssignmentSchedule} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public PrivilegedAccessGroupAssignmentSchedule patch(@jakarta.annotation.Nonnull final PrivilegedAccessGroupAssignmentSchedule body) { return patch(body, null); } @@ -121,8 +145,11 @@ public PrivilegedAccessGroupAssignmentSchedule patch(@jakarta.annotation.Nonnull * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link PrivilegedAccessGroupAssignmentSchedule} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public PrivilegedAccessGroupAssignmentSchedule patch(@jakarta.annotation.Nonnull final PrivilegedAccessGroupAssignmentSchedule body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -133,8 +160,11 @@ public PrivilegedAccessGroupAssignmentSchedule patch(@jakarta.annotation.Nonnull /** * Delete navigation property assignmentSchedules for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -142,8 +172,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property assignmentSchedules for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -153,8 +186,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Read the properties and relationships of a privilegedAccessGroupAssignmentSchedule object. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -162,8 +198,11 @@ public RequestInformation toGetRequestInformation() { * Read the properties and relationships of a privilegedAccessGroupAssignmentSchedule object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -174,8 +213,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property assignmentSchedules in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final PrivilegedAccessGroupAssignmentSchedule body) { return toPatchRequestInformation(body, null); } @@ -184,8 +226,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final PrivilegedAccessGroupAssignmentSchedule body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -198,8 +243,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link PrivilegedAccessGroupAssignmentScheduleItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public PrivilegedAccessGroupAssignmentScheduleItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new PrivilegedAccessGroupAssignmentScheduleItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentschedules/item/activatedusing/ActivatedUsingRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentschedules/item/activatedusing/ActivatedUsingRequestBuilder.java index f920e8dc0fa..31787d12e16 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentschedules/item/activatedusing/ActivatedUsingRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentschedules/item/activatedusing/ActivatedUsingRequestBuilder.java @@ -40,8 +40,11 @@ public ActivatedUsingRequestBuilder(@jakarta.annotation.Nonnull final String raw * When the request activates an ownership or membership assignment in PIM for Groups, this object represents the eligibility relationship. Otherwise, it's null. Supports $expand. * @return a {@link PrivilegedAccessGroupEligibilitySchedule} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public PrivilegedAccessGroupEligibilitySchedule get() { return get(null); } @@ -50,8 +53,11 @@ public PrivilegedAccessGroupEligibilitySchedule get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link PrivilegedAccessGroupEligibilitySchedule} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public PrivilegedAccessGroupEligibilitySchedule get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public PrivilegedAccessGroupEligibilitySchedule get(@jakarta.annotation.Nullable /** * When the request activates an ownership or membership assignment in PIM for Groups, this object represents the eligibility relationship. Otherwise, it's null. Supports $expand. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * When the request activates an ownership or membership assignment in PIM for Groups, this object represents the eligibility relationship. Otherwise, it's null. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ActivatedUsingRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ActivatedUsingRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ActivatedUsingRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentschedules/item/group/GroupRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentschedules/item/group/GroupRequestBuilder.java index 06736441dc2..fc554085763 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentschedules/item/group/GroupRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentschedules/item/group/GroupRequestBuilder.java @@ -24,7 +24,10 @@ public class GroupRequestBuilder extends BaseRequestBuilder { /** * The serviceProvisioningErrors property * @return a {@link ServiceProvisioningErrorsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ServiceProvisioningErrorsRequestBuilder serviceProvisioningErrors() { return new ServiceProvisioningErrorsRequestBuilder(pathParameters, requestAdapter); @@ -49,8 +52,11 @@ public GroupRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * References the group that is the scope of the membership or ownership assignment through PIM for Groups. Supports $expand and $select nested in $expand for select properties like id, displayName, and mail. * @return a {@link Group} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Group get() { return get(null); } @@ -59,8 +65,11 @@ public Group get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Group} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Group get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -70,8 +79,11 @@ public Group get(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * References the group that is the scope of the membership or ownership assignment through PIM for Groups. Supports $expand and $select nested in $expand for select properties like id, displayName, and mail. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -79,8 +91,11 @@ public RequestInformation toGetRequestInformation() { * References the group that is the scope of the membership or ownership assignment through PIM for Groups. Supports $expand and $select nested in $expand for select properties like id, displayName, and mail. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -91,8 +106,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link GroupRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public GroupRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new GroupRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentschedules/item/group/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentschedules/item/group/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java index f7eafc4c306..1de880216d2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentschedules/item/group/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentschedules/item/group/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java @@ -24,7 +24,10 @@ public class ServiceProvisioningErrorsRequestBuilder extends BaseRequestBuilder /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -49,8 +52,11 @@ public ServiceProvisioningErrorsRequestBuilder(@jakarta.annotation.Nonnull final * Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object. * @return a {@link ServiceProvisioningErrorCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ServiceProvisioningErrorCollectionResponse get() { return get(null); } @@ -59,8 +65,11 @@ public ServiceProvisioningErrorCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ServiceProvisioningErrorCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ServiceProvisioningErrorCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -70,8 +79,11 @@ public ServiceProvisioningErrorCollectionResponse get(@jakarta.annotation.Nullab /** * Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -79,8 +91,11 @@ public RequestInformation toGetRequestInformation() { * Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -91,8 +106,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ServiceProvisioningErrorsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ServiceProvisioningErrorsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ServiceProvisioningErrorsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentschedules/item/group/serviceprovisioningerrors/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentschedules/item/group/serviceprovisioningerrors/count/CountRequestBuilder.java index 1dff3b22e0e..d2a79f093d1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentschedules/item/group/serviceprovisioningerrors/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentschedules/item/group/serviceprovisioningerrors/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentschedules/item/principal/PrincipalRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentschedules/item/principal/PrincipalRequestBuilder.java index 89314f20592..d3f5eabeea7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentschedules/item/principal/PrincipalRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentschedules/item/principal/PrincipalRequestBuilder.java @@ -40,8 +40,11 @@ public PrincipalRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, * References the principal that's in the scope of this membership or ownership assignment request to the group that's governed by PIM. Supports $expand and $select nested in $expand for id only. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public DirectoryObject get() { return get(null); } @@ -50,8 +53,11 @@ public DirectoryObject get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public DirectoryObject get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public DirectoryObject get(@jakarta.annotation.Nullable final java.util.function /** * References the principal that's in the scope of this membership or ownership assignment request to the group that's governed by PIM. Supports $expand and $select nested in $expand for id only. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * References the principal that's in the scope of this membership or ownership assignment request to the group that's governed by PIM. Supports $expand and $select nested in $expand for id only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link PrincipalRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public PrincipalRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new PrincipalRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/eligibilityscheduleinstances/EligibilityScheduleInstancesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/eligibilityscheduleinstances/EligibilityScheduleInstancesRequestBuilder.java index 7a7c6fc267a..88e6af2154b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/eligibilityscheduleinstances/EligibilityScheduleInstancesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/eligibilityscheduleinstances/EligibilityScheduleInstancesRequestBuilder.java @@ -27,7 +27,10 @@ public class EligibilityScheduleInstancesRequestBuilder extends BaseRequestBuild /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -36,8 +39,11 @@ public CountRequestBuilder count() { * Provides operations to manage the eligibilityScheduleInstances property of the microsoft.graph.privilegedAccessGroup entity. * @param privilegedAccessGroupEligibilityScheduleInstanceId The unique identifier of privilegedAccessGroupEligibilityScheduleInstance * @return a {@link PrivilegedAccessGroupEligibilityScheduleInstanceItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public PrivilegedAccessGroupEligibilityScheduleInstanceItemRequestBuilder byPrivilegedAccessGroupEligibilityScheduleInstanceId(@jakarta.annotation.Nonnull final String privilegedAccessGroupEligibilityScheduleInstanceId) { Objects.requireNonNull(privilegedAccessGroupEligibilityScheduleInstanceId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -64,8 +70,11 @@ public EligibilityScheduleInstancesRequestBuilder(@jakarta.annotation.Nonnull fi * Provides operations to call the filterByCurrentUser method. * @param on Usage: on='{on}' * @return a {@link FilterByCurrentUserWithOnRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilterByCurrentUserWithOnRequestBuilder filterByCurrentUserWithOn(@jakarta.annotation.Nonnull final String on) { Objects.requireNonNull(on); return new FilterByCurrentUserWithOnRequestBuilder(pathParameters, requestAdapter, on); @@ -74,9 +83,12 @@ public FilterByCurrentUserWithOnRequestBuilder filterByCurrentUserWithOn(@jakart * Get a list of the privilegedAccessGroupEligibilityScheduleInstance objects and their properties. * @return a {@link PrivilegedAccessGroupEligibilityScheduleInstanceCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public PrivilegedAccessGroupEligibilityScheduleInstanceCollectionResponse get() { return get(null); } @@ -85,9 +97,12 @@ public PrivilegedAccessGroupEligibilityScheduleInstanceCollectionResponse get() * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link PrivilegedAccessGroupEligibilityScheduleInstanceCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public PrivilegedAccessGroupEligibilityScheduleInstanceCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -99,8 +114,11 @@ public PrivilegedAccessGroupEligibilityScheduleInstanceCollectionResponse get(@j * @param body The request body * @return a {@link PrivilegedAccessGroupEligibilityScheduleInstance} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public PrivilegedAccessGroupEligibilityScheduleInstance post(@jakarta.annotation.Nonnull final PrivilegedAccessGroupEligibilityScheduleInstance body) { return post(body, null); } @@ -110,8 +128,11 @@ public PrivilegedAccessGroupEligibilityScheduleInstance post(@jakarta.annotation * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link PrivilegedAccessGroupEligibilityScheduleInstance} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public PrivilegedAccessGroupEligibilityScheduleInstance post(@jakarta.annotation.Nonnull final PrivilegedAccessGroupEligibilityScheduleInstance body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -122,8 +143,11 @@ public PrivilegedAccessGroupEligibilityScheduleInstance post(@jakarta.annotation /** * Get a list of the privilegedAccessGroupEligibilityScheduleInstance objects and their properties. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -131,8 +155,11 @@ public RequestInformation toGetRequestInformation() { * Get a list of the privilegedAccessGroupEligibilityScheduleInstance objects and their properties. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -143,8 +170,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to eligibilityScheduleInstances for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final PrivilegedAccessGroupEligibilityScheduleInstance body) { return toPostRequestInformation(body, null); } @@ -153,8 +183,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final PrivilegedAccessGroupEligibilityScheduleInstance body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -167,8 +200,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link EligibilityScheduleInstancesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public EligibilityScheduleInstancesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new EligibilityScheduleInstancesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/eligibilityscheduleinstances/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/eligibilityscheduleinstances/count/CountRequestBuilder.java index 50176d1cd8d..03a7f69ac37 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/eligibilityscheduleinstances/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/eligibilityscheduleinstances/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/eligibilityscheduleinstances/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/eligibilityscheduleinstances/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java index e920323c41c..248f3a2ba83 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/eligibilityscheduleinstances/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/eligibilityscheduleinstances/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java @@ -41,9 +41,12 @@ public FilterByCurrentUserWithOnRequestBuilder(@jakarta.annotation.Nonnull final * Return instances of membership and ownership eligibility schedules for the calling principal. * @return a {@link FilterByCurrentUserWithOnGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public FilterByCurrentUserWithOnGetResponse get() { return get(null); } @@ -52,9 +55,12 @@ public FilterByCurrentUserWithOnGetResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link FilterByCurrentUserWithOnGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public FilterByCurrentUserWithOnGetResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -64,8 +70,11 @@ public FilterByCurrentUserWithOnGetResponse get(@jakarta.annotation.Nullable fin /** * Return instances of membership and ownership eligibility schedules for the calling principal. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -73,8 +82,11 @@ public RequestInformation toGetRequestInformation() { * Return instances of membership and ownership eligibility schedules for the calling principal. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -85,8 +97,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link FilterByCurrentUserWithOnRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilterByCurrentUserWithOnRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new FilterByCurrentUserWithOnRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/eligibilityscheduleinstances/item/PrivilegedAccessGroupEligibilityScheduleInstanceItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/eligibilityscheduleinstances/item/PrivilegedAccessGroupEligibilityScheduleInstanceItemRequestBuilder.java index 220a78b778a..0da76d31b2d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/eligibilityscheduleinstances/item/PrivilegedAccessGroupEligibilityScheduleInstanceItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/eligibilityscheduleinstances/item/PrivilegedAccessGroupEligibilityScheduleInstanceItemRequestBuilder.java @@ -25,7 +25,10 @@ public class PrivilegedAccessGroupEligibilityScheduleInstanceItemRequestBuilder /** * Provides operations to manage the group property of the microsoft.graph.privilegedAccessGroupEligibilityScheduleInstance entity. * @return a {@link GroupRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public GroupRequestBuilder group() { return new GroupRequestBuilder(pathParameters, requestAdapter); @@ -33,7 +36,10 @@ public GroupRequestBuilder group() { /** * Provides operations to manage the principal property of the microsoft.graph.privilegedAccessGroupEligibilityScheduleInstance entity. * @return a {@link PrincipalRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public PrincipalRequestBuilder principal() { return new PrincipalRequestBuilder(pathParameters, requestAdapter); @@ -57,7 +63,10 @@ public PrivilegedAccessGroupEligibilityScheduleInstanceItemRequestBuilder(@jakar /** * Delete navigation property eligibilityScheduleInstances for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -65,7 +74,10 @@ public void delete() { * Delete navigation property eligibilityScheduleInstances for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -76,9 +88,12 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Read the properties and relationships of a privilegedAccessGroupEligibilityScheduleInstance object. * @return a {@link PrivilegedAccessGroupEligibilityScheduleInstance} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public PrivilegedAccessGroupEligibilityScheduleInstance get() { return get(null); } @@ -87,9 +102,12 @@ public PrivilegedAccessGroupEligibilityScheduleInstance get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link PrivilegedAccessGroupEligibilityScheduleInstance} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public PrivilegedAccessGroupEligibilityScheduleInstance get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -101,8 +119,11 @@ public PrivilegedAccessGroupEligibilityScheduleInstance get(@jakarta.annotation. * @param body The request body * @return a {@link PrivilegedAccessGroupEligibilityScheduleInstance} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public PrivilegedAccessGroupEligibilityScheduleInstance patch(@jakarta.annotation.Nonnull final PrivilegedAccessGroupEligibilityScheduleInstance body) { return patch(body, null); } @@ -112,8 +133,11 @@ public PrivilegedAccessGroupEligibilityScheduleInstance patch(@jakarta.annotatio * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link PrivilegedAccessGroupEligibilityScheduleInstance} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public PrivilegedAccessGroupEligibilityScheduleInstance patch(@jakarta.annotation.Nonnull final PrivilegedAccessGroupEligibilityScheduleInstance body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -124,8 +148,11 @@ public PrivilegedAccessGroupEligibilityScheduleInstance patch(@jakarta.annotatio /** * Delete navigation property eligibilityScheduleInstances for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -133,8 +160,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property eligibilityScheduleInstances for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -144,8 +174,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Read the properties and relationships of a privilegedAccessGroupEligibilityScheduleInstance object. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -153,8 +186,11 @@ public RequestInformation toGetRequestInformation() { * Read the properties and relationships of a privilegedAccessGroupEligibilityScheduleInstance object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -165,8 +201,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property eligibilityScheduleInstances in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final PrivilegedAccessGroupEligibilityScheduleInstance body) { return toPatchRequestInformation(body, null); } @@ -175,8 +214,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final PrivilegedAccessGroupEligibilityScheduleInstance body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -189,8 +231,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link PrivilegedAccessGroupEligibilityScheduleInstanceItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public PrivilegedAccessGroupEligibilityScheduleInstanceItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new PrivilegedAccessGroupEligibilityScheduleInstanceItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/eligibilityscheduleinstances/item/group/GroupRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/eligibilityscheduleinstances/item/group/GroupRequestBuilder.java index f96eedc666e..118e30f5be8 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/eligibilityscheduleinstances/item/group/GroupRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/eligibilityscheduleinstances/item/group/GroupRequestBuilder.java @@ -24,7 +24,10 @@ public class GroupRequestBuilder extends BaseRequestBuilder { /** * The serviceProvisioningErrors property * @return a {@link ServiceProvisioningErrorsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ServiceProvisioningErrorsRequestBuilder serviceProvisioningErrors() { return new ServiceProvisioningErrorsRequestBuilder(pathParameters, requestAdapter); @@ -49,8 +52,11 @@ public GroupRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * References the group that is the scope of the membership or ownership eligibility through PIM for Groups. Supports $expand. * @return a {@link Group} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Group get() { return get(null); } @@ -59,8 +65,11 @@ public Group get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Group} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Group get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -70,8 +79,11 @@ public Group get(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * References the group that is the scope of the membership or ownership eligibility through PIM for Groups. Supports $expand. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -79,8 +91,11 @@ public RequestInformation toGetRequestInformation() { * References the group that is the scope of the membership or ownership eligibility through PIM for Groups. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -91,8 +106,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link GroupRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public GroupRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new GroupRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/eligibilityscheduleinstances/item/group/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/eligibilityscheduleinstances/item/group/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java index 03eecfe3a68..c38e420e39e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/eligibilityscheduleinstances/item/group/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/eligibilityscheduleinstances/item/group/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java @@ -24,7 +24,10 @@ public class ServiceProvisioningErrorsRequestBuilder extends BaseRequestBuilder /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -49,8 +52,11 @@ public ServiceProvisioningErrorsRequestBuilder(@jakarta.annotation.Nonnull final * Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object. * @return a {@link ServiceProvisioningErrorCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ServiceProvisioningErrorCollectionResponse get() { return get(null); } @@ -59,8 +65,11 @@ public ServiceProvisioningErrorCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ServiceProvisioningErrorCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ServiceProvisioningErrorCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -70,8 +79,11 @@ public ServiceProvisioningErrorCollectionResponse get(@jakarta.annotation.Nullab /** * Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -79,8 +91,11 @@ public RequestInformation toGetRequestInformation() { * Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -91,8 +106,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ServiceProvisioningErrorsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ServiceProvisioningErrorsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ServiceProvisioningErrorsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/eligibilityscheduleinstances/item/group/serviceprovisioningerrors/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/eligibilityscheduleinstances/item/group/serviceprovisioningerrors/count/CountRequestBuilder.java index bba8b584cb6..fa569eac74f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/eligibilityscheduleinstances/item/group/serviceprovisioningerrors/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/eligibilityscheduleinstances/item/group/serviceprovisioningerrors/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/eligibilityscheduleinstances/item/principal/PrincipalRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/eligibilityscheduleinstances/item/principal/PrincipalRequestBuilder.java index a5703bf42b7..fd8bb3779bf 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/eligibilityscheduleinstances/item/principal/PrincipalRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/eligibilityscheduleinstances/item/principal/PrincipalRequestBuilder.java @@ -40,8 +40,11 @@ public PrincipalRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, * References the principal that's in the scope of the membership or ownership eligibility request through the group that's governed by PIM. Supports $expand. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public DirectoryObject get() { return get(null); } @@ -50,8 +53,11 @@ public DirectoryObject get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public DirectoryObject get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public DirectoryObject get(@jakarta.annotation.Nullable final java.util.function /** * References the principal that's in the scope of the membership or ownership eligibility request through the group that's governed by PIM. Supports $expand. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * References the principal that's in the scope of the membership or ownership eligibility request through the group that's governed by PIM. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link PrincipalRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public PrincipalRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new PrincipalRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/eligibilityschedulerequests/EligibilityScheduleRequestsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/eligibilityschedulerequests/EligibilityScheduleRequestsRequestBuilder.java index e8115277ed5..cad72235803 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/eligibilityschedulerequests/EligibilityScheduleRequestsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/eligibilityschedulerequests/EligibilityScheduleRequestsRequestBuilder.java @@ -27,7 +27,10 @@ public class EligibilityScheduleRequestsRequestBuilder extends BaseRequestBuilde /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -36,8 +39,11 @@ public CountRequestBuilder count() { * Provides operations to manage the eligibilityScheduleRequests property of the microsoft.graph.privilegedAccessGroup entity. * @param privilegedAccessGroupEligibilityScheduleRequestId The unique identifier of privilegedAccessGroupEligibilityScheduleRequest * @return a {@link PrivilegedAccessGroupEligibilityScheduleRequestItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public PrivilegedAccessGroupEligibilityScheduleRequestItemRequestBuilder byPrivilegedAccessGroupEligibilityScheduleRequestId(@jakarta.annotation.Nonnull final String privilegedAccessGroupEligibilityScheduleRequestId) { Objects.requireNonNull(privilegedAccessGroupEligibilityScheduleRequestId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -64,8 +70,11 @@ public EligibilityScheduleRequestsRequestBuilder(@jakarta.annotation.Nonnull fin * Provides operations to call the filterByCurrentUser method. * @param on Usage: on='{on}' * @return a {@link FilterByCurrentUserWithOnRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilterByCurrentUserWithOnRequestBuilder filterByCurrentUserWithOn(@jakarta.annotation.Nonnull final String on) { Objects.requireNonNull(on); return new FilterByCurrentUserWithOnRequestBuilder(pathParameters, requestAdapter, on); @@ -74,9 +83,12 @@ public FilterByCurrentUserWithOnRequestBuilder filterByCurrentUserWithOn(@jakart * Get a list of the privilegedAccessGroupEligibilityScheduleRequest objects and their properties. * @return a {@link PrivilegedAccessGroupEligibilityScheduleRequestCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public PrivilegedAccessGroupEligibilityScheduleRequestCollectionResponse get() { return get(null); } @@ -85,9 +97,12 @@ public PrivilegedAccessGroupEligibilityScheduleRequestCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link PrivilegedAccessGroupEligibilityScheduleRequestCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public PrivilegedAccessGroupEligibilityScheduleRequestCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -99,9 +114,12 @@ public PrivilegedAccessGroupEligibilityScheduleRequestCollectionResponse get(@ja * @param body The request body * @return a {@link PrivilegedAccessGroupEligibilityScheduleRequest} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public PrivilegedAccessGroupEligibilityScheduleRequest post(@jakarta.annotation.Nonnull final PrivilegedAccessGroupEligibilityScheduleRequest body) { return post(body, null); } @@ -111,9 +129,12 @@ public PrivilegedAccessGroupEligibilityScheduleRequest post(@jakarta.annotation. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link PrivilegedAccessGroupEligibilityScheduleRequest} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public PrivilegedAccessGroupEligibilityScheduleRequest post(@jakarta.annotation.Nonnull final PrivilegedAccessGroupEligibilityScheduleRequest body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -124,8 +145,11 @@ public PrivilegedAccessGroupEligibilityScheduleRequest post(@jakarta.annotation. /** * Get a list of the privilegedAccessGroupEligibilityScheduleRequest objects and their properties. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -133,8 +157,11 @@ public RequestInformation toGetRequestInformation() { * Get a list of the privilegedAccessGroupEligibilityScheduleRequest objects and their properties. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -145,8 +172,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create a new privilegedAccessGroupEligibilityScheduleRequest object. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final PrivilegedAccessGroupEligibilityScheduleRequest body) { return toPostRequestInformation(body, null); } @@ -155,8 +185,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final PrivilegedAccessGroupEligibilityScheduleRequest body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -169,8 +202,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link EligibilityScheduleRequestsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public EligibilityScheduleRequestsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new EligibilityScheduleRequestsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/eligibilityschedulerequests/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/eligibilityschedulerequests/count/CountRequestBuilder.java index dba069ccbba..bbfe23b5f29 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/eligibilityschedulerequests/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/eligibilityschedulerequests/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/eligibilityschedulerequests/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/eligibilityschedulerequests/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java index 5a490e82b79..ccc5e06dd4f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/eligibilityschedulerequests/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/eligibilityschedulerequests/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java @@ -41,9 +41,12 @@ public FilterByCurrentUserWithOnRequestBuilder(@jakarta.annotation.Nonnull final * In PIM for Groups, retrieve the requests for membership or ownership eligibilities for the calling principal to groups that are governed by PIM. * @return a {@link FilterByCurrentUserWithOnGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public FilterByCurrentUserWithOnGetResponse get() { return get(null); } @@ -52,9 +55,12 @@ public FilterByCurrentUserWithOnGetResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link FilterByCurrentUserWithOnGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public FilterByCurrentUserWithOnGetResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -64,8 +70,11 @@ public FilterByCurrentUserWithOnGetResponse get(@jakarta.annotation.Nullable fin /** * In PIM for Groups, retrieve the requests for membership or ownership eligibilities for the calling principal to groups that are governed by PIM. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -73,8 +82,11 @@ public RequestInformation toGetRequestInformation() { * In PIM for Groups, retrieve the requests for membership or ownership eligibilities for the calling principal to groups that are governed by PIM. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -85,8 +97,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link FilterByCurrentUserWithOnRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilterByCurrentUserWithOnRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new FilterByCurrentUserWithOnRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/eligibilityschedulerequests/item/PrivilegedAccessGroupEligibilityScheduleRequestItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/eligibilityschedulerequests/item/PrivilegedAccessGroupEligibilityScheduleRequestItemRequestBuilder.java index 363d9599c96..7f08c1397d9 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/eligibilityschedulerequests/item/PrivilegedAccessGroupEligibilityScheduleRequestItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/eligibilityschedulerequests/item/PrivilegedAccessGroupEligibilityScheduleRequestItemRequestBuilder.java @@ -27,7 +27,10 @@ public class PrivilegedAccessGroupEligibilityScheduleRequestItemRequestBuilder e /** * Provides operations to call the cancel method. * @return a {@link CancelRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CancelRequestBuilder cancel() { return new CancelRequestBuilder(pathParameters, requestAdapter); @@ -35,7 +38,10 @@ public CancelRequestBuilder cancel() { /** * Provides operations to manage the group property of the microsoft.graph.privilegedAccessGroupEligibilityScheduleRequest entity. * @return a {@link GroupRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public GroupRequestBuilder group() { return new GroupRequestBuilder(pathParameters, requestAdapter); @@ -43,7 +49,10 @@ public GroupRequestBuilder group() { /** * Provides operations to manage the principal property of the microsoft.graph.privilegedAccessGroupEligibilityScheduleRequest entity. * @return a {@link PrincipalRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public PrincipalRequestBuilder principal() { return new PrincipalRequestBuilder(pathParameters, requestAdapter); @@ -51,7 +60,10 @@ public PrincipalRequestBuilder principal() { /** * Provides operations to manage the targetSchedule property of the microsoft.graph.privilegedAccessGroupEligibilityScheduleRequest entity. * @return a {@link TargetScheduleRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public TargetScheduleRequestBuilder targetSchedule() { return new TargetScheduleRequestBuilder(pathParameters, requestAdapter); @@ -75,7 +87,10 @@ public PrivilegedAccessGroupEligibilityScheduleRequestItemRequestBuilder(@jakart /** * Delete navigation property eligibilityScheduleRequests for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -83,7 +98,10 @@ public void delete() { * Delete navigation property eligibilityScheduleRequests for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -94,9 +112,12 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Read the properties and relationships of a privilegedAccessGroupEligibilityScheduleRequest object. * @return a {@link PrivilegedAccessGroupEligibilityScheduleRequest} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public PrivilegedAccessGroupEligibilityScheduleRequest get() { return get(null); } @@ -105,9 +126,12 @@ public PrivilegedAccessGroupEligibilityScheduleRequest get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link PrivilegedAccessGroupEligibilityScheduleRequest} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public PrivilegedAccessGroupEligibilityScheduleRequest get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -119,8 +143,11 @@ public PrivilegedAccessGroupEligibilityScheduleRequest get(@jakarta.annotation.N * @param body The request body * @return a {@link PrivilegedAccessGroupEligibilityScheduleRequest} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public PrivilegedAccessGroupEligibilityScheduleRequest patch(@jakarta.annotation.Nonnull final PrivilegedAccessGroupEligibilityScheduleRequest body) { return patch(body, null); } @@ -130,8 +157,11 @@ public PrivilegedAccessGroupEligibilityScheduleRequest patch(@jakarta.annotation * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link PrivilegedAccessGroupEligibilityScheduleRequest} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public PrivilegedAccessGroupEligibilityScheduleRequest patch(@jakarta.annotation.Nonnull final PrivilegedAccessGroupEligibilityScheduleRequest body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -142,8 +172,11 @@ public PrivilegedAccessGroupEligibilityScheduleRequest patch(@jakarta.annotation /** * Delete navigation property eligibilityScheduleRequests for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -151,8 +184,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property eligibilityScheduleRequests for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -162,8 +198,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Read the properties and relationships of a privilegedAccessGroupEligibilityScheduleRequest object. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -171,8 +210,11 @@ public RequestInformation toGetRequestInformation() { * Read the properties and relationships of a privilegedAccessGroupEligibilityScheduleRequest object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -183,8 +225,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property eligibilityScheduleRequests in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final PrivilegedAccessGroupEligibilityScheduleRequest body) { return toPatchRequestInformation(body, null); } @@ -193,8 +238,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final PrivilegedAccessGroupEligibilityScheduleRequest body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -207,8 +255,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link PrivilegedAccessGroupEligibilityScheduleRequestItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public PrivilegedAccessGroupEligibilityScheduleRequestItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new PrivilegedAccessGroupEligibilityScheduleRequestItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/eligibilityschedulerequests/item/cancel/CancelRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/eligibilityschedulerequests/item/cancel/CancelRequestBuilder.java index 1a1a7f0e81e..153f174743e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/eligibilityschedulerequests/item/cancel/CancelRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/eligibilityschedulerequests/item/cancel/CancelRequestBuilder.java @@ -37,8 +37,11 @@ public CancelRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ja /** * Cancel an eligibility assignment request to a group whose membership and ownership are governed by PIM. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * Cancel an eligibility assignment request to a group whose membership and ownership are governed by PIM. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Cancel an eligibility assignment request to a group whose membership and ownership are governed by PIM. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * Cancel an eligibility assignment request to a group whose membership and ownership are governed by PIM. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CancelRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CancelRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CancelRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/eligibilityschedulerequests/item/group/GroupRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/eligibilityschedulerequests/item/group/GroupRequestBuilder.java index 180a1552de2..3f74c567b27 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/eligibilityschedulerequests/item/group/GroupRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/eligibilityschedulerequests/item/group/GroupRequestBuilder.java @@ -24,7 +24,10 @@ public class GroupRequestBuilder extends BaseRequestBuilder { /** * The serviceProvisioningErrors property * @return a {@link ServiceProvisioningErrorsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ServiceProvisioningErrorsRequestBuilder serviceProvisioningErrors() { return new ServiceProvisioningErrorsRequestBuilder(pathParameters, requestAdapter); @@ -49,8 +52,11 @@ public GroupRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * References the group that is the scope of the membership or ownership eligibility request through PIM for Groups. Supports $expand and $select nested in $expand for select properties like id, displayName, and mail. * @return a {@link Group} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Group get() { return get(null); } @@ -59,8 +65,11 @@ public Group get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Group} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Group get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -70,8 +79,11 @@ public Group get(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * References the group that is the scope of the membership or ownership eligibility request through PIM for Groups. Supports $expand and $select nested in $expand for select properties like id, displayName, and mail. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -79,8 +91,11 @@ public RequestInformation toGetRequestInformation() { * References the group that is the scope of the membership or ownership eligibility request through PIM for Groups. Supports $expand and $select nested in $expand for select properties like id, displayName, and mail. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -91,8 +106,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link GroupRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public GroupRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new GroupRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/eligibilityschedulerequests/item/group/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/eligibilityschedulerequests/item/group/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java index 8f397781ba0..260d0a047c7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/eligibilityschedulerequests/item/group/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/eligibilityschedulerequests/item/group/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java @@ -24,7 +24,10 @@ public class ServiceProvisioningErrorsRequestBuilder extends BaseRequestBuilder /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -49,8 +52,11 @@ public ServiceProvisioningErrorsRequestBuilder(@jakarta.annotation.Nonnull final * Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object. * @return a {@link ServiceProvisioningErrorCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ServiceProvisioningErrorCollectionResponse get() { return get(null); } @@ -59,8 +65,11 @@ public ServiceProvisioningErrorCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ServiceProvisioningErrorCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ServiceProvisioningErrorCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -70,8 +79,11 @@ public ServiceProvisioningErrorCollectionResponse get(@jakarta.annotation.Nullab /** * Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -79,8 +91,11 @@ public RequestInformation toGetRequestInformation() { * Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -91,8 +106,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ServiceProvisioningErrorsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ServiceProvisioningErrorsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ServiceProvisioningErrorsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/eligibilityschedulerequests/item/group/serviceprovisioningerrors/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/eligibilityschedulerequests/item/group/serviceprovisioningerrors/count/CountRequestBuilder.java index 1005ba2d25f..af31fa883f9 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/eligibilityschedulerequests/item/group/serviceprovisioningerrors/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/eligibilityschedulerequests/item/group/serviceprovisioningerrors/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/eligibilityschedulerequests/item/principal/PrincipalRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/eligibilityschedulerequests/item/principal/PrincipalRequestBuilder.java index 27e748d8fe9..7299f42f0d5 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/eligibilityschedulerequests/item/principal/PrincipalRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/eligibilityschedulerequests/item/principal/PrincipalRequestBuilder.java @@ -40,8 +40,11 @@ public PrincipalRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, * References the principal that's in the scope of the membership or ownership eligibility request through the group that's governed by PIM. Supports $expand and $select nested in $expand for id only. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public DirectoryObject get() { return get(null); } @@ -50,8 +53,11 @@ public DirectoryObject get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public DirectoryObject get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public DirectoryObject get(@jakarta.annotation.Nullable final java.util.function /** * References the principal that's in the scope of the membership or ownership eligibility request through the group that's governed by PIM. Supports $expand and $select nested in $expand for id only. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * References the principal that's in the scope of the membership or ownership eligibility request through the group that's governed by PIM. Supports $expand and $select nested in $expand for id only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link PrincipalRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public PrincipalRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new PrincipalRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/eligibilityschedulerequests/item/targetschedule/TargetScheduleRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/eligibilityschedulerequests/item/targetschedule/TargetScheduleRequestBuilder.java index 10ffaf1e05a..5014a51ba2b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/eligibilityschedulerequests/item/targetschedule/TargetScheduleRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/eligibilityschedulerequests/item/targetschedule/TargetScheduleRequestBuilder.java @@ -40,8 +40,11 @@ public TargetScheduleRequestBuilder(@jakarta.annotation.Nonnull final String raw * Schedule created by this request. * @return a {@link PrivilegedAccessGroupEligibilitySchedule} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public PrivilegedAccessGroupEligibilitySchedule get() { return get(null); } @@ -50,8 +53,11 @@ public PrivilegedAccessGroupEligibilitySchedule get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link PrivilegedAccessGroupEligibilitySchedule} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public PrivilegedAccessGroupEligibilitySchedule get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public PrivilegedAccessGroupEligibilitySchedule get(@jakarta.annotation.Nullable /** * Schedule created by this request. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * Schedule created by this request. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link TargetScheduleRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public TargetScheduleRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new TargetScheduleRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/eligibilityschedules/EligibilitySchedulesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/eligibilityschedules/EligibilitySchedulesRequestBuilder.java index e5b74f0157a..11c197673ae 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/eligibilityschedules/EligibilitySchedulesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/eligibilityschedules/EligibilitySchedulesRequestBuilder.java @@ -27,7 +27,10 @@ public class EligibilitySchedulesRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -36,8 +39,11 @@ public CountRequestBuilder count() { * Provides operations to manage the eligibilitySchedules property of the microsoft.graph.privilegedAccessGroup entity. * @param privilegedAccessGroupEligibilityScheduleId The unique identifier of privilegedAccessGroupEligibilitySchedule * @return a {@link PrivilegedAccessGroupEligibilityScheduleItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public PrivilegedAccessGroupEligibilityScheduleItemRequestBuilder byPrivilegedAccessGroupEligibilityScheduleId(@jakarta.annotation.Nonnull final String privilegedAccessGroupEligibilityScheduleId) { Objects.requireNonNull(privilegedAccessGroupEligibilityScheduleId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -64,8 +70,11 @@ public EligibilitySchedulesRequestBuilder(@jakarta.annotation.Nonnull final Stri * Provides operations to call the filterByCurrentUser method. * @param on Usage: on='{on}' * @return a {@link FilterByCurrentUserWithOnRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilterByCurrentUserWithOnRequestBuilder filterByCurrentUserWithOn(@jakarta.annotation.Nonnull final String on) { Objects.requireNonNull(on); return new FilterByCurrentUserWithOnRequestBuilder(pathParameters, requestAdapter, on); @@ -74,9 +83,12 @@ public FilterByCurrentUserWithOnRequestBuilder filterByCurrentUserWithOn(@jakart * Get a list of the privilegedAccessGroupEligibilitySchedule objects and their properties. * @return a {@link PrivilegedAccessGroupEligibilityScheduleCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public PrivilegedAccessGroupEligibilityScheduleCollectionResponse get() { return get(null); } @@ -85,9 +97,12 @@ public PrivilegedAccessGroupEligibilityScheduleCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link PrivilegedAccessGroupEligibilityScheduleCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public PrivilegedAccessGroupEligibilityScheduleCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -99,8 +114,11 @@ public PrivilegedAccessGroupEligibilityScheduleCollectionResponse get(@jakarta.a * @param body The request body * @return a {@link PrivilegedAccessGroupEligibilitySchedule} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public PrivilegedAccessGroupEligibilitySchedule post(@jakarta.annotation.Nonnull final PrivilegedAccessGroupEligibilitySchedule body) { return post(body, null); } @@ -110,8 +128,11 @@ public PrivilegedAccessGroupEligibilitySchedule post(@jakarta.annotation.Nonnull * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link PrivilegedAccessGroupEligibilitySchedule} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public PrivilegedAccessGroupEligibilitySchedule post(@jakarta.annotation.Nonnull final PrivilegedAccessGroupEligibilitySchedule body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -122,8 +143,11 @@ public PrivilegedAccessGroupEligibilitySchedule post(@jakarta.annotation.Nonnull /** * Get a list of the privilegedAccessGroupEligibilitySchedule objects and their properties. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -131,8 +155,11 @@ public RequestInformation toGetRequestInformation() { * Get a list of the privilegedAccessGroupEligibilitySchedule objects and their properties. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -143,8 +170,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to eligibilitySchedules for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final PrivilegedAccessGroupEligibilitySchedule body) { return toPostRequestInformation(body, null); } @@ -153,8 +183,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final PrivilegedAccessGroupEligibilitySchedule body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -167,8 +200,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link EligibilitySchedulesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public EligibilitySchedulesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new EligibilitySchedulesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/eligibilityschedules/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/eligibilityschedules/count/CountRequestBuilder.java index 0b1c7255643..5940f960e92 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/eligibilityschedules/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/eligibilityschedules/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/eligibilityschedules/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/eligibilityschedules/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java index 01a52551a5a..d5d7bd188ea 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/eligibilityschedules/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/eligibilityschedules/filterbycurrentuserwithon/FilterByCurrentUserWithOnRequestBuilder.java @@ -41,9 +41,12 @@ public FilterByCurrentUserWithOnRequestBuilder(@jakarta.annotation.Nonnull final * Retrieve schedules of membership and ownership eligibility requests for the calling principal. * @return a {@link FilterByCurrentUserWithOnGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public FilterByCurrentUserWithOnGetResponse get() { return get(null); } @@ -52,9 +55,12 @@ public FilterByCurrentUserWithOnGetResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link FilterByCurrentUserWithOnGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public FilterByCurrentUserWithOnGetResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -64,8 +70,11 @@ public FilterByCurrentUserWithOnGetResponse get(@jakarta.annotation.Nullable fin /** * Retrieve schedules of membership and ownership eligibility requests for the calling principal. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -73,8 +82,11 @@ public RequestInformation toGetRequestInformation() { * Retrieve schedules of membership and ownership eligibility requests for the calling principal. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -85,8 +97,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link FilterByCurrentUserWithOnRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilterByCurrentUserWithOnRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new FilterByCurrentUserWithOnRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/eligibilityschedules/item/PrivilegedAccessGroupEligibilityScheduleItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/eligibilityschedules/item/PrivilegedAccessGroupEligibilityScheduleItemRequestBuilder.java index 7afcc158f89..84c6ab52792 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/eligibilityschedules/item/PrivilegedAccessGroupEligibilityScheduleItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/eligibilityschedules/item/PrivilegedAccessGroupEligibilityScheduleItemRequestBuilder.java @@ -25,7 +25,10 @@ public class PrivilegedAccessGroupEligibilityScheduleItemRequestBuilder extends /** * Provides operations to manage the group property of the microsoft.graph.privilegedAccessGroupEligibilitySchedule entity. * @return a {@link GroupRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public GroupRequestBuilder group() { return new GroupRequestBuilder(pathParameters, requestAdapter); @@ -33,7 +36,10 @@ public GroupRequestBuilder group() { /** * Provides operations to manage the principal property of the microsoft.graph.privilegedAccessGroupEligibilitySchedule entity. * @return a {@link PrincipalRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public PrincipalRequestBuilder principal() { return new PrincipalRequestBuilder(pathParameters, requestAdapter); @@ -57,7 +63,10 @@ public PrivilegedAccessGroupEligibilityScheduleItemRequestBuilder(@jakarta.annot /** * Delete navigation property eligibilitySchedules for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -65,7 +74,10 @@ public void delete() { * Delete navigation property eligibilitySchedules for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -76,9 +88,12 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Read the properties and relationships of a privilegedAccessGroupEligibilitySchedule object. * @return a {@link PrivilegedAccessGroupEligibilitySchedule} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public PrivilegedAccessGroupEligibilitySchedule get() { return get(null); } @@ -87,9 +102,12 @@ public PrivilegedAccessGroupEligibilitySchedule get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link PrivilegedAccessGroupEligibilitySchedule} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public PrivilegedAccessGroupEligibilitySchedule get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -101,8 +119,11 @@ public PrivilegedAccessGroupEligibilitySchedule get(@jakarta.annotation.Nullable * @param body The request body * @return a {@link PrivilegedAccessGroupEligibilitySchedule} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public PrivilegedAccessGroupEligibilitySchedule patch(@jakarta.annotation.Nonnull final PrivilegedAccessGroupEligibilitySchedule body) { return patch(body, null); } @@ -112,8 +133,11 @@ public PrivilegedAccessGroupEligibilitySchedule patch(@jakarta.annotation.Nonnul * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link PrivilegedAccessGroupEligibilitySchedule} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public PrivilegedAccessGroupEligibilitySchedule patch(@jakarta.annotation.Nonnull final PrivilegedAccessGroupEligibilitySchedule body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -124,8 +148,11 @@ public PrivilegedAccessGroupEligibilitySchedule patch(@jakarta.annotation.Nonnul /** * Delete navigation property eligibilitySchedules for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -133,8 +160,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property eligibilitySchedules for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -144,8 +174,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Read the properties and relationships of a privilegedAccessGroupEligibilitySchedule object. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -153,8 +186,11 @@ public RequestInformation toGetRequestInformation() { * Read the properties and relationships of a privilegedAccessGroupEligibilitySchedule object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -165,8 +201,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property eligibilitySchedules in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final PrivilegedAccessGroupEligibilitySchedule body) { return toPatchRequestInformation(body, null); } @@ -175,8 +214,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final PrivilegedAccessGroupEligibilitySchedule body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -189,8 +231,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link PrivilegedAccessGroupEligibilityScheduleItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public PrivilegedAccessGroupEligibilityScheduleItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new PrivilegedAccessGroupEligibilityScheduleItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/eligibilityschedules/item/group/GroupRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/eligibilityschedules/item/group/GroupRequestBuilder.java index c0f532930a5..04e71259e79 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/eligibilityschedules/item/group/GroupRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/eligibilityschedules/item/group/GroupRequestBuilder.java @@ -24,7 +24,10 @@ public class GroupRequestBuilder extends BaseRequestBuilder { /** * The serviceProvisioningErrors property * @return a {@link ServiceProvisioningErrorsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public ServiceProvisioningErrorsRequestBuilder serviceProvisioningErrors() { return new ServiceProvisioningErrorsRequestBuilder(pathParameters, requestAdapter); @@ -49,8 +52,11 @@ public GroupRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * References the group that is the scope of the membership or ownership eligibility through PIM for Groups. Supports $expand. * @return a {@link Group} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Group get() { return get(null); } @@ -59,8 +65,11 @@ public Group get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Group} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Group get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -70,8 +79,11 @@ public Group get(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * References the group that is the scope of the membership or ownership eligibility through PIM for Groups. Supports $expand. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -79,8 +91,11 @@ public RequestInformation toGetRequestInformation() { * References the group that is the scope of the membership or ownership eligibility through PIM for Groups. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -91,8 +106,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link GroupRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public GroupRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new GroupRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/eligibilityschedules/item/group/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/eligibilityschedules/item/group/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java index 7ca8b369aaa..a3020f82e11 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/eligibilityschedules/item/group/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/eligibilityschedules/item/group/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java @@ -24,7 +24,10 @@ public class ServiceProvisioningErrorsRequestBuilder extends BaseRequestBuilder /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -49,8 +52,11 @@ public ServiceProvisioningErrorsRequestBuilder(@jakarta.annotation.Nonnull final * Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object. * @return a {@link ServiceProvisioningErrorCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ServiceProvisioningErrorCollectionResponse get() { return get(null); } @@ -59,8 +65,11 @@ public ServiceProvisioningErrorCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ServiceProvisioningErrorCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public ServiceProvisioningErrorCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -70,8 +79,11 @@ public ServiceProvisioningErrorCollectionResponse get(@jakarta.annotation.Nullab /** * Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -79,8 +91,11 @@ public RequestInformation toGetRequestInformation() { * Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -91,8 +106,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ServiceProvisioningErrorsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ServiceProvisioningErrorsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ServiceProvisioningErrorsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/eligibilityschedules/item/group/serviceprovisioningerrors/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/eligibilityschedules/item/group/serviceprovisioningerrors/count/CountRequestBuilder.java index 331683ff5f3..005fb3a3453 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/eligibilityschedules/item/group/serviceprovisioningerrors/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/eligibilityschedules/item/group/serviceprovisioningerrors/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/eligibilityschedules/item/principal/PrincipalRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/eligibilityschedules/item/principal/PrincipalRequestBuilder.java index 7a3a5320100..d4fdf5b8324 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/eligibilityschedules/item/principal/PrincipalRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/eligibilityschedules/item/principal/PrincipalRequestBuilder.java @@ -40,8 +40,11 @@ public PrincipalRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, * References the principal that's in the scope of this membership or ownership eligibility request to the group that's governed by PIM. Supports $expand. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public DirectoryObject get() { return get(null); } @@ -50,8 +53,11 @@ public DirectoryObject get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public DirectoryObject get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public DirectoryObject get(@jakarta.annotation.Nullable final java.util.function /** * References the principal that's in the scope of this membership or ownership eligibility request to the group that's governed by PIM. Supports $expand. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * References the principal that's in the scope of this membership or ownership eligibility request to the group that's governed by PIM. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link PrincipalRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public PrincipalRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new PrincipalRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/resources/ResourcesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/resources/ResourcesRequestBuilder.java index 83674a64ab8..24fedb75eea 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/resources/ResourcesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/resources/ResourcesRequestBuilder.java @@ -26,7 +26,10 @@ public class ResourcesRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the resources property of the microsoft.graph.privilegedAccessGroup entity. * @param groupResourceId The unique identifier of groupResource * @return a {@link GroupResourceItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public GroupResourceItemRequestBuilder byGroupResourceId(@jakarta.annotation.Nonnull final String groupResourceId) { Objects.requireNonNull(groupResourceId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,9 +69,12 @@ public ResourcesRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, * Get a list of the groupResource objects and their properties. * @return a {@link GroupResourceCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public GroupResourceCollectionResponse get() { return get(null); } @@ -74,9 +83,12 @@ public GroupResourceCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GroupResourceCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public GroupResourceCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -88,8 +100,11 @@ public GroupResourceCollectionResponse get(@jakarta.annotation.Nullable final ja * @param body The request body * @return a {@link GroupResource} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GroupResource post(@jakarta.annotation.Nonnull final GroupResource body) { return post(body, null); } @@ -99,8 +114,11 @@ public GroupResource post(@jakarta.annotation.Nonnull final GroupResource body) * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GroupResource} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GroupResource post(@jakarta.annotation.Nonnull final GroupResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -111,8 +129,11 @@ public GroupResource post(@jakarta.annotation.Nonnull final GroupResource body, /** * Get a list of the groupResource objects and their properties. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -120,8 +141,11 @@ public RequestInformation toGetRequestInformation() { * Get a list of the groupResource objects and their properties. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -132,8 +156,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to resources for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GroupResource body) { return toPostRequestInformation(body, null); } @@ -142,8 +169,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GroupResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -156,8 +186,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ResourcesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public ResourcesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ResourcesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/resources/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/resources/count/CountRequestBuilder.java index e2dc779d9b7..64cca96653a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/resources/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/resources/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/resources/item/GroupResourceItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/resources/item/GroupResourceItemRequestBuilder.java index de24650e576..d4efe191daa 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/resources/item/GroupResourceItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/resources/item/GroupResourceItemRequestBuilder.java @@ -39,7 +39,10 @@ public GroupResourceItemRequestBuilder(@jakarta.annotation.Nonnull final String /** * Delete navigation property resources for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -47,7 +50,10 @@ public void delete() { * Delete navigation property resources for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -58,9 +64,12 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Read the properties and relationships of a groupResource object. * @return a {@link GroupResource} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public GroupResource get() { return get(null); } @@ -69,9 +78,12 @@ public GroupResource get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GroupResource} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public GroupResource get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -83,8 +95,11 @@ public GroupResource get(@jakarta.annotation.Nullable final java.util.function.C * @param body The request body * @return a {@link GroupResource} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GroupResource patch(@jakarta.annotation.Nonnull final GroupResource body) { return patch(body, null); } @@ -94,8 +109,11 @@ public GroupResource patch(@jakarta.annotation.Nonnull final GroupResource body) * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GroupResource} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public GroupResource patch(@jakarta.annotation.Nonnull final GroupResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -106,8 +124,11 @@ public GroupResource patch(@jakarta.annotation.Nonnull final GroupResource body, /** * Delete navigation property resources for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -115,8 +136,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property resources for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -126,8 +150,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Read the properties and relationships of a groupResource object. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -135,8 +162,11 @@ public RequestInformation toGetRequestInformation() { * Read the properties and relationships of a groupResource object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -147,8 +177,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property resources in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final GroupResource body) { return toPatchRequestInformation(body, null); } @@ -157,8 +190,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final GroupResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -171,8 +207,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link GroupResourceItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public GroupResourceItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new GroupResourceItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/rolemanagementalerts/RoleManagementAlertsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/rolemanagementalerts/RoleManagementAlertsRequestBuilder.java index 445827d3561..daf4d404e64 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/rolemanagementalerts/RoleManagementAlertsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/rolemanagementalerts/RoleManagementAlertsRequestBuilder.java @@ -27,7 +27,10 @@ public class RoleManagementAlertsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to manage the alertConfigurations property of the microsoft.graph.roleManagementAlert entity. * @return a {@link AlertConfigurationsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AlertConfigurationsRequestBuilder alertConfigurations() { return new AlertConfigurationsRequestBuilder(pathParameters, requestAdapter); @@ -35,7 +38,10 @@ public AlertConfigurationsRequestBuilder alertConfigurations() { /** * Provides operations to manage the alertDefinitions property of the microsoft.graph.roleManagementAlert entity. * @return a {@link AlertDefinitionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AlertDefinitionsRequestBuilder alertDefinitions() { return new AlertDefinitionsRequestBuilder(pathParameters, requestAdapter); @@ -43,7 +49,10 @@ public AlertDefinitionsRequestBuilder alertDefinitions() { /** * Provides operations to manage the alerts property of the microsoft.graph.roleManagementAlert entity. * @return a {@link AlertsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AlertsRequestBuilder alerts() { return new AlertsRequestBuilder(pathParameters, requestAdapter); @@ -51,7 +60,10 @@ public AlertsRequestBuilder alerts() { /** * Provides operations to manage the operations property of the microsoft.graph.roleManagementAlert entity. * @return a {@link OperationsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public OperationsRequestBuilder operations() { return new OperationsRequestBuilder(pathParameters, requestAdapter); @@ -75,7 +87,10 @@ public RoleManagementAlertsRequestBuilder(@jakarta.annotation.Nonnull final Stri /** * Delete navigation property roleManagementAlerts for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -83,7 +98,10 @@ public void delete() { * Delete navigation property roleManagementAlerts for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -94,8 +112,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Get roleManagementAlerts from identityGovernance * @return a {@link RoleManagementAlert} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public RoleManagementAlert get() { return get(null); } @@ -104,8 +125,11 @@ public RoleManagementAlert get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RoleManagementAlert} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public RoleManagementAlert get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -117,8 +141,11 @@ public RoleManagementAlert get(@jakarta.annotation.Nullable final java.util.func * @param body The request body * @return a {@link RoleManagementAlert} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public RoleManagementAlert patch(@jakarta.annotation.Nonnull final RoleManagementAlert body) { return patch(body, null); } @@ -128,8 +155,11 @@ public RoleManagementAlert patch(@jakarta.annotation.Nonnull final RoleManagemen * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RoleManagementAlert} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public RoleManagementAlert patch(@jakarta.annotation.Nonnull final RoleManagementAlert body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -140,8 +170,11 @@ public RoleManagementAlert patch(@jakarta.annotation.Nonnull final RoleManagemen /** * Delete navigation property roleManagementAlerts for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -149,8 +182,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property roleManagementAlerts for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -160,8 +196,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Get roleManagementAlerts from identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -169,8 +208,11 @@ public RequestInformation toGetRequestInformation() { * Get roleManagementAlerts from identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -181,8 +223,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property roleManagementAlerts in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final RoleManagementAlert body) { return toPatchRequestInformation(body, null); } @@ -191,8 +236,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final RoleManagementAlert body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -205,8 +253,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RoleManagementAlertsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RoleManagementAlertsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RoleManagementAlertsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/rolemanagementalerts/alertconfigurations/AlertConfigurationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/rolemanagementalerts/alertconfigurations/AlertConfigurationsRequestBuilder.java index f089b7ec067..55b0e48498c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/rolemanagementalerts/alertconfigurations/AlertConfigurationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/rolemanagementalerts/alertconfigurations/AlertConfigurationsRequestBuilder.java @@ -26,7 +26,10 @@ public class AlertConfigurationsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the alertConfigurations property of the microsoft.graph.roleManagementAlert entity. * @param unifiedRoleManagementAlertConfigurationId The unique identifier of unifiedRoleManagementAlertConfiguration * @return a {@link UnifiedRoleManagementAlertConfigurationItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public UnifiedRoleManagementAlertConfigurationItemRequestBuilder byUnifiedRoleManagementAlertConfigurationId(@jakarta.annotation.Nonnull final String unifiedRoleManagementAlertConfigurationId) { Objects.requireNonNull(unifiedRoleManagementAlertConfigurationId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,9 +69,12 @@ public AlertConfigurationsRequestBuilder(@jakarta.annotation.Nonnull final Strin * Get a list of the alert configurations. The alert configurations are a collection of following types that are derived from the unifiedRoleManagementAlertConfiguration object: * @return a {@link UnifiedRoleManagementAlertConfigurationCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public UnifiedRoleManagementAlertConfigurationCollectionResponse get() { return get(null); } @@ -74,9 +83,12 @@ public UnifiedRoleManagementAlertConfigurationCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link UnifiedRoleManagementAlertConfigurationCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public UnifiedRoleManagementAlertConfigurationCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -88,8 +100,11 @@ public UnifiedRoleManagementAlertConfigurationCollectionResponse get(@jakarta.an * @param body The request body * @return a {@link UnifiedRoleManagementAlertConfiguration} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public UnifiedRoleManagementAlertConfiguration post(@jakarta.annotation.Nonnull final UnifiedRoleManagementAlertConfiguration body) { return post(body, null); } @@ -99,8 +114,11 @@ public UnifiedRoleManagementAlertConfiguration post(@jakarta.annotation.Nonnull * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link UnifiedRoleManagementAlertConfiguration} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public UnifiedRoleManagementAlertConfiguration post(@jakarta.annotation.Nonnull final UnifiedRoleManagementAlertConfiguration body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -111,8 +129,11 @@ public UnifiedRoleManagementAlertConfiguration post(@jakarta.annotation.Nonnull /** * Get a list of the alert configurations. The alert configurations are a collection of following types that are derived from the unifiedRoleManagementAlertConfiguration object: * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -120,8 +141,11 @@ public RequestInformation toGetRequestInformation() { * Get a list of the alert configurations. The alert configurations are a collection of following types that are derived from the unifiedRoleManagementAlertConfiguration object: * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -132,8 +156,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to alertConfigurations for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final UnifiedRoleManagementAlertConfiguration body) { return toPostRequestInformation(body, null); } @@ -142,8 +169,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final UnifiedRoleManagementAlertConfiguration body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -156,8 +186,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AlertConfigurationsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AlertConfigurationsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AlertConfigurationsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/rolemanagementalerts/alertconfigurations/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/rolemanagementalerts/alertconfigurations/count/CountRequestBuilder.java index fb4354f3a41..6d4c34e1f33 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/rolemanagementalerts/alertconfigurations/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/rolemanagementalerts/alertconfigurations/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/rolemanagementalerts/alertconfigurations/item/UnifiedRoleManagementAlertConfigurationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/rolemanagementalerts/alertconfigurations/item/UnifiedRoleManagementAlertConfigurationItemRequestBuilder.java index 18a9f96deb2..0a835ec52aa 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/rolemanagementalerts/alertconfigurations/item/UnifiedRoleManagementAlertConfigurationItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/rolemanagementalerts/alertconfigurations/item/UnifiedRoleManagementAlertConfigurationItemRequestBuilder.java @@ -24,7 +24,10 @@ public class UnifiedRoleManagementAlertConfigurationItemRequestBuilder extends B /** * Provides operations to manage the alertDefinition property of the microsoft.graph.unifiedRoleManagementAlertConfiguration entity. * @return a {@link AlertDefinitionRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AlertDefinitionRequestBuilder alertDefinition() { return new AlertDefinitionRequestBuilder(pathParameters, requestAdapter); @@ -48,7 +51,10 @@ public UnifiedRoleManagementAlertConfigurationItemRequestBuilder(@jakarta.annota /** * Delete navigation property alertConfigurations for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -56,7 +62,10 @@ public void delete() { * Delete navigation property alertConfigurations for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -67,8 +76,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * The various configurations of an alert for Microsoft Entra roles. The configurations are predefined and can't be created or deleted, but some of the configurations can be modified. * @return a {@link UnifiedRoleManagementAlertConfiguration} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public UnifiedRoleManagementAlertConfiguration get() { return get(null); } @@ -77,8 +89,11 @@ public UnifiedRoleManagementAlertConfiguration get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link UnifiedRoleManagementAlertConfiguration} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public UnifiedRoleManagementAlertConfiguration get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -90,8 +105,11 @@ public UnifiedRoleManagementAlertConfiguration get(@jakarta.annotation.Nullable * @param body The request body * @return a {@link UnifiedRoleManagementAlertConfiguration} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public UnifiedRoleManagementAlertConfiguration patch(@jakarta.annotation.Nonnull final UnifiedRoleManagementAlertConfiguration body) { return patch(body, null); } @@ -101,8 +119,11 @@ public UnifiedRoleManagementAlertConfiguration patch(@jakarta.annotation.Nonnull * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link UnifiedRoleManagementAlertConfiguration} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public UnifiedRoleManagementAlertConfiguration patch(@jakarta.annotation.Nonnull final UnifiedRoleManagementAlertConfiguration body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -113,8 +134,11 @@ public UnifiedRoleManagementAlertConfiguration patch(@jakarta.annotation.Nonnull /** * Delete navigation property alertConfigurations for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -122,8 +146,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property alertConfigurations for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -133,8 +160,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * The various configurations of an alert for Microsoft Entra roles. The configurations are predefined and can't be created or deleted, but some of the configurations can be modified. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -142,8 +172,11 @@ public RequestInformation toGetRequestInformation() { * The various configurations of an alert for Microsoft Entra roles. The configurations are predefined and can't be created or deleted, but some of the configurations can be modified. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -154,8 +187,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property alertConfigurations in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final UnifiedRoleManagementAlertConfiguration body) { return toPatchRequestInformation(body, null); } @@ -164,8 +200,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final UnifiedRoleManagementAlertConfiguration body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -178,8 +217,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link UnifiedRoleManagementAlertConfigurationItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public UnifiedRoleManagementAlertConfigurationItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new UnifiedRoleManagementAlertConfigurationItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/rolemanagementalerts/alertconfigurations/item/alertdefinition/AlertDefinitionRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/rolemanagementalerts/alertconfigurations/item/alertdefinition/AlertDefinitionRequestBuilder.java index 94f39ae6139..114e4c81894 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/rolemanagementalerts/alertconfigurations/item/alertdefinition/AlertDefinitionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/rolemanagementalerts/alertconfigurations/item/alertdefinition/AlertDefinitionRequestBuilder.java @@ -40,8 +40,11 @@ public AlertDefinitionRequestBuilder(@jakarta.annotation.Nonnull final String ra * The definition of the alert that contains its description, impact, and measures to mitigate or prevent it. Supports $expand. * @return a {@link UnifiedRoleManagementAlertDefinition} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public UnifiedRoleManagementAlertDefinition get() { return get(null); } @@ -50,8 +53,11 @@ public UnifiedRoleManagementAlertDefinition get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link UnifiedRoleManagementAlertDefinition} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public UnifiedRoleManagementAlertDefinition get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public UnifiedRoleManagementAlertDefinition get(@jakarta.annotation.Nullable fin /** * The definition of the alert that contains its description, impact, and measures to mitigate or prevent it. Supports $expand. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * The definition of the alert that contains its description, impact, and measures to mitigate or prevent it. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AlertDefinitionRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AlertDefinitionRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AlertDefinitionRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/rolemanagementalerts/alertdefinitions/AlertDefinitionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/rolemanagementalerts/alertdefinitions/AlertDefinitionsRequestBuilder.java index c4d76b36807..92f7fd75a40 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/rolemanagementalerts/alertdefinitions/AlertDefinitionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/rolemanagementalerts/alertdefinitions/AlertDefinitionsRequestBuilder.java @@ -26,7 +26,10 @@ public class AlertDefinitionsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the alertDefinitions property of the microsoft.graph.roleManagementAlert entity. * @param unifiedRoleManagementAlertDefinitionId The unique identifier of unifiedRoleManagementAlertDefinition * @return a {@link UnifiedRoleManagementAlertDefinitionItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public UnifiedRoleManagementAlertDefinitionItemRequestBuilder byUnifiedRoleManagementAlertDefinitionId(@jakarta.annotation.Nonnull final String unifiedRoleManagementAlertDefinitionId) { Objects.requireNonNull(unifiedRoleManagementAlertDefinitionId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,9 +69,12 @@ public AlertDefinitionsRequestBuilder(@jakarta.annotation.Nonnull final String r * Get a list of the unifiedRoleManagementAlertDefinition objects and their properties. * @return a {@link UnifiedRoleManagementAlertDefinitionCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public UnifiedRoleManagementAlertDefinitionCollectionResponse get() { return get(null); } @@ -74,9 +83,12 @@ public UnifiedRoleManagementAlertDefinitionCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link UnifiedRoleManagementAlertDefinitionCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public UnifiedRoleManagementAlertDefinitionCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -88,8 +100,11 @@ public UnifiedRoleManagementAlertDefinitionCollectionResponse get(@jakarta.annot * @param body The request body * @return a {@link UnifiedRoleManagementAlertDefinition} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public UnifiedRoleManagementAlertDefinition post(@jakarta.annotation.Nonnull final UnifiedRoleManagementAlertDefinition body) { return post(body, null); } @@ -99,8 +114,11 @@ public UnifiedRoleManagementAlertDefinition post(@jakarta.annotation.Nonnull fin * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link UnifiedRoleManagementAlertDefinition} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public UnifiedRoleManagementAlertDefinition post(@jakarta.annotation.Nonnull final UnifiedRoleManagementAlertDefinition body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -111,8 +129,11 @@ public UnifiedRoleManagementAlertDefinition post(@jakarta.annotation.Nonnull fin /** * Get a list of the unifiedRoleManagementAlertDefinition objects and their properties. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -120,8 +141,11 @@ public RequestInformation toGetRequestInformation() { * Get a list of the unifiedRoleManagementAlertDefinition objects and their properties. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -132,8 +156,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to alertDefinitions for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final UnifiedRoleManagementAlertDefinition body) { return toPostRequestInformation(body, null); } @@ -142,8 +169,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final UnifiedRoleManagementAlertDefinition body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -156,8 +186,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AlertDefinitionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AlertDefinitionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AlertDefinitionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/rolemanagementalerts/alertdefinitions/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/rolemanagementalerts/alertdefinitions/count/CountRequestBuilder.java index b02b5d6646d..4a5c671d778 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/rolemanagementalerts/alertdefinitions/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/rolemanagementalerts/alertdefinitions/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/rolemanagementalerts/alertdefinitions/item/UnifiedRoleManagementAlertDefinitionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/rolemanagementalerts/alertdefinitions/item/UnifiedRoleManagementAlertDefinitionItemRequestBuilder.java index 36dacb02c2f..4d59d317c0e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/rolemanagementalerts/alertdefinitions/item/UnifiedRoleManagementAlertDefinitionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/rolemanagementalerts/alertdefinitions/item/UnifiedRoleManagementAlertDefinitionItemRequestBuilder.java @@ -39,7 +39,10 @@ public UnifiedRoleManagementAlertDefinitionItemRequestBuilder(@jakarta.annotatio /** * Delete navigation property alertDefinitions for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -47,7 +50,10 @@ public void delete() { * Delete navigation property alertDefinitions for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -58,8 +64,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Defines an alert, its impact, and measures to mitigate or prevent it. * @return a {@link UnifiedRoleManagementAlertDefinition} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public UnifiedRoleManagementAlertDefinition get() { return get(null); } @@ -68,8 +77,11 @@ public UnifiedRoleManagementAlertDefinition get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link UnifiedRoleManagementAlertDefinition} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public UnifiedRoleManagementAlertDefinition get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -81,8 +93,11 @@ public UnifiedRoleManagementAlertDefinition get(@jakarta.annotation.Nullable fin * @param body The request body * @return a {@link UnifiedRoleManagementAlertDefinition} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public UnifiedRoleManagementAlertDefinition patch(@jakarta.annotation.Nonnull final UnifiedRoleManagementAlertDefinition body) { return patch(body, null); } @@ -92,8 +107,11 @@ public UnifiedRoleManagementAlertDefinition patch(@jakarta.annotation.Nonnull fi * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link UnifiedRoleManagementAlertDefinition} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public UnifiedRoleManagementAlertDefinition patch(@jakarta.annotation.Nonnull final UnifiedRoleManagementAlertDefinition body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -104,8 +122,11 @@ public UnifiedRoleManagementAlertDefinition patch(@jakarta.annotation.Nonnull fi /** * Delete navigation property alertDefinitions for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -113,8 +134,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property alertDefinitions for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Defines an alert, its impact, and measures to mitigate or prevent it. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -133,8 +160,11 @@ public RequestInformation toGetRequestInformation() { * Defines an alert, its impact, and measures to mitigate or prevent it. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -145,8 +175,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property alertDefinitions in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final UnifiedRoleManagementAlertDefinition body) { return toPatchRequestInformation(body, null); } @@ -155,8 +188,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final UnifiedRoleManagementAlertDefinition body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -169,8 +205,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link UnifiedRoleManagementAlertDefinitionItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public UnifiedRoleManagementAlertDefinitionItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new UnifiedRoleManagementAlertDefinitionItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/rolemanagementalerts/alerts/AlertsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/rolemanagementalerts/alerts/AlertsRequestBuilder.java index 60b33cac418..b19cc8a4a48 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/rolemanagementalerts/alerts/AlertsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/rolemanagementalerts/alerts/AlertsRequestBuilder.java @@ -27,7 +27,10 @@ public class AlertsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,7 +38,10 @@ public CountRequestBuilder count() { /** * Provides operations to call the refresh method. * @return a {@link RefreshRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public RefreshRequestBuilder refresh() { return new RefreshRequestBuilder(pathParameters, requestAdapter); @@ -44,8 +50,11 @@ public RefreshRequestBuilder refresh() { * Provides operations to manage the alerts property of the microsoft.graph.roleManagementAlert entity. * @param unifiedRoleManagementAlertId The unique identifier of unifiedRoleManagementAlert * @return a {@link UnifiedRoleManagementAlertItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public UnifiedRoleManagementAlertItemRequestBuilder byUnifiedRoleManagementAlertId(@jakarta.annotation.Nonnull final String unifiedRoleManagementAlertId) { Objects.requireNonNull(unifiedRoleManagementAlertId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -72,9 +81,12 @@ public AlertsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ja * Get a list of the unifiedRoleManagementAlert objects and their properties. * @return a {@link UnifiedRoleManagementAlertCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public UnifiedRoleManagementAlertCollectionResponse get() { return get(null); } @@ -83,9 +95,12 @@ public UnifiedRoleManagementAlertCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link UnifiedRoleManagementAlertCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public UnifiedRoleManagementAlertCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -97,8 +112,11 @@ public UnifiedRoleManagementAlertCollectionResponse get(@jakarta.annotation.Null * @param body The request body * @return a {@link UnifiedRoleManagementAlert} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public UnifiedRoleManagementAlert post(@jakarta.annotation.Nonnull final UnifiedRoleManagementAlert body) { return post(body, null); } @@ -108,8 +126,11 @@ public UnifiedRoleManagementAlert post(@jakarta.annotation.Nonnull final Unified * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link UnifiedRoleManagementAlert} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public UnifiedRoleManagementAlert post(@jakarta.annotation.Nonnull final UnifiedRoleManagementAlert body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -120,8 +141,11 @@ public UnifiedRoleManagementAlert post(@jakarta.annotation.Nonnull final Unified /** * Get a list of the unifiedRoleManagementAlert objects and their properties. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -129,8 +153,11 @@ public RequestInformation toGetRequestInformation() { * Get a list of the unifiedRoleManagementAlert objects and their properties. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -141,8 +168,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to alerts for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final UnifiedRoleManagementAlert body) { return toPostRequestInformation(body, null); } @@ -151,8 +181,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final UnifiedRoleManagementAlert body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -165,8 +198,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AlertsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AlertsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AlertsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/rolemanagementalerts/alerts/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/rolemanagementalerts/alerts/count/CountRequestBuilder.java index bb138e357d8..0c3bda8a6ad 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/rolemanagementalerts/alerts/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/rolemanagementalerts/alerts/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/rolemanagementalerts/alerts/item/UnifiedRoleManagementAlertItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/rolemanagementalerts/alerts/item/UnifiedRoleManagementAlertItemRequestBuilder.java index 9cd35c89dd1..8a24dda2233 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/rolemanagementalerts/alerts/item/UnifiedRoleManagementAlertItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/rolemanagementalerts/alerts/item/UnifiedRoleManagementAlertItemRequestBuilder.java @@ -27,7 +27,10 @@ public class UnifiedRoleManagementAlertItemRequestBuilder extends BaseRequestBui /** * Provides operations to manage the alertConfiguration property of the microsoft.graph.unifiedRoleManagementAlert entity. * @return a {@link AlertConfigurationRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AlertConfigurationRequestBuilder alertConfiguration() { return new AlertConfigurationRequestBuilder(pathParameters, requestAdapter); @@ -35,7 +38,10 @@ public AlertConfigurationRequestBuilder alertConfiguration() { /** * Provides operations to manage the alertDefinition property of the microsoft.graph.unifiedRoleManagementAlert entity. * @return a {@link AlertDefinitionRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AlertDefinitionRequestBuilder alertDefinition() { return new AlertDefinitionRequestBuilder(pathParameters, requestAdapter); @@ -43,7 +49,10 @@ public AlertDefinitionRequestBuilder alertDefinition() { /** * Provides operations to manage the alertIncidents property of the microsoft.graph.unifiedRoleManagementAlert entity. * @return a {@link AlertIncidentsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AlertIncidentsRequestBuilder alertIncidents() { return new AlertIncidentsRequestBuilder(pathParameters, requestAdapter); @@ -51,7 +60,10 @@ public AlertIncidentsRequestBuilder alertIncidents() { /** * Provides operations to call the refresh method. * @return a {@link RefreshRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public RefreshRequestBuilder refresh() { return new RefreshRequestBuilder(pathParameters, requestAdapter); @@ -75,7 +87,10 @@ public UnifiedRoleManagementAlertItemRequestBuilder(@jakarta.annotation.Nonnull /** * Delete navigation property alerts for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -83,7 +98,10 @@ public void delete() { * Delete navigation property alerts for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -94,8 +112,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Represents the alert entity. * @return a {@link UnifiedRoleManagementAlert} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public UnifiedRoleManagementAlert get() { return get(null); } @@ -104,8 +125,11 @@ public UnifiedRoleManagementAlert get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link UnifiedRoleManagementAlert} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public UnifiedRoleManagementAlert get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -117,8 +141,11 @@ public UnifiedRoleManagementAlert get(@jakarta.annotation.Nullable final java.ut * @param body The request body * @return a {@link UnifiedRoleManagementAlert} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public UnifiedRoleManagementAlert patch(@jakarta.annotation.Nonnull final UnifiedRoleManagementAlert body) { return patch(body, null); } @@ -128,8 +155,11 @@ public UnifiedRoleManagementAlert patch(@jakarta.annotation.Nonnull final Unifie * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link UnifiedRoleManagementAlert} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public UnifiedRoleManagementAlert patch(@jakarta.annotation.Nonnull final UnifiedRoleManagementAlert body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -140,8 +170,11 @@ public UnifiedRoleManagementAlert patch(@jakarta.annotation.Nonnull final Unifie /** * Delete navigation property alerts for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -149,8 +182,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property alerts for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -160,8 +196,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Represents the alert entity. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -169,8 +208,11 @@ public RequestInformation toGetRequestInformation() { * Represents the alert entity. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -181,8 +223,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property alerts in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final UnifiedRoleManagementAlert body) { return toPatchRequestInformation(body, null); } @@ -191,8 +236,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final UnifiedRoleManagementAlert body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -205,8 +253,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link UnifiedRoleManagementAlertItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public UnifiedRoleManagementAlertItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new UnifiedRoleManagementAlertItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/rolemanagementalerts/alerts/item/alertconfiguration/AlertConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/rolemanagementalerts/alerts/item/alertconfiguration/AlertConfigurationRequestBuilder.java index e501ae19202..4354c441343 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/rolemanagementalerts/alerts/item/alertconfiguration/AlertConfigurationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/rolemanagementalerts/alerts/item/alertconfiguration/AlertConfigurationRequestBuilder.java @@ -40,8 +40,11 @@ public AlertConfigurationRequestBuilder(@jakarta.annotation.Nonnull final String * The configuration of the alert in PIM for Microsoft Entra roles. Alert configurations are pre-defined and cannot be created or deleted, but some configurations can be modified. Supports $filter for the isEnabled property and $expand. * @return a {@link UnifiedRoleManagementAlertConfiguration} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public UnifiedRoleManagementAlertConfiguration get() { return get(null); } @@ -50,8 +53,11 @@ public UnifiedRoleManagementAlertConfiguration get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link UnifiedRoleManagementAlertConfiguration} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public UnifiedRoleManagementAlertConfiguration get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public UnifiedRoleManagementAlertConfiguration get(@jakarta.annotation.Nullable /** * The configuration of the alert in PIM for Microsoft Entra roles. Alert configurations are pre-defined and cannot be created or deleted, but some configurations can be modified. Supports $filter for the isEnabled property and $expand. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * The configuration of the alert in PIM for Microsoft Entra roles. Alert configurations are pre-defined and cannot be created or deleted, but some configurations can be modified. Supports $filter for the isEnabled property and $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AlertConfigurationRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AlertConfigurationRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AlertConfigurationRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/rolemanagementalerts/alerts/item/alertdefinition/AlertDefinitionRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/rolemanagementalerts/alerts/item/alertdefinition/AlertDefinitionRequestBuilder.java index 9cac56e42b1..27b65ae74a6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/rolemanagementalerts/alerts/item/alertdefinition/AlertDefinitionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/rolemanagementalerts/alerts/item/alertdefinition/AlertDefinitionRequestBuilder.java @@ -40,8 +40,11 @@ public AlertDefinitionRequestBuilder(@jakarta.annotation.Nonnull final String ra * Contains the description, impact, and measures to mitigate or prevent the security alert from being triggered in your tenant. Supports $expand. * @return a {@link UnifiedRoleManagementAlertDefinition} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public UnifiedRoleManagementAlertDefinition get() { return get(null); } @@ -50,8 +53,11 @@ public UnifiedRoleManagementAlertDefinition get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link UnifiedRoleManagementAlertDefinition} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public UnifiedRoleManagementAlertDefinition get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public UnifiedRoleManagementAlertDefinition get(@jakarta.annotation.Nullable fin /** * Contains the description, impact, and measures to mitigate or prevent the security alert from being triggered in your tenant. Supports $expand. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * Contains the description, impact, and measures to mitigate or prevent the security alert from being triggered in your tenant. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AlertDefinitionRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AlertDefinitionRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AlertDefinitionRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/rolemanagementalerts/alerts/item/alertincidents/AlertIncidentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/rolemanagementalerts/alerts/item/alertincidents/AlertIncidentsRequestBuilder.java index 615eec1dcbf..3cc52086d3e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/rolemanagementalerts/alerts/item/alertincidents/AlertIncidentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/rolemanagementalerts/alerts/item/alertincidents/AlertIncidentsRequestBuilder.java @@ -26,7 +26,10 @@ public class AlertIncidentsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the alertIncidents property of the microsoft.graph.unifiedRoleManagementAlert entity. * @param unifiedRoleManagementAlertIncidentId The unique identifier of unifiedRoleManagementAlertIncident * @return a {@link UnifiedRoleManagementAlertIncidentItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public UnifiedRoleManagementAlertIncidentItemRequestBuilder byUnifiedRoleManagementAlertIncidentId(@jakarta.annotation.Nonnull final String unifiedRoleManagementAlertIncidentId) { Objects.requireNonNull(unifiedRoleManagementAlertIncidentId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public AlertIncidentsRequestBuilder(@jakarta.annotation.Nonnull final String raw * Represents the incidents of this type of alert that have been triggered in Privileged Identity Management (PIM) for Microsoft Entra roles in the tenant. Supports $expand. * @return a {@link UnifiedRoleManagementAlertIncidentCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public UnifiedRoleManagementAlertIncidentCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public UnifiedRoleManagementAlertIncidentCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link UnifiedRoleManagementAlertIncidentCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public UnifiedRoleManagementAlertIncidentCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public UnifiedRoleManagementAlertIncidentCollectionResponse get(@jakarta.annotat * @param body The request body * @return a {@link UnifiedRoleManagementAlertIncident} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public UnifiedRoleManagementAlertIncident post(@jakarta.annotation.Nonnull final UnifiedRoleManagementAlertIncident body) { return post(body, null); } @@ -97,8 +112,11 @@ public UnifiedRoleManagementAlertIncident post(@jakarta.annotation.Nonnull final * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link UnifiedRoleManagementAlertIncident} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public UnifiedRoleManagementAlertIncident post(@jakarta.annotation.Nonnull final UnifiedRoleManagementAlertIncident body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public UnifiedRoleManagementAlertIncident post(@jakarta.annotation.Nonnull final /** * Represents the incidents of this type of alert that have been triggered in Privileged Identity Management (PIM) for Microsoft Entra roles in the tenant. Supports $expand. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Represents the incidents of this type of alert that have been triggered in Privileged Identity Management (PIM) for Microsoft Entra roles in the tenant. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to alertIncidents for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final UnifiedRoleManagementAlertIncident body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final UnifiedRoleManagementAlertIncident body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AlertIncidentsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AlertIncidentsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AlertIncidentsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/rolemanagementalerts/alerts/item/alertincidents/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/rolemanagementalerts/alerts/item/alertincidents/count/CountRequestBuilder.java index 6fa7de253cc..a1aa5479030 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/rolemanagementalerts/alerts/item/alertincidents/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/rolemanagementalerts/alerts/item/alertincidents/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/rolemanagementalerts/alerts/item/alertincidents/item/UnifiedRoleManagementAlertIncidentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/rolemanagementalerts/alerts/item/alertincidents/item/UnifiedRoleManagementAlertIncidentItemRequestBuilder.java index 4b999e3b924..36a5a5aa84d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/rolemanagementalerts/alerts/item/alertincidents/item/UnifiedRoleManagementAlertIncidentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/rolemanagementalerts/alerts/item/alertincidents/item/UnifiedRoleManagementAlertIncidentItemRequestBuilder.java @@ -24,7 +24,10 @@ public class UnifiedRoleManagementAlertIncidentItemRequestBuilder extends BaseRe /** * Provides operations to call the remediate method. * @return a {@link RemediateRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public RemediateRequestBuilder remediate() { return new RemediateRequestBuilder(pathParameters, requestAdapter); @@ -48,7 +51,10 @@ public UnifiedRoleManagementAlertIncidentItemRequestBuilder(@jakarta.annotation. /** * Delete navigation property alertIncidents for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -56,7 +62,10 @@ public void delete() { * Delete navigation property alertIncidents for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -67,8 +76,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Represents the incidents of this type of alert that have been triggered in Privileged Identity Management (PIM) for Microsoft Entra roles in the tenant. Supports $expand. * @return a {@link UnifiedRoleManagementAlertIncident} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public UnifiedRoleManagementAlertIncident get() { return get(null); } @@ -77,8 +89,11 @@ public UnifiedRoleManagementAlertIncident get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link UnifiedRoleManagementAlertIncident} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public UnifiedRoleManagementAlertIncident get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -90,8 +105,11 @@ public UnifiedRoleManagementAlertIncident get(@jakarta.annotation.Nullable final * @param body The request body * @return a {@link UnifiedRoleManagementAlertIncident} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public UnifiedRoleManagementAlertIncident patch(@jakarta.annotation.Nonnull final UnifiedRoleManagementAlertIncident body) { return patch(body, null); } @@ -101,8 +119,11 @@ public UnifiedRoleManagementAlertIncident patch(@jakarta.annotation.Nonnull fina * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link UnifiedRoleManagementAlertIncident} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public UnifiedRoleManagementAlertIncident patch(@jakarta.annotation.Nonnull final UnifiedRoleManagementAlertIncident body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -113,8 +134,11 @@ public UnifiedRoleManagementAlertIncident patch(@jakarta.annotation.Nonnull fina /** * Delete navigation property alertIncidents for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -122,8 +146,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property alertIncidents for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -133,8 +160,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Represents the incidents of this type of alert that have been triggered in Privileged Identity Management (PIM) for Microsoft Entra roles in the tenant. Supports $expand. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -142,8 +172,11 @@ public RequestInformation toGetRequestInformation() { * Represents the incidents of this type of alert that have been triggered in Privileged Identity Management (PIM) for Microsoft Entra roles in the tenant. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -154,8 +187,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property alertIncidents in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final UnifiedRoleManagementAlertIncident body) { return toPatchRequestInformation(body, null); } @@ -164,8 +200,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final UnifiedRoleManagementAlertIncident body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -178,8 +217,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link UnifiedRoleManagementAlertIncidentItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public UnifiedRoleManagementAlertIncidentItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new UnifiedRoleManagementAlertIncidentItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/rolemanagementalerts/alerts/item/alertincidents/item/remediate/RemediateRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/rolemanagementalerts/alerts/item/alertincidents/item/remediate/RemediateRequestBuilder.java index ff3c136f4c9..d529573e202 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/rolemanagementalerts/alerts/item/alertincidents/item/remediate/RemediateRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/rolemanagementalerts/alerts/item/alertincidents/item/remediate/RemediateRequestBuilder.java @@ -37,7 +37,10 @@ public RemediateRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, /** * Invoke action remediate * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void post() { post(null); } @@ -45,7 +48,10 @@ public void post() { * Invoke action remediate * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -55,8 +61,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Invoke action remediate * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -64,8 +73,11 @@ public RequestInformation toPostRequestInformation() { * Invoke action remediate * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -76,8 +88,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RemediateRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RemediateRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RemediateRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/rolemanagementalerts/alerts/item/refresh/RefreshRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/rolemanagementalerts/alerts/item/refresh/RefreshRequestBuilder.java index 46a6f97c7b6..878afb5f67c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/rolemanagementalerts/alerts/item/refresh/RefreshRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/rolemanagementalerts/alerts/item/refresh/RefreshRequestBuilder.java @@ -37,7 +37,10 @@ public RefreshRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j /** * Invoke action refresh * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void post() { post(null); } @@ -45,7 +48,10 @@ public void post() { * Invoke action refresh * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -55,8 +61,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Invoke action refresh * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -64,8 +73,11 @@ public RequestInformation toPostRequestInformation() { * Invoke action refresh * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -76,8 +88,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RefreshRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RefreshRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RefreshRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/rolemanagementalerts/alerts/refresh/RefreshRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/rolemanagementalerts/alerts/refresh/RefreshRequestBuilder.java index dac4f03dd43..bd69e6a4129 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/rolemanagementalerts/alerts/refresh/RefreshRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/rolemanagementalerts/alerts/refresh/RefreshRequestBuilder.java @@ -38,8 +38,11 @@ public RefreshRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j * Refresh incidents on all security alerts or on a single security alert in Privileged Identity Management (PIM) for Microsoft Entra roles. This task is a long-running operation and the unifiedRoleManagementAlert object will be updated only when the operation completes. * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final RefreshPostRequestBody body) { post(body, null); } @@ -48,8 +51,11 @@ public void post(@jakarta.annotation.Nonnull final RefreshPostRequestBody body) * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final RefreshPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -61,8 +67,11 @@ public void post(@jakarta.annotation.Nonnull final RefreshPostRequestBody body, * Refresh incidents on all security alerts or on a single security alert in Privileged Identity Management (PIM) for Microsoft Entra roles. This task is a long-running operation and the unifiedRoleManagementAlert object will be updated only when the operation completes. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RefreshPostRequestBody body) { return toPostRequestInformation(body, null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RefreshPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -85,8 +97,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RefreshRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RefreshRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RefreshRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/rolemanagementalerts/operations/OperationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/rolemanagementalerts/operations/OperationsRequestBuilder.java index 8f754a94a70..040a5b1306a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/rolemanagementalerts/operations/OperationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/rolemanagementalerts/operations/OperationsRequestBuilder.java @@ -26,7 +26,10 @@ public class OperationsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the operations property of the microsoft.graph.roleManagementAlert entity. * @param longRunningOperationId The unique identifier of longRunningOperation * @return a {@link LongRunningOperationItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public LongRunningOperationItemRequestBuilder byLongRunningOperationId(@jakarta.annotation.Nonnull final String longRunningOperationId) { Objects.requireNonNull(longRunningOperationId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public OperationsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, * Represents operations on resources that take a long time to complete and can run in the background until completion. * @return a {@link LongRunningOperationCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public LongRunningOperationCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public LongRunningOperationCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link LongRunningOperationCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public LongRunningOperationCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public LongRunningOperationCollectionResponse get(@jakarta.annotation.Nullable f * @param body The request body * @return a {@link LongRunningOperation} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public LongRunningOperation post(@jakarta.annotation.Nonnull final LongRunningOperation body) { return post(body, null); } @@ -97,8 +112,11 @@ public LongRunningOperation post(@jakarta.annotation.Nonnull final LongRunningOp * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link LongRunningOperation} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public LongRunningOperation post(@jakarta.annotation.Nonnull final LongRunningOperation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public LongRunningOperation post(@jakarta.annotation.Nonnull final LongRunningOp /** * Represents operations on resources that take a long time to complete and can run in the background until completion. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Represents operations on resources that take a long time to complete and can run in the background until completion. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to operations for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final LongRunningOperation body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final LongRunningOperation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link OperationsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public OperationsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new OperationsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/rolemanagementalerts/operations/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/rolemanagementalerts/operations/count/CountRequestBuilder.java index 31da83d4f8f..86776bc4725 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/rolemanagementalerts/operations/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/rolemanagementalerts/operations/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/rolemanagementalerts/operations/item/LongRunningOperationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/rolemanagementalerts/operations/item/LongRunningOperationItemRequestBuilder.java index 48fccce3269..40763c60409 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/rolemanagementalerts/operations/item/LongRunningOperationItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/rolemanagementalerts/operations/item/LongRunningOperationItemRequestBuilder.java @@ -39,7 +39,10 @@ public LongRunningOperationItemRequestBuilder(@jakarta.annotation.Nonnull final /** * Delete navigation property operations for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -47,7 +50,10 @@ public void delete() { * Delete navigation property operations for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -58,8 +64,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Represents operations on resources that take a long time to complete and can run in the background until completion. * @return a {@link LongRunningOperation} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public LongRunningOperation get() { return get(null); } @@ -68,8 +77,11 @@ public LongRunningOperation get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link LongRunningOperation} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public LongRunningOperation get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -81,8 +93,11 @@ public LongRunningOperation get(@jakarta.annotation.Nullable final java.util.fun * @param body The request body * @return a {@link LongRunningOperation} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public LongRunningOperation patch(@jakarta.annotation.Nonnull final LongRunningOperation body) { return patch(body, null); } @@ -92,8 +107,11 @@ public LongRunningOperation patch(@jakarta.annotation.Nonnull final LongRunningO * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link LongRunningOperation} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public LongRunningOperation patch(@jakarta.annotation.Nonnull final LongRunningOperation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -104,8 +122,11 @@ public LongRunningOperation patch(@jakarta.annotation.Nonnull final LongRunningO /** * Delete navigation property operations for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -113,8 +134,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property operations for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Represents operations on resources that take a long time to complete and can run in the background until completion. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -133,8 +160,11 @@ public RequestInformation toGetRequestInformation() { * Represents operations on resources that take a long time to complete and can run in the background until completion. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -145,8 +175,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property operations in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final LongRunningOperation body) { return toPatchRequestInformation(body, null); } @@ -155,8 +188,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final LongRunningOperation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -169,8 +205,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link LongRunningOperationItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public LongRunningOperationItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new LongRunningOperationItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/TermsOfUseRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/TermsOfUseRequestBuilder.java index a83fbd05e7f..05571b222b9 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/TermsOfUseRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/TermsOfUseRequestBuilder.java @@ -25,7 +25,10 @@ public class TermsOfUseRequestBuilder extends BaseRequestBuilder { /** * Provides operations to manage the agreementAcceptances property of the microsoft.graph.termsOfUseContainer entity. * @return a {@link AgreementAcceptancesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AgreementAcceptancesRequestBuilder agreementAcceptances() { return new AgreementAcceptancesRequestBuilder(pathParameters, requestAdapter); @@ -33,7 +36,10 @@ public AgreementAcceptancesRequestBuilder agreementAcceptances() { /** * Provides operations to manage the agreements property of the microsoft.graph.termsOfUseContainer entity. * @return a {@link AgreementsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AgreementsRequestBuilder agreements() { return new AgreementsRequestBuilder(pathParameters, requestAdapter); @@ -57,7 +63,10 @@ public TermsOfUseRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, /** * Delete navigation property termsOfUse for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -65,7 +74,10 @@ public void delete() { * Delete navigation property termsOfUse for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -76,8 +88,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Get termsOfUse from identityGovernance * @return a {@link TermsOfUseContainer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public TermsOfUseContainer get() { return get(null); } @@ -86,8 +101,11 @@ public TermsOfUseContainer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link TermsOfUseContainer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public TermsOfUseContainer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -99,8 +117,11 @@ public TermsOfUseContainer get(@jakarta.annotation.Nullable final java.util.func * @param body The request body * @return a {@link TermsOfUseContainer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public TermsOfUseContainer patch(@jakarta.annotation.Nonnull final TermsOfUseContainer body) { return patch(body, null); } @@ -110,8 +131,11 @@ public TermsOfUseContainer patch(@jakarta.annotation.Nonnull final TermsOfUseCon * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link TermsOfUseContainer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public TermsOfUseContainer patch(@jakarta.annotation.Nonnull final TermsOfUseContainer body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -122,8 +146,11 @@ public TermsOfUseContainer patch(@jakarta.annotation.Nonnull final TermsOfUseCon /** * Delete navigation property termsOfUse for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -131,8 +158,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property termsOfUse for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -142,8 +172,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Get termsOfUse from identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -151,8 +184,11 @@ public RequestInformation toGetRequestInformation() { * Get termsOfUse from identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -163,8 +199,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property termsOfUse in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final TermsOfUseContainer body) { return toPatchRequestInformation(body, null); } @@ -173,8 +212,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final TermsOfUseContainer body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -187,8 +229,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link TermsOfUseRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public TermsOfUseRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new TermsOfUseRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreementacceptances/AgreementAcceptancesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreementacceptances/AgreementAcceptancesRequestBuilder.java index 0e1ac47d499..fb3f124bed4 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreementacceptances/AgreementAcceptancesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreementacceptances/AgreementAcceptancesRequestBuilder.java @@ -26,7 +26,10 @@ public class AgreementAcceptancesRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the agreementAcceptances property of the microsoft.graph.termsOfUseContainer entity. * @param agreementAcceptanceId The unique identifier of agreementAcceptance * @return a {@link AgreementAcceptanceItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AgreementAcceptanceItemRequestBuilder byAgreementAcceptanceId(@jakarta.annotation.Nonnull final String agreementAcceptanceId) { Objects.requireNonNull(agreementAcceptanceId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public AgreementAcceptancesRequestBuilder(@jakarta.annotation.Nonnull final Stri * Represents the current status of a user's response to a company's customizable terms of use agreement. * @return a {@link AgreementAcceptanceCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AgreementAcceptanceCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public AgreementAcceptanceCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AgreementAcceptanceCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AgreementAcceptanceCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public AgreementAcceptanceCollectionResponse get(@jakarta.annotation.Nullable fi * @param body The request body * @return a {@link AgreementAcceptance} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AgreementAcceptance post(@jakarta.annotation.Nonnull final AgreementAcceptance body) { return post(body, null); } @@ -97,8 +112,11 @@ public AgreementAcceptance post(@jakarta.annotation.Nonnull final AgreementAccep * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AgreementAcceptance} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AgreementAcceptance post(@jakarta.annotation.Nonnull final AgreementAcceptance body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public AgreementAcceptance post(@jakarta.annotation.Nonnull final AgreementAccep /** * Represents the current status of a user's response to a company's customizable terms of use agreement. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Represents the current status of a user's response to a company's customizable terms of use agreement. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to agreementAcceptances for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AgreementAcceptance body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AgreementAcceptance body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AgreementAcceptancesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AgreementAcceptancesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AgreementAcceptancesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreementacceptances/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreementacceptances/count/CountRequestBuilder.java index a77c67dbd49..9819d26162a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreementacceptances/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreementacceptances/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreementacceptances/item/AgreementAcceptanceItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreementacceptances/item/AgreementAcceptanceItemRequestBuilder.java index 4d0f07d8cc1..db3c62efe6b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreementacceptances/item/AgreementAcceptanceItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreementacceptances/item/AgreementAcceptanceItemRequestBuilder.java @@ -39,7 +39,10 @@ public AgreementAcceptanceItemRequestBuilder(@jakarta.annotation.Nonnull final S /** * Delete navigation property agreementAcceptances for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -47,7 +50,10 @@ public void delete() { * Delete navigation property agreementAcceptances for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -58,8 +64,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Represents the current status of a user's response to a company's customizable terms of use agreement. * @return a {@link AgreementAcceptance} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AgreementAcceptance get() { return get(null); } @@ -68,8 +77,11 @@ public AgreementAcceptance get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AgreementAcceptance} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AgreementAcceptance get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -81,8 +93,11 @@ public AgreementAcceptance get(@jakarta.annotation.Nullable final java.util.func * @param body The request body * @return a {@link AgreementAcceptance} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AgreementAcceptance patch(@jakarta.annotation.Nonnull final AgreementAcceptance body) { return patch(body, null); } @@ -92,8 +107,11 @@ public AgreementAcceptance patch(@jakarta.annotation.Nonnull final AgreementAcce * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AgreementAcceptance} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AgreementAcceptance patch(@jakarta.annotation.Nonnull final AgreementAcceptance body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -104,8 +122,11 @@ public AgreementAcceptance patch(@jakarta.annotation.Nonnull final AgreementAcce /** * Delete navigation property agreementAcceptances for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -113,8 +134,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property agreementAcceptances for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Represents the current status of a user's response to a company's customizable terms of use agreement. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -133,8 +160,11 @@ public RequestInformation toGetRequestInformation() { * Represents the current status of a user's response to a company's customizable terms of use agreement. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -145,8 +175,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property agreementAcceptances in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AgreementAcceptance body) { return toPatchRequestInformation(body, null); } @@ -155,8 +188,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AgreementAcceptance body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -169,8 +205,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AgreementAcceptanceItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AgreementAcceptanceItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AgreementAcceptanceItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreements/AgreementsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreements/AgreementsRequestBuilder.java index bc15a0d0966..e345c84397a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreements/AgreementsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreements/AgreementsRequestBuilder.java @@ -26,7 +26,10 @@ public class AgreementsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the agreements property of the microsoft.graph.termsOfUseContainer entity. * @param agreementId The unique identifier of agreement * @return a {@link AgreementItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AgreementItemRequestBuilder byAgreementId(@jakarta.annotation.Nonnull final String agreementId) { Objects.requireNonNull(agreementId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,9 +69,12 @@ public AgreementsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, * Retrieve a list of agreement objects. * @return a {@link AgreementCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public AgreementCollectionResponse get() { return get(null); } @@ -74,9 +83,12 @@ public AgreementCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AgreementCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public AgreementCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -88,9 +100,12 @@ public AgreementCollectionResponse get(@jakarta.annotation.Nullable final java.u * @param body The request body * @return a {@link Agreement} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public Agreement post(@jakarta.annotation.Nonnull final Agreement body) { return post(body, null); } @@ -100,9 +115,12 @@ public Agreement post(@jakarta.annotation.Nonnull final Agreement body) { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Agreement} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public Agreement post(@jakarta.annotation.Nonnull final Agreement body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -113,8 +131,11 @@ public Agreement post(@jakarta.annotation.Nonnull final Agreement body, @jakarta /** * Retrieve a list of agreement objects. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -122,8 +143,11 @@ public RequestInformation toGetRequestInformation() { * Retrieve a list of agreement objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -134,8 +158,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create a new agreement object. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Agreement body) { return toPostRequestInformation(body, null); } @@ -144,8 +171,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Agreement body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -158,8 +188,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AgreementsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AgreementsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AgreementsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreements/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreements/count/CountRequestBuilder.java index 25ab34d22ab..208e01a5668 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreements/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreements/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreements/item/AgreementItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreements/item/AgreementItemRequestBuilder.java index 306bf0cb964..7404cdd9a1d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreements/item/AgreementItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreements/item/AgreementItemRequestBuilder.java @@ -26,7 +26,10 @@ public class AgreementItemRequestBuilder extends BaseRequestBuilder { /** * Provides operations to manage the acceptances property of the microsoft.graph.agreement entity. * @return a {@link AcceptancesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public AcceptancesRequestBuilder acceptances() { return new AcceptancesRequestBuilder(pathParameters, requestAdapter); @@ -34,7 +37,10 @@ public AcceptancesRequestBuilder acceptances() { /** * Provides operations to manage the file property of the microsoft.graph.agreement entity. * @return a {@link FileRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public FileRequestBuilder file() { return new FileRequestBuilder(pathParameters, requestAdapter); @@ -42,7 +48,10 @@ public FileRequestBuilder file() { /** * Provides operations to manage the files property of the microsoft.graph.agreement entity. * @return a {@link FilesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public FilesRequestBuilder files() { return new FilesRequestBuilder(pathParameters, requestAdapter); @@ -66,8 +75,11 @@ public AgreementItemRequestBuilder(@jakarta.annotation.Nonnull final String rawU /** * Delete an agreement object. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void delete() { delete(null); } @@ -75,8 +87,11 @@ public void delete() { * Delete an agreement object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -87,9 +102,12 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Retrieve the properties and relationships of an agreement object. * @return a {@link Agreement} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public Agreement get() { return get(null); } @@ -98,9 +116,12 @@ public Agreement get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Agreement} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public Agreement get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -112,9 +133,12 @@ public Agreement get(@jakarta.annotation.Nullable final java.util.function.Consu * @param body The request body * @return a {@link Agreement} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public Agreement patch(@jakarta.annotation.Nonnull final Agreement body) { return patch(body, null); } @@ -124,9 +148,12 @@ public Agreement patch(@jakarta.annotation.Nonnull final Agreement body) { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Agreement} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public Agreement patch(@jakarta.annotation.Nonnull final Agreement body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -137,8 +164,11 @@ public Agreement patch(@jakarta.annotation.Nonnull final Agreement body, @jakart /** * Delete an agreement object. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -146,8 +176,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete an agreement object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -157,8 +190,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Retrieve the properties and relationships of an agreement object. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -166,8 +202,11 @@ public RequestInformation toGetRequestInformation() { * Retrieve the properties and relationships of an agreement object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -178,8 +217,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the properties of an agreement object. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final Agreement body) { return toPatchRequestInformation(body, null); } @@ -188,8 +230,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final Agreement body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -202,8 +247,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AgreementItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AgreementItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AgreementItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreements/item/acceptances/AcceptancesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreements/item/acceptances/AcceptancesRequestBuilder.java index d7180a62f9b..78e14dc55bc 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreements/item/acceptances/AcceptancesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreements/item/acceptances/AcceptancesRequestBuilder.java @@ -26,7 +26,10 @@ public class AcceptancesRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the acceptances property of the microsoft.graph.agreement entity. * @param agreementAcceptanceId The unique identifier of agreementAcceptance * @return a {@link AgreementAcceptanceItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AgreementAcceptanceItemRequestBuilder byAgreementAcceptanceId(@jakarta.annotation.Nonnull final String agreementAcceptanceId) { Objects.requireNonNull(agreementAcceptanceId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,9 +69,12 @@ public AcceptancesRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl * Get the details about the acceptance records for a specific agreement. * @return a {@link AgreementAcceptanceCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public AgreementAcceptanceCollectionResponse get() { return get(null); } @@ -74,9 +83,12 @@ public AgreementAcceptanceCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AgreementAcceptanceCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public AgreementAcceptanceCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -88,8 +100,11 @@ public AgreementAcceptanceCollectionResponse get(@jakarta.annotation.Nullable fi * @param body The request body * @return a {@link AgreementAcceptance} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AgreementAcceptance post(@jakarta.annotation.Nonnull final AgreementAcceptance body) { return post(body, null); } @@ -99,8 +114,11 @@ public AgreementAcceptance post(@jakarta.annotation.Nonnull final AgreementAccep * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AgreementAcceptance} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AgreementAcceptance post(@jakarta.annotation.Nonnull final AgreementAcceptance body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -111,8 +129,11 @@ public AgreementAcceptance post(@jakarta.annotation.Nonnull final AgreementAccep /** * Get the details about the acceptance records for a specific agreement. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -120,8 +141,11 @@ public RequestInformation toGetRequestInformation() { * Get the details about the acceptance records for a specific agreement. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -132,8 +156,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to acceptances for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AgreementAcceptance body) { return toPostRequestInformation(body, null); } @@ -142,8 +169,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AgreementAcceptance body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -156,8 +186,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AcceptancesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AcceptancesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AcceptancesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreements/item/acceptances/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreements/item/acceptances/count/CountRequestBuilder.java index 50cc94d9c43..6f2834a6404 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreements/item/acceptances/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreements/item/acceptances/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreements/item/acceptances/item/AgreementAcceptanceItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreements/item/acceptances/item/AgreementAcceptanceItemRequestBuilder.java index d811df51030..d82335aac7b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreements/item/acceptances/item/AgreementAcceptanceItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreements/item/acceptances/item/AgreementAcceptanceItemRequestBuilder.java @@ -39,7 +39,10 @@ public AgreementAcceptanceItemRequestBuilder(@jakarta.annotation.Nonnull final S /** * Delete navigation property acceptances for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -47,7 +50,10 @@ public void delete() { * Delete navigation property acceptances for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -58,8 +64,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Read-only. Information about acceptances of this agreement. * @return a {@link AgreementAcceptance} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AgreementAcceptance get() { return get(null); } @@ -68,8 +77,11 @@ public AgreementAcceptance get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AgreementAcceptance} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AgreementAcceptance get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -81,8 +93,11 @@ public AgreementAcceptance get(@jakarta.annotation.Nullable final java.util.func * @param body The request body * @return a {@link AgreementAcceptance} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AgreementAcceptance patch(@jakarta.annotation.Nonnull final AgreementAcceptance body) { return patch(body, null); } @@ -92,8 +107,11 @@ public AgreementAcceptance patch(@jakarta.annotation.Nonnull final AgreementAcce * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AgreementAcceptance} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AgreementAcceptance patch(@jakarta.annotation.Nonnull final AgreementAcceptance body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -104,8 +122,11 @@ public AgreementAcceptance patch(@jakarta.annotation.Nonnull final AgreementAcce /** * Delete navigation property acceptances for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -113,8 +134,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property acceptances for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Read-only. Information about acceptances of this agreement. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -133,8 +160,11 @@ public RequestInformation toGetRequestInformation() { * Read-only. Information about acceptances of this agreement. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -145,8 +175,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property acceptances in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AgreementAcceptance body) { return toPatchRequestInformation(body, null); } @@ -155,8 +188,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AgreementAcceptance body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -169,8 +205,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AgreementAcceptanceItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AgreementAcceptanceItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AgreementAcceptanceItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreements/item/file/FileRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreements/item/file/FileRequestBuilder.java index 0ecfe667e30..292a79e9ae6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreements/item/file/FileRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreements/item/file/FileRequestBuilder.java @@ -24,7 +24,10 @@ public class FileRequestBuilder extends BaseRequestBuilder { /** * Provides operations to manage the localizations property of the microsoft.graph.agreementFile entity. * @return a {@link LocalizationsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public LocalizationsRequestBuilder localizations() { return new LocalizationsRequestBuilder(pathParameters, requestAdapter); @@ -48,7 +51,10 @@ public FileRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jaka /** * Delete navigation property file for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -56,7 +62,10 @@ public void delete() { * Delete navigation property file for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -67,9 +76,12 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Retrieve the details of an agreement file, including the language and version information. The default file can have multiple versions, each with its own language, that can be retrieved by specifying the Accept-Language header. * @return a {@link AgreementFile} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public AgreementFile get() { return get(null); } @@ -78,9 +90,12 @@ public AgreementFile get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AgreementFile} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public AgreementFile get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -92,8 +107,11 @@ public AgreementFile get(@jakarta.annotation.Nullable final java.util.function.C * @param body The request body * @return a {@link AgreementFile} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AgreementFile patch(@jakarta.annotation.Nonnull final AgreementFile body) { return patch(body, null); } @@ -103,8 +121,11 @@ public AgreementFile patch(@jakarta.annotation.Nonnull final AgreementFile body) * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AgreementFile} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AgreementFile patch(@jakarta.annotation.Nonnull final AgreementFile body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -115,8 +136,11 @@ public AgreementFile patch(@jakarta.annotation.Nonnull final AgreementFile body, /** * Delete navigation property file for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property file for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -135,8 +162,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Retrieve the details of an agreement file, including the language and version information. The default file can have multiple versions, each with its own language, that can be retrieved by specifying the Accept-Language header. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -144,8 +174,11 @@ public RequestInformation toGetRequestInformation() { * Retrieve the details of an agreement file, including the language and version information. The default file can have multiple versions, each with its own language, that can be retrieved by specifying the Accept-Language header. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -156,8 +189,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property file in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AgreementFile body) { return toPatchRequestInformation(body, null); } @@ -166,8 +202,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AgreementFile body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -180,8 +219,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link FileRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FileRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new FileRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreements/item/file/localizations/LocalizationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreements/item/file/localizations/LocalizationsRequestBuilder.java index c25c877c234..e762c2aa416 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreements/item/file/localizations/LocalizationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreements/item/file/localizations/LocalizationsRequestBuilder.java @@ -26,7 +26,10 @@ public class LocalizationsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the localizations property of the microsoft.graph.agreementFile entity. * @param agreementFileLocalizationId The unique identifier of agreementFileLocalization * @return a {@link AgreementFileLocalizationItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AgreementFileLocalizationItemRequestBuilder byAgreementFileLocalizationId(@jakarta.annotation.Nonnull final String agreementFileLocalizationId) { Objects.requireNonNull(agreementFileLocalizationId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public LocalizationsRequestBuilder(@jakarta.annotation.Nonnull final String rawU * The localized version of the terms of use agreement files attached to the agreement. * @return a {@link AgreementFileLocalizationCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AgreementFileLocalizationCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public AgreementFileLocalizationCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AgreementFileLocalizationCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AgreementFileLocalizationCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public AgreementFileLocalizationCollectionResponse get(@jakarta.annotation.Nulla * @param body The request body * @return a {@link AgreementFileLocalization} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AgreementFileLocalization post(@jakarta.annotation.Nonnull final AgreementFileLocalization body) { return post(body, null); } @@ -97,8 +112,11 @@ public AgreementFileLocalization post(@jakarta.annotation.Nonnull final Agreemen * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AgreementFileLocalization} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AgreementFileLocalization post(@jakarta.annotation.Nonnull final AgreementFileLocalization body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public AgreementFileLocalization post(@jakarta.annotation.Nonnull final Agreemen /** * The localized version of the terms of use agreement files attached to the agreement. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * The localized version of the terms of use agreement files attached to the agreement. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to localizations for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AgreementFileLocalization body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AgreementFileLocalization body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link LocalizationsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public LocalizationsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new LocalizationsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreements/item/file/localizations/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreements/item/file/localizations/count/CountRequestBuilder.java index 28385642323..0698766c504 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreements/item/file/localizations/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreements/item/file/localizations/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreements/item/file/localizations/item/AgreementFileLocalizationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreements/item/file/localizations/item/AgreementFileLocalizationItemRequestBuilder.java index fbf06cdfada..9b71d846e67 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreements/item/file/localizations/item/AgreementFileLocalizationItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreements/item/file/localizations/item/AgreementFileLocalizationItemRequestBuilder.java @@ -24,7 +24,10 @@ public class AgreementFileLocalizationItemRequestBuilder extends BaseRequestBuil /** * Provides operations to manage the versions property of the microsoft.graph.agreementFileLocalization entity. * @return a {@link VersionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public VersionsRequestBuilder versions() { return new VersionsRequestBuilder(pathParameters, requestAdapter); @@ -48,7 +51,10 @@ public AgreementFileLocalizationItemRequestBuilder(@jakarta.annotation.Nonnull f /** * Delete navigation property localizations for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -56,7 +62,10 @@ public void delete() { * Delete navigation property localizations for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -67,8 +76,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * The localized version of the terms of use agreement files attached to the agreement. * @return a {@link AgreementFileLocalization} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AgreementFileLocalization get() { return get(null); } @@ -77,8 +89,11 @@ public AgreementFileLocalization get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AgreementFileLocalization} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AgreementFileLocalization get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -90,8 +105,11 @@ public AgreementFileLocalization get(@jakarta.annotation.Nullable final java.uti * @param body The request body * @return a {@link AgreementFileLocalization} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AgreementFileLocalization patch(@jakarta.annotation.Nonnull final AgreementFileLocalization body) { return patch(body, null); } @@ -101,8 +119,11 @@ public AgreementFileLocalization patch(@jakarta.annotation.Nonnull final Agreeme * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AgreementFileLocalization} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AgreementFileLocalization patch(@jakarta.annotation.Nonnull final AgreementFileLocalization body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -113,8 +134,11 @@ public AgreementFileLocalization patch(@jakarta.annotation.Nonnull final Agreeme /** * Delete navigation property localizations for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -122,8 +146,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property localizations for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -133,8 +160,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * The localized version of the terms of use agreement files attached to the agreement. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -142,8 +172,11 @@ public RequestInformation toGetRequestInformation() { * The localized version of the terms of use agreement files attached to the agreement. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -154,8 +187,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property localizations in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AgreementFileLocalization body) { return toPatchRequestInformation(body, null); } @@ -164,8 +200,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AgreementFileLocalization body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -178,8 +217,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AgreementFileLocalizationItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AgreementFileLocalizationItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AgreementFileLocalizationItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreements/item/file/localizations/item/versions/VersionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreements/item/file/localizations/item/versions/VersionsRequestBuilder.java index 7fda4415aad..2e35bc1648b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreements/item/file/localizations/item/versions/VersionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreements/item/file/localizations/item/versions/VersionsRequestBuilder.java @@ -26,7 +26,10 @@ public class VersionsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the versions property of the microsoft.graph.agreementFileLocalization entity. * @param agreementFileVersionId The unique identifier of agreementFileVersion * @return a {@link AgreementFileVersionItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AgreementFileVersionItemRequestBuilder byAgreementFileVersionId(@jakarta.annotation.Nonnull final String agreementFileVersionId) { Objects.requireNonNull(agreementFileVersionId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public VersionsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ * Read-only. Customized versions of the terms of use agreement in the Microsoft Entra tenant. * @return a {@link AgreementFileVersionCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AgreementFileVersionCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public AgreementFileVersionCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AgreementFileVersionCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AgreementFileVersionCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public AgreementFileVersionCollectionResponse get(@jakarta.annotation.Nullable f * @param body The request body * @return a {@link AgreementFileVersion} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AgreementFileVersion post(@jakarta.annotation.Nonnull final AgreementFileVersion body) { return post(body, null); } @@ -97,8 +112,11 @@ public AgreementFileVersion post(@jakarta.annotation.Nonnull final AgreementFile * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AgreementFileVersion} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AgreementFileVersion post(@jakarta.annotation.Nonnull final AgreementFileVersion body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public AgreementFileVersion post(@jakarta.annotation.Nonnull final AgreementFile /** * Read-only. Customized versions of the terms of use agreement in the Microsoft Entra tenant. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Read-only. Customized versions of the terms of use agreement in the Microsoft Entra tenant. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to versions for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AgreementFileVersion body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AgreementFileVersion body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link VersionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public VersionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new VersionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreements/item/file/localizations/item/versions/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreements/item/file/localizations/item/versions/count/CountRequestBuilder.java index 976f7c79d52..ddbeb18b673 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreements/item/file/localizations/item/versions/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreements/item/file/localizations/item/versions/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreements/item/file/localizations/item/versions/item/AgreementFileVersionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreements/item/file/localizations/item/versions/item/AgreementFileVersionItemRequestBuilder.java index 44c4623123e..b509a6c3b40 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreements/item/file/localizations/item/versions/item/AgreementFileVersionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreements/item/file/localizations/item/versions/item/AgreementFileVersionItemRequestBuilder.java @@ -39,7 +39,10 @@ public AgreementFileVersionItemRequestBuilder(@jakarta.annotation.Nonnull final /** * Delete navigation property versions for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -47,7 +50,10 @@ public void delete() { * Delete navigation property versions for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -58,8 +64,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Read-only. Customized versions of the terms of use agreement in the Microsoft Entra tenant. * @return a {@link AgreementFileVersion} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AgreementFileVersion get() { return get(null); } @@ -68,8 +77,11 @@ public AgreementFileVersion get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AgreementFileVersion} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AgreementFileVersion get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -81,8 +93,11 @@ public AgreementFileVersion get(@jakarta.annotation.Nullable final java.util.fun * @param body The request body * @return a {@link AgreementFileVersion} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AgreementFileVersion patch(@jakarta.annotation.Nonnull final AgreementFileVersion body) { return patch(body, null); } @@ -92,8 +107,11 @@ public AgreementFileVersion patch(@jakarta.annotation.Nonnull final AgreementFil * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AgreementFileVersion} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AgreementFileVersion patch(@jakarta.annotation.Nonnull final AgreementFileVersion body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -104,8 +122,11 @@ public AgreementFileVersion patch(@jakarta.annotation.Nonnull final AgreementFil /** * Delete navigation property versions for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -113,8 +134,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property versions for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Read-only. Customized versions of the terms of use agreement in the Microsoft Entra tenant. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -133,8 +160,11 @@ public RequestInformation toGetRequestInformation() { * Read-only. Customized versions of the terms of use agreement in the Microsoft Entra tenant. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -145,8 +175,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property versions in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AgreementFileVersion body) { return toPatchRequestInformation(body, null); } @@ -155,8 +188,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AgreementFileVersion body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -169,8 +205,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AgreementFileVersionItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AgreementFileVersionItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AgreementFileVersionItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreements/item/files/FilesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreements/item/files/FilesRequestBuilder.java index 8946751443b..1eaa1523737 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreements/item/files/FilesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreements/item/files/FilesRequestBuilder.java @@ -26,7 +26,10 @@ public class FilesRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the files property of the microsoft.graph.agreement entity. * @param agreementFileLocalizationId The unique identifier of agreementFileLocalization * @return a {@link AgreementFileLocalizationItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AgreementFileLocalizationItemRequestBuilder byAgreementFileLocalizationId(@jakarta.annotation.Nonnull final String agreementFileLocalizationId) { Objects.requireNonNull(agreementFileLocalizationId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public FilesRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * PDFs linked to this agreement. Note: This property is in the process of being deprecated. Use the file property instead. * @return a {@link AgreementFileLocalizationCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AgreementFileLocalizationCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public AgreementFileLocalizationCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AgreementFileLocalizationCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AgreementFileLocalizationCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,9 +98,12 @@ public AgreementFileLocalizationCollectionResponse get(@jakarta.annotation.Nulla * @param body The request body * @return a {@link AgreementFileLocalization} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public AgreementFileLocalization post(@jakarta.annotation.Nonnull final AgreementFileLocalization body) { return post(body, null); } @@ -98,9 +113,12 @@ public AgreementFileLocalization post(@jakarta.annotation.Nonnull final Agreemen * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AgreementFileLocalization} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public AgreementFileLocalization post(@jakarta.annotation.Nonnull final AgreementFileLocalization body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -111,8 +129,11 @@ public AgreementFileLocalization post(@jakarta.annotation.Nonnull final Agreemen /** * PDFs linked to this agreement. Note: This property is in the process of being deprecated. Use the file property instead. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -120,8 +141,11 @@ public RequestInformation toGetRequestInformation() { * PDFs linked to this agreement. Note: This property is in the process of being deprecated. Use the file property instead. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -132,8 +156,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create a new localized agreement file. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AgreementFileLocalization body) { return toPostRequestInformation(body, null); } @@ -142,8 +169,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AgreementFileLocalization body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -156,8 +186,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link FilesRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public FilesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new FilesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreements/item/files/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreements/item/files/count/CountRequestBuilder.java index b260fc7154f..2f77f747641 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreements/item/files/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreements/item/files/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreements/item/files/item/AgreementFileLocalizationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreements/item/files/item/AgreementFileLocalizationItemRequestBuilder.java index e4a1f88f83e..8e2c09745f9 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreements/item/files/item/AgreementFileLocalizationItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreements/item/files/item/AgreementFileLocalizationItemRequestBuilder.java @@ -24,7 +24,10 @@ public class AgreementFileLocalizationItemRequestBuilder extends BaseRequestBuil /** * Provides operations to manage the versions property of the microsoft.graph.agreementFileLocalization entity. * @return a {@link VersionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public VersionsRequestBuilder versions() { return new VersionsRequestBuilder(pathParameters, requestAdapter); @@ -48,7 +51,10 @@ public AgreementFileLocalizationItemRequestBuilder(@jakarta.annotation.Nonnull f /** * Delete navigation property files for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -56,7 +62,10 @@ public void delete() { * Delete navigation property files for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -67,8 +76,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * PDFs linked to this agreement. Note: This property is in the process of being deprecated. Use the file property instead. * @return a {@link AgreementFileLocalization} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AgreementFileLocalization get() { return get(null); } @@ -77,8 +89,11 @@ public AgreementFileLocalization get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AgreementFileLocalization} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AgreementFileLocalization get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -90,8 +105,11 @@ public AgreementFileLocalization get(@jakarta.annotation.Nullable final java.uti * @param body The request body * @return a {@link AgreementFileLocalization} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AgreementFileLocalization patch(@jakarta.annotation.Nonnull final AgreementFileLocalization body) { return patch(body, null); } @@ -101,8 +119,11 @@ public AgreementFileLocalization patch(@jakarta.annotation.Nonnull final Agreeme * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AgreementFileLocalization} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AgreementFileLocalization patch(@jakarta.annotation.Nonnull final AgreementFileLocalization body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -113,8 +134,11 @@ public AgreementFileLocalization patch(@jakarta.annotation.Nonnull final Agreeme /** * Delete navigation property files for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -122,8 +146,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property files for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -133,8 +160,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * PDFs linked to this agreement. Note: This property is in the process of being deprecated. Use the file property instead. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -142,8 +172,11 @@ public RequestInformation toGetRequestInformation() { * PDFs linked to this agreement. Note: This property is in the process of being deprecated. Use the file property instead. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -154,8 +187,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property files in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AgreementFileLocalization body) { return toPatchRequestInformation(body, null); } @@ -164,8 +200,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AgreementFileLocalization body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -178,8 +217,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AgreementFileLocalizationItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AgreementFileLocalizationItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AgreementFileLocalizationItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreements/item/files/item/versions/VersionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreements/item/files/item/versions/VersionsRequestBuilder.java index 25bc3fcfa5b..0af4994b569 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreements/item/files/item/versions/VersionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreements/item/files/item/versions/VersionsRequestBuilder.java @@ -26,7 +26,10 @@ public class VersionsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the versions property of the microsoft.graph.agreementFileLocalization entity. * @param agreementFileVersionId The unique identifier of agreementFileVersion * @return a {@link AgreementFileVersionItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AgreementFileVersionItemRequestBuilder byAgreementFileVersionId(@jakarta.annotation.Nonnull final String agreementFileVersionId) { Objects.requireNonNull(agreementFileVersionId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public VersionsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ * Read-only. Customized versions of the terms of use agreement in the Microsoft Entra tenant. * @return a {@link AgreementFileVersionCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AgreementFileVersionCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public AgreementFileVersionCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AgreementFileVersionCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AgreementFileVersionCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public AgreementFileVersionCollectionResponse get(@jakarta.annotation.Nullable f * @param body The request body * @return a {@link AgreementFileVersion} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AgreementFileVersion post(@jakarta.annotation.Nonnull final AgreementFileVersion body) { return post(body, null); } @@ -97,8 +112,11 @@ public AgreementFileVersion post(@jakarta.annotation.Nonnull final AgreementFile * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AgreementFileVersion} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AgreementFileVersion post(@jakarta.annotation.Nonnull final AgreementFileVersion body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public AgreementFileVersion post(@jakarta.annotation.Nonnull final AgreementFile /** * Read-only. Customized versions of the terms of use agreement in the Microsoft Entra tenant. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Read-only. Customized versions of the terms of use agreement in the Microsoft Entra tenant. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to versions for identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AgreementFileVersion body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AgreementFileVersion body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link VersionsRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public VersionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new VersionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreements/item/files/item/versions/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreements/item/files/item/versions/count/CountRequestBuilder.java index 1c8c4c1e8be..3e261a9e18a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreements/item/files/item/versions/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreements/item/files/item/versions/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreements/item/files/item/versions/item/AgreementFileVersionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreements/item/files/item/versions/item/AgreementFileVersionItemRequestBuilder.java index 7b914f694a8..d3ede8b3221 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreements/item/files/item/versions/item/AgreementFileVersionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreements/item/files/item/versions/item/AgreementFileVersionItemRequestBuilder.java @@ -39,7 +39,10 @@ public AgreementFileVersionItemRequestBuilder(@jakarta.annotation.Nonnull final /** * Delete navigation property versions for identityGovernance * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete() { delete(null); } @@ -47,7 +50,10 @@ public void delete() { * Delete navigation property versions for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -58,8 +64,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Read-only. Customized versions of the terms of use agreement in the Microsoft Entra tenant. * @return a {@link AgreementFileVersion} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AgreementFileVersion get() { return get(null); } @@ -68,8 +77,11 @@ public AgreementFileVersion get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AgreementFileVersion} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AgreementFileVersion get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -81,8 +93,11 @@ public AgreementFileVersion get(@jakarta.annotation.Nullable final java.util.fun * @param body The request body * @return a {@link AgreementFileVersion} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AgreementFileVersion patch(@jakarta.annotation.Nonnull final AgreementFileVersion body) { return patch(body, null); } @@ -92,8 +107,11 @@ public AgreementFileVersion patch(@jakarta.annotation.Nonnull final AgreementFil * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AgreementFileVersion} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nullable + @Deprecated public AgreementFileVersion patch(@jakarta.annotation.Nonnull final AgreementFileVersion body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -104,8 +122,11 @@ public AgreementFileVersion patch(@jakarta.annotation.Nonnull final AgreementFil /** * Delete navigation property versions for identityGovernance * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -113,8 +134,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property versions for identityGovernance * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Read-only. Customized versions of the terms of use agreement in the Microsoft Entra tenant. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -133,8 +160,11 @@ public RequestInformation toGetRequestInformation() { * Read-only. Customized versions of the terms of use agreement in the Microsoft Entra tenant. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -145,8 +175,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property versions in identityGovernance * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AgreementFileVersion body) { return toPatchRequestInformation(body, null); } @@ -155,8 +188,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AgreementFileVersion body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -169,8 +205,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AgreementFileVersionItemRequestBuilder} + * @deprecated + * as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18 */ @jakarta.annotation.Nonnull + @Deprecated public AgreementFileVersionItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AgreementFileVersionItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/kiota-dom-export.txt b/src/main/java/com/microsoft/graph/beta/generated/kiota-dom-export.txt index 6dbc81993ae..ebafa1eb63b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/kiota-dom-export.txt +++ b/src/main/java/com/microsoft/graph/beta/generated/kiota-dom-export.txt @@ -1200,19 +1200,14 @@ com.microsoft.graph.beta.admin.configurationmanagement.configurationdrifts.Confi com.microsoft.graph.beta.admin.configurationmanagement.configurationdrifts.ConfigurationDriftsRequestBuilder.GetQueryParameters~~>QueryParameters com.microsoft.graph.beta.admin.configurationmanagement.configurationdrifts.ConfigurationDriftsRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.beta.admin.configurationmanagement.configurationdrifts.ConfigurationDriftsRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters -com.microsoft.graph.beta.admin.configurationmanagement.configurationdrifts.ConfigurationDriftsRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.beta.admin.configurationmanagement.configurationdrifts.ConfigurationDriftsRequestBuilder::|public|byConfigurationDriftId(configurationDriftId:String):ConfigurationDriftItemRequestBuilder com.microsoft.graph.beta.admin.configurationmanagement.configurationdrifts.ConfigurationDriftsRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void com.microsoft.graph.beta.admin.configurationmanagement.configurationdrifts.ConfigurationDriftsRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void com.microsoft.graph.beta.admin.configurationmanagement.configurationdrifts.ConfigurationDriftsRequestBuilder::|public|count:CountRequestBuilder com.microsoft.graph.beta.admin.configurationmanagement.configurationdrifts.ConfigurationDriftsRequestBuilder::|public|get():ConfigurationDriftCollectionResponse com.microsoft.graph.beta.admin.configurationmanagement.configurationdrifts.ConfigurationDriftsRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):ConfigurationDriftCollectionResponse -com.microsoft.graph.beta.admin.configurationmanagement.configurationdrifts.ConfigurationDriftsRequestBuilder::|public|post(body:ConfigurationDrift):ConfigurationDrift -com.microsoft.graph.beta.admin.configurationmanagement.configurationdrifts.ConfigurationDriftsRequestBuilder::|public|post(body:ConfigurationDrift; requestConfiguration?:java.util.function.Consumer):ConfigurationDrift com.microsoft.graph.beta.admin.configurationmanagement.configurationdrifts.ConfigurationDriftsRequestBuilder::|public|toGetRequestInformation():RequestInformation com.microsoft.graph.beta.admin.configurationmanagement.configurationdrifts.ConfigurationDriftsRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation -com.microsoft.graph.beta.admin.configurationmanagement.configurationdrifts.ConfigurationDriftsRequestBuilder::|public|toPostRequestInformation(body:ConfigurationDrift):RequestInformation -com.microsoft.graph.beta.admin.configurationmanagement.configurationdrifts.ConfigurationDriftsRequestBuilder::|public|toPostRequestInformation(body:ConfigurationDrift; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.admin.configurationmanagement.configurationdrifts.ConfigurationDriftsRequestBuilder::|public|withUrl(rawUrl:String):ConfigurationDriftsRequestBuilder com.microsoft.graph.beta.admin.configurationmanagement.configurationdrifts.count.CountRequestBuilder-->BaseRequestBuilder com.microsoft.graph.beta.admin.configurationmanagement.configurationdrifts.count.CountRequestBuilder.GetQueryParameters::|public|filter:String @@ -1229,38 +1224,20 @@ com.microsoft.graph.beta.admin.configurationmanagement.configurationdrifts.count com.microsoft.graph.beta.admin.configurationmanagement.configurationdrifts.count.CountRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.admin.configurationmanagement.configurationdrifts.count.CountRequestBuilder::|public|withUrl(rawUrl:String):CountRequestBuilder com.microsoft.graph.beta.admin.configurationmanagement.configurationdrifts.item.ConfigurationDriftItemRequestBuilder-->BaseRequestBuilder -com.microsoft.graph.beta.admin.configurationmanagement.configurationdrifts.item.ConfigurationDriftItemRequestBuilder.DeleteRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.beta.admin.configurationmanagement.configurationdrifts.item.ConfigurationDriftItemRequestBuilder.GetQueryParameters::|public|expand:String[] com.microsoft.graph.beta.admin.configurationmanagement.configurationdrifts.item.ConfigurationDriftItemRequestBuilder.GetQueryParameters::|public|select:String[] com.microsoft.graph.beta.admin.configurationmanagement.configurationdrifts.item.ConfigurationDriftItemRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map com.microsoft.graph.beta.admin.configurationmanagement.configurationdrifts.item.ConfigurationDriftItemRequestBuilder.GetQueryParameters~~>QueryParameters com.microsoft.graph.beta.admin.configurationmanagement.configurationdrifts.item.ConfigurationDriftItemRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.beta.admin.configurationmanagement.configurationdrifts.item.ConfigurationDriftItemRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters -com.microsoft.graph.beta.admin.configurationmanagement.configurationdrifts.item.ConfigurationDriftItemRequestBuilder.PatchRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.beta.admin.configurationmanagement.configurationdrifts.item.ConfigurationDriftItemRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void com.microsoft.graph.beta.admin.configurationmanagement.configurationdrifts.item.ConfigurationDriftItemRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void -com.microsoft.graph.beta.admin.configurationmanagement.configurationdrifts.item.ConfigurationDriftItemRequestBuilder::|public|delete():Void -com.microsoft.graph.beta.admin.configurationmanagement.configurationdrifts.item.ConfigurationDriftItemRequestBuilder::|public|delete(requestConfiguration?:java.util.function.Consumer):Void com.microsoft.graph.beta.admin.configurationmanagement.configurationdrifts.item.ConfigurationDriftItemRequestBuilder::|public|get():ConfigurationDrift com.microsoft.graph.beta.admin.configurationmanagement.configurationdrifts.item.ConfigurationDriftItemRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):ConfigurationDrift -com.microsoft.graph.beta.admin.configurationmanagement.configurationdrifts.item.ConfigurationDriftItemRequestBuilder::|public|patch(body:ConfigurationDrift):ConfigurationDrift -com.microsoft.graph.beta.admin.configurationmanagement.configurationdrifts.item.ConfigurationDriftItemRequestBuilder::|public|patch(body:ConfigurationDrift; requestConfiguration?:java.util.function.Consumer):ConfigurationDrift -com.microsoft.graph.beta.admin.configurationmanagement.configurationdrifts.item.ConfigurationDriftItemRequestBuilder::|public|toDeleteRequestInformation():RequestInformation -com.microsoft.graph.beta.admin.configurationmanagement.configurationdrifts.item.ConfigurationDriftItemRequestBuilder::|public|toDeleteRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.admin.configurationmanagement.configurationdrifts.item.ConfigurationDriftItemRequestBuilder::|public|toGetRequestInformation():RequestInformation com.microsoft.graph.beta.admin.configurationmanagement.configurationdrifts.item.ConfigurationDriftItemRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation -com.microsoft.graph.beta.admin.configurationmanagement.configurationdrifts.item.ConfigurationDriftItemRequestBuilder::|public|toPatchRequestInformation(body:ConfigurationDrift):RequestInformation -com.microsoft.graph.beta.admin.configurationmanagement.configurationdrifts.item.ConfigurationDriftItemRequestBuilder::|public|toPatchRequestInformation(body:ConfigurationDrift; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.admin.configurationmanagement.configurationdrifts.item.ConfigurationDriftItemRequestBuilder::|public|withUrl(rawUrl:String):ConfigurationDriftItemRequestBuilder com.microsoft.graph.beta.admin.configurationmanagement.ConfigurationManagementRequestBuilder-->BaseRequestBuilder -com.microsoft.graph.beta.admin.configurationmanagement.ConfigurationManagementRequestBuilder.DeleteRequestConfiguration-->BaseRequestConfiguration -com.microsoft.graph.beta.admin.configurationmanagement.ConfigurationManagementRequestBuilder.GetQueryParameters::|public|expand:String[] -com.microsoft.graph.beta.admin.configurationmanagement.ConfigurationManagementRequestBuilder.GetQueryParameters::|public|select:String[] -com.microsoft.graph.beta.admin.configurationmanagement.ConfigurationManagementRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map -com.microsoft.graph.beta.admin.configurationmanagement.ConfigurationManagementRequestBuilder.GetQueryParameters~~>QueryParameters -com.microsoft.graph.beta.admin.configurationmanagement.ConfigurationManagementRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration -com.microsoft.graph.beta.admin.configurationmanagement.ConfigurationManagementRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters -com.microsoft.graph.beta.admin.configurationmanagement.ConfigurationManagementRequestBuilder.PatchRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.beta.admin.configurationmanagement.ConfigurationManagementRequestBuilder::|public|configurationDrifts:ConfigurationDriftsRequestBuilder com.microsoft.graph.beta.admin.configurationmanagement.ConfigurationManagementRequestBuilder::|public|configurationMonitoringResults:ConfigurationMonitoringResultsRequestBuilder com.microsoft.graph.beta.admin.configurationmanagement.ConfigurationManagementRequestBuilder::|public|configurationMonitors:ConfigurationMonitorsRequestBuilder @@ -1268,19 +1245,6 @@ com.microsoft.graph.beta.admin.configurationmanagement.ConfigurationManagementRe com.microsoft.graph.beta.admin.configurationmanagement.ConfigurationManagementRequestBuilder::|public|configurationSnapshots:ConfigurationSnapshotsRequestBuilder com.microsoft.graph.beta.admin.configurationmanagement.ConfigurationManagementRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void com.microsoft.graph.beta.admin.configurationmanagement.ConfigurationManagementRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void -com.microsoft.graph.beta.admin.configurationmanagement.ConfigurationManagementRequestBuilder::|public|delete():Void -com.microsoft.graph.beta.admin.configurationmanagement.ConfigurationManagementRequestBuilder::|public|delete(requestConfiguration?:java.util.function.Consumer):Void -com.microsoft.graph.beta.admin.configurationmanagement.ConfigurationManagementRequestBuilder::|public|get():ConfigurationManagement -com.microsoft.graph.beta.admin.configurationmanagement.ConfigurationManagementRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):ConfigurationManagement -com.microsoft.graph.beta.admin.configurationmanagement.ConfigurationManagementRequestBuilder::|public|patch(body:ConfigurationManagement):ConfigurationManagement -com.microsoft.graph.beta.admin.configurationmanagement.ConfigurationManagementRequestBuilder::|public|patch(body:ConfigurationManagement; requestConfiguration?:java.util.function.Consumer):ConfigurationManagement -com.microsoft.graph.beta.admin.configurationmanagement.ConfigurationManagementRequestBuilder::|public|toDeleteRequestInformation():RequestInformation -com.microsoft.graph.beta.admin.configurationmanagement.ConfigurationManagementRequestBuilder::|public|toDeleteRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation -com.microsoft.graph.beta.admin.configurationmanagement.ConfigurationManagementRequestBuilder::|public|toGetRequestInformation():RequestInformation -com.microsoft.graph.beta.admin.configurationmanagement.ConfigurationManagementRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation -com.microsoft.graph.beta.admin.configurationmanagement.ConfigurationManagementRequestBuilder::|public|toPatchRequestInformation(body:ConfigurationManagement):RequestInformation -com.microsoft.graph.beta.admin.configurationmanagement.ConfigurationManagementRequestBuilder::|public|toPatchRequestInformation(body:ConfigurationManagement; requestConfiguration?:java.util.function.Consumer):RequestInformation -com.microsoft.graph.beta.admin.configurationmanagement.ConfigurationManagementRequestBuilder::|public|withUrl(rawUrl:String):ConfigurationManagementRequestBuilder com.microsoft.graph.beta.admin.configurationmanagement.configurationmonitoringresults.ConfigurationMonitoringResultsRequestBuilder-->BaseRequestBuilder com.microsoft.graph.beta.admin.configurationmanagement.configurationmonitoringresults.ConfigurationMonitoringResultsRequestBuilder.GetQueryParameters::|public|count:Boolean com.microsoft.graph.beta.admin.configurationmanagement.configurationmonitoringresults.ConfigurationMonitoringResultsRequestBuilder.GetQueryParameters::|public|expand:String[] @@ -1294,19 +1258,14 @@ com.microsoft.graph.beta.admin.configurationmanagement.configurationmonitoringre com.microsoft.graph.beta.admin.configurationmanagement.configurationmonitoringresults.ConfigurationMonitoringResultsRequestBuilder.GetQueryParameters~~>QueryParameters com.microsoft.graph.beta.admin.configurationmanagement.configurationmonitoringresults.ConfigurationMonitoringResultsRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.beta.admin.configurationmanagement.configurationmonitoringresults.ConfigurationMonitoringResultsRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters -com.microsoft.graph.beta.admin.configurationmanagement.configurationmonitoringresults.ConfigurationMonitoringResultsRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.beta.admin.configurationmanagement.configurationmonitoringresults.ConfigurationMonitoringResultsRequestBuilder::|public|byConfigurationMonitoringResultId(configurationMonitoringResultId:String):ConfigurationMonitoringResultItemRequestBuilder com.microsoft.graph.beta.admin.configurationmanagement.configurationmonitoringresults.ConfigurationMonitoringResultsRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void com.microsoft.graph.beta.admin.configurationmanagement.configurationmonitoringresults.ConfigurationMonitoringResultsRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void com.microsoft.graph.beta.admin.configurationmanagement.configurationmonitoringresults.ConfigurationMonitoringResultsRequestBuilder::|public|count:CountRequestBuilder com.microsoft.graph.beta.admin.configurationmanagement.configurationmonitoringresults.ConfigurationMonitoringResultsRequestBuilder::|public|get():ConfigurationMonitoringResultCollectionResponse com.microsoft.graph.beta.admin.configurationmanagement.configurationmonitoringresults.ConfigurationMonitoringResultsRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):ConfigurationMonitoringResultCollectionResponse -com.microsoft.graph.beta.admin.configurationmanagement.configurationmonitoringresults.ConfigurationMonitoringResultsRequestBuilder::|public|post(body:ConfigurationMonitoringResult):ConfigurationMonitoringResult -com.microsoft.graph.beta.admin.configurationmanagement.configurationmonitoringresults.ConfigurationMonitoringResultsRequestBuilder::|public|post(body:ConfigurationMonitoringResult; requestConfiguration?:java.util.function.Consumer):ConfigurationMonitoringResult com.microsoft.graph.beta.admin.configurationmanagement.configurationmonitoringresults.ConfigurationMonitoringResultsRequestBuilder::|public|toGetRequestInformation():RequestInformation com.microsoft.graph.beta.admin.configurationmanagement.configurationmonitoringresults.ConfigurationMonitoringResultsRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation -com.microsoft.graph.beta.admin.configurationmanagement.configurationmonitoringresults.ConfigurationMonitoringResultsRequestBuilder::|public|toPostRequestInformation(body:ConfigurationMonitoringResult):RequestInformation -com.microsoft.graph.beta.admin.configurationmanagement.configurationmonitoringresults.ConfigurationMonitoringResultsRequestBuilder::|public|toPostRequestInformation(body:ConfigurationMonitoringResult; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.admin.configurationmanagement.configurationmonitoringresults.ConfigurationMonitoringResultsRequestBuilder::|public|withUrl(rawUrl:String):ConfigurationMonitoringResultsRequestBuilder com.microsoft.graph.beta.admin.configurationmanagement.configurationmonitoringresults.count.CountRequestBuilder-->BaseRequestBuilder com.microsoft.graph.beta.admin.configurationmanagement.configurationmonitoringresults.count.CountRequestBuilder.GetQueryParameters::|public|filter:String @@ -1323,28 +1282,18 @@ com.microsoft.graph.beta.admin.configurationmanagement.configurationmonitoringre com.microsoft.graph.beta.admin.configurationmanagement.configurationmonitoringresults.count.CountRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.admin.configurationmanagement.configurationmonitoringresults.count.CountRequestBuilder::|public|withUrl(rawUrl:String):CountRequestBuilder com.microsoft.graph.beta.admin.configurationmanagement.configurationmonitoringresults.item.ConfigurationMonitoringResultItemRequestBuilder-->BaseRequestBuilder -com.microsoft.graph.beta.admin.configurationmanagement.configurationmonitoringresults.item.ConfigurationMonitoringResultItemRequestBuilder.DeleteRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.beta.admin.configurationmanagement.configurationmonitoringresults.item.ConfigurationMonitoringResultItemRequestBuilder.GetQueryParameters::|public|expand:String[] com.microsoft.graph.beta.admin.configurationmanagement.configurationmonitoringresults.item.ConfigurationMonitoringResultItemRequestBuilder.GetQueryParameters::|public|select:String[] com.microsoft.graph.beta.admin.configurationmanagement.configurationmonitoringresults.item.ConfigurationMonitoringResultItemRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map com.microsoft.graph.beta.admin.configurationmanagement.configurationmonitoringresults.item.ConfigurationMonitoringResultItemRequestBuilder.GetQueryParameters~~>QueryParameters com.microsoft.graph.beta.admin.configurationmanagement.configurationmonitoringresults.item.ConfigurationMonitoringResultItemRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.beta.admin.configurationmanagement.configurationmonitoringresults.item.ConfigurationMonitoringResultItemRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters -com.microsoft.graph.beta.admin.configurationmanagement.configurationmonitoringresults.item.ConfigurationMonitoringResultItemRequestBuilder.PatchRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.beta.admin.configurationmanagement.configurationmonitoringresults.item.ConfigurationMonitoringResultItemRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void com.microsoft.graph.beta.admin.configurationmanagement.configurationmonitoringresults.item.ConfigurationMonitoringResultItemRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void -com.microsoft.graph.beta.admin.configurationmanagement.configurationmonitoringresults.item.ConfigurationMonitoringResultItemRequestBuilder::|public|delete():Void -com.microsoft.graph.beta.admin.configurationmanagement.configurationmonitoringresults.item.ConfigurationMonitoringResultItemRequestBuilder::|public|delete(requestConfiguration?:java.util.function.Consumer):Void com.microsoft.graph.beta.admin.configurationmanagement.configurationmonitoringresults.item.ConfigurationMonitoringResultItemRequestBuilder::|public|get():ConfigurationMonitoringResult com.microsoft.graph.beta.admin.configurationmanagement.configurationmonitoringresults.item.ConfigurationMonitoringResultItemRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):ConfigurationMonitoringResult -com.microsoft.graph.beta.admin.configurationmanagement.configurationmonitoringresults.item.ConfigurationMonitoringResultItemRequestBuilder::|public|patch(body:ConfigurationMonitoringResult):ConfigurationMonitoringResult -com.microsoft.graph.beta.admin.configurationmanagement.configurationmonitoringresults.item.ConfigurationMonitoringResultItemRequestBuilder::|public|patch(body:ConfigurationMonitoringResult; requestConfiguration?:java.util.function.Consumer):ConfigurationMonitoringResult -com.microsoft.graph.beta.admin.configurationmanagement.configurationmonitoringresults.item.ConfigurationMonitoringResultItemRequestBuilder::|public|toDeleteRequestInformation():RequestInformation -com.microsoft.graph.beta.admin.configurationmanagement.configurationmonitoringresults.item.ConfigurationMonitoringResultItemRequestBuilder::|public|toDeleteRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.admin.configurationmanagement.configurationmonitoringresults.item.ConfigurationMonitoringResultItemRequestBuilder::|public|toGetRequestInformation():RequestInformation com.microsoft.graph.beta.admin.configurationmanagement.configurationmonitoringresults.item.ConfigurationMonitoringResultItemRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation -com.microsoft.graph.beta.admin.configurationmanagement.configurationmonitoringresults.item.ConfigurationMonitoringResultItemRequestBuilder::|public|toPatchRequestInformation(body:ConfigurationMonitoringResult):RequestInformation -com.microsoft.graph.beta.admin.configurationmanagement.configurationmonitoringresults.item.ConfigurationMonitoringResultItemRequestBuilder::|public|toPatchRequestInformation(body:ConfigurationMonitoringResult; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.admin.configurationmanagement.configurationmonitoringresults.item.ConfigurationMonitoringResultItemRequestBuilder::|public|withUrl(rawUrl:String):ConfigurationMonitoringResultItemRequestBuilder com.microsoft.graph.beta.admin.configurationmanagement.configurationmonitors.ConfigurationMonitorsRequestBuilder-->BaseRequestBuilder com.microsoft.graph.beta.admin.configurationmanagement.configurationmonitors.ConfigurationMonitorsRequestBuilder.GetQueryParameters::|public|count:Boolean @@ -1388,28 +1337,18 @@ com.microsoft.graph.beta.admin.configurationmanagement.configurationmonitors.cou com.microsoft.graph.beta.admin.configurationmanagement.configurationmonitors.count.CountRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.admin.configurationmanagement.configurationmonitors.count.CountRequestBuilder::|public|withUrl(rawUrl:String):CountRequestBuilder com.microsoft.graph.beta.admin.configurationmanagement.configurationmonitors.item.baseline.BaselineRequestBuilder-->BaseRequestBuilder -com.microsoft.graph.beta.admin.configurationmanagement.configurationmonitors.item.baseline.BaselineRequestBuilder.DeleteRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.beta.admin.configurationmanagement.configurationmonitors.item.baseline.BaselineRequestBuilder.GetQueryParameters::|public|expand:String[] com.microsoft.graph.beta.admin.configurationmanagement.configurationmonitors.item.baseline.BaselineRequestBuilder.GetQueryParameters::|public|select:String[] com.microsoft.graph.beta.admin.configurationmanagement.configurationmonitors.item.baseline.BaselineRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map com.microsoft.graph.beta.admin.configurationmanagement.configurationmonitors.item.baseline.BaselineRequestBuilder.GetQueryParameters~~>QueryParameters com.microsoft.graph.beta.admin.configurationmanagement.configurationmonitors.item.baseline.BaselineRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.beta.admin.configurationmanagement.configurationmonitors.item.baseline.BaselineRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters -com.microsoft.graph.beta.admin.configurationmanagement.configurationmonitors.item.baseline.BaselineRequestBuilder.PatchRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.beta.admin.configurationmanagement.configurationmonitors.item.baseline.BaselineRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void com.microsoft.graph.beta.admin.configurationmanagement.configurationmonitors.item.baseline.BaselineRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void -com.microsoft.graph.beta.admin.configurationmanagement.configurationmonitors.item.baseline.BaselineRequestBuilder::|public|delete():Void -com.microsoft.graph.beta.admin.configurationmanagement.configurationmonitors.item.baseline.BaselineRequestBuilder::|public|delete(requestConfiguration?:java.util.function.Consumer):Void com.microsoft.graph.beta.admin.configurationmanagement.configurationmonitors.item.baseline.BaselineRequestBuilder::|public|get():ConfigurationBaseline com.microsoft.graph.beta.admin.configurationmanagement.configurationmonitors.item.baseline.BaselineRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):ConfigurationBaseline -com.microsoft.graph.beta.admin.configurationmanagement.configurationmonitors.item.baseline.BaselineRequestBuilder::|public|patch(body:ConfigurationBaseline):ConfigurationBaseline -com.microsoft.graph.beta.admin.configurationmanagement.configurationmonitors.item.baseline.BaselineRequestBuilder::|public|patch(body:ConfigurationBaseline; requestConfiguration?:java.util.function.Consumer):ConfigurationBaseline -com.microsoft.graph.beta.admin.configurationmanagement.configurationmonitors.item.baseline.BaselineRequestBuilder::|public|toDeleteRequestInformation():RequestInformation -com.microsoft.graph.beta.admin.configurationmanagement.configurationmonitors.item.baseline.BaselineRequestBuilder::|public|toDeleteRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.admin.configurationmanagement.configurationmonitors.item.baseline.BaselineRequestBuilder::|public|toGetRequestInformation():RequestInformation com.microsoft.graph.beta.admin.configurationmanagement.configurationmonitors.item.baseline.BaselineRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation -com.microsoft.graph.beta.admin.configurationmanagement.configurationmonitors.item.baseline.BaselineRequestBuilder::|public|toPatchRequestInformation(body:ConfigurationBaseline):RequestInformation -com.microsoft.graph.beta.admin.configurationmanagement.configurationmonitors.item.baseline.BaselineRequestBuilder::|public|toPatchRequestInformation(body:ConfigurationBaseline; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.admin.configurationmanagement.configurationmonitors.item.baseline.BaselineRequestBuilder::|public|withUrl(rawUrl:String):BaselineRequestBuilder com.microsoft.graph.beta.admin.configurationmanagement.configurationmonitors.item.ConfigurationMonitorItemRequestBuilder-->BaseRequestBuilder com.microsoft.graph.beta.admin.configurationmanagement.configurationmonitors.item.ConfigurationMonitorItemRequestBuilder.DeleteRequestConfiguration-->BaseRequestConfiguration @@ -1449,34 +1388,14 @@ com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshotjobs com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshotjobs.ConfigurationSnapshotJobsRequestBuilder.GetQueryParameters~~>QueryParameters com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshotjobs.ConfigurationSnapshotJobsRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshotjobs.ConfigurationSnapshotJobsRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters -com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshotjobs.ConfigurationSnapshotJobsRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshotjobs.ConfigurationSnapshotJobsRequestBuilder::|public|byConfigurationSnapshotJobId(configurationSnapshotJobId:String):ConfigurationSnapshotJobItemRequestBuilder com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshotjobs.ConfigurationSnapshotJobsRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshotjobs.ConfigurationSnapshotJobsRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void -com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshotjobs.ConfigurationSnapshotJobsRequestBuilder::|public|count:CountRequestBuilder com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshotjobs.ConfigurationSnapshotJobsRequestBuilder::|public|get():ConfigurationSnapshotJobCollectionResponse com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshotjobs.ConfigurationSnapshotJobsRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):ConfigurationSnapshotJobCollectionResponse -com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshotjobs.ConfigurationSnapshotJobsRequestBuilder::|public|post(body:ConfigurationSnapshotJob):ConfigurationSnapshotJob -com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshotjobs.ConfigurationSnapshotJobsRequestBuilder::|public|post(body:ConfigurationSnapshotJob; requestConfiguration?:java.util.function.Consumer):ConfigurationSnapshotJob com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshotjobs.ConfigurationSnapshotJobsRequestBuilder::|public|toGetRequestInformation():RequestInformation com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshotjobs.ConfigurationSnapshotJobsRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation -com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshotjobs.ConfigurationSnapshotJobsRequestBuilder::|public|toPostRequestInformation(body:ConfigurationSnapshotJob):RequestInformation -com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshotjobs.ConfigurationSnapshotJobsRequestBuilder::|public|toPostRequestInformation(body:ConfigurationSnapshotJob; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshotjobs.ConfigurationSnapshotJobsRequestBuilder::|public|withUrl(rawUrl:String):ConfigurationSnapshotJobsRequestBuilder -com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshotjobs.count.CountRequestBuilder-->BaseRequestBuilder -com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshotjobs.count.CountRequestBuilder.GetQueryParameters::|public|filter:String -com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshotjobs.count.CountRequestBuilder.GetQueryParameters::|public|search:String -com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshotjobs.count.CountRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map -com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshotjobs.count.CountRequestBuilder.GetQueryParameters~~>QueryParameters -com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshotjobs.count.CountRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration -com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshotjobs.count.CountRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters -com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshotjobs.count.CountRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void -com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshotjobs.count.CountRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void -com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshotjobs.count.CountRequestBuilder::|public|get():Integer -com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshotjobs.count.CountRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):Integer -com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshotjobs.count.CountRequestBuilder::|public|toGetRequestInformation():RequestInformation -com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshotjobs.count.CountRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation -com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshotjobs.count.CountRequestBuilder::|public|withUrl(rawUrl:String):CountRequestBuilder com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshotjobs.item.ConfigurationSnapshotJobItemRequestBuilder-->BaseRequestBuilder com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshotjobs.item.ConfigurationSnapshotJobItemRequestBuilder.DeleteRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshotjobs.item.ConfigurationSnapshotJobItemRequestBuilder.GetQueryParameters::|public|expand:String[] @@ -1485,21 +1404,16 @@ com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshotjobs com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshotjobs.item.ConfigurationSnapshotJobItemRequestBuilder.GetQueryParameters~~>QueryParameters com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshotjobs.item.ConfigurationSnapshotJobItemRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshotjobs.item.ConfigurationSnapshotJobItemRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters -com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshotjobs.item.ConfigurationSnapshotJobItemRequestBuilder.PatchRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshotjobs.item.ConfigurationSnapshotJobItemRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshotjobs.item.ConfigurationSnapshotJobItemRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshotjobs.item.ConfigurationSnapshotJobItemRequestBuilder::|public|delete():Void com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshotjobs.item.ConfigurationSnapshotJobItemRequestBuilder::|public|delete(requestConfiguration?:java.util.function.Consumer):Void com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshotjobs.item.ConfigurationSnapshotJobItemRequestBuilder::|public|get():ConfigurationSnapshotJob com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshotjobs.item.ConfigurationSnapshotJobItemRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):ConfigurationSnapshotJob -com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshotjobs.item.ConfigurationSnapshotJobItemRequestBuilder::|public|patch(body:ConfigurationSnapshotJob):ConfigurationSnapshotJob -com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshotjobs.item.ConfigurationSnapshotJobItemRequestBuilder::|public|patch(body:ConfigurationSnapshotJob; requestConfiguration?:java.util.function.Consumer):ConfigurationSnapshotJob com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshotjobs.item.ConfigurationSnapshotJobItemRequestBuilder::|public|toDeleteRequestInformation():RequestInformation com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshotjobs.item.ConfigurationSnapshotJobItemRequestBuilder::|public|toDeleteRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshotjobs.item.ConfigurationSnapshotJobItemRequestBuilder::|public|toGetRequestInformation():RequestInformation com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshotjobs.item.ConfigurationSnapshotJobItemRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation -com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshotjobs.item.ConfigurationSnapshotJobItemRequestBuilder::|public|toPatchRequestInformation(body:ConfigurationSnapshotJob):RequestInformation -com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshotjobs.item.ConfigurationSnapshotJobItemRequestBuilder::|public|toPatchRequestInformation(body:ConfigurationSnapshotJob; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshotjobs.item.ConfigurationSnapshotJobItemRequestBuilder::|public|withUrl(rawUrl:String):ConfigurationSnapshotJobItemRequestBuilder com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshots.ConfigurationSnapshotsRequestBuilder-->BaseRequestBuilder com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshots.ConfigurationSnapshotsRequestBuilder.GetQueryParameters::|public|count:Boolean @@ -1514,57 +1428,27 @@ com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshots.Co com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshots.ConfigurationSnapshotsRequestBuilder.GetQueryParameters~~>QueryParameters com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshots.ConfigurationSnapshotsRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshots.ConfigurationSnapshotsRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters -com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshots.ConfigurationSnapshotsRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshots.ConfigurationSnapshotsRequestBuilder::|public|byConfigurationBaselineId(configurationBaselineId:String):ConfigurationBaselineItemRequestBuilder com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshots.ConfigurationSnapshotsRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshots.ConfigurationSnapshotsRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void -com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshots.ConfigurationSnapshotsRequestBuilder::|public|count:CountRequestBuilder com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshots.ConfigurationSnapshotsRequestBuilder::|public|get():ConfigurationBaselineCollectionResponse com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshots.ConfigurationSnapshotsRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):ConfigurationBaselineCollectionResponse -com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshots.ConfigurationSnapshotsRequestBuilder::|public|post(body:ConfigurationBaseline):ConfigurationBaseline -com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshots.ConfigurationSnapshotsRequestBuilder::|public|post(body:ConfigurationBaseline; requestConfiguration?:java.util.function.Consumer):ConfigurationBaseline com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshots.ConfigurationSnapshotsRequestBuilder::|public|toGetRequestInformation():RequestInformation com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshots.ConfigurationSnapshotsRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation -com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshots.ConfigurationSnapshotsRequestBuilder::|public|toPostRequestInformation(body:ConfigurationBaseline):RequestInformation -com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshots.ConfigurationSnapshotsRequestBuilder::|public|toPostRequestInformation(body:ConfigurationBaseline; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshots.ConfigurationSnapshotsRequestBuilder::|public|withUrl(rawUrl:String):ConfigurationSnapshotsRequestBuilder -com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshots.count.CountRequestBuilder-->BaseRequestBuilder -com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshots.count.CountRequestBuilder.GetQueryParameters::|public|filter:String -com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshots.count.CountRequestBuilder.GetQueryParameters::|public|search:String -com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshots.count.CountRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map -com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshots.count.CountRequestBuilder.GetQueryParameters~~>QueryParameters -com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshots.count.CountRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration -com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshots.count.CountRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters -com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshots.count.CountRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void -com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshots.count.CountRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void -com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshots.count.CountRequestBuilder::|public|get():Integer -com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshots.count.CountRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):Integer -com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshots.count.CountRequestBuilder::|public|toGetRequestInformation():RequestInformation -com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshots.count.CountRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation -com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshots.count.CountRequestBuilder::|public|withUrl(rawUrl:String):CountRequestBuilder com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshots.item.ConfigurationBaselineItemRequestBuilder-->BaseRequestBuilder -com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshots.item.ConfigurationBaselineItemRequestBuilder.DeleteRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshots.item.ConfigurationBaselineItemRequestBuilder.GetQueryParameters::|public|expand:String[] com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshots.item.ConfigurationBaselineItemRequestBuilder.GetQueryParameters::|public|select:String[] com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshots.item.ConfigurationBaselineItemRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshots.item.ConfigurationBaselineItemRequestBuilder.GetQueryParameters~~>QueryParameters com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshots.item.ConfigurationBaselineItemRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshots.item.ConfigurationBaselineItemRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters -com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshots.item.ConfigurationBaselineItemRequestBuilder.PatchRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshots.item.ConfigurationBaselineItemRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshots.item.ConfigurationBaselineItemRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void -com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshots.item.ConfigurationBaselineItemRequestBuilder::|public|delete():Void -com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshots.item.ConfigurationBaselineItemRequestBuilder::|public|delete(requestConfiguration?:java.util.function.Consumer):Void com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshots.item.ConfigurationBaselineItemRequestBuilder::|public|get():ConfigurationBaseline com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshots.item.ConfigurationBaselineItemRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):ConfigurationBaseline -com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshots.item.ConfigurationBaselineItemRequestBuilder::|public|patch(body:ConfigurationBaseline):ConfigurationBaseline -com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshots.item.ConfigurationBaselineItemRequestBuilder::|public|patch(body:ConfigurationBaseline; requestConfiguration?:java.util.function.Consumer):ConfigurationBaseline -com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshots.item.ConfigurationBaselineItemRequestBuilder::|public|toDeleteRequestInformation():RequestInformation -com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshots.item.ConfigurationBaselineItemRequestBuilder::|public|toDeleteRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshots.item.ConfigurationBaselineItemRequestBuilder::|public|toGetRequestInformation():RequestInformation com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshots.item.ConfigurationBaselineItemRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation -com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshots.item.ConfigurationBaselineItemRequestBuilder::|public|toPatchRequestInformation(body:ConfigurationBaseline):RequestInformation -com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshots.item.ConfigurationBaselineItemRequestBuilder::|public|toPatchRequestInformation(body:ConfigurationBaseline; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshots.item.ConfigurationBaselineItemRequestBuilder::|public|withUrl(rawUrl:String):ConfigurationBaselineItemRequestBuilder com.microsoft.graph.beta.admin.dynamics.DynamicsRequestBuilder-->BaseRequestBuilder com.microsoft.graph.beta.admin.dynamics.DynamicsRequestBuilder.DeleteRequestConfiguration-->BaseRequestConfiguration @@ -44974,6 +44858,15 @@ com.microsoft.graph.beta.devicemanagement.comanageddevices.item.bypassactivation com.microsoft.graph.beta.devicemanagement.comanageddevices.item.bypassactivationlock.BypassActivationLockRequestBuilder::|public|toPostRequestInformation():RequestInformation com.microsoft.graph.beta.devicemanagement.comanageddevices.item.bypassactivationlock.BypassActivationLockRequestBuilder::|public|toPostRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.devicemanagement.comanageddevices.item.bypassactivationlock.BypassActivationLockRequestBuilder::|public|withUrl(rawUrl:String):BypassActivationLockRequestBuilder +com.microsoft.graph.beta.devicemanagement.comanageddevices.item.cancelenhancedlogcollection.CancelEnhancedLogCollectionRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.devicemanagement.comanageddevices.item.cancelenhancedlogcollection.CancelEnhancedLogCollectionRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.devicemanagement.comanageddevices.item.cancelenhancedlogcollection.CancelEnhancedLogCollectionRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.devicemanagement.comanageddevices.item.cancelenhancedlogcollection.CancelEnhancedLogCollectionRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.devicemanagement.comanageddevices.item.cancelenhancedlogcollection.CancelEnhancedLogCollectionRequestBuilder::|public|post():Void +com.microsoft.graph.beta.devicemanagement.comanageddevices.item.cancelenhancedlogcollection.CancelEnhancedLogCollectionRequestBuilder::|public|post(requestConfiguration?:java.util.function.Consumer):Void +com.microsoft.graph.beta.devicemanagement.comanageddevices.item.cancelenhancedlogcollection.CancelEnhancedLogCollectionRequestBuilder::|public|toPostRequestInformation():RequestInformation +com.microsoft.graph.beta.devicemanagement.comanageddevices.item.cancelenhancedlogcollection.CancelEnhancedLogCollectionRequestBuilder::|public|toPostRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.devicemanagement.comanageddevices.item.cancelenhancedlogcollection.CancelEnhancedLogCollectionRequestBuilder::|public|withUrl(rawUrl:String):CancelEnhancedLogCollectionRequestBuilder com.microsoft.graph.beta.devicemanagement.comanageddevices.item.changeassignments.ChangeAssignmentsPostRequestBody::|protected|backingStore:BackingStore com.microsoft.graph.beta.devicemanagement.comanageddevices.item.changeassignments.ChangeAssignmentsPostRequestBody::|public|constructor():void com.microsoft.graph.beta.devicemanagement.comanageddevices.item.changeassignments.ChangeAssignmentsPostRequestBody::|public|getAdditionalData():Map @@ -45630,6 +45523,7 @@ com.microsoft.graph.beta.devicemanagement.comanageddevices.item.ManagedDeviceIte com.microsoft.graph.beta.devicemanagement.comanageddevices.item.ManagedDeviceItemRequestBuilder::|public|activateDeviceEsim:ActivateDeviceEsimRequestBuilder com.microsoft.graph.beta.devicemanagement.comanageddevices.item.ManagedDeviceItemRequestBuilder::|public|assignmentFilterEvaluationStatusDetails:AssignmentFilterEvaluationStatusDetailsRequestBuilder com.microsoft.graph.beta.devicemanagement.comanageddevices.item.ManagedDeviceItemRequestBuilder::|public|bypassActivationLock:BypassActivationLockRequestBuilder +com.microsoft.graph.beta.devicemanagement.comanageddevices.item.ManagedDeviceItemRequestBuilder::|public|cancelEnhancedLogCollection:CancelEnhancedLogCollectionRequestBuilder com.microsoft.graph.beta.devicemanagement.comanageddevices.item.ManagedDeviceItemRequestBuilder::|public|changeAssignments:ChangeAssignmentsRequestBuilder com.microsoft.graph.beta.devicemanagement.comanageddevices.item.ManagedDeviceItemRequestBuilder::|public|cleanWindowsDevice:CleanWindowsDeviceRequestBuilder com.microsoft.graph.beta.devicemanagement.comanageddevices.item.ManagedDeviceItemRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void @@ -45696,6 +45590,7 @@ com.microsoft.graph.beta.devicemanagement.comanageddevices.item.ManagedDeviceIte com.microsoft.graph.beta.devicemanagement.comanageddevices.item.ManagedDeviceItemRequestBuilder::|public|toPatchRequestInformation(body:ManagedDevice):RequestInformation com.microsoft.graph.beta.devicemanagement.comanageddevices.item.ManagedDeviceItemRequestBuilder::|public|toPatchRequestInformation(body:ManagedDevice; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.devicemanagement.comanageddevices.item.ManagedDeviceItemRequestBuilder::|public|triggerConfigurationManagerAction:TriggerConfigurationManagerActionRequestBuilder +com.microsoft.graph.beta.devicemanagement.comanageddevices.item.ManagedDeviceItemRequestBuilder::|public|triggerEnhancedLogCollection:TriggerEnhancedLogCollectionRequestBuilder com.microsoft.graph.beta.devicemanagement.comanageddevices.item.ManagedDeviceItemRequestBuilder::|public|updateWindowsDeviceAccount:UpdateWindowsDeviceAccountRequestBuilder com.microsoft.graph.beta.devicemanagement.comanageddevices.item.ManagedDeviceItemRequestBuilder::|public|users:UsersRequestBuilder com.microsoft.graph.beta.devicemanagement.comanageddevices.item.ManagedDeviceItemRequestBuilder::|public|windowsDefenderScan:WindowsDefenderScanRequestBuilder @@ -46254,6 +46149,27 @@ com.microsoft.graph.beta.devicemanagement.comanageddevices.item.triggerconfigura com.microsoft.graph.beta.devicemanagement.comanageddevices.item.triggerconfigurationmanageraction.TriggerConfigurationManagerActionRequestBuilder::|public|toPostRequestInformation(body:TriggerConfigurationManagerActionPostRequestBody):RequestInformation com.microsoft.graph.beta.devicemanagement.comanageddevices.item.triggerconfigurationmanageraction.TriggerConfigurationManagerActionRequestBuilder::|public|toPostRequestInformation(body:TriggerConfigurationManagerActionPostRequestBody; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.devicemanagement.comanageddevices.item.triggerconfigurationmanageraction.TriggerConfigurationManagerActionRequestBuilder::|public|withUrl(rawUrl:String):TriggerConfigurationManagerActionRequestBuilder +com.microsoft.graph.beta.devicemanagement.comanageddevices.item.triggerenhancedlogcollection.TriggerEnhancedLogCollectionPostRequestBody::|protected|backingStore:BackingStore +com.microsoft.graph.beta.devicemanagement.comanageddevices.item.triggerenhancedlogcollection.TriggerEnhancedLogCollectionPostRequestBody::|public|constructor():void +com.microsoft.graph.beta.devicemanagement.comanageddevices.item.triggerenhancedlogcollection.TriggerEnhancedLogCollectionPostRequestBody::|public|getAdditionalData():Map +com.microsoft.graph.beta.devicemanagement.comanageddevices.item.triggerenhancedlogcollection.TriggerEnhancedLogCollectionPostRequestBody::|public|getAppleCareToken():String +com.microsoft.graph.beta.devicemanagement.comanageddevices.item.triggerenhancedlogcollection.TriggerEnhancedLogCollectionPostRequestBody::|public|getBackingStore():BackingStore +com.microsoft.graph.beta.devicemanagement.comanageddevices.item.triggerenhancedlogcollection.TriggerEnhancedLogCollectionPostRequestBody::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.devicemanagement.comanageddevices.item.triggerenhancedlogcollection.TriggerEnhancedLogCollectionPostRequestBody::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.devicemanagement.comanageddevices.item.triggerenhancedlogcollection.TriggerEnhancedLogCollectionPostRequestBody::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.beta.devicemanagement.comanageddevices.item.triggerenhancedlogcollection.TriggerEnhancedLogCollectionPostRequestBody::|public|setAppleCareToken(value?:String):void +com.microsoft.graph.beta.devicemanagement.comanageddevices.item.triggerenhancedlogcollection.TriggerEnhancedLogCollectionPostRequestBody::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.beta.devicemanagement.comanageddevices.item.triggerenhancedlogcollection.TriggerEnhancedLogCollectionPostRequestBody::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):TriggerEnhancedLogCollectionPostRequestBody +com.microsoft.graph.beta.devicemanagement.comanageddevices.item.triggerenhancedlogcollection.TriggerEnhancedLogCollectionPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.beta.devicemanagement.comanageddevices.item.triggerenhancedlogcollection.TriggerEnhancedLogCollectionRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.devicemanagement.comanageddevices.item.triggerenhancedlogcollection.TriggerEnhancedLogCollectionRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.devicemanagement.comanageddevices.item.triggerenhancedlogcollection.TriggerEnhancedLogCollectionRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.devicemanagement.comanageddevices.item.triggerenhancedlogcollection.TriggerEnhancedLogCollectionRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.devicemanagement.comanageddevices.item.triggerenhancedlogcollection.TriggerEnhancedLogCollectionRequestBuilder::|public|post(body:TriggerEnhancedLogCollectionPostRequestBody):Void +com.microsoft.graph.beta.devicemanagement.comanageddevices.item.triggerenhancedlogcollection.TriggerEnhancedLogCollectionRequestBuilder::|public|post(body:TriggerEnhancedLogCollectionPostRequestBody; requestConfiguration?:java.util.function.Consumer):Void +com.microsoft.graph.beta.devicemanagement.comanageddevices.item.triggerenhancedlogcollection.TriggerEnhancedLogCollectionRequestBuilder::|public|toPostRequestInformation(body:TriggerEnhancedLogCollectionPostRequestBody):RequestInformation +com.microsoft.graph.beta.devicemanagement.comanageddevices.item.triggerenhancedlogcollection.TriggerEnhancedLogCollectionRequestBuilder::|public|toPostRequestInformation(body:TriggerEnhancedLogCollectionPostRequestBody; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.devicemanagement.comanageddevices.item.triggerenhancedlogcollection.TriggerEnhancedLogCollectionRequestBuilder::|public|withUrl(rawUrl:String):TriggerEnhancedLogCollectionRequestBuilder com.microsoft.graph.beta.devicemanagement.comanageddevices.item.updatewindowsdeviceaccount.UpdateWindowsDeviceAccountPostRequestBody::|protected|backingStore:BackingStore com.microsoft.graph.beta.devicemanagement.comanageddevices.item.updatewindowsdeviceaccount.UpdateWindowsDeviceAccountPostRequestBody::|public|constructor():void com.microsoft.graph.beta.devicemanagement.comanageddevices.item.updatewindowsdeviceaccount.UpdateWindowsDeviceAccountPostRequestBody::|public|getAdditionalData():Map @@ -58258,6 +58174,15 @@ com.microsoft.graph.beta.devicemanagement.manageddevices.item.bypassactivationlo com.microsoft.graph.beta.devicemanagement.manageddevices.item.bypassactivationlock.BypassActivationLockRequestBuilder::|public|toPostRequestInformation():RequestInformation com.microsoft.graph.beta.devicemanagement.manageddevices.item.bypassactivationlock.BypassActivationLockRequestBuilder::|public|toPostRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.devicemanagement.manageddevices.item.bypassactivationlock.BypassActivationLockRequestBuilder::|public|withUrl(rawUrl:String):BypassActivationLockRequestBuilder +com.microsoft.graph.beta.devicemanagement.manageddevices.item.cancelenhancedlogcollection.CancelEnhancedLogCollectionRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.devicemanagement.manageddevices.item.cancelenhancedlogcollection.CancelEnhancedLogCollectionRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.devicemanagement.manageddevices.item.cancelenhancedlogcollection.CancelEnhancedLogCollectionRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.devicemanagement.manageddevices.item.cancelenhancedlogcollection.CancelEnhancedLogCollectionRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.devicemanagement.manageddevices.item.cancelenhancedlogcollection.CancelEnhancedLogCollectionRequestBuilder::|public|post():Void +com.microsoft.graph.beta.devicemanagement.manageddevices.item.cancelenhancedlogcollection.CancelEnhancedLogCollectionRequestBuilder::|public|post(requestConfiguration?:java.util.function.Consumer):Void +com.microsoft.graph.beta.devicemanagement.manageddevices.item.cancelenhancedlogcollection.CancelEnhancedLogCollectionRequestBuilder::|public|toPostRequestInformation():RequestInformation +com.microsoft.graph.beta.devicemanagement.manageddevices.item.cancelenhancedlogcollection.CancelEnhancedLogCollectionRequestBuilder::|public|toPostRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.devicemanagement.manageddevices.item.cancelenhancedlogcollection.CancelEnhancedLogCollectionRequestBuilder::|public|withUrl(rawUrl:String):CancelEnhancedLogCollectionRequestBuilder com.microsoft.graph.beta.devicemanagement.manageddevices.item.changeassignments.ChangeAssignmentsPostRequestBody::|protected|backingStore:BackingStore com.microsoft.graph.beta.devicemanagement.manageddevices.item.changeassignments.ChangeAssignmentsPostRequestBody::|public|constructor():void com.microsoft.graph.beta.devicemanagement.manageddevices.item.changeassignments.ChangeAssignmentsPostRequestBody::|public|getAdditionalData():Map @@ -58914,6 +58839,7 @@ com.microsoft.graph.beta.devicemanagement.manageddevices.item.ManagedDeviceItemR com.microsoft.graph.beta.devicemanagement.manageddevices.item.ManagedDeviceItemRequestBuilder::|public|activateDeviceEsim:ActivateDeviceEsimRequestBuilder com.microsoft.graph.beta.devicemanagement.manageddevices.item.ManagedDeviceItemRequestBuilder::|public|assignmentFilterEvaluationStatusDetails:AssignmentFilterEvaluationStatusDetailsRequestBuilder com.microsoft.graph.beta.devicemanagement.manageddevices.item.ManagedDeviceItemRequestBuilder::|public|bypassActivationLock:BypassActivationLockRequestBuilder +com.microsoft.graph.beta.devicemanagement.manageddevices.item.ManagedDeviceItemRequestBuilder::|public|cancelEnhancedLogCollection:CancelEnhancedLogCollectionRequestBuilder com.microsoft.graph.beta.devicemanagement.manageddevices.item.ManagedDeviceItemRequestBuilder::|public|changeAssignments:ChangeAssignmentsRequestBuilder com.microsoft.graph.beta.devicemanagement.manageddevices.item.ManagedDeviceItemRequestBuilder::|public|cleanWindowsDevice:CleanWindowsDeviceRequestBuilder com.microsoft.graph.beta.devicemanagement.manageddevices.item.ManagedDeviceItemRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void @@ -58980,6 +58906,7 @@ com.microsoft.graph.beta.devicemanagement.manageddevices.item.ManagedDeviceItemR com.microsoft.graph.beta.devicemanagement.manageddevices.item.ManagedDeviceItemRequestBuilder::|public|toPatchRequestInformation(body:ManagedDevice):RequestInformation com.microsoft.graph.beta.devicemanagement.manageddevices.item.ManagedDeviceItemRequestBuilder::|public|toPatchRequestInformation(body:ManagedDevice; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.devicemanagement.manageddevices.item.ManagedDeviceItemRequestBuilder::|public|triggerConfigurationManagerAction:TriggerConfigurationManagerActionRequestBuilder +com.microsoft.graph.beta.devicemanagement.manageddevices.item.ManagedDeviceItemRequestBuilder::|public|triggerEnhancedLogCollection:TriggerEnhancedLogCollectionRequestBuilder com.microsoft.graph.beta.devicemanagement.manageddevices.item.ManagedDeviceItemRequestBuilder::|public|updateWindowsDeviceAccount:UpdateWindowsDeviceAccountRequestBuilder com.microsoft.graph.beta.devicemanagement.manageddevices.item.ManagedDeviceItemRequestBuilder::|public|users:UsersRequestBuilder com.microsoft.graph.beta.devicemanagement.manageddevices.item.ManagedDeviceItemRequestBuilder::|public|windowsDefenderScan:WindowsDefenderScanRequestBuilder @@ -59538,6 +59465,27 @@ com.microsoft.graph.beta.devicemanagement.manageddevices.item.triggerconfigurati com.microsoft.graph.beta.devicemanagement.manageddevices.item.triggerconfigurationmanageraction.TriggerConfigurationManagerActionRequestBuilder::|public|toPostRequestInformation(body:TriggerConfigurationManagerActionPostRequestBody):RequestInformation com.microsoft.graph.beta.devicemanagement.manageddevices.item.triggerconfigurationmanageraction.TriggerConfigurationManagerActionRequestBuilder::|public|toPostRequestInformation(body:TriggerConfigurationManagerActionPostRequestBody; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.devicemanagement.manageddevices.item.triggerconfigurationmanageraction.TriggerConfigurationManagerActionRequestBuilder::|public|withUrl(rawUrl:String):TriggerConfigurationManagerActionRequestBuilder +com.microsoft.graph.beta.devicemanagement.manageddevices.item.triggerenhancedlogcollection.TriggerEnhancedLogCollectionPostRequestBody::|protected|backingStore:BackingStore +com.microsoft.graph.beta.devicemanagement.manageddevices.item.triggerenhancedlogcollection.TriggerEnhancedLogCollectionPostRequestBody::|public|constructor():void +com.microsoft.graph.beta.devicemanagement.manageddevices.item.triggerenhancedlogcollection.TriggerEnhancedLogCollectionPostRequestBody::|public|getAdditionalData():Map +com.microsoft.graph.beta.devicemanagement.manageddevices.item.triggerenhancedlogcollection.TriggerEnhancedLogCollectionPostRequestBody::|public|getAppleCareToken():String +com.microsoft.graph.beta.devicemanagement.manageddevices.item.triggerenhancedlogcollection.TriggerEnhancedLogCollectionPostRequestBody::|public|getBackingStore():BackingStore +com.microsoft.graph.beta.devicemanagement.manageddevices.item.triggerenhancedlogcollection.TriggerEnhancedLogCollectionPostRequestBody::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.devicemanagement.manageddevices.item.triggerenhancedlogcollection.TriggerEnhancedLogCollectionPostRequestBody::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.devicemanagement.manageddevices.item.triggerenhancedlogcollection.TriggerEnhancedLogCollectionPostRequestBody::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.beta.devicemanagement.manageddevices.item.triggerenhancedlogcollection.TriggerEnhancedLogCollectionPostRequestBody::|public|setAppleCareToken(value?:String):void +com.microsoft.graph.beta.devicemanagement.manageddevices.item.triggerenhancedlogcollection.TriggerEnhancedLogCollectionPostRequestBody::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.beta.devicemanagement.manageddevices.item.triggerenhancedlogcollection.TriggerEnhancedLogCollectionPostRequestBody::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):TriggerEnhancedLogCollectionPostRequestBody +com.microsoft.graph.beta.devicemanagement.manageddevices.item.triggerenhancedlogcollection.TriggerEnhancedLogCollectionPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.beta.devicemanagement.manageddevices.item.triggerenhancedlogcollection.TriggerEnhancedLogCollectionRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.devicemanagement.manageddevices.item.triggerenhancedlogcollection.TriggerEnhancedLogCollectionRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.devicemanagement.manageddevices.item.triggerenhancedlogcollection.TriggerEnhancedLogCollectionRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.devicemanagement.manageddevices.item.triggerenhancedlogcollection.TriggerEnhancedLogCollectionRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.devicemanagement.manageddevices.item.triggerenhancedlogcollection.TriggerEnhancedLogCollectionRequestBuilder::|public|post(body:TriggerEnhancedLogCollectionPostRequestBody):Void +com.microsoft.graph.beta.devicemanagement.manageddevices.item.triggerenhancedlogcollection.TriggerEnhancedLogCollectionRequestBuilder::|public|post(body:TriggerEnhancedLogCollectionPostRequestBody; requestConfiguration?:java.util.function.Consumer):Void +com.microsoft.graph.beta.devicemanagement.manageddevices.item.triggerenhancedlogcollection.TriggerEnhancedLogCollectionRequestBuilder::|public|toPostRequestInformation(body:TriggerEnhancedLogCollectionPostRequestBody):RequestInformation +com.microsoft.graph.beta.devicemanagement.manageddevices.item.triggerenhancedlogcollection.TriggerEnhancedLogCollectionRequestBuilder::|public|toPostRequestInformation(body:TriggerEnhancedLogCollectionPostRequestBody; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.devicemanagement.manageddevices.item.triggerenhancedlogcollection.TriggerEnhancedLogCollectionRequestBuilder::|public|withUrl(rawUrl:String):TriggerEnhancedLogCollectionRequestBuilder com.microsoft.graph.beta.devicemanagement.manageddevices.item.updatewindowsdeviceaccount.UpdateWindowsDeviceAccountPostRequestBody::|protected|backingStore:BackingStore com.microsoft.graph.beta.devicemanagement.manageddevices.item.updatewindowsdeviceaccount.UpdateWindowsDeviceAccountPostRequestBody::|public|constructor():void com.microsoft.graph.beta.devicemanagement.manageddevices.item.updatewindowsdeviceaccount.UpdateWindowsDeviceAccountPostRequestBody::|public|getAdditionalData():Map @@ -61559,14 +61507,26 @@ com.microsoft.graph.beta.devicemanagement.remoteassistancepartners.count.CountRe com.microsoft.graph.beta.devicemanagement.remoteassistancepartners.count.CountRequestBuilder::|public|toGetRequestInformation():RequestInformation com.microsoft.graph.beta.devicemanagement.remoteassistancepartners.count.CountRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.devicemanagement.remoteassistancepartners.count.CountRequestBuilder::|public|withUrl(rawUrl:String):CountRequestBuilder +com.microsoft.graph.beta.devicemanagement.remoteassistancepartners.item.beginonboarding.BeginOnboardingPostRequestBody::|protected|backingStore:BackingStore +com.microsoft.graph.beta.devicemanagement.remoteassistancepartners.item.beginonboarding.BeginOnboardingPostRequestBody::|public|constructor():void +com.microsoft.graph.beta.devicemanagement.remoteassistancepartners.item.beginonboarding.BeginOnboardingPostRequestBody::|public|getAdditionalData():Map +com.microsoft.graph.beta.devicemanagement.remoteassistancepartners.item.beginonboarding.BeginOnboardingPostRequestBody::|public|getBackingStore():BackingStore +com.microsoft.graph.beta.devicemanagement.remoteassistancepartners.item.beginonboarding.BeginOnboardingPostRequestBody::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.devicemanagement.remoteassistancepartners.item.beginonboarding.BeginOnboardingPostRequestBody::|public|getPartnerDomain():String +com.microsoft.graph.beta.devicemanagement.remoteassistancepartners.item.beginonboarding.BeginOnboardingPostRequestBody::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.devicemanagement.remoteassistancepartners.item.beginonboarding.BeginOnboardingPostRequestBody::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.beta.devicemanagement.remoteassistancepartners.item.beginonboarding.BeginOnboardingPostRequestBody::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.beta.devicemanagement.remoteassistancepartners.item.beginonboarding.BeginOnboardingPostRequestBody::|public|setPartnerDomain(value?:String):void +com.microsoft.graph.beta.devicemanagement.remoteassistancepartners.item.beginonboarding.BeginOnboardingPostRequestBody::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):BeginOnboardingPostRequestBody +com.microsoft.graph.beta.devicemanagement.remoteassistancepartners.item.beginonboarding.BeginOnboardingPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable com.microsoft.graph.beta.devicemanagement.remoteassistancepartners.item.beginonboarding.BeginOnboardingRequestBuilder-->BaseRequestBuilder com.microsoft.graph.beta.devicemanagement.remoteassistancepartners.item.beginonboarding.BeginOnboardingRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.beta.devicemanagement.remoteassistancepartners.item.beginonboarding.BeginOnboardingRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void com.microsoft.graph.beta.devicemanagement.remoteassistancepartners.item.beginonboarding.BeginOnboardingRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void -com.microsoft.graph.beta.devicemanagement.remoteassistancepartners.item.beginonboarding.BeginOnboardingRequestBuilder::|public|post():Void -com.microsoft.graph.beta.devicemanagement.remoteassistancepartners.item.beginonboarding.BeginOnboardingRequestBuilder::|public|post(requestConfiguration?:java.util.function.Consumer):Void -com.microsoft.graph.beta.devicemanagement.remoteassistancepartners.item.beginonboarding.BeginOnboardingRequestBuilder::|public|toPostRequestInformation():RequestInformation -com.microsoft.graph.beta.devicemanagement.remoteassistancepartners.item.beginonboarding.BeginOnboardingRequestBuilder::|public|toPostRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.devicemanagement.remoteassistancepartners.item.beginonboarding.BeginOnboardingRequestBuilder::|public|post(body:BeginOnboardingPostRequestBody):Void +com.microsoft.graph.beta.devicemanagement.remoteassistancepartners.item.beginonboarding.BeginOnboardingRequestBuilder::|public|post(body:BeginOnboardingPostRequestBody; requestConfiguration?:java.util.function.Consumer):Void +com.microsoft.graph.beta.devicemanagement.remoteassistancepartners.item.beginonboarding.BeginOnboardingRequestBuilder::|public|toPostRequestInformation(body:BeginOnboardingPostRequestBody):RequestInformation +com.microsoft.graph.beta.devicemanagement.remoteassistancepartners.item.beginonboarding.BeginOnboardingRequestBuilder::|public|toPostRequestInformation(body:BeginOnboardingPostRequestBody; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.devicemanagement.remoteassistancepartners.item.beginonboarding.BeginOnboardingRequestBuilder::|public|withUrl(rawUrl:String):BeginOnboardingRequestBuilder com.microsoft.graph.beta.devicemanagement.remoteassistancepartners.item.disconnect.DisconnectRequestBuilder-->BaseRequestBuilder com.microsoft.graph.beta.devicemanagement.remoteassistancepartners.item.disconnect.DisconnectRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration @@ -76407,6 +76367,7 @@ com.microsoft.graph.beta.devices.DevicesRequestBuilder::|public|getByIds:GetById com.microsoft.graph.beta.devices.DevicesRequestBuilder::|public|getUserOwnedObjects:GetUserOwnedObjectsRequestBuilder com.microsoft.graph.beta.devices.DevicesRequestBuilder::|public|post(body:Device):Device com.microsoft.graph.beta.devices.DevicesRequestBuilder::|public|post(body:Device; requestConfiguration?:java.util.function.Consumer):Device +com.microsoft.graph.beta.devices.DevicesRequestBuilder::|public|provision:ProvisionRequestBuilder com.microsoft.graph.beta.devices.DevicesRequestBuilder::|public|toGetRequestInformation():RequestInformation com.microsoft.graph.beta.devices.DevicesRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.devices.DevicesRequestBuilder::|public|toPostRequestInformation(body:Device):RequestInformation @@ -77760,6 +77721,27 @@ com.microsoft.graph.beta.devices.item.usagerights.UsageRightsRequestBuilder::|pu com.microsoft.graph.beta.devices.item.usagerights.UsageRightsRequestBuilder::|public|toPostRequestInformation(body:UsageRight):RequestInformation com.microsoft.graph.beta.devices.item.usagerights.UsageRightsRequestBuilder::|public|toPostRequestInformation(body:UsageRight; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.devices.item.usagerights.UsageRightsRequestBuilder::|public|withUrl(rawUrl:String):UsageRightsRequestBuilder +com.microsoft.graph.beta.devices.provision.ProvisionPostRequestBody::|protected|backingStore:BackingStore +com.microsoft.graph.beta.devices.provision.ProvisionPostRequestBody::|public|constructor():void +com.microsoft.graph.beta.devices.provision.ProvisionPostRequestBody::|public|getAdditionalData():Map +com.microsoft.graph.beta.devices.provision.ProvisionPostRequestBody::|public|getBackingStore():BackingStore +com.microsoft.graph.beta.devices.provision.ProvisionPostRequestBody::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.devices.provision.ProvisionPostRequestBody::|public|getProvisioningBlob():String +com.microsoft.graph.beta.devices.provision.ProvisionPostRequestBody::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.devices.provision.ProvisionPostRequestBody::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.beta.devices.provision.ProvisionPostRequestBody::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.beta.devices.provision.ProvisionPostRequestBody::|public|setProvisioningBlob(value?:String):void +com.microsoft.graph.beta.devices.provision.ProvisionPostRequestBody::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):ProvisionPostRequestBody +com.microsoft.graph.beta.devices.provision.ProvisionPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.beta.devices.provision.ProvisionRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.devices.provision.ProvisionRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.devices.provision.ProvisionRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.devices.provision.ProvisionRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.devices.provision.ProvisionRequestBuilder::|public|post(body:ProvisionPostRequestBody):ProvisionResponse +com.microsoft.graph.beta.devices.provision.ProvisionRequestBuilder::|public|post(body:ProvisionPostRequestBody; requestConfiguration?:java.util.function.Consumer):ProvisionResponse +com.microsoft.graph.beta.devices.provision.ProvisionRequestBuilder::|public|toPostRequestInformation(body:ProvisionPostRequestBody):RequestInformation +com.microsoft.graph.beta.devices.provision.ProvisionRequestBuilder::|public|toPostRequestInformation(body:ProvisionPostRequestBody; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.devices.provision.ProvisionRequestBuilder::|public|withUrl(rawUrl:String):ProvisionRequestBuilder com.microsoft.graph.beta.devices.validateproperties.ValidatePropertiesPostRequestBody::|protected|backingStore:BackingStore com.microsoft.graph.beta.devices.validateproperties.ValidatePropertiesPostRequestBody::|public|constructor():void com.microsoft.graph.beta.devices.validateproperties.ValidatePropertiesPostRequestBody::|public|getAdditionalData():Map @@ -80024,6 +80006,36 @@ com.microsoft.graph.beta.directory.federationconfigurations.item.IdentityProvide com.microsoft.graph.beta.directory.federationconfigurations.item.IdentityProviderBaseItemRequestBuilder::|public|toPatchRequestInformation(body:IdentityProviderBase):RequestInformation com.microsoft.graph.beta.directory.federationconfigurations.item.IdentityProviderBaseItemRequestBuilder::|public|toPatchRequestInformation(body:IdentityProviderBase; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.directory.federationconfigurations.item.IdentityProviderBaseItemRequestBuilder::|public|withUrl(rawUrl:String):IdentityProviderBaseItemRequestBuilder +com.microsoft.graph.beta.directory.impactedresources.addtag.AddTagPostRequestBody::|protected|backingStore:BackingStore +com.microsoft.graph.beta.directory.impactedresources.addtag.AddTagPostRequestBody::|public|constructor():void +com.microsoft.graph.beta.directory.impactedresources.addtag.AddTagPostRequestBody::|public|getAdditionalData():Map +com.microsoft.graph.beta.directory.impactedresources.addtag.AddTagPostRequestBody::|public|getBackingStore():BackingStore +com.microsoft.graph.beta.directory.impactedresources.addtag.AddTagPostRequestBody::|public|getDisplayName():String +com.microsoft.graph.beta.directory.impactedresources.addtag.AddTagPostRequestBody::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.directory.impactedresources.addtag.AddTagPostRequestBody::|public|getResourceIds():java.util.List +com.microsoft.graph.beta.directory.impactedresources.addtag.AddTagPostRequestBody::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.directory.impactedresources.addtag.AddTagPostRequestBody::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.beta.directory.impactedresources.addtag.AddTagPostRequestBody::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.beta.directory.impactedresources.addtag.AddTagPostRequestBody::|public|setDisplayName(value?:String):void +com.microsoft.graph.beta.directory.impactedresources.addtag.AddTagPostRequestBody::|public|setResourceIds(value?:java.util.List):void +com.microsoft.graph.beta.directory.impactedresources.addtag.AddTagPostRequestBody::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):AddTagPostRequestBody +com.microsoft.graph.beta.directory.impactedresources.addtag.AddTagPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.beta.directory.impactedresources.addtag.AddTagPostResponse-->BaseCollectionPaginationCountResponse +com.microsoft.graph.beta.directory.impactedresources.addtag.AddTagPostResponse::|public|constructor():void +com.microsoft.graph.beta.directory.impactedresources.addtag.AddTagPostResponse::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.directory.impactedresources.addtag.AddTagPostResponse::|public|getValue():java.util.List +com.microsoft.graph.beta.directory.impactedresources.addtag.AddTagPostResponse::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.directory.impactedresources.addtag.AddTagPostResponse::|public|setValue(value?:java.util.List):void +com.microsoft.graph.beta.directory.impactedresources.addtag.AddTagPostResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):AddTagPostResponse +com.microsoft.graph.beta.directory.impactedresources.addtag.AddTagRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.directory.impactedresources.addtag.AddTagRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.directory.impactedresources.addtag.AddTagRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.impactedresources.addtag.AddTagRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.impactedresources.addtag.AddTagRequestBuilder::|public|post(body:AddTagPostRequestBody):AddTagPostResponse +com.microsoft.graph.beta.directory.impactedresources.addtag.AddTagRequestBuilder::|public|post(body:AddTagPostRequestBody; requestConfiguration?:java.util.function.Consumer):AddTagPostResponse +com.microsoft.graph.beta.directory.impactedresources.addtag.AddTagRequestBuilder::|public|toPostRequestInformation(body:AddTagPostRequestBody):RequestInformation +com.microsoft.graph.beta.directory.impactedresources.addtag.AddTagRequestBuilder::|public|toPostRequestInformation(body:AddTagPostRequestBody; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.directory.impactedresources.addtag.AddTagRequestBuilder::|public|withUrl(rawUrl:String):AddTagRequestBuilder com.microsoft.graph.beta.directory.impactedresources.count.CountRequestBuilder-->BaseRequestBuilder com.microsoft.graph.beta.directory.impactedresources.count.CountRequestBuilder.GetQueryParameters::|public|filter:String com.microsoft.graph.beta.directory.impactedresources.count.CountRequestBuilder.GetQueryParameters::|public|search:String @@ -80052,6 +80064,7 @@ com.microsoft.graph.beta.directory.impactedresources.ImpactedResourcesRequestBui com.microsoft.graph.beta.directory.impactedresources.ImpactedResourcesRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.beta.directory.impactedresources.ImpactedResourcesRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters com.microsoft.graph.beta.directory.impactedresources.ImpactedResourcesRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.directory.impactedresources.ImpactedResourcesRequestBuilder::|public|addTag:AddTagRequestBuilder com.microsoft.graph.beta.directory.impactedresources.ImpactedResourcesRequestBuilder::|public|byImpactedResourceId(impactedResourceId:String):ImpactedResourceItemRequestBuilder com.microsoft.graph.beta.directory.impactedresources.ImpactedResourcesRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void com.microsoft.graph.beta.directory.impactedresources.ImpactedResourcesRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void @@ -80060,11 +80073,51 @@ com.microsoft.graph.beta.directory.impactedresources.ImpactedResourcesRequestBui com.microsoft.graph.beta.directory.impactedresources.ImpactedResourcesRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):ImpactedResourceCollectionResponse com.microsoft.graph.beta.directory.impactedresources.ImpactedResourcesRequestBuilder::|public|post(body:ImpactedResource):ImpactedResource com.microsoft.graph.beta.directory.impactedresources.ImpactedResourcesRequestBuilder::|public|post(body:ImpactedResource; requestConfiguration?:java.util.function.Consumer):ImpactedResource +com.microsoft.graph.beta.directory.impactedresources.ImpactedResourcesRequestBuilder::|public|removeTag:RemoveTagRequestBuilder com.microsoft.graph.beta.directory.impactedresources.ImpactedResourcesRequestBuilder::|public|toGetRequestInformation():RequestInformation com.microsoft.graph.beta.directory.impactedresources.ImpactedResourcesRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.directory.impactedresources.ImpactedResourcesRequestBuilder::|public|toPostRequestInformation(body:ImpactedResource):RequestInformation com.microsoft.graph.beta.directory.impactedresources.ImpactedResourcesRequestBuilder::|public|toPostRequestInformation(body:ImpactedResource; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.directory.impactedresources.ImpactedResourcesRequestBuilder::|public|withUrl(rawUrl:String):ImpactedResourcesRequestBuilder +com.microsoft.graph.beta.directory.impactedresources.item.acceptrisk.AcceptRiskRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.directory.impactedresources.item.acceptrisk.AcceptRiskRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.directory.impactedresources.item.acceptrisk.AcceptRiskRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.impactedresources.item.acceptrisk.AcceptRiskRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.impactedresources.item.acceptrisk.AcceptRiskRequestBuilder::|public|post():ImpactedResource +com.microsoft.graph.beta.directory.impactedresources.item.acceptrisk.AcceptRiskRequestBuilder::|public|post(requestConfiguration?:java.util.function.Consumer):ImpactedResource +com.microsoft.graph.beta.directory.impactedresources.item.acceptrisk.AcceptRiskRequestBuilder::|public|toPostRequestInformation():RequestInformation +com.microsoft.graph.beta.directory.impactedresources.item.acceptrisk.AcceptRiskRequestBuilder::|public|toPostRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.directory.impactedresources.item.acceptrisk.AcceptRiskRequestBuilder::|public|withUrl(rawUrl:String):AcceptRiskRequestBuilder +com.microsoft.graph.beta.directory.impactedresources.item.addtag.AddTagPostRequestBody::|protected|backingStore:BackingStore +com.microsoft.graph.beta.directory.impactedresources.item.addtag.AddTagPostRequestBody::|public|constructor():void +com.microsoft.graph.beta.directory.impactedresources.item.addtag.AddTagPostRequestBody::|public|getAdditionalData():Map +com.microsoft.graph.beta.directory.impactedresources.item.addtag.AddTagPostRequestBody::|public|getBackingStore():BackingStore +com.microsoft.graph.beta.directory.impactedresources.item.addtag.AddTagPostRequestBody::|public|getDisplayName():String +com.microsoft.graph.beta.directory.impactedresources.item.addtag.AddTagPostRequestBody::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.directory.impactedresources.item.addtag.AddTagPostRequestBody::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.directory.impactedresources.item.addtag.AddTagPostRequestBody::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.beta.directory.impactedresources.item.addtag.AddTagPostRequestBody::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.beta.directory.impactedresources.item.addtag.AddTagPostRequestBody::|public|setDisplayName(value?:String):void +com.microsoft.graph.beta.directory.impactedresources.item.addtag.AddTagPostRequestBody::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):AddTagPostRequestBody +com.microsoft.graph.beta.directory.impactedresources.item.addtag.AddTagPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.beta.directory.impactedresources.item.addtag.AddTagRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.directory.impactedresources.item.addtag.AddTagRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.directory.impactedresources.item.addtag.AddTagRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.impactedresources.item.addtag.AddTagRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.impactedresources.item.addtag.AddTagRequestBuilder::|public|post(body:AddTagPostRequestBody):RecommendationTag +com.microsoft.graph.beta.directory.impactedresources.item.addtag.AddTagRequestBuilder::|public|post(body:AddTagPostRequestBody; requestConfiguration?:java.util.function.Consumer):RecommendationTag +com.microsoft.graph.beta.directory.impactedresources.item.addtag.AddTagRequestBuilder::|public|toPostRequestInformation(body:AddTagPostRequestBody):RequestInformation +com.microsoft.graph.beta.directory.impactedresources.item.addtag.AddTagRequestBuilder::|public|toPostRequestInformation(body:AddTagPostRequestBody; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.directory.impactedresources.item.addtag.AddTagRequestBuilder::|public|withUrl(rawUrl:String):AddTagRequestBuilder +com.microsoft.graph.beta.directory.impactedresources.item.applyalternatemitigation.ApplyAlternateMitigationRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.directory.impactedresources.item.applyalternatemitigation.ApplyAlternateMitigationRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.directory.impactedresources.item.applyalternatemitigation.ApplyAlternateMitigationRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.impactedresources.item.applyalternatemitigation.ApplyAlternateMitigationRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.impactedresources.item.applyalternatemitigation.ApplyAlternateMitigationRequestBuilder::|public|post():ImpactedResource +com.microsoft.graph.beta.directory.impactedresources.item.applyalternatemitigation.ApplyAlternateMitigationRequestBuilder::|public|post(requestConfiguration?:java.util.function.Consumer):ImpactedResource +com.microsoft.graph.beta.directory.impactedresources.item.applyalternatemitigation.ApplyAlternateMitigationRequestBuilder::|public|toPostRequestInformation():RequestInformation +com.microsoft.graph.beta.directory.impactedresources.item.applyalternatemitigation.ApplyAlternateMitigationRequestBuilder::|public|toPostRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.directory.impactedresources.item.applyalternatemitigation.ApplyAlternateMitigationRequestBuilder::|public|withUrl(rawUrl:String):ApplyAlternateMitigationRequestBuilder com.microsoft.graph.beta.directory.impactedresources.item.complete.CompleteRequestBuilder-->BaseRequestBuilder com.microsoft.graph.beta.directory.impactedresources.item.complete.CompleteRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.beta.directory.impactedresources.item.complete.CompleteRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void @@ -80104,6 +80157,9 @@ com.microsoft.graph.beta.directory.impactedresources.item.ImpactedResourceItemRe com.microsoft.graph.beta.directory.impactedresources.item.ImpactedResourceItemRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.beta.directory.impactedresources.item.ImpactedResourceItemRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters com.microsoft.graph.beta.directory.impactedresources.item.ImpactedResourceItemRequestBuilder.PatchRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.directory.impactedresources.item.ImpactedResourceItemRequestBuilder::|public|acceptRisk:AcceptRiskRequestBuilder +com.microsoft.graph.beta.directory.impactedresources.item.ImpactedResourceItemRequestBuilder::|public|addTag:AddTagRequestBuilder +com.microsoft.graph.beta.directory.impactedresources.item.ImpactedResourceItemRequestBuilder::|public|applyAlternateMitigation:ApplyAlternateMitigationRequestBuilder com.microsoft.graph.beta.directory.impactedresources.item.ImpactedResourceItemRequestBuilder::|public|complete:CompleteRequestBuilder com.microsoft.graph.beta.directory.impactedresources.item.ImpactedResourceItemRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void com.microsoft.graph.beta.directory.impactedresources.item.ImpactedResourceItemRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void @@ -80112,10 +80168,13 @@ com.microsoft.graph.beta.directory.impactedresources.item.ImpactedResourceItemRe com.microsoft.graph.beta.directory.impactedresources.item.ImpactedResourceItemRequestBuilder::|public|dismiss:DismissRequestBuilder com.microsoft.graph.beta.directory.impactedresources.item.ImpactedResourceItemRequestBuilder::|public|get():ImpactedResource com.microsoft.graph.beta.directory.impactedresources.item.ImpactedResourceItemRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):ImpactedResource +com.microsoft.graph.beta.directory.impactedresources.item.ImpactedResourceItemRequestBuilder::|public|markPlanned:MarkPlannedRequestBuilder com.microsoft.graph.beta.directory.impactedresources.item.ImpactedResourceItemRequestBuilder::|public|patch(body:ImpactedResource):ImpactedResource com.microsoft.graph.beta.directory.impactedresources.item.ImpactedResourceItemRequestBuilder::|public|patch(body:ImpactedResource; requestConfiguration?:java.util.function.Consumer):ImpactedResource com.microsoft.graph.beta.directory.impactedresources.item.ImpactedResourceItemRequestBuilder::|public|postpone:PostponeRequestBuilder com.microsoft.graph.beta.directory.impactedresources.item.ImpactedResourceItemRequestBuilder::|public|reactivate:ReactivateRequestBuilder +com.microsoft.graph.beta.directory.impactedresources.item.ImpactedResourceItemRequestBuilder::|public|removeTag:RemoveTagRequestBuilder +com.microsoft.graph.beta.directory.impactedresources.item.ImpactedResourceItemRequestBuilder::|public|tags:TagsRequestBuilder com.microsoft.graph.beta.directory.impactedresources.item.ImpactedResourceItemRequestBuilder::|public|toDeleteRequestInformation():RequestInformation com.microsoft.graph.beta.directory.impactedresources.item.ImpactedResourceItemRequestBuilder::|public|toDeleteRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.directory.impactedresources.item.ImpactedResourceItemRequestBuilder::|public|toGetRequestInformation():RequestInformation @@ -80123,6 +80182,15 @@ com.microsoft.graph.beta.directory.impactedresources.item.ImpactedResourceItemRe com.microsoft.graph.beta.directory.impactedresources.item.ImpactedResourceItemRequestBuilder::|public|toPatchRequestInformation(body:ImpactedResource):RequestInformation com.microsoft.graph.beta.directory.impactedresources.item.ImpactedResourceItemRequestBuilder::|public|toPatchRequestInformation(body:ImpactedResource; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.directory.impactedresources.item.ImpactedResourceItemRequestBuilder::|public|withUrl(rawUrl:String):ImpactedResourceItemRequestBuilder +com.microsoft.graph.beta.directory.impactedresources.item.markplanned.MarkPlannedRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.directory.impactedresources.item.markplanned.MarkPlannedRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.directory.impactedresources.item.markplanned.MarkPlannedRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.impactedresources.item.markplanned.MarkPlannedRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.impactedresources.item.markplanned.MarkPlannedRequestBuilder::|public|post():ImpactedResource +com.microsoft.graph.beta.directory.impactedresources.item.markplanned.MarkPlannedRequestBuilder::|public|post(requestConfiguration?:java.util.function.Consumer):ImpactedResource +com.microsoft.graph.beta.directory.impactedresources.item.markplanned.MarkPlannedRequestBuilder::|public|toPostRequestInformation():RequestInformation +com.microsoft.graph.beta.directory.impactedresources.item.markplanned.MarkPlannedRequestBuilder::|public|toPostRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.directory.impactedresources.item.markplanned.MarkPlannedRequestBuilder::|public|withUrl(rawUrl:String):MarkPlannedRequestBuilder com.microsoft.graph.beta.directory.impactedresources.item.postpone.PostponePostRequestBody::|protected|backingStore:BackingStore com.microsoft.graph.beta.directory.impactedresources.item.postpone.PostponePostRequestBody::|public|constructor():void com.microsoft.graph.beta.directory.impactedresources.item.postpone.PostponePostRequestBody::|public|getAdditionalData():Map @@ -80153,6 +80221,122 @@ com.microsoft.graph.beta.directory.impactedresources.item.reactivate.ReactivateR com.microsoft.graph.beta.directory.impactedresources.item.reactivate.ReactivateRequestBuilder::|public|toPostRequestInformation():RequestInformation com.microsoft.graph.beta.directory.impactedresources.item.reactivate.ReactivateRequestBuilder::|public|toPostRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.directory.impactedresources.item.reactivate.ReactivateRequestBuilder::|public|withUrl(rawUrl:String):ReactivateRequestBuilder +com.microsoft.graph.beta.directory.impactedresources.item.removetag.RemoveTagPostRequestBody::|protected|backingStore:BackingStore +com.microsoft.graph.beta.directory.impactedresources.item.removetag.RemoveTagPostRequestBody::|public|constructor():void +com.microsoft.graph.beta.directory.impactedresources.item.removetag.RemoveTagPostRequestBody::|public|getAdditionalData():Map +com.microsoft.graph.beta.directory.impactedresources.item.removetag.RemoveTagPostRequestBody::|public|getBackingStore():BackingStore +com.microsoft.graph.beta.directory.impactedresources.item.removetag.RemoveTagPostRequestBody::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.directory.impactedresources.item.removetag.RemoveTagPostRequestBody::|public|getTagId():String +com.microsoft.graph.beta.directory.impactedresources.item.removetag.RemoveTagPostRequestBody::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.directory.impactedresources.item.removetag.RemoveTagPostRequestBody::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.beta.directory.impactedresources.item.removetag.RemoveTagPostRequestBody::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.beta.directory.impactedresources.item.removetag.RemoveTagPostRequestBody::|public|setTagId(value?:String):void +com.microsoft.graph.beta.directory.impactedresources.item.removetag.RemoveTagPostRequestBody::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):RemoveTagPostRequestBody +com.microsoft.graph.beta.directory.impactedresources.item.removetag.RemoveTagPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.beta.directory.impactedresources.item.removetag.RemoveTagRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.directory.impactedresources.item.removetag.RemoveTagRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.directory.impactedresources.item.removetag.RemoveTagRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.impactedresources.item.removetag.RemoveTagRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.impactedresources.item.removetag.RemoveTagRequestBuilder::|public|post(body:RemoveTagPostRequestBody):ImpactedResource +com.microsoft.graph.beta.directory.impactedresources.item.removetag.RemoveTagRequestBuilder::|public|post(body:RemoveTagPostRequestBody; requestConfiguration?:java.util.function.Consumer):ImpactedResource +com.microsoft.graph.beta.directory.impactedresources.item.removetag.RemoveTagRequestBuilder::|public|toPostRequestInformation(body:RemoveTagPostRequestBody):RequestInformation +com.microsoft.graph.beta.directory.impactedresources.item.removetag.RemoveTagRequestBuilder::|public|toPostRequestInformation(body:RemoveTagPostRequestBody; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.directory.impactedresources.item.removetag.RemoveTagRequestBuilder::|public|withUrl(rawUrl:String):RemoveTagRequestBuilder +com.microsoft.graph.beta.directory.impactedresources.item.tags.count.CountRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.directory.impactedresources.item.tags.count.CountRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.beta.directory.impactedresources.item.tags.count.CountRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.beta.directory.impactedresources.item.tags.count.CountRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.directory.impactedresources.item.tags.count.CountRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.directory.impactedresources.item.tags.count.CountRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.directory.impactedresources.item.tags.count.CountRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.directory.impactedresources.item.tags.count.CountRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.impactedresources.item.tags.count.CountRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.impactedresources.item.tags.count.CountRequestBuilder::|public|get():Integer +com.microsoft.graph.beta.directory.impactedresources.item.tags.count.CountRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):Integer +com.microsoft.graph.beta.directory.impactedresources.item.tags.count.CountRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.directory.impactedresources.item.tags.count.CountRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.directory.impactedresources.item.tags.count.CountRequestBuilder::|public|withUrl(rawUrl:String):CountRequestBuilder +com.microsoft.graph.beta.directory.impactedresources.item.tags.item.RecommendationTagItemRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.directory.impactedresources.item.tags.item.RecommendationTagItemRequestBuilder.DeleteRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.directory.impactedresources.item.tags.item.RecommendationTagItemRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.beta.directory.impactedresources.item.tags.item.RecommendationTagItemRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.beta.directory.impactedresources.item.tags.item.RecommendationTagItemRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.directory.impactedresources.item.tags.item.RecommendationTagItemRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.directory.impactedresources.item.tags.item.RecommendationTagItemRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.directory.impactedresources.item.tags.item.RecommendationTagItemRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.directory.impactedresources.item.tags.item.RecommendationTagItemRequestBuilder.PatchRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.directory.impactedresources.item.tags.item.RecommendationTagItemRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.impactedresources.item.tags.item.RecommendationTagItemRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.impactedresources.item.tags.item.RecommendationTagItemRequestBuilder::|public|delete():Void +com.microsoft.graph.beta.directory.impactedresources.item.tags.item.RecommendationTagItemRequestBuilder::|public|delete(requestConfiguration?:java.util.function.Consumer):Void +com.microsoft.graph.beta.directory.impactedresources.item.tags.item.RecommendationTagItemRequestBuilder::|public|get():RecommendationTag +com.microsoft.graph.beta.directory.impactedresources.item.tags.item.RecommendationTagItemRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):RecommendationTag +com.microsoft.graph.beta.directory.impactedresources.item.tags.item.RecommendationTagItemRequestBuilder::|public|patch(body:RecommendationTag):RecommendationTag +com.microsoft.graph.beta.directory.impactedresources.item.tags.item.RecommendationTagItemRequestBuilder::|public|patch(body:RecommendationTag; requestConfiguration?:java.util.function.Consumer):RecommendationTag +com.microsoft.graph.beta.directory.impactedresources.item.tags.item.RecommendationTagItemRequestBuilder::|public|toDeleteRequestInformation():RequestInformation +com.microsoft.graph.beta.directory.impactedresources.item.tags.item.RecommendationTagItemRequestBuilder::|public|toDeleteRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.directory.impactedresources.item.tags.item.RecommendationTagItemRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.directory.impactedresources.item.tags.item.RecommendationTagItemRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.directory.impactedresources.item.tags.item.RecommendationTagItemRequestBuilder::|public|toPatchRequestInformation(body:RecommendationTag):RequestInformation +com.microsoft.graph.beta.directory.impactedresources.item.tags.item.RecommendationTagItemRequestBuilder::|public|toPatchRequestInformation(body:RecommendationTag; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.directory.impactedresources.item.tags.item.RecommendationTagItemRequestBuilder::|public|withUrl(rawUrl:String):RecommendationTagItemRequestBuilder +com.microsoft.graph.beta.directory.impactedresources.item.tags.TagsRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.directory.impactedresources.item.tags.TagsRequestBuilder.GetQueryParameters::|public|count:Boolean +com.microsoft.graph.beta.directory.impactedresources.item.tags.TagsRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.beta.directory.impactedresources.item.tags.TagsRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.beta.directory.impactedresources.item.tags.TagsRequestBuilder.GetQueryParameters::|public|orderby:String[] +com.microsoft.graph.beta.directory.impactedresources.item.tags.TagsRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.beta.directory.impactedresources.item.tags.TagsRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.beta.directory.impactedresources.item.tags.TagsRequestBuilder.GetQueryParameters::|public|skip:Integer +com.microsoft.graph.beta.directory.impactedresources.item.tags.TagsRequestBuilder.GetQueryParameters::|public|top:Integer +com.microsoft.graph.beta.directory.impactedresources.item.tags.TagsRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.directory.impactedresources.item.tags.TagsRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.directory.impactedresources.item.tags.TagsRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.directory.impactedresources.item.tags.TagsRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.directory.impactedresources.item.tags.TagsRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.directory.impactedresources.item.tags.TagsRequestBuilder::|public|byRecommendationTagId(recommendationTagId:String):RecommendationTagItemRequestBuilder +com.microsoft.graph.beta.directory.impactedresources.item.tags.TagsRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.impactedresources.item.tags.TagsRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.impactedresources.item.tags.TagsRequestBuilder::|public|count:CountRequestBuilder +com.microsoft.graph.beta.directory.impactedresources.item.tags.TagsRequestBuilder::|public|get():RecommendationTagCollectionResponse +com.microsoft.graph.beta.directory.impactedresources.item.tags.TagsRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):RecommendationTagCollectionResponse +com.microsoft.graph.beta.directory.impactedresources.item.tags.TagsRequestBuilder::|public|post(body:RecommendationTag):RecommendationTag +com.microsoft.graph.beta.directory.impactedresources.item.tags.TagsRequestBuilder::|public|post(body:RecommendationTag; requestConfiguration?:java.util.function.Consumer):RecommendationTag +com.microsoft.graph.beta.directory.impactedresources.item.tags.TagsRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.directory.impactedresources.item.tags.TagsRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.directory.impactedresources.item.tags.TagsRequestBuilder::|public|toPostRequestInformation(body:RecommendationTag):RequestInformation +com.microsoft.graph.beta.directory.impactedresources.item.tags.TagsRequestBuilder::|public|toPostRequestInformation(body:RecommendationTag; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.directory.impactedresources.item.tags.TagsRequestBuilder::|public|withUrl(rawUrl:String):TagsRequestBuilder +com.microsoft.graph.beta.directory.impactedresources.removetag.RemoveTagPostRequestBody::|protected|backingStore:BackingStore +com.microsoft.graph.beta.directory.impactedresources.removetag.RemoveTagPostRequestBody::|public|constructor():void +com.microsoft.graph.beta.directory.impactedresources.removetag.RemoveTagPostRequestBody::|public|getAdditionalData():Map +com.microsoft.graph.beta.directory.impactedresources.removetag.RemoveTagPostRequestBody::|public|getBackingStore():BackingStore +com.microsoft.graph.beta.directory.impactedresources.removetag.RemoveTagPostRequestBody::|public|getDisplayName():String +com.microsoft.graph.beta.directory.impactedresources.removetag.RemoveTagPostRequestBody::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.directory.impactedresources.removetag.RemoveTagPostRequestBody::|public|getResourceIds():java.util.List +com.microsoft.graph.beta.directory.impactedresources.removetag.RemoveTagPostRequestBody::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.directory.impactedresources.removetag.RemoveTagPostRequestBody::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.beta.directory.impactedresources.removetag.RemoveTagPostRequestBody::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.beta.directory.impactedresources.removetag.RemoveTagPostRequestBody::|public|setDisplayName(value?:String):void +com.microsoft.graph.beta.directory.impactedresources.removetag.RemoveTagPostRequestBody::|public|setResourceIds(value?:java.util.List):void +com.microsoft.graph.beta.directory.impactedresources.removetag.RemoveTagPostRequestBody::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):RemoveTagPostRequestBody +com.microsoft.graph.beta.directory.impactedresources.removetag.RemoveTagPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.beta.directory.impactedresources.removetag.RemoveTagPostResponse-->BaseCollectionPaginationCountResponse +com.microsoft.graph.beta.directory.impactedresources.removetag.RemoveTagPostResponse::|public|constructor():void +com.microsoft.graph.beta.directory.impactedresources.removetag.RemoveTagPostResponse::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.directory.impactedresources.removetag.RemoveTagPostResponse::|public|getValue():java.util.List +com.microsoft.graph.beta.directory.impactedresources.removetag.RemoveTagPostResponse::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.directory.impactedresources.removetag.RemoveTagPostResponse::|public|setValue(value?:java.util.List):void +com.microsoft.graph.beta.directory.impactedresources.removetag.RemoveTagPostResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):RemoveTagPostResponse +com.microsoft.graph.beta.directory.impactedresources.removetag.RemoveTagRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.directory.impactedresources.removetag.RemoveTagRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.directory.impactedresources.removetag.RemoveTagRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.impactedresources.removetag.RemoveTagRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.impactedresources.removetag.RemoveTagRequestBuilder::|public|post(body:RemoveTagPostRequestBody):RemoveTagPostResponse +com.microsoft.graph.beta.directory.impactedresources.removetag.RemoveTagRequestBuilder::|public|post(body:RemoveTagPostRequestBody; requestConfiguration?:java.util.function.Consumer):RemoveTagPostResponse +com.microsoft.graph.beta.directory.impactedresources.removetag.RemoveTagRequestBuilder::|public|toPostRequestInformation(body:RemoveTagPostRequestBody):RequestInformation +com.microsoft.graph.beta.directory.impactedresources.removetag.RemoveTagRequestBuilder::|public|toPostRequestInformation(body:RemoveTagPostRequestBody; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.directory.impactedresources.removetag.RemoveTagRequestBuilder::|public|withUrl(rawUrl:String):RemoveTagRequestBuilder com.microsoft.graph.beta.directory.inboundshareduserprofiles.count.CountRequestBuilder-->BaseRequestBuilder com.microsoft.graph.beta.directory.inboundshareduserprofiles.count.CountRequestBuilder.GetQueryParameters::|public|filter:String com.microsoft.graph.beta.directory.inboundshareduserprofiles.count.CountRequestBuilder.GetQueryParameters::|public|search:String @@ -80739,6 +80923,45 @@ com.microsoft.graph.beta.directory.recommendations.count.CountRequestBuilder::|p com.microsoft.graph.beta.directory.recommendations.count.CountRequestBuilder::|public|toGetRequestInformation():RequestInformation com.microsoft.graph.beta.directory.recommendations.count.CountRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.directory.recommendations.count.CountRequestBuilder::|public|withUrl(rawUrl:String):CountRequestBuilder +com.microsoft.graph.beta.directory.recommendations.item.acceptrisk.AcceptRiskRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.directory.recommendations.item.acceptrisk.AcceptRiskRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.directory.recommendations.item.acceptrisk.AcceptRiskRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.recommendations.item.acceptrisk.AcceptRiskRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.recommendations.item.acceptrisk.AcceptRiskRequestBuilder::|public|post():Recommendation +com.microsoft.graph.beta.directory.recommendations.item.acceptrisk.AcceptRiskRequestBuilder::|public|post(requestConfiguration?:java.util.function.Consumer):Recommendation +com.microsoft.graph.beta.directory.recommendations.item.acceptrisk.AcceptRiskRequestBuilder::|public|toPostRequestInformation():RequestInformation +com.microsoft.graph.beta.directory.recommendations.item.acceptrisk.AcceptRiskRequestBuilder::|public|toPostRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.directory.recommendations.item.acceptrisk.AcceptRiskRequestBuilder::|public|withUrl(rawUrl:String):AcceptRiskRequestBuilder +com.microsoft.graph.beta.directory.recommendations.item.addtag.AddTagPostRequestBody::|protected|backingStore:BackingStore +com.microsoft.graph.beta.directory.recommendations.item.addtag.AddTagPostRequestBody::|public|constructor():void +com.microsoft.graph.beta.directory.recommendations.item.addtag.AddTagPostRequestBody::|public|getAdditionalData():Map +com.microsoft.graph.beta.directory.recommendations.item.addtag.AddTagPostRequestBody::|public|getBackingStore():BackingStore +com.microsoft.graph.beta.directory.recommendations.item.addtag.AddTagPostRequestBody::|public|getDisplayName():String +com.microsoft.graph.beta.directory.recommendations.item.addtag.AddTagPostRequestBody::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.directory.recommendations.item.addtag.AddTagPostRequestBody::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.directory.recommendations.item.addtag.AddTagPostRequestBody::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.beta.directory.recommendations.item.addtag.AddTagPostRequestBody::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.beta.directory.recommendations.item.addtag.AddTagPostRequestBody::|public|setDisplayName(value?:String):void +com.microsoft.graph.beta.directory.recommendations.item.addtag.AddTagPostRequestBody::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):AddTagPostRequestBody +com.microsoft.graph.beta.directory.recommendations.item.addtag.AddTagPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.beta.directory.recommendations.item.addtag.AddTagRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.directory.recommendations.item.addtag.AddTagRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.directory.recommendations.item.addtag.AddTagRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.recommendations.item.addtag.AddTagRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.recommendations.item.addtag.AddTagRequestBuilder::|public|post(body:AddTagPostRequestBody):RecommendationTag +com.microsoft.graph.beta.directory.recommendations.item.addtag.AddTagRequestBuilder::|public|post(body:AddTagPostRequestBody; requestConfiguration?:java.util.function.Consumer):RecommendationTag +com.microsoft.graph.beta.directory.recommendations.item.addtag.AddTagRequestBuilder::|public|toPostRequestInformation(body:AddTagPostRequestBody):RequestInformation +com.microsoft.graph.beta.directory.recommendations.item.addtag.AddTagRequestBuilder::|public|toPostRequestInformation(body:AddTagPostRequestBody; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.directory.recommendations.item.addtag.AddTagRequestBuilder::|public|withUrl(rawUrl:String):AddTagRequestBuilder +com.microsoft.graph.beta.directory.recommendations.item.applyalternatemitigation.ApplyAlternateMitigationRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.directory.recommendations.item.applyalternatemitigation.ApplyAlternateMitigationRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.directory.recommendations.item.applyalternatemitigation.ApplyAlternateMitigationRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.recommendations.item.applyalternatemitigation.ApplyAlternateMitigationRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.recommendations.item.applyalternatemitigation.ApplyAlternateMitigationRequestBuilder::|public|post():Recommendation +com.microsoft.graph.beta.directory.recommendations.item.applyalternatemitigation.ApplyAlternateMitigationRequestBuilder::|public|post(requestConfiguration?:java.util.function.Consumer):Recommendation +com.microsoft.graph.beta.directory.recommendations.item.applyalternatemitigation.ApplyAlternateMitigationRequestBuilder::|public|toPostRequestInformation():RequestInformation +com.microsoft.graph.beta.directory.recommendations.item.applyalternatemitigation.ApplyAlternateMitigationRequestBuilder::|public|toPostRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.directory.recommendations.item.applyalternatemitigation.ApplyAlternateMitigationRequestBuilder::|public|withUrl(rawUrl:String):ApplyAlternateMitigationRequestBuilder com.microsoft.graph.beta.directory.recommendations.item.complete.CompleteRequestBuilder-->BaseRequestBuilder com.microsoft.graph.beta.directory.recommendations.item.complete.CompleteRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.beta.directory.recommendations.item.complete.CompleteRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void @@ -80769,6 +80992,36 @@ com.microsoft.graph.beta.directory.recommendations.item.dismiss.DismissRequestBu com.microsoft.graph.beta.directory.recommendations.item.dismiss.DismissRequestBuilder::|public|toPostRequestInformation(body:DismissPostRequestBody):RequestInformation com.microsoft.graph.beta.directory.recommendations.item.dismiss.DismissRequestBuilder::|public|toPostRequestInformation(body:DismissPostRequestBody; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.directory.recommendations.item.dismiss.DismissRequestBuilder::|public|withUrl(rawUrl:String):DismissRequestBuilder +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.addtag.AddTagPostRequestBody::|protected|backingStore:BackingStore +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.addtag.AddTagPostRequestBody::|public|constructor():void +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.addtag.AddTagPostRequestBody::|public|getAdditionalData():Map +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.addtag.AddTagPostRequestBody::|public|getBackingStore():BackingStore +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.addtag.AddTagPostRequestBody::|public|getDisplayName():String +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.addtag.AddTagPostRequestBody::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.addtag.AddTagPostRequestBody::|public|getResourceIds():java.util.List +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.addtag.AddTagPostRequestBody::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.addtag.AddTagPostRequestBody::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.addtag.AddTagPostRequestBody::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.addtag.AddTagPostRequestBody::|public|setDisplayName(value?:String):void +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.addtag.AddTagPostRequestBody::|public|setResourceIds(value?:java.util.List):void +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.addtag.AddTagPostRequestBody::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):AddTagPostRequestBody +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.addtag.AddTagPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.addtag.AddTagPostResponse-->BaseCollectionPaginationCountResponse +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.addtag.AddTagPostResponse::|public|constructor():void +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.addtag.AddTagPostResponse::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.addtag.AddTagPostResponse::|public|getValue():java.util.List +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.addtag.AddTagPostResponse::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.addtag.AddTagPostResponse::|public|setValue(value?:java.util.List):void +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.addtag.AddTagPostResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):AddTagPostResponse +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.addtag.AddTagRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.addtag.AddTagRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.addtag.AddTagRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.addtag.AddTagRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.addtag.AddTagRequestBuilder::|public|post(body:AddTagPostRequestBody):AddTagPostResponse +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.addtag.AddTagRequestBuilder::|public|post(body:AddTagPostRequestBody; requestConfiguration?:java.util.function.Consumer):AddTagPostResponse +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.addtag.AddTagRequestBuilder::|public|toPostRequestInformation(body:AddTagPostRequestBody):RequestInformation +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.addtag.AddTagRequestBuilder::|public|toPostRequestInformation(body:AddTagPostRequestBody; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.addtag.AddTagRequestBuilder::|public|withUrl(rawUrl:String):AddTagRequestBuilder com.microsoft.graph.beta.directory.recommendations.item.impactedresources.count.CountRequestBuilder-->BaseRequestBuilder com.microsoft.graph.beta.directory.recommendations.item.impactedresources.count.CountRequestBuilder.GetQueryParameters::|public|filter:String com.microsoft.graph.beta.directory.recommendations.item.impactedresources.count.CountRequestBuilder.GetQueryParameters::|public|search:String @@ -80797,6 +81050,7 @@ com.microsoft.graph.beta.directory.recommendations.item.impactedresources.Impact com.microsoft.graph.beta.directory.recommendations.item.impactedresources.ImpactedResourcesRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.beta.directory.recommendations.item.impactedresources.ImpactedResourcesRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters com.microsoft.graph.beta.directory.recommendations.item.impactedresources.ImpactedResourcesRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.ImpactedResourcesRequestBuilder::|public|addTag:AddTagRequestBuilder com.microsoft.graph.beta.directory.recommendations.item.impactedresources.ImpactedResourcesRequestBuilder::|public|byImpactedResourceId(impactedResourceId:String):ImpactedResourceItemRequestBuilder com.microsoft.graph.beta.directory.recommendations.item.impactedresources.ImpactedResourcesRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void com.microsoft.graph.beta.directory.recommendations.item.impactedresources.ImpactedResourcesRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void @@ -80805,11 +81059,51 @@ com.microsoft.graph.beta.directory.recommendations.item.impactedresources.Impact com.microsoft.graph.beta.directory.recommendations.item.impactedresources.ImpactedResourcesRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):ImpactedResourceCollectionResponse com.microsoft.graph.beta.directory.recommendations.item.impactedresources.ImpactedResourcesRequestBuilder::|public|post(body:ImpactedResource):ImpactedResource com.microsoft.graph.beta.directory.recommendations.item.impactedresources.ImpactedResourcesRequestBuilder::|public|post(body:ImpactedResource; requestConfiguration?:java.util.function.Consumer):ImpactedResource +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.ImpactedResourcesRequestBuilder::|public|removeTag:RemoveTagRequestBuilder com.microsoft.graph.beta.directory.recommendations.item.impactedresources.ImpactedResourcesRequestBuilder::|public|toGetRequestInformation():RequestInformation com.microsoft.graph.beta.directory.recommendations.item.impactedresources.ImpactedResourcesRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.directory.recommendations.item.impactedresources.ImpactedResourcesRequestBuilder::|public|toPostRequestInformation(body:ImpactedResource):RequestInformation com.microsoft.graph.beta.directory.recommendations.item.impactedresources.ImpactedResourcesRequestBuilder::|public|toPostRequestInformation(body:ImpactedResource; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.directory.recommendations.item.impactedresources.ImpactedResourcesRequestBuilder::|public|withUrl(rawUrl:String):ImpactedResourcesRequestBuilder +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.acceptrisk.AcceptRiskRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.acceptrisk.AcceptRiskRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.acceptrisk.AcceptRiskRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.acceptrisk.AcceptRiskRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.acceptrisk.AcceptRiskRequestBuilder::|public|post():ImpactedResource +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.acceptrisk.AcceptRiskRequestBuilder::|public|post(requestConfiguration?:java.util.function.Consumer):ImpactedResource +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.acceptrisk.AcceptRiskRequestBuilder::|public|toPostRequestInformation():RequestInformation +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.acceptrisk.AcceptRiskRequestBuilder::|public|toPostRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.acceptrisk.AcceptRiskRequestBuilder::|public|withUrl(rawUrl:String):AcceptRiskRequestBuilder +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.addtag.AddTagPostRequestBody::|protected|backingStore:BackingStore +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.addtag.AddTagPostRequestBody::|public|constructor():void +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.addtag.AddTagPostRequestBody::|public|getAdditionalData():Map +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.addtag.AddTagPostRequestBody::|public|getBackingStore():BackingStore +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.addtag.AddTagPostRequestBody::|public|getDisplayName():String +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.addtag.AddTagPostRequestBody::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.addtag.AddTagPostRequestBody::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.addtag.AddTagPostRequestBody::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.addtag.AddTagPostRequestBody::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.addtag.AddTagPostRequestBody::|public|setDisplayName(value?:String):void +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.addtag.AddTagPostRequestBody::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):AddTagPostRequestBody +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.addtag.AddTagPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.addtag.AddTagRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.addtag.AddTagRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.addtag.AddTagRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.addtag.AddTagRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.addtag.AddTagRequestBuilder::|public|post(body:AddTagPostRequestBody):RecommendationTag +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.addtag.AddTagRequestBuilder::|public|post(body:AddTagPostRequestBody; requestConfiguration?:java.util.function.Consumer):RecommendationTag +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.addtag.AddTagRequestBuilder::|public|toPostRequestInformation(body:AddTagPostRequestBody):RequestInformation +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.addtag.AddTagRequestBuilder::|public|toPostRequestInformation(body:AddTagPostRequestBody; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.addtag.AddTagRequestBuilder::|public|withUrl(rawUrl:String):AddTagRequestBuilder +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.applyalternatemitigation.ApplyAlternateMitigationRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.applyalternatemitigation.ApplyAlternateMitigationRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.applyalternatemitigation.ApplyAlternateMitigationRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.applyalternatemitigation.ApplyAlternateMitigationRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.applyalternatemitigation.ApplyAlternateMitigationRequestBuilder::|public|post():ImpactedResource +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.applyalternatemitigation.ApplyAlternateMitigationRequestBuilder::|public|post(requestConfiguration?:java.util.function.Consumer):ImpactedResource +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.applyalternatemitigation.ApplyAlternateMitigationRequestBuilder::|public|toPostRequestInformation():RequestInformation +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.applyalternatemitigation.ApplyAlternateMitigationRequestBuilder::|public|toPostRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.applyalternatemitigation.ApplyAlternateMitigationRequestBuilder::|public|withUrl(rawUrl:String):ApplyAlternateMitigationRequestBuilder com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.complete.CompleteRequestBuilder-->BaseRequestBuilder com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.complete.CompleteRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.complete.CompleteRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void @@ -80849,6 +81143,9 @@ com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.I com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.ImpactedResourceItemRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.ImpactedResourceItemRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.ImpactedResourceItemRequestBuilder.PatchRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.ImpactedResourceItemRequestBuilder::|public|acceptRisk:AcceptRiskRequestBuilder +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.ImpactedResourceItemRequestBuilder::|public|addTag:AddTagRequestBuilder +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.ImpactedResourceItemRequestBuilder::|public|applyAlternateMitigation:ApplyAlternateMitigationRequestBuilder com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.ImpactedResourceItemRequestBuilder::|public|complete:CompleteRequestBuilder com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.ImpactedResourceItemRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.ImpactedResourceItemRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void @@ -80857,10 +81154,13 @@ com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.I com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.ImpactedResourceItemRequestBuilder::|public|dismiss:DismissRequestBuilder com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.ImpactedResourceItemRequestBuilder::|public|get():ImpactedResource com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.ImpactedResourceItemRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):ImpactedResource +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.ImpactedResourceItemRequestBuilder::|public|markPlanned:MarkPlannedRequestBuilder com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.ImpactedResourceItemRequestBuilder::|public|patch(body:ImpactedResource):ImpactedResource com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.ImpactedResourceItemRequestBuilder::|public|patch(body:ImpactedResource; requestConfiguration?:java.util.function.Consumer):ImpactedResource com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.ImpactedResourceItemRequestBuilder::|public|postpone:PostponeRequestBuilder com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.ImpactedResourceItemRequestBuilder::|public|reactivate:ReactivateRequestBuilder +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.ImpactedResourceItemRequestBuilder::|public|removeTag:RemoveTagRequestBuilder +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.ImpactedResourceItemRequestBuilder::|public|tags:TagsRequestBuilder com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.ImpactedResourceItemRequestBuilder::|public|toDeleteRequestInformation():RequestInformation com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.ImpactedResourceItemRequestBuilder::|public|toDeleteRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.ImpactedResourceItemRequestBuilder::|public|toGetRequestInformation():RequestInformation @@ -80868,6 +81168,15 @@ com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.I com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.ImpactedResourceItemRequestBuilder::|public|toPatchRequestInformation(body:ImpactedResource):RequestInformation com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.ImpactedResourceItemRequestBuilder::|public|toPatchRequestInformation(body:ImpactedResource; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.ImpactedResourceItemRequestBuilder::|public|withUrl(rawUrl:String):ImpactedResourceItemRequestBuilder +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.markplanned.MarkPlannedRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.markplanned.MarkPlannedRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.markplanned.MarkPlannedRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.markplanned.MarkPlannedRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.markplanned.MarkPlannedRequestBuilder::|public|post():ImpactedResource +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.markplanned.MarkPlannedRequestBuilder::|public|post(requestConfiguration?:java.util.function.Consumer):ImpactedResource +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.markplanned.MarkPlannedRequestBuilder::|public|toPostRequestInformation():RequestInformation +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.markplanned.MarkPlannedRequestBuilder::|public|toPostRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.markplanned.MarkPlannedRequestBuilder::|public|withUrl(rawUrl:String):MarkPlannedRequestBuilder com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.postpone.PostponePostRequestBody::|protected|backingStore:BackingStore com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.postpone.PostponePostRequestBody::|public|constructor():void com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.postpone.PostponePostRequestBody::|public|getAdditionalData():Map @@ -80898,6 +81207,131 @@ com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.r com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.reactivate.ReactivateRequestBuilder::|public|toPostRequestInformation():RequestInformation com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.reactivate.ReactivateRequestBuilder::|public|toPostRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.reactivate.ReactivateRequestBuilder::|public|withUrl(rawUrl:String):ReactivateRequestBuilder +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.removetag.RemoveTagPostRequestBody::|protected|backingStore:BackingStore +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.removetag.RemoveTagPostRequestBody::|public|constructor():void +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.removetag.RemoveTagPostRequestBody::|public|getAdditionalData():Map +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.removetag.RemoveTagPostRequestBody::|public|getBackingStore():BackingStore +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.removetag.RemoveTagPostRequestBody::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.removetag.RemoveTagPostRequestBody::|public|getTagId():String +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.removetag.RemoveTagPostRequestBody::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.removetag.RemoveTagPostRequestBody::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.removetag.RemoveTagPostRequestBody::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.removetag.RemoveTagPostRequestBody::|public|setTagId(value?:String):void +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.removetag.RemoveTagPostRequestBody::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):RemoveTagPostRequestBody +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.removetag.RemoveTagPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.removetag.RemoveTagRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.removetag.RemoveTagRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.removetag.RemoveTagRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.removetag.RemoveTagRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.removetag.RemoveTagRequestBuilder::|public|post(body:RemoveTagPostRequestBody):ImpactedResource +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.removetag.RemoveTagRequestBuilder::|public|post(body:RemoveTagPostRequestBody; requestConfiguration?:java.util.function.Consumer):ImpactedResource +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.removetag.RemoveTagRequestBuilder::|public|toPostRequestInformation(body:RemoveTagPostRequestBody):RequestInformation +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.removetag.RemoveTagRequestBuilder::|public|toPostRequestInformation(body:RemoveTagPostRequestBody; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.removetag.RemoveTagRequestBuilder::|public|withUrl(rawUrl:String):RemoveTagRequestBuilder +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.tags.count.CountRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.tags.count.CountRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.tags.count.CountRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.tags.count.CountRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.tags.count.CountRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.tags.count.CountRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.tags.count.CountRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.tags.count.CountRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.tags.count.CountRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.tags.count.CountRequestBuilder::|public|get():Integer +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.tags.count.CountRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):Integer +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.tags.count.CountRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.tags.count.CountRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.tags.count.CountRequestBuilder::|public|withUrl(rawUrl:String):CountRequestBuilder +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.tags.item.RecommendationTagItemRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.tags.item.RecommendationTagItemRequestBuilder.DeleteRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.tags.item.RecommendationTagItemRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.tags.item.RecommendationTagItemRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.tags.item.RecommendationTagItemRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.tags.item.RecommendationTagItemRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.tags.item.RecommendationTagItemRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.tags.item.RecommendationTagItemRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.tags.item.RecommendationTagItemRequestBuilder.PatchRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.tags.item.RecommendationTagItemRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.tags.item.RecommendationTagItemRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.tags.item.RecommendationTagItemRequestBuilder::|public|delete():Void +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.tags.item.RecommendationTagItemRequestBuilder::|public|delete(requestConfiguration?:java.util.function.Consumer):Void +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.tags.item.RecommendationTagItemRequestBuilder::|public|get():RecommendationTag +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.tags.item.RecommendationTagItemRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):RecommendationTag +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.tags.item.RecommendationTagItemRequestBuilder::|public|patch(body:RecommendationTag):RecommendationTag +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.tags.item.RecommendationTagItemRequestBuilder::|public|patch(body:RecommendationTag; requestConfiguration?:java.util.function.Consumer):RecommendationTag +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.tags.item.RecommendationTagItemRequestBuilder::|public|toDeleteRequestInformation():RequestInformation +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.tags.item.RecommendationTagItemRequestBuilder::|public|toDeleteRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.tags.item.RecommendationTagItemRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.tags.item.RecommendationTagItemRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.tags.item.RecommendationTagItemRequestBuilder::|public|toPatchRequestInformation(body:RecommendationTag):RequestInformation +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.tags.item.RecommendationTagItemRequestBuilder::|public|toPatchRequestInformation(body:RecommendationTag; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.tags.item.RecommendationTagItemRequestBuilder::|public|withUrl(rawUrl:String):RecommendationTagItemRequestBuilder +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.tags.TagsRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.tags.TagsRequestBuilder.GetQueryParameters::|public|count:Boolean +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.tags.TagsRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.tags.TagsRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.tags.TagsRequestBuilder.GetQueryParameters::|public|orderby:String[] +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.tags.TagsRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.tags.TagsRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.tags.TagsRequestBuilder.GetQueryParameters::|public|skip:Integer +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.tags.TagsRequestBuilder.GetQueryParameters::|public|top:Integer +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.tags.TagsRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.tags.TagsRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.tags.TagsRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.tags.TagsRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.tags.TagsRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.tags.TagsRequestBuilder::|public|byRecommendationTagId(recommendationTagId:String):RecommendationTagItemRequestBuilder +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.tags.TagsRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.tags.TagsRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.tags.TagsRequestBuilder::|public|count:CountRequestBuilder +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.tags.TagsRequestBuilder::|public|get():RecommendationTagCollectionResponse +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.tags.TagsRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):RecommendationTagCollectionResponse +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.tags.TagsRequestBuilder::|public|post(body:RecommendationTag):RecommendationTag +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.tags.TagsRequestBuilder::|public|post(body:RecommendationTag; requestConfiguration?:java.util.function.Consumer):RecommendationTag +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.tags.TagsRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.tags.TagsRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.tags.TagsRequestBuilder::|public|toPostRequestInformation(body:RecommendationTag):RequestInformation +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.tags.TagsRequestBuilder::|public|toPostRequestInformation(body:RecommendationTag; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.item.tags.TagsRequestBuilder::|public|withUrl(rawUrl:String):TagsRequestBuilder +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.removetag.RemoveTagPostRequestBody::|protected|backingStore:BackingStore +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.removetag.RemoveTagPostRequestBody::|public|constructor():void +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.removetag.RemoveTagPostRequestBody::|public|getAdditionalData():Map +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.removetag.RemoveTagPostRequestBody::|public|getBackingStore():BackingStore +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.removetag.RemoveTagPostRequestBody::|public|getDisplayName():String +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.removetag.RemoveTagPostRequestBody::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.removetag.RemoveTagPostRequestBody::|public|getResourceIds():java.util.List +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.removetag.RemoveTagPostRequestBody::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.removetag.RemoveTagPostRequestBody::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.removetag.RemoveTagPostRequestBody::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.removetag.RemoveTagPostRequestBody::|public|setDisplayName(value?:String):void +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.removetag.RemoveTagPostRequestBody::|public|setResourceIds(value?:java.util.List):void +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.removetag.RemoveTagPostRequestBody::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):RemoveTagPostRequestBody +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.removetag.RemoveTagPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.removetag.RemoveTagPostResponse-->BaseCollectionPaginationCountResponse +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.removetag.RemoveTagPostResponse::|public|constructor():void +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.removetag.RemoveTagPostResponse::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.removetag.RemoveTagPostResponse::|public|getValue():java.util.List +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.removetag.RemoveTagPostResponse::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.removetag.RemoveTagPostResponse::|public|setValue(value?:java.util.List):void +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.removetag.RemoveTagPostResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):RemoveTagPostResponse +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.removetag.RemoveTagRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.removetag.RemoveTagRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.removetag.RemoveTagRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.removetag.RemoveTagRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.removetag.RemoveTagRequestBuilder::|public|post(body:RemoveTagPostRequestBody):RemoveTagPostResponse +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.removetag.RemoveTagRequestBuilder::|public|post(body:RemoveTagPostRequestBody; requestConfiguration?:java.util.function.Consumer):RemoveTagPostResponse +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.removetag.RemoveTagRequestBuilder::|public|toPostRequestInformation(body:RemoveTagPostRequestBody):RequestInformation +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.removetag.RemoveTagRequestBuilder::|public|toPostRequestInformation(body:RemoveTagPostRequestBody; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.directory.recommendations.item.impactedresources.removetag.RemoveTagRequestBuilder::|public|withUrl(rawUrl:String):RemoveTagRequestBuilder +com.microsoft.graph.beta.directory.recommendations.item.markplanned.MarkPlannedRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.directory.recommendations.item.markplanned.MarkPlannedRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.directory.recommendations.item.markplanned.MarkPlannedRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.recommendations.item.markplanned.MarkPlannedRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.recommendations.item.markplanned.MarkPlannedRequestBuilder::|public|post():Recommendation +com.microsoft.graph.beta.directory.recommendations.item.markplanned.MarkPlannedRequestBuilder::|public|post(requestConfiguration?:java.util.function.Consumer):Recommendation +com.microsoft.graph.beta.directory.recommendations.item.markplanned.MarkPlannedRequestBuilder::|public|toPostRequestInformation():RequestInformation +com.microsoft.graph.beta.directory.recommendations.item.markplanned.MarkPlannedRequestBuilder::|public|toPostRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.directory.recommendations.item.markplanned.MarkPlannedRequestBuilder::|public|withUrl(rawUrl:String):MarkPlannedRequestBuilder com.microsoft.graph.beta.directory.recommendations.item.postpone.PostponePostRequestBody::|protected|backingStore:BackingStore com.microsoft.graph.beta.directory.recommendations.item.postpone.PostponePostRequestBody::|public|constructor():void com.microsoft.graph.beta.directory.recommendations.item.postpone.PostponePostRequestBody::|public|getAdditionalData():Map @@ -80937,6 +81371,9 @@ com.microsoft.graph.beta.directory.recommendations.item.RecommendationItemReques com.microsoft.graph.beta.directory.recommendations.item.RecommendationItemRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.beta.directory.recommendations.item.RecommendationItemRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters com.microsoft.graph.beta.directory.recommendations.item.RecommendationItemRequestBuilder.PatchRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.directory.recommendations.item.RecommendationItemRequestBuilder::|public|acceptRisk:AcceptRiskRequestBuilder +com.microsoft.graph.beta.directory.recommendations.item.RecommendationItemRequestBuilder::|public|addTag:AddTagRequestBuilder +com.microsoft.graph.beta.directory.recommendations.item.RecommendationItemRequestBuilder::|public|applyAlternateMitigation:ApplyAlternateMitigationRequestBuilder com.microsoft.graph.beta.directory.recommendations.item.RecommendationItemRequestBuilder::|public|complete:CompleteRequestBuilder com.microsoft.graph.beta.directory.recommendations.item.RecommendationItemRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void com.microsoft.graph.beta.directory.recommendations.item.RecommendationItemRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void @@ -80946,10 +81383,13 @@ com.microsoft.graph.beta.directory.recommendations.item.RecommendationItemReques com.microsoft.graph.beta.directory.recommendations.item.RecommendationItemRequestBuilder::|public|get():Recommendation com.microsoft.graph.beta.directory.recommendations.item.RecommendationItemRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):Recommendation com.microsoft.graph.beta.directory.recommendations.item.RecommendationItemRequestBuilder::|public|impactedResources:ImpactedResourcesRequestBuilder +com.microsoft.graph.beta.directory.recommendations.item.RecommendationItemRequestBuilder::|public|markPlanned:MarkPlannedRequestBuilder com.microsoft.graph.beta.directory.recommendations.item.RecommendationItemRequestBuilder::|public|patch(body:Recommendation):Recommendation com.microsoft.graph.beta.directory.recommendations.item.RecommendationItemRequestBuilder::|public|patch(body:Recommendation; requestConfiguration?:java.util.function.Consumer):Recommendation com.microsoft.graph.beta.directory.recommendations.item.RecommendationItemRequestBuilder::|public|postpone:PostponeRequestBuilder com.microsoft.graph.beta.directory.recommendations.item.RecommendationItemRequestBuilder::|public|reactivate:ReactivateRequestBuilder +com.microsoft.graph.beta.directory.recommendations.item.RecommendationItemRequestBuilder::|public|removeTag:RemoveTagRequestBuilder +com.microsoft.graph.beta.directory.recommendations.item.RecommendationItemRequestBuilder::|public|tags:TagsRequestBuilder com.microsoft.graph.beta.directory.recommendations.item.RecommendationItemRequestBuilder::|public|toDeleteRequestInformation():RequestInformation com.microsoft.graph.beta.directory.recommendations.item.RecommendationItemRequestBuilder::|public|toDeleteRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.directory.recommendations.item.RecommendationItemRequestBuilder::|public|toGetRequestInformation():RequestInformation @@ -80957,6 +81397,92 @@ com.microsoft.graph.beta.directory.recommendations.item.RecommendationItemReques com.microsoft.graph.beta.directory.recommendations.item.RecommendationItemRequestBuilder::|public|toPatchRequestInformation(body:Recommendation):RequestInformation com.microsoft.graph.beta.directory.recommendations.item.RecommendationItemRequestBuilder::|public|toPatchRequestInformation(body:Recommendation; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.directory.recommendations.item.RecommendationItemRequestBuilder::|public|withUrl(rawUrl:String):RecommendationItemRequestBuilder +com.microsoft.graph.beta.directory.recommendations.item.removetag.RemoveTagPostRequestBody::|protected|backingStore:BackingStore +com.microsoft.graph.beta.directory.recommendations.item.removetag.RemoveTagPostRequestBody::|public|constructor():void +com.microsoft.graph.beta.directory.recommendations.item.removetag.RemoveTagPostRequestBody::|public|getAdditionalData():Map +com.microsoft.graph.beta.directory.recommendations.item.removetag.RemoveTagPostRequestBody::|public|getBackingStore():BackingStore +com.microsoft.graph.beta.directory.recommendations.item.removetag.RemoveTagPostRequestBody::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.directory.recommendations.item.removetag.RemoveTagPostRequestBody::|public|getTagId():String +com.microsoft.graph.beta.directory.recommendations.item.removetag.RemoveTagPostRequestBody::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.directory.recommendations.item.removetag.RemoveTagPostRequestBody::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.beta.directory.recommendations.item.removetag.RemoveTagPostRequestBody::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.beta.directory.recommendations.item.removetag.RemoveTagPostRequestBody::|public|setTagId(value?:String):void +com.microsoft.graph.beta.directory.recommendations.item.removetag.RemoveTagPostRequestBody::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):RemoveTagPostRequestBody +com.microsoft.graph.beta.directory.recommendations.item.removetag.RemoveTagPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.beta.directory.recommendations.item.removetag.RemoveTagRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.directory.recommendations.item.removetag.RemoveTagRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.directory.recommendations.item.removetag.RemoveTagRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.recommendations.item.removetag.RemoveTagRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.recommendations.item.removetag.RemoveTagRequestBuilder::|public|post(body:RemoveTagPostRequestBody):Recommendation +com.microsoft.graph.beta.directory.recommendations.item.removetag.RemoveTagRequestBuilder::|public|post(body:RemoveTagPostRequestBody; requestConfiguration?:java.util.function.Consumer):Recommendation +com.microsoft.graph.beta.directory.recommendations.item.removetag.RemoveTagRequestBuilder::|public|toPostRequestInformation(body:RemoveTagPostRequestBody):RequestInformation +com.microsoft.graph.beta.directory.recommendations.item.removetag.RemoveTagRequestBuilder::|public|toPostRequestInformation(body:RemoveTagPostRequestBody; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.directory.recommendations.item.removetag.RemoveTagRequestBuilder::|public|withUrl(rawUrl:String):RemoveTagRequestBuilder +com.microsoft.graph.beta.directory.recommendations.item.tags.count.CountRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.directory.recommendations.item.tags.count.CountRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.beta.directory.recommendations.item.tags.count.CountRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.beta.directory.recommendations.item.tags.count.CountRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.directory.recommendations.item.tags.count.CountRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.directory.recommendations.item.tags.count.CountRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.directory.recommendations.item.tags.count.CountRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.directory.recommendations.item.tags.count.CountRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.recommendations.item.tags.count.CountRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.recommendations.item.tags.count.CountRequestBuilder::|public|get():Integer +com.microsoft.graph.beta.directory.recommendations.item.tags.count.CountRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):Integer +com.microsoft.graph.beta.directory.recommendations.item.tags.count.CountRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.directory.recommendations.item.tags.count.CountRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.directory.recommendations.item.tags.count.CountRequestBuilder::|public|withUrl(rawUrl:String):CountRequestBuilder +com.microsoft.graph.beta.directory.recommendations.item.tags.item.RecommendationTagItemRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.directory.recommendations.item.tags.item.RecommendationTagItemRequestBuilder.DeleteRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.directory.recommendations.item.tags.item.RecommendationTagItemRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.beta.directory.recommendations.item.tags.item.RecommendationTagItemRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.beta.directory.recommendations.item.tags.item.RecommendationTagItemRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.directory.recommendations.item.tags.item.RecommendationTagItemRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.directory.recommendations.item.tags.item.RecommendationTagItemRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.directory.recommendations.item.tags.item.RecommendationTagItemRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.directory.recommendations.item.tags.item.RecommendationTagItemRequestBuilder.PatchRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.directory.recommendations.item.tags.item.RecommendationTagItemRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.recommendations.item.tags.item.RecommendationTagItemRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.recommendations.item.tags.item.RecommendationTagItemRequestBuilder::|public|delete():Void +com.microsoft.graph.beta.directory.recommendations.item.tags.item.RecommendationTagItemRequestBuilder::|public|delete(requestConfiguration?:java.util.function.Consumer):Void +com.microsoft.graph.beta.directory.recommendations.item.tags.item.RecommendationTagItemRequestBuilder::|public|get():RecommendationTag +com.microsoft.graph.beta.directory.recommendations.item.tags.item.RecommendationTagItemRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):RecommendationTag +com.microsoft.graph.beta.directory.recommendations.item.tags.item.RecommendationTagItemRequestBuilder::|public|patch(body:RecommendationTag):RecommendationTag +com.microsoft.graph.beta.directory.recommendations.item.tags.item.RecommendationTagItemRequestBuilder::|public|patch(body:RecommendationTag; requestConfiguration?:java.util.function.Consumer):RecommendationTag +com.microsoft.graph.beta.directory.recommendations.item.tags.item.RecommendationTagItemRequestBuilder::|public|toDeleteRequestInformation():RequestInformation +com.microsoft.graph.beta.directory.recommendations.item.tags.item.RecommendationTagItemRequestBuilder::|public|toDeleteRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.directory.recommendations.item.tags.item.RecommendationTagItemRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.directory.recommendations.item.tags.item.RecommendationTagItemRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.directory.recommendations.item.tags.item.RecommendationTagItemRequestBuilder::|public|toPatchRequestInformation(body:RecommendationTag):RequestInformation +com.microsoft.graph.beta.directory.recommendations.item.tags.item.RecommendationTagItemRequestBuilder::|public|toPatchRequestInformation(body:RecommendationTag; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.directory.recommendations.item.tags.item.RecommendationTagItemRequestBuilder::|public|withUrl(rawUrl:String):RecommendationTagItemRequestBuilder +com.microsoft.graph.beta.directory.recommendations.item.tags.TagsRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.directory.recommendations.item.tags.TagsRequestBuilder.GetQueryParameters::|public|count:Boolean +com.microsoft.graph.beta.directory.recommendations.item.tags.TagsRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.beta.directory.recommendations.item.tags.TagsRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.beta.directory.recommendations.item.tags.TagsRequestBuilder.GetQueryParameters::|public|orderby:String[] +com.microsoft.graph.beta.directory.recommendations.item.tags.TagsRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.beta.directory.recommendations.item.tags.TagsRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.beta.directory.recommendations.item.tags.TagsRequestBuilder.GetQueryParameters::|public|skip:Integer +com.microsoft.graph.beta.directory.recommendations.item.tags.TagsRequestBuilder.GetQueryParameters::|public|top:Integer +com.microsoft.graph.beta.directory.recommendations.item.tags.TagsRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.directory.recommendations.item.tags.TagsRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.directory.recommendations.item.tags.TagsRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.directory.recommendations.item.tags.TagsRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.directory.recommendations.item.tags.TagsRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.directory.recommendations.item.tags.TagsRequestBuilder::|public|byRecommendationTagId(recommendationTagId:String):RecommendationTagItemRequestBuilder +com.microsoft.graph.beta.directory.recommendations.item.tags.TagsRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.recommendations.item.tags.TagsRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.recommendations.item.tags.TagsRequestBuilder::|public|count:CountRequestBuilder +com.microsoft.graph.beta.directory.recommendations.item.tags.TagsRequestBuilder::|public|get():RecommendationTagCollectionResponse +com.microsoft.graph.beta.directory.recommendations.item.tags.TagsRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):RecommendationTagCollectionResponse +com.microsoft.graph.beta.directory.recommendations.item.tags.TagsRequestBuilder::|public|post(body:RecommendationTag):RecommendationTag +com.microsoft.graph.beta.directory.recommendations.item.tags.TagsRequestBuilder::|public|post(body:RecommendationTag; requestConfiguration?:java.util.function.Consumer):RecommendationTag +com.microsoft.graph.beta.directory.recommendations.item.tags.TagsRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.directory.recommendations.item.tags.TagsRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.directory.recommendations.item.tags.TagsRequestBuilder::|public|toPostRequestInformation(body:RecommendationTag):RequestInformation +com.microsoft.graph.beta.directory.recommendations.item.tags.TagsRequestBuilder::|public|toPostRequestInformation(body:RecommendationTag; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.directory.recommendations.item.tags.TagsRequestBuilder::|public|withUrl(rawUrl:String):TagsRequestBuilder com.microsoft.graph.beta.directory.recommendations.RecommendationsRequestBuilder-->BaseRequestBuilder com.microsoft.graph.beta.directory.recommendations.RecommendationsRequestBuilder.GetQueryParameters::|public|count:Boolean com.microsoft.graph.beta.directory.recommendations.RecommendationsRequestBuilder.GetQueryParameters::|public|expand:String[] @@ -81827,43 +82353,43 @@ com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.Go com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.GovernancePolicyTemplatesRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.GovernancePolicyTemplatesRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.GovernancePolicyTemplatesRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration -com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.GovernancePolicyTemplatesRequestBuilder::|public|byGovernancePolicyTemplateId(governancePolicyTemplateId:String):GovernancePolicyTemplateItemRequestBuilder +com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.GovernancePolicyTemplatesRequestBuilder::|public|byTenantGovernancePolicyTemplateId(tenantGovernancePolicyTemplateId:String):TenantGovernancePolicyTemplateItemRequestBuilder com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.GovernancePolicyTemplatesRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.GovernancePolicyTemplatesRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.GovernancePolicyTemplatesRequestBuilder::|public|count:CountRequestBuilder -com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.GovernancePolicyTemplatesRequestBuilder::|public|get():GovernancePolicyTemplateCollectionResponse -com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.GovernancePolicyTemplatesRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):GovernancePolicyTemplateCollectionResponse -com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.GovernancePolicyTemplatesRequestBuilder::|public|post(body:GovernancePolicyTemplate):GovernancePolicyTemplate -com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.GovernancePolicyTemplatesRequestBuilder::|public|post(body:GovernancePolicyTemplate; requestConfiguration?:java.util.function.Consumer):GovernancePolicyTemplate +com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.GovernancePolicyTemplatesRequestBuilder::|public|get():TenantGovernancePolicyTemplateCollectionResponse +com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.GovernancePolicyTemplatesRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):TenantGovernancePolicyTemplateCollectionResponse +com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.GovernancePolicyTemplatesRequestBuilder::|public|post(body:TenantGovernancePolicyTemplate):TenantGovernancePolicyTemplate +com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.GovernancePolicyTemplatesRequestBuilder::|public|post(body:TenantGovernancePolicyTemplate; requestConfiguration?:java.util.function.Consumer):TenantGovernancePolicyTemplate com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.GovernancePolicyTemplatesRequestBuilder::|public|toGetRequestInformation():RequestInformation com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.GovernancePolicyTemplatesRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation -com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.GovernancePolicyTemplatesRequestBuilder::|public|toPostRequestInformation(body:GovernancePolicyTemplate):RequestInformation -com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.GovernancePolicyTemplatesRequestBuilder::|public|toPostRequestInformation(body:GovernancePolicyTemplate; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.GovernancePolicyTemplatesRequestBuilder::|public|toPostRequestInformation(body:TenantGovernancePolicyTemplate):RequestInformation +com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.GovernancePolicyTemplatesRequestBuilder::|public|toPostRequestInformation(body:TenantGovernancePolicyTemplate; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.GovernancePolicyTemplatesRequestBuilder::|public|withUrl(rawUrl:String):GovernancePolicyTemplatesRequestBuilder -com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.item.GovernancePolicyTemplateItemRequestBuilder-->BaseRequestBuilder -com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.item.GovernancePolicyTemplateItemRequestBuilder.DeleteRequestConfiguration-->BaseRequestConfiguration -com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.item.GovernancePolicyTemplateItemRequestBuilder.GetQueryParameters::|public|expand:String[] -com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.item.GovernancePolicyTemplateItemRequestBuilder.GetQueryParameters::|public|select:String[] -com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.item.GovernancePolicyTemplateItemRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map -com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.item.GovernancePolicyTemplateItemRequestBuilder.GetQueryParameters~~>QueryParameters -com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.item.GovernancePolicyTemplateItemRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration -com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.item.GovernancePolicyTemplateItemRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters -com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.item.GovernancePolicyTemplateItemRequestBuilder.PatchRequestConfiguration-->BaseRequestConfiguration -com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.item.GovernancePolicyTemplateItemRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void -com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.item.GovernancePolicyTemplateItemRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void -com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.item.GovernancePolicyTemplateItemRequestBuilder::|public|delete():Void -com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.item.GovernancePolicyTemplateItemRequestBuilder::|public|delete(requestConfiguration?:java.util.function.Consumer):Void -com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.item.GovernancePolicyTemplateItemRequestBuilder::|public|get():GovernancePolicyTemplate -com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.item.GovernancePolicyTemplateItemRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):GovernancePolicyTemplate -com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.item.GovernancePolicyTemplateItemRequestBuilder::|public|patch(body:GovernancePolicyTemplate):GovernancePolicyTemplate -com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.item.GovernancePolicyTemplateItemRequestBuilder::|public|patch(body:GovernancePolicyTemplate; requestConfiguration?:java.util.function.Consumer):GovernancePolicyTemplate -com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.item.GovernancePolicyTemplateItemRequestBuilder::|public|toDeleteRequestInformation():RequestInformation -com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.item.GovernancePolicyTemplateItemRequestBuilder::|public|toDeleteRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation -com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.item.GovernancePolicyTemplateItemRequestBuilder::|public|toGetRequestInformation():RequestInformation -com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.item.GovernancePolicyTemplateItemRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation -com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.item.GovernancePolicyTemplateItemRequestBuilder::|public|toPatchRequestInformation(body:GovernancePolicyTemplate):RequestInformation -com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.item.GovernancePolicyTemplateItemRequestBuilder::|public|toPatchRequestInformation(body:GovernancePolicyTemplate; requestConfiguration?:java.util.function.Consumer):RequestInformation -com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.item.GovernancePolicyTemplateItemRequestBuilder::|public|withUrl(rawUrl:String):GovernancePolicyTemplateItemRequestBuilder +com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.item.TenantGovernancePolicyTemplateItemRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.item.TenantGovernancePolicyTemplateItemRequestBuilder.DeleteRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.item.TenantGovernancePolicyTemplateItemRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.item.TenantGovernancePolicyTemplateItemRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.item.TenantGovernancePolicyTemplateItemRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.item.TenantGovernancePolicyTemplateItemRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.item.TenantGovernancePolicyTemplateItemRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.item.TenantGovernancePolicyTemplateItemRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.item.TenantGovernancePolicyTemplateItemRequestBuilder.PatchRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.item.TenantGovernancePolicyTemplateItemRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.item.TenantGovernancePolicyTemplateItemRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.item.TenantGovernancePolicyTemplateItemRequestBuilder::|public|delete():Void +com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.item.TenantGovernancePolicyTemplateItemRequestBuilder::|public|delete(requestConfiguration?:java.util.function.Consumer):Void +com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.item.TenantGovernancePolicyTemplateItemRequestBuilder::|public|get():TenantGovernancePolicyTemplate +com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.item.TenantGovernancePolicyTemplateItemRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):TenantGovernancePolicyTemplate +com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.item.TenantGovernancePolicyTemplateItemRequestBuilder::|public|patch(body:TenantGovernancePolicyTemplate):TenantGovernancePolicyTemplate +com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.item.TenantGovernancePolicyTemplateItemRequestBuilder::|public|patch(body:TenantGovernancePolicyTemplate; requestConfiguration?:java.util.function.Consumer):TenantGovernancePolicyTemplate +com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.item.TenantGovernancePolicyTemplateItemRequestBuilder::|public|toDeleteRequestInformation():RequestInformation +com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.item.TenantGovernancePolicyTemplateItemRequestBuilder::|public|toDeleteRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.item.TenantGovernancePolicyTemplateItemRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.item.TenantGovernancePolicyTemplateItemRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.item.TenantGovernancePolicyTemplateItemRequestBuilder::|public|toPatchRequestInformation(body:TenantGovernancePolicyTemplate):RequestInformation +com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.item.TenantGovernancePolicyTemplateItemRequestBuilder::|public|toPatchRequestInformation(body:TenantGovernancePolicyTemplate; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.item.TenantGovernancePolicyTemplateItemRequestBuilder::|public|withUrl(rawUrl:String):TenantGovernancePolicyTemplateItemRequestBuilder com.microsoft.graph.beta.directory.tenantgovernance.governancerelationships.count.CountRequestBuilder-->BaseRequestBuilder com.microsoft.graph.beta.directory.tenantgovernance.governancerelationships.count.CountRequestBuilder.GetQueryParameters::|public|filter:String com.microsoft.graph.beta.directory.tenantgovernance.governancerelationships.count.CountRequestBuilder.GetQueryParameters::|public|search:String @@ -81979,8 +82505,8 @@ com.microsoft.graph.beta.directory.tenantgovernance.governancerequests.item.gove com.microsoft.graph.beta.directory.tenantgovernance.governancerequests.item.governancepolicytemplate.GovernancePolicyTemplateRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters com.microsoft.graph.beta.directory.tenantgovernance.governancerequests.item.governancepolicytemplate.GovernancePolicyTemplateRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void com.microsoft.graph.beta.directory.tenantgovernance.governancerequests.item.governancepolicytemplate.GovernancePolicyTemplateRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void -com.microsoft.graph.beta.directory.tenantgovernance.governancerequests.item.governancepolicytemplate.GovernancePolicyTemplateRequestBuilder::|public|get():GovernancePolicyTemplate -com.microsoft.graph.beta.directory.tenantgovernance.governancerequests.item.governancepolicytemplate.GovernancePolicyTemplateRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):GovernancePolicyTemplate +com.microsoft.graph.beta.directory.tenantgovernance.governancerequests.item.governancepolicytemplate.GovernancePolicyTemplateRequestBuilder::|public|get():TenantGovernancePolicyTemplate +com.microsoft.graph.beta.directory.tenantgovernance.governancerequests.item.governancepolicytemplate.GovernancePolicyTemplateRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):TenantGovernancePolicyTemplate com.microsoft.graph.beta.directory.tenantgovernance.governancerequests.item.governancepolicytemplate.GovernancePolicyTemplateRequestBuilder::|public|toGetRequestInformation():RequestInformation com.microsoft.graph.beta.directory.tenantgovernance.governancerequests.item.governancepolicytemplate.GovernancePolicyTemplateRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.directory.tenantgovernance.governancerequests.item.governancepolicytemplate.GovernancePolicyTemplateRequestBuilder::|public|withUrl(rawUrl:String):GovernancePolicyTemplateRequestBuilder @@ -82122,24 +82648,24 @@ com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item.RelatedT com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item.RelatedTenantItemRequestBuilder::|public|toPatchRequestInformation(body:RelatedTenant):RequestInformation com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item.RelatedTenantItemRequestBuilder::|public|toPatchRequestInformation(body:RelatedTenant; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.item.RelatedTenantItemRequestBuilder::|public|withUrl(rawUrl:String):RelatedTenantItemRequestBuilder -com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.microsoftgraphtenantgovernanceservicesrefresh.MicrosoftGraphTenantGovernanceServicesRefreshRequestBuilder-->BaseRequestBuilder -com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.microsoftgraphtenantgovernanceservicesrefresh.MicrosoftGraphTenantGovernanceServicesRefreshRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration -com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.microsoftgraphtenantgovernanceservicesrefresh.MicrosoftGraphTenantGovernanceServicesRefreshRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void -com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.microsoftgraphtenantgovernanceservicesrefresh.MicrosoftGraphTenantGovernanceServicesRefreshRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void -com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.microsoftgraphtenantgovernanceservicesrefresh.MicrosoftGraphTenantGovernanceServicesRefreshRequestBuilder::|public|post():Void -com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.microsoftgraphtenantgovernanceservicesrefresh.MicrosoftGraphTenantGovernanceServicesRefreshRequestBuilder::|public|post(requestConfiguration?:java.util.function.Consumer):Void -com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.microsoftgraphtenantgovernanceservicesrefresh.MicrosoftGraphTenantGovernanceServicesRefreshRequestBuilder::|public|toPostRequestInformation():RequestInformation -com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.microsoftgraphtenantgovernanceservicesrefresh.MicrosoftGraphTenantGovernanceServicesRefreshRequestBuilder::|public|toPostRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation -com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.microsoftgraphtenantgovernanceservicesrefresh.MicrosoftGraphTenantGovernanceServicesRefreshRequestBuilder::|public|withUrl(rawUrl:String):MicrosoftGraphTenantGovernanceServicesRefreshRequestBuilder -com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.microsoftgraphtenantgovernanceservicesrefreshstatus.MicrosoftGraphTenantGovernanceServicesRefreshStatusRequestBuilder-->BaseRequestBuilder -com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.microsoftgraphtenantgovernanceservicesrefreshstatus.MicrosoftGraphTenantGovernanceServicesRefreshStatusRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration -com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.microsoftgraphtenantgovernanceservicesrefreshstatus.MicrosoftGraphTenantGovernanceServicesRefreshStatusRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void -com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.microsoftgraphtenantgovernanceservicesrefreshstatus.MicrosoftGraphTenantGovernanceServicesRefreshStatusRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void -com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.microsoftgraphtenantgovernanceservicesrefreshstatus.MicrosoftGraphTenantGovernanceServicesRefreshStatusRequestBuilder::|public|get():RelatedTenantsRefreshStatus -com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.microsoftgraphtenantgovernanceservicesrefreshstatus.MicrosoftGraphTenantGovernanceServicesRefreshStatusRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):RelatedTenantsRefreshStatus -com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.microsoftgraphtenantgovernanceservicesrefreshstatus.MicrosoftGraphTenantGovernanceServicesRefreshStatusRequestBuilder::|public|toGetRequestInformation():RequestInformation -com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.microsoftgraphtenantgovernanceservicesrefreshstatus.MicrosoftGraphTenantGovernanceServicesRefreshStatusRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation -com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.microsoftgraphtenantgovernanceservicesrefreshstatus.MicrosoftGraphTenantGovernanceServicesRefreshStatusRequestBuilder::|public|withUrl(rawUrl:String):MicrosoftGraphTenantGovernanceServicesRefreshStatusRequestBuilder +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.refresh.RefreshRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.refresh.RefreshRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.refresh.RefreshRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.refresh.RefreshRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.refresh.RefreshRequestBuilder::|public|post():Void +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.refresh.RefreshRequestBuilder::|public|post(requestConfiguration?:java.util.function.Consumer):Void +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.refresh.RefreshRequestBuilder::|public|toPostRequestInformation():RequestInformation +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.refresh.RefreshRequestBuilder::|public|toPostRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.refresh.RefreshRequestBuilder::|public|withUrl(rawUrl:String):RefreshRequestBuilder +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.refreshstatus.RefreshStatusRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.refreshstatus.RefreshStatusRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.refreshstatus.RefreshStatusRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.refreshstatus.RefreshStatusRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.refreshstatus.RefreshStatusRequestBuilder::|public|get():RelatedTenantsRefreshStatus +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.refreshstatus.RefreshStatusRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):RelatedTenantsRefreshStatus +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.refreshstatus.RefreshStatusRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.refreshstatus.RefreshStatusRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.refreshstatus.RefreshStatusRequestBuilder::|public|withUrl(rawUrl:String):RefreshStatusRequestBuilder com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.RelatedTenantsRequestBuilder-->BaseRequestBuilder com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.RelatedTenantsRequestBuilder.GetQueryParameters::|public|count:Boolean com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.RelatedTenantsRequestBuilder.GetQueryParameters::|public|expand:String[] @@ -82160,24 +82686,24 @@ com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.RelatedTenant com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.RelatedTenantsRequestBuilder::|public|count:CountRequestBuilder com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.RelatedTenantsRequestBuilder::|public|get():RelatedTenantCollectionResponse com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.RelatedTenantsRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):RelatedTenantCollectionResponse -com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.RelatedTenantsRequestBuilder::|public|microsoftGraphTenantGovernanceServicesRefresh:MicrosoftGraphTenantGovernanceServicesRefreshRequestBuilder -com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.RelatedTenantsRequestBuilder::|public|microsoftGraphTenantGovernanceServicesRefreshStatus:MicrosoftGraphTenantGovernanceServicesRefreshStatusRequestBuilder com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.RelatedTenantsRequestBuilder::|public|post(body:RelatedTenant):RelatedTenant com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.RelatedTenantsRequestBuilder::|public|post(body:RelatedTenant; requestConfiguration?:java.util.function.Consumer):RelatedTenant +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.RelatedTenantsRequestBuilder::|public|refresh:RefreshRequestBuilder +com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.RelatedTenantsRequestBuilder::|public|refreshStatus:RefreshStatusRequestBuilder com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.RelatedTenantsRequestBuilder::|public|toGetRequestInformation():RequestInformation com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.RelatedTenantsRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.RelatedTenantsRequestBuilder::|public|toPostRequestInformation(body:RelatedTenant):RequestInformation com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.RelatedTenantsRequestBuilder::|public|toPostRequestInformation(body:RelatedTenant; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.RelatedTenantsRequestBuilder::|public|withUrl(rawUrl:String):RelatedTenantsRequestBuilder -com.microsoft.graph.beta.directory.tenantgovernance.settings.microsoftgraphtenantgovernanceservicesenablerelatedtenants.MicrosoftGraphTenantGovernanceServicesEnableRelatedTenantsRequestBuilder-->BaseRequestBuilder -com.microsoft.graph.beta.directory.tenantgovernance.settings.microsoftgraphtenantgovernanceservicesenablerelatedtenants.MicrosoftGraphTenantGovernanceServicesEnableRelatedTenantsRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration -com.microsoft.graph.beta.directory.tenantgovernance.settings.microsoftgraphtenantgovernanceservicesenablerelatedtenants.MicrosoftGraphTenantGovernanceServicesEnableRelatedTenantsRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void -com.microsoft.graph.beta.directory.tenantgovernance.settings.microsoftgraphtenantgovernanceservicesenablerelatedtenants.MicrosoftGraphTenantGovernanceServicesEnableRelatedTenantsRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void -com.microsoft.graph.beta.directory.tenantgovernance.settings.microsoftgraphtenantgovernanceservicesenablerelatedtenants.MicrosoftGraphTenantGovernanceServicesEnableRelatedTenantsRequestBuilder::|public|post():Void -com.microsoft.graph.beta.directory.tenantgovernance.settings.microsoftgraphtenantgovernanceservicesenablerelatedtenants.MicrosoftGraphTenantGovernanceServicesEnableRelatedTenantsRequestBuilder::|public|post(requestConfiguration?:java.util.function.Consumer):Void -com.microsoft.graph.beta.directory.tenantgovernance.settings.microsoftgraphtenantgovernanceservicesenablerelatedtenants.MicrosoftGraphTenantGovernanceServicesEnableRelatedTenantsRequestBuilder::|public|toPostRequestInformation():RequestInformation -com.microsoft.graph.beta.directory.tenantgovernance.settings.microsoftgraphtenantgovernanceservicesenablerelatedtenants.MicrosoftGraphTenantGovernanceServicesEnableRelatedTenantsRequestBuilder::|public|toPostRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation -com.microsoft.graph.beta.directory.tenantgovernance.settings.microsoftgraphtenantgovernanceservicesenablerelatedtenants.MicrosoftGraphTenantGovernanceServicesEnableRelatedTenantsRequestBuilder::|public|withUrl(rawUrl:String):MicrosoftGraphTenantGovernanceServicesEnableRelatedTenantsRequestBuilder +com.microsoft.graph.beta.directory.tenantgovernance.settings.enablerelatedtenants.EnableRelatedTenantsRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.directory.tenantgovernance.settings.enablerelatedtenants.EnableRelatedTenantsRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.directory.tenantgovernance.settings.enablerelatedtenants.EnableRelatedTenantsRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.tenantgovernance.settings.enablerelatedtenants.EnableRelatedTenantsRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.directory.tenantgovernance.settings.enablerelatedtenants.EnableRelatedTenantsRequestBuilder::|public|post():Void +com.microsoft.graph.beta.directory.tenantgovernance.settings.enablerelatedtenants.EnableRelatedTenantsRequestBuilder::|public|post(requestConfiguration?:java.util.function.Consumer):Void +com.microsoft.graph.beta.directory.tenantgovernance.settings.enablerelatedtenants.EnableRelatedTenantsRequestBuilder::|public|toPostRequestInformation():RequestInformation +com.microsoft.graph.beta.directory.tenantgovernance.settings.enablerelatedtenants.EnableRelatedTenantsRequestBuilder::|public|toPostRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.directory.tenantgovernance.settings.enablerelatedtenants.EnableRelatedTenantsRequestBuilder::|public|withUrl(rawUrl:String):EnableRelatedTenantsRequestBuilder com.microsoft.graph.beta.directory.tenantgovernance.settings.SettingsRequestBuilder-->BaseRequestBuilder com.microsoft.graph.beta.directory.tenantgovernance.settings.SettingsRequestBuilder.DeleteRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.beta.directory.tenantgovernance.settings.SettingsRequestBuilder.GetQueryParameters::|public|expand:String[] @@ -82191,9 +82717,9 @@ com.microsoft.graph.beta.directory.tenantgovernance.settings.SettingsRequestBuil com.microsoft.graph.beta.directory.tenantgovernance.settings.SettingsRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void com.microsoft.graph.beta.directory.tenantgovernance.settings.SettingsRequestBuilder::|public|delete():Void com.microsoft.graph.beta.directory.tenantgovernance.settings.SettingsRequestBuilder::|public|delete(requestConfiguration?:java.util.function.Consumer):Void +com.microsoft.graph.beta.directory.tenantgovernance.settings.SettingsRequestBuilder::|public|enableRelatedTenants:EnableRelatedTenantsRequestBuilder com.microsoft.graph.beta.directory.tenantgovernance.settings.SettingsRequestBuilder::|public|get():TenantGovernanceSetting com.microsoft.graph.beta.directory.tenantgovernance.settings.SettingsRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):TenantGovernanceSetting -com.microsoft.graph.beta.directory.tenantgovernance.settings.SettingsRequestBuilder::|public|microsoftGraphTenantGovernanceServicesEnableRelatedTenants:MicrosoftGraphTenantGovernanceServicesEnableRelatedTenantsRequestBuilder com.microsoft.graph.beta.directory.tenantgovernance.settings.SettingsRequestBuilder::|public|patch(body:TenantGovernanceSetting):TenantGovernanceSetting com.microsoft.graph.beta.directory.tenantgovernance.settings.SettingsRequestBuilder::|public|patch(body:TenantGovernanceSetting; requestConfiguration?:java.util.function.Consumer):TenantGovernanceSetting com.microsoft.graph.beta.directory.tenantgovernance.settings.SettingsRequestBuilder::|public|toDeleteRequestInformation():RequestInformation @@ -85228,6 +85754,7 @@ com.microsoft.graph.beta.drives.item.items.item.archive.ArchiveRequestBuilder::| com.microsoft.graph.beta.drives.item.items.item.assignsensitivitylabel.AssignSensitivityLabelPostRequestBody::|protected|backingStore:BackingStore com.microsoft.graph.beta.drives.item.items.item.assignsensitivitylabel.AssignSensitivityLabelPostRequestBody::|public|constructor():void com.microsoft.graph.beta.drives.item.items.item.assignsensitivitylabel.AssignSensitivityLabelPostRequestBody::|public|getAdditionalData():Map +com.microsoft.graph.beta.drives.item.items.item.assignsensitivitylabel.AssignSensitivityLabelPostRequestBody::|public|getAppliedByUser():UserIdentity com.microsoft.graph.beta.drives.item.items.item.assignsensitivitylabel.AssignSensitivityLabelPostRequestBody::|public|getAssignmentMethod():SensitivityLabelAssignmentMethod com.microsoft.graph.beta.drives.item.items.item.assignsensitivitylabel.AssignSensitivityLabelPostRequestBody::|public|getBackingStore():BackingStore com.microsoft.graph.beta.drives.item.items.item.assignsensitivitylabel.AssignSensitivityLabelPostRequestBody::|public|getFieldDeserializers():Map> @@ -85235,6 +85762,7 @@ com.microsoft.graph.beta.drives.item.items.item.assignsensitivitylabel.AssignSen com.microsoft.graph.beta.drives.item.items.item.assignsensitivitylabel.AssignSensitivityLabelPostRequestBody::|public|getSensitivityLabelId():String com.microsoft.graph.beta.drives.item.items.item.assignsensitivitylabel.AssignSensitivityLabelPostRequestBody::|public|serialize(writer:SerializationWriter):Void com.microsoft.graph.beta.drives.item.items.item.assignsensitivitylabel.AssignSensitivityLabelPostRequestBody::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.beta.drives.item.items.item.assignsensitivitylabel.AssignSensitivityLabelPostRequestBody::|public|setAppliedByUser(value?:UserIdentity):void com.microsoft.graph.beta.drives.item.items.item.assignsensitivitylabel.AssignSensitivityLabelPostRequestBody::|public|setAssignmentMethod(value?:SensitivityLabelAssignmentMethod):void com.microsoft.graph.beta.drives.item.items.item.assignsensitivitylabel.AssignSensitivityLabelPostRequestBody::|public|setBackingStore(value:BackingStore):void com.microsoft.graph.beta.drives.item.items.item.assignsensitivitylabel.AssignSensitivityLabelPostRequestBody::|public|setJustificationText(value?:String):void @@ -119369,7 +119897,6 @@ com.microsoft.graph.beta.employeeexperience.communities.CommunitiesRequestBuilde com.microsoft.graph.beta.employeeexperience.communities.CommunitiesRequestBuilder::|public|byCommunityId(communityId:String):CommunityItemRequestBuilder com.microsoft.graph.beta.employeeexperience.communities.CommunitiesRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void com.microsoft.graph.beta.employeeexperience.communities.CommunitiesRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void -com.microsoft.graph.beta.employeeexperience.communities.CommunitiesRequestBuilder::|public|count:CountRequestBuilder com.microsoft.graph.beta.employeeexperience.communities.CommunitiesRequestBuilder::|public|get():CommunityCollectionResponse com.microsoft.graph.beta.employeeexperience.communities.CommunitiesRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):CommunityCollectionResponse com.microsoft.graph.beta.employeeexperience.communities.CommunitiesRequestBuilder::|public|post(body:Community):Community @@ -119379,20 +119906,6 @@ com.microsoft.graph.beta.employeeexperience.communities.CommunitiesRequestBuilde com.microsoft.graph.beta.employeeexperience.communities.CommunitiesRequestBuilder::|public|toPostRequestInformation(body:Community):RequestInformation com.microsoft.graph.beta.employeeexperience.communities.CommunitiesRequestBuilder::|public|toPostRequestInformation(body:Community; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.employeeexperience.communities.CommunitiesRequestBuilder::|public|withUrl(rawUrl:String):CommunitiesRequestBuilder -com.microsoft.graph.beta.employeeexperience.communities.count.CountRequestBuilder-->BaseRequestBuilder -com.microsoft.graph.beta.employeeexperience.communities.count.CountRequestBuilder.GetQueryParameters::|public|filter:String -com.microsoft.graph.beta.employeeexperience.communities.count.CountRequestBuilder.GetQueryParameters::|public|search:String -com.microsoft.graph.beta.employeeexperience.communities.count.CountRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map -com.microsoft.graph.beta.employeeexperience.communities.count.CountRequestBuilder.GetQueryParameters~~>QueryParameters -com.microsoft.graph.beta.employeeexperience.communities.count.CountRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration -com.microsoft.graph.beta.employeeexperience.communities.count.CountRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters -com.microsoft.graph.beta.employeeexperience.communities.count.CountRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void -com.microsoft.graph.beta.employeeexperience.communities.count.CountRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void -com.microsoft.graph.beta.employeeexperience.communities.count.CountRequestBuilder::|public|get():Integer -com.microsoft.graph.beta.employeeexperience.communities.count.CountRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):Integer -com.microsoft.graph.beta.employeeexperience.communities.count.CountRequestBuilder::|public|toGetRequestInformation():RequestInformation -com.microsoft.graph.beta.employeeexperience.communities.count.CountRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation -com.microsoft.graph.beta.employeeexperience.communities.count.CountRequestBuilder::|public|withUrl(rawUrl:String):CountRequestBuilder com.microsoft.graph.beta.employeeexperience.communities.item.CommunityItemRequestBuilder-->BaseRequestBuilder com.microsoft.graph.beta.employeeexperience.communities.item.CommunityItemRequestBuilder.DeleteRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.beta.employeeexperience.communities.item.CommunityItemRequestBuilder.GetQueryParameters::|public|expand:String[] @@ -119615,20 +120128,6 @@ com.microsoft.graph.beta.employeeexperience.EmployeeExperienceRequestBuilder::|p com.microsoft.graph.beta.employeeexperience.EmployeeExperienceRequestBuilder::|public|toPatchRequestInformation(body:EmployeeExperience):RequestInformation com.microsoft.graph.beta.employeeexperience.EmployeeExperienceRequestBuilder::|public|toPatchRequestInformation(body:EmployeeExperience; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.employeeexperience.EmployeeExperienceRequestBuilder::|public|withUrl(rawUrl:String):EmployeeExperienceRequestBuilder -com.microsoft.graph.beta.employeeexperience.engagementasyncoperations.count.CountRequestBuilder-->BaseRequestBuilder -com.microsoft.graph.beta.employeeexperience.engagementasyncoperations.count.CountRequestBuilder.GetQueryParameters::|public|filter:String -com.microsoft.graph.beta.employeeexperience.engagementasyncoperations.count.CountRequestBuilder.GetQueryParameters::|public|search:String -com.microsoft.graph.beta.employeeexperience.engagementasyncoperations.count.CountRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map -com.microsoft.graph.beta.employeeexperience.engagementasyncoperations.count.CountRequestBuilder.GetQueryParameters~~>QueryParameters -com.microsoft.graph.beta.employeeexperience.engagementasyncoperations.count.CountRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration -com.microsoft.graph.beta.employeeexperience.engagementasyncoperations.count.CountRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters -com.microsoft.graph.beta.employeeexperience.engagementasyncoperations.count.CountRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void -com.microsoft.graph.beta.employeeexperience.engagementasyncoperations.count.CountRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void -com.microsoft.graph.beta.employeeexperience.engagementasyncoperations.count.CountRequestBuilder::|public|get():Integer -com.microsoft.graph.beta.employeeexperience.engagementasyncoperations.count.CountRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):Integer -com.microsoft.graph.beta.employeeexperience.engagementasyncoperations.count.CountRequestBuilder::|public|toGetRequestInformation():RequestInformation -com.microsoft.graph.beta.employeeexperience.engagementasyncoperations.count.CountRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation -com.microsoft.graph.beta.employeeexperience.engagementasyncoperations.count.CountRequestBuilder::|public|withUrl(rawUrl:String):CountRequestBuilder com.microsoft.graph.beta.employeeexperience.engagementasyncoperations.EngagementAsyncOperationsRequestBuilder-->BaseRequestBuilder com.microsoft.graph.beta.employeeexperience.engagementasyncoperations.EngagementAsyncOperationsRequestBuilder.GetQueryParameters::|public|count:Boolean com.microsoft.graph.beta.employeeexperience.engagementasyncoperations.EngagementAsyncOperationsRequestBuilder.GetQueryParameters::|public|expand:String[] @@ -119642,43 +120141,27 @@ com.microsoft.graph.beta.employeeexperience.engagementasyncoperations.Engagement com.microsoft.graph.beta.employeeexperience.engagementasyncoperations.EngagementAsyncOperationsRequestBuilder.GetQueryParameters~~>QueryParameters com.microsoft.graph.beta.employeeexperience.engagementasyncoperations.EngagementAsyncOperationsRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.beta.employeeexperience.engagementasyncoperations.EngagementAsyncOperationsRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters -com.microsoft.graph.beta.employeeexperience.engagementasyncoperations.EngagementAsyncOperationsRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.beta.employeeexperience.engagementasyncoperations.EngagementAsyncOperationsRequestBuilder::|public|byEngagementAsyncOperationId(engagementAsyncOperationId:String):EngagementAsyncOperationItemRequestBuilder com.microsoft.graph.beta.employeeexperience.engagementasyncoperations.EngagementAsyncOperationsRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void com.microsoft.graph.beta.employeeexperience.engagementasyncoperations.EngagementAsyncOperationsRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void -com.microsoft.graph.beta.employeeexperience.engagementasyncoperations.EngagementAsyncOperationsRequestBuilder::|public|count:CountRequestBuilder com.microsoft.graph.beta.employeeexperience.engagementasyncoperations.EngagementAsyncOperationsRequestBuilder::|public|get():EngagementAsyncOperationCollectionResponse com.microsoft.graph.beta.employeeexperience.engagementasyncoperations.EngagementAsyncOperationsRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):EngagementAsyncOperationCollectionResponse -com.microsoft.graph.beta.employeeexperience.engagementasyncoperations.EngagementAsyncOperationsRequestBuilder::|public|post(body:EngagementAsyncOperation):EngagementAsyncOperation -com.microsoft.graph.beta.employeeexperience.engagementasyncoperations.EngagementAsyncOperationsRequestBuilder::|public|post(body:EngagementAsyncOperation; requestConfiguration?:java.util.function.Consumer):EngagementAsyncOperation com.microsoft.graph.beta.employeeexperience.engagementasyncoperations.EngagementAsyncOperationsRequestBuilder::|public|toGetRequestInformation():RequestInformation com.microsoft.graph.beta.employeeexperience.engagementasyncoperations.EngagementAsyncOperationsRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation -com.microsoft.graph.beta.employeeexperience.engagementasyncoperations.EngagementAsyncOperationsRequestBuilder::|public|toPostRequestInformation(body:EngagementAsyncOperation):RequestInformation -com.microsoft.graph.beta.employeeexperience.engagementasyncoperations.EngagementAsyncOperationsRequestBuilder::|public|toPostRequestInformation(body:EngagementAsyncOperation; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.employeeexperience.engagementasyncoperations.EngagementAsyncOperationsRequestBuilder::|public|withUrl(rawUrl:String):EngagementAsyncOperationsRequestBuilder com.microsoft.graph.beta.employeeexperience.engagementasyncoperations.item.EngagementAsyncOperationItemRequestBuilder-->BaseRequestBuilder -com.microsoft.graph.beta.employeeexperience.engagementasyncoperations.item.EngagementAsyncOperationItemRequestBuilder.DeleteRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.beta.employeeexperience.engagementasyncoperations.item.EngagementAsyncOperationItemRequestBuilder.GetQueryParameters::|public|expand:String[] com.microsoft.graph.beta.employeeexperience.engagementasyncoperations.item.EngagementAsyncOperationItemRequestBuilder.GetQueryParameters::|public|select:String[] com.microsoft.graph.beta.employeeexperience.engagementasyncoperations.item.EngagementAsyncOperationItemRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map com.microsoft.graph.beta.employeeexperience.engagementasyncoperations.item.EngagementAsyncOperationItemRequestBuilder.GetQueryParameters~~>QueryParameters com.microsoft.graph.beta.employeeexperience.engagementasyncoperations.item.EngagementAsyncOperationItemRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.beta.employeeexperience.engagementasyncoperations.item.EngagementAsyncOperationItemRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters -com.microsoft.graph.beta.employeeexperience.engagementasyncoperations.item.EngagementAsyncOperationItemRequestBuilder.PatchRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.beta.employeeexperience.engagementasyncoperations.item.EngagementAsyncOperationItemRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void com.microsoft.graph.beta.employeeexperience.engagementasyncoperations.item.EngagementAsyncOperationItemRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void -com.microsoft.graph.beta.employeeexperience.engagementasyncoperations.item.EngagementAsyncOperationItemRequestBuilder::|public|delete():Void -com.microsoft.graph.beta.employeeexperience.engagementasyncoperations.item.EngagementAsyncOperationItemRequestBuilder::|public|delete(requestConfiguration?:java.util.function.Consumer):Void com.microsoft.graph.beta.employeeexperience.engagementasyncoperations.item.EngagementAsyncOperationItemRequestBuilder::|public|get():EngagementAsyncOperation com.microsoft.graph.beta.employeeexperience.engagementasyncoperations.item.EngagementAsyncOperationItemRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):EngagementAsyncOperation -com.microsoft.graph.beta.employeeexperience.engagementasyncoperations.item.EngagementAsyncOperationItemRequestBuilder::|public|patch(body:EngagementAsyncOperation):EngagementAsyncOperation -com.microsoft.graph.beta.employeeexperience.engagementasyncoperations.item.EngagementAsyncOperationItemRequestBuilder::|public|patch(body:EngagementAsyncOperation; requestConfiguration?:java.util.function.Consumer):EngagementAsyncOperation -com.microsoft.graph.beta.employeeexperience.engagementasyncoperations.item.EngagementAsyncOperationItemRequestBuilder::|public|toDeleteRequestInformation():RequestInformation -com.microsoft.graph.beta.employeeexperience.engagementasyncoperations.item.EngagementAsyncOperationItemRequestBuilder::|public|toDeleteRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.employeeexperience.engagementasyncoperations.item.EngagementAsyncOperationItemRequestBuilder::|public|toGetRequestInformation():RequestInformation com.microsoft.graph.beta.employeeexperience.engagementasyncoperations.item.EngagementAsyncOperationItemRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation -com.microsoft.graph.beta.employeeexperience.engagementasyncoperations.item.EngagementAsyncOperationItemRequestBuilder::|public|toPatchRequestInformation(body:EngagementAsyncOperation):RequestInformation -com.microsoft.graph.beta.employeeexperience.engagementasyncoperations.item.EngagementAsyncOperationItemRequestBuilder::|public|toPatchRequestInformation(body:EngagementAsyncOperation; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.employeeexperience.engagementasyncoperations.item.EngagementAsyncOperationItemRequestBuilder::|public|withUrl(rawUrl:String):EngagementAsyncOperationItemRequestBuilder com.microsoft.graph.beta.employeeexperience.goals.exportjobs.count.CountRequestBuilder-->BaseRequestBuilder com.microsoft.graph.beta.employeeexperience.goals.exportjobs.count.CountRequestBuilder.GetQueryParameters::|public|filter:String @@ -120126,44 +120609,20 @@ com.microsoft.graph.beta.employeeexperience.learningproviders.LearningProvidersR com.microsoft.graph.beta.employeeexperience.learningproviders.LearningProvidersRequestBuilder::|public|toPostRequestInformation(body:LearningProvider):RequestInformation com.microsoft.graph.beta.employeeexperience.learningproviders.LearningProvidersRequestBuilder::|public|toPostRequestInformation(body:LearningProvider; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.employeeexperience.learningproviders.LearningProvidersRequestBuilder::|public|withUrl(rawUrl:String):LearningProvidersRequestBuilder -com.microsoft.graph.beta.employeeexperience.roles.count.CountRequestBuilder-->BaseRequestBuilder -com.microsoft.graph.beta.employeeexperience.roles.count.CountRequestBuilder.GetQueryParameters::|public|filter:String -com.microsoft.graph.beta.employeeexperience.roles.count.CountRequestBuilder.GetQueryParameters::|public|search:String -com.microsoft.graph.beta.employeeexperience.roles.count.CountRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map -com.microsoft.graph.beta.employeeexperience.roles.count.CountRequestBuilder.GetQueryParameters~~>QueryParameters -com.microsoft.graph.beta.employeeexperience.roles.count.CountRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration -com.microsoft.graph.beta.employeeexperience.roles.count.CountRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters -com.microsoft.graph.beta.employeeexperience.roles.count.CountRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void -com.microsoft.graph.beta.employeeexperience.roles.count.CountRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void -com.microsoft.graph.beta.employeeexperience.roles.count.CountRequestBuilder::|public|get():Integer -com.microsoft.graph.beta.employeeexperience.roles.count.CountRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):Integer -com.microsoft.graph.beta.employeeexperience.roles.count.CountRequestBuilder::|public|toGetRequestInformation():RequestInformation -com.microsoft.graph.beta.employeeexperience.roles.count.CountRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation -com.microsoft.graph.beta.employeeexperience.roles.count.CountRequestBuilder::|public|withUrl(rawUrl:String):CountRequestBuilder com.microsoft.graph.beta.employeeexperience.roles.item.EngagementRoleItemRequestBuilder-->BaseRequestBuilder -com.microsoft.graph.beta.employeeexperience.roles.item.EngagementRoleItemRequestBuilder.DeleteRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.beta.employeeexperience.roles.item.EngagementRoleItemRequestBuilder.GetQueryParameters::|public|expand:String[] com.microsoft.graph.beta.employeeexperience.roles.item.EngagementRoleItemRequestBuilder.GetQueryParameters::|public|select:String[] com.microsoft.graph.beta.employeeexperience.roles.item.EngagementRoleItemRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map com.microsoft.graph.beta.employeeexperience.roles.item.EngagementRoleItemRequestBuilder.GetQueryParameters~~>QueryParameters com.microsoft.graph.beta.employeeexperience.roles.item.EngagementRoleItemRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.beta.employeeexperience.roles.item.EngagementRoleItemRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters -com.microsoft.graph.beta.employeeexperience.roles.item.EngagementRoleItemRequestBuilder.PatchRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.beta.employeeexperience.roles.item.EngagementRoleItemRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void com.microsoft.graph.beta.employeeexperience.roles.item.EngagementRoleItemRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void -com.microsoft.graph.beta.employeeexperience.roles.item.EngagementRoleItemRequestBuilder::|public|delete():Void -com.microsoft.graph.beta.employeeexperience.roles.item.EngagementRoleItemRequestBuilder::|public|delete(requestConfiguration?:java.util.function.Consumer):Void com.microsoft.graph.beta.employeeexperience.roles.item.EngagementRoleItemRequestBuilder::|public|get():EngagementRole com.microsoft.graph.beta.employeeexperience.roles.item.EngagementRoleItemRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):EngagementRole com.microsoft.graph.beta.employeeexperience.roles.item.EngagementRoleItemRequestBuilder::|public|members:MembersRequestBuilder -com.microsoft.graph.beta.employeeexperience.roles.item.EngagementRoleItemRequestBuilder::|public|patch(body:EngagementRole):EngagementRole -com.microsoft.graph.beta.employeeexperience.roles.item.EngagementRoleItemRequestBuilder::|public|patch(body:EngagementRole; requestConfiguration?:java.util.function.Consumer):EngagementRole -com.microsoft.graph.beta.employeeexperience.roles.item.EngagementRoleItemRequestBuilder::|public|toDeleteRequestInformation():RequestInformation -com.microsoft.graph.beta.employeeexperience.roles.item.EngagementRoleItemRequestBuilder::|public|toDeleteRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.employeeexperience.roles.item.EngagementRoleItemRequestBuilder::|public|toGetRequestInformation():RequestInformation com.microsoft.graph.beta.employeeexperience.roles.item.EngagementRoleItemRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation -com.microsoft.graph.beta.employeeexperience.roles.item.EngagementRoleItemRequestBuilder::|public|toPatchRequestInformation(body:EngagementRole):RequestInformation -com.microsoft.graph.beta.employeeexperience.roles.item.EngagementRoleItemRequestBuilder::|public|toPatchRequestInformation(body:EngagementRole; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.employeeexperience.roles.item.EngagementRoleItemRequestBuilder::|public|withUrl(rawUrl:String):EngagementRoleItemRequestBuilder com.microsoft.graph.beta.employeeexperience.roles.item.members.count.CountRequestBuilder-->BaseRequestBuilder com.microsoft.graph.beta.employeeexperience.roles.item.members.count.CountRequestBuilder.GetQueryParameters::|public|filter:String @@ -120187,21 +120646,16 @@ com.microsoft.graph.beta.employeeexperience.roles.item.members.item.EngagementRo com.microsoft.graph.beta.employeeexperience.roles.item.members.item.EngagementRoleMemberItemRequestBuilder.GetQueryParameters~~>QueryParameters com.microsoft.graph.beta.employeeexperience.roles.item.members.item.EngagementRoleMemberItemRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.beta.employeeexperience.roles.item.members.item.EngagementRoleMemberItemRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters -com.microsoft.graph.beta.employeeexperience.roles.item.members.item.EngagementRoleMemberItemRequestBuilder.PatchRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.beta.employeeexperience.roles.item.members.item.EngagementRoleMemberItemRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void com.microsoft.graph.beta.employeeexperience.roles.item.members.item.EngagementRoleMemberItemRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void com.microsoft.graph.beta.employeeexperience.roles.item.members.item.EngagementRoleMemberItemRequestBuilder::|public|delete():Void com.microsoft.graph.beta.employeeexperience.roles.item.members.item.EngagementRoleMemberItemRequestBuilder::|public|delete(requestConfiguration?:java.util.function.Consumer):Void com.microsoft.graph.beta.employeeexperience.roles.item.members.item.EngagementRoleMemberItemRequestBuilder::|public|get():EngagementRoleMember com.microsoft.graph.beta.employeeexperience.roles.item.members.item.EngagementRoleMemberItemRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):EngagementRoleMember -com.microsoft.graph.beta.employeeexperience.roles.item.members.item.EngagementRoleMemberItemRequestBuilder::|public|patch(body:EngagementRoleMember):EngagementRoleMember -com.microsoft.graph.beta.employeeexperience.roles.item.members.item.EngagementRoleMemberItemRequestBuilder::|public|patch(body:EngagementRoleMember; requestConfiguration?:java.util.function.Consumer):EngagementRoleMember com.microsoft.graph.beta.employeeexperience.roles.item.members.item.EngagementRoleMemberItemRequestBuilder::|public|toDeleteRequestInformation():RequestInformation com.microsoft.graph.beta.employeeexperience.roles.item.members.item.EngagementRoleMemberItemRequestBuilder::|public|toDeleteRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.employeeexperience.roles.item.members.item.EngagementRoleMemberItemRequestBuilder::|public|toGetRequestInformation():RequestInformation com.microsoft.graph.beta.employeeexperience.roles.item.members.item.EngagementRoleMemberItemRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation -com.microsoft.graph.beta.employeeexperience.roles.item.members.item.EngagementRoleMemberItemRequestBuilder::|public|toPatchRequestInformation(body:EngagementRoleMember):RequestInformation -com.microsoft.graph.beta.employeeexperience.roles.item.members.item.EngagementRoleMemberItemRequestBuilder::|public|toPatchRequestInformation(body:EngagementRoleMember; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.employeeexperience.roles.item.members.item.EngagementRoleMemberItemRequestBuilder::|public|user:UserRequestBuilder com.microsoft.graph.beta.employeeexperience.roles.item.members.item.EngagementRoleMemberItemRequestBuilder::|public|withUrl(rawUrl:String):EngagementRoleMemberItemRequestBuilder com.microsoft.graph.beta.employeeexperience.roles.item.members.item.user.mailboxsettings.MailboxSettingsRequestBuilder-->BaseRequestBuilder @@ -120314,19 +120768,13 @@ com.microsoft.graph.beta.employeeexperience.roles.RolesRequestBuilder.GetQueryPa com.microsoft.graph.beta.employeeexperience.roles.RolesRequestBuilder.GetQueryParameters~~>QueryParameters com.microsoft.graph.beta.employeeexperience.roles.RolesRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.beta.employeeexperience.roles.RolesRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters -com.microsoft.graph.beta.employeeexperience.roles.RolesRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.beta.employeeexperience.roles.RolesRequestBuilder::|public|byEngagementRoleId(engagementRoleId:String):EngagementRoleItemRequestBuilder com.microsoft.graph.beta.employeeexperience.roles.RolesRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void com.microsoft.graph.beta.employeeexperience.roles.RolesRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void -com.microsoft.graph.beta.employeeexperience.roles.RolesRequestBuilder::|public|count:CountRequestBuilder com.microsoft.graph.beta.employeeexperience.roles.RolesRequestBuilder::|public|get():EngagementRoleCollectionResponse com.microsoft.graph.beta.employeeexperience.roles.RolesRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):EngagementRoleCollectionResponse -com.microsoft.graph.beta.employeeexperience.roles.RolesRequestBuilder::|public|post(body:EngagementRole):EngagementRole -com.microsoft.graph.beta.employeeexperience.roles.RolesRequestBuilder::|public|post(body:EngagementRole; requestConfiguration?:java.util.function.Consumer):EngagementRole com.microsoft.graph.beta.employeeexperience.roles.RolesRequestBuilder::|public|toGetRequestInformation():RequestInformation com.microsoft.graph.beta.employeeexperience.roles.RolesRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation -com.microsoft.graph.beta.employeeexperience.roles.RolesRequestBuilder::|public|toPostRequestInformation(body:EngagementRole):RequestInformation -com.microsoft.graph.beta.employeeexperience.roles.RolesRequestBuilder::|public|toPostRequestInformation(body:EngagementRole; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.employeeexperience.roles.RolesRequestBuilder::|public|withUrl(rawUrl:String):RolesRequestBuilder com.microsoft.graph.beta.external.authorizationsystems.AuthorizationSystemsRequestBuilder-->BaseRequestBuilder com.microsoft.graph.beta.external.authorizationsystems.AuthorizationSystemsRequestBuilder.GetQueryParameters::|public|count:Boolean @@ -190739,12 +191187,271 @@ com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.Dele com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.DeletedItemsRequestBuilder::|public|delete(requestConfiguration?:java.util.function.Consumer):Void com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.DeletedItemsRequestBuilder::|public|get():DeletedItemContainer com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.DeletedItemsRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):DeletedItemContainer +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.DeletedItemsRequestBuilder::|public|lifecyclePolicies:LifecyclePoliciesRequestBuilder com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.DeletedItemsRequestBuilder::|public|toDeleteRequestInformation():RequestInformation com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.DeletedItemsRequestBuilder::|public|toDeleteRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.DeletedItemsRequestBuilder::|public|toGetRequestInformation():RequestInformation com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.DeletedItemsRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.DeletedItemsRequestBuilder::|public|withUrl(rawUrl:String):DeletedItemsRequestBuilder com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.DeletedItemsRequestBuilder::|public|workflows:WorkflowsRequestBuilder +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.count.CountRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.count.CountRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.count.CountRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.count.CountRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.count.CountRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.count.CountRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.count.CountRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.count.CountRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.count.CountRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.count.CountRequestBuilder::|public|get():Integer +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.count.CountRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):Integer +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.count.CountRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.count.CountRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.count.CountRequestBuilder::|public|withUrl(rawUrl:String):CountRequestBuilder +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.createdby.CreatedByRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.createdby.CreatedByRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.createdby.CreatedByRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.createdby.CreatedByRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.createdby.CreatedByRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.createdby.CreatedByRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.createdby.CreatedByRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.createdby.CreatedByRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.createdby.CreatedByRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.createdby.CreatedByRequestBuilder::|public|get():DirectoryObject +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.createdby.CreatedByRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):DirectoryObject +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.createdby.CreatedByRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.createdby.CreatedByRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.createdby.CreatedByRequestBuilder::|public|withUrl(rawUrl:String):CreatedByRequestBuilder +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.lastmodifiedby.LastModifiedByRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.lastmodifiedby.LastModifiedByRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.lastmodifiedby.LastModifiedByRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.lastmodifiedby.LastModifiedByRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.lastmodifiedby.LastModifiedByRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.lastmodifiedby.LastModifiedByRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.lastmodifiedby.LastModifiedByRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.lastmodifiedby.LastModifiedByRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.lastmodifiedby.LastModifiedByRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.lastmodifiedby.LastModifiedByRequestBuilder::|public|get():DirectoryObject +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.lastmodifiedby.LastModifiedByRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):DirectoryObject +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.lastmodifiedby.LastModifiedByRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.lastmodifiedby.LastModifiedByRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.lastmodifiedby.LastModifiedByRequestBuilder::|public|withUrl(rawUrl:String):LastModifiedByRequestBuilder +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.LifecyclePolicyItemRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.LifecyclePolicyItemRequestBuilder.DeleteRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.LifecyclePolicyItemRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.LifecyclePolicyItemRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.LifecyclePolicyItemRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.LifecyclePolicyItemRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.LifecyclePolicyItemRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.LifecyclePolicyItemRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.LifecyclePolicyItemRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.LifecyclePolicyItemRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.LifecyclePolicyItemRequestBuilder::|public|createdBy:CreatedByRequestBuilder +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.LifecyclePolicyItemRequestBuilder::|public|delete():Void +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.LifecyclePolicyItemRequestBuilder::|public|delete(requestConfiguration?:java.util.function.Consumer):Void +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.LifecyclePolicyItemRequestBuilder::|public|get():LifecyclePolicy +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.LifecyclePolicyItemRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):LifecyclePolicy +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.LifecyclePolicyItemRequestBuilder::|public|lastModifiedBy:LastModifiedByRequestBuilder +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.LifecyclePolicyItemRequestBuilder::|public|microsoftGraphIdentityGovernanceRestore:MicrosoftGraphIdentityGovernanceRestoreRequestBuilder +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.LifecyclePolicyItemRequestBuilder::|public|rules:RulesRequestBuilder +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.LifecyclePolicyItemRequestBuilder::|public|toDeleteRequestInformation():RequestInformation +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.LifecyclePolicyItemRequestBuilder::|public|toDeleteRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.LifecyclePolicyItemRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.LifecyclePolicyItemRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.LifecyclePolicyItemRequestBuilder::|public|versions:VersionsRequestBuilder +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.LifecyclePolicyItemRequestBuilder::|public|withUrl(rawUrl:String):LifecyclePolicyItemRequestBuilder +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.microsoftgraphidentitygovernancerestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.microsoftgraphidentitygovernancerestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.microsoftgraphidentitygovernancerestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.microsoftgraphidentitygovernancerestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.microsoftgraphidentitygovernancerestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder::|public|post():LifecyclePolicy +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.microsoftgraphidentitygovernancerestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder::|public|post(requestConfiguration?:java.util.function.Consumer):LifecyclePolicy +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.microsoftgraphidentitygovernancerestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder::|public|toPostRequestInformation():RequestInformation +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.microsoftgraphidentitygovernancerestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder::|public|toPostRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.microsoftgraphidentitygovernancerestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder::|public|withUrl(rawUrl:String):MicrosoftGraphIdentityGovernanceRestoreRequestBuilder +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.rules.item.LifecyclePolicyRuleItemRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.rules.item.LifecyclePolicyRuleItemRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.rules.item.LifecyclePolicyRuleItemRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.rules.item.LifecyclePolicyRuleItemRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.rules.item.LifecyclePolicyRuleItemRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.rules.item.LifecyclePolicyRuleItemRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.rules.item.LifecyclePolicyRuleItemRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.rules.item.LifecyclePolicyRuleItemRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.rules.item.LifecyclePolicyRuleItemRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.rules.item.LifecyclePolicyRuleItemRequestBuilder::|public|get():LifecyclePolicyRule +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.rules.item.LifecyclePolicyRuleItemRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):LifecyclePolicyRule +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.rules.item.LifecyclePolicyRuleItemRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.rules.item.LifecyclePolicyRuleItemRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.rules.item.LifecyclePolicyRuleItemRequestBuilder::|public|withUrl(rawUrl:String):LifecyclePolicyRuleItemRequestBuilder +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.rules.RulesRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.rules.RulesRequestBuilder.GetQueryParameters::|public|count:Boolean +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.rules.RulesRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.rules.RulesRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.rules.RulesRequestBuilder.GetQueryParameters::|public|orderby:String[] +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.rules.RulesRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.rules.RulesRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.rules.RulesRequestBuilder.GetQueryParameters::|public|skip:Integer +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.rules.RulesRequestBuilder.GetQueryParameters::|public|top:Integer +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.rules.RulesRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.rules.RulesRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.rules.RulesRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.rules.RulesRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.rules.RulesRequestBuilder::|public|byLifecyclePolicyRuleId(lifecyclePolicyRuleId:String):LifecyclePolicyRuleItemRequestBuilder +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.rules.RulesRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.rules.RulesRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.rules.RulesRequestBuilder::|public|get():LifecyclePolicyRuleCollectionResponse +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.rules.RulesRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):LifecyclePolicyRuleCollectionResponse +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.rules.RulesRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.rules.RulesRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.rules.RulesRequestBuilder::|public|withUrl(rawUrl:String):RulesRequestBuilder +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.item.createdby.CreatedByRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.item.createdby.CreatedByRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.item.createdby.CreatedByRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.item.createdby.CreatedByRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.item.createdby.CreatedByRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.item.createdby.CreatedByRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.item.createdby.CreatedByRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.item.createdby.CreatedByRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.item.createdby.CreatedByRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.item.createdby.CreatedByRequestBuilder::|public|get():DirectoryObject +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.item.createdby.CreatedByRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):DirectoryObject +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.item.createdby.CreatedByRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.item.createdby.CreatedByRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.item.createdby.CreatedByRequestBuilder::|public|withUrl(rawUrl:String):CreatedByRequestBuilder +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.item.lastmodifiedby.LastModifiedByRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.item.lastmodifiedby.LastModifiedByRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.item.lastmodifiedby.LastModifiedByRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.item.lastmodifiedby.LastModifiedByRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.item.lastmodifiedby.LastModifiedByRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.item.lastmodifiedby.LastModifiedByRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.item.lastmodifiedby.LastModifiedByRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.item.lastmodifiedby.LastModifiedByRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.item.lastmodifiedby.LastModifiedByRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.item.lastmodifiedby.LastModifiedByRequestBuilder::|public|get():DirectoryObject +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.item.lastmodifiedby.LastModifiedByRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):DirectoryObject +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.item.lastmodifiedby.LastModifiedByRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.item.lastmodifiedby.LastModifiedByRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.item.lastmodifiedby.LastModifiedByRequestBuilder::|public|withUrl(rawUrl:String):LastModifiedByRequestBuilder +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.item.LifecyclePolicyItemRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.item.LifecyclePolicyItemRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.item.LifecyclePolicyItemRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.item.LifecyclePolicyItemRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.item.LifecyclePolicyItemRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.item.LifecyclePolicyItemRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.item.LifecyclePolicyItemRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.item.LifecyclePolicyItemRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.item.LifecyclePolicyItemRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.item.LifecyclePolicyItemRequestBuilder::|public|createdBy:CreatedByRequestBuilder +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.item.LifecyclePolicyItemRequestBuilder::|public|get():LifecyclePolicy +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.item.LifecyclePolicyItemRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):LifecyclePolicy +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.item.LifecyclePolicyItemRequestBuilder::|public|lastModifiedBy:LastModifiedByRequestBuilder +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.item.LifecyclePolicyItemRequestBuilder::|public|microsoftGraphIdentityGovernanceRestore:MicrosoftGraphIdentityGovernanceRestoreRequestBuilder +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.item.LifecyclePolicyItemRequestBuilder::|public|rules:RulesRequestBuilder +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.item.LifecyclePolicyItemRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.item.LifecyclePolicyItemRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.item.LifecyclePolicyItemRequestBuilder::|public|withUrl(rawUrl:String):LifecyclePolicyItemRequestBuilder +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.item.microsoftgraphidentitygovernancerestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.item.microsoftgraphidentitygovernancerestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.item.microsoftgraphidentitygovernancerestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.item.microsoftgraphidentitygovernancerestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.item.microsoftgraphidentitygovernancerestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder::|public|post():LifecyclePolicy +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.item.microsoftgraphidentitygovernancerestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder::|public|post(requestConfiguration?:java.util.function.Consumer):LifecyclePolicy +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.item.microsoftgraphidentitygovernancerestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder::|public|toPostRequestInformation():RequestInformation +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.item.microsoftgraphidentitygovernancerestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder::|public|toPostRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.item.microsoftgraphidentitygovernancerestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder::|public|withUrl(rawUrl:String):MicrosoftGraphIdentityGovernanceRestoreRequestBuilder +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.item.rules.count.CountRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.item.rules.count.CountRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.item.rules.count.CountRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.item.rules.count.CountRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.item.rules.count.CountRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.item.rules.count.CountRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.item.rules.count.CountRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.item.rules.count.CountRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.item.rules.count.CountRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.item.rules.count.CountRequestBuilder::|public|get():Integer +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.item.rules.count.CountRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):Integer +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.item.rules.count.CountRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.item.rules.count.CountRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.item.rules.count.CountRequestBuilder::|public|withUrl(rawUrl:String):CountRequestBuilder +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.item.rules.item.LifecyclePolicyRuleItemRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.item.rules.item.LifecyclePolicyRuleItemRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.item.rules.item.LifecyclePolicyRuleItemRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.item.rules.item.LifecyclePolicyRuleItemRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.item.rules.item.LifecyclePolicyRuleItemRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.item.rules.item.LifecyclePolicyRuleItemRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.item.rules.item.LifecyclePolicyRuleItemRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.item.rules.item.LifecyclePolicyRuleItemRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.item.rules.item.LifecyclePolicyRuleItemRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.item.rules.item.LifecyclePolicyRuleItemRequestBuilder::|public|get():LifecyclePolicyRule +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.item.rules.item.LifecyclePolicyRuleItemRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):LifecyclePolicyRule +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.item.rules.item.LifecyclePolicyRuleItemRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.item.rules.item.LifecyclePolicyRuleItemRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.item.rules.item.LifecyclePolicyRuleItemRequestBuilder::|public|withUrl(rawUrl:String):LifecyclePolicyRuleItemRequestBuilder +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.item.rules.RulesRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.item.rules.RulesRequestBuilder.GetQueryParameters::|public|count:Boolean +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.item.rules.RulesRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.item.rules.RulesRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.item.rules.RulesRequestBuilder.GetQueryParameters::|public|orderby:String[] +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.item.rules.RulesRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.item.rules.RulesRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.item.rules.RulesRequestBuilder.GetQueryParameters::|public|skip:Integer +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.item.rules.RulesRequestBuilder.GetQueryParameters::|public|top:Integer +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.item.rules.RulesRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.item.rules.RulesRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.item.rules.RulesRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.item.rules.RulesRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.item.rules.RulesRequestBuilder::|public|byLifecyclePolicyRuleId(lifecyclePolicyRuleId:String):LifecyclePolicyRuleItemRequestBuilder +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.item.rules.RulesRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.item.rules.RulesRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.item.rules.RulesRequestBuilder::|public|count:CountRequestBuilder +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.item.rules.RulesRequestBuilder::|public|get():LifecyclePolicyRuleCollectionResponse +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.item.rules.RulesRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):LifecyclePolicyRuleCollectionResponse +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.item.rules.RulesRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.item.rules.RulesRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.item.rules.RulesRequestBuilder::|public|withUrl(rawUrl:String):RulesRequestBuilder +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.VersionsRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.VersionsRequestBuilder.GetQueryParameters::|public|count:Boolean +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.VersionsRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.VersionsRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.VersionsRequestBuilder.GetQueryParameters::|public|orderby:String[] +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.VersionsRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.VersionsRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.VersionsRequestBuilder.GetQueryParameters::|public|skip:Integer +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.VersionsRequestBuilder.GetQueryParameters::|public|top:Integer +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.VersionsRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.VersionsRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.VersionsRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.VersionsRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.VersionsRequestBuilder::|public|byLifecyclePolicyId1(lifecyclePolicyId1:String):LifecyclePolicyItemRequestBuilder +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.VersionsRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.VersionsRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.VersionsRequestBuilder::|public|get():LifecyclePolicyCollectionResponse +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.VersionsRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):LifecyclePolicyCollectionResponse +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.VersionsRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.VersionsRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.item.versions.VersionsRequestBuilder::|public|withUrl(rawUrl:String):VersionsRequestBuilder +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.LifecyclePoliciesRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.LifecyclePoliciesRequestBuilder.GetQueryParameters::|public|count:Boolean +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.LifecyclePoliciesRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.LifecyclePoliciesRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.LifecyclePoliciesRequestBuilder.GetQueryParameters::|public|orderby:String[] +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.LifecyclePoliciesRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.LifecyclePoliciesRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.LifecyclePoliciesRequestBuilder.GetQueryParameters::|public|skip:Integer +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.LifecyclePoliciesRequestBuilder.GetQueryParameters::|public|top:Integer +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.LifecyclePoliciesRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.LifecyclePoliciesRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.LifecyclePoliciesRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.LifecyclePoliciesRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.LifecyclePoliciesRequestBuilder::|public|byLifecyclePolicyId(lifecyclePolicyId:String):LifecyclePolicyItemRequestBuilder +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.LifecyclePoliciesRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.LifecyclePoliciesRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.LifecyclePoliciesRequestBuilder::|public|count:CountRequestBuilder +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.LifecyclePoliciesRequestBuilder::|public|get():LifecyclePolicyCollectionResponse +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.LifecyclePoliciesRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):LifecyclePolicyCollectionResponse +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.LifecyclePoliciesRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.LifecyclePoliciesRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.lifecyclepolicies.LifecyclePoliciesRequestBuilder::|public|withUrl(rawUrl:String):LifecyclePoliciesRequestBuilder com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.workflows.count.CountRequestBuilder-->BaseRequestBuilder com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.workflows.count.CountRequestBuilder.GetQueryParameters::|public|filter:String com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.workflows.count.CountRequestBuilder.GetQueryParameters::|public|search:String @@ -191533,6 +192240,15 @@ com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.work com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.subjectprocessingresults.item.taskprocessingresults.TaskProcessingResultsRequestBuilder::|public|toGetRequestInformation():RequestInformation com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.subjectprocessingresults.item.taskprocessingresults.TaskProcessingResultsRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.subjectprocessingresults.item.taskprocessingresults.TaskProcessingResultsRequestBuilder::|public|withUrl(rawUrl:String):TaskProcessingResultsRequestBuilder +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.subjectprocessingresults.microsoftgraphidentitygovernancesummarywithstartdatetimewithenddatetime.MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.subjectprocessingresults.microsoftgraphidentitygovernancesummarywithstartdatetimewithenddatetime.MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.subjectprocessingresults.microsoftgraphidentitygovernancesummarywithstartdatetimewithenddatetime.MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter; endDateTime?:OffsetDateTime; startDateTime?:OffsetDateTime):Void +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.subjectprocessingresults.microsoftgraphidentitygovernancesummarywithstartdatetimewithenddatetime.MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.subjectprocessingresults.microsoftgraphidentitygovernancesummarywithstartdatetimewithenddatetime.MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder::|public|get():SubjectSummary +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.subjectprocessingresults.microsoftgraphidentitygovernancesummarywithstartdatetimewithenddatetime.MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):SubjectSummary +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.subjectprocessingresults.microsoftgraphidentitygovernancesummarywithstartdatetimewithenddatetime.MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.subjectprocessingresults.microsoftgraphidentitygovernancesummarywithstartdatetimewithenddatetime.MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.subjectprocessingresults.microsoftgraphidentitygovernancesummarywithstartdatetimewithenddatetime.MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder::|public|withUrl(rawUrl:String):MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.subjectprocessingresults.SubjectProcessingResultsRequestBuilder-->BaseRequestBuilder com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.subjectprocessingresults.SubjectProcessingResultsRequestBuilder.GetQueryParameters::|public|count:Boolean com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.subjectprocessingresults.SubjectProcessingResultsRequestBuilder.GetQueryParameters::|public|expand:String[] @@ -191552,6 +192268,7 @@ com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.work com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.subjectprocessingresults.SubjectProcessingResultsRequestBuilder::|public|count:CountRequestBuilder com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.subjectprocessingresults.SubjectProcessingResultsRequestBuilder::|public|get():SubjectProcessingResultCollectionResponse com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.subjectprocessingresults.SubjectProcessingResultsRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):SubjectProcessingResultCollectionResponse +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.subjectprocessingresults.SubjectProcessingResultsRequestBuilder::|public|microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime(endDateTime:OffsetDateTime; startDateTime:OffsetDateTime):MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.subjectprocessingresults.SubjectProcessingResultsRequestBuilder::|public|toGetRequestInformation():RequestInformation com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.subjectprocessingresults.SubjectProcessingResultsRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.runs.item.subjectprocessingresults.SubjectProcessingResultsRequestBuilder::|public|withUrl(rawUrl:String):SubjectProcessingResultsRequestBuilder @@ -192336,6 +193053,15 @@ com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.work com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.subjectprocessingresults.item.taskprocessingresults.TaskProcessingResultsRequestBuilder::|public|toGetRequestInformation():RequestInformation com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.subjectprocessingresults.item.taskprocessingresults.TaskProcessingResultsRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.subjectprocessingresults.item.taskprocessingresults.TaskProcessingResultsRequestBuilder::|public|withUrl(rawUrl:String):TaskProcessingResultsRequestBuilder +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.subjectprocessingresults.microsoftgraphidentitygovernancesummarywithstartdatetimewithenddatetime.MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.subjectprocessingresults.microsoftgraphidentitygovernancesummarywithstartdatetimewithenddatetime.MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.subjectprocessingresults.microsoftgraphidentitygovernancesummarywithstartdatetimewithenddatetime.MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter; endDateTime?:OffsetDateTime; startDateTime?:OffsetDateTime):Void +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.subjectprocessingresults.microsoftgraphidentitygovernancesummarywithstartdatetimewithenddatetime.MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.subjectprocessingresults.microsoftgraphidentitygovernancesummarywithstartdatetimewithenddatetime.MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder::|public|get():SubjectSummary +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.subjectprocessingresults.microsoftgraphidentitygovernancesummarywithstartdatetimewithenddatetime.MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):SubjectSummary +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.subjectprocessingresults.microsoftgraphidentitygovernancesummarywithstartdatetimewithenddatetime.MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.subjectprocessingresults.microsoftgraphidentitygovernancesummarywithstartdatetimewithenddatetime.MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.subjectprocessingresults.microsoftgraphidentitygovernancesummarywithstartdatetimewithenddatetime.MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder::|public|withUrl(rawUrl:String):MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.subjectprocessingresults.SubjectProcessingResultsRequestBuilder-->BaseRequestBuilder com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.subjectprocessingresults.SubjectProcessingResultsRequestBuilder.GetQueryParameters::|public|count:Boolean com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.subjectprocessingresults.SubjectProcessingResultsRequestBuilder.GetQueryParameters::|public|expand:String[] @@ -192355,6 +193081,7 @@ com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.work com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.subjectprocessingresults.SubjectProcessingResultsRequestBuilder::|public|count:CountRequestBuilder com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.subjectprocessingresults.SubjectProcessingResultsRequestBuilder::|public|get():SubjectProcessingResultCollectionResponse com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.subjectprocessingresults.SubjectProcessingResultsRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):SubjectProcessingResultCollectionResponse +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.subjectprocessingresults.SubjectProcessingResultsRequestBuilder::|public|microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime(endDateTime:OffsetDateTime; startDateTime:OffsetDateTime):MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.subjectprocessingresults.SubjectProcessingResultsRequestBuilder::|public|toGetRequestInformation():RequestInformation com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.subjectprocessingresults.SubjectProcessingResultsRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.deleteditems.workflows.item.subjectprocessingresults.SubjectProcessingResultsRequestBuilder::|public|withUrl(rawUrl:String):SubjectProcessingResultsRequestBuilder @@ -193811,6 +194538,324 @@ com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.insights.microsof com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.insights.microsoftgraphidentitygovernanceworkflowsprocessedsummarywithstartdatetimewithenddatetime.MicrosoftGraphIdentityGovernanceWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilder::|public|toGetRequestInformation():RequestInformation com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.insights.microsoftgraphidentitygovernanceworkflowsprocessedsummarywithstartdatetimewithenddatetime.MicrosoftGraphIdentityGovernanceWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.insights.microsoftgraphidentitygovernanceworkflowsprocessedsummarywithstartdatetimewithenddatetime.MicrosoftGraphIdentityGovernanceWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilder::|public|withUrl(rawUrl:String):MicrosoftGraphIdentityGovernanceWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilder +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.count.CountRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.count.CountRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.count.CountRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.count.CountRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.count.CountRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.count.CountRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.count.CountRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.count.CountRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.count.CountRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.count.CountRequestBuilder::|public|get():Integer +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.count.CountRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):Integer +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.count.CountRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.count.CountRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.count.CountRequestBuilder::|public|withUrl(rawUrl:String):CountRequestBuilder +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.createdby.CreatedByRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.createdby.CreatedByRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.createdby.CreatedByRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.createdby.CreatedByRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.createdby.CreatedByRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.createdby.CreatedByRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.createdby.CreatedByRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.createdby.CreatedByRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.createdby.CreatedByRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.createdby.CreatedByRequestBuilder::|public|get():DirectoryObject +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.createdby.CreatedByRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):DirectoryObject +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.createdby.CreatedByRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.createdby.CreatedByRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.createdby.CreatedByRequestBuilder::|public|withUrl(rawUrl:String):CreatedByRequestBuilder +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.lastmodifiedby.LastModifiedByRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.lastmodifiedby.LastModifiedByRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.lastmodifiedby.LastModifiedByRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.lastmodifiedby.LastModifiedByRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.lastmodifiedby.LastModifiedByRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.lastmodifiedby.LastModifiedByRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.lastmodifiedby.LastModifiedByRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.lastmodifiedby.LastModifiedByRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.lastmodifiedby.LastModifiedByRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.lastmodifiedby.LastModifiedByRequestBuilder::|public|get():DirectoryObject +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.lastmodifiedby.LastModifiedByRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):DirectoryObject +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.lastmodifiedby.LastModifiedByRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.lastmodifiedby.LastModifiedByRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.lastmodifiedby.LastModifiedByRequestBuilder::|public|withUrl(rawUrl:String):LastModifiedByRequestBuilder +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.LifecyclePolicyItemRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.LifecyclePolicyItemRequestBuilder.DeleteRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.LifecyclePolicyItemRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.LifecyclePolicyItemRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.LifecyclePolicyItemRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.LifecyclePolicyItemRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.LifecyclePolicyItemRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.LifecyclePolicyItemRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.LifecyclePolicyItemRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.LifecyclePolicyItemRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.LifecyclePolicyItemRequestBuilder::|public|createdBy:CreatedByRequestBuilder +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.LifecyclePolicyItemRequestBuilder::|public|delete():Void +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.LifecyclePolicyItemRequestBuilder::|public|delete(requestConfiguration?:java.util.function.Consumer):Void +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.LifecyclePolicyItemRequestBuilder::|public|get():LifecyclePolicy +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.LifecyclePolicyItemRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):LifecyclePolicy +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.LifecyclePolicyItemRequestBuilder::|public|lastModifiedBy:LastModifiedByRequestBuilder +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.LifecyclePolicyItemRequestBuilder::|public|microsoftGraphIdentityGovernanceRestore:MicrosoftGraphIdentityGovernanceRestoreRequestBuilder +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.LifecyclePolicyItemRequestBuilder::|public|rules:RulesRequestBuilder +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.LifecyclePolicyItemRequestBuilder::|public|toDeleteRequestInformation():RequestInformation +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.LifecyclePolicyItemRequestBuilder::|public|toDeleteRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.LifecyclePolicyItemRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.LifecyclePolicyItemRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.LifecyclePolicyItemRequestBuilder::|public|versions:VersionsRequestBuilder +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.LifecyclePolicyItemRequestBuilder::|public|withUrl(rawUrl:String):LifecyclePolicyItemRequestBuilder +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.microsoftgraphidentitygovernancerestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.microsoftgraphidentitygovernancerestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.microsoftgraphidentitygovernancerestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.microsoftgraphidentitygovernancerestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.microsoftgraphidentitygovernancerestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder::|public|post():LifecyclePolicy +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.microsoftgraphidentitygovernancerestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder::|public|post(requestConfiguration?:java.util.function.Consumer):LifecyclePolicy +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.microsoftgraphidentitygovernancerestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder::|public|toPostRequestInformation():RequestInformation +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.microsoftgraphidentitygovernancerestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder::|public|toPostRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.microsoftgraphidentitygovernancerestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder::|public|withUrl(rawUrl:String):MicrosoftGraphIdentityGovernanceRestoreRequestBuilder +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.rules.item.LifecyclePolicyRuleItemRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.rules.item.LifecyclePolicyRuleItemRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.rules.item.LifecyclePolicyRuleItemRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.rules.item.LifecyclePolicyRuleItemRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.rules.item.LifecyclePolicyRuleItemRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.rules.item.LifecyclePolicyRuleItemRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.rules.item.LifecyclePolicyRuleItemRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.rules.item.LifecyclePolicyRuleItemRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.rules.item.LifecyclePolicyRuleItemRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.rules.item.LifecyclePolicyRuleItemRequestBuilder::|public|get():LifecyclePolicyRule +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.rules.item.LifecyclePolicyRuleItemRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):LifecyclePolicyRule +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.rules.item.LifecyclePolicyRuleItemRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.rules.item.LifecyclePolicyRuleItemRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.rules.item.LifecyclePolicyRuleItemRequestBuilder::|public|withUrl(rawUrl:String):LifecyclePolicyRuleItemRequestBuilder +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.rules.RulesRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.rules.RulesRequestBuilder.GetQueryParameters::|public|count:Boolean +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.rules.RulesRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.rules.RulesRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.rules.RulesRequestBuilder.GetQueryParameters::|public|orderby:String[] +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.rules.RulesRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.rules.RulesRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.rules.RulesRequestBuilder.GetQueryParameters::|public|skip:Integer +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.rules.RulesRequestBuilder.GetQueryParameters::|public|top:Integer +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.rules.RulesRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.rules.RulesRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.rules.RulesRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.rules.RulesRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.rules.RulesRequestBuilder::|public|byLifecyclePolicyRuleId(lifecyclePolicyRuleId:String):LifecyclePolicyRuleItemRequestBuilder +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.rules.RulesRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.rules.RulesRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.rules.RulesRequestBuilder::|public|get():LifecyclePolicyRuleCollectionResponse +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.rules.RulesRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):LifecyclePolicyRuleCollectionResponse +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.rules.RulesRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.rules.RulesRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.rules.RulesRequestBuilder::|public|withUrl(rawUrl:String):RulesRequestBuilder +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.item.createdby.CreatedByRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.item.createdby.CreatedByRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.item.createdby.CreatedByRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.item.createdby.CreatedByRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.item.createdby.CreatedByRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.item.createdby.CreatedByRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.item.createdby.CreatedByRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.item.createdby.CreatedByRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.item.createdby.CreatedByRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.item.createdby.CreatedByRequestBuilder::|public|get():DirectoryObject +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.item.createdby.CreatedByRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):DirectoryObject +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.item.createdby.CreatedByRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.item.createdby.CreatedByRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.item.createdby.CreatedByRequestBuilder::|public|withUrl(rawUrl:String):CreatedByRequestBuilder +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.item.lastmodifiedby.LastModifiedByRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.item.lastmodifiedby.LastModifiedByRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.item.lastmodifiedby.LastModifiedByRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.item.lastmodifiedby.LastModifiedByRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.item.lastmodifiedby.LastModifiedByRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.item.lastmodifiedby.LastModifiedByRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.item.lastmodifiedby.LastModifiedByRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.item.lastmodifiedby.LastModifiedByRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.item.lastmodifiedby.LastModifiedByRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.item.lastmodifiedby.LastModifiedByRequestBuilder::|public|get():DirectoryObject +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.item.lastmodifiedby.LastModifiedByRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):DirectoryObject +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.item.lastmodifiedby.LastModifiedByRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.item.lastmodifiedby.LastModifiedByRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.item.lastmodifiedby.LastModifiedByRequestBuilder::|public|withUrl(rawUrl:String):LastModifiedByRequestBuilder +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.item.LifecyclePolicyItemRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.item.LifecyclePolicyItemRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.item.LifecyclePolicyItemRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.item.LifecyclePolicyItemRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.item.LifecyclePolicyItemRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.item.LifecyclePolicyItemRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.item.LifecyclePolicyItemRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.item.LifecyclePolicyItemRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.item.LifecyclePolicyItemRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.item.LifecyclePolicyItemRequestBuilder::|public|createdBy:CreatedByRequestBuilder +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.item.LifecyclePolicyItemRequestBuilder::|public|get():LifecyclePolicy +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.item.LifecyclePolicyItemRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):LifecyclePolicy +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.item.LifecyclePolicyItemRequestBuilder::|public|lastModifiedBy:LastModifiedByRequestBuilder +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.item.LifecyclePolicyItemRequestBuilder::|public|microsoftGraphIdentityGovernanceRestore:MicrosoftGraphIdentityGovernanceRestoreRequestBuilder +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.item.LifecyclePolicyItemRequestBuilder::|public|rules:RulesRequestBuilder +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.item.LifecyclePolicyItemRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.item.LifecyclePolicyItemRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.item.LifecyclePolicyItemRequestBuilder::|public|withUrl(rawUrl:String):LifecyclePolicyItemRequestBuilder +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.item.microsoftgraphidentitygovernancerestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.item.microsoftgraphidentitygovernancerestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.item.microsoftgraphidentitygovernancerestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.item.microsoftgraphidentitygovernancerestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.item.microsoftgraphidentitygovernancerestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder::|public|post():LifecyclePolicy +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.item.microsoftgraphidentitygovernancerestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder::|public|post(requestConfiguration?:java.util.function.Consumer):LifecyclePolicy +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.item.microsoftgraphidentitygovernancerestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder::|public|toPostRequestInformation():RequestInformation +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.item.microsoftgraphidentitygovernancerestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder::|public|toPostRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.item.microsoftgraphidentitygovernancerestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder::|public|withUrl(rawUrl:String):MicrosoftGraphIdentityGovernanceRestoreRequestBuilder +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.item.rules.count.CountRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.item.rules.count.CountRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.item.rules.count.CountRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.item.rules.count.CountRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.item.rules.count.CountRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.item.rules.count.CountRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.item.rules.count.CountRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.item.rules.count.CountRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.item.rules.count.CountRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.item.rules.count.CountRequestBuilder::|public|get():Integer +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.item.rules.count.CountRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):Integer +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.item.rules.count.CountRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.item.rules.count.CountRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.item.rules.count.CountRequestBuilder::|public|withUrl(rawUrl:String):CountRequestBuilder +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.item.rules.item.LifecyclePolicyRuleItemRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.item.rules.item.LifecyclePolicyRuleItemRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.item.rules.item.LifecyclePolicyRuleItemRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.item.rules.item.LifecyclePolicyRuleItemRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.item.rules.item.LifecyclePolicyRuleItemRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.item.rules.item.LifecyclePolicyRuleItemRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.item.rules.item.LifecyclePolicyRuleItemRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.item.rules.item.LifecyclePolicyRuleItemRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.item.rules.item.LifecyclePolicyRuleItemRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.item.rules.item.LifecyclePolicyRuleItemRequestBuilder::|public|get():LifecyclePolicyRule +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.item.rules.item.LifecyclePolicyRuleItemRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):LifecyclePolicyRule +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.item.rules.item.LifecyclePolicyRuleItemRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.item.rules.item.LifecyclePolicyRuleItemRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.item.rules.item.LifecyclePolicyRuleItemRequestBuilder::|public|withUrl(rawUrl:String):LifecyclePolicyRuleItemRequestBuilder +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.item.rules.RulesRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.item.rules.RulesRequestBuilder.GetQueryParameters::|public|count:Boolean +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.item.rules.RulesRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.item.rules.RulesRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.item.rules.RulesRequestBuilder.GetQueryParameters::|public|orderby:String[] +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.item.rules.RulesRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.item.rules.RulesRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.item.rules.RulesRequestBuilder.GetQueryParameters::|public|skip:Integer +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.item.rules.RulesRequestBuilder.GetQueryParameters::|public|top:Integer +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.item.rules.RulesRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.item.rules.RulesRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.item.rules.RulesRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.item.rules.RulesRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.item.rules.RulesRequestBuilder::|public|byLifecyclePolicyRuleId(lifecyclePolicyRuleId:String):LifecyclePolicyRuleItemRequestBuilder +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.item.rules.RulesRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.item.rules.RulesRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.item.rules.RulesRequestBuilder::|public|count:CountRequestBuilder +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.item.rules.RulesRequestBuilder::|public|get():LifecyclePolicyRuleCollectionResponse +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.item.rules.RulesRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):LifecyclePolicyRuleCollectionResponse +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.item.rules.RulesRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.item.rules.RulesRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.item.rules.RulesRequestBuilder::|public|withUrl(rawUrl:String):RulesRequestBuilder +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.VersionsRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.VersionsRequestBuilder.GetQueryParameters::|public|count:Boolean +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.VersionsRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.VersionsRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.VersionsRequestBuilder.GetQueryParameters::|public|orderby:String[] +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.VersionsRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.VersionsRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.VersionsRequestBuilder.GetQueryParameters::|public|skip:Integer +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.VersionsRequestBuilder.GetQueryParameters::|public|top:Integer +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.VersionsRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.VersionsRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.VersionsRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.VersionsRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.VersionsRequestBuilder::|public|byLifecyclePolicyId1(lifecyclePolicyId1:String):LifecyclePolicyItemRequestBuilder +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.VersionsRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.VersionsRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.VersionsRequestBuilder::|public|get():LifecyclePolicyCollectionResponse +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.VersionsRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):LifecyclePolicyCollectionResponse +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.VersionsRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.VersionsRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.item.versions.VersionsRequestBuilder::|public|withUrl(rawUrl:String):VersionsRequestBuilder +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.LifecyclePoliciesRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.LifecyclePoliciesRequestBuilder.GetQueryParameters::|public|count:Boolean +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.LifecyclePoliciesRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.LifecyclePoliciesRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.LifecyclePoliciesRequestBuilder.GetQueryParameters::|public|orderby:String[] +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.LifecyclePoliciesRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.LifecyclePoliciesRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.LifecyclePoliciesRequestBuilder.GetQueryParameters::|public|skip:Integer +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.LifecyclePoliciesRequestBuilder.GetQueryParameters::|public|top:Integer +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.LifecyclePoliciesRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.LifecyclePoliciesRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.LifecyclePoliciesRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.LifecyclePoliciesRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.LifecyclePoliciesRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.LifecyclePoliciesRequestBuilder::|public|byLifecyclePolicyId(lifecyclePolicyId:String):LifecyclePolicyItemRequestBuilder +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.LifecyclePoliciesRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.LifecyclePoliciesRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.LifecyclePoliciesRequestBuilder::|public|count:CountRequestBuilder +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.LifecyclePoliciesRequestBuilder::|public|get():LifecyclePolicyCollectionResponse +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.LifecyclePoliciesRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):LifecyclePolicyCollectionResponse +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.LifecyclePoliciesRequestBuilder::|public|post(body:LifecyclePolicy):LifecyclePolicy +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.LifecyclePoliciesRequestBuilder::|public|post(body:LifecyclePolicy; requestConfiguration?:java.util.function.Consumer):LifecyclePolicy +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.LifecyclePoliciesRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.LifecyclePoliciesRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.LifecyclePoliciesRequestBuilder::|public|toPostRequestInformation(body:LifecyclePolicy):RequestInformation +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.LifecyclePoliciesRequestBuilder::|public|toPostRequestInformation(body:LifecyclePolicy; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicies.LifecyclePoliciesRequestBuilder::|public|withUrl(rawUrl:String):LifecyclePoliciesRequestBuilder +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicypriorityconfigurations.count.CountRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicypriorityconfigurations.count.CountRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicypriorityconfigurations.count.CountRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicypriorityconfigurations.count.CountRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicypriorityconfigurations.count.CountRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicypriorityconfigurations.count.CountRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicypriorityconfigurations.count.CountRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicypriorityconfigurations.count.CountRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicypriorityconfigurations.count.CountRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicypriorityconfigurations.count.CountRequestBuilder::|public|get():Integer +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicypriorityconfigurations.count.CountRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):Integer +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicypriorityconfigurations.count.CountRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicypriorityconfigurations.count.CountRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicypriorityconfigurations.count.CountRequestBuilder::|public|withUrl(rawUrl:String):CountRequestBuilder +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicypriorityconfigurations.item.LifecyclePolicyPriorityConfigurationItemRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicypriorityconfigurations.item.LifecyclePolicyPriorityConfigurationItemRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicypriorityconfigurations.item.LifecyclePolicyPriorityConfigurationItemRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicypriorityconfigurations.item.LifecyclePolicyPriorityConfigurationItemRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicypriorityconfigurations.item.LifecyclePolicyPriorityConfigurationItemRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicypriorityconfigurations.item.LifecyclePolicyPriorityConfigurationItemRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicypriorityconfigurations.item.LifecyclePolicyPriorityConfigurationItemRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicypriorityconfigurations.item.LifecyclePolicyPriorityConfigurationItemRequestBuilder.PatchRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicypriorityconfigurations.item.LifecyclePolicyPriorityConfigurationItemRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicypriorityconfigurations.item.LifecyclePolicyPriorityConfigurationItemRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicypriorityconfigurations.item.LifecyclePolicyPriorityConfigurationItemRequestBuilder::|public|get():LifecyclePolicyPriorityConfiguration +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicypriorityconfigurations.item.LifecyclePolicyPriorityConfigurationItemRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):LifecyclePolicyPriorityConfiguration +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicypriorityconfigurations.item.LifecyclePolicyPriorityConfigurationItemRequestBuilder::|public|patch(body:LifecyclePolicyPriorityConfiguration):LifecyclePolicyPriorityConfiguration +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicypriorityconfigurations.item.LifecyclePolicyPriorityConfigurationItemRequestBuilder::|public|patch(body:LifecyclePolicyPriorityConfiguration; requestConfiguration?:java.util.function.Consumer):LifecyclePolicyPriorityConfiguration +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicypriorityconfigurations.item.LifecyclePolicyPriorityConfigurationItemRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicypriorityconfigurations.item.LifecyclePolicyPriorityConfigurationItemRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicypriorityconfigurations.item.LifecyclePolicyPriorityConfigurationItemRequestBuilder::|public|toPatchRequestInformation(body:LifecyclePolicyPriorityConfiguration):RequestInformation +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicypriorityconfigurations.item.LifecyclePolicyPriorityConfigurationItemRequestBuilder::|public|toPatchRequestInformation(body:LifecyclePolicyPriorityConfiguration; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicypriorityconfigurations.item.LifecyclePolicyPriorityConfigurationItemRequestBuilder::|public|withUrl(rawUrl:String):LifecyclePolicyPriorityConfigurationItemRequestBuilder +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicypriorityconfigurations.LifecyclePolicyPriorityConfigurationsRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicypriorityconfigurations.LifecyclePolicyPriorityConfigurationsRequestBuilder.GetQueryParameters::|public|count:Boolean +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicypriorityconfigurations.LifecyclePolicyPriorityConfigurationsRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicypriorityconfigurations.LifecyclePolicyPriorityConfigurationsRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicypriorityconfigurations.LifecyclePolicyPriorityConfigurationsRequestBuilder.GetQueryParameters::|public|orderby:String[] +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicypriorityconfigurations.LifecyclePolicyPriorityConfigurationsRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicypriorityconfigurations.LifecyclePolicyPriorityConfigurationsRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicypriorityconfigurations.LifecyclePolicyPriorityConfigurationsRequestBuilder.GetQueryParameters::|public|skip:Integer +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicypriorityconfigurations.LifecyclePolicyPriorityConfigurationsRequestBuilder.GetQueryParameters::|public|top:Integer +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicypriorityconfigurations.LifecyclePolicyPriorityConfigurationsRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicypriorityconfigurations.LifecyclePolicyPriorityConfigurationsRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicypriorityconfigurations.LifecyclePolicyPriorityConfigurationsRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicypriorityconfigurations.LifecyclePolicyPriorityConfigurationsRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicypriorityconfigurations.LifecyclePolicyPriorityConfigurationsRequestBuilder::|public|byLifecyclePolicyPriorityConfigurationId(lifecyclePolicyPriorityConfigurationId:String):LifecyclePolicyPriorityConfigurationItemRequestBuilder +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicypriorityconfigurations.LifecyclePolicyPriorityConfigurationsRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicypriorityconfigurations.LifecyclePolicyPriorityConfigurationsRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicypriorityconfigurations.LifecyclePolicyPriorityConfigurationsRequestBuilder::|public|count:CountRequestBuilder +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicypriorityconfigurations.LifecyclePolicyPriorityConfigurationsRequestBuilder::|public|get():LifecyclePolicyPriorityConfigurationCollectionResponse +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicypriorityconfigurations.LifecyclePolicyPriorityConfigurationsRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):LifecyclePolicyPriorityConfigurationCollectionResponse +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicypriorityconfigurations.LifecyclePolicyPriorityConfigurationsRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicypriorityconfigurations.LifecyclePolicyPriorityConfigurationsRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.lifecyclepolicypriorityconfigurations.LifecyclePolicyPriorityConfigurationsRequestBuilder::|public|withUrl(rawUrl:String):LifecyclePolicyPriorityConfigurationsRequestBuilder com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.LifecycleWorkflowsRequestBuilder-->BaseRequestBuilder com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.LifecycleWorkflowsRequestBuilder.DeleteRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.LifecycleWorkflowsRequestBuilder.GetQueryParameters::|public|expand:String[] @@ -193829,6 +194874,8 @@ com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.LifecycleWorkflow com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.LifecycleWorkflowsRequestBuilder::|public|get():LifecycleWorkflowsContainer com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.LifecycleWorkflowsRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):LifecycleWorkflowsContainer com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.LifecycleWorkflowsRequestBuilder::|public|insights:InsightsRequestBuilder +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.LifecycleWorkflowsRequestBuilder::|public|lifecyclePolicies:LifecyclePoliciesRequestBuilder +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.LifecycleWorkflowsRequestBuilder::|public|lifecyclePolicyPriorityConfigurations:LifecyclePolicyPriorityConfigurationsRequestBuilder com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.LifecycleWorkflowsRequestBuilder::|public|patch(body:LifecycleWorkflowsContainer):LifecycleWorkflowsContainer com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.LifecycleWorkflowsRequestBuilder::|public|patch(body:LifecycleWorkflowsContainer; requestConfiguration?:java.util.function.Consumer):LifecycleWorkflowsContainer com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.LifecycleWorkflowsRequestBuilder::|public|settings:SettingsRequestBuilder @@ -194699,6 +195746,15 @@ com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.workflows.item.ru com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.workflows.item.runs.item.subjectprocessingresults.item.taskprocessingresults.TaskProcessingResultsRequestBuilder::|public|toGetRequestInformation():RequestInformation com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.workflows.item.runs.item.subjectprocessingresults.item.taskprocessingresults.TaskProcessingResultsRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.workflows.item.runs.item.subjectprocessingresults.item.taskprocessingresults.TaskProcessingResultsRequestBuilder::|public|withUrl(rawUrl:String):TaskProcessingResultsRequestBuilder +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.workflows.item.runs.item.subjectprocessingresults.microsoftgraphidentitygovernancesummarywithstartdatetimewithenddatetime.MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.workflows.item.runs.item.subjectprocessingresults.microsoftgraphidentitygovernancesummarywithstartdatetimewithenddatetime.MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.workflows.item.runs.item.subjectprocessingresults.microsoftgraphidentitygovernancesummarywithstartdatetimewithenddatetime.MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter; endDateTime?:OffsetDateTime; startDateTime?:OffsetDateTime):Void +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.workflows.item.runs.item.subjectprocessingresults.microsoftgraphidentitygovernancesummarywithstartdatetimewithenddatetime.MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.workflows.item.runs.item.subjectprocessingresults.microsoftgraphidentitygovernancesummarywithstartdatetimewithenddatetime.MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder::|public|get():SubjectSummary +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.workflows.item.runs.item.subjectprocessingresults.microsoftgraphidentitygovernancesummarywithstartdatetimewithenddatetime.MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):SubjectSummary +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.workflows.item.runs.item.subjectprocessingresults.microsoftgraphidentitygovernancesummarywithstartdatetimewithenddatetime.MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.workflows.item.runs.item.subjectprocessingresults.microsoftgraphidentitygovernancesummarywithstartdatetimewithenddatetime.MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.workflows.item.runs.item.subjectprocessingresults.microsoftgraphidentitygovernancesummarywithstartdatetimewithenddatetime.MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder::|public|withUrl(rawUrl:String):MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.workflows.item.runs.item.subjectprocessingresults.SubjectProcessingResultsRequestBuilder-->BaseRequestBuilder com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.workflows.item.runs.item.subjectprocessingresults.SubjectProcessingResultsRequestBuilder.GetQueryParameters::|public|count:Boolean com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.workflows.item.runs.item.subjectprocessingresults.SubjectProcessingResultsRequestBuilder.GetQueryParameters::|public|expand:String[] @@ -194718,6 +195774,7 @@ com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.workflows.item.ru com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.workflows.item.runs.item.subjectprocessingresults.SubjectProcessingResultsRequestBuilder::|public|count:CountRequestBuilder com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.workflows.item.runs.item.subjectprocessingresults.SubjectProcessingResultsRequestBuilder::|public|get():SubjectProcessingResultCollectionResponse com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.workflows.item.runs.item.subjectprocessingresults.SubjectProcessingResultsRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):SubjectProcessingResultCollectionResponse +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.workflows.item.runs.item.subjectprocessingresults.SubjectProcessingResultsRequestBuilder::|public|microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime(endDateTime:OffsetDateTime; startDateTime:OffsetDateTime):MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.workflows.item.runs.item.subjectprocessingresults.SubjectProcessingResultsRequestBuilder::|public|toGetRequestInformation():RequestInformation com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.workflows.item.runs.item.subjectprocessingresults.SubjectProcessingResultsRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.workflows.item.runs.item.subjectprocessingresults.SubjectProcessingResultsRequestBuilder::|public|withUrl(rawUrl:String):SubjectProcessingResultsRequestBuilder @@ -195502,6 +196559,15 @@ com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.workflows.item.su com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.workflows.item.subjectprocessingresults.item.taskprocessingresults.TaskProcessingResultsRequestBuilder::|public|toGetRequestInformation():RequestInformation com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.workflows.item.subjectprocessingresults.item.taskprocessingresults.TaskProcessingResultsRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.workflows.item.subjectprocessingresults.item.taskprocessingresults.TaskProcessingResultsRequestBuilder::|public|withUrl(rawUrl:String):TaskProcessingResultsRequestBuilder +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.workflows.item.subjectprocessingresults.microsoftgraphidentitygovernancesummarywithstartdatetimewithenddatetime.MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.workflows.item.subjectprocessingresults.microsoftgraphidentitygovernancesummarywithstartdatetimewithenddatetime.MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.workflows.item.subjectprocessingresults.microsoftgraphidentitygovernancesummarywithstartdatetimewithenddatetime.MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter; endDateTime?:OffsetDateTime; startDateTime?:OffsetDateTime):Void +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.workflows.item.subjectprocessingresults.microsoftgraphidentitygovernancesummarywithstartdatetimewithenddatetime.MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.workflows.item.subjectprocessingresults.microsoftgraphidentitygovernancesummarywithstartdatetimewithenddatetime.MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder::|public|get():SubjectSummary +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.workflows.item.subjectprocessingresults.microsoftgraphidentitygovernancesummarywithstartdatetimewithenddatetime.MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):SubjectSummary +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.workflows.item.subjectprocessingresults.microsoftgraphidentitygovernancesummarywithstartdatetimewithenddatetime.MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.workflows.item.subjectprocessingresults.microsoftgraphidentitygovernancesummarywithstartdatetimewithenddatetime.MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.workflows.item.subjectprocessingresults.microsoftgraphidentitygovernancesummarywithstartdatetimewithenddatetime.MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder::|public|withUrl(rawUrl:String):MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.workflows.item.subjectprocessingresults.SubjectProcessingResultsRequestBuilder-->BaseRequestBuilder com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.workflows.item.subjectprocessingresults.SubjectProcessingResultsRequestBuilder.GetQueryParameters::|public|count:Boolean com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.workflows.item.subjectprocessingresults.SubjectProcessingResultsRequestBuilder.GetQueryParameters::|public|expand:String[] @@ -195521,6 +196587,7 @@ com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.workflows.item.su com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.workflows.item.subjectprocessingresults.SubjectProcessingResultsRequestBuilder::|public|count:CountRequestBuilder com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.workflows.item.subjectprocessingresults.SubjectProcessingResultsRequestBuilder::|public|get():SubjectProcessingResultCollectionResponse com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.workflows.item.subjectprocessingresults.SubjectProcessingResultsRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):SubjectProcessingResultCollectionResponse +com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.workflows.item.subjectprocessingresults.SubjectProcessingResultsRequestBuilder::|public|microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime(endDateTime:OffsetDateTime; startDateTime:OffsetDateTime):MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.workflows.item.subjectprocessingresults.SubjectProcessingResultsRequestBuilder::|public|toGetRequestInformation():RequestInformation com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.workflows.item.subjectprocessingresults.SubjectProcessingResultsRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.identitygovernance.lifecycleworkflows.workflows.item.subjectprocessingresults.SubjectProcessingResultsRequestBuilder::|public|withUrl(rawUrl:String):SubjectProcessingResultsRequestBuilder @@ -203032,6 +204099,7 @@ com.microsoft.graph.beta.models.AccessPackageAssignmentRequest::|public|getField com.microsoft.graph.beta.models.AccessPackageAssignmentRequest::|public|getHistory():java.util.List com.microsoft.graph.beta.models.AccessPackageAssignmentRequest::|public|getIsValidationOnly():Boolean com.microsoft.graph.beta.models.AccessPackageAssignmentRequest::|public|getJustification():String +com.microsoft.graph.beta.models.AccessPackageAssignmentRequest::|public|getParameters():AccessPackageAssignmentRequestParameters com.microsoft.graph.beta.models.AccessPackageAssignmentRequest::|public|getRequestor():AccessPackageSubject com.microsoft.graph.beta.models.AccessPackageAssignmentRequest::|public|getRequestState():String com.microsoft.graph.beta.models.AccessPackageAssignmentRequest::|public|getRequestStatus():String @@ -203051,6 +204119,7 @@ com.microsoft.graph.beta.models.AccessPackageAssignmentRequest::|public|setExpir com.microsoft.graph.beta.models.AccessPackageAssignmentRequest::|public|setHistory(value?:java.util.List):void com.microsoft.graph.beta.models.AccessPackageAssignmentRequest::|public|setIsValidationOnly(value?:Boolean):void com.microsoft.graph.beta.models.AccessPackageAssignmentRequest::|public|setJustification(value?:String):void +com.microsoft.graph.beta.models.AccessPackageAssignmentRequest::|public|setParameters(value?:AccessPackageAssignmentRequestParameters):void com.microsoft.graph.beta.models.AccessPackageAssignmentRequest::|public|setRequestor(value?:AccessPackageSubject):void com.microsoft.graph.beta.models.AccessPackageAssignmentRequest::|public|setRequestState(value?:String):void com.microsoft.graph.beta.models.AccessPackageAssignmentRequest::|public|setRequestStatus(value?:String):void @@ -203079,6 +204148,20 @@ com.microsoft.graph.beta.models.AccessPackageAssignmentRequestCollectionResponse com.microsoft.graph.beta.models.AccessPackageAssignmentRequestCollectionResponse::|public|serialize(writer:SerializationWriter):Void com.microsoft.graph.beta.models.AccessPackageAssignmentRequestCollectionResponse::|public|setValue(value?:java.util.List):void com.microsoft.graph.beta.models.AccessPackageAssignmentRequestCollectionResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):AccessPackageAssignmentRequestCollectionResponse +com.microsoft.graph.beta.models.AccessPackageAssignmentRequestParameters::|protected|backingStore:BackingStore +com.microsoft.graph.beta.models.AccessPackageAssignmentRequestParameters::|public|constructor():void +com.microsoft.graph.beta.models.AccessPackageAssignmentRequestParameters::|public|getAdditionalData():Map +com.microsoft.graph.beta.models.AccessPackageAssignmentRequestParameters::|public|getBackingStore():BackingStore +com.microsoft.graph.beta.models.AccessPackageAssignmentRequestParameters::|public|getBypassApproval():Boolean +com.microsoft.graph.beta.models.AccessPackageAssignmentRequestParameters::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.AccessPackageAssignmentRequestParameters::|public|getOdataType():String +com.microsoft.graph.beta.models.AccessPackageAssignmentRequestParameters::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.AccessPackageAssignmentRequestParameters::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.beta.models.AccessPackageAssignmentRequestParameters::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.beta.models.AccessPackageAssignmentRequestParameters::|public|setBypassApproval(value?:Boolean):void +com.microsoft.graph.beta.models.AccessPackageAssignmentRequestParameters::|public|setOdataType(value?:String):void +com.microsoft.graph.beta.models.AccessPackageAssignmentRequestParameters::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):AccessPackageAssignmentRequestParameters +com.microsoft.graph.beta.models.AccessPackageAssignmentRequestParameters~~>AdditionalDataHolder; BackedModel; Parsable com.microsoft.graph.beta.models.AccessPackageAssignmentRequestRequirements::|protected|backingStore:BackingStore com.microsoft.graph.beta.models.AccessPackageAssignmentRequestRequirements::|public|constructor():void com.microsoft.graph.beta.models.AccessPackageAssignmentRequestRequirements::|public|getAdditionalData():Map @@ -205427,6 +206510,34 @@ com.microsoft.graph.beta.models.Agent::|public|OdataType:String com.microsoft.graph.beta.models.Agent::|public|serialize(writer:SerializationWriter):Void com.microsoft.graph.beta.models.Agent::|public|setCopilotTools(value?:java.util.List):void com.microsoft.graph.beta.models.Agent::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):Agent +com.microsoft.graph.beta.models.AgentBlueprintApiBasedEndpointConfigurationDetails::|protected|backingStore:BackingStore +com.microsoft.graph.beta.models.AgentBlueprintApiBasedEndpointConfigurationDetails::|public|constructor():void +com.microsoft.graph.beta.models.AgentBlueprintApiBasedEndpointConfigurationDetails::|public|getAdditionalData():Map +com.microsoft.graph.beta.models.AgentBlueprintApiBasedEndpointConfigurationDetails::|public|getBackingStore():BackingStore +com.microsoft.graph.beta.models.AgentBlueprintApiBasedEndpointConfigurationDetails::|public|getCallbackUri():String +com.microsoft.graph.beta.models.AgentBlueprintApiBasedEndpointConfigurationDetails::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.AgentBlueprintApiBasedEndpointConfigurationDetails::|public|getOdataType():String +com.microsoft.graph.beta.models.AgentBlueprintApiBasedEndpointConfigurationDetails::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.AgentBlueprintApiBasedEndpointConfigurationDetails::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.beta.models.AgentBlueprintApiBasedEndpointConfigurationDetails::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.beta.models.AgentBlueprintApiBasedEndpointConfigurationDetails::|public|setCallbackUri(value?:String):void +com.microsoft.graph.beta.models.AgentBlueprintApiBasedEndpointConfigurationDetails::|public|setOdataType(value?:String):void +com.microsoft.graph.beta.models.AgentBlueprintApiBasedEndpointConfigurationDetails::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):AgentBlueprintApiBasedEndpointConfigurationDetails +com.microsoft.graph.beta.models.AgentBlueprintApiBasedEndpointConfigurationDetails~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.beta.models.AgentBlueprintBotBasedEndpointConfigurationDetails::|protected|backingStore:BackingStore +com.microsoft.graph.beta.models.AgentBlueprintBotBasedEndpointConfigurationDetails::|public|constructor():void +com.microsoft.graph.beta.models.AgentBlueprintBotBasedEndpointConfigurationDetails::|public|getAdditionalData():Map +com.microsoft.graph.beta.models.AgentBlueprintBotBasedEndpointConfigurationDetails::|public|getBackingStore():BackingStore +com.microsoft.graph.beta.models.AgentBlueprintBotBasedEndpointConfigurationDetails::|public|getBotId():String +com.microsoft.graph.beta.models.AgentBlueprintBotBasedEndpointConfigurationDetails::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.AgentBlueprintBotBasedEndpointConfigurationDetails::|public|getOdataType():String +com.microsoft.graph.beta.models.AgentBlueprintBotBasedEndpointConfigurationDetails::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.AgentBlueprintBotBasedEndpointConfigurationDetails::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.beta.models.AgentBlueprintBotBasedEndpointConfigurationDetails::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.beta.models.AgentBlueprintBotBasedEndpointConfigurationDetails::|public|setBotId(value?:String):void +com.microsoft.graph.beta.models.AgentBlueprintBotBasedEndpointConfigurationDetails::|public|setOdataType(value?:String):void +com.microsoft.graph.beta.models.AgentBlueprintBotBasedEndpointConfigurationDetails::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):AgentBlueprintBotBasedEndpointConfigurationDetails +com.microsoft.graph.beta.models.AgentBlueprintBotBasedEndpointConfigurationDetails~~>AdditionalDataHolder; BackedModel; Parsable com.microsoft.graph.beta.models.AgentCapabilities::|protected|backingStore:BackingStore com.microsoft.graph.beta.models.AgentCapabilities::|public|constructor():void com.microsoft.graph.beta.models.AgentCapabilities::|public|getAdditionalData():Map @@ -205556,6 +206667,53 @@ com.microsoft.graph.beta.models.AgentCollectionResponse::|public|getValue():java com.microsoft.graph.beta.models.AgentCollectionResponse::|public|serialize(writer:SerializationWriter):Void com.microsoft.graph.beta.models.AgentCollectionResponse::|public|setValue(value?:java.util.List):void com.microsoft.graph.beta.models.AgentCollectionResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):AgentCollectionResponse +com.microsoft.graph.beta.models.AgentCommunicationConfiguration-->Entity +com.microsoft.graph.beta.models.AgentCommunicationConfiguration::|public|constructor():void +com.microsoft.graph.beta.models.AgentCommunicationConfiguration::|public|getEndpointConfiguration():AgentEndpointConfiguration +com.microsoft.graph.beta.models.AgentCommunicationConfiguration::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.AgentCommunicationConfiguration::|public|getIsOverridableAtAgentIdLevel():Boolean +com.microsoft.graph.beta.models.AgentCommunicationConfiguration::|public|getTeamworkConfiguration():AgentTeamworkConfiguration +com.microsoft.graph.beta.models.AgentCommunicationConfiguration::|public|OdataType:String +com.microsoft.graph.beta.models.AgentCommunicationConfiguration::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.AgentCommunicationConfiguration::|public|setEndpointConfiguration(value?:AgentEndpointConfiguration):void +com.microsoft.graph.beta.models.AgentCommunicationConfiguration::|public|setIsOverridableAtAgentIdLevel(value?:Boolean):void +com.microsoft.graph.beta.models.AgentCommunicationConfiguration::|public|setTeamworkConfiguration(value?:AgentTeamworkConfiguration):void +com.microsoft.graph.beta.models.AgentCommunicationConfiguration::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):AgentCommunicationConfiguration +com.microsoft.graph.beta.models.AgentConversationConfiguration::|protected|backingStore:BackingStore +com.microsoft.graph.beta.models.AgentConversationConfiguration::|public|constructor():void +com.microsoft.graph.beta.models.AgentConversationConfiguration::|public|getAdditionalData():Map +com.microsoft.graph.beta.models.AgentConversationConfiguration::|public|getBackingStore():BackingStore +com.microsoft.graph.beta.models.AgentConversationConfiguration::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.AgentConversationConfiguration::|public|getMessageNotificationMode():AgentMessageNotificationMode +com.microsoft.graph.beta.models.AgentConversationConfiguration::|public|getOdataType():String +com.microsoft.graph.beta.models.AgentConversationConfiguration::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.AgentConversationConfiguration::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.beta.models.AgentConversationConfiguration::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.beta.models.AgentConversationConfiguration::|public|setMessageNotificationMode(value?:AgentMessageNotificationMode):void +com.microsoft.graph.beta.models.AgentConversationConfiguration::|public|setOdataType(value?:String):void +com.microsoft.graph.beta.models.AgentConversationConfiguration::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):AgentConversationConfiguration +com.microsoft.graph.beta.models.AgentConversationConfiguration~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.beta.models.AgentEndpointConfiguration::|protected|backingStore:BackingStore +com.microsoft.graph.beta.models.AgentEndpointConfiguration::|public|constructor():void +com.microsoft.graph.beta.models.AgentEndpointConfiguration::|public|getAdditionalData():Map +com.microsoft.graph.beta.models.AgentEndpointConfiguration::|public|getApiBased():AgentBlueprintApiBasedEndpointConfigurationDetails +com.microsoft.graph.beta.models.AgentEndpointConfiguration::|public|getBackingStore():BackingStore +com.microsoft.graph.beta.models.AgentEndpointConfiguration::|public|getBotBased():AgentBlueprintBotBasedEndpointConfigurationDetails +com.microsoft.graph.beta.models.AgentEndpointConfiguration::|public|getConfigurationType():AgentEndpointConfigurationType +com.microsoft.graph.beta.models.AgentEndpointConfiguration::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.AgentEndpointConfiguration::|public|getOdataType():String +com.microsoft.graph.beta.models.AgentEndpointConfiguration::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.AgentEndpointConfiguration::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.beta.models.AgentEndpointConfiguration::|public|setApiBased(value?:AgentBlueprintApiBasedEndpointConfigurationDetails):void +com.microsoft.graph.beta.models.AgentEndpointConfiguration::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.beta.models.AgentEndpointConfiguration::|public|setBotBased(value?:AgentBlueprintBotBasedEndpointConfigurationDetails):void +com.microsoft.graph.beta.models.AgentEndpointConfiguration::|public|setConfigurationType(value?:AgentEndpointConfigurationType):void +com.microsoft.graph.beta.models.AgentEndpointConfiguration::|public|setOdataType(value?:String):void +com.microsoft.graph.beta.models.AgentEndpointConfiguration::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):AgentEndpointConfiguration +com.microsoft.graph.beta.models.AgentEndpointConfigurationType::0000-ApiBased +com.microsoft.graph.beta.models.AgentEndpointConfigurationType::0001-BotBased +com.microsoft.graph.beta.models.AgentEndpointConfigurationType::0002-UnknownFutureValue +com.microsoft.graph.beta.models.AgentEndpointConfiguration~~>AdditionalDataHolder; BackedModel; Parsable com.microsoft.graph.beta.models.AgentExtension::|protected|backingStore:BackingStore com.microsoft.graph.beta.models.AgentExtension::|public|constructor():void com.microsoft.graph.beta.models.AgentExtension::|public|getAdditionalData():Map @@ -205617,35 +206775,43 @@ com.microsoft.graph.beta.models.agentic.AgentType::0005-UnknownFutureValue com.microsoft.graph.beta.models.AgentIdentity-->ServicePrincipal com.microsoft.graph.beta.models.AgentIdentity::|public|constructor():void com.microsoft.graph.beta.models.AgentIdentity::|public|getAgentIdentityBlueprintId():String +com.microsoft.graph.beta.models.AgentIdentity::|public|getCommunicationConfiguration():AgentCommunicationConfiguration com.microsoft.graph.beta.models.AgentIdentity::|public|getCreatedDateTime():OffsetDateTime com.microsoft.graph.beta.models.AgentIdentity::|public|getFieldDeserializers():Map> com.microsoft.graph.beta.models.AgentIdentity::|public|getInheritedAppRoleAssignments():java.util.List com.microsoft.graph.beta.models.AgentIdentity::|public|getInheritedOauth2PermissionGrants():java.util.List +com.microsoft.graph.beta.models.AgentIdentity::|public|getManagerApplications():java.util.List com.microsoft.graph.beta.models.AgentIdentity::|public|getSponsors():java.util.List com.microsoft.graph.beta.models.AgentIdentity::|public|OdataType:String com.microsoft.graph.beta.models.AgentIdentity::|public|serialize(writer:SerializationWriter):Void com.microsoft.graph.beta.models.AgentIdentity::|public|setAgentIdentityBlueprintId(value?:String):void +com.microsoft.graph.beta.models.AgentIdentity::|public|setCommunicationConfiguration(value?:AgentCommunicationConfiguration):void com.microsoft.graph.beta.models.AgentIdentity::|public|setCreatedDateTime(value?:OffsetDateTime):void com.microsoft.graph.beta.models.AgentIdentity::|public|setInheritedAppRoleAssignments(value?:java.util.List):void com.microsoft.graph.beta.models.AgentIdentity::|public|setInheritedOauth2PermissionGrants(value?:java.util.List):void +com.microsoft.graph.beta.models.AgentIdentity::|public|setManagerApplications(value?:java.util.List):void com.microsoft.graph.beta.models.AgentIdentity::|public|setSponsors(value?:java.util.List):void com.microsoft.graph.beta.models.AgentIdentity::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):AgentIdentity com.microsoft.graph.beta.models.AgentIdentityBlueprint-->Application com.microsoft.graph.beta.models.AgentIdentityBlueprint::|public|constructor():void +com.microsoft.graph.beta.models.AgentIdentityBlueprint::|public|getCommunicationConfiguration():AgentCommunicationConfiguration com.microsoft.graph.beta.models.AgentIdentityBlueprint::|public|getFieldDeserializers():Map> com.microsoft.graph.beta.models.AgentIdentityBlueprint::|public|getInheritablePermissions():java.util.List com.microsoft.graph.beta.models.AgentIdentityBlueprint::|public|getSponsors():java.util.List com.microsoft.graph.beta.models.AgentIdentityBlueprint::|public|OdataType:String com.microsoft.graph.beta.models.AgentIdentityBlueprint::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.AgentIdentityBlueprint::|public|setCommunicationConfiguration(value?:AgentCommunicationConfiguration):void com.microsoft.graph.beta.models.AgentIdentityBlueprint::|public|setInheritablePermissions(value?:java.util.List):void com.microsoft.graph.beta.models.AgentIdentityBlueprint::|public|setSponsors(value?:java.util.List):void com.microsoft.graph.beta.models.AgentIdentityBlueprint::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):AgentIdentityBlueprint com.microsoft.graph.beta.models.AgentIdentityBlueprintPrincipal-->ServicePrincipal com.microsoft.graph.beta.models.AgentIdentityBlueprintPrincipal::|public|constructor():void com.microsoft.graph.beta.models.AgentIdentityBlueprintPrincipal::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.AgentIdentityBlueprintPrincipal::|public|getManagerApplications():java.util.List com.microsoft.graph.beta.models.AgentIdentityBlueprintPrincipal::|public|getSponsors():java.util.List com.microsoft.graph.beta.models.AgentIdentityBlueprintPrincipal::|public|OdataType:String com.microsoft.graph.beta.models.AgentIdentityBlueprintPrincipal::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.AgentIdentityBlueprintPrincipal::|public|setManagerApplications(value?:java.util.List):void com.microsoft.graph.beta.models.AgentIdentityBlueprintPrincipal::|public|setSponsors(value?:java.util.List):void com.microsoft.graph.beta.models.AgentIdentityBlueprintPrincipal::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):AgentIdentityBlueprintPrincipal com.microsoft.graph.beta.models.AgentIdentityType::0000-AgentIdentity @@ -205653,6 +206819,7 @@ com.microsoft.graph.beta.models.AgentIdentityType::0001-AgentUser com.microsoft.graph.beta.models.AgentIdentityType::0002-UnknownFutureValue com.microsoft.graph.beta.models.AgentIdentityType::0003-AgentIdentityBlueprintPrincipal com.microsoft.graph.beta.models.AgentIdentityType::0004-User +com.microsoft.graph.beta.models.AgentIdentityType::0005-DiscoveredAgentIdentity com.microsoft.graph.beta.models.AgentIdRiskLevel::0000-None com.microsoft.graph.beta.models.AgentIdRiskLevel::0001-Low com.microsoft.graph.beta.models.AgentIdRiskLevel::0002-Medium @@ -205721,6 +206888,9 @@ com.microsoft.graph.beta.models.AgentInterface::|public|setTransport(value?:Stri com.microsoft.graph.beta.models.AgentInterface::|public|setUrl(value?:String):void com.microsoft.graph.beta.models.AgentInterface::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):AgentInterface com.microsoft.graph.beta.models.AgentInterface~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.beta.models.AgentMessageNotificationMode::0000-AtMentionedMessagesOnly +com.microsoft.graph.beta.models.AgentMessageNotificationMode::0001-AllMessages +com.microsoft.graph.beta.models.AgentMessageNotificationMode::0002-UnknownFutureValue com.microsoft.graph.beta.models.AgentProvider::|protected|backingStore:BackingStore com.microsoft.graph.beta.models.AgentProvider::|public|constructor():void com.microsoft.graph.beta.models.AgentProvider::|public|getAdditionalData():Map @@ -205880,6 +207050,26 @@ com.microsoft.graph.beta.models.AgentSkill::|static|public|createFromDiscriminat com.microsoft.graph.beta.models.AgentSkill~~>AdditionalDataHolder; BackedModel; Parsable com.microsoft.graph.beta.models.AgentStatus::0000-Active com.microsoft.graph.beta.models.AgentStatus::0001-Inactive +com.microsoft.graph.beta.models.AgentTeamworkConfiguration::|protected|backingStore:BackingStore +com.microsoft.graph.beta.models.AgentTeamworkConfiguration::|public|constructor():void +com.microsoft.graph.beta.models.AgentTeamworkConfiguration::|public|getAdditionalData():Map +com.microsoft.graph.beta.models.AgentTeamworkConfiguration::|public|getBackingStore():BackingStore +com.microsoft.graph.beta.models.AgentTeamworkConfiguration::|public|getChannelConfiguration():AgentConversationConfiguration +com.microsoft.graph.beta.models.AgentTeamworkConfiguration::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.AgentTeamworkConfiguration::|public|getGroupChatConfiguration():AgentConversationConfiguration +com.microsoft.graph.beta.models.AgentTeamworkConfiguration::|public|getMeetingChatConfiguration():AgentConversationConfiguration +com.microsoft.graph.beta.models.AgentTeamworkConfiguration::|public|getOdataType():String +com.microsoft.graph.beta.models.AgentTeamworkConfiguration::|public|getOneOnOneChatConfiguration():AgentConversationConfiguration +com.microsoft.graph.beta.models.AgentTeamworkConfiguration::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.AgentTeamworkConfiguration::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.beta.models.AgentTeamworkConfiguration::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.beta.models.AgentTeamworkConfiguration::|public|setChannelConfiguration(value?:AgentConversationConfiguration):void +com.microsoft.graph.beta.models.AgentTeamworkConfiguration::|public|setGroupChatConfiguration(value?:AgentConversationConfiguration):void +com.microsoft.graph.beta.models.AgentTeamworkConfiguration::|public|setMeetingChatConfiguration(value?:AgentConversationConfiguration):void +com.microsoft.graph.beta.models.AgentTeamworkConfiguration::|public|setOdataType(value?:String):void +com.microsoft.graph.beta.models.AgentTeamworkConfiguration::|public|setOneOnOneChatConfiguration(value?:AgentConversationConfiguration):void +com.microsoft.graph.beta.models.AgentTeamworkConfiguration::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):AgentTeamworkConfiguration +com.microsoft.graph.beta.models.AgentTeamworkConfiguration~~>AdditionalDataHolder; BackedModel; Parsable com.microsoft.graph.beta.models.AgentUser-->User com.microsoft.graph.beta.models.AgentUser::|public|constructor():void com.microsoft.graph.beta.models.AgentUser::|public|getFieldDeserializers():Map> @@ -208512,6 +209702,7 @@ com.microsoft.graph.beta.models.AndroidManagedAppProtection::|public|getAppActio com.microsoft.graph.beta.models.AndroidManagedAppProtection::|public|getAppActionIfAndroidDeviceModelNotAllowed():ManagedAppRemediationAction com.microsoft.graph.beta.models.AndroidManagedAppProtection::|public|getAppActionIfAndroidSafetyNetAppsVerificationFailed():ManagedAppRemediationAction com.microsoft.graph.beta.models.AndroidManagedAppProtection::|public|getAppActionIfAndroidSafetyNetDeviceAttestationFailed():ManagedAppRemediationAction +com.microsoft.graph.beta.models.AndroidManagedAppProtection::|public|getAppActionIfDeveloperOptionsEnabled():ManagedAppRemediationAction com.microsoft.graph.beta.models.AndroidManagedAppProtection::|public|getAppActionIfDeviceLockNotSet():ManagedAppRemediationAction com.microsoft.graph.beta.models.AndroidManagedAppProtection::|public|getAppActionIfDevicePasscodeComplexityLessThanHigh():ManagedAppRemediationAction com.microsoft.graph.beta.models.AndroidManagedAppProtection::|public|getAppActionIfDevicePasscodeComplexityLessThanLow():ManagedAppRemediationAction @@ -208560,6 +209751,7 @@ com.microsoft.graph.beta.models.AndroidManagedAppProtection::|public|setAppActio com.microsoft.graph.beta.models.AndroidManagedAppProtection::|public|setAppActionIfAndroidDeviceModelNotAllowed(value?:ManagedAppRemediationAction):void com.microsoft.graph.beta.models.AndroidManagedAppProtection::|public|setAppActionIfAndroidSafetyNetAppsVerificationFailed(value?:ManagedAppRemediationAction):void com.microsoft.graph.beta.models.AndroidManagedAppProtection::|public|setAppActionIfAndroidSafetyNetDeviceAttestationFailed(value?:ManagedAppRemediationAction):void +com.microsoft.graph.beta.models.AndroidManagedAppProtection::|public|setAppActionIfDeveloperOptionsEnabled(value?:ManagedAppRemediationAction):void com.microsoft.graph.beta.models.AndroidManagedAppProtection::|public|setAppActionIfDeviceLockNotSet(value?:ManagedAppRemediationAction):void com.microsoft.graph.beta.models.AndroidManagedAppProtection::|public|setAppActionIfDevicePasscodeComplexityLessThanHigh(value?:ManagedAppRemediationAction):void com.microsoft.graph.beta.models.AndroidManagedAppProtection::|public|setAppActionIfDevicePasscodeComplexityLessThanLow(value?:ManagedAppRemediationAction):void @@ -210425,6 +211617,27 @@ com.microsoft.graph.beta.models.ApplicationPermissionsRequired::0003-User com.microsoft.graph.beta.models.ApplicationPermissionsRequired::0004-Administrator com.microsoft.graph.beta.models.ApplicationPermissionsRequired::0005-System com.microsoft.graph.beta.models.ApplicationPermissionsRequired::0006-UnknownFutureValue +com.microsoft.graph.beta.models.ApplicationPermissionType::0000-Role +com.microsoft.graph.beta.models.ApplicationPermissionType::0001-Scope +com.microsoft.graph.beta.models.ApplicationPermissionType::0002-UnknownFutureValue +com.microsoft.graph.beta.models.ApplicationResourcePermission::|protected|backingStore:BackingStore +com.microsoft.graph.beta.models.ApplicationResourcePermission::|public|constructor():void +com.microsoft.graph.beta.models.ApplicationResourcePermission::|public|getAdditionalData():Map +com.microsoft.graph.beta.models.ApplicationResourcePermission::|public|getBackingStore():BackingStore +com.microsoft.graph.beta.models.ApplicationResourcePermission::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.ApplicationResourcePermission::|public|getId():String +com.microsoft.graph.beta.models.ApplicationResourcePermission::|public|getName():String +com.microsoft.graph.beta.models.ApplicationResourcePermission::|public|getOdataType():String +com.microsoft.graph.beta.models.ApplicationResourcePermission::|public|getType():ApplicationPermissionType +com.microsoft.graph.beta.models.ApplicationResourcePermission::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.ApplicationResourcePermission::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.beta.models.ApplicationResourcePermission::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.beta.models.ApplicationResourcePermission::|public|setId(value?:String):void +com.microsoft.graph.beta.models.ApplicationResourcePermission::|public|setName(value?:String):void +com.microsoft.graph.beta.models.ApplicationResourcePermission::|public|setOdataType(value?:String):void +com.microsoft.graph.beta.models.ApplicationResourcePermission::|public|setType(value?:ApplicationPermissionType):void +com.microsoft.graph.beta.models.ApplicationResourcePermission::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):ApplicationResourcePermission +com.microsoft.graph.beta.models.ApplicationResourcePermission~~>AdditionalDataHolder; BackedModel; Parsable com.microsoft.graph.beta.models.ApplicationRiskFactorCertificateInfo::|protected|backingStore:BackingStore com.microsoft.graph.beta.models.ApplicationRiskFactorCertificateInfo::|public|constructor():void com.microsoft.graph.beta.models.ApplicationRiskFactorCertificateInfo::|public|getAdditionalData():Map @@ -210764,6 +211977,22 @@ com.microsoft.graph.beta.models.ApplicationSignInSummary::|public|setFailedSignI com.microsoft.graph.beta.models.ApplicationSignInSummary::|public|setSuccessfulSignInCount(value?:Long):void com.microsoft.graph.beta.models.ApplicationSignInSummary::|public|setSuccessPercentage(value?:Double):void com.microsoft.graph.beta.models.ApplicationSignInSummary::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):ApplicationSignInSummary +com.microsoft.graph.beta.models.ApplicationsRequiredResourceAccess::|protected|backingStore:BackingStore +com.microsoft.graph.beta.models.ApplicationsRequiredResourceAccess::|public|constructor():void +com.microsoft.graph.beta.models.ApplicationsRequiredResourceAccess::|public|getAdditionalData():Map +com.microsoft.graph.beta.models.ApplicationsRequiredResourceAccess::|public|getBackingStore():BackingStore +com.microsoft.graph.beta.models.ApplicationsRequiredResourceAccess::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.ApplicationsRequiredResourceAccess::|public|getOdataType():String +com.microsoft.graph.beta.models.ApplicationsRequiredResourceAccess::|public|getPermissions():java.util.List +com.microsoft.graph.beta.models.ApplicationsRequiredResourceAccess::|public|getResourceAppId():String +com.microsoft.graph.beta.models.ApplicationsRequiredResourceAccess::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.ApplicationsRequiredResourceAccess::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.beta.models.ApplicationsRequiredResourceAccess::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.beta.models.ApplicationsRequiredResourceAccess::|public|setOdataType(value?:String):void +com.microsoft.graph.beta.models.ApplicationsRequiredResourceAccess::|public|setPermissions(value?:java.util.List):void +com.microsoft.graph.beta.models.ApplicationsRequiredResourceAccess::|public|setResourceAppId(value?:String):void +com.microsoft.graph.beta.models.ApplicationsRequiredResourceAccess::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):ApplicationsRequiredResourceAccess +com.microsoft.graph.beta.models.ApplicationsRequiredResourceAccess~~>AdditionalDataHolder; BackedModel; Parsable com.microsoft.graph.beta.models.ApplicationTemplate-->Entity com.microsoft.graph.beta.models.ApplicationTemplate::|public|constructor():void com.microsoft.graph.beta.models.ApplicationTemplate::|public|getCategories():java.util.List @@ -213093,6 +214322,7 @@ com.microsoft.graph.beta.models.AuthenticationBehaviors::|public|constructor():v com.microsoft.graph.beta.models.AuthenticationBehaviors::|public|getAdditionalData():Map com.microsoft.graph.beta.models.AuthenticationBehaviors::|public|getBackingStore():BackingStore com.microsoft.graph.beta.models.AuthenticationBehaviors::|public|getBlockAzureADGraphAccess():Boolean +com.microsoft.graph.beta.models.AuthenticationBehaviors::|public|getCoopEnforcement():Boolean com.microsoft.graph.beta.models.AuthenticationBehaviors::|public|getFieldDeserializers():Map> com.microsoft.graph.beta.models.AuthenticationBehaviors::|public|getOdataType():String com.microsoft.graph.beta.models.AuthenticationBehaviors::|public|getRemoveUnverifiedEmailClaim():Boolean @@ -213101,6 +214331,7 @@ com.microsoft.graph.beta.models.AuthenticationBehaviors::|public|serialize(write com.microsoft.graph.beta.models.AuthenticationBehaviors::|public|setAdditionalData(value?:Map):void com.microsoft.graph.beta.models.AuthenticationBehaviors::|public|setBackingStore(value:BackingStore):void com.microsoft.graph.beta.models.AuthenticationBehaviors::|public|setBlockAzureADGraphAccess(value?:Boolean):void +com.microsoft.graph.beta.models.AuthenticationBehaviors::|public|setCoopEnforcement(value?:Boolean):void com.microsoft.graph.beta.models.AuthenticationBehaviors::|public|setOdataType(value?:String):void com.microsoft.graph.beta.models.AuthenticationBehaviors::|public|setRemoveUnverifiedEmailClaim(value?:Boolean):void com.microsoft.graph.beta.models.AuthenticationBehaviors::|public|setRequireClientServicePrincipal(value?:Boolean):void @@ -214766,6 +215997,90 @@ com.microsoft.graph.beta.models.B2bManagementPolicyCollectionResponse::|public|g com.microsoft.graph.beta.models.B2bManagementPolicyCollectionResponse::|public|serialize(writer:SerializationWriter):Void com.microsoft.graph.beta.models.B2bManagementPolicyCollectionResponse::|public|setValue(value?:java.util.List):void com.microsoft.graph.beta.models.B2bManagementPolicyCollectionResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):B2bManagementPolicyCollectionResponse +com.microsoft.graph.beta.models.B2bRegistrationMetrics-->Entity +com.microsoft.graph.beta.models.B2bRegistrationMetrics::|public|constructor():void +com.microsoft.graph.beta.models.B2bRegistrationMetrics::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.B2bRegistrationMetrics::|public|getInitial():B2BRegistrationMetricsInitial +com.microsoft.graph.beta.models.B2bRegistrationMetrics::|public|getInvestigationHints():java.util.List +com.microsoft.graph.beta.models.B2bRegistrationMetrics::|public|getRecent():B2BRegistrationMetricsRecent +com.microsoft.graph.beta.models.B2bRegistrationMetrics::|public|OdataType:String +com.microsoft.graph.beta.models.B2bRegistrationMetrics::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.B2bRegistrationMetrics::|public|setInitial(value?:B2BRegistrationMetricsInitial):void +com.microsoft.graph.beta.models.B2bRegistrationMetrics::|public|setInvestigationHints(value?:java.util.List):void +com.microsoft.graph.beta.models.B2bRegistrationMetrics::|public|setRecent(value?:B2BRegistrationMetricsRecent):void +com.microsoft.graph.beta.models.B2bRegistrationMetrics::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):B2bRegistrationMetrics +com.microsoft.graph.beta.models.B2BRegistrationMetricsBase-->Entity +com.microsoft.graph.beta.models.B2BRegistrationMetricsBase::|public|constructor():void +com.microsoft.graph.beta.models.B2BRegistrationMetricsBase::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.B2BRegistrationMetricsBase::|public|getInboundTotalUsers():BigDecimal +com.microsoft.graph.beta.models.B2BRegistrationMetricsBase::|public|getOutboundTotalUsers():BigDecimal +com.microsoft.graph.beta.models.B2BRegistrationMetricsBase::|public|getWatermarkDateTime():OffsetDateTime +com.microsoft.graph.beta.models.B2BRegistrationMetricsBase::|public|OdataType:String +com.microsoft.graph.beta.models.B2BRegistrationMetricsBase::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.B2BRegistrationMetricsBase::|public|setInboundTotalUsers(value?:BigDecimal):void +com.microsoft.graph.beta.models.B2BRegistrationMetricsBase::|public|setOutboundTotalUsers(value?:BigDecimal):void +com.microsoft.graph.beta.models.B2BRegistrationMetricsBase::|public|setWatermarkDateTime(value?:OffsetDateTime):void +com.microsoft.graph.beta.models.B2BRegistrationMetricsBase::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):B2BRegistrationMetricsBase +com.microsoft.graph.beta.models.B2BRegistrationMetricsInitial-->B2BRegistrationMetricsBase +com.microsoft.graph.beta.models.B2BRegistrationMetricsInitial::|public|constructor():void +com.microsoft.graph.beta.models.B2BRegistrationMetricsInitial::|public|getCreatedDateTime():OffsetDateTime +com.microsoft.graph.beta.models.B2BRegistrationMetricsInitial::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.B2BRegistrationMetricsInitial::|public|OdataType:String +com.microsoft.graph.beta.models.B2BRegistrationMetricsInitial::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.B2BRegistrationMetricsInitial::|public|setCreatedDateTime(value?:OffsetDateTime):void +com.microsoft.graph.beta.models.B2BRegistrationMetricsInitial::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):B2BRegistrationMetricsInitial +com.microsoft.graph.beta.models.B2BRegistrationMetricsRecent-->B2BRegistrationMetricsBase +com.microsoft.graph.beta.models.B2BRegistrationMetricsRecent::|public|constructor():void +com.microsoft.graph.beta.models.B2BRegistrationMetricsRecent::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.B2BRegistrationMetricsRecent::|public|getUpdateDateTime():OffsetDateTime +com.microsoft.graph.beta.models.B2BRegistrationMetricsRecent::|public|OdataType:String +com.microsoft.graph.beta.models.B2BRegistrationMetricsRecent::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.B2BRegistrationMetricsRecent::|public|setUpdateDateTime(value?:OffsetDateTime):void +com.microsoft.graph.beta.models.B2BRegistrationMetricsRecent::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):B2BRegistrationMetricsRecent +com.microsoft.graph.beta.models.B2BSignInActivityMetrics-->Entity +com.microsoft.graph.beta.models.B2BSignInActivityMetrics::|public|constructor():void +com.microsoft.graph.beta.models.B2BSignInActivityMetrics::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.B2BSignInActivityMetrics::|public|getInitial():B2BSignInActivityMetricsInitial +com.microsoft.graph.beta.models.B2BSignInActivityMetrics::|public|getInvestigationHints():java.util.List +com.microsoft.graph.beta.models.B2BSignInActivityMetrics::|public|getRecent():B2BSignInActivityMetricsRecent +com.microsoft.graph.beta.models.B2BSignInActivityMetrics::|public|OdataType:String +com.microsoft.graph.beta.models.B2BSignInActivityMetrics::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.B2BSignInActivityMetrics::|public|setInitial(value?:B2BSignInActivityMetricsInitial):void +com.microsoft.graph.beta.models.B2BSignInActivityMetrics::|public|setInvestigationHints(value?:java.util.List):void +com.microsoft.graph.beta.models.B2BSignInActivityMetrics::|public|setRecent(value?:B2BSignInActivityMetricsRecent):void +com.microsoft.graph.beta.models.B2BSignInActivityMetrics::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):B2BSignInActivityMetrics +com.microsoft.graph.beta.models.B2BSignInActivityMetricsBase-->Entity +com.microsoft.graph.beta.models.B2BSignInActivityMetricsBase::|public|constructor():void +com.microsoft.graph.beta.models.B2BSignInActivityMetricsBase::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.B2BSignInActivityMetricsBase::|public|getInboundMonthlyTotalApplications():BigDecimal +com.microsoft.graph.beta.models.B2BSignInActivityMetricsBase::|public|getInboundMonthlyTotalUsers():BigDecimal +com.microsoft.graph.beta.models.B2BSignInActivityMetricsBase::|public|getOutboundMonthlyTotalApplications():BigDecimal +com.microsoft.graph.beta.models.B2BSignInActivityMetricsBase::|public|getOutboundMonthlyTotalUsers():BigDecimal +com.microsoft.graph.beta.models.B2BSignInActivityMetricsBase::|public|getWatermarkDateTime():OffsetDateTime +com.microsoft.graph.beta.models.B2BSignInActivityMetricsBase::|public|OdataType:String +com.microsoft.graph.beta.models.B2BSignInActivityMetricsBase::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.B2BSignInActivityMetricsBase::|public|setInboundMonthlyTotalApplications(value?:BigDecimal):void +com.microsoft.graph.beta.models.B2BSignInActivityMetricsBase::|public|setInboundMonthlyTotalUsers(value?:BigDecimal):void +com.microsoft.graph.beta.models.B2BSignInActivityMetricsBase::|public|setOutboundMonthlyTotalApplications(value?:BigDecimal):void +com.microsoft.graph.beta.models.B2BSignInActivityMetricsBase::|public|setOutboundMonthlyTotalUsers(value?:BigDecimal):void +com.microsoft.graph.beta.models.B2BSignInActivityMetricsBase::|public|setWatermarkDateTime(value?:OffsetDateTime):void +com.microsoft.graph.beta.models.B2BSignInActivityMetricsBase::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):B2BSignInActivityMetricsBase +com.microsoft.graph.beta.models.B2BSignInActivityMetricsInitial-->B2BSignInActivityMetricsBase +com.microsoft.graph.beta.models.B2BSignInActivityMetricsInitial::|public|constructor():void +com.microsoft.graph.beta.models.B2BSignInActivityMetricsInitial::|public|getCreatedDateTime():OffsetDateTime +com.microsoft.graph.beta.models.B2BSignInActivityMetricsInitial::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.B2BSignInActivityMetricsInitial::|public|OdataType:String +com.microsoft.graph.beta.models.B2BSignInActivityMetricsInitial::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.B2BSignInActivityMetricsInitial::|public|setCreatedDateTime(value?:OffsetDateTime):void +com.microsoft.graph.beta.models.B2BSignInActivityMetricsInitial::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):B2BSignInActivityMetricsInitial +com.microsoft.graph.beta.models.B2BSignInActivityMetricsRecent-->B2BSignInActivityMetricsBase +com.microsoft.graph.beta.models.B2BSignInActivityMetricsRecent::|public|constructor():void +com.microsoft.graph.beta.models.B2BSignInActivityMetricsRecent::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.B2BSignInActivityMetricsRecent::|public|getUpdateDateTime():OffsetDateTime +com.microsoft.graph.beta.models.B2BSignInActivityMetricsRecent::|public|OdataType:String +com.microsoft.graph.beta.models.B2BSignInActivityMetricsRecent::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.B2BSignInActivityMetricsRecent::|public|setUpdateDateTime(value?:OffsetDateTime):void +com.microsoft.graph.beta.models.B2BSignInActivityMetricsRecent::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):B2BSignInActivityMetricsRecent com.microsoft.graph.beta.models.B2cAuthenticationMethodsPolicy-->Entity com.microsoft.graph.beta.models.B2cAuthenticationMethodsPolicy::|public|constructor():void com.microsoft.graph.beta.models.B2cAuthenticationMethodsPolicy::|public|getFieldDeserializers():Map> @@ -215188,6 +216503,56 @@ com.microsoft.graph.beta.models.BasicAuthentication::|public|serialize(writer:Se com.microsoft.graph.beta.models.BasicAuthentication::|public|setPassword(value?:String):void com.microsoft.graph.beta.models.BasicAuthentication::|public|setUsername(value?:String):void com.microsoft.graph.beta.models.BasicAuthentication::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):BasicAuthentication +com.microsoft.graph.beta.models.BillingMetrics-->Entity +com.microsoft.graph.beta.models.BillingMetrics::|public|constructor():void +com.microsoft.graph.beta.models.BillingMetrics::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.BillingMetrics::|public|getInitial():BillingMetricsInitial +com.microsoft.graph.beta.models.BillingMetrics::|public|getInvestigationHints():java.util.List +com.microsoft.graph.beta.models.BillingMetrics::|public|getRecent():BillingMetricsRecent +com.microsoft.graph.beta.models.BillingMetrics::|public|OdataType:String +com.microsoft.graph.beta.models.BillingMetrics::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.BillingMetrics::|public|setInitial(value?:BillingMetricsInitial):void +com.microsoft.graph.beta.models.BillingMetrics::|public|setInvestigationHints(value?:java.util.List):void +com.microsoft.graph.beta.models.BillingMetrics::|public|setRecent(value?:BillingMetricsRecent):void +com.microsoft.graph.beta.models.BillingMetrics::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):BillingMetrics +com.microsoft.graph.beta.models.BillingMetricsBase-->Entity +com.microsoft.graph.beta.models.BillingMetricsBase::|public|constructor():void +com.microsoft.graph.beta.models.BillingMetricsBase::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.BillingMetricsBase::|public|getForeignAssociatedTenantBillingManagementActiveCount():BigDecimal +com.microsoft.graph.beta.models.BillingMetricsBase::|public|getForeignAssociatedTenantCount():BigDecimal +com.microsoft.graph.beta.models.BillingMetricsBase::|public|getForeignAssociatedTenantProvisioningActiveCount():BigDecimal +com.microsoft.graph.beta.models.BillingMetricsBase::|public|getLocalAssociatedTenantBillingManagementActiveCount():BigDecimal +com.microsoft.graph.beta.models.BillingMetricsBase::|public|getLocalAssociatedTenantCount():BigDecimal +com.microsoft.graph.beta.models.BillingMetricsBase::|public|getLocalAssociatedTenantIds():java.util.List +com.microsoft.graph.beta.models.BillingMetricsBase::|public|getLocalAssociatedTenantProvisioningActiveCount():BigDecimal +com.microsoft.graph.beta.models.BillingMetricsBase::|public|getWatermarkDateTime():OffsetDateTime +com.microsoft.graph.beta.models.BillingMetricsBase::|public|OdataType:String +com.microsoft.graph.beta.models.BillingMetricsBase::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.BillingMetricsBase::|public|setForeignAssociatedTenantBillingManagementActiveCount(value?:BigDecimal):void +com.microsoft.graph.beta.models.BillingMetricsBase::|public|setForeignAssociatedTenantCount(value?:BigDecimal):void +com.microsoft.graph.beta.models.BillingMetricsBase::|public|setForeignAssociatedTenantProvisioningActiveCount(value?:BigDecimal):void +com.microsoft.graph.beta.models.BillingMetricsBase::|public|setLocalAssociatedTenantBillingManagementActiveCount(value?:BigDecimal):void +com.microsoft.graph.beta.models.BillingMetricsBase::|public|setLocalAssociatedTenantCount(value?:BigDecimal):void +com.microsoft.graph.beta.models.BillingMetricsBase::|public|setLocalAssociatedTenantIds(value?:java.util.List):void +com.microsoft.graph.beta.models.BillingMetricsBase::|public|setLocalAssociatedTenantProvisioningActiveCount(value?:BigDecimal):void +com.microsoft.graph.beta.models.BillingMetricsBase::|public|setWatermarkDateTime(value?:OffsetDateTime):void +com.microsoft.graph.beta.models.BillingMetricsBase::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):BillingMetricsBase +com.microsoft.graph.beta.models.BillingMetricsInitial-->BillingMetricsBase +com.microsoft.graph.beta.models.BillingMetricsInitial::|public|constructor():void +com.microsoft.graph.beta.models.BillingMetricsInitial::|public|getCreatedDateTime():OffsetDateTime +com.microsoft.graph.beta.models.BillingMetricsInitial::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.BillingMetricsInitial::|public|OdataType:String +com.microsoft.graph.beta.models.BillingMetricsInitial::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.BillingMetricsInitial::|public|setCreatedDateTime(value?:OffsetDateTime):void +com.microsoft.graph.beta.models.BillingMetricsInitial::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):BillingMetricsInitial +com.microsoft.graph.beta.models.BillingMetricsRecent-->BillingMetricsBase +com.microsoft.graph.beta.models.BillingMetricsRecent::|public|constructor():void +com.microsoft.graph.beta.models.BillingMetricsRecent::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.BillingMetricsRecent::|public|getUpdateDateTime():OffsetDateTime +com.microsoft.graph.beta.models.BillingMetricsRecent::|public|OdataType:String +com.microsoft.graph.beta.models.BillingMetricsRecent::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.BillingMetricsRecent::|public|setUpdateDateTime(value?:OffsetDateTime):void +com.microsoft.graph.beta.models.BillingMetricsRecent::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):BillingMetricsRecent com.microsoft.graph.beta.models.BinaryContent-->ContentBase com.microsoft.graph.beta.models.BinaryContent::|public|constructor():void com.microsoft.graph.beta.models.BinaryContent::|public|getData():byte[] @@ -218753,12 +220118,14 @@ com.microsoft.graph.beta.models.ChatMessage::|public|getAttachments():java.util. com.microsoft.graph.beta.models.ChatMessage::|public|getBody():ChatMessageBody com.microsoft.graph.beta.models.ChatMessage::|public|getChannelIdentity():ChannelIdentity com.microsoft.graph.beta.models.ChatMessage::|public|getChatId():String +com.microsoft.graph.beta.models.ChatMessage::|public|getCitations():java.util.List com.microsoft.graph.beta.models.ChatMessage::|public|getCreatedDateTime():OffsetDateTime com.microsoft.graph.beta.models.ChatMessage::|public|getDeletedDateTime():OffsetDateTime com.microsoft.graph.beta.models.ChatMessage::|public|getEtag():String com.microsoft.graph.beta.models.ChatMessage::|public|getEventDetail():EventMessageDetail com.microsoft.graph.beta.models.ChatMessage::|public|getFieldDeserializers():Map> com.microsoft.graph.beta.models.ChatMessage::|public|getFrom():ChatMessageFromIdentitySet +com.microsoft.graph.beta.models.ChatMessage::|public|getHasReplies():Boolean com.microsoft.graph.beta.models.ChatMessage::|public|getHostedContents():java.util.List com.microsoft.graph.beta.models.ChatMessage::|public|getImportance():ChatMessageImportance com.microsoft.graph.beta.models.ChatMessage::|public|getLastEditedDateTime():OffsetDateTime @@ -218781,11 +220148,13 @@ com.microsoft.graph.beta.models.ChatMessage::|public|setAttachments(value?:java. com.microsoft.graph.beta.models.ChatMessage::|public|setBody(value?:ChatMessageBody):void com.microsoft.graph.beta.models.ChatMessage::|public|setChannelIdentity(value?:ChannelIdentity):void com.microsoft.graph.beta.models.ChatMessage::|public|setChatId(value?:String):void +com.microsoft.graph.beta.models.ChatMessage::|public|setCitations(value?:java.util.List):void com.microsoft.graph.beta.models.ChatMessage::|public|setCreatedDateTime(value?:OffsetDateTime):void com.microsoft.graph.beta.models.ChatMessage::|public|setDeletedDateTime(value?:OffsetDateTime):void com.microsoft.graph.beta.models.ChatMessage::|public|setEtag(value?:String):void com.microsoft.graph.beta.models.ChatMessage::|public|setEventDetail(value?:EventMessageDetail):void com.microsoft.graph.beta.models.ChatMessage::|public|setFrom(value?:ChatMessageFromIdentitySet):void +com.microsoft.graph.beta.models.ChatMessage::|public|setHasReplies(value?:Boolean):void com.microsoft.graph.beta.models.ChatMessage::|public|setHostedContents(value?:java.util.List):void com.microsoft.graph.beta.models.ChatMessage::|public|setImportance(value?:ChatMessageImportance):void com.microsoft.graph.beta.models.ChatMessage::|public|setLastEditedDateTime(value?:OffsetDateTime):void @@ -218855,6 +220224,46 @@ com.microsoft.graph.beta.models.ChatMessageBodyContentType::0001-Html com.microsoft.graph.beta.models.ChatMessageBodyContentType::0002-Markdown com.microsoft.graph.beta.models.ChatMessageBodyContentType::0003-UnknownFutureValue com.microsoft.graph.beta.models.ChatMessageBody~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.beta.models.ChatMessageCitation::|protected|backingStore:BackingStore +com.microsoft.graph.beta.models.ChatMessageCitation::|public|constructor():void +com.microsoft.graph.beta.models.ChatMessageCitation::|public|getAdditionalData():Map +com.microsoft.graph.beta.models.ChatMessageCitation::|public|getBackingStore():BackingStore +com.microsoft.graph.beta.models.ChatMessageCitation::|public|getExcerpt():String +com.microsoft.graph.beta.models.ChatMessageCitation::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.ChatMessageCitation::|public|getIconType():String +com.microsoft.graph.beta.models.ChatMessageCitation::|public|getId():Integer +com.microsoft.graph.beta.models.ChatMessageCitation::|public|getOdataType():String +com.microsoft.graph.beta.models.ChatMessageCitation::|public|getSensitivityLabel():ChatMessageCitationSensitivityLabel +com.microsoft.graph.beta.models.ChatMessageCitation::|public|getTitle():String +com.microsoft.graph.beta.models.ChatMessageCitation::|public|getWebUrl():String +com.microsoft.graph.beta.models.ChatMessageCitation::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.ChatMessageCitation::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.beta.models.ChatMessageCitation::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.beta.models.ChatMessageCitation::|public|setExcerpt(value?:String):void +com.microsoft.graph.beta.models.ChatMessageCitation::|public|setIconType(value?:String):void +com.microsoft.graph.beta.models.ChatMessageCitation::|public|setId(value?:Integer):void +com.microsoft.graph.beta.models.ChatMessageCitation::|public|setOdataType(value?:String):void +com.microsoft.graph.beta.models.ChatMessageCitation::|public|setSensitivityLabel(value?:ChatMessageCitationSensitivityLabel):void +com.microsoft.graph.beta.models.ChatMessageCitation::|public|setTitle(value?:String):void +com.microsoft.graph.beta.models.ChatMessageCitation::|public|setWebUrl(value?:String):void +com.microsoft.graph.beta.models.ChatMessageCitation::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):ChatMessageCitation +com.microsoft.graph.beta.models.ChatMessageCitationSensitivityLabel::|protected|backingStore:BackingStore +com.microsoft.graph.beta.models.ChatMessageCitationSensitivityLabel::|public|constructor():void +com.microsoft.graph.beta.models.ChatMessageCitationSensitivityLabel::|public|getAdditionalData():Map +com.microsoft.graph.beta.models.ChatMessageCitationSensitivityLabel::|public|getBackingStore():BackingStore +com.microsoft.graph.beta.models.ChatMessageCitationSensitivityLabel::|public|getDescription():String +com.microsoft.graph.beta.models.ChatMessageCitationSensitivityLabel::|public|getDisplayName():String +com.microsoft.graph.beta.models.ChatMessageCitationSensitivityLabel::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.ChatMessageCitationSensitivityLabel::|public|getOdataType():String +com.microsoft.graph.beta.models.ChatMessageCitationSensitivityLabel::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.ChatMessageCitationSensitivityLabel::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.beta.models.ChatMessageCitationSensitivityLabel::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.beta.models.ChatMessageCitationSensitivityLabel::|public|setDescription(value?:String):void +com.microsoft.graph.beta.models.ChatMessageCitationSensitivityLabel::|public|setDisplayName(value?:String):void +com.microsoft.graph.beta.models.ChatMessageCitationSensitivityLabel::|public|setOdataType(value?:String):void +com.microsoft.graph.beta.models.ChatMessageCitationSensitivityLabel::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):ChatMessageCitationSensitivityLabel +com.microsoft.graph.beta.models.ChatMessageCitationSensitivityLabel~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.beta.models.ChatMessageCitation~~>AdditionalDataHolder; BackedModel; Parsable com.microsoft.graph.beta.models.ChatMessageCollectionResponse-->BaseCollectionPaginationCountResponse com.microsoft.graph.beta.models.ChatMessageCollectionResponse::|public|constructor():void com.microsoft.graph.beta.models.ChatMessageCollectionResponse::|public|getFieldDeserializers():Map> @@ -220116,6 +221525,7 @@ com.microsoft.graph.beta.models.CloudPC::|public|getPartnerAgentInstallResults() com.microsoft.graph.beta.models.CloudPC::|public|getPowerState():CloudPcPowerState com.microsoft.graph.beta.models.CloudPC::|public|getProductType():CloudPcProductType com.microsoft.graph.beta.models.CloudPC::|public|getProvisionedDateTime():OffsetDateTime +com.microsoft.graph.beta.models.CloudPC::|public|getProvisioningConfiguration():CloudPcProvisioningConfiguration com.microsoft.graph.beta.models.CloudPC::|public|getProvisioningPolicyId():String com.microsoft.graph.beta.models.CloudPC::|public|getProvisioningPolicyName():String com.microsoft.graph.beta.models.CloudPC::|public|getProvisioningType():CloudPcProvisioningType @@ -220159,6 +221569,7 @@ com.microsoft.graph.beta.models.CloudPC::|public|setPartnerAgentInstallResults(v com.microsoft.graph.beta.models.CloudPC::|public|setPowerState(value?:CloudPcPowerState):void com.microsoft.graph.beta.models.CloudPC::|public|setProductType(value?:CloudPcProductType):void com.microsoft.graph.beta.models.CloudPC::|public|setProvisionedDateTime(value?:OffsetDateTime):void +com.microsoft.graph.beta.models.CloudPC::|public|setProvisioningConfiguration(value?:CloudPcProvisioningConfiguration):void com.microsoft.graph.beta.models.CloudPC::|public|setProvisioningPolicyId(value?:String):void com.microsoft.graph.beta.models.CloudPC::|public|setProvisioningPolicyName(value?:String):void com.microsoft.graph.beta.models.CloudPC::|public|setProvisioningType(value?:CloudPcProvisioningType):void @@ -222011,6 +223422,20 @@ com.microsoft.graph.beta.models.CloudPcProductType::0002-DevBox com.microsoft.graph.beta.models.CloudPcProductType::0003-PowerAutomate com.microsoft.graph.beta.models.CloudPcProductType::0004-Business com.microsoft.graph.beta.models.CloudPcProductType::0005-UnknownFutureValue +com.microsoft.graph.beta.models.CloudPcProvisioningConfiguration::|protected|backingStore:BackingStore +com.microsoft.graph.beta.models.CloudPcProvisioningConfiguration::|public|constructor():void +com.microsoft.graph.beta.models.CloudPcProvisioningConfiguration::|public|getAdditionalData():Map +com.microsoft.graph.beta.models.CloudPcProvisioningConfiguration::|public|getBackingStore():BackingStore +com.microsoft.graph.beta.models.CloudPcProvisioningConfiguration::|public|getDomainJoinType():CloudPcDomainJoinType +com.microsoft.graph.beta.models.CloudPcProvisioningConfiguration::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.CloudPcProvisioningConfiguration::|public|getOdataType():String +com.microsoft.graph.beta.models.CloudPcProvisioningConfiguration::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.CloudPcProvisioningConfiguration::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.beta.models.CloudPcProvisioningConfiguration::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.beta.models.CloudPcProvisioningConfiguration::|public|setDomainJoinType(value?:CloudPcDomainJoinType):void +com.microsoft.graph.beta.models.CloudPcProvisioningConfiguration::|public|setOdataType(value?:String):void +com.microsoft.graph.beta.models.CloudPcProvisioningConfiguration::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):CloudPcProvisioningConfiguration +com.microsoft.graph.beta.models.CloudPcProvisioningConfiguration~~>AdditionalDataHolder; BackedModel; Parsable com.microsoft.graph.beta.models.CloudPcProvisioningPolicy-->Entity com.microsoft.graph.beta.models.CloudPcProvisioningPolicy::|public|constructor():void com.microsoft.graph.beta.models.CloudPcProvisioningPolicy::|public|getAlternateResourceUrl():String @@ -224874,6 +226299,27 @@ com.microsoft.graph.beta.models.ConnectorGroupRegion::0003-Asia com.microsoft.graph.beta.models.ConnectorGroupRegion::0004-Ind com.microsoft.graph.beta.models.ConnectorGroupRegion::0005-UnknownFutureValue com.microsoft.graph.beta.models.ConnectorGroupType::0000-ApplicationProxy +com.microsoft.graph.beta.models.ConnectorHealthCheck::|protected|backingStore:BackingStore +com.microsoft.graph.beta.models.ConnectorHealthCheck::|public|constructor():void +com.microsoft.graph.beta.models.ConnectorHealthCheck::|public|getAdditionalData():Map +com.microsoft.graph.beta.models.ConnectorHealthCheck::|public|getBackingStore():BackingStore +com.microsoft.graph.beta.models.ConnectorHealthCheck::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.ConnectorHealthCheck::|public|getMetricName():ConnectorHealthCheckMetricName +com.microsoft.graph.beta.models.ConnectorHealthCheck::|public|getOdataType():String +com.microsoft.graph.beta.models.ConnectorHealthCheck::|public|getStatus():NdesConnectorHealthStatus +com.microsoft.graph.beta.models.ConnectorHealthCheck::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.ConnectorHealthCheck::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.beta.models.ConnectorHealthCheck::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.beta.models.ConnectorHealthCheck::|public|setMetricName(value?:ConnectorHealthCheckMetricName):void +com.microsoft.graph.beta.models.ConnectorHealthCheck::|public|setOdataType(value?:String):void +com.microsoft.graph.beta.models.ConnectorHealthCheck::|public|setStatus(value?:NdesConnectorHealthStatus):void +com.microsoft.graph.beta.models.ConnectorHealthCheck::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):ConnectorHealthCheck +com.microsoft.graph.beta.models.ConnectorHealthCheckMetricName::0000-CaConnectivity +com.microsoft.graph.beta.models.ConnectorHealthCheckMetricName::0001-CaIssuancePermissions +com.microsoft.graph.beta.models.ConnectorHealthCheckMetricName::0002-CaRevocationPermissions +com.microsoft.graph.beta.models.ConnectorHealthCheckMetricName::0003-CertificateTemplate +com.microsoft.graph.beta.models.ConnectorHealthCheckMetricName::0004-UnknownFutureValue +com.microsoft.graph.beta.models.ConnectorHealthCheck~~>AdditionalDataHolder; BackedModel; Parsable com.microsoft.graph.beta.models.ConnectorHealthState::0000-Healthy com.microsoft.graph.beta.models.ConnectorHealthState::0001-Warning com.microsoft.graph.beta.models.ConnectorHealthState::0002-Unhealthy @@ -225790,6 +227236,7 @@ com.microsoft.graph.beta.models.CopilotConversationState::0001-DisengagedForRai com.microsoft.graph.beta.models.CopilotConversationState::0002-UnknownFutureValue com.microsoft.graph.beta.models.CopilotPackage-->Entity com.microsoft.graph.beta.models.CopilotPackage::|public|constructor():void +com.microsoft.graph.beta.models.CopilotPackage::|public|getAgentIdentityId():String com.microsoft.graph.beta.models.CopilotPackage::|public|getAppId():String com.microsoft.graph.beta.models.CopilotPackage::|public|getAssetId():String com.microsoft.graph.beta.models.CopilotPackage::|public|getAvailableTo():PackageStatus @@ -225812,6 +227259,7 @@ com.microsoft.graph.beta.models.CopilotPackage::|public|getVersion():String com.microsoft.graph.beta.models.CopilotPackage::|public|getZipFile():byte[] com.microsoft.graph.beta.models.CopilotPackage::|public|OdataType:String com.microsoft.graph.beta.models.CopilotPackage::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.CopilotPackage::|public|setAgentIdentityId(value?:String):void com.microsoft.graph.beta.models.CopilotPackage::|public|setAppId(value?:String):void com.microsoft.graph.beta.models.CopilotPackage::|public|setAssetId(value?:String):void com.microsoft.graph.beta.models.CopilotPackage::|public|setAvailableTo(value?:PackageStatus):void @@ -225835,22 +227283,32 @@ com.microsoft.graph.beta.models.CopilotPackage::|static|public|createFromDiscrim com.microsoft.graph.beta.models.CopilotPackageDetail-->CopilotPackage com.microsoft.graph.beta.models.CopilotPackageDetail::|public|constructor():void com.microsoft.graph.beta.models.CopilotPackageDetail::|public|getAcquireUsersAndGroups():java.util.List +com.microsoft.graph.beta.models.CopilotPackageDetail::|public|getActiveUsers():Integer com.microsoft.graph.beta.models.CopilotPackageDetail::|public|getAllowedUsersAndGroups():java.util.List com.microsoft.graph.beta.models.CopilotPackageDetail::|public|getCategories():java.util.List com.microsoft.graph.beta.models.CopilotPackageDetail::|public|getElementDetails():java.util.List +com.microsoft.graph.beta.models.CopilotPackageDetail::|public|getExceptionRate():Double com.microsoft.graph.beta.models.CopilotPackageDetail::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.CopilotPackageDetail::|public|getLastUsedDateTime():OffsetDateTime com.microsoft.graph.beta.models.CopilotPackageDetail::|public|getLongDescription():String com.microsoft.graph.beta.models.CopilotPackageDetail::|public|getSensitivity():String com.microsoft.graph.beta.models.CopilotPackageDetail::|public|getSharedWithUsersAndGroups():java.util.List +com.microsoft.graph.beta.models.CopilotPackageDetail::|public|getTotalRunTimeInHours():Double +com.microsoft.graph.beta.models.CopilotPackageDetail::|public|getTotalSessions():Integer com.microsoft.graph.beta.models.CopilotPackageDetail::|public|OdataType:String com.microsoft.graph.beta.models.CopilotPackageDetail::|public|serialize(writer:SerializationWriter):Void com.microsoft.graph.beta.models.CopilotPackageDetail::|public|setAcquireUsersAndGroups(value?:java.util.List):void +com.microsoft.graph.beta.models.CopilotPackageDetail::|public|setActiveUsers(value?:Integer):void com.microsoft.graph.beta.models.CopilotPackageDetail::|public|setAllowedUsersAndGroups(value?:java.util.List):void com.microsoft.graph.beta.models.CopilotPackageDetail::|public|setCategories(value?:java.util.List):void com.microsoft.graph.beta.models.CopilotPackageDetail::|public|setElementDetails(value?:java.util.List):void +com.microsoft.graph.beta.models.CopilotPackageDetail::|public|setExceptionRate(value?:Double):void +com.microsoft.graph.beta.models.CopilotPackageDetail::|public|setLastUsedDateTime(value?:OffsetDateTime):void com.microsoft.graph.beta.models.CopilotPackageDetail::|public|setLongDescription(value?:String):void com.microsoft.graph.beta.models.CopilotPackageDetail::|public|setSensitivity(value?:String):void com.microsoft.graph.beta.models.CopilotPackageDetail::|public|setSharedWithUsersAndGroups(value?:java.util.List):void +com.microsoft.graph.beta.models.CopilotPackageDetail::|public|setTotalRunTimeInHours(value?:Double):void +com.microsoft.graph.beta.models.CopilotPackageDetail::|public|setTotalSessions(value?:Integer):void com.microsoft.graph.beta.models.CopilotPackageDetail::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):CopilotPackageDetail com.microsoft.graph.beta.models.CopilotPeopleAdminSetting-->Entity com.microsoft.graph.beta.models.CopilotPeopleAdminSetting::|public|constructor():void @@ -226451,6 +227909,7 @@ com.microsoft.graph.beta.models.CrossTenantIdentitySyncPolicyPartner::|public|ge com.microsoft.graph.beta.models.CrossTenantIdentitySyncPolicyPartner::|public|getExternalCloudAuthorizedApplicationId():String com.microsoft.graph.beta.models.CrossTenantIdentitySyncPolicyPartner::|public|getFieldDeserializers():Map> com.microsoft.graph.beta.models.CrossTenantIdentitySyncPolicyPartner::|public|getGroupSyncInbound():CrossTenantGroupSyncInbound +com.microsoft.graph.beta.models.CrossTenantIdentitySyncPolicyPartner::|public|getRoleEnabledGroupSyncInbound():CrossTenantRoleEnabledGroupSyncInbound com.microsoft.graph.beta.models.CrossTenantIdentitySyncPolicyPartner::|public|getTenantId():String com.microsoft.graph.beta.models.CrossTenantIdentitySyncPolicyPartner::|public|getUserSyncInbound():CrossTenantUserSyncInbound com.microsoft.graph.beta.models.CrossTenantIdentitySyncPolicyPartner::|public|OdataType:String @@ -226458,6 +227917,7 @@ com.microsoft.graph.beta.models.CrossTenantIdentitySyncPolicyPartner::|public|se com.microsoft.graph.beta.models.CrossTenantIdentitySyncPolicyPartner::|public|setDisplayName(value?:String):void com.microsoft.graph.beta.models.CrossTenantIdentitySyncPolicyPartner::|public|setExternalCloudAuthorizedApplicationId(value?:String):void com.microsoft.graph.beta.models.CrossTenantIdentitySyncPolicyPartner::|public|setGroupSyncInbound(value?:CrossTenantGroupSyncInbound):void +com.microsoft.graph.beta.models.CrossTenantIdentitySyncPolicyPartner::|public|setRoleEnabledGroupSyncInbound(value?:CrossTenantRoleEnabledGroupSyncInbound):void com.microsoft.graph.beta.models.CrossTenantIdentitySyncPolicyPartner::|public|setTenantId(value?:String):void com.microsoft.graph.beta.models.CrossTenantIdentitySyncPolicyPartner::|public|setUserSyncInbound(value?:CrossTenantUserSyncInbound):void com.microsoft.graph.beta.models.CrossTenantIdentitySyncPolicyPartner::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):CrossTenantIdentitySyncPolicyPartner @@ -226638,6 +228098,20 @@ com.microsoft.graph.beta.models.CrossTenantPlacesRoomBooking::|public|getFieldDe com.microsoft.graph.beta.models.CrossTenantPlacesRoomBooking::|public|OdataType:String com.microsoft.graph.beta.models.CrossTenantPlacesRoomBooking::|public|serialize(writer:SerializationWriter):Void com.microsoft.graph.beta.models.CrossTenantPlacesRoomBooking::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):CrossTenantPlacesRoomBooking +com.microsoft.graph.beta.models.CrossTenantRoleEnabledGroupSyncInbound::|protected|backingStore:BackingStore +com.microsoft.graph.beta.models.CrossTenantRoleEnabledGroupSyncInbound::|public|constructor():void +com.microsoft.graph.beta.models.CrossTenantRoleEnabledGroupSyncInbound::|public|getAdditionalData():Map +com.microsoft.graph.beta.models.CrossTenantRoleEnabledGroupSyncInbound::|public|getBackingStore():BackingStore +com.microsoft.graph.beta.models.CrossTenantRoleEnabledGroupSyncInbound::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.CrossTenantRoleEnabledGroupSyncInbound::|public|getIsSyncAllowed():Boolean +com.microsoft.graph.beta.models.CrossTenantRoleEnabledGroupSyncInbound::|public|getOdataType():String +com.microsoft.graph.beta.models.CrossTenantRoleEnabledGroupSyncInbound::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.CrossTenantRoleEnabledGroupSyncInbound::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.beta.models.CrossTenantRoleEnabledGroupSyncInbound::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.beta.models.CrossTenantRoleEnabledGroupSyncInbound::|public|setIsSyncAllowed(value?:Boolean):void +com.microsoft.graph.beta.models.CrossTenantRoleEnabledGroupSyncInbound::|public|setOdataType(value?:String):void +com.microsoft.graph.beta.models.CrossTenantRoleEnabledGroupSyncInbound::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):CrossTenantRoleEnabledGroupSyncInbound +com.microsoft.graph.beta.models.CrossTenantRoleEnabledGroupSyncInbound~~>AdditionalDataHolder; BackedModel; Parsable com.microsoft.graph.beta.models.CrossTenantUserSyncInbound::|protected|backingStore:BackingStore com.microsoft.graph.beta.models.CrossTenantUserSyncInbound::|public|constructor():void com.microsoft.graph.beta.models.CrossTenantUserSyncInbound::|public|getAdditionalData():Map @@ -228381,6 +229855,42 @@ com.microsoft.graph.beta.models.DelegatedAdminCustomerCollectionResponse::|publi com.microsoft.graph.beta.models.DelegatedAdminCustomerCollectionResponse::|public|serialize(writer:SerializationWriter):Void com.microsoft.graph.beta.models.DelegatedAdminCustomerCollectionResponse::|public|setValue(value?:java.util.List):void com.microsoft.graph.beta.models.DelegatedAdminCustomerCollectionResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):DelegatedAdminCustomerCollectionResponse +com.microsoft.graph.beta.models.DelegatedAdministrationRoleAssignment::|protected|backingStore:BackingStore +com.microsoft.graph.beta.models.DelegatedAdministrationRoleAssignment::|public|constructor():void +com.microsoft.graph.beta.models.DelegatedAdministrationRoleAssignment::|public|getAdditionalData():Map +com.microsoft.graph.beta.models.DelegatedAdministrationRoleAssignment::|public|getBackingStore():BackingStore +com.microsoft.graph.beta.models.DelegatedAdministrationRoleAssignment::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.DelegatedAdministrationRoleAssignment::|public|getGroup():Group +com.microsoft.graph.beta.models.DelegatedAdministrationRoleAssignment::|public|getGroupDisplayName():String +com.microsoft.graph.beta.models.DelegatedAdministrationRoleAssignment::|public|getOdataType():String +com.microsoft.graph.beta.models.DelegatedAdministrationRoleAssignment::|public|getRoleTemplates():java.util.List +com.microsoft.graph.beta.models.DelegatedAdministrationRoleAssignment::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.DelegatedAdministrationRoleAssignment::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.beta.models.DelegatedAdministrationRoleAssignment::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.beta.models.DelegatedAdministrationRoleAssignment::|public|setGroup(value?:Group):void +com.microsoft.graph.beta.models.DelegatedAdministrationRoleAssignment::|public|setGroupDisplayName(value?:String):void +com.microsoft.graph.beta.models.DelegatedAdministrationRoleAssignment::|public|setOdataType(value?:String):void +com.microsoft.graph.beta.models.DelegatedAdministrationRoleAssignment::|public|setRoleTemplates(value?:java.util.List):void +com.microsoft.graph.beta.models.DelegatedAdministrationRoleAssignment::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):DelegatedAdministrationRoleAssignment +com.microsoft.graph.beta.models.DelegatedAdministrationRoleAssignmentSnapshot::|protected|backingStore:BackingStore +com.microsoft.graph.beta.models.DelegatedAdministrationRoleAssignmentSnapshot::|public|constructor():void +com.microsoft.graph.beta.models.DelegatedAdministrationRoleAssignmentSnapshot::|public|getAdditionalData():Map +com.microsoft.graph.beta.models.DelegatedAdministrationRoleAssignmentSnapshot::|public|getBackingStore():BackingStore +com.microsoft.graph.beta.models.DelegatedAdministrationRoleAssignmentSnapshot::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.DelegatedAdministrationRoleAssignmentSnapshot::|public|getGroupDisplayName():String +com.microsoft.graph.beta.models.DelegatedAdministrationRoleAssignmentSnapshot::|public|getGroupId():String +com.microsoft.graph.beta.models.DelegatedAdministrationRoleAssignmentSnapshot::|public|getOdataType():String +com.microsoft.graph.beta.models.DelegatedAdministrationRoleAssignmentSnapshot::|public|getRoleTemplates():java.util.List +com.microsoft.graph.beta.models.DelegatedAdministrationRoleAssignmentSnapshot::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.DelegatedAdministrationRoleAssignmentSnapshot::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.beta.models.DelegatedAdministrationRoleAssignmentSnapshot::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.beta.models.DelegatedAdministrationRoleAssignmentSnapshot::|public|setGroupDisplayName(value?:String):void +com.microsoft.graph.beta.models.DelegatedAdministrationRoleAssignmentSnapshot::|public|setGroupId(value?:String):void +com.microsoft.graph.beta.models.DelegatedAdministrationRoleAssignmentSnapshot::|public|setOdataType(value?:String):void +com.microsoft.graph.beta.models.DelegatedAdministrationRoleAssignmentSnapshot::|public|setRoleTemplates(value?:java.util.List):void +com.microsoft.graph.beta.models.DelegatedAdministrationRoleAssignmentSnapshot::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):DelegatedAdministrationRoleAssignmentSnapshot +com.microsoft.graph.beta.models.DelegatedAdministrationRoleAssignmentSnapshot~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.beta.models.DelegatedAdministrationRoleAssignment~~>AdditionalDataHolder; BackedModel; Parsable com.microsoft.graph.beta.models.DelegatedAdminRelationship-->Entity com.microsoft.graph.beta.models.DelegatedAdminRelationship::|public|constructor():void com.microsoft.graph.beta.models.DelegatedAdminRelationship::|public|getAccessAssignments():java.util.List @@ -228619,9 +230129,11 @@ com.microsoft.graph.beta.models.DeletedChatCollectionResponse::|static|public|cr com.microsoft.graph.beta.models.DeletedItemContainer-->Entity com.microsoft.graph.beta.models.DeletedItemContainer::|public|constructor():void com.microsoft.graph.beta.models.DeletedItemContainer::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.DeletedItemContainer::|public|getLifecyclePolicies():java.util.List com.microsoft.graph.beta.models.DeletedItemContainer::|public|getWorkflows():java.util.List com.microsoft.graph.beta.models.DeletedItemContainer::|public|OdataType:String com.microsoft.graph.beta.models.DeletedItemContainer::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.DeletedItemContainer::|public|setLifecyclePolicies(value?:java.util.List):void com.microsoft.graph.beta.models.DeletedItemContainer::|public|setWorkflows(value?:java.util.List):void com.microsoft.graph.beta.models.DeletedItemContainer::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):DeletedItemContainer com.microsoft.graph.beta.models.DeletedTeam-->Entity @@ -229496,9 +231008,11 @@ com.microsoft.graph.beta.models.DeviceAndAppManagementRoleDefinition::|public|ge com.microsoft.graph.beta.models.DeviceAndAppManagementRoleDefinition::|public|OdataType:String com.microsoft.graph.beta.models.DeviceAndAppManagementRoleDefinition::|public|serialize(writer:SerializationWriter):Void com.microsoft.graph.beta.models.DeviceAndAppManagementRoleDefinition::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):DeviceAndAppManagementRoleDefinition -com.microsoft.graph.beta.models.DeviceAppManagement-->Entity +com.microsoft.graph.beta.models.DeviceAppManagement::|protected|backingStore:BackingStore com.microsoft.graph.beta.models.DeviceAppManagement::|public|constructor():void +com.microsoft.graph.beta.models.DeviceAppManagement::|public|getAdditionalData():Map com.microsoft.graph.beta.models.DeviceAppManagement::|public|getAndroidManagedAppProtections():java.util.List +com.microsoft.graph.beta.models.DeviceAppManagement::|public|getBackingStore():BackingStore com.microsoft.graph.beta.models.DeviceAppManagement::|public|getDefaultManagedAppProtections():java.util.List com.microsoft.graph.beta.models.DeviceAppManagement::|public|getDeviceAppManagementTasks():java.util.List com.microsoft.graph.beta.models.DeviceAppManagement::|public|getEnterpriseCodeSigningCertificates():java.util.List @@ -229521,6 +231035,7 @@ com.microsoft.graph.beta.models.DeviceAppManagement::|public|getMobileAppCategor com.microsoft.graph.beta.models.DeviceAppManagement::|public|getMobileAppConfigurations():java.util.List com.microsoft.graph.beta.models.DeviceAppManagement::|public|getMobileAppRelationships():java.util.List com.microsoft.graph.beta.models.DeviceAppManagement::|public|getMobileApps():java.util.List +com.microsoft.graph.beta.models.DeviceAppManagement::|public|getOdataType():String com.microsoft.graph.beta.models.DeviceAppManagement::|public|getPolicySets():java.util.List com.microsoft.graph.beta.models.DeviceAppManagement::|public|getSymantecCodeSigningCertificate():SymantecCodeSigningCertificate com.microsoft.graph.beta.models.DeviceAppManagement::|public|getTargetedManagedAppConfigurations():java.util.List @@ -229531,9 +231046,10 @@ com.microsoft.graph.beta.models.DeviceAppManagement::|public|getWindowsInformati com.microsoft.graph.beta.models.DeviceAppManagement::|public|getWindowsInformationProtectionWipeActions():java.util.List com.microsoft.graph.beta.models.DeviceAppManagement::|public|getWindowsManagedAppProtections():java.util.List com.microsoft.graph.beta.models.DeviceAppManagement::|public|getWindowsManagementApp():WindowsManagementApp -com.microsoft.graph.beta.models.DeviceAppManagement::|public|OdataType:String com.microsoft.graph.beta.models.DeviceAppManagement::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.DeviceAppManagement::|public|setAdditionalData(value?:Map):void com.microsoft.graph.beta.models.DeviceAppManagement::|public|setAndroidManagedAppProtections(value?:java.util.List):void +com.microsoft.graph.beta.models.DeviceAppManagement::|public|setBackingStore(value:BackingStore):void com.microsoft.graph.beta.models.DeviceAppManagement::|public|setDefaultManagedAppProtections(value?:java.util.List):void com.microsoft.graph.beta.models.DeviceAppManagement::|public|setDeviceAppManagementTasks(value?:java.util.List):void com.microsoft.graph.beta.models.DeviceAppManagement::|public|setEnterpriseCodeSigningCertificates(value?:java.util.List):void @@ -229555,6 +231071,7 @@ com.microsoft.graph.beta.models.DeviceAppManagement::|public|setMobileAppCategor com.microsoft.graph.beta.models.DeviceAppManagement::|public|setMobileAppConfigurations(value?:java.util.List):void com.microsoft.graph.beta.models.DeviceAppManagement::|public|setMobileAppRelationships(value?:java.util.List):void com.microsoft.graph.beta.models.DeviceAppManagement::|public|setMobileApps(value?:java.util.List):void +com.microsoft.graph.beta.models.DeviceAppManagement::|public|setOdataType(value?:String):void com.microsoft.graph.beta.models.DeviceAppManagement::|public|setPolicySets(value?:java.util.List):void com.microsoft.graph.beta.models.DeviceAppManagement::|public|setSymantecCodeSigningCertificate(value?:SymantecCodeSigningCertificate):void com.microsoft.graph.beta.models.DeviceAppManagement::|public|setTargetedManagedAppConfigurations(value?:java.util.List):void @@ -229609,6 +231126,7 @@ com.microsoft.graph.beta.models.DeviceAppManagementTaskStatus::0001-Pending com.microsoft.graph.beta.models.DeviceAppManagementTaskStatus::0002-Active com.microsoft.graph.beta.models.DeviceAppManagementTaskStatus::0003-Completed com.microsoft.graph.beta.models.DeviceAppManagementTaskStatus::0004-Rejected +com.microsoft.graph.beta.models.DeviceAppManagement~~>AdditionalDataHolder; BackedModel; Parsable com.microsoft.graph.beta.models.DeviceAssignmentItem::|protected|backingStore:BackingStore com.microsoft.graph.beta.models.DeviceAssignmentItem::|public|constructor():void com.microsoft.graph.beta.models.DeviceAssignmentItem::|public|getAdditionalData():Map @@ -233745,6 +235263,7 @@ com.microsoft.graph.beta.models.DeviceManagementConfigurationTechnologies::0013- com.microsoft.graph.beta.models.DeviceManagementConfigurationTechnologies::0014-UnknownFutureValue com.microsoft.graph.beta.models.DeviceManagementConfigurationTechnologies::0015-WindowsOsRecovery com.microsoft.graph.beta.models.DeviceManagementConfigurationTechnologies::0016-Android +com.microsoft.graph.beta.models.DeviceManagementConfigurationTechnologies::0017-IntuneOpenExtensibility com.microsoft.graph.beta.models.DeviceManagementConfigurationTemplateFamily::0000-None com.microsoft.graph.beta.models.DeviceManagementConfigurationTemplateFamily::0001-EndpointSecurityAntivirus com.microsoft.graph.beta.models.DeviceManagementConfigurationTemplateFamily::0002-EndpointSecurityDiskEncryption @@ -235847,14 +237366,14 @@ com.microsoft.graph.beta.models.DistributionList-->OutlookItem com.microsoft.graph.beta.models.DistributionList::|public|constructor():void com.microsoft.graph.beta.models.DistributionList::|public|getDisplayName():String com.microsoft.graph.beta.models.DistributionList::|public|getFieldDeserializers():Map> -com.microsoft.graph.beta.models.DistributionList::|public|getMembers():java.util.List +com.microsoft.graph.beta.models.DistributionList::|public|getMembers():java.util.List com.microsoft.graph.beta.models.DistributionList::|public|getNotes():String com.microsoft.graph.beta.models.DistributionList::|public|getPersonIdentifier():String com.microsoft.graph.beta.models.DistributionList::|public|getSingleValueExtendedProperties():java.util.List com.microsoft.graph.beta.models.DistributionList::|public|OdataType:String com.microsoft.graph.beta.models.DistributionList::|public|serialize(writer:SerializationWriter):Void com.microsoft.graph.beta.models.DistributionList::|public|setDisplayName(value?:String):void -com.microsoft.graph.beta.models.DistributionList::|public|setMembers(value?:java.util.List):void +com.microsoft.graph.beta.models.DistributionList::|public|setMembers(value?:java.util.List):void com.microsoft.graph.beta.models.DistributionList::|public|setNotes(value?:String):void com.microsoft.graph.beta.models.DistributionList::|public|setPersonIdentifier(value?:String):void com.microsoft.graph.beta.models.DistributionList::|public|setSingleValueExtendedProperties(value?:java.util.List):void @@ -235866,6 +237385,27 @@ com.microsoft.graph.beta.models.DistributionListCollectionResponse::|public|getV com.microsoft.graph.beta.models.DistributionListCollectionResponse::|public|serialize(writer:SerializationWriter):Void com.microsoft.graph.beta.models.DistributionListCollectionResponse::|public|setValue(value?:java.util.List):void com.microsoft.graph.beta.models.DistributionListCollectionResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):DistributionListCollectionResponse +com.microsoft.graph.beta.models.DistributionListMember-->Entity +com.microsoft.graph.beta.models.DistributionListMember::|public|constructor():void +com.microsoft.graph.beta.models.DistributionListMember::|public|getContact():Contact +com.microsoft.graph.beta.models.DistributionListMember::|public|getDisplayName():String +com.microsoft.graph.beta.models.DistributionListMember::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.DistributionListMember::|public|getMemberId():String +com.microsoft.graph.beta.models.DistributionListMember::|public|getType():RecipientType +com.microsoft.graph.beta.models.DistributionListMember::|public|OdataType:String +com.microsoft.graph.beta.models.DistributionListMember::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.DistributionListMember::|public|setContact(value?:Contact):void +com.microsoft.graph.beta.models.DistributionListMember::|public|setDisplayName(value?:String):void +com.microsoft.graph.beta.models.DistributionListMember::|public|setMemberId(value?:String):void +com.microsoft.graph.beta.models.DistributionListMember::|public|setType(value?:RecipientType):void +com.microsoft.graph.beta.models.DistributionListMember::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):DistributionListMember +com.microsoft.graph.beta.models.DistributionListMemberCollectionResponse-->BaseCollectionPaginationCountResponse +com.microsoft.graph.beta.models.DistributionListMemberCollectionResponse::|public|constructor():void +com.microsoft.graph.beta.models.DistributionListMemberCollectionResponse::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.DistributionListMemberCollectionResponse::|public|getValue():java.util.List +com.microsoft.graph.beta.models.DistributionListMemberCollectionResponse::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.DistributionListMemberCollectionResponse::|public|setValue(value?:java.util.List):void +com.microsoft.graph.beta.models.DistributionListMemberCollectionResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):DistributionListMemberCollectionResponse com.microsoft.graph.beta.models.DlpAction::0000-NotifyUser com.microsoft.graph.beta.models.DlpAction::0001-BlockAccess com.microsoft.graph.beta.models.DlpAction::0002-DeviceRestriction @@ -236376,6 +237916,7 @@ com.microsoft.graph.beta.models.Drive::|public|getList():List com.microsoft.graph.beta.models.Drive::|public|getOwner():IdentitySet com.microsoft.graph.beta.models.Drive::|public|getQuota():Quota com.microsoft.graph.beta.models.Drive::|public|getRoot():DriveItem +com.microsoft.graph.beta.models.Drive::|public|getSettings():DriveSettings com.microsoft.graph.beta.models.Drive::|public|getSharePointIds():SharepointIds com.microsoft.graph.beta.models.Drive::|public|getSpecial():java.util.List com.microsoft.graph.beta.models.Drive::|public|getSystem():SystemFacet @@ -236390,6 +237931,7 @@ com.microsoft.graph.beta.models.Drive::|public|setList(value?:List):void com.microsoft.graph.beta.models.Drive::|public|setOwner(value?:IdentitySet):void com.microsoft.graph.beta.models.Drive::|public|setQuota(value?:Quota):void com.microsoft.graph.beta.models.Drive::|public|setRoot(value?:DriveItem):void +com.microsoft.graph.beta.models.Drive::|public|setSettings(value?:DriveSettings):void com.microsoft.graph.beta.models.Drive::|public|setSharePointIds(value?:SharepointIds):void com.microsoft.graph.beta.models.Drive::|public|setSpecial(value?:java.util.List):void com.microsoft.graph.beta.models.Drive::|public|setSystem(value?:SystemFacet):void @@ -236755,6 +238297,20 @@ com.microsoft.graph.beta.models.DriveRestoreArtifactsBulkAdditionRequestCollecti com.microsoft.graph.beta.models.DriveRestoreArtifactsBulkAdditionRequestCollectionResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):DriveRestoreArtifactsBulkAdditionRequestCollectionResponse com.microsoft.graph.beta.models.DriverUpdateProfileApprovalType::0000-Manual com.microsoft.graph.beta.models.DriverUpdateProfileApprovalType::0001-Automatic +com.microsoft.graph.beta.models.DriveSettings::|protected|backingStore:BackingStore +com.microsoft.graph.beta.models.DriveSettings::|public|constructor():void +com.microsoft.graph.beta.models.DriveSettings::|public|getAdditionalData():Map +com.microsoft.graph.beta.models.DriveSettings::|public|getBackingStore():BackingStore +com.microsoft.graph.beta.models.DriveSettings::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.DriveSettings::|public|getItemDefaultSensitivityLabelId():String +com.microsoft.graph.beta.models.DriveSettings::|public|getOdataType():String +com.microsoft.graph.beta.models.DriveSettings::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.DriveSettings::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.beta.models.DriveSettings::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.beta.models.DriveSettings::|public|setItemDefaultSensitivityLabelId(value?:String):void +com.microsoft.graph.beta.models.DriveSettings::|public|setOdataType(value?:String):void +com.microsoft.graph.beta.models.DriveSettings::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):DriveSettings +com.microsoft.graph.beta.models.DriveSettings~~>AdditionalDataHolder; BackedModel; Parsable com.microsoft.graph.beta.models.DropInPlaceMode-->PlaceMode com.microsoft.graph.beta.models.DropInPlaceMode::|public|constructor():void com.microsoft.graph.beta.models.DropInPlaceMode::|public|getFieldDeserializers():Map> @@ -239076,6 +240632,22 @@ com.microsoft.graph.beta.models.EmbeddedSIMDeviceStateValue::0004-Deleting com.microsoft.graph.beta.models.EmbeddedSIMDeviceStateValue::0005-Error com.microsoft.graph.beta.models.EmbeddedSIMDeviceStateValue::0006-Deleted com.microsoft.graph.beta.models.EmbeddedSIMDeviceStateValue::0007-RemovedByUser +com.microsoft.graph.beta.models.EmbeddingInput::|protected|backingStore:BackingStore +com.microsoft.graph.beta.models.EmbeddingInput::|public|constructor():void +com.microsoft.graph.beta.models.EmbeddingInput::|public|getAdditionalData():Map +com.microsoft.graph.beta.models.EmbeddingInput::|public|getBackingStore():BackingStore +com.microsoft.graph.beta.models.EmbeddingInput::|public|getData():String +com.microsoft.graph.beta.models.EmbeddingInput::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.EmbeddingInput::|public|getModelType():String +com.microsoft.graph.beta.models.EmbeddingInput::|public|getOdataType():String +com.microsoft.graph.beta.models.EmbeddingInput::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.EmbeddingInput::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.beta.models.EmbeddingInput::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.beta.models.EmbeddingInput::|public|setData(value?:String):void +com.microsoft.graph.beta.models.EmbeddingInput::|public|setModelType(value?:String):void +com.microsoft.graph.beta.models.EmbeddingInput::|public|setOdataType(value?:String):void +com.microsoft.graph.beta.models.EmbeddingInput::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):EmbeddingInput +com.microsoft.graph.beta.models.EmbeddingInput~~>AdditionalDataHolder; BackedModel; Parsable com.microsoft.graph.beta.models.EmergencyCallerInfo::|protected|backingStore:BackingStore com.microsoft.graph.beta.models.EmergencyCallerInfo::|public|constructor():void com.microsoft.graph.beta.models.EmergencyCallerInfo::|public|getAdditionalData():Map @@ -242545,6 +244117,7 @@ com.microsoft.graph.beta.models.FileStorageContainer::|public|getColumns():java. com.microsoft.graph.beta.models.FileStorageContainer::|public|getContainerTypeId():UUID com.microsoft.graph.beta.models.FileStorageContainer::|public|getCreatedDateTime():OffsetDateTime com.microsoft.graph.beta.models.FileStorageContainer::|public|getCustomProperties():FileStorageContainerCustomPropertyDictionary +com.microsoft.graph.beta.models.FileStorageContainer::|public|getDataLocationCode():String com.microsoft.graph.beta.models.FileStorageContainer::|public|getDescription():String com.microsoft.graph.beta.models.FileStorageContainer::|public|getDisplayName():String com.microsoft.graph.beta.models.FileStorageContainer::|public|getDrive():Drive @@ -242570,6 +244143,7 @@ com.microsoft.graph.beta.models.FileStorageContainer::|public|setColumns(value?: com.microsoft.graph.beta.models.FileStorageContainer::|public|setContainerTypeId(value?:UUID):void com.microsoft.graph.beta.models.FileStorageContainer::|public|setCreatedDateTime(value?:OffsetDateTime):void com.microsoft.graph.beta.models.FileStorageContainer::|public|setCustomProperties(value?:FileStorageContainerCustomPropertyDictionary):void +com.microsoft.graph.beta.models.FileStorageContainer::|public|setDataLocationCode(value?:String):void com.microsoft.graph.beta.models.FileStorageContainer::|public|setDescription(value?:String):void com.microsoft.graph.beta.models.FileStorageContainer::|public|setDisplayName(value?:String):void com.microsoft.graph.beta.models.FileStorageContainer::|public|setDrive(value?:Drive):void @@ -242657,20 +244231,6 @@ com.microsoft.graph.beta.models.FileStorageContainerType::|public|setOwningAppId com.microsoft.graph.beta.models.FileStorageContainerType::|public|setPermissions(value?:java.util.List):void com.microsoft.graph.beta.models.FileStorageContainerType::|public|setSettings(value?:FileStorageContainerTypeSettings):void com.microsoft.graph.beta.models.FileStorageContainerType::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):FileStorageContainerType -com.microsoft.graph.beta.models.FileStorageContainerTypeAgentSettings::|protected|backingStore:BackingStore -com.microsoft.graph.beta.models.FileStorageContainerTypeAgentSettings::|public|constructor():void -com.microsoft.graph.beta.models.FileStorageContainerTypeAgentSettings::|public|getAdditionalData():Map -com.microsoft.graph.beta.models.FileStorageContainerTypeAgentSettings::|public|getBackingStore():BackingStore -com.microsoft.graph.beta.models.FileStorageContainerTypeAgentSettings::|public|getChatEmbedAllowedHosts():java.util.List -com.microsoft.graph.beta.models.FileStorageContainerTypeAgentSettings::|public|getFieldDeserializers():Map> -com.microsoft.graph.beta.models.FileStorageContainerTypeAgentSettings::|public|getOdataType():String -com.microsoft.graph.beta.models.FileStorageContainerTypeAgentSettings::|public|serialize(writer:SerializationWriter):Void -com.microsoft.graph.beta.models.FileStorageContainerTypeAgentSettings::|public|setAdditionalData(value?:Map):void -com.microsoft.graph.beta.models.FileStorageContainerTypeAgentSettings::|public|setBackingStore(value:BackingStore):void -com.microsoft.graph.beta.models.FileStorageContainerTypeAgentSettings::|public|setChatEmbedAllowedHosts(value?:java.util.List):void -com.microsoft.graph.beta.models.FileStorageContainerTypeAgentSettings::|public|setOdataType(value?:String):void -com.microsoft.graph.beta.models.FileStorageContainerTypeAgentSettings::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):FileStorageContainerTypeAgentSettings -com.microsoft.graph.beta.models.FileStorageContainerTypeAgentSettings~~>AdditionalDataHolder; BackedModel; Parsable com.microsoft.graph.beta.models.FileStorageContainerTypeAppPermission::0000-None com.microsoft.graph.beta.models.FileStorageContainerTypeAppPermission::0001-ReadContent com.microsoft.graph.beta.models.FileStorageContainerTypeAppPermission::0002-WriteContent @@ -242753,11 +244313,11 @@ com.microsoft.graph.beta.models.FileStorageContainerTypeRegistrationCollectionRe com.microsoft.graph.beta.models.FileStorageContainerTypeRegistrationSettings::|protected|backingStore:BackingStore com.microsoft.graph.beta.models.FileStorageContainerTypeRegistrationSettings::|public|constructor():void com.microsoft.graph.beta.models.FileStorageContainerTypeRegistrationSettings::|public|getAdditionalData():Map -com.microsoft.graph.beta.models.FileStorageContainerTypeRegistrationSettings::|public|getAgent():FileStorageContainerTypeAgentSettings com.microsoft.graph.beta.models.FileStorageContainerTypeRegistrationSettings::|public|getBackingStore():BackingStore com.microsoft.graph.beta.models.FileStorageContainerTypeRegistrationSettings::|public|getFieldDeserializers():Map> com.microsoft.graph.beta.models.FileStorageContainerTypeRegistrationSettings::|public|getIsDiscoverabilityEnabled():Boolean com.microsoft.graph.beta.models.FileStorageContainerTypeRegistrationSettings::|public|getIsItemVersioningEnabled():Boolean +com.microsoft.graph.beta.models.FileStorageContainerTypeRegistrationSettings::|public|getIsOfficeRestricted():Boolean com.microsoft.graph.beta.models.FileStorageContainerTypeRegistrationSettings::|public|getIsSearchEnabled():Boolean com.microsoft.graph.beta.models.FileStorageContainerTypeRegistrationSettings::|public|getIsSharingRestricted():Boolean com.microsoft.graph.beta.models.FileStorageContainerTypeRegistrationSettings::|public|getItemMajorVersionLimit():Long @@ -242767,10 +244327,10 @@ com.microsoft.graph.beta.models.FileStorageContainerTypeRegistrationSettings::|p com.microsoft.graph.beta.models.FileStorageContainerTypeRegistrationSettings::|public|getUrlTemplate():String com.microsoft.graph.beta.models.FileStorageContainerTypeRegistrationSettings::|public|serialize(writer:SerializationWriter):Void com.microsoft.graph.beta.models.FileStorageContainerTypeRegistrationSettings::|public|setAdditionalData(value?:Map):void -com.microsoft.graph.beta.models.FileStorageContainerTypeRegistrationSettings::|public|setAgent(value?:FileStorageContainerTypeAgentSettings):void com.microsoft.graph.beta.models.FileStorageContainerTypeRegistrationSettings::|public|setBackingStore(value:BackingStore):void com.microsoft.graph.beta.models.FileStorageContainerTypeRegistrationSettings::|public|setIsDiscoverabilityEnabled(value?:Boolean):void com.microsoft.graph.beta.models.FileStorageContainerTypeRegistrationSettings::|public|setIsItemVersioningEnabled(value?:Boolean):void +com.microsoft.graph.beta.models.FileStorageContainerTypeRegistrationSettings::|public|setIsOfficeRestricted(value?:Boolean):void com.microsoft.graph.beta.models.FileStorageContainerTypeRegistrationSettings::|public|setIsSearchEnabled(value?:Boolean):void com.microsoft.graph.beta.models.FileStorageContainerTypeRegistrationSettings::|public|setIsSharingRestricted(value?:Boolean):void com.microsoft.graph.beta.models.FileStorageContainerTypeRegistrationSettings::|public|setItemMajorVersionLimit(value?:Long):void @@ -242783,12 +244343,12 @@ com.microsoft.graph.beta.models.FileStorageContainerTypeRegistrationSettings~~>A com.microsoft.graph.beta.models.FileStorageContainerTypeSettings::|protected|backingStore:BackingStore com.microsoft.graph.beta.models.FileStorageContainerTypeSettings::|public|constructor():void com.microsoft.graph.beta.models.FileStorageContainerTypeSettings::|public|getAdditionalData():Map -com.microsoft.graph.beta.models.FileStorageContainerTypeSettings::|public|getAgent():FileStorageContainerTypeAgentSettings com.microsoft.graph.beta.models.FileStorageContainerTypeSettings::|public|getBackingStore():BackingStore com.microsoft.graph.beta.models.FileStorageContainerTypeSettings::|public|getConsumingTenantOverridables():FileStorageContainerTypeSettingsOverride com.microsoft.graph.beta.models.FileStorageContainerTypeSettings::|public|getFieldDeserializers():Map> com.microsoft.graph.beta.models.FileStorageContainerTypeSettings::|public|getIsDiscoverabilityEnabled():Boolean com.microsoft.graph.beta.models.FileStorageContainerTypeSettings::|public|getIsItemVersioningEnabled():Boolean +com.microsoft.graph.beta.models.FileStorageContainerTypeSettings::|public|getIsOfficeRestricted():Boolean com.microsoft.graph.beta.models.FileStorageContainerTypeSettings::|public|getIsSearchEnabled():Boolean com.microsoft.graph.beta.models.FileStorageContainerTypeSettings::|public|getIsSharingRestricted():Boolean com.microsoft.graph.beta.models.FileStorageContainerTypeSettings::|public|getItemMajorVersionLimit():Long @@ -242798,11 +244358,11 @@ com.microsoft.graph.beta.models.FileStorageContainerTypeSettings::|public|getSha com.microsoft.graph.beta.models.FileStorageContainerTypeSettings::|public|getUrlTemplate():String com.microsoft.graph.beta.models.FileStorageContainerTypeSettings::|public|serialize(writer:SerializationWriter):Void com.microsoft.graph.beta.models.FileStorageContainerTypeSettings::|public|setAdditionalData(value?:Map):void -com.microsoft.graph.beta.models.FileStorageContainerTypeSettings::|public|setAgent(value?:FileStorageContainerTypeAgentSettings):void com.microsoft.graph.beta.models.FileStorageContainerTypeSettings::|public|setBackingStore(value:BackingStore):void com.microsoft.graph.beta.models.FileStorageContainerTypeSettings::|public|setConsumingTenantOverridables(value?:FileStorageContainerTypeSettingsOverride):void com.microsoft.graph.beta.models.FileStorageContainerTypeSettings::|public|setIsDiscoverabilityEnabled(value?:Boolean):void com.microsoft.graph.beta.models.FileStorageContainerTypeSettings::|public|setIsItemVersioningEnabled(value?:Boolean):void +com.microsoft.graph.beta.models.FileStorageContainerTypeSettings::|public|setIsOfficeRestricted(value?:Boolean):void com.microsoft.graph.beta.models.FileStorageContainerTypeSettings::|public|setIsSearchEnabled(value?:Boolean):void com.microsoft.graph.beta.models.FileStorageContainerTypeSettings::|public|setIsSharingRestricted(value?:Boolean):void com.microsoft.graph.beta.models.FileStorageContainerTypeSettings::|public|setItemMajorVersionLimit(value?:Long):void @@ -242818,6 +244378,7 @@ com.microsoft.graph.beta.models.FileStorageContainerTypeSettingsOverride::0003-I com.microsoft.graph.beta.models.FileStorageContainerTypeSettingsOverride::0004-ItemMajorVersionLimit com.microsoft.graph.beta.models.FileStorageContainerTypeSettingsOverride::0005-MaxStoragePerContainerInBytes com.microsoft.graph.beta.models.FileStorageContainerTypeSettingsOverride::0006-UnknownFutureValue +com.microsoft.graph.beta.models.FileStorageContainerTypeSettingsOverride::0007-IsOfficeRestricted com.microsoft.graph.beta.models.FileStorageContainerTypeSettings~~>AdditionalDataHolder; BackedModel; Parsable com.microsoft.graph.beta.models.FileStorageContainerViewpoint::|protected|backingStore:BackingStore com.microsoft.graph.beta.models.FileStorageContainerViewpoint::|public|constructor():void @@ -243550,6 +245111,31 @@ com.microsoft.graph.beta.models.GovernanceInsightCollectionResponse::|public|get com.microsoft.graph.beta.models.GovernanceInsightCollectionResponse::|public|serialize(writer:SerializationWriter):Void com.microsoft.graph.beta.models.GovernanceInsightCollectionResponse::|public|setValue(value?:java.util.List):void com.microsoft.graph.beta.models.GovernanceInsightCollectionResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):GovernanceInsightCollectionResponse +com.microsoft.graph.beta.models.GovernanceInvitation-->Entity +com.microsoft.graph.beta.models.GovernanceInvitation::|public|constructor():void +com.microsoft.graph.beta.models.GovernanceInvitation::|public|getCreatedDateTime():OffsetDateTime +com.microsoft.graph.beta.models.GovernanceInvitation::|public|getExpirationDateTime():OffsetDateTime +com.microsoft.graph.beta.models.GovernanceInvitation::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.GovernanceInvitation::|public|getGovernedTenantId():String +com.microsoft.graph.beta.models.GovernanceInvitation::|public|getGovernedTenantName():String +com.microsoft.graph.beta.models.GovernanceInvitation::|public|getGoverningTenantId():String +com.microsoft.graph.beta.models.GovernanceInvitation::|public|getGoverningTenantName():String +com.microsoft.graph.beta.models.GovernanceInvitation::|public|OdataType:String +com.microsoft.graph.beta.models.GovernanceInvitation::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.GovernanceInvitation::|public|setCreatedDateTime(value?:OffsetDateTime):void +com.microsoft.graph.beta.models.GovernanceInvitation::|public|setExpirationDateTime(value?:OffsetDateTime):void +com.microsoft.graph.beta.models.GovernanceInvitation::|public|setGovernedTenantId(value?:String):void +com.microsoft.graph.beta.models.GovernanceInvitation::|public|setGovernedTenantName(value?:String):void +com.microsoft.graph.beta.models.GovernanceInvitation::|public|setGoverningTenantId(value?:String):void +com.microsoft.graph.beta.models.GovernanceInvitation::|public|setGoverningTenantName(value?:String):void +com.microsoft.graph.beta.models.GovernanceInvitation::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):GovernanceInvitation +com.microsoft.graph.beta.models.GovernanceInvitationCollectionResponse-->BaseCollectionPaginationCountResponse +com.microsoft.graph.beta.models.GovernanceInvitationCollectionResponse::|public|constructor():void +com.microsoft.graph.beta.models.GovernanceInvitationCollectionResponse::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.GovernanceInvitationCollectionResponse::|public|getValue():java.util.List +com.microsoft.graph.beta.models.GovernanceInvitationCollectionResponse::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.GovernanceInvitationCollectionResponse::|public|setValue(value?:java.util.List):void +com.microsoft.graph.beta.models.GovernanceInvitationCollectionResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):GovernanceInvitationCollectionResponse com.microsoft.graph.beta.models.GovernanceNotificationPolicy::|protected|backingStore:BackingStore com.microsoft.graph.beta.models.GovernanceNotificationPolicy::|public|constructor():void com.microsoft.graph.beta.models.GovernanceNotificationPolicy::|public|getAdditionalData():Map @@ -243623,6 +245209,66 @@ com.microsoft.graph.beta.models.GovernancePolicyTemplateCollectionResponse::|pub com.microsoft.graph.beta.models.GovernancePolicyTemplateCollectionResponse::|public|setValue(value?:java.util.List):void com.microsoft.graph.beta.models.GovernancePolicyTemplateCollectionResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):GovernancePolicyTemplateCollectionResponse com.microsoft.graph.beta.models.GovernancePolicy~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.beta.models.GovernanceRelationship-->Entity +com.microsoft.graph.beta.models.GovernanceRelationship::|public|constructor():void +com.microsoft.graph.beta.models.GovernanceRelationship::|public|getCreatedType():RelationshipCreationType +com.microsoft.graph.beta.models.GovernanceRelationship::|public|getCreationDateTime():OffsetDateTime +com.microsoft.graph.beta.models.GovernanceRelationship::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.GovernanceRelationship::|public|getGovernedTenantId():String +com.microsoft.graph.beta.models.GovernanceRelationship::|public|getGovernedTenantName():String +com.microsoft.graph.beta.models.GovernanceRelationship::|public|getGoverningTenantId():String +com.microsoft.graph.beta.models.GovernanceRelationship::|public|getGoverningTenantName():String +com.microsoft.graph.beta.models.GovernanceRelationship::|public|getPolicySnapshot():RelationshipPolicy +com.microsoft.graph.beta.models.GovernanceRelationship::|public|getStatus():RelationshipStatus +com.microsoft.graph.beta.models.GovernanceRelationship::|public|OdataType:String +com.microsoft.graph.beta.models.GovernanceRelationship::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.GovernanceRelationship::|public|setCreatedType(value?:RelationshipCreationType):void +com.microsoft.graph.beta.models.GovernanceRelationship::|public|setCreationDateTime(value?:OffsetDateTime):void +com.microsoft.graph.beta.models.GovernanceRelationship::|public|setGovernedTenantId(value?:String):void +com.microsoft.graph.beta.models.GovernanceRelationship::|public|setGovernedTenantName(value?:String):void +com.microsoft.graph.beta.models.GovernanceRelationship::|public|setGoverningTenantId(value?:String):void +com.microsoft.graph.beta.models.GovernanceRelationship::|public|setGoverningTenantName(value?:String):void +com.microsoft.graph.beta.models.GovernanceRelationship::|public|setPolicySnapshot(value?:RelationshipPolicy):void +com.microsoft.graph.beta.models.GovernanceRelationship::|public|setStatus(value?:RelationshipStatus):void +com.microsoft.graph.beta.models.GovernanceRelationship::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):GovernanceRelationship +com.microsoft.graph.beta.models.GovernanceRelationshipCollectionResponse-->BaseCollectionPaginationCountResponse +com.microsoft.graph.beta.models.GovernanceRelationshipCollectionResponse::|public|constructor():void +com.microsoft.graph.beta.models.GovernanceRelationshipCollectionResponse::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.GovernanceRelationshipCollectionResponse::|public|getValue():java.util.List +com.microsoft.graph.beta.models.GovernanceRelationshipCollectionResponse::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.GovernanceRelationshipCollectionResponse::|public|setValue(value?:java.util.List):void +com.microsoft.graph.beta.models.GovernanceRelationshipCollectionResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):GovernanceRelationshipCollectionResponse +com.microsoft.graph.beta.models.GovernanceRequest-->Entity +com.microsoft.graph.beta.models.GovernanceRequest::|public|constructor():void +com.microsoft.graph.beta.models.GovernanceRequest::|public|getExpirationDateTime():OffsetDateTime +com.microsoft.graph.beta.models.GovernanceRequest::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.GovernanceRequest::|public|getGovernancePolicyTemplate():TenantGovernancePolicyTemplate +com.microsoft.graph.beta.models.GovernanceRequest::|public|getGovernedTenantId():String +com.microsoft.graph.beta.models.GovernanceRequest::|public|getGovernedTenantName():String +com.microsoft.graph.beta.models.GovernanceRequest::|public|getGoverningTenantId():String +com.microsoft.graph.beta.models.GovernanceRequest::|public|getGoverningTenantName():String +com.microsoft.graph.beta.models.GovernanceRequest::|public|getPolicySnapshot():RelationshipPolicy +com.microsoft.graph.beta.models.GovernanceRequest::|public|getRequestDateTime():OffsetDateTime +com.microsoft.graph.beta.models.GovernanceRequest::|public|getStatus():RequestStatus +com.microsoft.graph.beta.models.GovernanceRequest::|public|OdataType:String +com.microsoft.graph.beta.models.GovernanceRequest::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.GovernanceRequest::|public|setExpirationDateTime(value?:OffsetDateTime):void +com.microsoft.graph.beta.models.GovernanceRequest::|public|setGovernancePolicyTemplate(value?:TenantGovernancePolicyTemplate):void +com.microsoft.graph.beta.models.GovernanceRequest::|public|setGovernedTenantId(value?:String):void +com.microsoft.graph.beta.models.GovernanceRequest::|public|setGovernedTenantName(value?:String):void +com.microsoft.graph.beta.models.GovernanceRequest::|public|setGoverningTenantId(value?:String):void +com.microsoft.graph.beta.models.GovernanceRequest::|public|setGoverningTenantName(value?:String):void +com.microsoft.graph.beta.models.GovernanceRequest::|public|setPolicySnapshot(value?:RelationshipPolicy):void +com.microsoft.graph.beta.models.GovernanceRequest::|public|setRequestDateTime(value?:OffsetDateTime):void +com.microsoft.graph.beta.models.GovernanceRequest::|public|setStatus(value?:RequestStatus):void +com.microsoft.graph.beta.models.GovernanceRequest::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):GovernanceRequest +com.microsoft.graph.beta.models.GovernanceRequestCollectionResponse-->BaseCollectionPaginationCountResponse +com.microsoft.graph.beta.models.GovernanceRequestCollectionResponse::|public|constructor():void +com.microsoft.graph.beta.models.GovernanceRequestCollectionResponse::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.GovernanceRequestCollectionResponse::|public|getValue():java.util.List +com.microsoft.graph.beta.models.GovernanceRequestCollectionResponse::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.GovernanceRequestCollectionResponse::|public|setValue(value?:java.util.List):void +com.microsoft.graph.beta.models.GovernanceRequestCollectionResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):GovernanceRequestCollectionResponse com.microsoft.graph.beta.models.GovernanceResource-->Entity com.microsoft.graph.beta.models.GovernanceResource::|public|constructor():void com.microsoft.graph.beta.models.GovernanceResource::|public|getDisplayName():String @@ -245448,6 +247094,10 @@ com.microsoft.graph.beta.models.healthmonitoring.AlertType::0003-CompliantDevice com.microsoft.graph.beta.models.healthmonitoring.AlertType::0004-UnknownFutureValue com.microsoft.graph.beta.models.healthmonitoring.AlertType::0005-ConditionalAccessBlockedSignIn com.microsoft.graph.beta.models.healthmonitoring.AlertType::0006-SamlSignInFailure +com.microsoft.graph.beta.models.healthmonitoring.AlertType::0007-InternetAppBlockedByPolicy +com.microsoft.graph.beta.models.healthmonitoring.AlertType::0008-PrivateAppBlockedByConnector +com.microsoft.graph.beta.models.healthmonitoring.AlertType::0009-RemoteNetworkTunnelConnectivity +com.microsoft.graph.beta.models.healthmonitoring.AlertType::0010-RemoteNetworkBgpConnectivity com.microsoft.graph.beta.models.healthmonitoring.ApplicationImpactSummary-->DirectoryObjectImpactSummary com.microsoft.graph.beta.models.healthmonitoring.ApplicationImpactSummary::|public|constructor():void com.microsoft.graph.beta.models.healthmonitoring.ApplicationImpactSummary::|public|getFieldDeserializers():Map> @@ -245573,6 +247223,7 @@ com.microsoft.graph.beta.models.healthmonitoring.Scenario::0002-Devices com.microsoft.graph.beta.models.healthmonitoring.Scenario::0003-UnknownFutureValue com.microsoft.graph.beta.models.healthmonitoring.Scenario::0004-ConditionalAccess com.microsoft.graph.beta.models.healthmonitoring.Scenario::0005-Saml +com.microsoft.graph.beta.models.healthmonitoring.Scenario::0006-Gsa com.microsoft.graph.beta.models.healthmonitoring.ServicePrincipalImpactSummary-->DirectoryObjectImpactSummary com.microsoft.graph.beta.models.healthmonitoring.ServicePrincipalImpactSummary::|public|constructor():void com.microsoft.graph.beta.models.healthmonitoring.ServicePrincipalImpactSummary::|public|getFieldDeserializers():Map> @@ -246045,6 +247696,42 @@ com.microsoft.graph.beta.models.identitygovernance.ActivationTaskScopeType::0002 com.microsoft.graph.beta.models.identitygovernance.ActivationUserScopeType::0000-AllUsers com.microsoft.graph.beta.models.identitygovernance.ActivationUserScopeType::0001-FailedUsers com.microsoft.graph.beta.models.identitygovernance.ActivationUserScopeType::0002-UnknownFutureValue +com.microsoft.graph.beta.models.identitygovernance.AgentIdentityLifecycle-->IdentityLifecycle +com.microsoft.graph.beta.models.identitygovernance.AgentIdentityLifecycle::|public|constructor():void +com.microsoft.graph.beta.models.identitygovernance.AgentIdentityLifecycle::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.identitygovernance.AgentIdentityLifecycle::|public|OdataType:String +com.microsoft.graph.beta.models.identitygovernance.AgentIdentityLifecycle::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.identitygovernance.AgentIdentityLifecycle::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):AgentIdentityLifecycle +com.microsoft.graph.beta.models.identitygovernance.AgentIdentityLifecyclePolicy-->LifecyclePolicy +com.microsoft.graph.beta.models.identitygovernance.AgentIdentityLifecyclePolicy::|public|constructor():void +com.microsoft.graph.beta.models.identitygovernance.AgentIdentityLifecyclePolicy::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.identitygovernance.AgentIdentityLifecyclePolicy::|public|OdataType:String +com.microsoft.graph.beta.models.identitygovernance.AgentIdentityLifecyclePolicy::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.identitygovernance.AgentIdentityLifecyclePolicy::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):AgentIdentityLifecyclePolicy +com.microsoft.graph.beta.models.identitygovernance.AllExcludingGroupsSubjectSet-->SubjectSet +com.microsoft.graph.beta.models.identitygovernance.AllExcludingGroupsSubjectSet::|public|constructor():void +com.microsoft.graph.beta.models.identitygovernance.AllExcludingGroupsSubjectSet::|public|getExcludedGroups():java.util.List +com.microsoft.graph.beta.models.identitygovernance.AllExcludingGroupsSubjectSet::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.identitygovernance.AllExcludingGroupsSubjectSet::|public|OdataType:String +com.microsoft.graph.beta.models.identitygovernance.AllExcludingGroupsSubjectSet::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.identitygovernance.AllExcludingGroupsSubjectSet::|public|setExcludedGroups(value?:java.util.List):void +com.microsoft.graph.beta.models.identitygovernance.AllExcludingGroupsSubjectSet::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):AllExcludingGroupsSubjectSet +com.microsoft.graph.beta.models.identitygovernance.AllExcludingSpecificObjectsSubjectSet-->SubjectSet +com.microsoft.graph.beta.models.identitygovernance.AllExcludingSpecificObjectsSubjectSet::|public|constructor():void +com.microsoft.graph.beta.models.identitygovernance.AllExcludingSpecificObjectsSubjectSet::|public|getExcludedObjects():java.util.List +com.microsoft.graph.beta.models.identitygovernance.AllExcludingSpecificObjectsSubjectSet::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.identitygovernance.AllExcludingSpecificObjectsSubjectSet::|public|OdataType:String +com.microsoft.graph.beta.models.identitygovernance.AllExcludingSpecificObjectsSubjectSet::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.identitygovernance.AllExcludingSpecificObjectsSubjectSet::|public|setExcludedObjects(value?:java.util.List):void +com.microsoft.graph.beta.models.identitygovernance.AllExcludingSpecificObjectsSubjectSet::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):AllExcludingSpecificObjectsSubjectSet +com.microsoft.graph.beta.models.identitygovernance.AttestationComplianceIssue-->ComplianceIssue +com.microsoft.graph.beta.models.identitygovernance.AttestationComplianceIssue::|public|constructor():void +com.microsoft.graph.beta.models.identitygovernance.AttestationComplianceIssue::|public|getAttestationBlockReasons():java.util.List +com.microsoft.graph.beta.models.identitygovernance.AttestationComplianceIssue::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.identitygovernance.AttestationComplianceIssue::|public|OdataType:String +com.microsoft.graph.beta.models.identitygovernance.AttestationComplianceIssue::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.identitygovernance.AttestationComplianceIssue::|public|setAttestationBlockReasons(value?:java.util.List):void +com.microsoft.graph.beta.models.identitygovernance.AttestationComplianceIssue::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):AttestationComplianceIssue com.microsoft.graph.beta.models.identitygovernance.AttributeChangeTrigger-->WorkflowExecutionTrigger com.microsoft.graph.beta.models.identitygovernance.AttributeChangeTrigger::|public|constructor():void com.microsoft.graph.beta.models.identitygovernance.AttributeChangeTrigger::|public|getFieldDeserializers():Map> @@ -246107,6 +247794,27 @@ com.microsoft.graph.beta.models.identitygovernance.CancelScope::|public|setBacki com.microsoft.graph.beta.models.identitygovernance.CancelScope::|public|setOdataType(value?:String):void com.microsoft.graph.beta.models.identitygovernance.CancelScope::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):CancelScope com.microsoft.graph.beta.models.identitygovernance.CancelScope~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.beta.models.identitygovernance.ComplianceIssue-->Entity +com.microsoft.graph.beta.models.identitygovernance.ComplianceIssue::|public|constructor():void +com.microsoft.graph.beta.models.identitygovernance.ComplianceIssue::|public|getDescription():String +com.microsoft.graph.beta.models.identitygovernance.ComplianceIssue::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.identitygovernance.ComplianceIssue::|public|getGoverningPolicyReferenceId():String +com.microsoft.graph.beta.models.identitygovernance.ComplianceIssue::|public|getIssueCode():String +com.microsoft.graph.beta.models.identitygovernance.ComplianceIssue::|public|getRuleType():String +com.microsoft.graph.beta.models.identitygovernance.ComplianceIssue::|public|OdataType:String +com.microsoft.graph.beta.models.identitygovernance.ComplianceIssue::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.identitygovernance.ComplianceIssue::|public|setDescription(value?:String):void +com.microsoft.graph.beta.models.identitygovernance.ComplianceIssue::|public|setGoverningPolicyReferenceId(value?:String):void +com.microsoft.graph.beta.models.identitygovernance.ComplianceIssue::|public|setIssueCode(value?:String):void +com.microsoft.graph.beta.models.identitygovernance.ComplianceIssue::|public|setRuleType(value?:String):void +com.microsoft.graph.beta.models.identitygovernance.ComplianceIssue::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):ComplianceIssue +com.microsoft.graph.beta.models.identitygovernance.ComplianceIssueCollectionResponse-->BaseCollectionPaginationCountResponse +com.microsoft.graph.beta.models.identitygovernance.ComplianceIssueCollectionResponse::|public|constructor():void +com.microsoft.graph.beta.models.identitygovernance.ComplianceIssueCollectionResponse::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.identitygovernance.ComplianceIssueCollectionResponse::|public|getValue():java.util.List +com.microsoft.graph.beta.models.identitygovernance.ComplianceIssueCollectionResponse::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.identitygovernance.ComplianceIssueCollectionResponse::|public|setValue(value?:java.util.List):void +com.microsoft.graph.beta.models.identitygovernance.ComplianceIssueCollectionResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):ComplianceIssueCollectionResponse com.microsoft.graph.beta.models.identitygovernance.CountBasedQuarantineCondition-->QuarantineCondition com.microsoft.graph.beta.models.identitygovernance.CountBasedQuarantineCondition::|public|constructor():void com.microsoft.graph.beta.models.identitygovernance.CountBasedQuarantineCondition::|public|getFieldDeserializers():Map> @@ -246191,6 +247899,34 @@ com.microsoft.graph.beta.models.identitygovernance.CustomTaskExtensionResponseDa com.microsoft.graph.beta.models.identitygovernance.CustomTaskExtensionResponseData::|public|setStatusReasons(value?:java.util.List):void com.microsoft.graph.beta.models.identitygovernance.CustomTaskExtensionResponseData::|public|setTargetSubject(value?:WorkflowSubject):void com.microsoft.graph.beta.models.identitygovernance.CustomTaskExtensionResponseData::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):CustomTaskExtensionResponseData +com.microsoft.graph.beta.models.identitygovernance.DeleteOnlyEnforcementAction-->LifecyclePolicyEnforcementAction +com.microsoft.graph.beta.models.identitygovernance.DeleteOnlyEnforcementAction::|public|constructor():void +com.microsoft.graph.beta.models.identitygovernance.DeleteOnlyEnforcementAction::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.identitygovernance.DeleteOnlyEnforcementAction::|public|OdataType:String +com.microsoft.graph.beta.models.identitygovernance.DeleteOnlyEnforcementAction::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.identitygovernance.DeleteOnlyEnforcementAction::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):DeleteOnlyEnforcementAction +com.microsoft.graph.beta.models.identitygovernance.DirectoryObjectWorkflowSubject-->WorkflowSubject +com.microsoft.graph.beta.models.identitygovernance.DirectoryObjectWorkflowSubject::|public|constructor():void +com.microsoft.graph.beta.models.identitygovernance.DirectoryObjectWorkflowSubject::|public|getDirectoryObject():DirectoryObject +com.microsoft.graph.beta.models.identitygovernance.DirectoryObjectWorkflowSubject::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.identitygovernance.DirectoryObjectWorkflowSubject::|public|OdataType:String +com.microsoft.graph.beta.models.identitygovernance.DirectoryObjectWorkflowSubject::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.identitygovernance.DirectoryObjectWorkflowSubject::|public|setDirectoryObject(value?:DirectoryObject):void +com.microsoft.graph.beta.models.identitygovernance.DirectoryObjectWorkflowSubject::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):DirectoryObjectWorkflowSubject +com.microsoft.graph.beta.models.identitygovernance.DisableOnlyEnforcementAction-->LifecyclePolicyEnforcementAction +com.microsoft.graph.beta.models.identitygovernance.DisableOnlyEnforcementAction::|public|constructor():void +com.microsoft.graph.beta.models.identitygovernance.DisableOnlyEnforcementAction::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.identitygovernance.DisableOnlyEnforcementAction::|public|OdataType:String +com.microsoft.graph.beta.models.identitygovernance.DisableOnlyEnforcementAction::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.identitygovernance.DisableOnlyEnforcementAction::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):DisableOnlyEnforcementAction +com.microsoft.graph.beta.models.identitygovernance.DisableThenDeleteEnforcementAction-->LifecyclePolicyEnforcementAction +com.microsoft.graph.beta.models.identitygovernance.DisableThenDeleteEnforcementAction::|public|constructor():void +com.microsoft.graph.beta.models.identitygovernance.DisableThenDeleteEnforcementAction::|public|getDeletionGracePeriodInDays():Integer +com.microsoft.graph.beta.models.identitygovernance.DisableThenDeleteEnforcementAction::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.identitygovernance.DisableThenDeleteEnforcementAction::|public|OdataType:String +com.microsoft.graph.beta.models.identitygovernance.DisableThenDeleteEnforcementAction::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.identitygovernance.DisableThenDeleteEnforcementAction::|public|setDeletionGracePeriodInDays(value?:Integer):void +com.microsoft.graph.beta.models.identitygovernance.DisableThenDeleteEnforcementAction::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):DisableThenDeleteEnforcementAction com.microsoft.graph.beta.models.identitygovernance.GroupBasedSubjectSet-->SubjectSet com.microsoft.graph.beta.models.identitygovernance.GroupBasedSubjectSet::|public|constructor():void com.microsoft.graph.beta.models.identitygovernance.GroupBasedSubjectSet::|public|getFieldDeserializers():Map> @@ -246207,6 +247943,26 @@ com.microsoft.graph.beta.models.identitygovernance.GuestSponsorTrigger::|public| com.microsoft.graph.beta.models.identitygovernance.GuestSponsorTrigger::|public|serialize(writer:SerializationWriter):Void com.microsoft.graph.beta.models.identitygovernance.GuestSponsorTrigger::|public|setMinimumRequiredSponsors(value?:Integer):void com.microsoft.graph.beta.models.identitygovernance.GuestSponsorTrigger::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):GuestSponsorTrigger +com.microsoft.graph.beta.models.identitygovernance.IdentityLifecycle-->Entity +com.microsoft.graph.beta.models.identitygovernance.IdentityLifecycle::|public|constructor():void +com.microsoft.graph.beta.models.identitygovernance.IdentityLifecycle::|public|getComplianceIssues():java.util.List +com.microsoft.graph.beta.models.identitygovernance.IdentityLifecycle::|public|getEffectiveGoverningPolicy():LifecyclePolicy +com.microsoft.graph.beta.models.identitygovernance.IdentityLifecycle::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.identitygovernance.IdentityLifecycle::|public|getLastAttestationDateTime():OffsetDateTime +com.microsoft.graph.beta.models.identitygovernance.IdentityLifecycle::|public|OdataType:String +com.microsoft.graph.beta.models.identitygovernance.IdentityLifecycle::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.identitygovernance.IdentityLifecycle::|public|setComplianceIssues(value?:java.util.List):void +com.microsoft.graph.beta.models.identitygovernance.IdentityLifecycle::|public|setEffectiveGoverningPolicy(value?:LifecyclePolicy):void +com.microsoft.graph.beta.models.identitygovernance.IdentityLifecycle::|public|setLastAttestationDateTime(value?:OffsetDateTime):void +com.microsoft.graph.beta.models.identitygovernance.IdentityLifecycle::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):IdentityLifecycle +com.microsoft.graph.beta.models.identitygovernance.InactivityRule-->LifecyclePolicyRule +com.microsoft.graph.beta.models.identitygovernance.InactivityRule::|public|constructor():void +com.microsoft.graph.beta.models.identitygovernance.InactivityRule::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.identitygovernance.InactivityRule::|public|getLastActivityThresholdInDays():Integer +com.microsoft.graph.beta.models.identitygovernance.InactivityRule::|public|OdataType:String +com.microsoft.graph.beta.models.identitygovernance.InactivityRule::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.identitygovernance.InactivityRule::|public|setLastActivityThresholdInDays(value?:Integer):void +com.microsoft.graph.beta.models.identitygovernance.InactivityRule::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):InactivityRule com.microsoft.graph.beta.models.identitygovernance.Insights-->Entity com.microsoft.graph.beta.models.identitygovernance.Insights::|public|constructor():void com.microsoft.graph.beta.models.identitygovernance.Insights::|public|getFieldDeserializers():Map> @@ -246225,6 +247981,114 @@ com.microsoft.graph.beta.models.identitygovernance.LifecycleManagementSettings:: com.microsoft.graph.beta.models.identitygovernance.LifecycleManagementSettings::|public|setQuarantineConfiguration(value?:QuarantineConfiguration):void com.microsoft.graph.beta.models.identitygovernance.LifecycleManagementSettings::|public|setWorkflowScheduleIntervalInHours(value?:Integer):void com.microsoft.graph.beta.models.identitygovernance.LifecycleManagementSettings::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):LifecycleManagementSettings +com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicy-->Entity +com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicy::|public|constructor():void +com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicy::|public|getCreatedBy():DirectoryObject +com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicy::|public|getCreatedDateTime():OffsetDateTime +com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicy::|public|getDescription():String +com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicy::|public|getDisplayName():String +com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicy::|public|getEnforcementAction():LifecyclePolicyEnforcementAction +com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicy::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicy::|public|getGracePeriodInDays():Integer +com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicy::|public|getIsEnabled():Boolean +com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicy::|public|getLastModifiedBy():DirectoryObject +com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicy::|public|getLastModifiedDateTime():OffsetDateTime +com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicy::|public|getNotificationSchedule():LifecyclePolicyNotificationSettings +com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicy::|public|getPolicySource():LifecyclePolicySource +com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicy::|public|getRules():java.util.List +com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicy::|public|getScope():SubjectSet +com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicy::|public|getVersionNumber():Integer +com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicy::|public|getVersions():java.util.List +com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicy::|public|OdataType:String +com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicy::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicy::|public|setCreatedBy(value?:DirectoryObject):void +com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicy::|public|setCreatedDateTime(value?:OffsetDateTime):void +com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicy::|public|setDescription(value?:String):void +com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicy::|public|setDisplayName(value?:String):void +com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicy::|public|setEnforcementAction(value?:LifecyclePolicyEnforcementAction):void +com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicy::|public|setGracePeriodInDays(value?:Integer):void +com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicy::|public|setIsEnabled(value?:Boolean):void +com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicy::|public|setLastModifiedBy(value?:DirectoryObject):void +com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicy::|public|setLastModifiedDateTime(value?:OffsetDateTime):void +com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicy::|public|setNotificationSchedule(value?:LifecyclePolicyNotificationSettings):void +com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicy::|public|setPolicySource(value?:LifecyclePolicySource):void +com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicy::|public|setRules(value?:java.util.List):void +com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicy::|public|setScope(value?:SubjectSet):void +com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicy::|public|setVersionNumber(value?:Integer):void +com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicy::|public|setVersions(value?:java.util.List):void +com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicy::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):LifecyclePolicy +com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicyCollectionResponse-->BaseCollectionPaginationCountResponse +com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicyCollectionResponse::|public|constructor():void +com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicyCollectionResponse::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicyCollectionResponse::|public|getValue():java.util.List +com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicyCollectionResponse::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicyCollectionResponse::|public|setValue(value?:java.util.List):void +com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicyCollectionResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):LifecyclePolicyCollectionResponse +com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicyEnforcementAction::|protected|backingStore:BackingStore +com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicyEnforcementAction::|public|constructor():void +com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicyEnforcementAction::|public|getAdditionalData():Map +com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicyEnforcementAction::|public|getBackingStore():BackingStore +com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicyEnforcementAction::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicyEnforcementAction::|public|getOdataType():String +com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicyEnforcementAction::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicyEnforcementAction::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicyEnforcementAction::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicyEnforcementAction::|public|setOdataType(value?:String):void +com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicyEnforcementAction::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):LifecyclePolicyEnforcementAction +com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicyEnforcementAction~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicyNotificationSettings::|protected|backingStore:BackingStore +com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicyNotificationSettings::|public|constructor():void +com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicyNotificationSettings::|public|getAdditionalData():Map +com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicyNotificationSettings::|public|getAdditionalRecipients():java.util.List +com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicyNotificationSettings::|public|getBackingStore():BackingStore +com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicyNotificationSettings::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicyNotificationSettings::|public|getIsEnabled():Boolean +com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicyNotificationSettings::|public|getOdataType():String +com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicyNotificationSettings::|public|getOffsetsAfterNonComplianceInDays():java.util.List +com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicyNotificationSettings::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicyNotificationSettings::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicyNotificationSettings::|public|setAdditionalRecipients(value?:java.util.List):void +com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicyNotificationSettings::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicyNotificationSettings::|public|setIsEnabled(value?:Boolean):void +com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicyNotificationSettings::|public|setOdataType(value?:String):void +com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicyNotificationSettings::|public|setOffsetsAfterNonComplianceInDays(value?:java.util.List):void +com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicyNotificationSettings::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):LifecyclePolicyNotificationSettings +com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicyNotificationSettings~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicyPriorityConfiguration-->Entity +com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicyPriorityConfiguration::|public|constructor():void +com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicyPriorityConfiguration::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicyPriorityConfiguration::|public|getOrderedPolicyIds():java.util.List +com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicyPriorityConfiguration::|public|getSubjectType():SubjectType +com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicyPriorityConfiguration::|public|OdataType:String +com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicyPriorityConfiguration::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicyPriorityConfiguration::|public|setOrderedPolicyIds(value?:java.util.List):void +com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicyPriorityConfiguration::|public|setSubjectType(value?:SubjectType):void +com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicyPriorityConfiguration::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):LifecyclePolicyPriorityConfiguration +com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicyPriorityConfigurationCollectionResponse-->BaseCollectionPaginationCountResponse +com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicyPriorityConfigurationCollectionResponse::|public|constructor():void +com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicyPriorityConfigurationCollectionResponse::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicyPriorityConfigurationCollectionResponse::|public|getValue():java.util.List +com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicyPriorityConfigurationCollectionResponse::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicyPriorityConfigurationCollectionResponse::|public|setValue(value?:java.util.List):void +com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicyPriorityConfigurationCollectionResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):LifecyclePolicyPriorityConfigurationCollectionResponse +com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicyRule-->Entity +com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicyRule::|public|constructor():void +com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicyRule::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicyRule::|public|getIsEnabled():Boolean +com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicyRule::|public|OdataType:String +com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicyRule::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicyRule::|public|setIsEnabled(value?:Boolean):void +com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicyRule::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):LifecyclePolicyRule +com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicyRuleCollectionResponse-->BaseCollectionPaginationCountResponse +com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicyRuleCollectionResponse::|public|constructor():void +com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicyRuleCollectionResponse::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicyRuleCollectionResponse::|public|getValue():java.util.List +com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicyRuleCollectionResponse::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicyRuleCollectionResponse::|public|setValue(value?:java.util.List):void +com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicyRuleCollectionResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):LifecyclePolicyRuleCollectionResponse +com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicySource::0000-UserCreated +com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicySource::0001-SystemDefault +com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicySource::0002-UnknownFutureValue com.microsoft.graph.beta.models.identitygovernance.LifecycleTaskCategory::0000-Joiner com.microsoft.graph.beta.models.identitygovernance.LifecycleTaskCategory::0001-Leaver com.microsoft.graph.beta.models.identitygovernance.LifecycleTaskCategory::0002-UnknownFutureValue @@ -246250,6 +248114,8 @@ com.microsoft.graph.beta.models.identitygovernance.LifecycleWorkflowsContainer:: com.microsoft.graph.beta.models.identitygovernance.LifecycleWorkflowsContainer::|public|getDeletedItems():DeletedItemContainer com.microsoft.graph.beta.models.identitygovernance.LifecycleWorkflowsContainer::|public|getFieldDeserializers():Map> com.microsoft.graph.beta.models.identitygovernance.LifecycleWorkflowsContainer::|public|getInsights():Insights +com.microsoft.graph.beta.models.identitygovernance.LifecycleWorkflowsContainer::|public|getLifecyclePolicies():java.util.List +com.microsoft.graph.beta.models.identitygovernance.LifecycleWorkflowsContainer::|public|getLifecyclePolicyPriorityConfigurations():java.util.List com.microsoft.graph.beta.models.identitygovernance.LifecycleWorkflowsContainer::|public|getSettings():LifecycleManagementSettings com.microsoft.graph.beta.models.identitygovernance.LifecycleWorkflowsContainer::|public|getTaskDefinitions():java.util.List com.microsoft.graph.beta.models.identitygovernance.LifecycleWorkflowsContainer::|public|getWorkflows():java.util.List @@ -246259,6 +248125,8 @@ com.microsoft.graph.beta.models.identitygovernance.LifecycleWorkflowsContainer:: com.microsoft.graph.beta.models.identitygovernance.LifecycleWorkflowsContainer::|public|setCustomTaskExtensions(value?:java.util.List):void com.microsoft.graph.beta.models.identitygovernance.LifecycleWorkflowsContainer::|public|setDeletedItems(value?:DeletedItemContainer):void com.microsoft.graph.beta.models.identitygovernance.LifecycleWorkflowsContainer::|public|setInsights(value?:Insights):void +com.microsoft.graph.beta.models.identitygovernance.LifecycleWorkflowsContainer::|public|setLifecyclePolicies(value?:java.util.List):void +com.microsoft.graph.beta.models.identitygovernance.LifecycleWorkflowsContainer::|public|setLifecyclePolicyPriorityConfigurations(value?:java.util.List):void com.microsoft.graph.beta.models.identitygovernance.LifecycleWorkflowsContainer::|public|setSettings(value?:LifecycleManagementSettings):void com.microsoft.graph.beta.models.identitygovernance.LifecycleWorkflowsContainer::|public|setTaskDefinitions(value?:java.util.List):void com.microsoft.graph.beta.models.identitygovernance.LifecycleWorkflowsContainer::|public|setWorkflows(value?:java.util.List):void @@ -246310,6 +248178,14 @@ com.microsoft.graph.beta.models.identitygovernance.PercentageBasedQuarantineCond com.microsoft.graph.beta.models.identitygovernance.PercentageBasedQuarantineCondition::|public|serialize(writer:SerializationWriter):Void com.microsoft.graph.beta.models.identitygovernance.PercentageBasedQuarantineCondition::|public|setPercentage(value?:Integer):void com.microsoft.graph.beta.models.identitygovernance.PercentageBasedQuarantineCondition::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):PercentageBasedQuarantineCondition +com.microsoft.graph.beta.models.identitygovernance.PeriodicAttestationRule-->LifecyclePolicyRule +com.microsoft.graph.beta.models.identitygovernance.PeriodicAttestationRule::|public|constructor():void +com.microsoft.graph.beta.models.identitygovernance.PeriodicAttestationRule::|public|getAttestationIntervalInDays():Integer +com.microsoft.graph.beta.models.identitygovernance.PeriodicAttestationRule::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.identitygovernance.PeriodicAttestationRule::|public|OdataType:String +com.microsoft.graph.beta.models.identitygovernance.PeriodicAttestationRule::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.identitygovernance.PeriodicAttestationRule::|public|setAttestationIntervalInDays(value?:Integer):void +com.microsoft.graph.beta.models.identitygovernance.PeriodicAttestationRule::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):PeriodicAttestationRule com.microsoft.graph.beta.models.identitygovernance.PreviewFailedTask::|protected|backingStore:BackingStore com.microsoft.graph.beta.models.identitygovernance.PreviewFailedTask::|public|constructor():void com.microsoft.graph.beta.models.identitygovernance.PreviewFailedTask::|public|getAdditionalData():Map @@ -246476,6 +248352,22 @@ com.microsoft.graph.beta.models.identitygovernance.RunSummary::|public|setTotalT com.microsoft.graph.beta.models.identitygovernance.RunSummary::|public|setTotalUsers(value?:Integer):void com.microsoft.graph.beta.models.identitygovernance.RunSummary::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):RunSummary com.microsoft.graph.beta.models.identitygovernance.RunSummary~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.beta.models.identitygovernance.SelectedObjectsSubjectSet-->SubjectSet +com.microsoft.graph.beta.models.identitygovernance.SelectedObjectsSubjectSet::|public|constructor():void +com.microsoft.graph.beta.models.identitygovernance.SelectedObjectsSubjectSet::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.identitygovernance.SelectedObjectsSubjectSet::|public|getInScopeObjects():java.util.List +com.microsoft.graph.beta.models.identitygovernance.SelectedObjectsSubjectSet::|public|OdataType:String +com.microsoft.graph.beta.models.identitygovernance.SelectedObjectsSubjectSet::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.identitygovernance.SelectedObjectsSubjectSet::|public|setInScopeObjects(value?:java.util.List):void +com.microsoft.graph.beta.models.identitygovernance.SelectedObjectsSubjectSet::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):SelectedObjectsSubjectSet +com.microsoft.graph.beta.models.identitygovernance.SponsorPresenceRule-->LifecyclePolicyRule +com.microsoft.graph.beta.models.identitygovernance.SponsorPresenceRule::|public|constructor():void +com.microsoft.graph.beta.models.identitygovernance.SponsorPresenceRule::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.identitygovernance.SponsorPresenceRule::|public|getMinimumSponsorCount():Integer +com.microsoft.graph.beta.models.identitygovernance.SponsorPresenceRule::|public|OdataType:String +com.microsoft.graph.beta.models.identitygovernance.SponsorPresenceRule::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.identitygovernance.SponsorPresenceRule::|public|setMinimumSponsorCount(value?:Integer):void +com.microsoft.graph.beta.models.identitygovernance.SponsorPresenceRule::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):SponsorPresenceRule com.microsoft.graph.beta.models.identitygovernance.SubjectProcessingResult-->Entity com.microsoft.graph.beta.models.identitygovernance.SubjectProcessingResult::|public|constructor():void com.microsoft.graph.beta.models.identitygovernance.SubjectProcessingResult::|public|getCompletedDateTime():OffsetDateTime @@ -246486,6 +248378,7 @@ com.microsoft.graph.beta.models.identitygovernance.SubjectProcessingResult::|pub com.microsoft.graph.beta.models.identitygovernance.SubjectProcessingResult::|public|getScheduledDateTime():OffsetDateTime com.microsoft.graph.beta.models.identitygovernance.SubjectProcessingResult::|public|getStartedDateTime():OffsetDateTime com.microsoft.graph.beta.models.identitygovernance.SubjectProcessingResult::|public|getSubject():WorkflowSubject +com.microsoft.graph.beta.models.identitygovernance.SubjectProcessingResult::|public|getSubjectType():SubjectType com.microsoft.graph.beta.models.identitygovernance.SubjectProcessingResult::|public|getTaskProcessingResults():java.util.List com.microsoft.graph.beta.models.identitygovernance.SubjectProcessingResult::|public|getTotalTasksCount():Integer com.microsoft.graph.beta.models.identitygovernance.SubjectProcessingResult::|public|getTotalUnprocessedTasksCount():Integer @@ -246500,6 +248393,7 @@ com.microsoft.graph.beta.models.identitygovernance.SubjectProcessingResult::|pub com.microsoft.graph.beta.models.identitygovernance.SubjectProcessingResult::|public|setScheduledDateTime(value?:OffsetDateTime):void com.microsoft.graph.beta.models.identitygovernance.SubjectProcessingResult::|public|setStartedDateTime(value?:OffsetDateTime):void com.microsoft.graph.beta.models.identitygovernance.SubjectProcessingResult::|public|setSubject(value?:WorkflowSubject):void +com.microsoft.graph.beta.models.identitygovernance.SubjectProcessingResult::|public|setSubjectType(value?:SubjectType):void com.microsoft.graph.beta.models.identitygovernance.SubjectProcessingResult::|public|setTaskProcessingResults(value?:java.util.List):void com.microsoft.graph.beta.models.identitygovernance.SubjectProcessingResult::|public|setTotalTasksCount(value?:Integer):void com.microsoft.graph.beta.models.identitygovernance.SubjectProcessingResult::|public|setTotalUnprocessedTasksCount(value?:Integer):void @@ -246513,6 +248407,32 @@ com.microsoft.graph.beta.models.identitygovernance.SubjectProcessingResultCollec com.microsoft.graph.beta.models.identitygovernance.SubjectProcessingResultCollectionResponse::|public|serialize(writer:SerializationWriter):Void com.microsoft.graph.beta.models.identitygovernance.SubjectProcessingResultCollectionResponse::|public|setValue(value?:java.util.List):void com.microsoft.graph.beta.models.identitygovernance.SubjectProcessingResultCollectionResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):SubjectProcessingResultCollectionResponse +com.microsoft.graph.beta.models.identitygovernance.SubjectSummary::|protected|backingStore:BackingStore +com.microsoft.graph.beta.models.identitygovernance.SubjectSummary::|public|constructor():void +com.microsoft.graph.beta.models.identitygovernance.SubjectSummary::|public|getAdditionalData():Map +com.microsoft.graph.beta.models.identitygovernance.SubjectSummary::|public|getBackingStore():BackingStore +com.microsoft.graph.beta.models.identitygovernance.SubjectSummary::|public|getFailedSubjects():Integer +com.microsoft.graph.beta.models.identitygovernance.SubjectSummary::|public|getFailedTasks():Integer +com.microsoft.graph.beta.models.identitygovernance.SubjectSummary::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.identitygovernance.SubjectSummary::|public|getOdataType():String +com.microsoft.graph.beta.models.identitygovernance.SubjectSummary::|public|getSuccessfulSubjects():Integer +com.microsoft.graph.beta.models.identitygovernance.SubjectSummary::|public|getTotalSubjects():Integer +com.microsoft.graph.beta.models.identitygovernance.SubjectSummary::|public|getTotalTasks():Integer +com.microsoft.graph.beta.models.identitygovernance.SubjectSummary::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.identitygovernance.SubjectSummary::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.beta.models.identitygovernance.SubjectSummary::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.beta.models.identitygovernance.SubjectSummary::|public|setFailedSubjects(value?:Integer):void +com.microsoft.graph.beta.models.identitygovernance.SubjectSummary::|public|setFailedTasks(value?:Integer):void +com.microsoft.graph.beta.models.identitygovernance.SubjectSummary::|public|setOdataType(value?:String):void +com.microsoft.graph.beta.models.identitygovernance.SubjectSummary::|public|setSuccessfulSubjects(value?:Integer):void +com.microsoft.graph.beta.models.identitygovernance.SubjectSummary::|public|setTotalSubjects(value?:Integer):void +com.microsoft.graph.beta.models.identitygovernance.SubjectSummary::|public|setTotalTasks(value?:Integer):void +com.microsoft.graph.beta.models.identitygovernance.SubjectSummary::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):SubjectSummary +com.microsoft.graph.beta.models.identitygovernance.SubjectSummary~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.beta.models.identitygovernance.SubjectType::0000-User +com.microsoft.graph.beta.models.identitygovernance.SubjectType::0001-AgentIdentity +com.microsoft.graph.beta.models.identitygovernance.SubjectType::0002-UnknownFutureValue +com.microsoft.graph.beta.models.identitygovernance.SubjectType::0003-ProvisioningObject com.microsoft.graph.beta.models.identitygovernance.Task-->Entity com.microsoft.graph.beta.models.identitygovernance.Task::|public|constructor():void com.microsoft.graph.beta.models.identitygovernance.Task::|public|getArguments():java.util.List @@ -246872,6 +248792,7 @@ com.microsoft.graph.beta.models.identitygovernance.WorkflowBase::|public|getIsSc com.microsoft.graph.beta.models.identitygovernance.WorkflowBase::|public|getLastModifiedBy():User com.microsoft.graph.beta.models.identitygovernance.WorkflowBase::|public|getLastModifiedDateTime():OffsetDateTime com.microsoft.graph.beta.models.identitygovernance.WorkflowBase::|public|getOdataType():String +com.microsoft.graph.beta.models.identitygovernance.WorkflowBase::|public|getTargetSubjectType():SubjectType com.microsoft.graph.beta.models.identitygovernance.WorkflowBase::|public|getTasks():java.util.List com.microsoft.graph.beta.models.identitygovernance.WorkflowBase::|public|serialize(writer:SerializationWriter):Void com.microsoft.graph.beta.models.identitygovernance.WorkflowBase::|public|setAdditionalData(value?:Map):void @@ -246888,6 +248809,7 @@ com.microsoft.graph.beta.models.identitygovernance.WorkflowBase::|public|setIsSc com.microsoft.graph.beta.models.identitygovernance.WorkflowBase::|public|setLastModifiedBy(value?:User):void com.microsoft.graph.beta.models.identitygovernance.WorkflowBase::|public|setLastModifiedDateTime(value?:OffsetDateTime):void com.microsoft.graph.beta.models.identitygovernance.WorkflowBase::|public|setOdataType(value?:String):void +com.microsoft.graph.beta.models.identitygovernance.WorkflowBase::|public|setTargetSubjectType(value?:SubjectType):void com.microsoft.graph.beta.models.identitygovernance.WorkflowBase::|public|setTasks(value?:java.util.List):void com.microsoft.graph.beta.models.identitygovernance.WorkflowBase::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):WorkflowBase com.microsoft.graph.beta.models.identitygovernance.WorkflowBase~~>AdditionalDataHolder; BackedModel; Parsable @@ -247424,6 +249346,7 @@ com.microsoft.graph.beta.models.ImpactedResource::|public|getRecommendationId(): com.microsoft.graph.beta.models.ImpactedResource::|public|getResourceType():String com.microsoft.graph.beta.models.ImpactedResource::|public|getStatus():RecommendationStatus com.microsoft.graph.beta.models.ImpactedResource::|public|getSubjectId():String +com.microsoft.graph.beta.models.ImpactedResource::|public|getTags():java.util.List com.microsoft.graph.beta.models.ImpactedResource::|public|OdataType:String com.microsoft.graph.beta.models.ImpactedResource::|public|serialize(writer:SerializationWriter):Void com.microsoft.graph.beta.models.ImpactedResource::|public|setAddedDateTime(value?:OffsetDateTime):void @@ -247440,6 +249363,7 @@ com.microsoft.graph.beta.models.ImpactedResource::|public|setRecommendationId(va com.microsoft.graph.beta.models.ImpactedResource::|public|setResourceType(value?:String):void com.microsoft.graph.beta.models.ImpactedResource::|public|setStatus(value?:RecommendationStatus):void com.microsoft.graph.beta.models.ImpactedResource::|public|setSubjectId(value?:String):void +com.microsoft.graph.beta.models.ImpactedResource::|public|setTags(value?:java.util.List):void com.microsoft.graph.beta.models.ImpactedResource::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):ImpactedResource com.microsoft.graph.beta.models.ImpactedResourceCollectionResponse-->BaseCollectionPaginationCountResponse com.microsoft.graph.beta.models.ImpactedResourceCollectionResponse::|public|constructor():void @@ -249333,6 +251257,40 @@ com.microsoft.graph.beta.models.InvalidLicenseAlertIncident::|public|OdataType:S com.microsoft.graph.beta.models.InvalidLicenseAlertIncident::|public|serialize(writer:SerializationWriter):Void com.microsoft.graph.beta.models.InvalidLicenseAlertIncident::|public|setTenantLicenseStatus(value?:String):void com.microsoft.graph.beta.models.InvalidLicenseAlertIncident::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):InvalidLicenseAlertIncident +com.microsoft.graph.beta.models.InvestigationActionStep::|protected|backingStore:BackingStore +com.microsoft.graph.beta.models.InvestigationActionStep::|public|constructor():void +com.microsoft.graph.beta.models.InvestigationActionStep::|public|getActionUrl():InvestigationActionUrl +com.microsoft.graph.beta.models.InvestigationActionStep::|public|getAdditionalData():Map +com.microsoft.graph.beta.models.InvestigationActionStep::|public|getBackingStore():BackingStore +com.microsoft.graph.beta.models.InvestigationActionStep::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.InvestigationActionStep::|public|getOdataType():String +com.microsoft.graph.beta.models.InvestigationActionStep::|public|getStepNumber():String +com.microsoft.graph.beta.models.InvestigationActionStep::|public|getText():String +com.microsoft.graph.beta.models.InvestigationActionStep::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.InvestigationActionStep::|public|setActionUrl(value?:InvestigationActionUrl):void +com.microsoft.graph.beta.models.InvestigationActionStep::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.beta.models.InvestigationActionStep::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.beta.models.InvestigationActionStep::|public|setOdataType(value?:String):void +com.microsoft.graph.beta.models.InvestigationActionStep::|public|setStepNumber(value?:String):void +com.microsoft.graph.beta.models.InvestigationActionStep::|public|setText(value?:String):void +com.microsoft.graph.beta.models.InvestigationActionStep::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):InvestigationActionStep +com.microsoft.graph.beta.models.InvestigationActionStep~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.beta.models.InvestigationActionUrl::|protected|backingStore:BackingStore +com.microsoft.graph.beta.models.InvestigationActionUrl::|public|constructor():void +com.microsoft.graph.beta.models.InvestigationActionUrl::|public|getAdditionalData():Map +com.microsoft.graph.beta.models.InvestigationActionUrl::|public|getBackingStore():BackingStore +com.microsoft.graph.beta.models.InvestigationActionUrl::|public|getDisplayName():String +com.microsoft.graph.beta.models.InvestigationActionUrl::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.InvestigationActionUrl::|public|getOdataType():String +com.microsoft.graph.beta.models.InvestigationActionUrl::|public|getUrl():String +com.microsoft.graph.beta.models.InvestigationActionUrl::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.InvestigationActionUrl::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.beta.models.InvestigationActionUrl::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.beta.models.InvestigationActionUrl::|public|setDisplayName(value?:String):void +com.microsoft.graph.beta.models.InvestigationActionUrl::|public|setOdataType(value?:String):void +com.microsoft.graph.beta.models.InvestigationActionUrl::|public|setUrl(value?:String):void +com.microsoft.graph.beta.models.InvestigationActionUrl::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):InvestigationActionUrl +com.microsoft.graph.beta.models.InvestigationActionUrl~~>AdditionalDataHolder; BackedModel; Parsable com.microsoft.graph.beta.models.InvestigationSecurityState::|protected|backingStore:BackingStore com.microsoft.graph.beta.models.InvestigationSecurityState::|public|constructor():void com.microsoft.graph.beta.models.InvestigationSecurityState::|public|getAdditionalData():Map @@ -249608,6 +251566,7 @@ com.microsoft.graph.beta.models.IosDdmLobAppAssignmentSettings::|public|getAssoc com.microsoft.graph.beta.models.IosDdmLobAppAssignmentSettings::|public|getAssociatedDomainsDirectDownloadAllowed():Boolean com.microsoft.graph.beta.models.IosDdmLobAppAssignmentSettings::|public|getCellularSliceConfigurationId():String com.microsoft.graph.beta.models.IosDdmLobAppAssignmentSettings::|public|getContentFilterConfigurationId():String +com.microsoft.graph.beta.models.IosDdmLobAppAssignmentSettings::|public|getDdmAppConfigId():UUID com.microsoft.graph.beta.models.IosDdmLobAppAssignmentSettings::|public|getDnsProxyConfigurationId():String com.microsoft.graph.beta.models.IosDdmLobAppAssignmentSettings::|public|getFieldDeserializers():Map> com.microsoft.graph.beta.models.IosDdmLobAppAssignmentSettings::|public|getPreventManagedAppBackup():Boolean @@ -249620,6 +251579,7 @@ com.microsoft.graph.beta.models.IosDdmLobAppAssignmentSettings::|public|setAssoc com.microsoft.graph.beta.models.IosDdmLobAppAssignmentSettings::|public|setAssociatedDomainsDirectDownloadAllowed(value?:Boolean):void com.microsoft.graph.beta.models.IosDdmLobAppAssignmentSettings::|public|setCellularSliceConfigurationId(value?:String):void com.microsoft.graph.beta.models.IosDdmLobAppAssignmentSettings::|public|setContentFilterConfigurationId(value?:String):void +com.microsoft.graph.beta.models.IosDdmLobAppAssignmentSettings::|public|setDdmAppConfigId(value?:UUID):void com.microsoft.graph.beta.models.IosDdmLobAppAssignmentSettings::|public|setDnsProxyConfigurationId(value?:String):void com.microsoft.graph.beta.models.IosDdmLobAppAssignmentSettings::|public|setPreventManagedAppBackup(value?:Boolean):void com.microsoft.graph.beta.models.IosDdmLobAppAssignmentSettings::|public|setRelayConfigurationId(value?:String):void @@ -249664,6 +251624,7 @@ com.microsoft.graph.beta.models.IosDdmVppAppAssignmentSettings::|public|getAssoc com.microsoft.graph.beta.models.IosDdmVppAppAssignmentSettings::|public|getAutomaticAppUpdates():DdmAppAutomaticAppUpdates com.microsoft.graph.beta.models.IosDdmVppAppAssignmentSettings::|public|getCellularSliceConfigurationId():String com.microsoft.graph.beta.models.IosDdmVppAppAssignmentSettings::|public|getContentFilterConfigurationId():String +com.microsoft.graph.beta.models.IosDdmVppAppAssignmentSettings::|public|getDdmAppConfigId():UUID com.microsoft.graph.beta.models.IosDdmVppAppAssignmentSettings::|public|getDnsProxyConfigurationId():String com.microsoft.graph.beta.models.IosDdmVppAppAssignmentSettings::|public|getFieldDeserializers():Map> com.microsoft.graph.beta.models.IosDdmVppAppAssignmentSettings::|public|getPreventManagedAppBackup():Boolean @@ -249680,6 +251641,7 @@ com.microsoft.graph.beta.models.IosDdmVppAppAssignmentSettings::|public|setAssoc com.microsoft.graph.beta.models.IosDdmVppAppAssignmentSettings::|public|setAutomaticAppUpdates(value?:DdmAppAutomaticAppUpdates):void com.microsoft.graph.beta.models.IosDdmVppAppAssignmentSettings::|public|setCellularSliceConfigurationId(value?:String):void com.microsoft.graph.beta.models.IosDdmVppAppAssignmentSettings::|public|setContentFilterConfigurationId(value?:String):void +com.microsoft.graph.beta.models.IosDdmVppAppAssignmentSettings::|public|setDdmAppConfigId(value?:UUID):void com.microsoft.graph.beta.models.IosDdmVppAppAssignmentSettings::|public|setDnsProxyConfigurationId(value?:String):void com.microsoft.graph.beta.models.IosDdmVppAppAssignmentSettings::|public|setPreventManagedAppBackup(value?:Boolean):void com.microsoft.graph.beta.models.IosDdmVppAppAssignmentSettings::|public|setRelayConfigurationId(value?:String):void @@ -253685,6 +255647,7 @@ com.microsoft.graph.beta.models.MacOSCustomConfiguration::|static|public|createF com.microsoft.graph.beta.models.MacOsDdmVppAppAssignmentSettings-->MobileAppAssignmentSettings com.microsoft.graph.beta.models.MacOsDdmVppAppAssignmentSettings::|public|constructor():void com.microsoft.graph.beta.models.MacOsDdmVppAppAssignmentSettings::|public|getAutomaticAppUpdates():DdmAppAutomaticAppUpdates +com.microsoft.graph.beta.models.MacOsDdmVppAppAssignmentSettings::|public|getDdmAppConfigId():UUID com.microsoft.graph.beta.models.MacOsDdmVppAppAssignmentSettings::|public|getFieldDeserializers():Map> com.microsoft.graph.beta.models.MacOsDdmVppAppAssignmentSettings::|public|getIsIosApp():Boolean com.microsoft.graph.beta.models.MacOsDdmVppAppAssignmentSettings::|public|getUseDeviceLicensing():Boolean @@ -253692,6 +255655,7 @@ com.microsoft.graph.beta.models.MacOsDdmVppAppAssignmentSettings::|public|getVer com.microsoft.graph.beta.models.MacOsDdmVppAppAssignmentSettings::|public|OdataType:String com.microsoft.graph.beta.models.MacOsDdmVppAppAssignmentSettings::|public|serialize(writer:SerializationWriter):Void com.microsoft.graph.beta.models.MacOsDdmVppAppAssignmentSettings::|public|setAutomaticAppUpdates(value?:DdmAppAutomaticAppUpdates):void +com.microsoft.graph.beta.models.MacOsDdmVppAppAssignmentSettings::|public|setDdmAppConfigId(value?:UUID):void com.microsoft.graph.beta.models.MacOsDdmVppAppAssignmentSettings::|public|setIsIosApp(value?:Boolean):void com.microsoft.graph.beta.models.MacOsDdmVppAppAssignmentSettings::|public|setUseDeviceLicensing(value?:Boolean):void com.microsoft.graph.beta.models.MacOsDdmVppAppAssignmentSettings::|public|setVersion(value?:Integer):void @@ -259518,22 +261482,20 @@ com.microsoft.graph.beta.models.Member::|protected|backingStore:BackingStore com.microsoft.graph.beta.models.Member::|public|constructor():void com.microsoft.graph.beta.models.Member::|public|getAdditionalData():Map com.microsoft.graph.beta.models.Member::|public|getBackingStore():BackingStore -com.microsoft.graph.beta.models.Member::|public|getContactId():String com.microsoft.graph.beta.models.Member::|public|getDisplayName():String com.microsoft.graph.beta.models.Member::|public|getFieldDeserializers():Map> com.microsoft.graph.beta.models.Member::|public|getKey():String +com.microsoft.graph.beta.models.Member::|public|getMemberId():String com.microsoft.graph.beta.models.Member::|public|getOdataType():String -com.microsoft.graph.beta.models.Member::|public|getRecipientType():RecipientType -com.microsoft.graph.beta.models.Member::|public|getRoutingType():String +com.microsoft.graph.beta.models.Member::|public|getType():RecipientType com.microsoft.graph.beta.models.Member::|public|serialize(writer:SerializationWriter):Void com.microsoft.graph.beta.models.Member::|public|setAdditionalData(value?:Map):void com.microsoft.graph.beta.models.Member::|public|setBackingStore(value:BackingStore):void -com.microsoft.graph.beta.models.Member::|public|setContactId(value?:String):void com.microsoft.graph.beta.models.Member::|public|setDisplayName(value?:String):void com.microsoft.graph.beta.models.Member::|public|setKey(value?:String):void +com.microsoft.graph.beta.models.Member::|public|setMemberId(value?:String):void com.microsoft.graph.beta.models.Member::|public|setOdataType(value?:String):void -com.microsoft.graph.beta.models.Member::|public|setRecipientType(value?:RecipientType):void -com.microsoft.graph.beta.models.Member::|public|setRoutingType(value?:String):void +com.microsoft.graph.beta.models.Member::|public|setType(value?:RecipientType):void com.microsoft.graph.beta.models.Member::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):Member com.microsoft.graph.beta.models.MembersAddedEventMessageDetail-->EventMessageDetail com.microsoft.graph.beta.models.MembersAddedEventMessageDetail::|public|constructor():void @@ -260944,6 +262906,7 @@ com.microsoft.graph.beta.models.MobileAppContentFile::|public|getManifest():byte com.microsoft.graph.beta.models.MobileAppContentFile::|public|getName():String com.microsoft.graph.beta.models.MobileAppContentFile::|public|getSize():Long com.microsoft.graph.beta.models.MobileAppContentFile::|public|getSizeEncrypted():Long +com.microsoft.graph.beta.models.MobileAppContentFile::|public|getUploadErrorCode():MobileAppContentFileUploadErrorCode com.microsoft.graph.beta.models.MobileAppContentFile::|public|getUploadState():MobileAppContentFileUploadState com.microsoft.graph.beta.models.MobileAppContentFile::|public|OdataType:String com.microsoft.graph.beta.models.MobileAppContentFile::|public|serialize(writer:SerializationWriter):Void @@ -260957,6 +262920,7 @@ com.microsoft.graph.beta.models.MobileAppContentFile::|public|setManifest(value? com.microsoft.graph.beta.models.MobileAppContentFile::|public|setName(value?:String):void com.microsoft.graph.beta.models.MobileAppContentFile::|public|setSize(value?:Long):void com.microsoft.graph.beta.models.MobileAppContentFile::|public|setSizeEncrypted(value?:Long):void +com.microsoft.graph.beta.models.MobileAppContentFile::|public|setUploadErrorCode(value?:MobileAppContentFileUploadErrorCode):void com.microsoft.graph.beta.models.MobileAppContentFile::|public|setUploadState(value?:MobileAppContentFileUploadState):void com.microsoft.graph.beta.models.MobileAppContentFile::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):MobileAppContentFile com.microsoft.graph.beta.models.MobileAppContentFileCollectionResponse-->BaseCollectionPaginationCountResponse @@ -260966,6 +262930,16 @@ com.microsoft.graph.beta.models.MobileAppContentFileCollectionResponse::|public| com.microsoft.graph.beta.models.MobileAppContentFileCollectionResponse::|public|serialize(writer:SerializationWriter):Void com.microsoft.graph.beta.models.MobileAppContentFileCollectionResponse::|public|setValue(value?:java.util.List):void com.microsoft.graph.beta.models.MobileAppContentFileCollectionResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):MobileAppContentFileCollectionResponse +com.microsoft.graph.beta.models.MobileAppContentFileUploadErrorCode::0000-ApkIsInvalid +com.microsoft.graph.beta.models.MobileAppContentFileUploadErrorCode::0001-ApkIsMissingSignerCertificates +com.microsoft.graph.beta.models.MobileAppContentFileUploadErrorCode::0002-ApkHasInvalidPackageName +com.microsoft.graph.beta.models.MobileAppContentFileUploadErrorCode::0003-ApkPackageNameMismatch +com.microsoft.graph.beta.models.MobileAppContentFileUploadErrorCode::0004-ApkHasInvalidVersionCode +com.microsoft.graph.beta.models.MobileAppContentFileUploadErrorCode::0005-ApkHasVersionCodeMismatch +com.microsoft.graph.beta.models.MobileAppContentFileUploadErrorCode::0006-ApkHasInvalidMinSdk +com.microsoft.graph.beta.models.MobileAppContentFileUploadErrorCode::0007-ApkMinSdkMismatch +com.microsoft.graph.beta.models.MobileAppContentFileUploadErrorCode::0008-ApkVersionNameMismatch +com.microsoft.graph.beta.models.MobileAppContentFileUploadErrorCode::0009-UnknownFutureValue com.microsoft.graph.beta.models.MobileAppContentFileUploadState::0000-Success com.microsoft.graph.beta.models.MobileAppContentFileUploadState::0001-TransientError com.microsoft.graph.beta.models.MobileAppContentFileUploadState::0002-Error @@ -261649,6 +263623,86 @@ com.microsoft.graph.beta.models.MultiActivitySubscription::|static|public|create com.microsoft.graph.beta.models.MultiFactorAuthConfiguration::0000-NotRequired com.microsoft.graph.beta.models.MultiFactorAuthConfiguration::0001-Required com.microsoft.graph.beta.models.MultiFactorAuthConfiguration::0002-UnknownFutureValue +com.microsoft.graph.beta.models.MultiTenantApplicationMetrics-->Entity +com.microsoft.graph.beta.models.MultiTenantApplicationMetrics::|public|constructor():void +com.microsoft.graph.beta.models.MultiTenantApplicationMetrics::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.MultiTenantApplicationMetrics::|public|getInitial():MultiTenantApplicationMetricsInitial +com.microsoft.graph.beta.models.MultiTenantApplicationMetrics::|public|getInvestigationHints():java.util.List +com.microsoft.graph.beta.models.MultiTenantApplicationMetrics::|public|getRecent():MultiTenantApplicationMetricsRecent +com.microsoft.graph.beta.models.MultiTenantApplicationMetrics::|public|OdataType:String +com.microsoft.graph.beta.models.MultiTenantApplicationMetrics::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.MultiTenantApplicationMetrics::|public|setInitial(value?:MultiTenantApplicationMetricsInitial):void +com.microsoft.graph.beta.models.MultiTenantApplicationMetrics::|public|setInvestigationHints(value?:java.util.List):void +com.microsoft.graph.beta.models.MultiTenantApplicationMetrics::|public|setRecent(value?:MultiTenantApplicationMetricsRecent):void +com.microsoft.graph.beta.models.MultiTenantApplicationMetrics::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):MultiTenantApplicationMetrics +com.microsoft.graph.beta.models.MultiTenantApplicationMetricsBase-->Entity +com.microsoft.graph.beta.models.MultiTenantApplicationMetricsBase::|public|constructor():void +com.microsoft.graph.beta.models.MultiTenantApplicationMetricsBase::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.MultiTenantApplicationMetricsBase::|public|getInboundMonthlyTotalApplications():BigDecimal +com.microsoft.graph.beta.models.MultiTenantApplicationMetricsBase::|public|getOutboundMonthlyTotalApplications():BigDecimal +com.microsoft.graph.beta.models.MultiTenantApplicationMetricsBase::|public|getWatermarkDateTime():OffsetDateTime +com.microsoft.graph.beta.models.MultiTenantApplicationMetricsBase::|public|OdataType:String +com.microsoft.graph.beta.models.MultiTenantApplicationMetricsBase::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.MultiTenantApplicationMetricsBase::|public|setInboundMonthlyTotalApplications(value?:BigDecimal):void +com.microsoft.graph.beta.models.MultiTenantApplicationMetricsBase::|public|setOutboundMonthlyTotalApplications(value?:BigDecimal):void +com.microsoft.graph.beta.models.MultiTenantApplicationMetricsBase::|public|setWatermarkDateTime(value?:OffsetDateTime):void +com.microsoft.graph.beta.models.MultiTenantApplicationMetricsBase::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):MultiTenantApplicationMetricsBase +com.microsoft.graph.beta.models.MultiTenantApplicationMetricsInitial-->MultiTenantApplicationMetricsBase +com.microsoft.graph.beta.models.MultiTenantApplicationMetricsInitial::|public|constructor():void +com.microsoft.graph.beta.models.MultiTenantApplicationMetricsInitial::|public|getCreatedDateTime():OffsetDateTime +com.microsoft.graph.beta.models.MultiTenantApplicationMetricsInitial::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.MultiTenantApplicationMetricsInitial::|public|OdataType:String +com.microsoft.graph.beta.models.MultiTenantApplicationMetricsInitial::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.MultiTenantApplicationMetricsInitial::|public|setCreatedDateTime(value?:OffsetDateTime):void +com.microsoft.graph.beta.models.MultiTenantApplicationMetricsInitial::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):MultiTenantApplicationMetricsInitial +com.microsoft.graph.beta.models.MultiTenantApplicationMetricsRecent-->MultiTenantApplicationMetricsBase +com.microsoft.graph.beta.models.MultiTenantApplicationMetricsRecent::|public|constructor():void +com.microsoft.graph.beta.models.MultiTenantApplicationMetricsRecent::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.MultiTenantApplicationMetricsRecent::|public|getUpdateDateTime():OffsetDateTime +com.microsoft.graph.beta.models.MultiTenantApplicationMetricsRecent::|public|OdataType:String +com.microsoft.graph.beta.models.MultiTenantApplicationMetricsRecent::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.MultiTenantApplicationMetricsRecent::|public|setUpdateDateTime(value?:OffsetDateTime):void +com.microsoft.graph.beta.models.MultiTenantApplicationMetricsRecent::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):MultiTenantApplicationMetricsRecent +com.microsoft.graph.beta.models.MultiTenantApplicationsToProvision::|protected|backingStore:BackingStore +com.microsoft.graph.beta.models.MultiTenantApplicationsToProvision::|public|constructor():void +com.microsoft.graph.beta.models.MultiTenantApplicationsToProvision::|public|getAdditionalData():Map +com.microsoft.graph.beta.models.MultiTenantApplicationsToProvision::|public|getAppId():String +com.microsoft.graph.beta.models.MultiTenantApplicationsToProvision::|public|getBackingStore():BackingStore +com.microsoft.graph.beta.models.MultiTenantApplicationsToProvision::|public|getDisplayName():String +com.microsoft.graph.beta.models.MultiTenantApplicationsToProvision::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.MultiTenantApplicationsToProvision::|public|getObjectId():String +com.microsoft.graph.beta.models.MultiTenantApplicationsToProvision::|public|getOdataType():String +com.microsoft.graph.beta.models.MultiTenantApplicationsToProvision::|public|getRequiredResourceAccesses():java.util.List +com.microsoft.graph.beta.models.MultiTenantApplicationsToProvision::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.MultiTenantApplicationsToProvision::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.beta.models.MultiTenantApplicationsToProvision::|public|setAppId(value?:String):void +com.microsoft.graph.beta.models.MultiTenantApplicationsToProvision::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.beta.models.MultiTenantApplicationsToProvision::|public|setDisplayName(value?:String):void +com.microsoft.graph.beta.models.MultiTenantApplicationsToProvision::|public|setObjectId(value?:String):void +com.microsoft.graph.beta.models.MultiTenantApplicationsToProvision::|public|setOdataType(value?:String):void +com.microsoft.graph.beta.models.MultiTenantApplicationsToProvision::|public|setRequiredResourceAccesses(value?:java.util.List):void +com.microsoft.graph.beta.models.MultiTenantApplicationsToProvision::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):MultiTenantApplicationsToProvision +com.microsoft.graph.beta.models.MultiTenantApplicationsToProvisionSnapshot::|protected|backingStore:BackingStore +com.microsoft.graph.beta.models.MultiTenantApplicationsToProvisionSnapshot::|public|constructor():void +com.microsoft.graph.beta.models.MultiTenantApplicationsToProvisionSnapshot::|public|getAdditionalData():Map +com.microsoft.graph.beta.models.MultiTenantApplicationsToProvisionSnapshot::|public|getAppId():String +com.microsoft.graph.beta.models.MultiTenantApplicationsToProvisionSnapshot::|public|getBackingStore():BackingStore +com.microsoft.graph.beta.models.MultiTenantApplicationsToProvisionSnapshot::|public|getDisplayName():String +com.microsoft.graph.beta.models.MultiTenantApplicationsToProvisionSnapshot::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.MultiTenantApplicationsToProvisionSnapshot::|public|getObjectId():String +com.microsoft.graph.beta.models.MultiTenantApplicationsToProvisionSnapshot::|public|getOdataType():String +com.microsoft.graph.beta.models.MultiTenantApplicationsToProvisionSnapshot::|public|getRequiredResourceAccesses():java.util.List +com.microsoft.graph.beta.models.MultiTenantApplicationsToProvisionSnapshot::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.MultiTenantApplicationsToProvisionSnapshot::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.beta.models.MultiTenantApplicationsToProvisionSnapshot::|public|setAppId(value?:String):void +com.microsoft.graph.beta.models.MultiTenantApplicationsToProvisionSnapshot::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.beta.models.MultiTenantApplicationsToProvisionSnapshot::|public|setDisplayName(value?:String):void +com.microsoft.graph.beta.models.MultiTenantApplicationsToProvisionSnapshot::|public|setObjectId(value?:String):void +com.microsoft.graph.beta.models.MultiTenantApplicationsToProvisionSnapshot::|public|setOdataType(value?:String):void +com.microsoft.graph.beta.models.MultiTenantApplicationsToProvisionSnapshot::|public|setRequiredResourceAccesses(value?:java.util.List):void +com.microsoft.graph.beta.models.MultiTenantApplicationsToProvisionSnapshot::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):MultiTenantApplicationsToProvisionSnapshot +com.microsoft.graph.beta.models.MultiTenantApplicationsToProvisionSnapshot~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.beta.models.MultiTenantApplicationsToProvision~~>AdditionalDataHolder; BackedModel; Parsable com.microsoft.graph.beta.models.MultiTenantOrganization-->Entity com.microsoft.graph.beta.models.MultiTenantOrganization::|public|constructor():void com.microsoft.graph.beta.models.MultiTenantOrganization::|public|getCreatedDateTime():OffsetDateTime @@ -261874,6 +263928,8 @@ com.microsoft.graph.beta.models.NdesConnector::|public|getConnectorVersion():Str com.microsoft.graph.beta.models.NdesConnector::|public|getDisplayName():String com.microsoft.graph.beta.models.NdesConnector::|public|getEnrolledDateTime():OffsetDateTime com.microsoft.graph.beta.models.NdesConnector::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.NdesConnector::|public|getHealthChecks():java.util.List +com.microsoft.graph.beta.models.NdesConnector::|public|getHealthStatus():NdesConnectorHealthStatus com.microsoft.graph.beta.models.NdesConnector::|public|getLastConnectionDateTime():OffsetDateTime com.microsoft.graph.beta.models.NdesConnector::|public|getMachineName():String com.microsoft.graph.beta.models.NdesConnector::|public|getRoleScopeTagIds():java.util.List @@ -261883,6 +263939,8 @@ com.microsoft.graph.beta.models.NdesConnector::|public|serialize(writer:Serializ com.microsoft.graph.beta.models.NdesConnector::|public|setConnectorVersion(value?:String):void com.microsoft.graph.beta.models.NdesConnector::|public|setDisplayName(value?:String):void com.microsoft.graph.beta.models.NdesConnector::|public|setEnrolledDateTime(value?:OffsetDateTime):void +com.microsoft.graph.beta.models.NdesConnector::|public|setHealthChecks(value?:java.util.List):void +com.microsoft.graph.beta.models.NdesConnector::|public|setHealthStatus(value?:NdesConnectorHealthStatus):void com.microsoft.graph.beta.models.NdesConnector::|public|setLastConnectionDateTime(value?:OffsetDateTime):void com.microsoft.graph.beta.models.NdesConnector::|public|setMachineName(value?:String):void com.microsoft.graph.beta.models.NdesConnector::|public|setRoleScopeTagIds(value?:java.util.List):void @@ -261895,6 +263953,12 @@ com.microsoft.graph.beta.models.NdesConnectorCollectionResponse::|public|getValu com.microsoft.graph.beta.models.NdesConnectorCollectionResponse::|public|serialize(writer:SerializationWriter):Void com.microsoft.graph.beta.models.NdesConnectorCollectionResponse::|public|setValue(value?:java.util.List):void com.microsoft.graph.beta.models.NdesConnectorCollectionResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):NdesConnectorCollectionResponse +com.microsoft.graph.beta.models.NdesConnectorHealthStatus::0000-Unknown +com.microsoft.graph.beta.models.NdesConnectorHealthStatus::0001-NoActionRequired +com.microsoft.graph.beta.models.NdesConnectorHealthStatus::0002-AttentionRequired +com.microsoft.graph.beta.models.NdesConnectorHealthStatus::0003-ActionRequired +com.microsoft.graph.beta.models.NdesConnectorHealthStatus::0004-Disconnected +com.microsoft.graph.beta.models.NdesConnectorHealthStatus::0005-UnknownFutureValue com.microsoft.graph.beta.models.NdesConnectorState::0000-None com.microsoft.graph.beta.models.NdesConnectorState::0001-Active com.microsoft.graph.beta.models.NdesConnectorState::0002-Inactive @@ -264616,6 +266680,26 @@ com.microsoft.graph.beta.models.NewsLinkPage::|public|setBannerImageWebUrl(value com.microsoft.graph.beta.models.NewsLinkPage::|public|setNewsSharepointIds(value?:SharepointIds):void com.microsoft.graph.beta.models.NewsLinkPage::|public|setNewsWebUrl(value?:String):void com.microsoft.graph.beta.models.NewsLinkPage::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):NewsLinkPage +com.microsoft.graph.beta.models.NistClassification::|protected|backingStore:BackingStore +com.microsoft.graph.beta.models.NistClassification::|public|constructor():void +com.microsoft.graph.beta.models.NistClassification::|public|getAdditionalData():Map +com.microsoft.graph.beta.models.NistClassification::|public|getBackingStore():BackingStore +com.microsoft.graph.beta.models.NistClassification::|public|getCategory():String +com.microsoft.graph.beta.models.NistClassification::|public|getDescription():String +com.microsoft.graph.beta.models.NistClassification::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.NistClassification::|public|getFunction():String +com.microsoft.graph.beta.models.NistClassification::|public|getName():String +com.microsoft.graph.beta.models.NistClassification::|public|getOdataType():String +com.microsoft.graph.beta.models.NistClassification::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.NistClassification::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.beta.models.NistClassification::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.beta.models.NistClassification::|public|setCategory(value?:String):void +com.microsoft.graph.beta.models.NistClassification::|public|setDescription(value?:String):void +com.microsoft.graph.beta.models.NistClassification::|public|setFunction(value?:String):void +com.microsoft.graph.beta.models.NistClassification::|public|setName(value?:String):void +com.microsoft.graph.beta.models.NistClassification::|public|setOdataType(value?:String):void +com.microsoft.graph.beta.models.NistClassification::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):NistClassification +com.microsoft.graph.beta.models.NistClassification~~>AdditionalDataHolder; BackedModel; Parsable com.microsoft.graph.beta.models.NoDeviceRegistrationMembership-->DeviceRegistrationMembership com.microsoft.graph.beta.models.NoDeviceRegistrationMembership::|public|constructor():void com.microsoft.graph.beta.models.NoDeviceRegistrationMembership::|public|getFieldDeserializers():Map> @@ -266824,6 +268908,7 @@ com.microsoft.graph.beta.models.OnPremisesPublishing::|public|getInternalUrl():S com.microsoft.graph.beta.models.OnPremisesPublishing::|public|getIsAccessibleViaZTNAClient():Boolean com.microsoft.graph.beta.models.OnPremisesPublishing::|public|getIsBackendCertificateValidationEnabled():Boolean com.microsoft.graph.beta.models.OnPremisesPublishing::|public|getIsContinuousAccessEvaluationEnabled():Boolean +com.microsoft.graph.beta.models.OnPremisesPublishing::|public|getIsDeviceAccessEnabled():Boolean com.microsoft.graph.beta.models.OnPremisesPublishing::|public|getIsDnsResolutionEnabled():Boolean com.microsoft.graph.beta.models.OnPremisesPublishing::|public|getIsHttpOnlyCookieEnabled():Boolean com.microsoft.graph.beta.models.OnPremisesPublishing::|public|getIsOnPremPublishingEnabled():Boolean @@ -266856,6 +268941,7 @@ com.microsoft.graph.beta.models.OnPremisesPublishing::|public|setInternalUrl(val com.microsoft.graph.beta.models.OnPremisesPublishing::|public|setIsAccessibleViaZTNAClient(value?:Boolean):void com.microsoft.graph.beta.models.OnPremisesPublishing::|public|setIsBackendCertificateValidationEnabled(value?:Boolean):void com.microsoft.graph.beta.models.OnPremisesPublishing::|public|setIsContinuousAccessEvaluationEnabled(value?:Boolean):void +com.microsoft.graph.beta.models.OnPremisesPublishing::|public|setIsDeviceAccessEnabled(value?:Boolean):void com.microsoft.graph.beta.models.OnPremisesPublishing::|public|setIsDnsResolutionEnabled(value?:Boolean):void com.microsoft.graph.beta.models.OnPremisesPublishing::|public|setIsHttpOnlyCookieEnabled(value?:Boolean):void com.microsoft.graph.beta.models.OnPremisesPublishing::|public|setIsOnPremPublishingEnabled(value?:Boolean):void @@ -276427,6 +278513,22 @@ com.microsoft.graph.beta.models.ProvisioningSystem::|public|OdataType:String com.microsoft.graph.beta.models.ProvisioningSystem::|public|serialize(writer:SerializationWriter):Void com.microsoft.graph.beta.models.ProvisioningSystem::|public|setDetails(value?:DetailsInfo):void com.microsoft.graph.beta.models.ProvisioningSystem::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):ProvisioningSystem +com.microsoft.graph.beta.models.ProvisionResponse::|protected|backingStore:BackingStore +com.microsoft.graph.beta.models.ProvisionResponse::|public|constructor():void +com.microsoft.graph.beta.models.ProvisionResponse::|public|getAdditionalData():Map +com.microsoft.graph.beta.models.ProvisionResponse::|public|getBackingStore():BackingStore +com.microsoft.graph.beta.models.ProvisionResponse::|public|getChallenge():String +com.microsoft.graph.beta.models.ProvisionResponse::|public|getDeviceId():String +com.microsoft.graph.beta.models.ProvisionResponse::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.ProvisionResponse::|public|getOdataType():String +com.microsoft.graph.beta.models.ProvisionResponse::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.ProvisionResponse::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.beta.models.ProvisionResponse::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.beta.models.ProvisionResponse::|public|setChallenge(value?:String):void +com.microsoft.graph.beta.models.ProvisionResponse::|public|setDeviceId(value?:String):void +com.microsoft.graph.beta.models.ProvisionResponse::|public|setOdataType(value?:String):void +com.microsoft.graph.beta.models.ProvisionResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):ProvisionResponse +com.microsoft.graph.beta.models.ProvisionResponse~~>AdditionalDataHolder; BackedModel; Parsable com.microsoft.graph.beta.models.ProvisionState::0000-NotProvisioned com.microsoft.graph.beta.models.ProvisionState::0001-ProvisioningInProgress com.microsoft.graph.beta.models.ProvisionState::0002-ProvisioningFailed @@ -277216,9 +279318,13 @@ com.microsoft.graph.beta.models.RecommendationBase::|public|constructor():void com.microsoft.graph.beta.models.RecommendationBase::|public|getActionSteps():java.util.List com.microsoft.graph.beta.models.RecommendationBase::|public|getBenefits():String com.microsoft.graph.beta.models.RecommendationBase::|public|getCategory():RecommendationCategory +com.microsoft.graph.beta.models.RecommendationBase::|public|getCategoryGroup():RecommendationCategoryGroup +com.microsoft.graph.beta.models.RecommendationBase::|public|getCompletedBySystemDateTime():OffsetDateTime +com.microsoft.graph.beta.models.RecommendationBase::|public|getCompletedByUserDateTime():OffsetDateTime com.microsoft.graph.beta.models.RecommendationBase::|public|getCreatedDateTime():OffsetDateTime com.microsoft.graph.beta.models.RecommendationBase::|public|getCurrentScore():Double com.microsoft.graph.beta.models.RecommendationBase::|public|getDisplayName():String +com.microsoft.graph.beta.models.RecommendationBase::|public|getFailedReviewDateTime():OffsetDateTime com.microsoft.graph.beta.models.RecommendationBase::|public|getFeatureAreas():java.util.List com.microsoft.graph.beta.models.RecommendationBase::|public|getFieldDeserializers():Map> com.microsoft.graph.beta.models.RecommendationBase::|public|getImpactedResources():java.util.List @@ -277229,21 +279335,30 @@ com.microsoft.graph.beta.models.RecommendationBase::|public|getLastCheckedDateTi com.microsoft.graph.beta.models.RecommendationBase::|public|getLastModifiedBy():String com.microsoft.graph.beta.models.RecommendationBase::|public|getLastModifiedDateTime():OffsetDateTime com.microsoft.graph.beta.models.RecommendationBase::|public|getMaxScore():Double +com.microsoft.graph.beta.models.RecommendationBase::|public|getNeedsMoreActionResourceCount():Integer +com.microsoft.graph.beta.models.RecommendationBase::|public|getNistClassifications():java.util.List com.microsoft.graph.beta.models.RecommendationBase::|public|getPostponeUntilDateTime():OffsetDateTime com.microsoft.graph.beta.models.RecommendationBase::|public|getPriority():RecommendationPriority com.microsoft.graph.beta.models.RecommendationBase::|public|getRecommendationType():RecommendationType com.microsoft.graph.beta.models.RecommendationBase::|public|getReleaseType():String +com.microsoft.graph.beta.models.RecommendationBase::|public|getRemediatedDateTime():OffsetDateTime com.microsoft.graph.beta.models.RecommendationBase::|public|getRemediationImpact():String com.microsoft.graph.beta.models.RecommendationBase::|public|getRequiredLicenses():RequiredLicenses com.microsoft.graph.beta.models.RecommendationBase::|public|getStatus():RecommendationStatus +com.microsoft.graph.beta.models.RecommendationBase::|public|getStatusModifiedDateTime():OffsetDateTime +com.microsoft.graph.beta.models.RecommendationBase::|public|getTags():java.util.List com.microsoft.graph.beta.models.RecommendationBase::|public|OdataType:String com.microsoft.graph.beta.models.RecommendationBase::|public|serialize(writer:SerializationWriter):Void com.microsoft.graph.beta.models.RecommendationBase::|public|setActionSteps(value?:java.util.List):void com.microsoft.graph.beta.models.RecommendationBase::|public|setBenefits(value?:String):void com.microsoft.graph.beta.models.RecommendationBase::|public|setCategory(value?:RecommendationCategory):void +com.microsoft.graph.beta.models.RecommendationBase::|public|setCategoryGroup(value?:RecommendationCategoryGroup):void +com.microsoft.graph.beta.models.RecommendationBase::|public|setCompletedBySystemDateTime(value?:OffsetDateTime):void +com.microsoft.graph.beta.models.RecommendationBase::|public|setCompletedByUserDateTime(value?:OffsetDateTime):void com.microsoft.graph.beta.models.RecommendationBase::|public|setCreatedDateTime(value?:OffsetDateTime):void com.microsoft.graph.beta.models.RecommendationBase::|public|setCurrentScore(value?:Double):void com.microsoft.graph.beta.models.RecommendationBase::|public|setDisplayName(value?:String):void +com.microsoft.graph.beta.models.RecommendationBase::|public|setFailedReviewDateTime(value?:OffsetDateTime):void com.microsoft.graph.beta.models.RecommendationBase::|public|setFeatureAreas(value?:java.util.List):void com.microsoft.graph.beta.models.RecommendationBase::|public|setImpactedResources(value?:java.util.List):void com.microsoft.graph.beta.models.RecommendationBase::|public|setImpactStartDateTime(value?:OffsetDateTime):void @@ -277253,18 +279368,30 @@ com.microsoft.graph.beta.models.RecommendationBase::|public|setLastCheckedDateTi com.microsoft.graph.beta.models.RecommendationBase::|public|setLastModifiedBy(value?:String):void com.microsoft.graph.beta.models.RecommendationBase::|public|setLastModifiedDateTime(value?:OffsetDateTime):void com.microsoft.graph.beta.models.RecommendationBase::|public|setMaxScore(value?:Double):void +com.microsoft.graph.beta.models.RecommendationBase::|public|setNeedsMoreActionResourceCount(value?:Integer):void +com.microsoft.graph.beta.models.RecommendationBase::|public|setNistClassifications(value?:java.util.List):void com.microsoft.graph.beta.models.RecommendationBase::|public|setPostponeUntilDateTime(value?:OffsetDateTime):void com.microsoft.graph.beta.models.RecommendationBase::|public|setPriority(value?:RecommendationPriority):void com.microsoft.graph.beta.models.RecommendationBase::|public|setRecommendationType(value?:RecommendationType):void com.microsoft.graph.beta.models.RecommendationBase::|public|setReleaseType(value?:String):void +com.microsoft.graph.beta.models.RecommendationBase::|public|setRemediatedDateTime(value?:OffsetDateTime):void com.microsoft.graph.beta.models.RecommendationBase::|public|setRemediationImpact(value?:String):void com.microsoft.graph.beta.models.RecommendationBase::|public|setRequiredLicenses(value?:RequiredLicenses):void com.microsoft.graph.beta.models.RecommendationBase::|public|setStatus(value?:RecommendationStatus):void +com.microsoft.graph.beta.models.RecommendationBase::|public|setStatusModifiedDateTime(value?:OffsetDateTime):void +com.microsoft.graph.beta.models.RecommendationBase::|public|setTags(value?:java.util.List):void com.microsoft.graph.beta.models.RecommendationBase::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):RecommendationBase com.microsoft.graph.beta.models.RecommendationCategory::0000-IdentityBestPractice com.microsoft.graph.beta.models.RecommendationCategory::0001-IdentitySecureScore com.microsoft.graph.beta.models.RecommendationCategory::0002-UnknownFutureValue com.microsoft.graph.beta.models.RecommendationCategory::0003-MdiSecureScore +com.microsoft.graph.beta.models.RecommendationCategoryGroup::0000-StrengthenAuthentication +com.microsoft.graph.beta.models.RecommendationCategoryGroup::0001-DetectAndRespondToThreats +com.microsoft.graph.beta.models.RecommendationCategoryGroup::0002-EnforceLeastPrivilege +com.microsoft.graph.beta.models.RecommendationCategoryGroup::0003-GovernAppsCredentialsAndAgents +com.microsoft.graph.beta.models.RecommendationCategoryGroup::0004-HardenInfrastructure +com.microsoft.graph.beta.models.RecommendationCategoryGroup::0005-DefenderForIdentity +com.microsoft.graph.beta.models.RecommendationCategoryGroup::0006-UnknownFutureValue com.microsoft.graph.beta.models.RecommendationCollectionResponse-->BaseCollectionPaginationCountResponse com.microsoft.graph.beta.models.RecommendationCollectionResponse::|public|constructor():void com.microsoft.graph.beta.models.RecommendationCollectionResponse::|public|getFieldDeserializers():Map> @@ -277276,9 +279403,11 @@ com.microsoft.graph.beta.models.RecommendationConfiguration-->Entity com.microsoft.graph.beta.models.RecommendationConfiguration::|public|constructor():void com.microsoft.graph.beta.models.RecommendationConfiguration::|public|getFieldDeserializers():Map> com.microsoft.graph.beta.models.RecommendationConfiguration::|public|getIsNotificationEnabled():Boolean +com.microsoft.graph.beta.models.RecommendationConfiguration::|public|getLastRefreshedDateTime():OffsetDateTime com.microsoft.graph.beta.models.RecommendationConfiguration::|public|OdataType:String com.microsoft.graph.beta.models.RecommendationConfiguration::|public|serialize(writer:SerializationWriter):Void com.microsoft.graph.beta.models.RecommendationConfiguration::|public|setIsNotificationEnabled(value?:Boolean):void +com.microsoft.graph.beta.models.RecommendationConfiguration::|public|setLastRefreshedDateTime(value?:OffsetDateTime):void com.microsoft.graph.beta.models.RecommendationConfiguration::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):RecommendationConfiguration com.microsoft.graph.beta.models.RecommendationFeatureAreas::0000-Users com.microsoft.graph.beta.models.RecommendationFeatureAreas::0001-Groups @@ -277291,6 +279420,8 @@ com.microsoft.graph.beta.models.RecommendationFeatureAreas::0007-UnknownFutureVa com.microsoft.graph.beta.models.RecommendationPriority::0000-Low com.microsoft.graph.beta.models.RecommendationPriority::0001-Medium com.microsoft.graph.beta.models.RecommendationPriority::0002-High +com.microsoft.graph.beta.models.RecommendationPriority::0003-Critical +com.microsoft.graph.beta.models.RecommendationPriority::0004-UnknownFutureValue com.microsoft.graph.beta.models.RecommendationStatus::0000-Active com.microsoft.graph.beta.models.RecommendationStatus::0001-CompletedBySystem com.microsoft.graph.beta.models.RecommendationStatus::0002-CompletedByUser @@ -277301,6 +279432,22 @@ com.microsoft.graph.beta.models.RecommendationStatus::0006-RiskAccepted com.microsoft.graph.beta.models.RecommendationStatus::0007-ThirdParty com.microsoft.graph.beta.models.RecommendationStatus::0008-Planned com.microsoft.graph.beta.models.RecommendationStatus::0009-AlternateMitigation +com.microsoft.graph.beta.models.RecommendationStatus::0010-NeedsMoreAction +com.microsoft.graph.beta.models.RecommendationTag-->Entity +com.microsoft.graph.beta.models.RecommendationTag::|public|constructor():void +com.microsoft.graph.beta.models.RecommendationTag::|public|getDisplayName():String +com.microsoft.graph.beta.models.RecommendationTag::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.RecommendationTag::|public|OdataType:String +com.microsoft.graph.beta.models.RecommendationTag::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.RecommendationTag::|public|setDisplayName(value?:String):void +com.microsoft.graph.beta.models.RecommendationTag::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):RecommendationTag +com.microsoft.graph.beta.models.RecommendationTagCollectionResponse-->BaseCollectionPaginationCountResponse +com.microsoft.graph.beta.models.RecommendationTagCollectionResponse::|public|constructor():void +com.microsoft.graph.beta.models.RecommendationTagCollectionResponse::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.RecommendationTagCollectionResponse::|public|getValue():java.util.List +com.microsoft.graph.beta.models.RecommendationTagCollectionResponse::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.RecommendationTagCollectionResponse::|public|setValue(value?:java.util.List):void +com.microsoft.graph.beta.models.RecommendationTagCollectionResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):RecommendationTagCollectionResponse com.microsoft.graph.beta.models.RecommendationType::0000-AdfsAppsMigration com.microsoft.graph.beta.models.RecommendationType::0001-EnableDesktopSSO com.microsoft.graph.beta.models.RecommendationType::0002-EnablePHS @@ -278122,6 +280269,88 @@ com.microsoft.graph.beta.models.RelatedPerson::|public|setUserId(value?:String): com.microsoft.graph.beta.models.RelatedPerson::|public|setUserPrincipalName(value?:String):void com.microsoft.graph.beta.models.RelatedPerson::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):RelatedPerson com.microsoft.graph.beta.models.RelatedPerson~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.beta.models.RelatedTenant-->Entity +com.microsoft.graph.beta.models.RelatedTenant::|public|constructor():void +com.microsoft.graph.beta.models.RelatedTenant::|public|getAppB2BSignInActivityMetrics():B2BSignInActivityMetrics +com.microsoft.graph.beta.models.RelatedTenant::|public|getB2BRegistrationMetrics():B2bRegistrationMetrics +com.microsoft.graph.beta.models.RelatedTenant::|public|getB2BSignInActivityMetrics():B2BSignInActivityMetrics +com.microsoft.graph.beta.models.RelatedTenant::|public|getBillingMetrics():BillingMetrics +com.microsoft.graph.beta.models.RelatedTenant::|public|getCreatedDateTime():OffsetDateTime +com.microsoft.graph.beta.models.RelatedTenant::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.RelatedTenant::|public|getIsMicrosoftInfrastructure():Boolean +com.microsoft.graph.beta.models.RelatedTenant::|public|getMultiTenantApplicationMetrics():MultiTenantApplicationMetrics +com.microsoft.graph.beta.models.RelatedTenant::|public|OdataType:String +com.microsoft.graph.beta.models.RelatedTenant::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.RelatedTenant::|public|setAppB2BSignInActivityMetrics(value?:B2BSignInActivityMetrics):void +com.microsoft.graph.beta.models.RelatedTenant::|public|setB2BRegistrationMetrics(value?:B2bRegistrationMetrics):void +com.microsoft.graph.beta.models.RelatedTenant::|public|setB2BSignInActivityMetrics(value?:B2BSignInActivityMetrics):void +com.microsoft.graph.beta.models.RelatedTenant::|public|setBillingMetrics(value?:BillingMetrics):void +com.microsoft.graph.beta.models.RelatedTenant::|public|setCreatedDateTime(value?:OffsetDateTime):void +com.microsoft.graph.beta.models.RelatedTenant::|public|setIsMicrosoftInfrastructure(value?:Boolean):void +com.microsoft.graph.beta.models.RelatedTenant::|public|setMultiTenantApplicationMetrics(value?:MultiTenantApplicationMetrics):void +com.microsoft.graph.beta.models.RelatedTenant::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):RelatedTenant +com.microsoft.graph.beta.models.RelatedTenantCollectionResponse-->BaseCollectionPaginationCountResponse +com.microsoft.graph.beta.models.RelatedTenantCollectionResponse::|public|constructor():void +com.microsoft.graph.beta.models.RelatedTenantCollectionResponse::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.RelatedTenantCollectionResponse::|public|getValue():java.util.List +com.microsoft.graph.beta.models.RelatedTenantCollectionResponse::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.RelatedTenantCollectionResponse::|public|setValue(value?:java.util.List):void +com.microsoft.graph.beta.models.RelatedTenantCollectionResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):RelatedTenantCollectionResponse +com.microsoft.graph.beta.models.RelatedTenantsRefreshRequest-->Entity +com.microsoft.graph.beta.models.RelatedTenantsRefreshRequest::|public|constructor():void +com.microsoft.graph.beta.models.RelatedTenantsRefreshRequest::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.RelatedTenantsRefreshRequest::|public|getLocation():String +com.microsoft.graph.beta.models.RelatedTenantsRefreshRequest::|public|OdataType:String +com.microsoft.graph.beta.models.RelatedTenantsRefreshRequest::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.RelatedTenantsRefreshRequest::|public|setLocation(value?:String):void +com.microsoft.graph.beta.models.RelatedTenantsRefreshRequest::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):RelatedTenantsRefreshRequest +com.microsoft.graph.beta.models.RelatedTenantsRefreshStatus::|protected|backingStore:BackingStore +com.microsoft.graph.beta.models.RelatedTenantsRefreshStatus::|public|constructor():void +com.microsoft.graph.beta.models.RelatedTenantsRefreshStatus::|public|getAdditionalData():Map +com.microsoft.graph.beta.models.RelatedTenantsRefreshStatus::|public|getBackingStore():BackingStore +com.microsoft.graph.beta.models.RelatedTenantsRefreshStatus::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.RelatedTenantsRefreshStatus::|public|getIsFirstRefresh():Boolean +com.microsoft.graph.beta.models.RelatedTenantsRefreshStatus::|public|getMostRecentRefreshRequestStatus():String +com.microsoft.graph.beta.models.RelatedTenantsRefreshStatus::|public|getMostRecentRefreshTime():String +com.microsoft.graph.beta.models.RelatedTenantsRefreshStatus::|public|getOdataType():String +com.microsoft.graph.beta.models.RelatedTenantsRefreshStatus::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.RelatedTenantsRefreshStatus::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.beta.models.RelatedTenantsRefreshStatus::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.beta.models.RelatedTenantsRefreshStatus::|public|setIsFirstRefresh(value?:Boolean):void +com.microsoft.graph.beta.models.RelatedTenantsRefreshStatus::|public|setMostRecentRefreshRequestStatus(value?:String):void +com.microsoft.graph.beta.models.RelatedTenantsRefreshStatus::|public|setMostRecentRefreshTime(value?:String):void +com.microsoft.graph.beta.models.RelatedTenantsRefreshStatus::|public|setOdataType(value?:String):void +com.microsoft.graph.beta.models.RelatedTenantsRefreshStatus::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):RelatedTenantsRefreshStatus +com.microsoft.graph.beta.models.RelatedTenantsRefreshStatus~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.beta.models.RelationshipCreationType::0000-ApprovedByAdmin +com.microsoft.graph.beta.models.RelationshipCreationType::0001-AddOnTenant +com.microsoft.graph.beta.models.RelationshipCreationType::0002-UnknownFutureValue +com.microsoft.graph.beta.models.RelationshipPolicy::|protected|backingStore:BackingStore +com.microsoft.graph.beta.models.RelationshipPolicy::|public|constructor():void +com.microsoft.graph.beta.models.RelationshipPolicy::|public|getAdditionalData():Map +com.microsoft.graph.beta.models.RelationshipPolicy::|public|getBackingStore():BackingStore +com.microsoft.graph.beta.models.RelationshipPolicy::|public|getDelegatedAdministrationRoleAssignments():java.util.List +com.microsoft.graph.beta.models.RelationshipPolicy::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.RelationshipPolicy::|public|getGovernedTenantCanTerminate():Boolean +com.microsoft.graph.beta.models.RelationshipPolicy::|public|getMultiTenantApplicationsToProvision():java.util.List +com.microsoft.graph.beta.models.RelationshipPolicy::|public|getOdataType():String +com.microsoft.graph.beta.models.RelationshipPolicy::|public|getPolicyId():String +com.microsoft.graph.beta.models.RelationshipPolicy::|public|getVersion():Integer +com.microsoft.graph.beta.models.RelationshipPolicy::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.RelationshipPolicy::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.beta.models.RelationshipPolicy::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.beta.models.RelationshipPolicy::|public|setDelegatedAdministrationRoleAssignments(value?:java.util.List):void +com.microsoft.graph.beta.models.RelationshipPolicy::|public|setGovernedTenantCanTerminate(value?:Boolean):void +com.microsoft.graph.beta.models.RelationshipPolicy::|public|setMultiTenantApplicationsToProvision(value?:java.util.List):void +com.microsoft.graph.beta.models.RelationshipPolicy::|public|setOdataType(value?:String):void +com.microsoft.graph.beta.models.RelationshipPolicy::|public|setPolicyId(value?:String):void +com.microsoft.graph.beta.models.RelationshipPolicy::|public|setVersion(value?:Integer):void +com.microsoft.graph.beta.models.RelationshipPolicy::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):RelationshipPolicy +com.microsoft.graph.beta.models.RelationshipPolicy~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.beta.models.RelationshipStatus::0000-Active +com.microsoft.graph.beta.models.RelationshipStatus::0001-Terminated +com.microsoft.graph.beta.models.RelationshipStatus::0002-TerminationRequestedByGoverningTenant +com.microsoft.graph.beta.models.RelationshipStatus::0003-UnknownFutureValue com.microsoft.graph.beta.models.RelyingPartyDetailedSummary-->Entity com.microsoft.graph.beta.models.RelyingPartyDetailedSummary::|public|constructor():void com.microsoft.graph.beta.models.RelyingPartyDetailedSummary::|public|getFailedSignInCount():Long @@ -278227,6 +280456,8 @@ com.microsoft.graph.beta.models.RemoteAction::0037-ChangeAssignments com.microsoft.graph.beta.models.RemoteAction::0038-Delete com.microsoft.graph.beta.models.RemoteAction::0039-SuspendManagedHomeScreen com.microsoft.graph.beta.models.RemoteAction::0040-RestoreManagedHomeScreen +com.microsoft.graph.beta.models.RemoteAction::0041-TriggerEnhancedLogCollection +com.microsoft.graph.beta.models.RemoteAction::0042-CancelEnhancedLogCollection com.microsoft.graph.beta.models.RemoteActionAudit-->Entity com.microsoft.graph.beta.models.RemoteActionAudit::|public|constructor():void com.microsoft.graph.beta.models.RemoteActionAudit::|public|getAction():RemoteAction @@ -278697,6 +280928,10 @@ com.microsoft.graph.beta.models.RequestSignatureVerification::|public|setIsSigne com.microsoft.graph.beta.models.RequestSignatureVerification::|public|setOdataType(value?:String):void com.microsoft.graph.beta.models.RequestSignatureVerification::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):RequestSignatureVerification com.microsoft.graph.beta.models.RequestSignatureVerification~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.beta.models.RequestStatus::0000-Pending +com.microsoft.graph.beta.models.RequestStatus::0001-Accepted +com.microsoft.graph.beta.models.RequestStatus::0002-Rejected +com.microsoft.graph.beta.models.RequestStatus::0003-UnknownFutureValue com.microsoft.graph.beta.models.RequiredLicenses::0000-NotApplicable com.microsoft.graph.beta.models.RequiredLicenses::0001-MicrosoftEntraIdFree com.microsoft.graph.beta.models.RequiredLicenses::0002-MicrosoftEntraIdP1 @@ -278705,6 +280940,7 @@ com.microsoft.graph.beta.models.RequiredLicenses::0004-MicrosoftEntraIdGovernanc com.microsoft.graph.beta.models.RequiredLicenses::0005-MicrosoftEntraWorkloadId com.microsoft.graph.beta.models.RequiredLicenses::0006-UnknownFutureValue com.microsoft.graph.beta.models.RequiredLicenses::0007-Aatp +com.microsoft.graph.beta.models.RequiredLicenses::0008-MicrosoftEntraSuite com.microsoft.graph.beta.models.RequiredPasswordType::0000-DeviceDefault com.microsoft.graph.beta.models.RequiredPasswordType::0001-Alphanumeric com.microsoft.graph.beta.models.RequiredPasswordType::0002-Numeric @@ -279455,10 +281691,14 @@ com.microsoft.graph.beta.models.ResultantAppStateDetail::0028-UserRejectedInstal com.microsoft.graph.beta.models.ResultantAppStateDetail::0029-UserIsNotLoggedIntoAppStore com.microsoft.graph.beta.models.ResultantAppStateDetail::0030-UntargetedSupersedingAppsDetected com.microsoft.graph.beta.models.ResultantAppStateDetail::0031-AppRemovedBySupersedence -com.microsoft.graph.beta.models.ResultantAppStateDetail::0032-SeeUninstallErrorCode -com.microsoft.graph.beta.models.ResultantAppStateDetail::0033-PendingReboot -com.microsoft.graph.beta.models.ResultantAppStateDetail::0034-InstallingDependencies -com.microsoft.graph.beta.models.ResultantAppStateDetail::0035-ContentDownloaded +com.microsoft.graph.beta.models.ResultantAppStateDetail::0032-DependencyAppInUse +com.microsoft.graph.beta.models.ResultantAppStateDetail::0033-SeeUninstallErrorCode +com.microsoft.graph.beta.models.ResultantAppStateDetail::0034-PendingReboot +com.microsoft.graph.beta.models.ResultantAppStateDetail::0035-InstallingDependencies +com.microsoft.graph.beta.models.ResultantAppStateDetail::0036-ContentDownloaded +com.microsoft.graph.beta.models.ResultantAppStateDetail::0037-InUse +com.microsoft.graph.beta.models.ResultantAppStateDetail::0038-Deferred +com.microsoft.graph.beta.models.ResultantAppStateDetail::0039-AutoDeferred com.microsoft.graph.beta.models.ResultInfo::|protected|backingStore:BackingStore com.microsoft.graph.beta.models.ResultInfo::|public|constructor():void com.microsoft.graph.beta.models.ResultInfo::|public|getAdditionalData():Map @@ -279854,6 +282094,12 @@ com.microsoft.graph.beta.models.RiskyAgentCollectionResponse::|public|getValue() com.microsoft.graph.beta.models.RiskyAgentCollectionResponse::|public|serialize(writer:SerializationWriter):Void com.microsoft.graph.beta.models.RiskyAgentCollectionResponse::|public|setValue(value?:java.util.List):void com.microsoft.graph.beta.models.RiskyAgentCollectionResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):RiskyAgentCollectionResponse +com.microsoft.graph.beta.models.RiskyAgentDiscoveredAgentIdentity-->RiskyAgent +com.microsoft.graph.beta.models.RiskyAgentDiscoveredAgentIdentity::|public|constructor():void +com.microsoft.graph.beta.models.RiskyAgentDiscoveredAgentIdentity::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.RiskyAgentDiscoveredAgentIdentity::|public|OdataType:String +com.microsoft.graph.beta.models.RiskyAgentDiscoveredAgentIdentity::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.RiskyAgentDiscoveredAgentIdentity::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):RiskyAgentDiscoveredAgentIdentity com.microsoft.graph.beta.models.RiskyAgentIdentity-->RiskyAgent com.microsoft.graph.beta.models.RiskyAgentIdentity::|public|constructor():void com.microsoft.graph.beta.models.RiskyAgentIdentity::|public|getAgentIdentity():AgentIdentity @@ -280217,6 +282463,22 @@ com.microsoft.graph.beta.models.RoleSuccessStatistics::|static|public|createFrom com.microsoft.graph.beta.models.RoleSuccessStatistics~~>AdditionalDataHolder; BackedModel; Parsable com.microsoft.graph.beta.models.RoleSummaryStatus::0000-Ok com.microsoft.graph.beta.models.RoleSummaryStatus::0001-Bad +com.microsoft.graph.beta.models.RoleTemplate::|protected|backingStore:BackingStore +com.microsoft.graph.beta.models.RoleTemplate::|public|constructor():void +com.microsoft.graph.beta.models.RoleTemplate::|public|getAdditionalData():Map +com.microsoft.graph.beta.models.RoleTemplate::|public|getBackingStore():BackingStore +com.microsoft.graph.beta.models.RoleTemplate::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.RoleTemplate::|public|getId():String +com.microsoft.graph.beta.models.RoleTemplate::|public|getName():String +com.microsoft.graph.beta.models.RoleTemplate::|public|getOdataType():String +com.microsoft.graph.beta.models.RoleTemplate::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.RoleTemplate::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.beta.models.RoleTemplate::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.beta.models.RoleTemplate::|public|setId(value?:String):void +com.microsoft.graph.beta.models.RoleTemplate::|public|setName(value?:String):void +com.microsoft.graph.beta.models.RoleTemplate::|public|setOdataType(value?:String):void +com.microsoft.graph.beta.models.RoleTemplate::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):RoleTemplate +com.microsoft.graph.beta.models.RoleTemplate~~>AdditionalDataHolder; BackedModel; Parsable com.microsoft.graph.beta.models.RoleType::0000-Active com.microsoft.graph.beta.models.RoleType::0001-Eligible com.microsoft.graph.beta.models.RoleType::0002-Application @@ -281133,6 +283395,18 @@ com.microsoft.graph.beta.models.SamsungEFotaFirmwareVersion::|public|setSalesCod com.microsoft.graph.beta.models.SamsungEFotaFirmwareVersion::|public|setSecurityPatchVersion(value?:String):void com.microsoft.graph.beta.models.SamsungEFotaFirmwareVersion::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):SamsungEFotaFirmwareVersion com.microsoft.graph.beta.models.SamsungEFotaFirmwareVersion~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.beta.models.SapAssignmentRequestCallbackData-->CustomExtensionData +com.microsoft.graph.beta.models.SapAssignmentRequestCallbackData::|public|constructor():void +com.microsoft.graph.beta.models.SapAssignmentRequestCallbackData::|public|getDetail():String +com.microsoft.graph.beta.models.SapAssignmentRequestCallbackData::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.SapAssignmentRequestCallbackData::|public|getRequestNumber():String +com.microsoft.graph.beta.models.SapAssignmentRequestCallbackData::|public|getState():String +com.microsoft.graph.beta.models.SapAssignmentRequestCallbackData::|public|OdataType:String +com.microsoft.graph.beta.models.SapAssignmentRequestCallbackData::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.SapAssignmentRequestCallbackData::|public|setDetail(value?:String):void +com.microsoft.graph.beta.models.SapAssignmentRequestCallbackData::|public|setRequestNumber(value?:String):void +com.microsoft.graph.beta.models.SapAssignmentRequestCallbackData::|public|setState(value?:String):void +com.microsoft.graph.beta.models.SapAssignmentRequestCallbackData::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):SapAssignmentRequestCallbackData com.microsoft.graph.beta.models.Schedule-->Entity com.microsoft.graph.beta.models.Schedule::|public|constructor():void com.microsoft.graph.beta.models.Schedule::|public|getActivitiesIncludedWhenCopyingShiftsEnabled():Boolean @@ -285616,6 +287890,38 @@ com.microsoft.graph.beta.models.security.CortanaBriefingAuditRecord::|public|get com.microsoft.graph.beta.models.security.CortanaBriefingAuditRecord::|public|OdataType:String com.microsoft.graph.beta.models.security.CortanaBriefingAuditRecord::|public|serialize(writer:SerializationWriter):Void com.microsoft.graph.beta.models.security.CortanaBriefingAuditRecord::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):CortanaBriefingAuditRecord +com.microsoft.graph.beta.models.security.CreateAlertInput::|protected|backingStore:BackingStore +com.microsoft.graph.beta.models.security.CreateAlertInput::|public|constructor():void +com.microsoft.graph.beta.models.security.CreateAlertInput::|public|getAdditionalData():Map +com.microsoft.graph.beta.models.security.CreateAlertInput::|public|getBackingStore():BackingStore +com.microsoft.graph.beta.models.security.CreateAlertInput::|public|getCategory():String +com.microsoft.graph.beta.models.security.CreateAlertInput::|public|getDescription():String +com.microsoft.graph.beta.models.security.CreateAlertInput::|public|getEntityDefinitions():java.util.List +com.microsoft.graph.beta.models.security.CreateAlertInput::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.security.CreateAlertInput::|public|getIsExcludedFromCorrelation():Boolean +com.microsoft.graph.beta.models.security.CreateAlertInput::|public|getLinkToIncident():Long +com.microsoft.graph.beta.models.security.CreateAlertInput::|public|getMitreTechniques():java.util.List +com.microsoft.graph.beta.models.security.CreateAlertInput::|public|getOdataType():String +com.microsoft.graph.beta.models.security.CreateAlertInput::|public|getRecommendedActions():String +com.microsoft.graph.beta.models.security.CreateAlertInput::|public|getSentinelWorkspace():String +com.microsoft.graph.beta.models.security.CreateAlertInput::|public|getSeverity():AlertSeverity +com.microsoft.graph.beta.models.security.CreateAlertInput::|public|getTitle():String +com.microsoft.graph.beta.models.security.CreateAlertInput::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.security.CreateAlertInput::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.beta.models.security.CreateAlertInput::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.beta.models.security.CreateAlertInput::|public|setCategory(value?:String):void +com.microsoft.graph.beta.models.security.CreateAlertInput::|public|setDescription(value?:String):void +com.microsoft.graph.beta.models.security.CreateAlertInput::|public|setEntityDefinitions(value?:java.util.List):void +com.microsoft.graph.beta.models.security.CreateAlertInput::|public|setIsExcludedFromCorrelation(value?:Boolean):void +com.microsoft.graph.beta.models.security.CreateAlertInput::|public|setLinkToIncident(value?:Long):void +com.microsoft.graph.beta.models.security.CreateAlertInput::|public|setMitreTechniques(value?:java.util.List):void +com.microsoft.graph.beta.models.security.CreateAlertInput::|public|setOdataType(value?:String):void +com.microsoft.graph.beta.models.security.CreateAlertInput::|public|setRecommendedActions(value?:String):void +com.microsoft.graph.beta.models.security.CreateAlertInput::|public|setSentinelWorkspace(value?:String):void +com.microsoft.graph.beta.models.security.CreateAlertInput::|public|setSeverity(value?:AlertSeverity):void +com.microsoft.graph.beta.models.security.CreateAlertInput::|public|setTitle(value?:String):void +com.microsoft.graph.beta.models.security.CreateAlertInput::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):CreateAlertInput +com.microsoft.graph.beta.models.security.CreateAlertInput~~>AdditionalDataHolder; BackedModel; Parsable com.microsoft.graph.beta.models.security.CriticalAssetManagementClassificationRecord-->AuditData com.microsoft.graph.beta.models.security.CriticalAssetManagementClassificationRecord::|public|constructor():void com.microsoft.graph.beta.models.security.CriticalAssetManagementClassificationRecord::|public|getFieldDeserializers():Map> @@ -287617,6 +289923,25 @@ com.microsoft.graph.beta.models.security.EndpointDiscoveredCloudAppDetail::|publ com.microsoft.graph.beta.models.security.EndpointDiscoveredCloudAppDetail::|public|setDeviceCount(value?:Long):void com.microsoft.graph.beta.models.security.EndpointDiscoveredCloudAppDetail::|public|setDevices(value?:java.util.List):void com.microsoft.graph.beta.models.security.EndpointDiscoveredCloudAppDetail::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):EndpointDiscoveredCloudAppDetail +com.microsoft.graph.beta.models.security.EntityDefinition::|protected|backingStore:BackingStore +com.microsoft.graph.beta.models.security.EntityDefinition::|public|constructor():void +com.microsoft.graph.beta.models.security.EntityDefinition::|public|getAdditionalData():Map +com.microsoft.graph.beta.models.security.EntityDefinition::|public|getBackingStore():BackingStore +com.microsoft.graph.beta.models.security.EntityDefinition::|public|getEntityIdentifier():String +com.microsoft.graph.beta.models.security.EntityDefinition::|public|getEntityType():ManualAlertEntityType +com.microsoft.graph.beta.models.security.EntityDefinition::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.security.EntityDefinition::|public|getIdentifierValue():String +com.microsoft.graph.beta.models.security.EntityDefinition::|public|getOdataType():String +com.microsoft.graph.beta.models.security.EntityDefinition::|public|getRole():EntityDefinitionInputRole +com.microsoft.graph.beta.models.security.EntityDefinition::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.security.EntityDefinition::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.beta.models.security.EntityDefinition::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.beta.models.security.EntityDefinition::|public|setEntityIdentifier(value?:String):void +com.microsoft.graph.beta.models.security.EntityDefinition::|public|setEntityType(value?:ManualAlertEntityType):void +com.microsoft.graph.beta.models.security.EntityDefinition::|public|setIdentifierValue(value?:String):void +com.microsoft.graph.beta.models.security.EntityDefinition::|public|setOdataType(value?:String):void +com.microsoft.graph.beta.models.security.EntityDefinition::|public|setRole(value?:EntityDefinitionInputRole):void +com.microsoft.graph.beta.models.security.EntityDefinition::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):EntityDefinition com.microsoft.graph.beta.models.security.EntityDefinitionInput::|protected|backingStore:BackingStore com.microsoft.graph.beta.models.security.EntityDefinitionInput::|public|constructor():void com.microsoft.graph.beta.models.security.EntityDefinitionInput::|public|getAdditionalData():Map @@ -287640,6 +289965,7 @@ com.microsoft.graph.beta.models.security.EntityDefinitionInputRole::0000-Impacte com.microsoft.graph.beta.models.security.EntityDefinitionInputRole::0001-Related com.microsoft.graph.beta.models.security.EntityDefinitionInputRole::0002-UnknownFutureValue com.microsoft.graph.beta.models.security.EntityDefinitionInput~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.beta.models.security.EntityDefinition~~>AdditionalDataHolder; BackedModel; Parsable com.microsoft.graph.beta.models.security.EntityMapping::|protected|backingStore:BackingStore com.microsoft.graph.beta.models.security.EntityMapping::|public|constructor():void com.microsoft.graph.beta.models.security.EntityMapping::|public|getAdditionalData():Map @@ -295171,6 +297497,7 @@ com.microsoft.graph.beta.models.ServicePrincipal::|public|getInfo():Informationa com.microsoft.graph.beta.models.ServicePrincipal::|public|getIsDisabled():Boolean com.microsoft.graph.beta.models.ServicePrincipal::|public|getKeyCredentials():java.util.List com.microsoft.graph.beta.models.ServicePrincipal::|public|getLicenseDetails():java.util.List +com.microsoft.graph.beta.models.ServicePrincipal::|public|getLifecycle():IdentityLifecycle com.microsoft.graph.beta.models.ServicePrincipal::|public|getLoginUrl():String com.microsoft.graph.beta.models.ServicePrincipal::|public|getLogoutUrl():String com.microsoft.graph.beta.models.ServicePrincipal::|public|getMemberOf():java.util.List @@ -295234,6 +297561,7 @@ com.microsoft.graph.beta.models.ServicePrincipal::|public|setInfo(value?:Informa com.microsoft.graph.beta.models.ServicePrincipal::|public|setIsDisabled(value?:Boolean):void com.microsoft.graph.beta.models.ServicePrincipal::|public|setKeyCredentials(value?:java.util.List):void com.microsoft.graph.beta.models.ServicePrincipal::|public|setLicenseDetails(value?:java.util.List):void +com.microsoft.graph.beta.models.ServicePrincipal::|public|setLifecycle(value?:IdentityLifecycle):void com.microsoft.graph.beta.models.ServicePrincipal::|public|setLoginUrl(value?:String):void com.microsoft.graph.beta.models.ServicePrincipal::|public|setLogoutUrl(value?:String):void com.microsoft.graph.beta.models.ServicePrincipal::|public|setMemberOf(value?:java.util.List):void @@ -302463,592 +304791,63 @@ com.microsoft.graph.beta.models.TenantDataSecurityAndGovernance::|public|seriali com.microsoft.graph.beta.models.TenantDataSecurityAndGovernance::|public|setPolicyFiles(value?:java.util.List):void com.microsoft.graph.beta.models.TenantDataSecurityAndGovernance::|public|setProtectionScopes(value?:TenantProtectionScopeContainer):void com.microsoft.graph.beta.models.TenantDataSecurityAndGovernance::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):TenantDataSecurityAndGovernance -com.microsoft.graph.beta.models.tenantgovernanceservices.ActionStep::|protected|backingStore:BackingStore -com.microsoft.graph.beta.models.tenantgovernanceservices.ActionStep::|public|constructor():void -com.microsoft.graph.beta.models.tenantgovernanceservices.ActionStep::|public|getActionUrl():ActionUrl -com.microsoft.graph.beta.models.tenantgovernanceservices.ActionStep::|public|getAdditionalData():Map -com.microsoft.graph.beta.models.tenantgovernanceservices.ActionStep::|public|getBackingStore():BackingStore -com.microsoft.graph.beta.models.tenantgovernanceservices.ActionStep::|public|getFieldDeserializers():Map> -com.microsoft.graph.beta.models.tenantgovernanceservices.ActionStep::|public|getOdataType():String -com.microsoft.graph.beta.models.tenantgovernanceservices.ActionStep::|public|getStepNumber():String -com.microsoft.graph.beta.models.tenantgovernanceservices.ActionStep::|public|getText():String -com.microsoft.graph.beta.models.tenantgovernanceservices.ActionStep::|public|serialize(writer:SerializationWriter):Void -com.microsoft.graph.beta.models.tenantgovernanceservices.ActionStep::|public|setActionUrl(value?:ActionUrl):void -com.microsoft.graph.beta.models.tenantgovernanceservices.ActionStep::|public|setAdditionalData(value?:Map):void -com.microsoft.graph.beta.models.tenantgovernanceservices.ActionStep::|public|setBackingStore(value:BackingStore):void -com.microsoft.graph.beta.models.tenantgovernanceservices.ActionStep::|public|setOdataType(value?:String):void -com.microsoft.graph.beta.models.tenantgovernanceservices.ActionStep::|public|setStepNumber(value?:String):void -com.microsoft.graph.beta.models.tenantgovernanceservices.ActionStep::|public|setText(value?:String):void -com.microsoft.graph.beta.models.tenantgovernanceservices.ActionStep::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):ActionStep -com.microsoft.graph.beta.models.tenantgovernanceservices.ActionStep~~>AdditionalDataHolder; BackedModel; Parsable -com.microsoft.graph.beta.models.tenantgovernanceservices.ActionUrl::|protected|backingStore:BackingStore -com.microsoft.graph.beta.models.tenantgovernanceservices.ActionUrl::|public|constructor():void -com.microsoft.graph.beta.models.tenantgovernanceservices.ActionUrl::|public|getAdditionalData():Map -com.microsoft.graph.beta.models.tenantgovernanceservices.ActionUrl::|public|getBackingStore():BackingStore -com.microsoft.graph.beta.models.tenantgovernanceservices.ActionUrl::|public|getDisplayName():String -com.microsoft.graph.beta.models.tenantgovernanceservices.ActionUrl::|public|getFieldDeserializers():Map> -com.microsoft.graph.beta.models.tenantgovernanceservices.ActionUrl::|public|getOdataType():String -com.microsoft.graph.beta.models.tenantgovernanceservices.ActionUrl::|public|getUrl():String -com.microsoft.graph.beta.models.tenantgovernanceservices.ActionUrl::|public|serialize(writer:SerializationWriter):Void -com.microsoft.graph.beta.models.tenantgovernanceservices.ActionUrl::|public|setAdditionalData(value?:Map):void -com.microsoft.graph.beta.models.tenantgovernanceservices.ActionUrl::|public|setBackingStore(value:BackingStore):void -com.microsoft.graph.beta.models.tenantgovernanceservices.ActionUrl::|public|setDisplayName(value?:String):void -com.microsoft.graph.beta.models.tenantgovernanceservices.ActionUrl::|public|setOdataType(value?:String):void -com.microsoft.graph.beta.models.tenantgovernanceservices.ActionUrl::|public|setUrl(value?:String):void -com.microsoft.graph.beta.models.tenantgovernanceservices.ActionUrl::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):ActionUrl -com.microsoft.graph.beta.models.tenantgovernanceservices.ActionUrl~~>AdditionalDataHolder; BackedModel; Parsable -com.microsoft.graph.beta.models.tenantgovernanceservices.B2bRegistrationMetrics-->Entity -com.microsoft.graph.beta.models.tenantgovernanceservices.B2bRegistrationMetrics::|public|constructor():void -com.microsoft.graph.beta.models.tenantgovernanceservices.B2bRegistrationMetrics::|public|getFieldDeserializers():Map> -com.microsoft.graph.beta.models.tenantgovernanceservices.B2bRegistrationMetrics::|public|getInitial():B2BRegistrationMetricsInitial -com.microsoft.graph.beta.models.tenantgovernanceservices.B2bRegistrationMetrics::|public|getInvestigationHints():java.util.List -com.microsoft.graph.beta.models.tenantgovernanceservices.B2bRegistrationMetrics::|public|getRecent():B2BRegistrationMetricsRecent -com.microsoft.graph.beta.models.tenantgovernanceservices.B2bRegistrationMetrics::|public|OdataType:String -com.microsoft.graph.beta.models.tenantgovernanceservices.B2bRegistrationMetrics::|public|serialize(writer:SerializationWriter):Void -com.microsoft.graph.beta.models.tenantgovernanceservices.B2bRegistrationMetrics::|public|setInitial(value?:B2BRegistrationMetricsInitial):void -com.microsoft.graph.beta.models.tenantgovernanceservices.B2bRegistrationMetrics::|public|setInvestigationHints(value?:java.util.List):void -com.microsoft.graph.beta.models.tenantgovernanceservices.B2bRegistrationMetrics::|public|setRecent(value?:B2BRegistrationMetricsRecent):void -com.microsoft.graph.beta.models.tenantgovernanceservices.B2bRegistrationMetrics::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):B2bRegistrationMetrics -com.microsoft.graph.beta.models.tenantgovernanceservices.B2BRegistrationMetricsBase-->Entity -com.microsoft.graph.beta.models.tenantgovernanceservices.B2BRegistrationMetricsBase::|public|constructor():void -com.microsoft.graph.beta.models.tenantgovernanceservices.B2BRegistrationMetricsBase::|public|getFieldDeserializers():Map> -com.microsoft.graph.beta.models.tenantgovernanceservices.B2BRegistrationMetricsBase::|public|getInboundTotalUsers():BigDecimal -com.microsoft.graph.beta.models.tenantgovernanceservices.B2BRegistrationMetricsBase::|public|getOutboundTotalUsers():BigDecimal -com.microsoft.graph.beta.models.tenantgovernanceservices.B2BRegistrationMetricsBase::|public|getWatermarkDateTime():OffsetDateTime -com.microsoft.graph.beta.models.tenantgovernanceservices.B2BRegistrationMetricsBase::|public|OdataType:String -com.microsoft.graph.beta.models.tenantgovernanceservices.B2BRegistrationMetricsBase::|public|serialize(writer:SerializationWriter):Void -com.microsoft.graph.beta.models.tenantgovernanceservices.B2BRegistrationMetricsBase::|public|setInboundTotalUsers(value?:BigDecimal):void -com.microsoft.graph.beta.models.tenantgovernanceservices.B2BRegistrationMetricsBase::|public|setOutboundTotalUsers(value?:BigDecimal):void -com.microsoft.graph.beta.models.tenantgovernanceservices.B2BRegistrationMetricsBase::|public|setWatermarkDateTime(value?:OffsetDateTime):void -com.microsoft.graph.beta.models.tenantgovernanceservices.B2BRegistrationMetricsBase::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):B2BRegistrationMetricsBase -com.microsoft.graph.beta.models.tenantgovernanceservices.B2BRegistrationMetricsInitial-->B2BRegistrationMetricsBase -com.microsoft.graph.beta.models.tenantgovernanceservices.B2BRegistrationMetricsInitial::|public|constructor():void -com.microsoft.graph.beta.models.tenantgovernanceservices.B2BRegistrationMetricsInitial::|public|getCreatedDateTime():OffsetDateTime -com.microsoft.graph.beta.models.tenantgovernanceservices.B2BRegistrationMetricsInitial::|public|getFieldDeserializers():Map> -com.microsoft.graph.beta.models.tenantgovernanceservices.B2BRegistrationMetricsInitial::|public|OdataType:String -com.microsoft.graph.beta.models.tenantgovernanceservices.B2BRegistrationMetricsInitial::|public|serialize(writer:SerializationWriter):Void -com.microsoft.graph.beta.models.tenantgovernanceservices.B2BRegistrationMetricsInitial::|public|setCreatedDateTime(value?:OffsetDateTime):void -com.microsoft.graph.beta.models.tenantgovernanceservices.B2BRegistrationMetricsInitial::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):B2BRegistrationMetricsInitial -com.microsoft.graph.beta.models.tenantgovernanceservices.B2BRegistrationMetricsRecent-->B2BRegistrationMetricsBase -com.microsoft.graph.beta.models.tenantgovernanceservices.B2BRegistrationMetricsRecent::|public|constructor():void -com.microsoft.graph.beta.models.tenantgovernanceservices.B2BRegistrationMetricsRecent::|public|getFieldDeserializers():Map> -com.microsoft.graph.beta.models.tenantgovernanceservices.B2BRegistrationMetricsRecent::|public|getUpdateDateTime():OffsetDateTime -com.microsoft.graph.beta.models.tenantgovernanceservices.B2BRegistrationMetricsRecent::|public|OdataType:String -com.microsoft.graph.beta.models.tenantgovernanceservices.B2BRegistrationMetricsRecent::|public|serialize(writer:SerializationWriter):Void -com.microsoft.graph.beta.models.tenantgovernanceservices.B2BRegistrationMetricsRecent::|public|setUpdateDateTime(value?:OffsetDateTime):void -com.microsoft.graph.beta.models.tenantgovernanceservices.B2BRegistrationMetricsRecent::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):B2BRegistrationMetricsRecent -com.microsoft.graph.beta.models.tenantgovernanceservices.B2BSignInActivityMetrics-->Entity -com.microsoft.graph.beta.models.tenantgovernanceservices.B2BSignInActivityMetrics::|public|constructor():void -com.microsoft.graph.beta.models.tenantgovernanceservices.B2BSignInActivityMetrics::|public|getFieldDeserializers():Map> -com.microsoft.graph.beta.models.tenantgovernanceservices.B2BSignInActivityMetrics::|public|getInitial():B2BSignInActivityMetricsInitial -com.microsoft.graph.beta.models.tenantgovernanceservices.B2BSignInActivityMetrics::|public|getInvestigationHints():java.util.List -com.microsoft.graph.beta.models.tenantgovernanceservices.B2BSignInActivityMetrics::|public|getRecent():B2BSignInActivityMetricsRecent -com.microsoft.graph.beta.models.tenantgovernanceservices.B2BSignInActivityMetrics::|public|OdataType:String -com.microsoft.graph.beta.models.tenantgovernanceservices.B2BSignInActivityMetrics::|public|serialize(writer:SerializationWriter):Void -com.microsoft.graph.beta.models.tenantgovernanceservices.B2BSignInActivityMetrics::|public|setInitial(value?:B2BSignInActivityMetricsInitial):void -com.microsoft.graph.beta.models.tenantgovernanceservices.B2BSignInActivityMetrics::|public|setInvestigationHints(value?:java.util.List):void -com.microsoft.graph.beta.models.tenantgovernanceservices.B2BSignInActivityMetrics::|public|setRecent(value?:B2BSignInActivityMetricsRecent):void -com.microsoft.graph.beta.models.tenantgovernanceservices.B2BSignInActivityMetrics::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):B2BSignInActivityMetrics -com.microsoft.graph.beta.models.tenantgovernanceservices.B2BSignInActivityMetricsBase-->Entity -com.microsoft.graph.beta.models.tenantgovernanceservices.B2BSignInActivityMetricsBase::|public|constructor():void -com.microsoft.graph.beta.models.tenantgovernanceservices.B2BSignInActivityMetricsBase::|public|getFieldDeserializers():Map> -com.microsoft.graph.beta.models.tenantgovernanceservices.B2BSignInActivityMetricsBase::|public|getInboundMonthlyTotalApplications():BigDecimal -com.microsoft.graph.beta.models.tenantgovernanceservices.B2BSignInActivityMetricsBase::|public|getInboundMonthlyTotalUsers():BigDecimal -com.microsoft.graph.beta.models.tenantgovernanceservices.B2BSignInActivityMetricsBase::|public|getOutboundMonthlyTotalApplications():BigDecimal -com.microsoft.graph.beta.models.tenantgovernanceservices.B2BSignInActivityMetricsBase::|public|getOutboundMonthlyTotalUsers():BigDecimal -com.microsoft.graph.beta.models.tenantgovernanceservices.B2BSignInActivityMetricsBase::|public|getWatermarkDateTime():OffsetDateTime -com.microsoft.graph.beta.models.tenantgovernanceservices.B2BSignInActivityMetricsBase::|public|OdataType:String -com.microsoft.graph.beta.models.tenantgovernanceservices.B2BSignInActivityMetricsBase::|public|serialize(writer:SerializationWriter):Void -com.microsoft.graph.beta.models.tenantgovernanceservices.B2BSignInActivityMetricsBase::|public|setInboundMonthlyTotalApplications(value?:BigDecimal):void -com.microsoft.graph.beta.models.tenantgovernanceservices.B2BSignInActivityMetricsBase::|public|setInboundMonthlyTotalUsers(value?:BigDecimal):void -com.microsoft.graph.beta.models.tenantgovernanceservices.B2BSignInActivityMetricsBase::|public|setOutboundMonthlyTotalApplications(value?:BigDecimal):void -com.microsoft.graph.beta.models.tenantgovernanceservices.B2BSignInActivityMetricsBase::|public|setOutboundMonthlyTotalUsers(value?:BigDecimal):void -com.microsoft.graph.beta.models.tenantgovernanceservices.B2BSignInActivityMetricsBase::|public|setWatermarkDateTime(value?:OffsetDateTime):void -com.microsoft.graph.beta.models.tenantgovernanceservices.B2BSignInActivityMetricsBase::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):B2BSignInActivityMetricsBase -com.microsoft.graph.beta.models.tenantgovernanceservices.B2BSignInActivityMetricsInitial-->B2BSignInActivityMetricsBase -com.microsoft.graph.beta.models.tenantgovernanceservices.B2BSignInActivityMetricsInitial::|public|constructor():void -com.microsoft.graph.beta.models.tenantgovernanceservices.B2BSignInActivityMetricsInitial::|public|getCreatedDateTime():OffsetDateTime -com.microsoft.graph.beta.models.tenantgovernanceservices.B2BSignInActivityMetricsInitial::|public|getFieldDeserializers():Map> -com.microsoft.graph.beta.models.tenantgovernanceservices.B2BSignInActivityMetricsInitial::|public|OdataType:String -com.microsoft.graph.beta.models.tenantgovernanceservices.B2BSignInActivityMetricsInitial::|public|serialize(writer:SerializationWriter):Void -com.microsoft.graph.beta.models.tenantgovernanceservices.B2BSignInActivityMetricsInitial::|public|setCreatedDateTime(value?:OffsetDateTime):void -com.microsoft.graph.beta.models.tenantgovernanceservices.B2BSignInActivityMetricsInitial::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):B2BSignInActivityMetricsInitial -com.microsoft.graph.beta.models.tenantgovernanceservices.B2BSignInActivityMetricsRecent-->B2BSignInActivityMetricsBase -com.microsoft.graph.beta.models.tenantgovernanceservices.B2BSignInActivityMetricsRecent::|public|constructor():void -com.microsoft.graph.beta.models.tenantgovernanceservices.B2BSignInActivityMetricsRecent::|public|getFieldDeserializers():Map> -com.microsoft.graph.beta.models.tenantgovernanceservices.B2BSignInActivityMetricsRecent::|public|getUpdateDateTime():OffsetDateTime -com.microsoft.graph.beta.models.tenantgovernanceservices.B2BSignInActivityMetricsRecent::|public|OdataType:String -com.microsoft.graph.beta.models.tenantgovernanceservices.B2BSignInActivityMetricsRecent::|public|serialize(writer:SerializationWriter):Void -com.microsoft.graph.beta.models.tenantgovernanceservices.B2BSignInActivityMetricsRecent::|public|setUpdateDateTime(value?:OffsetDateTime):void -com.microsoft.graph.beta.models.tenantgovernanceservices.B2BSignInActivityMetricsRecent::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):B2BSignInActivityMetricsRecent -com.microsoft.graph.beta.models.tenantgovernanceservices.BillingMetrics-->Entity -com.microsoft.graph.beta.models.tenantgovernanceservices.BillingMetrics::|public|constructor():void -com.microsoft.graph.beta.models.tenantgovernanceservices.BillingMetrics::|public|getFieldDeserializers():Map> -com.microsoft.graph.beta.models.tenantgovernanceservices.BillingMetrics::|public|getInitial():BillingMetricsInitial -com.microsoft.graph.beta.models.tenantgovernanceservices.BillingMetrics::|public|getInvestigationHints():java.util.List -com.microsoft.graph.beta.models.tenantgovernanceservices.BillingMetrics::|public|getRecent():BillingMetricsRecent -com.microsoft.graph.beta.models.tenantgovernanceservices.BillingMetrics::|public|OdataType:String -com.microsoft.graph.beta.models.tenantgovernanceservices.BillingMetrics::|public|serialize(writer:SerializationWriter):Void -com.microsoft.graph.beta.models.tenantgovernanceservices.BillingMetrics::|public|setInitial(value?:BillingMetricsInitial):void -com.microsoft.graph.beta.models.tenantgovernanceservices.BillingMetrics::|public|setInvestigationHints(value?:java.util.List):void -com.microsoft.graph.beta.models.tenantgovernanceservices.BillingMetrics::|public|setRecent(value?:BillingMetricsRecent):void -com.microsoft.graph.beta.models.tenantgovernanceservices.BillingMetrics::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):BillingMetrics -com.microsoft.graph.beta.models.tenantgovernanceservices.BillingMetricsBase-->Entity -com.microsoft.graph.beta.models.tenantgovernanceservices.BillingMetricsBase::|public|constructor():void -com.microsoft.graph.beta.models.tenantgovernanceservices.BillingMetricsBase::|public|getFieldDeserializers():Map> -com.microsoft.graph.beta.models.tenantgovernanceservices.BillingMetricsBase::|public|getForeignAssociatedTenantBillingManagementActiveCount():BigDecimal -com.microsoft.graph.beta.models.tenantgovernanceservices.BillingMetricsBase::|public|getForeignAssociatedTenantCount():BigDecimal -com.microsoft.graph.beta.models.tenantgovernanceservices.BillingMetricsBase::|public|getForeignAssociatedTenantProvisioningActiveCount():BigDecimal -com.microsoft.graph.beta.models.tenantgovernanceservices.BillingMetricsBase::|public|getLocalAssociatedTenantBillingManagementActiveCount():BigDecimal -com.microsoft.graph.beta.models.tenantgovernanceservices.BillingMetricsBase::|public|getLocalAssociatedTenantCount():BigDecimal -com.microsoft.graph.beta.models.tenantgovernanceservices.BillingMetricsBase::|public|getLocalAssociatedTenantIds():java.util.List -com.microsoft.graph.beta.models.tenantgovernanceservices.BillingMetricsBase::|public|getLocalAssociatedTenantProvisioningActiveCount():BigDecimal -com.microsoft.graph.beta.models.tenantgovernanceservices.BillingMetricsBase::|public|getWatermarkDateTime():OffsetDateTime -com.microsoft.graph.beta.models.tenantgovernanceservices.BillingMetricsBase::|public|OdataType:String -com.microsoft.graph.beta.models.tenantgovernanceservices.BillingMetricsBase::|public|serialize(writer:SerializationWriter):Void -com.microsoft.graph.beta.models.tenantgovernanceservices.BillingMetricsBase::|public|setForeignAssociatedTenantBillingManagementActiveCount(value?:BigDecimal):void -com.microsoft.graph.beta.models.tenantgovernanceservices.BillingMetricsBase::|public|setForeignAssociatedTenantCount(value?:BigDecimal):void -com.microsoft.graph.beta.models.tenantgovernanceservices.BillingMetricsBase::|public|setForeignAssociatedTenantProvisioningActiveCount(value?:BigDecimal):void -com.microsoft.graph.beta.models.tenantgovernanceservices.BillingMetricsBase::|public|setLocalAssociatedTenantBillingManagementActiveCount(value?:BigDecimal):void -com.microsoft.graph.beta.models.tenantgovernanceservices.BillingMetricsBase::|public|setLocalAssociatedTenantCount(value?:BigDecimal):void -com.microsoft.graph.beta.models.tenantgovernanceservices.BillingMetricsBase::|public|setLocalAssociatedTenantIds(value?:java.util.List):void -com.microsoft.graph.beta.models.tenantgovernanceservices.BillingMetricsBase::|public|setLocalAssociatedTenantProvisioningActiveCount(value?:BigDecimal):void -com.microsoft.graph.beta.models.tenantgovernanceservices.BillingMetricsBase::|public|setWatermarkDateTime(value?:OffsetDateTime):void -com.microsoft.graph.beta.models.tenantgovernanceservices.BillingMetricsBase::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):BillingMetricsBase -com.microsoft.graph.beta.models.tenantgovernanceservices.BillingMetricsInitial-->BillingMetricsBase -com.microsoft.graph.beta.models.tenantgovernanceservices.BillingMetricsInitial::|public|constructor():void -com.microsoft.graph.beta.models.tenantgovernanceservices.BillingMetricsInitial::|public|getCreatedDateTime():OffsetDateTime -com.microsoft.graph.beta.models.tenantgovernanceservices.BillingMetricsInitial::|public|getFieldDeserializers():Map> -com.microsoft.graph.beta.models.tenantgovernanceservices.BillingMetricsInitial::|public|OdataType:String -com.microsoft.graph.beta.models.tenantgovernanceservices.BillingMetricsInitial::|public|serialize(writer:SerializationWriter):Void -com.microsoft.graph.beta.models.tenantgovernanceservices.BillingMetricsInitial::|public|setCreatedDateTime(value?:OffsetDateTime):void -com.microsoft.graph.beta.models.tenantgovernanceservices.BillingMetricsInitial::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):BillingMetricsInitial -com.microsoft.graph.beta.models.tenantgovernanceservices.BillingMetricsRecent-->BillingMetricsBase -com.microsoft.graph.beta.models.tenantgovernanceservices.BillingMetricsRecent::|public|constructor():void -com.microsoft.graph.beta.models.tenantgovernanceservices.BillingMetricsRecent::|public|getFieldDeserializers():Map> -com.microsoft.graph.beta.models.tenantgovernanceservices.BillingMetricsRecent::|public|getUpdateDateTime():OffsetDateTime -com.microsoft.graph.beta.models.tenantgovernanceservices.BillingMetricsRecent::|public|OdataType:String -com.microsoft.graph.beta.models.tenantgovernanceservices.BillingMetricsRecent::|public|serialize(writer:SerializationWriter):Void -com.microsoft.graph.beta.models.tenantgovernanceservices.BillingMetricsRecent::|public|setUpdateDateTime(value?:OffsetDateTime):void -com.microsoft.graph.beta.models.tenantgovernanceservices.BillingMetricsRecent::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):BillingMetricsRecent -com.microsoft.graph.beta.models.tenantgovernanceservices.DelegatedAdministrationRoleAssignment::|protected|backingStore:BackingStore -com.microsoft.graph.beta.models.tenantgovernanceservices.DelegatedAdministrationRoleAssignment::|public|constructor():void -com.microsoft.graph.beta.models.tenantgovernanceservices.DelegatedAdministrationRoleAssignment::|public|getAdditionalData():Map -com.microsoft.graph.beta.models.tenantgovernanceservices.DelegatedAdministrationRoleAssignment::|public|getBackingStore():BackingStore -com.microsoft.graph.beta.models.tenantgovernanceservices.DelegatedAdministrationRoleAssignment::|public|getFieldDeserializers():Map> -com.microsoft.graph.beta.models.tenantgovernanceservices.DelegatedAdministrationRoleAssignment::|public|getGroup():Group -com.microsoft.graph.beta.models.tenantgovernanceservices.DelegatedAdministrationRoleAssignment::|public|getGroupDisplayName():String -com.microsoft.graph.beta.models.tenantgovernanceservices.DelegatedAdministrationRoleAssignment::|public|getOdataType():String -com.microsoft.graph.beta.models.tenantgovernanceservices.DelegatedAdministrationRoleAssignment::|public|getRoleTemplates():java.util.List -com.microsoft.graph.beta.models.tenantgovernanceservices.DelegatedAdministrationRoleAssignment::|public|serialize(writer:SerializationWriter):Void -com.microsoft.graph.beta.models.tenantgovernanceservices.DelegatedAdministrationRoleAssignment::|public|setAdditionalData(value?:Map):void -com.microsoft.graph.beta.models.tenantgovernanceservices.DelegatedAdministrationRoleAssignment::|public|setBackingStore(value:BackingStore):void -com.microsoft.graph.beta.models.tenantgovernanceservices.DelegatedAdministrationRoleAssignment::|public|setGroup(value?:Group):void -com.microsoft.graph.beta.models.tenantgovernanceservices.DelegatedAdministrationRoleAssignment::|public|setGroupDisplayName(value?:String):void -com.microsoft.graph.beta.models.tenantgovernanceservices.DelegatedAdministrationRoleAssignment::|public|setOdataType(value?:String):void -com.microsoft.graph.beta.models.tenantgovernanceservices.DelegatedAdministrationRoleAssignment::|public|setRoleTemplates(value?:java.util.List):void -com.microsoft.graph.beta.models.tenantgovernanceservices.DelegatedAdministrationRoleAssignment::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):DelegatedAdministrationRoleAssignment -com.microsoft.graph.beta.models.tenantgovernanceservices.DelegatedAdministrationRoleAssignmentSnapshot::|protected|backingStore:BackingStore -com.microsoft.graph.beta.models.tenantgovernanceservices.DelegatedAdministrationRoleAssignmentSnapshot::|public|constructor():void -com.microsoft.graph.beta.models.tenantgovernanceservices.DelegatedAdministrationRoleAssignmentSnapshot::|public|getAdditionalData():Map -com.microsoft.graph.beta.models.tenantgovernanceservices.DelegatedAdministrationRoleAssignmentSnapshot::|public|getBackingStore():BackingStore -com.microsoft.graph.beta.models.tenantgovernanceservices.DelegatedAdministrationRoleAssignmentSnapshot::|public|getFieldDeserializers():Map> -com.microsoft.graph.beta.models.tenantgovernanceservices.DelegatedAdministrationRoleAssignmentSnapshot::|public|getGroupDisplayName():String -com.microsoft.graph.beta.models.tenantgovernanceservices.DelegatedAdministrationRoleAssignmentSnapshot::|public|getGroupId():String -com.microsoft.graph.beta.models.tenantgovernanceservices.DelegatedAdministrationRoleAssignmentSnapshot::|public|getOdataType():String -com.microsoft.graph.beta.models.tenantgovernanceservices.DelegatedAdministrationRoleAssignmentSnapshot::|public|getRoleTemplates():java.util.List -com.microsoft.graph.beta.models.tenantgovernanceservices.DelegatedAdministrationRoleAssignmentSnapshot::|public|serialize(writer:SerializationWriter):Void -com.microsoft.graph.beta.models.tenantgovernanceservices.DelegatedAdministrationRoleAssignmentSnapshot::|public|setAdditionalData(value?:Map):void -com.microsoft.graph.beta.models.tenantgovernanceservices.DelegatedAdministrationRoleAssignmentSnapshot::|public|setBackingStore(value:BackingStore):void -com.microsoft.graph.beta.models.tenantgovernanceservices.DelegatedAdministrationRoleAssignmentSnapshot::|public|setGroupDisplayName(value?:String):void -com.microsoft.graph.beta.models.tenantgovernanceservices.DelegatedAdministrationRoleAssignmentSnapshot::|public|setGroupId(value?:String):void -com.microsoft.graph.beta.models.tenantgovernanceservices.DelegatedAdministrationRoleAssignmentSnapshot::|public|setOdataType(value?:String):void -com.microsoft.graph.beta.models.tenantgovernanceservices.DelegatedAdministrationRoleAssignmentSnapshot::|public|setRoleTemplates(value?:java.util.List):void -com.microsoft.graph.beta.models.tenantgovernanceservices.DelegatedAdministrationRoleAssignmentSnapshot::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):DelegatedAdministrationRoleAssignmentSnapshot -com.microsoft.graph.beta.models.tenantgovernanceservices.DelegatedAdministrationRoleAssignmentSnapshot~~>AdditionalDataHolder; BackedModel; Parsable -com.microsoft.graph.beta.models.tenantgovernanceservices.DelegatedAdministrationRoleAssignment~~>AdditionalDataHolder; BackedModel; Parsable -com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceInvitation-->Entity -com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceInvitation::|public|constructor():void -com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceInvitation::|public|getCreatedDateTime():OffsetDateTime -com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceInvitation::|public|getExpirationDateTime():OffsetDateTime -com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceInvitation::|public|getFieldDeserializers():Map> -com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceInvitation::|public|getGovernedTenantId():String -com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceInvitation::|public|getGovernedTenantName():String -com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceInvitation::|public|getGoverningTenantId():String -com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceInvitation::|public|getGoverningTenantName():String -com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceInvitation::|public|OdataType:String -com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceInvitation::|public|serialize(writer:SerializationWriter):Void -com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceInvitation::|public|setCreatedDateTime(value?:OffsetDateTime):void -com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceInvitation::|public|setExpirationDateTime(value?:OffsetDateTime):void -com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceInvitation::|public|setGovernedTenantId(value?:String):void -com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceInvitation::|public|setGovernedTenantName(value?:String):void -com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceInvitation::|public|setGoverningTenantId(value?:String):void -com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceInvitation::|public|setGoverningTenantName(value?:String):void -com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceInvitation::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):GovernanceInvitation -com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceInvitationCollectionResponse-->BaseCollectionPaginationCountResponse -com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceInvitationCollectionResponse::|public|constructor():void -com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceInvitationCollectionResponse::|public|getFieldDeserializers():Map> -com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceInvitationCollectionResponse::|public|getValue():java.util.List -com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceInvitationCollectionResponse::|public|serialize(writer:SerializationWriter):Void -com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceInvitationCollectionResponse::|public|setValue(value?:java.util.List):void -com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceInvitationCollectionResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):GovernanceInvitationCollectionResponse -com.microsoft.graph.beta.models.tenantgovernanceservices.GovernancePolicyTemplate-->Entity -com.microsoft.graph.beta.models.tenantgovernanceservices.GovernancePolicyTemplate::|public|constructor():void -com.microsoft.graph.beta.models.tenantgovernanceservices.GovernancePolicyTemplate::|public|getCreatedDateTime():OffsetDateTime -com.microsoft.graph.beta.models.tenantgovernanceservices.GovernancePolicyTemplate::|public|getDelegatedAdministrationRoleAssignments():java.util.List -com.microsoft.graph.beta.models.tenantgovernanceservices.GovernancePolicyTemplate::|public|getDescription():String -com.microsoft.graph.beta.models.tenantgovernanceservices.GovernancePolicyTemplate::|public|getDisplayName():String -com.microsoft.graph.beta.models.tenantgovernanceservices.GovernancePolicyTemplate::|public|getFieldDeserializers():Map> -com.microsoft.graph.beta.models.tenantgovernanceservices.GovernancePolicyTemplate::|public|getGovernedTenantCanTerminate():Boolean -com.microsoft.graph.beta.models.tenantgovernanceservices.GovernancePolicyTemplate::|public|getLastModifiedDateTime():OffsetDateTime -com.microsoft.graph.beta.models.tenantgovernanceservices.GovernancePolicyTemplate::|public|getMultiTenantApplicationsToProvision():java.util.List -com.microsoft.graph.beta.models.tenantgovernanceservices.GovernancePolicyTemplate::|public|getVersion():String -com.microsoft.graph.beta.models.tenantgovernanceservices.GovernancePolicyTemplate::|public|OdataType:String -com.microsoft.graph.beta.models.tenantgovernanceservices.GovernancePolicyTemplate::|public|serialize(writer:SerializationWriter):Void -com.microsoft.graph.beta.models.tenantgovernanceservices.GovernancePolicyTemplate::|public|setCreatedDateTime(value?:OffsetDateTime):void -com.microsoft.graph.beta.models.tenantgovernanceservices.GovernancePolicyTemplate::|public|setDelegatedAdministrationRoleAssignments(value?:java.util.List):void -com.microsoft.graph.beta.models.tenantgovernanceservices.GovernancePolicyTemplate::|public|setDescription(value?:String):void -com.microsoft.graph.beta.models.tenantgovernanceservices.GovernancePolicyTemplate::|public|setDisplayName(value?:String):void -com.microsoft.graph.beta.models.tenantgovernanceservices.GovernancePolicyTemplate::|public|setGovernedTenantCanTerminate(value?:Boolean):void -com.microsoft.graph.beta.models.tenantgovernanceservices.GovernancePolicyTemplate::|public|setLastModifiedDateTime(value?:OffsetDateTime):void -com.microsoft.graph.beta.models.tenantgovernanceservices.GovernancePolicyTemplate::|public|setMultiTenantApplicationsToProvision(value?:java.util.List):void -com.microsoft.graph.beta.models.tenantgovernanceservices.GovernancePolicyTemplate::|public|setVersion(value?:String):void -com.microsoft.graph.beta.models.tenantgovernanceservices.GovernancePolicyTemplate::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):GovernancePolicyTemplate -com.microsoft.graph.beta.models.tenantgovernanceservices.GovernancePolicyTemplateCollectionResponse-->BaseCollectionPaginationCountResponse -com.microsoft.graph.beta.models.tenantgovernanceservices.GovernancePolicyTemplateCollectionResponse::|public|constructor():void -com.microsoft.graph.beta.models.tenantgovernanceservices.GovernancePolicyTemplateCollectionResponse::|public|getFieldDeserializers():Map> -com.microsoft.graph.beta.models.tenantgovernanceservices.GovernancePolicyTemplateCollectionResponse::|public|getValue():java.util.List -com.microsoft.graph.beta.models.tenantgovernanceservices.GovernancePolicyTemplateCollectionResponse::|public|serialize(writer:SerializationWriter):Void -com.microsoft.graph.beta.models.tenantgovernanceservices.GovernancePolicyTemplateCollectionResponse::|public|setValue(value?:java.util.List):void -com.microsoft.graph.beta.models.tenantgovernanceservices.GovernancePolicyTemplateCollectionResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):GovernancePolicyTemplateCollectionResponse -com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRelationship-->Entity -com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRelationship::|public|constructor():void -com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRelationship::|public|getCreatedType():RelationshipCreationType -com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRelationship::|public|getCreationDateTime():OffsetDateTime -com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRelationship::|public|getFieldDeserializers():Map> -com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRelationship::|public|getGovernedTenantId():String -com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRelationship::|public|getGovernedTenantName():String -com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRelationship::|public|getGoverningTenantId():String -com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRelationship::|public|getGoverningTenantName():String -com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRelationship::|public|getPolicySnapshot():RelationshipPolicy -com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRelationship::|public|getStatus():RelationshipStatus -com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRelationship::|public|OdataType:String -com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRelationship::|public|serialize(writer:SerializationWriter):Void -com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRelationship::|public|setCreatedType(value?:RelationshipCreationType):void -com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRelationship::|public|setCreationDateTime(value?:OffsetDateTime):void -com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRelationship::|public|setGovernedTenantId(value?:String):void -com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRelationship::|public|setGovernedTenantName(value?:String):void -com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRelationship::|public|setGoverningTenantId(value?:String):void -com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRelationship::|public|setGoverningTenantName(value?:String):void -com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRelationship::|public|setPolicySnapshot(value?:RelationshipPolicy):void -com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRelationship::|public|setStatus(value?:RelationshipStatus):void -com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRelationship::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):GovernanceRelationship -com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRelationshipCollectionResponse-->BaseCollectionPaginationCountResponse -com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRelationshipCollectionResponse::|public|constructor():void -com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRelationshipCollectionResponse::|public|getFieldDeserializers():Map> -com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRelationshipCollectionResponse::|public|getValue():java.util.List -com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRelationshipCollectionResponse::|public|serialize(writer:SerializationWriter):Void -com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRelationshipCollectionResponse::|public|setValue(value?:java.util.List):void -com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRelationshipCollectionResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):GovernanceRelationshipCollectionResponse -com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRequest-->Entity -com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRequest::|public|constructor():void -com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRequest::|public|getExpirationDateTime():OffsetDateTime -com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRequest::|public|getFieldDeserializers():Map> -com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRequest::|public|getGovernancePolicyTemplate():GovernancePolicyTemplate -com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRequest::|public|getGovernedTenantId():String -com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRequest::|public|getGovernedTenantName():String -com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRequest::|public|getGoverningTenantId():String -com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRequest::|public|getGoverningTenantName():String -com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRequest::|public|getPolicySnapshot():RelationshipPolicy -com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRequest::|public|getRequestDateTime():OffsetDateTime -com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRequest::|public|getStatus():RequestStatus -com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRequest::|public|OdataType:String -com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRequest::|public|serialize(writer:SerializationWriter):Void -com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRequest::|public|setExpirationDateTime(value?:OffsetDateTime):void -com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRequest::|public|setGovernancePolicyTemplate(value?:GovernancePolicyTemplate):void -com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRequest::|public|setGovernedTenantId(value?:String):void -com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRequest::|public|setGovernedTenantName(value?:String):void -com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRequest::|public|setGoverningTenantId(value?:String):void -com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRequest::|public|setGoverningTenantName(value?:String):void -com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRequest::|public|setPolicySnapshot(value?:RelationshipPolicy):void -com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRequest::|public|setRequestDateTime(value?:OffsetDateTime):void -com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRequest::|public|setStatus(value?:RequestStatus):void -com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRequest::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):GovernanceRequest -com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRequestCollectionResponse-->BaseCollectionPaginationCountResponse -com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRequestCollectionResponse::|public|constructor():void -com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRequestCollectionResponse::|public|getFieldDeserializers():Map> -com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRequestCollectionResponse::|public|getValue():java.util.List -com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRequestCollectionResponse::|public|serialize(writer:SerializationWriter):Void -com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRequestCollectionResponse::|public|setValue(value?:java.util.List):void -com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRequestCollectionResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):GovernanceRequestCollectionResponse -com.microsoft.graph.beta.models.tenantgovernanceservices.LongRunningOperation-->Entity -com.microsoft.graph.beta.models.tenantgovernanceservices.LongRunningOperation::|public|constructor():void -com.microsoft.graph.beta.models.tenantgovernanceservices.LongRunningOperation::|public|getCreatedDateTime():OffsetDateTime -com.microsoft.graph.beta.models.tenantgovernanceservices.LongRunningOperation::|public|getFieldDeserializers():Map> -com.microsoft.graph.beta.models.tenantgovernanceservices.LongRunningOperation::|public|getLastActionDateTime():OffsetDateTime -com.microsoft.graph.beta.models.tenantgovernanceservices.LongRunningOperation::|public|getResourceLocation():String -com.microsoft.graph.beta.models.tenantgovernanceservices.LongRunningOperation::|public|getStatus():LongRunningOperationStatus -com.microsoft.graph.beta.models.tenantgovernanceservices.LongRunningOperation::|public|getStatusDetail():String -com.microsoft.graph.beta.models.tenantgovernanceservices.LongRunningOperation::|public|OdataType:String -com.microsoft.graph.beta.models.tenantgovernanceservices.LongRunningOperation::|public|serialize(writer:SerializationWriter):Void -com.microsoft.graph.beta.models.tenantgovernanceservices.LongRunningOperation::|public|setCreatedDateTime(value?:OffsetDateTime):void -com.microsoft.graph.beta.models.tenantgovernanceservices.LongRunningOperation::|public|setLastActionDateTime(value?:OffsetDateTime):void -com.microsoft.graph.beta.models.tenantgovernanceservices.LongRunningOperation::|public|setResourceLocation(value?:String):void -com.microsoft.graph.beta.models.tenantgovernanceservices.LongRunningOperation::|public|setStatus(value?:LongRunningOperationStatus):void -com.microsoft.graph.beta.models.tenantgovernanceservices.LongRunningOperation::|public|setStatusDetail(value?:String):void -com.microsoft.graph.beta.models.tenantgovernanceservices.LongRunningOperation::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):LongRunningOperation -com.microsoft.graph.beta.models.tenantgovernanceservices.LongRunningOperationStatus::0000-NotStarted -com.microsoft.graph.beta.models.tenantgovernanceservices.LongRunningOperationStatus::0001-Running -com.microsoft.graph.beta.models.tenantgovernanceservices.LongRunningOperationStatus::0002-Succeeded -com.microsoft.graph.beta.models.tenantgovernanceservices.LongRunningOperationStatus::0003-Failed -com.microsoft.graph.beta.models.tenantgovernanceservices.LongRunningOperationStatus::0004-UnknownFutureValue -com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationMetrics-->Entity -com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationMetrics::|public|constructor():void -com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationMetrics::|public|getFieldDeserializers():Map> -com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationMetrics::|public|getInitial():MultiTenantApplicationMetricsInitial -com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationMetrics::|public|getInvestigationHints():java.util.List -com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationMetrics::|public|getRecent():MultiTenantApplicationMetricsRecent -com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationMetrics::|public|OdataType:String -com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationMetrics::|public|serialize(writer:SerializationWriter):Void -com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationMetrics::|public|setInitial(value?:MultiTenantApplicationMetricsInitial):void -com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationMetrics::|public|setInvestigationHints(value?:java.util.List):void -com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationMetrics::|public|setRecent(value?:MultiTenantApplicationMetricsRecent):void -com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationMetrics::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):MultiTenantApplicationMetrics -com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationMetricsBase-->Entity -com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationMetricsBase::|public|constructor():void -com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationMetricsBase::|public|getFieldDeserializers():Map> -com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationMetricsBase::|public|getInboundMonthlyTotalApplications():BigDecimal -com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationMetricsBase::|public|getOutboundMonthlyTotalApplications():BigDecimal -com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationMetricsBase::|public|getWatermarkDateTime():OffsetDateTime -com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationMetricsBase::|public|OdataType:String -com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationMetricsBase::|public|serialize(writer:SerializationWriter):Void -com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationMetricsBase::|public|setInboundMonthlyTotalApplications(value?:BigDecimal):void -com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationMetricsBase::|public|setOutboundMonthlyTotalApplications(value?:BigDecimal):void -com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationMetricsBase::|public|setWatermarkDateTime(value?:OffsetDateTime):void -com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationMetricsBase::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):MultiTenantApplicationMetricsBase -com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationMetricsInitial-->MultiTenantApplicationMetricsBase -com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationMetricsInitial::|public|constructor():void -com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationMetricsInitial::|public|getCreatedDateTime():OffsetDateTime -com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationMetricsInitial::|public|getFieldDeserializers():Map> -com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationMetricsInitial::|public|OdataType:String -com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationMetricsInitial::|public|serialize(writer:SerializationWriter):Void -com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationMetricsInitial::|public|setCreatedDateTime(value?:OffsetDateTime):void -com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationMetricsInitial::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):MultiTenantApplicationMetricsInitial -com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationMetricsRecent-->MultiTenantApplicationMetricsBase -com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationMetricsRecent::|public|constructor():void -com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationMetricsRecent::|public|getFieldDeserializers():Map> -com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationMetricsRecent::|public|getUpdateDateTime():OffsetDateTime -com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationMetricsRecent::|public|OdataType:String -com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationMetricsRecent::|public|serialize(writer:SerializationWriter):Void -com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationMetricsRecent::|public|setUpdateDateTime(value?:OffsetDateTime):void -com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationMetricsRecent::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):MultiTenantApplicationMetricsRecent -com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationsToProvision::|protected|backingStore:BackingStore -com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationsToProvision::|public|constructor():void -com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationsToProvision::|public|getAdditionalData():Map -com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationsToProvision::|public|getAppId():String -com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationsToProvision::|public|getBackingStore():BackingStore -com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationsToProvision::|public|getDisplayName():String -com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationsToProvision::|public|getFieldDeserializers():Map> -com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationsToProvision::|public|getObjectId():String -com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationsToProvision::|public|getOdataType():String -com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationsToProvision::|public|getRequiredResourceAccesses():java.util.List -com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationsToProvision::|public|serialize(writer:SerializationWriter):Void -com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationsToProvision::|public|setAdditionalData(value?:Map):void -com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationsToProvision::|public|setAppId(value?:String):void -com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationsToProvision::|public|setBackingStore(value:BackingStore):void -com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationsToProvision::|public|setDisplayName(value?:String):void -com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationsToProvision::|public|setObjectId(value?:String):void -com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationsToProvision::|public|setOdataType(value?:String):void -com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationsToProvision::|public|setRequiredResourceAccesses(value?:java.util.List):void -com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationsToProvision::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):MultiTenantApplicationsToProvision -com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationsToProvisionSnapshot::|protected|backingStore:BackingStore -com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationsToProvisionSnapshot::|public|constructor():void -com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationsToProvisionSnapshot::|public|getAdditionalData():Map -com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationsToProvisionSnapshot::|public|getAppId():String -com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationsToProvisionSnapshot::|public|getBackingStore():BackingStore -com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationsToProvisionSnapshot::|public|getDisplayName():String -com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationsToProvisionSnapshot::|public|getFieldDeserializers():Map> -com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationsToProvisionSnapshot::|public|getObjectId():String -com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationsToProvisionSnapshot::|public|getOdataType():String -com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationsToProvisionSnapshot::|public|getRequiredResourceAccesses():java.util.List -com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationsToProvisionSnapshot::|public|serialize(writer:SerializationWriter):Void -com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationsToProvisionSnapshot::|public|setAdditionalData(value?:Map):void -com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationsToProvisionSnapshot::|public|setAppId(value?:String):void -com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationsToProvisionSnapshot::|public|setBackingStore(value:BackingStore):void -com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationsToProvisionSnapshot::|public|setDisplayName(value?:String):void -com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationsToProvisionSnapshot::|public|setObjectId(value?:String):void -com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationsToProvisionSnapshot::|public|setOdataType(value?:String):void -com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationsToProvisionSnapshot::|public|setRequiredResourceAccesses(value?:java.util.List):void -com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationsToProvisionSnapshot::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):MultiTenantApplicationsToProvisionSnapshot -com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationsToProvisionSnapshot~~>AdditionalDataHolder; BackedModel; Parsable -com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationsToProvision~~>AdditionalDataHolder; BackedModel; Parsable -com.microsoft.graph.beta.models.tenantgovernanceservices.PermissionType::0000-Role -com.microsoft.graph.beta.models.tenantgovernanceservices.PermissionType::0001-Scope -com.microsoft.graph.beta.models.tenantgovernanceservices.PermissionType::0002-UnknownFutureValue -com.microsoft.graph.beta.models.tenantgovernanceservices.RelatedTenant-->Entity -com.microsoft.graph.beta.models.tenantgovernanceservices.RelatedTenant::|public|constructor():void -com.microsoft.graph.beta.models.tenantgovernanceservices.RelatedTenant::|public|getAppB2BSignInActivityMetrics():B2BSignInActivityMetrics -com.microsoft.graph.beta.models.tenantgovernanceservices.RelatedTenant::|public|getB2BRegistrationMetrics():B2bRegistrationMetrics -com.microsoft.graph.beta.models.tenantgovernanceservices.RelatedTenant::|public|getB2BSignInActivityMetrics():B2BSignInActivityMetrics -com.microsoft.graph.beta.models.tenantgovernanceservices.RelatedTenant::|public|getBillingMetrics():BillingMetrics -com.microsoft.graph.beta.models.tenantgovernanceservices.RelatedTenant::|public|getCreatedDateTime():OffsetDateTime -com.microsoft.graph.beta.models.tenantgovernanceservices.RelatedTenant::|public|getFieldDeserializers():Map> -com.microsoft.graph.beta.models.tenantgovernanceservices.RelatedTenant::|public|getIsMicrosoftInfrastructure():Boolean -com.microsoft.graph.beta.models.tenantgovernanceservices.RelatedTenant::|public|getMultiTenantApplicationMetrics():MultiTenantApplicationMetrics -com.microsoft.graph.beta.models.tenantgovernanceservices.RelatedTenant::|public|OdataType:String -com.microsoft.graph.beta.models.tenantgovernanceservices.RelatedTenant::|public|serialize(writer:SerializationWriter):Void -com.microsoft.graph.beta.models.tenantgovernanceservices.RelatedTenant::|public|setAppB2BSignInActivityMetrics(value?:B2BSignInActivityMetrics):void -com.microsoft.graph.beta.models.tenantgovernanceservices.RelatedTenant::|public|setB2BRegistrationMetrics(value?:B2bRegistrationMetrics):void -com.microsoft.graph.beta.models.tenantgovernanceservices.RelatedTenant::|public|setB2BSignInActivityMetrics(value?:B2BSignInActivityMetrics):void -com.microsoft.graph.beta.models.tenantgovernanceservices.RelatedTenant::|public|setBillingMetrics(value?:BillingMetrics):void -com.microsoft.graph.beta.models.tenantgovernanceservices.RelatedTenant::|public|setCreatedDateTime(value?:OffsetDateTime):void -com.microsoft.graph.beta.models.tenantgovernanceservices.RelatedTenant::|public|setIsMicrosoftInfrastructure(value?:Boolean):void -com.microsoft.graph.beta.models.tenantgovernanceservices.RelatedTenant::|public|setMultiTenantApplicationMetrics(value?:MultiTenantApplicationMetrics):void -com.microsoft.graph.beta.models.tenantgovernanceservices.RelatedTenant::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):RelatedTenant -com.microsoft.graph.beta.models.tenantgovernanceservices.RelatedTenantCollectionResponse-->BaseCollectionPaginationCountResponse -com.microsoft.graph.beta.models.tenantgovernanceservices.RelatedTenantCollectionResponse::|public|constructor():void -com.microsoft.graph.beta.models.tenantgovernanceservices.RelatedTenantCollectionResponse::|public|getFieldDeserializers():Map> -com.microsoft.graph.beta.models.tenantgovernanceservices.RelatedTenantCollectionResponse::|public|getValue():java.util.List -com.microsoft.graph.beta.models.tenantgovernanceservices.RelatedTenantCollectionResponse::|public|serialize(writer:SerializationWriter):Void -com.microsoft.graph.beta.models.tenantgovernanceservices.RelatedTenantCollectionResponse::|public|setValue(value?:java.util.List):void -com.microsoft.graph.beta.models.tenantgovernanceservices.RelatedTenantCollectionResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):RelatedTenantCollectionResponse -com.microsoft.graph.beta.models.tenantgovernanceservices.RelatedTenantsRefreshRequest-->Entity -com.microsoft.graph.beta.models.tenantgovernanceservices.RelatedTenantsRefreshRequest::|public|constructor():void -com.microsoft.graph.beta.models.tenantgovernanceservices.RelatedTenantsRefreshRequest::|public|getFieldDeserializers():Map> -com.microsoft.graph.beta.models.tenantgovernanceservices.RelatedTenantsRefreshRequest::|public|getLocation():String -com.microsoft.graph.beta.models.tenantgovernanceservices.RelatedTenantsRefreshRequest::|public|OdataType:String -com.microsoft.graph.beta.models.tenantgovernanceservices.RelatedTenantsRefreshRequest::|public|serialize(writer:SerializationWriter):Void -com.microsoft.graph.beta.models.tenantgovernanceservices.RelatedTenantsRefreshRequest::|public|setLocation(value?:String):void -com.microsoft.graph.beta.models.tenantgovernanceservices.RelatedTenantsRefreshRequest::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):RelatedTenantsRefreshRequest -com.microsoft.graph.beta.models.tenantgovernanceservices.RelatedTenantsRefreshStatus::|protected|backingStore:BackingStore -com.microsoft.graph.beta.models.tenantgovernanceservices.RelatedTenantsRefreshStatus::|public|constructor():void -com.microsoft.graph.beta.models.tenantgovernanceservices.RelatedTenantsRefreshStatus::|public|getAdditionalData():Map -com.microsoft.graph.beta.models.tenantgovernanceservices.RelatedTenantsRefreshStatus::|public|getBackingStore():BackingStore -com.microsoft.graph.beta.models.tenantgovernanceservices.RelatedTenantsRefreshStatus::|public|getFieldDeserializers():Map> -com.microsoft.graph.beta.models.tenantgovernanceservices.RelatedTenantsRefreshStatus::|public|getIsFirstRefresh():Boolean -com.microsoft.graph.beta.models.tenantgovernanceservices.RelatedTenantsRefreshStatus::|public|getMostRecentRefreshRequestStatus():String -com.microsoft.graph.beta.models.tenantgovernanceservices.RelatedTenantsRefreshStatus::|public|getMostRecentRefreshTime():String -com.microsoft.graph.beta.models.tenantgovernanceservices.RelatedTenantsRefreshStatus::|public|getOdataType():String -com.microsoft.graph.beta.models.tenantgovernanceservices.RelatedTenantsRefreshStatus::|public|serialize(writer:SerializationWriter):Void -com.microsoft.graph.beta.models.tenantgovernanceservices.RelatedTenantsRefreshStatus::|public|setAdditionalData(value?:Map):void -com.microsoft.graph.beta.models.tenantgovernanceservices.RelatedTenantsRefreshStatus::|public|setBackingStore(value:BackingStore):void -com.microsoft.graph.beta.models.tenantgovernanceservices.RelatedTenantsRefreshStatus::|public|setIsFirstRefresh(value?:Boolean):void -com.microsoft.graph.beta.models.tenantgovernanceservices.RelatedTenantsRefreshStatus::|public|setMostRecentRefreshRequestStatus(value?:String):void -com.microsoft.graph.beta.models.tenantgovernanceservices.RelatedTenantsRefreshStatus::|public|setMostRecentRefreshTime(value?:String):void -com.microsoft.graph.beta.models.tenantgovernanceservices.RelatedTenantsRefreshStatus::|public|setOdataType(value?:String):void -com.microsoft.graph.beta.models.tenantgovernanceservices.RelatedTenantsRefreshStatus::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):RelatedTenantsRefreshStatus -com.microsoft.graph.beta.models.tenantgovernanceservices.RelatedTenantsRefreshStatus~~>AdditionalDataHolder; BackedModel; Parsable -com.microsoft.graph.beta.models.tenantgovernanceservices.RelationshipCreationType::0000-ApprovedByAdmin -com.microsoft.graph.beta.models.tenantgovernanceservices.RelationshipCreationType::0001-AddOnTenant -com.microsoft.graph.beta.models.tenantgovernanceservices.RelationshipCreationType::0002-UnknownFutureValue -com.microsoft.graph.beta.models.tenantgovernanceservices.RelationshipPolicy::|protected|backingStore:BackingStore -com.microsoft.graph.beta.models.tenantgovernanceservices.RelationshipPolicy::|public|constructor():void -com.microsoft.graph.beta.models.tenantgovernanceservices.RelationshipPolicy::|public|getAdditionalData():Map -com.microsoft.graph.beta.models.tenantgovernanceservices.RelationshipPolicy::|public|getBackingStore():BackingStore -com.microsoft.graph.beta.models.tenantgovernanceservices.RelationshipPolicy::|public|getDelegatedAdministrationRoleAssignments():java.util.List -com.microsoft.graph.beta.models.tenantgovernanceservices.RelationshipPolicy::|public|getFieldDeserializers():Map> -com.microsoft.graph.beta.models.tenantgovernanceservices.RelationshipPolicy::|public|getGovernedTenantCanTerminate():Boolean -com.microsoft.graph.beta.models.tenantgovernanceservices.RelationshipPolicy::|public|getMultiTenantApplicationsToProvision():java.util.List -com.microsoft.graph.beta.models.tenantgovernanceservices.RelationshipPolicy::|public|getOdataType():String -com.microsoft.graph.beta.models.tenantgovernanceservices.RelationshipPolicy::|public|getPolicyId():String -com.microsoft.graph.beta.models.tenantgovernanceservices.RelationshipPolicy::|public|getVersion():Integer -com.microsoft.graph.beta.models.tenantgovernanceservices.RelationshipPolicy::|public|serialize(writer:SerializationWriter):Void -com.microsoft.graph.beta.models.tenantgovernanceservices.RelationshipPolicy::|public|setAdditionalData(value?:Map):void -com.microsoft.graph.beta.models.tenantgovernanceservices.RelationshipPolicy::|public|setBackingStore(value:BackingStore):void -com.microsoft.graph.beta.models.tenantgovernanceservices.RelationshipPolicy::|public|setDelegatedAdministrationRoleAssignments(value?:java.util.List):void -com.microsoft.graph.beta.models.tenantgovernanceservices.RelationshipPolicy::|public|setGovernedTenantCanTerminate(value?:Boolean):void -com.microsoft.graph.beta.models.tenantgovernanceservices.RelationshipPolicy::|public|setMultiTenantApplicationsToProvision(value?:java.util.List):void -com.microsoft.graph.beta.models.tenantgovernanceservices.RelationshipPolicy::|public|setOdataType(value?:String):void -com.microsoft.graph.beta.models.tenantgovernanceservices.RelationshipPolicy::|public|setPolicyId(value?:String):void -com.microsoft.graph.beta.models.tenantgovernanceservices.RelationshipPolicy::|public|setVersion(value?:Integer):void -com.microsoft.graph.beta.models.tenantgovernanceservices.RelationshipPolicy::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):RelationshipPolicy -com.microsoft.graph.beta.models.tenantgovernanceservices.RelationshipPolicy~~>AdditionalDataHolder; BackedModel; Parsable -com.microsoft.graph.beta.models.tenantgovernanceservices.RelationshipStatus::0000-Active -com.microsoft.graph.beta.models.tenantgovernanceservices.RelationshipStatus::0001-Terminated -com.microsoft.graph.beta.models.tenantgovernanceservices.RelationshipStatus::0002-TerminationRequestedByGoverningTenant -com.microsoft.graph.beta.models.tenantgovernanceservices.RelationshipStatus::0003-UnknownFutureValue -com.microsoft.graph.beta.models.tenantgovernanceservices.RequestStatus::0000-Pending -com.microsoft.graph.beta.models.tenantgovernanceservices.RequestStatus::0001-Accepted -com.microsoft.graph.beta.models.tenantgovernanceservices.RequestStatus::0002-Rejected -com.microsoft.graph.beta.models.tenantgovernanceservices.RequestStatus::0003-UnknownFutureValue -com.microsoft.graph.beta.models.tenantgovernanceservices.RequiredResourceAccess::|protected|backingStore:BackingStore -com.microsoft.graph.beta.models.tenantgovernanceservices.RequiredResourceAccess::|public|constructor():void -com.microsoft.graph.beta.models.tenantgovernanceservices.RequiredResourceAccess::|public|getAdditionalData():Map -com.microsoft.graph.beta.models.tenantgovernanceservices.RequiredResourceAccess::|public|getBackingStore():BackingStore -com.microsoft.graph.beta.models.tenantgovernanceservices.RequiredResourceAccess::|public|getFieldDeserializers():Map> -com.microsoft.graph.beta.models.tenantgovernanceservices.RequiredResourceAccess::|public|getOdataType():String -com.microsoft.graph.beta.models.tenantgovernanceservices.RequiredResourceAccess::|public|getPermissions():java.util.List -com.microsoft.graph.beta.models.tenantgovernanceservices.RequiredResourceAccess::|public|getResourceAppId():String -com.microsoft.graph.beta.models.tenantgovernanceservices.RequiredResourceAccess::|public|serialize(writer:SerializationWriter):Void -com.microsoft.graph.beta.models.tenantgovernanceservices.RequiredResourceAccess::|public|setAdditionalData(value?:Map):void -com.microsoft.graph.beta.models.tenantgovernanceservices.RequiredResourceAccess::|public|setBackingStore(value:BackingStore):void -com.microsoft.graph.beta.models.tenantgovernanceservices.RequiredResourceAccess::|public|setOdataType(value?:String):void -com.microsoft.graph.beta.models.tenantgovernanceservices.RequiredResourceAccess::|public|setPermissions(value?:java.util.List):void -com.microsoft.graph.beta.models.tenantgovernanceservices.RequiredResourceAccess::|public|setResourceAppId(value?:String):void -com.microsoft.graph.beta.models.tenantgovernanceservices.RequiredResourceAccess::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):RequiredResourceAccess -com.microsoft.graph.beta.models.tenantgovernanceservices.RequiredResourceAccess~~>AdditionalDataHolder; BackedModel; Parsable -com.microsoft.graph.beta.models.tenantgovernanceservices.ResourcePermission::|protected|backingStore:BackingStore -com.microsoft.graph.beta.models.tenantgovernanceservices.ResourcePermission::|public|constructor():void -com.microsoft.graph.beta.models.tenantgovernanceservices.ResourcePermission::|public|getAdditionalData():Map -com.microsoft.graph.beta.models.tenantgovernanceservices.ResourcePermission::|public|getBackingStore():BackingStore -com.microsoft.graph.beta.models.tenantgovernanceservices.ResourcePermission::|public|getFieldDeserializers():Map> -com.microsoft.graph.beta.models.tenantgovernanceservices.ResourcePermission::|public|getId():String -com.microsoft.graph.beta.models.tenantgovernanceservices.ResourcePermission::|public|getName():String -com.microsoft.graph.beta.models.tenantgovernanceservices.ResourcePermission::|public|getOdataType():String -com.microsoft.graph.beta.models.tenantgovernanceservices.ResourcePermission::|public|getType():PermissionType -com.microsoft.graph.beta.models.tenantgovernanceservices.ResourcePermission::|public|serialize(writer:SerializationWriter):Void -com.microsoft.graph.beta.models.tenantgovernanceservices.ResourcePermission::|public|setAdditionalData(value?:Map):void -com.microsoft.graph.beta.models.tenantgovernanceservices.ResourcePermission::|public|setBackingStore(value:BackingStore):void -com.microsoft.graph.beta.models.tenantgovernanceservices.ResourcePermission::|public|setId(value?:String):void -com.microsoft.graph.beta.models.tenantgovernanceservices.ResourcePermission::|public|setName(value?:String):void -com.microsoft.graph.beta.models.tenantgovernanceservices.ResourcePermission::|public|setOdataType(value?:String):void -com.microsoft.graph.beta.models.tenantgovernanceservices.ResourcePermission::|public|setType(value?:PermissionType):void -com.microsoft.graph.beta.models.tenantgovernanceservices.ResourcePermission::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):ResourcePermission -com.microsoft.graph.beta.models.tenantgovernanceservices.ResourcePermission~~>AdditionalDataHolder; BackedModel; Parsable -com.microsoft.graph.beta.models.tenantgovernanceservices.RoleTemplate::|protected|backingStore:BackingStore -com.microsoft.graph.beta.models.tenantgovernanceservices.RoleTemplate::|public|constructor():void -com.microsoft.graph.beta.models.tenantgovernanceservices.RoleTemplate::|public|getAdditionalData():Map -com.microsoft.graph.beta.models.tenantgovernanceservices.RoleTemplate::|public|getBackingStore():BackingStore -com.microsoft.graph.beta.models.tenantgovernanceservices.RoleTemplate::|public|getFieldDeserializers():Map> -com.microsoft.graph.beta.models.tenantgovernanceservices.RoleTemplate::|public|getId():String -com.microsoft.graph.beta.models.tenantgovernanceservices.RoleTemplate::|public|getName():String -com.microsoft.graph.beta.models.tenantgovernanceservices.RoleTemplate::|public|getOdataType():String -com.microsoft.graph.beta.models.tenantgovernanceservices.RoleTemplate::|public|serialize(writer:SerializationWriter):Void -com.microsoft.graph.beta.models.tenantgovernanceservices.RoleTemplate::|public|setAdditionalData(value?:Map):void -com.microsoft.graph.beta.models.tenantgovernanceservices.RoleTemplate::|public|setBackingStore(value:BackingStore):void -com.microsoft.graph.beta.models.tenantgovernanceservices.RoleTemplate::|public|setId(value?:String):void -com.microsoft.graph.beta.models.tenantgovernanceservices.RoleTemplate::|public|setName(value?:String):void -com.microsoft.graph.beta.models.tenantgovernanceservices.RoleTemplate::|public|setOdataType(value?:String):void -com.microsoft.graph.beta.models.tenantgovernanceservices.RoleTemplate::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):RoleTemplate -com.microsoft.graph.beta.models.tenantgovernanceservices.RoleTemplate~~>AdditionalDataHolder; BackedModel; Parsable -com.microsoft.graph.beta.models.tenantgovernanceservices.TenantGovernance-->Entity -com.microsoft.graph.beta.models.tenantgovernanceservices.TenantGovernance::|public|constructor():void -com.microsoft.graph.beta.models.tenantgovernanceservices.TenantGovernance::|public|getFieldDeserializers():Map> -com.microsoft.graph.beta.models.tenantgovernanceservices.TenantGovernance::|public|getGovernanceInvitations():java.util.List -com.microsoft.graph.beta.models.tenantgovernanceservices.TenantGovernance::|public|getGovernancePolicyTemplates():java.util.List -com.microsoft.graph.beta.models.tenantgovernanceservices.TenantGovernance::|public|getGovernanceRelationships():java.util.List -com.microsoft.graph.beta.models.tenantgovernanceservices.TenantGovernance::|public|getGovernanceRequests():java.util.List -com.microsoft.graph.beta.models.tenantgovernanceservices.TenantGovernance::|public|getRelatedTenants():java.util.List -com.microsoft.graph.beta.models.tenantgovernanceservices.TenantGovernance::|public|getSettings():TenantGovernanceSetting -com.microsoft.graph.beta.models.tenantgovernanceservices.TenantGovernance::|public|OdataType:String -com.microsoft.graph.beta.models.tenantgovernanceservices.TenantGovernance::|public|serialize(writer:SerializationWriter):Void -com.microsoft.graph.beta.models.tenantgovernanceservices.TenantGovernance::|public|setGovernanceInvitations(value?:java.util.List):void -com.microsoft.graph.beta.models.tenantgovernanceservices.TenantGovernance::|public|setGovernancePolicyTemplates(value?:java.util.List):void -com.microsoft.graph.beta.models.tenantgovernanceservices.TenantGovernance::|public|setGovernanceRelationships(value?:java.util.List):void -com.microsoft.graph.beta.models.tenantgovernanceservices.TenantGovernance::|public|setGovernanceRequests(value?:java.util.List):void -com.microsoft.graph.beta.models.tenantgovernanceservices.TenantGovernance::|public|setRelatedTenants(value?:java.util.List):void -com.microsoft.graph.beta.models.tenantgovernanceservices.TenantGovernance::|public|setSettings(value?:TenantGovernanceSetting):void -com.microsoft.graph.beta.models.tenantgovernanceservices.TenantGovernance::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):TenantGovernance -com.microsoft.graph.beta.models.tenantgovernanceservices.TenantGovernanceSetting-->Entity -com.microsoft.graph.beta.models.tenantgovernanceservices.TenantGovernanceSetting::|public|constructor():void -com.microsoft.graph.beta.models.tenantgovernanceservices.TenantGovernanceSetting::|public|getCanReceiveInvitations():Boolean -com.microsoft.graph.beta.models.tenantgovernanceservices.TenantGovernanceSetting::|public|getFieldDeserializers():Map> -com.microsoft.graph.beta.models.tenantgovernanceservices.TenantGovernanceSetting::|public|getIsRelatedTenantsEnabled():Boolean -com.microsoft.graph.beta.models.tenantgovernanceservices.TenantGovernanceSetting::|public|OdataType:String -com.microsoft.graph.beta.models.tenantgovernanceservices.TenantGovernanceSetting::|public|serialize(writer:SerializationWriter):Void -com.microsoft.graph.beta.models.tenantgovernanceservices.TenantGovernanceSetting::|public|setCanReceiveInvitations(value?:Boolean):void -com.microsoft.graph.beta.models.tenantgovernanceservices.TenantGovernanceSetting::|public|setIsRelatedTenantsEnabled(value?:Boolean):void -com.microsoft.graph.beta.models.tenantgovernanceservices.TenantGovernanceSetting::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):TenantGovernanceSetting +com.microsoft.graph.beta.models.TenantGovernance-->Entity +com.microsoft.graph.beta.models.TenantGovernance::|public|constructor():void +com.microsoft.graph.beta.models.TenantGovernance::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.TenantGovernance::|public|getGovernanceInvitations():java.util.List +com.microsoft.graph.beta.models.TenantGovernance::|public|getGovernancePolicyTemplates():java.util.List +com.microsoft.graph.beta.models.TenantGovernance::|public|getGovernanceRelationships():java.util.List +com.microsoft.graph.beta.models.TenantGovernance::|public|getGovernanceRequests():java.util.List +com.microsoft.graph.beta.models.TenantGovernance::|public|getRelatedTenants():java.util.List +com.microsoft.graph.beta.models.TenantGovernance::|public|getSettings():TenantGovernanceSetting +com.microsoft.graph.beta.models.TenantGovernance::|public|OdataType:String +com.microsoft.graph.beta.models.TenantGovernance::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.TenantGovernance::|public|setGovernanceInvitations(value?:java.util.List):void +com.microsoft.graph.beta.models.TenantGovernance::|public|setGovernancePolicyTemplates(value?:java.util.List):void +com.microsoft.graph.beta.models.TenantGovernance::|public|setGovernanceRelationships(value?:java.util.List):void +com.microsoft.graph.beta.models.TenantGovernance::|public|setGovernanceRequests(value?:java.util.List):void +com.microsoft.graph.beta.models.TenantGovernance::|public|setRelatedTenants(value?:java.util.List):void +com.microsoft.graph.beta.models.TenantGovernance::|public|setSettings(value?:TenantGovernanceSetting):void +com.microsoft.graph.beta.models.TenantGovernance::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):TenantGovernance +com.microsoft.graph.beta.models.TenantGovernancePolicyTemplate-->Entity +com.microsoft.graph.beta.models.TenantGovernancePolicyTemplate::|public|constructor():void +com.microsoft.graph.beta.models.TenantGovernancePolicyTemplate::|public|getCreatedDateTime():OffsetDateTime +com.microsoft.graph.beta.models.TenantGovernancePolicyTemplate::|public|getDelegatedAdministrationRoleAssignments():java.util.List +com.microsoft.graph.beta.models.TenantGovernancePolicyTemplate::|public|getDescription():String +com.microsoft.graph.beta.models.TenantGovernancePolicyTemplate::|public|getDisplayName():String +com.microsoft.graph.beta.models.TenantGovernancePolicyTemplate::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.TenantGovernancePolicyTemplate::|public|getGovernedTenantCanTerminate():Boolean +com.microsoft.graph.beta.models.TenantGovernancePolicyTemplate::|public|getLastModifiedDateTime():OffsetDateTime +com.microsoft.graph.beta.models.TenantGovernancePolicyTemplate::|public|getMultiTenantApplicationsToProvision():java.util.List +com.microsoft.graph.beta.models.TenantGovernancePolicyTemplate::|public|getVersion():String +com.microsoft.graph.beta.models.TenantGovernancePolicyTemplate::|public|OdataType:String +com.microsoft.graph.beta.models.TenantGovernancePolicyTemplate::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.TenantGovernancePolicyTemplate::|public|setCreatedDateTime(value?:OffsetDateTime):void +com.microsoft.graph.beta.models.TenantGovernancePolicyTemplate::|public|setDelegatedAdministrationRoleAssignments(value?:java.util.List):void +com.microsoft.graph.beta.models.TenantGovernancePolicyTemplate::|public|setDescription(value?:String):void +com.microsoft.graph.beta.models.TenantGovernancePolicyTemplate::|public|setDisplayName(value?:String):void +com.microsoft.graph.beta.models.TenantGovernancePolicyTemplate::|public|setGovernedTenantCanTerminate(value?:Boolean):void +com.microsoft.graph.beta.models.TenantGovernancePolicyTemplate::|public|setLastModifiedDateTime(value?:OffsetDateTime):void +com.microsoft.graph.beta.models.TenantGovernancePolicyTemplate::|public|setMultiTenantApplicationsToProvision(value?:java.util.List):void +com.microsoft.graph.beta.models.TenantGovernancePolicyTemplate::|public|setVersion(value?:String):void +com.microsoft.graph.beta.models.TenantGovernancePolicyTemplate::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):TenantGovernancePolicyTemplate +com.microsoft.graph.beta.models.TenantGovernancePolicyTemplateCollectionResponse-->BaseCollectionPaginationCountResponse +com.microsoft.graph.beta.models.TenantGovernancePolicyTemplateCollectionResponse::|public|constructor():void +com.microsoft.graph.beta.models.TenantGovernancePolicyTemplateCollectionResponse::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.TenantGovernancePolicyTemplateCollectionResponse::|public|getValue():java.util.List +com.microsoft.graph.beta.models.TenantGovernancePolicyTemplateCollectionResponse::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.TenantGovernancePolicyTemplateCollectionResponse::|public|setValue(value?:java.util.List):void +com.microsoft.graph.beta.models.TenantGovernancePolicyTemplateCollectionResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):TenantGovernancePolicyTemplateCollectionResponse +com.microsoft.graph.beta.models.TenantGovernanceSetting-->Entity +com.microsoft.graph.beta.models.TenantGovernanceSetting::|public|constructor():void +com.microsoft.graph.beta.models.TenantGovernanceSetting::|public|getCanReceiveInvitations():Boolean +com.microsoft.graph.beta.models.TenantGovernanceSetting::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.TenantGovernanceSetting::|public|getIsRelatedTenantsEnabled():Boolean +com.microsoft.graph.beta.models.TenantGovernanceSetting::|public|OdataType:String +com.microsoft.graph.beta.models.TenantGovernanceSetting::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.TenantGovernanceSetting::|public|setCanReceiveInvitations(value?:Boolean):void +com.microsoft.graph.beta.models.TenantGovernanceSetting::|public|setIsRelatedTenantsEnabled(value?:Boolean):void +com.microsoft.graph.beta.models.TenantGovernanceSetting::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):TenantGovernanceSetting com.microsoft.graph.beta.models.TenantInformation::|protected|backingStore:BackingStore com.microsoft.graph.beta.models.TenantInformation::|public|constructor():void com.microsoft.graph.beta.models.TenantInformation::|public|getAdditionalData():Map @@ -303464,6 +305263,7 @@ com.microsoft.graph.beta.models.termstore.TermGroupScope::0002-SiteCollection com.microsoft.graph.beta.models.TextClassificationRequest-->Entity com.microsoft.graph.beta.models.TextClassificationRequest::|public|constructor():void com.microsoft.graph.beta.models.TextClassificationRequest::|public|getContentMetaData():ClassificationRequestContentMetaData +com.microsoft.graph.beta.models.TextClassificationRequest::|public|getEmbeddings():java.util.List com.microsoft.graph.beta.models.TextClassificationRequest::|public|getFieldDeserializers():Map> com.microsoft.graph.beta.models.TextClassificationRequest::|public|getFileExtension():String com.microsoft.graph.beta.models.TextClassificationRequest::|public|getMatchTolerancesToInclude():MlClassificationMatchTolerance @@ -303473,6 +305273,7 @@ com.microsoft.graph.beta.models.TextClassificationRequest::|public|getText():Str com.microsoft.graph.beta.models.TextClassificationRequest::|public|OdataType:String com.microsoft.graph.beta.models.TextClassificationRequest::|public|serialize(writer:SerializationWriter):Void com.microsoft.graph.beta.models.TextClassificationRequest::|public|setContentMetaData(value?:ClassificationRequestContentMetaData):void +com.microsoft.graph.beta.models.TextClassificationRequest::|public|setEmbeddings(value?:java.util.List):void com.microsoft.graph.beta.models.TextClassificationRequest::|public|setFileExtension(value?:String):void com.microsoft.graph.beta.models.TextClassificationRequest::|public|setMatchTolerancesToInclude(value?:MlClassificationMatchTolerance):void com.microsoft.graph.beta.models.TextClassificationRequest::|public|setScopesToRun(value?:SensitiveTypeScope):void @@ -306676,6 +308477,7 @@ com.microsoft.graph.beta.models.UserActivityTypes::0006-CopyToClipboard com.microsoft.graph.beta.models.UserActivityTypes::0007-PasteFromClipboard com.microsoft.graph.beta.models.UserActivityTypes::0008-Print com.microsoft.graph.beta.models.UserActivityTypes::0009-AccessDebugTools +com.microsoft.graph.beta.models.UserActivityTypes::0010-ContentFiltering com.microsoft.graph.beta.models.UserAnalytics-->Entity com.microsoft.graph.beta.models.UserAnalytics::|public|constructor():void com.microsoft.graph.beta.models.UserAnalytics::|public|getActivityStatistics():java.util.List @@ -315510,10 +317312,17 @@ com.microsoft.graph.beta.models.WindowsManagedAppClipboardSharingLevel::0001-Non com.microsoft.graph.beta.models.WindowsManagedAppClipboardSharingLevel::0002-UnknownFutureValue com.microsoft.graph.beta.models.WindowsManagedAppDataTransferLevel::0000-AllApps com.microsoft.graph.beta.models.WindowsManagedAppDataTransferLevel::0001-None +com.microsoft.graph.beta.models.WindowsManagedAppDataTransferLevel::0002-SelectedApps +com.microsoft.graph.beta.models.WindowsManagedAppDataTransferLevel::0003-UnknownFutureValue +com.microsoft.graph.beta.models.WindowsManagedAppDataTransferLocations::0000-None +com.microsoft.graph.beta.models.WindowsManagedAppDataTransferLocations::0001-OneDriveForBusiness +com.microsoft.graph.beta.models.WindowsManagedAppDataTransferLocations::0002-UnknownFutureValue com.microsoft.graph.beta.models.WindowsManagedAppProtection-->ManagedAppPolicy com.microsoft.graph.beta.models.WindowsManagedAppProtection::|public|constructor():void +com.microsoft.graph.beta.models.WindowsManagedAppProtection::|public|getAllowedInboundDataTransferSourceApps():WindowsManagedAppDataTransferLocations com.microsoft.graph.beta.models.WindowsManagedAppProtection::|public|getAllowedInboundDataTransferSources():WindowsManagedAppDataTransferLevel com.microsoft.graph.beta.models.WindowsManagedAppProtection::|public|getAllowedOutboundClipboardSharingLevel():WindowsManagedAppClipboardSharingLevel +com.microsoft.graph.beta.models.WindowsManagedAppProtection::|public|getAllowedOutboundDataTransferDestinationApps():WindowsManagedAppDataTransferLocations com.microsoft.graph.beta.models.WindowsManagedAppProtection::|public|getAllowedOutboundDataTransferDestinations():WindowsManagedAppDataTransferLevel com.microsoft.graph.beta.models.WindowsManagedAppProtection::|public|getAppActionIfUnableToAuthenticateUser():ManagedAppRemediationAction com.microsoft.graph.beta.models.WindowsManagedAppProtection::|public|getApps():java.util.List @@ -315540,8 +317349,10 @@ com.microsoft.graph.beta.models.WindowsManagedAppProtection::|public|getPeriodOf com.microsoft.graph.beta.models.WindowsManagedAppProtection::|public|getPrintBlocked():Boolean com.microsoft.graph.beta.models.WindowsManagedAppProtection::|public|OdataType:String com.microsoft.graph.beta.models.WindowsManagedAppProtection::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.WindowsManagedAppProtection::|public|setAllowedInboundDataTransferSourceApps(value?:WindowsManagedAppDataTransferLocations):void com.microsoft.graph.beta.models.WindowsManagedAppProtection::|public|setAllowedInboundDataTransferSources(value?:WindowsManagedAppDataTransferLevel):void com.microsoft.graph.beta.models.WindowsManagedAppProtection::|public|setAllowedOutboundClipboardSharingLevel(value?:WindowsManagedAppClipboardSharingLevel):void +com.microsoft.graph.beta.models.WindowsManagedAppProtection::|public|setAllowedOutboundDataTransferDestinationApps(value?:WindowsManagedAppDataTransferLocations):void com.microsoft.graph.beta.models.WindowsManagedAppProtection::|public|setAllowedOutboundDataTransferDestinations(value?:WindowsManagedAppDataTransferLevel):void com.microsoft.graph.beta.models.WindowsManagedAppProtection::|public|setAppActionIfUnableToAuthenticateUser(value?:ManagedAppRemediationAction):void com.microsoft.graph.beta.models.WindowsManagedAppProtection::|public|setApps(value?:java.util.List):void @@ -355638,6 +357449,7 @@ com.microsoft.graph.beta.security.alerts_v2.AlertsV2RequestBuilder::|public|cons com.microsoft.graph.beta.security.alerts_v2.AlertsV2RequestBuilder::|public|count:CountRequestBuilder com.microsoft.graph.beta.security.alerts_v2.AlertsV2RequestBuilder::|public|get():AlertCollectionResponse com.microsoft.graph.beta.security.alerts_v2.AlertsV2RequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):AlertCollectionResponse +com.microsoft.graph.beta.security.alerts_v2.AlertsV2RequestBuilder::|public|microsoftGraphSecurityCreateAlert:MicrosoftGraphSecurityCreateAlertRequestBuilder com.microsoft.graph.beta.security.alerts_v2.AlertsV2RequestBuilder::|public|microsoftGraphSecurityMoveAlerts:MicrosoftGraphSecurityMoveAlertsRequestBuilder com.microsoft.graph.beta.security.alerts_v2.AlertsV2RequestBuilder::|public|post(body:Alert):Alert com.microsoft.graph.beta.security.alerts_v2.AlertsV2RequestBuilder::|public|post(body:Alert; requestConfiguration?:java.util.function.Consumer):Alert @@ -355709,6 +357521,27 @@ com.microsoft.graph.beta.security.alerts_v2.item.comments.count.CountRequestBuil com.microsoft.graph.beta.security.alerts_v2.item.comments.count.CountRequestBuilder::|public|toGetRequestInformation():RequestInformation com.microsoft.graph.beta.security.alerts_v2.item.comments.count.CountRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.security.alerts_v2.item.comments.count.CountRequestBuilder::|public|withUrl(rawUrl:String):CountRequestBuilder +com.microsoft.graph.beta.security.alerts_v2.microsoftgraphsecuritycreatealert.CreateAlertPostRequestBody::|protected|backingStore:BackingStore +com.microsoft.graph.beta.security.alerts_v2.microsoftgraphsecuritycreatealert.CreateAlertPostRequestBody::|public|constructor():void +com.microsoft.graph.beta.security.alerts_v2.microsoftgraphsecuritycreatealert.CreateAlertPostRequestBody::|public|getAdditionalData():Map +com.microsoft.graph.beta.security.alerts_v2.microsoftgraphsecuritycreatealert.CreateAlertPostRequestBody::|public|getBackingStore():BackingStore +com.microsoft.graph.beta.security.alerts_v2.microsoftgraphsecuritycreatealert.CreateAlertPostRequestBody::|public|getCreateAlertInput():CreateAlertInput +com.microsoft.graph.beta.security.alerts_v2.microsoftgraphsecuritycreatealert.CreateAlertPostRequestBody::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.security.alerts_v2.microsoftgraphsecuritycreatealert.CreateAlertPostRequestBody::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.security.alerts_v2.microsoftgraphsecuritycreatealert.CreateAlertPostRequestBody::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.beta.security.alerts_v2.microsoftgraphsecuritycreatealert.CreateAlertPostRequestBody::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.beta.security.alerts_v2.microsoftgraphsecuritycreatealert.CreateAlertPostRequestBody::|public|setCreateAlertInput(value?:CreateAlertInput):void +com.microsoft.graph.beta.security.alerts_v2.microsoftgraphsecuritycreatealert.CreateAlertPostRequestBody::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):CreateAlertPostRequestBody +com.microsoft.graph.beta.security.alerts_v2.microsoftgraphsecuritycreatealert.CreateAlertPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.beta.security.alerts_v2.microsoftgraphsecuritycreatealert.MicrosoftGraphSecurityCreateAlertRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.security.alerts_v2.microsoftgraphsecuritycreatealert.MicrosoftGraphSecurityCreateAlertRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.security.alerts_v2.microsoftgraphsecuritycreatealert.MicrosoftGraphSecurityCreateAlertRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.security.alerts_v2.microsoftgraphsecuritycreatealert.MicrosoftGraphSecurityCreateAlertRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.security.alerts_v2.microsoftgraphsecuritycreatealert.MicrosoftGraphSecurityCreateAlertRequestBuilder::|public|post(body:CreateAlertPostRequestBody):Alert +com.microsoft.graph.beta.security.alerts_v2.microsoftgraphsecuritycreatealert.MicrosoftGraphSecurityCreateAlertRequestBuilder::|public|post(body:CreateAlertPostRequestBody; requestConfiguration?:java.util.function.Consumer):Alert +com.microsoft.graph.beta.security.alerts_v2.microsoftgraphsecuritycreatealert.MicrosoftGraphSecurityCreateAlertRequestBuilder::|public|toPostRequestInformation(body:CreateAlertPostRequestBody):RequestInformation +com.microsoft.graph.beta.security.alerts_v2.microsoftgraphsecuritycreatealert.MicrosoftGraphSecurityCreateAlertRequestBuilder::|public|toPostRequestInformation(body:CreateAlertPostRequestBody; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.security.alerts_v2.microsoftgraphsecuritycreatealert.MicrosoftGraphSecurityCreateAlertRequestBuilder::|public|withUrl(rawUrl:String):MicrosoftGraphSecurityCreateAlertRequestBuilder com.microsoft.graph.beta.security.alerts_v2.microsoftgraphsecuritymovealerts.MicrosoftGraphSecurityMoveAlertsRequestBuilder-->BaseRequestBuilder com.microsoft.graph.beta.security.alerts_v2.microsoftgraphsecuritymovealerts.MicrosoftGraphSecurityMoveAlertsRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.beta.security.alerts_v2.microsoftgraphsecuritymovealerts.MicrosoftGraphSecurityMoveAlertsRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void @@ -368134,6 +369967,96 @@ com.microsoft.graph.beta.serviceprincipals.item.licensedetails.LicenseDetailsReq com.microsoft.graph.beta.serviceprincipals.item.licensedetails.LicenseDetailsRequestBuilder::|public|toPostRequestInformation(body:LicenseDetails):RequestInformation com.microsoft.graph.beta.serviceprincipals.item.licensedetails.LicenseDetailsRequestBuilder::|public|toPostRequestInformation(body:LicenseDetails; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.serviceprincipals.item.licensedetails.LicenseDetailsRequestBuilder::|public|withUrl(rawUrl:String):LicenseDetailsRequestBuilder +com.microsoft.graph.beta.serviceprincipals.item.lifecycle.complianceissues.ComplianceIssuesRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.serviceprincipals.item.lifecycle.complianceissues.ComplianceIssuesRequestBuilder.GetQueryParameters::|public|count:Boolean +com.microsoft.graph.beta.serviceprincipals.item.lifecycle.complianceissues.ComplianceIssuesRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.beta.serviceprincipals.item.lifecycle.complianceissues.ComplianceIssuesRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.beta.serviceprincipals.item.lifecycle.complianceissues.ComplianceIssuesRequestBuilder.GetQueryParameters::|public|orderby:String[] +com.microsoft.graph.beta.serviceprincipals.item.lifecycle.complianceissues.ComplianceIssuesRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.beta.serviceprincipals.item.lifecycle.complianceissues.ComplianceIssuesRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.beta.serviceprincipals.item.lifecycle.complianceissues.ComplianceIssuesRequestBuilder.GetQueryParameters::|public|skip:Integer +com.microsoft.graph.beta.serviceprincipals.item.lifecycle.complianceissues.ComplianceIssuesRequestBuilder.GetQueryParameters::|public|top:Integer +com.microsoft.graph.beta.serviceprincipals.item.lifecycle.complianceissues.ComplianceIssuesRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.serviceprincipals.item.lifecycle.complianceissues.ComplianceIssuesRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.serviceprincipals.item.lifecycle.complianceissues.ComplianceIssuesRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.serviceprincipals.item.lifecycle.complianceissues.ComplianceIssuesRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.serviceprincipals.item.lifecycle.complianceissues.ComplianceIssuesRequestBuilder::|public|byComplianceIssueId(complianceIssueId:String):ComplianceIssueItemRequestBuilder +com.microsoft.graph.beta.serviceprincipals.item.lifecycle.complianceissues.ComplianceIssuesRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.serviceprincipals.item.lifecycle.complianceissues.ComplianceIssuesRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.serviceprincipals.item.lifecycle.complianceissues.ComplianceIssuesRequestBuilder::|public|count:CountRequestBuilder +com.microsoft.graph.beta.serviceprincipals.item.lifecycle.complianceissues.ComplianceIssuesRequestBuilder::|public|get():ComplianceIssueCollectionResponse +com.microsoft.graph.beta.serviceprincipals.item.lifecycle.complianceissues.ComplianceIssuesRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):ComplianceIssueCollectionResponse +com.microsoft.graph.beta.serviceprincipals.item.lifecycle.complianceissues.ComplianceIssuesRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.serviceprincipals.item.lifecycle.complianceissues.ComplianceIssuesRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.serviceprincipals.item.lifecycle.complianceissues.ComplianceIssuesRequestBuilder::|public|withUrl(rawUrl:String):ComplianceIssuesRequestBuilder +com.microsoft.graph.beta.serviceprincipals.item.lifecycle.complianceissues.count.CountRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.serviceprincipals.item.lifecycle.complianceissues.count.CountRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.beta.serviceprincipals.item.lifecycle.complianceissues.count.CountRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.beta.serviceprincipals.item.lifecycle.complianceissues.count.CountRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.serviceprincipals.item.lifecycle.complianceissues.count.CountRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.serviceprincipals.item.lifecycle.complianceissues.count.CountRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.serviceprincipals.item.lifecycle.complianceissues.count.CountRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.serviceprincipals.item.lifecycle.complianceissues.count.CountRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.serviceprincipals.item.lifecycle.complianceissues.count.CountRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.serviceprincipals.item.lifecycle.complianceissues.count.CountRequestBuilder::|public|get():Integer +com.microsoft.graph.beta.serviceprincipals.item.lifecycle.complianceissues.count.CountRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):Integer +com.microsoft.graph.beta.serviceprincipals.item.lifecycle.complianceissues.count.CountRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.serviceprincipals.item.lifecycle.complianceissues.count.CountRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.serviceprincipals.item.lifecycle.complianceissues.count.CountRequestBuilder::|public|withUrl(rawUrl:String):CountRequestBuilder +com.microsoft.graph.beta.serviceprincipals.item.lifecycle.complianceissues.item.ComplianceIssueItemRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.serviceprincipals.item.lifecycle.complianceissues.item.ComplianceIssueItemRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.beta.serviceprincipals.item.lifecycle.complianceissues.item.ComplianceIssueItemRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.beta.serviceprincipals.item.lifecycle.complianceissues.item.ComplianceIssueItemRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.serviceprincipals.item.lifecycle.complianceissues.item.ComplianceIssueItemRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.serviceprincipals.item.lifecycle.complianceissues.item.ComplianceIssueItemRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.serviceprincipals.item.lifecycle.complianceissues.item.ComplianceIssueItemRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.serviceprincipals.item.lifecycle.complianceissues.item.ComplianceIssueItemRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.serviceprincipals.item.lifecycle.complianceissues.item.ComplianceIssueItemRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.serviceprincipals.item.lifecycle.complianceissues.item.ComplianceIssueItemRequestBuilder::|public|get():ComplianceIssue +com.microsoft.graph.beta.serviceprincipals.item.lifecycle.complianceissues.item.ComplianceIssueItemRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):ComplianceIssue +com.microsoft.graph.beta.serviceprincipals.item.lifecycle.complianceissues.item.ComplianceIssueItemRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.serviceprincipals.item.lifecycle.complianceissues.item.ComplianceIssueItemRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.serviceprincipals.item.lifecycle.complianceissues.item.ComplianceIssueItemRequestBuilder::|public|withUrl(rawUrl:String):ComplianceIssueItemRequestBuilder +com.microsoft.graph.beta.serviceprincipals.item.lifecycle.effectivegoverningpolicy.EffectiveGoverningPolicyRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.serviceprincipals.item.lifecycle.effectivegoverningpolicy.EffectiveGoverningPolicyRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.beta.serviceprincipals.item.lifecycle.effectivegoverningpolicy.EffectiveGoverningPolicyRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.beta.serviceprincipals.item.lifecycle.effectivegoverningpolicy.EffectiveGoverningPolicyRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.serviceprincipals.item.lifecycle.effectivegoverningpolicy.EffectiveGoverningPolicyRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.serviceprincipals.item.lifecycle.effectivegoverningpolicy.EffectiveGoverningPolicyRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.serviceprincipals.item.lifecycle.effectivegoverningpolicy.EffectiveGoverningPolicyRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.serviceprincipals.item.lifecycle.effectivegoverningpolicy.EffectiveGoverningPolicyRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.serviceprincipals.item.lifecycle.effectivegoverningpolicy.EffectiveGoverningPolicyRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.serviceprincipals.item.lifecycle.effectivegoverningpolicy.EffectiveGoverningPolicyRequestBuilder::|public|get():LifecyclePolicy +com.microsoft.graph.beta.serviceprincipals.item.lifecycle.effectivegoverningpolicy.EffectiveGoverningPolicyRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):LifecyclePolicy +com.microsoft.graph.beta.serviceprincipals.item.lifecycle.effectivegoverningpolicy.EffectiveGoverningPolicyRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.serviceprincipals.item.lifecycle.effectivegoverningpolicy.EffectiveGoverningPolicyRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.serviceprincipals.item.lifecycle.effectivegoverningpolicy.EffectiveGoverningPolicyRequestBuilder::|public|withUrl(rawUrl:String):EffectiveGoverningPolicyRequestBuilder +com.microsoft.graph.beta.serviceprincipals.item.lifecycle.LifecycleRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.serviceprincipals.item.lifecycle.LifecycleRequestBuilder.DeleteRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.serviceprincipals.item.lifecycle.LifecycleRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.beta.serviceprincipals.item.lifecycle.LifecycleRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.beta.serviceprincipals.item.lifecycle.LifecycleRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.serviceprincipals.item.lifecycle.LifecycleRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.serviceprincipals.item.lifecycle.LifecycleRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.serviceprincipals.item.lifecycle.LifecycleRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.serviceprincipals.item.lifecycle.LifecycleRequestBuilder.PatchRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.serviceprincipals.item.lifecycle.LifecycleRequestBuilder::|public|complianceIssues:ComplianceIssuesRequestBuilder +com.microsoft.graph.beta.serviceprincipals.item.lifecycle.LifecycleRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.serviceprincipals.item.lifecycle.LifecycleRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.serviceprincipals.item.lifecycle.LifecycleRequestBuilder::|public|delete():Void +com.microsoft.graph.beta.serviceprincipals.item.lifecycle.LifecycleRequestBuilder::|public|delete(requestConfiguration?:java.util.function.Consumer):Void +com.microsoft.graph.beta.serviceprincipals.item.lifecycle.LifecycleRequestBuilder::|public|effectiveGoverningPolicy:EffectiveGoverningPolicyRequestBuilder +com.microsoft.graph.beta.serviceprincipals.item.lifecycle.LifecycleRequestBuilder::|public|get():IdentityLifecycle +com.microsoft.graph.beta.serviceprincipals.item.lifecycle.LifecycleRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):IdentityLifecycle +com.microsoft.graph.beta.serviceprincipals.item.lifecycle.LifecycleRequestBuilder::|public|patch(body:IdentityLifecycle):IdentityLifecycle +com.microsoft.graph.beta.serviceprincipals.item.lifecycle.LifecycleRequestBuilder::|public|patch(body:IdentityLifecycle; requestConfiguration?:java.util.function.Consumer):IdentityLifecycle +com.microsoft.graph.beta.serviceprincipals.item.lifecycle.LifecycleRequestBuilder::|public|toDeleteRequestInformation():RequestInformation +com.microsoft.graph.beta.serviceprincipals.item.lifecycle.LifecycleRequestBuilder::|public|toDeleteRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.serviceprincipals.item.lifecycle.LifecycleRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.serviceprincipals.item.lifecycle.LifecycleRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.serviceprincipals.item.lifecycle.LifecycleRequestBuilder::|public|toPatchRequestInformation(body:IdentityLifecycle):RequestInformation +com.microsoft.graph.beta.serviceprincipals.item.lifecycle.LifecycleRequestBuilder::|public|toPatchRequestInformation(body:IdentityLifecycle; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.serviceprincipals.item.lifecycle.LifecycleRequestBuilder::|public|withUrl(rawUrl:String):LifecycleRequestBuilder com.microsoft.graph.beta.serviceprincipals.item.memberof.count.CountRequestBuilder-->BaseRequestBuilder com.microsoft.graph.beta.serviceprincipals.item.memberof.count.CountRequestBuilder.GetQueryParameters::|public|filter:String com.microsoft.graph.beta.serviceprincipals.item.memberof.count.CountRequestBuilder.GetQueryParameters::|public|search:String @@ -368337,6 +370260,15 @@ com.microsoft.graph.beta.serviceprincipals.item.memberof.MemberOfRequestBuilder: com.microsoft.graph.beta.serviceprincipals.item.memberof.MemberOfRequestBuilder::|public|toGetRequestInformation():RequestInformation com.microsoft.graph.beta.serviceprincipals.item.memberof.MemberOfRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.serviceprincipals.item.memberof.MemberOfRequestBuilder::|public|withUrl(rawUrl:String):MemberOfRequestBuilder +com.microsoft.graph.beta.serviceprincipals.item.microsoftgraphidentitygovernanceattest.MicrosoftGraphIdentityGovernanceAttestRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.serviceprincipals.item.microsoftgraphidentitygovernanceattest.MicrosoftGraphIdentityGovernanceAttestRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.serviceprincipals.item.microsoftgraphidentitygovernanceattest.MicrosoftGraphIdentityGovernanceAttestRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.serviceprincipals.item.microsoftgraphidentitygovernanceattest.MicrosoftGraphIdentityGovernanceAttestRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.serviceprincipals.item.microsoftgraphidentitygovernanceattest.MicrosoftGraphIdentityGovernanceAttestRequestBuilder::|public|post():Void +com.microsoft.graph.beta.serviceprincipals.item.microsoftgraphidentitygovernanceattest.MicrosoftGraphIdentityGovernanceAttestRequestBuilder::|public|post(requestConfiguration?:java.util.function.Consumer):Void +com.microsoft.graph.beta.serviceprincipals.item.microsoftgraphidentitygovernanceattest.MicrosoftGraphIdentityGovernanceAttestRequestBuilder::|public|toPostRequestInformation():RequestInformation +com.microsoft.graph.beta.serviceprincipals.item.microsoftgraphidentitygovernanceattest.MicrosoftGraphIdentityGovernanceAttestRequestBuilder::|public|toPostRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.serviceprincipals.item.microsoftgraphidentitygovernanceattest.MicrosoftGraphIdentityGovernanceAttestRequestBuilder::|public|withUrl(rawUrl:String):MicrosoftGraphIdentityGovernanceAttestRequestBuilder com.microsoft.graph.beta.serviceprincipals.item.oauth2permissiongrants.count.CountRequestBuilder-->BaseRequestBuilder com.microsoft.graph.beta.serviceprincipals.item.oauth2permissiongrants.count.CountRequestBuilder.GetQueryParameters::|public|filter:String com.microsoft.graph.beta.serviceprincipals.item.oauth2permissiongrants.count.CountRequestBuilder.GetQueryParameters::|public|search:String @@ -369228,7 +371160,9 @@ com.microsoft.graph.beta.serviceprincipals.item.ServicePrincipalItemRequestBuild com.microsoft.graph.beta.serviceprincipals.item.ServicePrincipalItemRequestBuilder::|public|getPasswordSingleSignOnCredentials:GetPasswordSingleSignOnCredentialsRequestBuilder com.microsoft.graph.beta.serviceprincipals.item.ServicePrincipalItemRequestBuilder::|public|homeRealmDiscoveryPolicies:HomeRealmDiscoveryPoliciesRequestBuilder com.microsoft.graph.beta.serviceprincipals.item.ServicePrincipalItemRequestBuilder::|public|licenseDetails:LicenseDetailsRequestBuilder +com.microsoft.graph.beta.serviceprincipals.item.ServicePrincipalItemRequestBuilder::|public|lifecycle:LifecycleRequestBuilder com.microsoft.graph.beta.serviceprincipals.item.ServicePrincipalItemRequestBuilder::|public|memberOf:MemberOfRequestBuilder +com.microsoft.graph.beta.serviceprincipals.item.ServicePrincipalItemRequestBuilder::|public|microsoftGraphIdentityGovernanceAttest:MicrosoftGraphIdentityGovernanceAttestRequestBuilder com.microsoft.graph.beta.serviceprincipals.item.ServicePrincipalItemRequestBuilder::|public|oauth2PermissionGrants:Oauth2PermissionGrantsRequestBuilder com.microsoft.graph.beta.serviceprincipals.item.ServicePrincipalItemRequestBuilder::|public|ownedObjects:OwnedObjectsRequestBuilder com.microsoft.graph.beta.serviceprincipals.item.ServicePrincipalItemRequestBuilder::|public|owners:OwnersRequestBuilder @@ -439249,6 +441183,7 @@ com.microsoft.graph.beta.users.item.devices.DevicesRequestBuilder::|public|get() com.microsoft.graph.beta.users.item.devices.DevicesRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):DeviceCollectionResponse com.microsoft.graph.beta.users.item.devices.DevicesRequestBuilder::|public|post(body:Device):Device com.microsoft.graph.beta.users.item.devices.DevicesRequestBuilder::|public|post(body:Device; requestConfiguration?:java.util.function.Consumer):Device +com.microsoft.graph.beta.users.item.devices.DevicesRequestBuilder::|public|provision:ProvisionRequestBuilder com.microsoft.graph.beta.users.item.devices.DevicesRequestBuilder::|public|toGetRequestInformation():RequestInformation com.microsoft.graph.beta.users.item.devices.DevicesRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.users.item.devices.DevicesRequestBuilder::|public|toPostRequestInformation(body:Device):RequestInformation @@ -440422,6 +442357,27 @@ com.microsoft.graph.beta.users.item.devices.item.usagerights.UsageRightsRequestB com.microsoft.graph.beta.users.item.devices.item.usagerights.UsageRightsRequestBuilder::|public|toPostRequestInformation(body:UsageRight):RequestInformation com.microsoft.graph.beta.users.item.devices.item.usagerights.UsageRightsRequestBuilder::|public|toPostRequestInformation(body:UsageRight; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.users.item.devices.item.usagerights.UsageRightsRequestBuilder::|public|withUrl(rawUrl:String):UsageRightsRequestBuilder +com.microsoft.graph.beta.users.item.devices.provision.ProvisionPostRequestBody::|protected|backingStore:BackingStore +com.microsoft.graph.beta.users.item.devices.provision.ProvisionPostRequestBody::|public|constructor():void +com.microsoft.graph.beta.users.item.devices.provision.ProvisionPostRequestBody::|public|getAdditionalData():Map +com.microsoft.graph.beta.users.item.devices.provision.ProvisionPostRequestBody::|public|getBackingStore():BackingStore +com.microsoft.graph.beta.users.item.devices.provision.ProvisionPostRequestBody::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.users.item.devices.provision.ProvisionPostRequestBody::|public|getProvisioningBlob():String +com.microsoft.graph.beta.users.item.devices.provision.ProvisionPostRequestBody::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.users.item.devices.provision.ProvisionPostRequestBody::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.beta.users.item.devices.provision.ProvisionPostRequestBody::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.beta.users.item.devices.provision.ProvisionPostRequestBody::|public|setProvisioningBlob(value?:String):void +com.microsoft.graph.beta.users.item.devices.provision.ProvisionPostRequestBody::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):ProvisionPostRequestBody +com.microsoft.graph.beta.users.item.devices.provision.ProvisionPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.beta.users.item.devices.provision.ProvisionRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.users.item.devices.provision.ProvisionRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.users.item.devices.provision.ProvisionRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.users.item.devices.provision.ProvisionRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.users.item.devices.provision.ProvisionRequestBuilder::|public|post(body:ProvisionPostRequestBody):ProvisionResponse +com.microsoft.graph.beta.users.item.devices.provision.ProvisionRequestBuilder::|public|post(body:ProvisionPostRequestBody; requestConfiguration?:java.util.function.Consumer):ProvisionResponse +com.microsoft.graph.beta.users.item.devices.provision.ProvisionRequestBuilder::|public|toPostRequestInformation(body:ProvisionPostRequestBody):RequestInformation +com.microsoft.graph.beta.users.item.devices.provision.ProvisionRequestBuilder::|public|toPostRequestInformation(body:ProvisionPostRequestBody; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.users.item.devices.provision.ProvisionRequestBuilder::|public|withUrl(rawUrl:String):ProvisionRequestBuilder com.microsoft.graph.beta.users.item.deviceswithdeviceid.DevicesWithDeviceIdRequestBuilder-->BaseRequestBuilder com.microsoft.graph.beta.users.item.deviceswithdeviceid.DevicesWithDeviceIdRequestBuilder.DeleteRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.beta.users.item.deviceswithdeviceid.DevicesWithDeviceIdRequestBuilder.GetQueryParameters::|public|expand:String[] @@ -440698,6 +442654,7 @@ com.microsoft.graph.beta.users.item.distributionlists.item.DistributionListItemR com.microsoft.graph.beta.users.item.distributionlists.item.DistributionListItemRequestBuilder::|public|deleteMembers:DeleteMembersRequestBuilder com.microsoft.graph.beta.users.item.distributionlists.item.DistributionListItemRequestBuilder::|public|get():DistributionList com.microsoft.graph.beta.users.item.distributionlists.item.DistributionListItemRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):DistributionList +com.microsoft.graph.beta.users.item.distributionlists.item.DistributionListItemRequestBuilder::|public|members:MembersRequestBuilder com.microsoft.graph.beta.users.item.distributionlists.item.DistributionListItemRequestBuilder::|public|patch(body:DistributionList):DistributionList com.microsoft.graph.beta.users.item.distributionlists.item.DistributionListItemRequestBuilder::|public|patch(body:DistributionList; requestConfiguration?:java.util.function.Consumer):DistributionList com.microsoft.graph.beta.users.item.distributionlists.item.DistributionListItemRequestBuilder::|public|toDeleteRequestInformation():RequestInformation @@ -440707,6 +442664,71 @@ com.microsoft.graph.beta.users.item.distributionlists.item.DistributionListItemR com.microsoft.graph.beta.users.item.distributionlists.item.DistributionListItemRequestBuilder::|public|toPatchRequestInformation(body:DistributionList):RequestInformation com.microsoft.graph.beta.users.item.distributionlists.item.DistributionListItemRequestBuilder::|public|toPatchRequestInformation(body:DistributionList; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.users.item.distributionlists.item.DistributionListItemRequestBuilder::|public|withUrl(rawUrl:String):DistributionListItemRequestBuilder +com.microsoft.graph.beta.users.item.distributionlists.item.members.count.CountRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.users.item.distributionlists.item.members.count.CountRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.beta.users.item.distributionlists.item.members.count.CountRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.beta.users.item.distributionlists.item.members.count.CountRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.users.item.distributionlists.item.members.count.CountRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.users.item.distributionlists.item.members.count.CountRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.users.item.distributionlists.item.members.count.CountRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.users.item.distributionlists.item.members.count.CountRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.users.item.distributionlists.item.members.count.CountRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.users.item.distributionlists.item.members.count.CountRequestBuilder::|public|get():Integer +com.microsoft.graph.beta.users.item.distributionlists.item.members.count.CountRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):Integer +com.microsoft.graph.beta.users.item.distributionlists.item.members.count.CountRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.users.item.distributionlists.item.members.count.CountRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.users.item.distributionlists.item.members.count.CountRequestBuilder::|public|withUrl(rawUrl:String):CountRequestBuilder +com.microsoft.graph.beta.users.item.distributionlists.item.members.item.contact.ContactRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.users.item.distributionlists.item.members.item.contact.ContactRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.beta.users.item.distributionlists.item.members.item.contact.ContactRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.beta.users.item.distributionlists.item.members.item.contact.ContactRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.users.item.distributionlists.item.members.item.contact.ContactRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.users.item.distributionlists.item.members.item.contact.ContactRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.users.item.distributionlists.item.members.item.contact.ContactRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.users.item.distributionlists.item.members.item.contact.ContactRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.users.item.distributionlists.item.members.item.contact.ContactRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.users.item.distributionlists.item.members.item.contact.ContactRequestBuilder::|public|get():Contact +com.microsoft.graph.beta.users.item.distributionlists.item.members.item.contact.ContactRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):Contact +com.microsoft.graph.beta.users.item.distributionlists.item.members.item.contact.ContactRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.users.item.distributionlists.item.members.item.contact.ContactRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.users.item.distributionlists.item.members.item.contact.ContactRequestBuilder::|public|withUrl(rawUrl:String):ContactRequestBuilder +com.microsoft.graph.beta.users.item.distributionlists.item.members.item.DistributionListMemberItemRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.users.item.distributionlists.item.members.item.DistributionListMemberItemRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.beta.users.item.distributionlists.item.members.item.DistributionListMemberItemRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.beta.users.item.distributionlists.item.members.item.DistributionListMemberItemRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.users.item.distributionlists.item.members.item.DistributionListMemberItemRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.users.item.distributionlists.item.members.item.DistributionListMemberItemRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.users.item.distributionlists.item.members.item.DistributionListMemberItemRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.users.item.distributionlists.item.members.item.DistributionListMemberItemRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.users.item.distributionlists.item.members.item.DistributionListMemberItemRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.users.item.distributionlists.item.members.item.DistributionListMemberItemRequestBuilder::|public|contact:ContactRequestBuilder +com.microsoft.graph.beta.users.item.distributionlists.item.members.item.DistributionListMemberItemRequestBuilder::|public|get():DistributionListMember +com.microsoft.graph.beta.users.item.distributionlists.item.members.item.DistributionListMemberItemRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):DistributionListMember +com.microsoft.graph.beta.users.item.distributionlists.item.members.item.DistributionListMemberItemRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.users.item.distributionlists.item.members.item.DistributionListMemberItemRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.users.item.distributionlists.item.members.item.DistributionListMemberItemRequestBuilder::|public|withUrl(rawUrl:String):DistributionListMemberItemRequestBuilder +com.microsoft.graph.beta.users.item.distributionlists.item.members.MembersRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.users.item.distributionlists.item.members.MembersRequestBuilder.GetQueryParameters::|public|count:Boolean +com.microsoft.graph.beta.users.item.distributionlists.item.members.MembersRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.beta.users.item.distributionlists.item.members.MembersRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.beta.users.item.distributionlists.item.members.MembersRequestBuilder.GetQueryParameters::|public|orderby:String[] +com.microsoft.graph.beta.users.item.distributionlists.item.members.MembersRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.beta.users.item.distributionlists.item.members.MembersRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.beta.users.item.distributionlists.item.members.MembersRequestBuilder.GetQueryParameters::|public|skip:Integer +com.microsoft.graph.beta.users.item.distributionlists.item.members.MembersRequestBuilder.GetQueryParameters::|public|top:Integer +com.microsoft.graph.beta.users.item.distributionlists.item.members.MembersRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.users.item.distributionlists.item.members.MembersRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.users.item.distributionlists.item.members.MembersRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.users.item.distributionlists.item.members.MembersRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.users.item.distributionlists.item.members.MembersRequestBuilder::|public|byDistributionListMemberId(distributionListMemberId:String):DistributionListMemberItemRequestBuilder +com.microsoft.graph.beta.users.item.distributionlists.item.members.MembersRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.users.item.distributionlists.item.members.MembersRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.users.item.distributionlists.item.members.MembersRequestBuilder::|public|count:CountRequestBuilder +com.microsoft.graph.beta.users.item.distributionlists.item.members.MembersRequestBuilder::|public|get():DistributionListMemberCollectionResponse +com.microsoft.graph.beta.users.item.distributionlists.item.members.MembersRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):DistributionListMemberCollectionResponse +com.microsoft.graph.beta.users.item.distributionlists.item.members.MembersRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.users.item.distributionlists.item.members.MembersRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.users.item.distributionlists.item.members.MembersRequestBuilder::|public|withUrl(rawUrl:String):MembersRequestBuilder com.microsoft.graph.beta.users.item.drive.DriveRequestBuilder-->BaseRequestBuilder com.microsoft.graph.beta.users.item.drive.DriveRequestBuilder.GetQueryParameters::|public|expand:String[] com.microsoft.graph.beta.users.item.drive.DriveRequestBuilder.GetQueryParameters::|public|select:String[] @@ -446114,6 +448136,15 @@ com.microsoft.graph.beta.users.item.manageddevices.item.bypassactivationlock.Byp com.microsoft.graph.beta.users.item.manageddevices.item.bypassactivationlock.BypassActivationLockRequestBuilder::|public|toPostRequestInformation():RequestInformation com.microsoft.graph.beta.users.item.manageddevices.item.bypassactivationlock.BypassActivationLockRequestBuilder::|public|toPostRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.users.item.manageddevices.item.bypassactivationlock.BypassActivationLockRequestBuilder::|public|withUrl(rawUrl:String):BypassActivationLockRequestBuilder +com.microsoft.graph.beta.users.item.manageddevices.item.cancelenhancedlogcollection.CancelEnhancedLogCollectionRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.users.item.manageddevices.item.cancelenhancedlogcollection.CancelEnhancedLogCollectionRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.users.item.manageddevices.item.cancelenhancedlogcollection.CancelEnhancedLogCollectionRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.users.item.manageddevices.item.cancelenhancedlogcollection.CancelEnhancedLogCollectionRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.users.item.manageddevices.item.cancelenhancedlogcollection.CancelEnhancedLogCollectionRequestBuilder::|public|post():Void +com.microsoft.graph.beta.users.item.manageddevices.item.cancelenhancedlogcollection.CancelEnhancedLogCollectionRequestBuilder::|public|post(requestConfiguration?:java.util.function.Consumer):Void +com.microsoft.graph.beta.users.item.manageddevices.item.cancelenhancedlogcollection.CancelEnhancedLogCollectionRequestBuilder::|public|toPostRequestInformation():RequestInformation +com.microsoft.graph.beta.users.item.manageddevices.item.cancelenhancedlogcollection.CancelEnhancedLogCollectionRequestBuilder::|public|toPostRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.users.item.manageddevices.item.cancelenhancedlogcollection.CancelEnhancedLogCollectionRequestBuilder::|public|withUrl(rawUrl:String):CancelEnhancedLogCollectionRequestBuilder com.microsoft.graph.beta.users.item.manageddevices.item.changeassignments.ChangeAssignmentsPostRequestBody::|protected|backingStore:BackingStore com.microsoft.graph.beta.users.item.manageddevices.item.changeassignments.ChangeAssignmentsPostRequestBody::|public|constructor():void com.microsoft.graph.beta.users.item.manageddevices.item.changeassignments.ChangeAssignmentsPostRequestBody::|public|getAdditionalData():Map @@ -446770,6 +448801,7 @@ com.microsoft.graph.beta.users.item.manageddevices.item.ManagedDeviceItemRequest com.microsoft.graph.beta.users.item.manageddevices.item.ManagedDeviceItemRequestBuilder::|public|activateDeviceEsim:ActivateDeviceEsimRequestBuilder com.microsoft.graph.beta.users.item.manageddevices.item.ManagedDeviceItemRequestBuilder::|public|assignmentFilterEvaluationStatusDetails:AssignmentFilterEvaluationStatusDetailsRequestBuilder com.microsoft.graph.beta.users.item.manageddevices.item.ManagedDeviceItemRequestBuilder::|public|bypassActivationLock:BypassActivationLockRequestBuilder +com.microsoft.graph.beta.users.item.manageddevices.item.ManagedDeviceItemRequestBuilder::|public|cancelEnhancedLogCollection:CancelEnhancedLogCollectionRequestBuilder com.microsoft.graph.beta.users.item.manageddevices.item.ManagedDeviceItemRequestBuilder::|public|changeAssignments:ChangeAssignmentsRequestBuilder com.microsoft.graph.beta.users.item.manageddevices.item.ManagedDeviceItemRequestBuilder::|public|cleanWindowsDevice:CleanWindowsDeviceRequestBuilder com.microsoft.graph.beta.users.item.manageddevices.item.ManagedDeviceItemRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void @@ -446836,6 +448868,7 @@ com.microsoft.graph.beta.users.item.manageddevices.item.ManagedDeviceItemRequest com.microsoft.graph.beta.users.item.manageddevices.item.ManagedDeviceItemRequestBuilder::|public|toPatchRequestInformation(body:ManagedDevice):RequestInformation com.microsoft.graph.beta.users.item.manageddevices.item.ManagedDeviceItemRequestBuilder::|public|toPatchRequestInformation(body:ManagedDevice; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.users.item.manageddevices.item.ManagedDeviceItemRequestBuilder::|public|triggerConfigurationManagerAction:TriggerConfigurationManagerActionRequestBuilder +com.microsoft.graph.beta.users.item.manageddevices.item.ManagedDeviceItemRequestBuilder::|public|triggerEnhancedLogCollection:TriggerEnhancedLogCollectionRequestBuilder com.microsoft.graph.beta.users.item.manageddevices.item.ManagedDeviceItemRequestBuilder::|public|updateWindowsDeviceAccount:UpdateWindowsDeviceAccountRequestBuilder com.microsoft.graph.beta.users.item.manageddevices.item.ManagedDeviceItemRequestBuilder::|public|users:UsersRequestBuilder com.microsoft.graph.beta.users.item.manageddevices.item.ManagedDeviceItemRequestBuilder::|public|windowsDefenderScan:WindowsDefenderScanRequestBuilder @@ -447394,6 +449427,27 @@ com.microsoft.graph.beta.users.item.manageddevices.item.triggerconfigurationmana com.microsoft.graph.beta.users.item.manageddevices.item.triggerconfigurationmanageraction.TriggerConfigurationManagerActionRequestBuilder::|public|toPostRequestInformation(body:TriggerConfigurationManagerActionPostRequestBody):RequestInformation com.microsoft.graph.beta.users.item.manageddevices.item.triggerconfigurationmanageraction.TriggerConfigurationManagerActionRequestBuilder::|public|toPostRequestInformation(body:TriggerConfigurationManagerActionPostRequestBody; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.users.item.manageddevices.item.triggerconfigurationmanageraction.TriggerConfigurationManagerActionRequestBuilder::|public|withUrl(rawUrl:String):TriggerConfigurationManagerActionRequestBuilder +com.microsoft.graph.beta.users.item.manageddevices.item.triggerenhancedlogcollection.TriggerEnhancedLogCollectionPostRequestBody::|protected|backingStore:BackingStore +com.microsoft.graph.beta.users.item.manageddevices.item.triggerenhancedlogcollection.TriggerEnhancedLogCollectionPostRequestBody::|public|constructor():void +com.microsoft.graph.beta.users.item.manageddevices.item.triggerenhancedlogcollection.TriggerEnhancedLogCollectionPostRequestBody::|public|getAdditionalData():Map +com.microsoft.graph.beta.users.item.manageddevices.item.triggerenhancedlogcollection.TriggerEnhancedLogCollectionPostRequestBody::|public|getAppleCareToken():String +com.microsoft.graph.beta.users.item.manageddevices.item.triggerenhancedlogcollection.TriggerEnhancedLogCollectionPostRequestBody::|public|getBackingStore():BackingStore +com.microsoft.graph.beta.users.item.manageddevices.item.triggerenhancedlogcollection.TriggerEnhancedLogCollectionPostRequestBody::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.users.item.manageddevices.item.triggerenhancedlogcollection.TriggerEnhancedLogCollectionPostRequestBody::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.users.item.manageddevices.item.triggerenhancedlogcollection.TriggerEnhancedLogCollectionPostRequestBody::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.beta.users.item.manageddevices.item.triggerenhancedlogcollection.TriggerEnhancedLogCollectionPostRequestBody::|public|setAppleCareToken(value?:String):void +com.microsoft.graph.beta.users.item.manageddevices.item.triggerenhancedlogcollection.TriggerEnhancedLogCollectionPostRequestBody::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.beta.users.item.manageddevices.item.triggerenhancedlogcollection.TriggerEnhancedLogCollectionPostRequestBody::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):TriggerEnhancedLogCollectionPostRequestBody +com.microsoft.graph.beta.users.item.manageddevices.item.triggerenhancedlogcollection.TriggerEnhancedLogCollectionPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.beta.users.item.manageddevices.item.triggerenhancedlogcollection.TriggerEnhancedLogCollectionRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.users.item.manageddevices.item.triggerenhancedlogcollection.TriggerEnhancedLogCollectionRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.users.item.manageddevices.item.triggerenhancedlogcollection.TriggerEnhancedLogCollectionRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.users.item.manageddevices.item.triggerenhancedlogcollection.TriggerEnhancedLogCollectionRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.users.item.manageddevices.item.triggerenhancedlogcollection.TriggerEnhancedLogCollectionRequestBuilder::|public|post(body:TriggerEnhancedLogCollectionPostRequestBody):Void +com.microsoft.graph.beta.users.item.manageddevices.item.triggerenhancedlogcollection.TriggerEnhancedLogCollectionRequestBuilder::|public|post(body:TriggerEnhancedLogCollectionPostRequestBody; requestConfiguration?:java.util.function.Consumer):Void +com.microsoft.graph.beta.users.item.manageddevices.item.triggerenhancedlogcollection.TriggerEnhancedLogCollectionRequestBuilder::|public|toPostRequestInformation(body:TriggerEnhancedLogCollectionPostRequestBody):RequestInformation +com.microsoft.graph.beta.users.item.manageddevices.item.triggerenhancedlogcollection.TriggerEnhancedLogCollectionRequestBuilder::|public|toPostRequestInformation(body:TriggerEnhancedLogCollectionPostRequestBody; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.users.item.manageddevices.item.triggerenhancedlogcollection.TriggerEnhancedLogCollectionRequestBuilder::|public|withUrl(rawUrl:String):TriggerEnhancedLogCollectionRequestBuilder com.microsoft.graph.beta.users.item.manageddevices.item.updatewindowsdeviceaccount.UpdateWindowsDeviceAccountPostRequestBody::|protected|backingStore:BackingStore com.microsoft.graph.beta.users.item.manageddevices.item.updatewindowsdeviceaccount.UpdateWindowsDeviceAccountPostRequestBody::|public|constructor():void com.microsoft.graph.beta.users.item.manageddevices.item.updatewindowsdeviceaccount.UpdateWindowsDeviceAccountPostRequestBody::|public|getAdditionalData():Map @@ -460351,11 +462405,40 @@ com.microsoft.graph.beta.users.item.teamwork.sections.item.items.ItemsRequestBui com.microsoft.graph.beta.users.item.teamwork.sections.item.items.ItemsRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):TeamworkSectionItemCollectionResponse com.microsoft.graph.beta.users.item.teamwork.sections.item.items.ItemsRequestBuilder::|public|post(body:TeamworkSectionItem):TeamworkSectionItem com.microsoft.graph.beta.users.item.teamwork.sections.item.items.ItemsRequestBuilder::|public|post(body:TeamworkSectionItem; requestConfiguration?:java.util.function.Consumer):TeamworkSectionItem +com.microsoft.graph.beta.users.item.teamwork.sections.item.items.ItemsRequestBuilder::|public|reorder:ReorderRequestBuilder com.microsoft.graph.beta.users.item.teamwork.sections.item.items.ItemsRequestBuilder::|public|toGetRequestInformation():RequestInformation com.microsoft.graph.beta.users.item.teamwork.sections.item.items.ItemsRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.users.item.teamwork.sections.item.items.ItemsRequestBuilder::|public|toPostRequestInformation(body:TeamworkSectionItem):RequestInformation com.microsoft.graph.beta.users.item.teamwork.sections.item.items.ItemsRequestBuilder::|public|toPostRequestInformation(body:TeamworkSectionItem; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.users.item.teamwork.sections.item.items.ItemsRequestBuilder::|public|withUrl(rawUrl:String):ItemsRequestBuilder +com.microsoft.graph.beta.users.item.teamwork.sections.item.items.reorder.ReorderPostRequestBody::|protected|backingStore:BackingStore +com.microsoft.graph.beta.users.item.teamwork.sections.item.items.reorder.ReorderPostRequestBody::|public|constructor():void +com.microsoft.graph.beta.users.item.teamwork.sections.item.items.reorder.ReorderPostRequestBody::|public|getAdditionalData():Map +com.microsoft.graph.beta.users.item.teamwork.sections.item.items.reorder.ReorderPostRequestBody::|public|getBackingStore():BackingStore +com.microsoft.graph.beta.users.item.teamwork.sections.item.items.reorder.ReorderPostRequestBody::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.users.item.teamwork.sections.item.items.reorder.ReorderPostRequestBody::|public|getItemsOrder():java.util.List +com.microsoft.graph.beta.users.item.teamwork.sections.item.items.reorder.ReorderPostRequestBody::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.users.item.teamwork.sections.item.items.reorder.ReorderPostRequestBody::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.beta.users.item.teamwork.sections.item.items.reorder.ReorderPostRequestBody::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.beta.users.item.teamwork.sections.item.items.reorder.ReorderPostRequestBody::|public|setItemsOrder(value?:java.util.List):void +com.microsoft.graph.beta.users.item.teamwork.sections.item.items.reorder.ReorderPostRequestBody::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):ReorderPostRequestBody +com.microsoft.graph.beta.users.item.teamwork.sections.item.items.reorder.ReorderPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.beta.users.item.teamwork.sections.item.items.reorder.ReorderPostResponse-->BaseCollectionPaginationCountResponse +com.microsoft.graph.beta.users.item.teamwork.sections.item.items.reorder.ReorderPostResponse::|public|constructor():void +com.microsoft.graph.beta.users.item.teamwork.sections.item.items.reorder.ReorderPostResponse::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.users.item.teamwork.sections.item.items.reorder.ReorderPostResponse::|public|getValue():java.util.List +com.microsoft.graph.beta.users.item.teamwork.sections.item.items.reorder.ReorderPostResponse::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.users.item.teamwork.sections.item.items.reorder.ReorderPostResponse::|public|setValue(value?:java.util.List):void +com.microsoft.graph.beta.users.item.teamwork.sections.item.items.reorder.ReorderPostResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):ReorderPostResponse +com.microsoft.graph.beta.users.item.teamwork.sections.item.items.reorder.ReorderRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.users.item.teamwork.sections.item.items.reorder.ReorderRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.users.item.teamwork.sections.item.items.reorder.ReorderRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.users.item.teamwork.sections.item.items.reorder.ReorderRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.users.item.teamwork.sections.item.items.reorder.ReorderRequestBuilder::|public|post(body:ReorderPostRequestBody):ReorderPostResponse +com.microsoft.graph.beta.users.item.teamwork.sections.item.items.reorder.ReorderRequestBuilder::|public|post(body:ReorderPostRequestBody; requestConfiguration?:java.util.function.Consumer):ReorderPostResponse +com.microsoft.graph.beta.users.item.teamwork.sections.item.items.reorder.ReorderRequestBuilder::|public|toPostRequestInformation(body:ReorderPostRequestBody):RequestInformation +com.microsoft.graph.beta.users.item.teamwork.sections.item.items.reorder.ReorderRequestBuilder::|public|toPostRequestInformation(body:ReorderPostRequestBody; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.users.item.teamwork.sections.item.items.reorder.ReorderRequestBuilder::|public|withUrl(rawUrl:String):ReorderRequestBuilder com.microsoft.graph.beta.users.item.teamwork.sections.item.TeamworkSectionItemRequestBuilder-->BaseRequestBuilder com.microsoft.graph.beta.users.item.teamwork.sections.item.TeamworkSectionItemRequestBuilder.DeleteRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.beta.users.item.teamwork.sections.item.TeamworkSectionItemRequestBuilder.GetQueryParameters::|public|expand:String[] @@ -460381,6 +462464,34 @@ com.microsoft.graph.beta.users.item.teamwork.sections.item.TeamworkSectionItemRe com.microsoft.graph.beta.users.item.teamwork.sections.item.TeamworkSectionItemRequestBuilder::|public|toPatchRequestInformation(body:TeamworkSection):RequestInformation com.microsoft.graph.beta.users.item.teamwork.sections.item.TeamworkSectionItemRequestBuilder::|public|toPatchRequestInformation(body:TeamworkSection; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.users.item.teamwork.sections.item.TeamworkSectionItemRequestBuilder::|public|withUrl(rawUrl:String):TeamworkSectionItemRequestBuilder +com.microsoft.graph.beta.users.item.teamwork.sections.reorder.ReorderPostRequestBody::|protected|backingStore:BackingStore +com.microsoft.graph.beta.users.item.teamwork.sections.reorder.ReorderPostRequestBody::|public|constructor():void +com.microsoft.graph.beta.users.item.teamwork.sections.reorder.ReorderPostRequestBody::|public|getAdditionalData():Map +com.microsoft.graph.beta.users.item.teamwork.sections.reorder.ReorderPostRequestBody::|public|getBackingStore():BackingStore +com.microsoft.graph.beta.users.item.teamwork.sections.reorder.ReorderPostRequestBody::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.users.item.teamwork.sections.reorder.ReorderPostRequestBody::|public|getSectionsOrder():java.util.List +com.microsoft.graph.beta.users.item.teamwork.sections.reorder.ReorderPostRequestBody::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.users.item.teamwork.sections.reorder.ReorderPostRequestBody::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.beta.users.item.teamwork.sections.reorder.ReorderPostRequestBody::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.beta.users.item.teamwork.sections.reorder.ReorderPostRequestBody::|public|setSectionsOrder(value?:java.util.List):void +com.microsoft.graph.beta.users.item.teamwork.sections.reorder.ReorderPostRequestBody::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):ReorderPostRequestBody +com.microsoft.graph.beta.users.item.teamwork.sections.reorder.ReorderPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.beta.users.item.teamwork.sections.reorder.ReorderPostResponse-->BaseCollectionPaginationCountResponse +com.microsoft.graph.beta.users.item.teamwork.sections.reorder.ReorderPostResponse::|public|constructor():void +com.microsoft.graph.beta.users.item.teamwork.sections.reorder.ReorderPostResponse::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.users.item.teamwork.sections.reorder.ReorderPostResponse::|public|getValue():java.util.List +com.microsoft.graph.beta.users.item.teamwork.sections.reorder.ReorderPostResponse::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.users.item.teamwork.sections.reorder.ReorderPostResponse::|public|setValue(value?:java.util.List):void +com.microsoft.graph.beta.users.item.teamwork.sections.reorder.ReorderPostResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):ReorderPostResponse +com.microsoft.graph.beta.users.item.teamwork.sections.reorder.ReorderRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.users.item.teamwork.sections.reorder.ReorderRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.users.item.teamwork.sections.reorder.ReorderRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.users.item.teamwork.sections.reorder.ReorderRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.users.item.teamwork.sections.reorder.ReorderRequestBuilder::|public|post(body:ReorderPostRequestBody):ReorderPostResponse +com.microsoft.graph.beta.users.item.teamwork.sections.reorder.ReorderRequestBuilder::|public|post(body:ReorderPostRequestBody; requestConfiguration?:java.util.function.Consumer):ReorderPostResponse +com.microsoft.graph.beta.users.item.teamwork.sections.reorder.ReorderRequestBuilder::|public|toPostRequestInformation(body:ReorderPostRequestBody):RequestInformation +com.microsoft.graph.beta.users.item.teamwork.sections.reorder.ReorderRequestBuilder::|public|toPostRequestInformation(body:ReorderPostRequestBody; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.users.item.teamwork.sections.reorder.ReorderRequestBuilder::|public|withUrl(rawUrl:String):ReorderRequestBuilder com.microsoft.graph.beta.users.item.teamwork.sections.SectionsRequestBuilder-->BaseRequestBuilder com.microsoft.graph.beta.users.item.teamwork.sections.SectionsRequestBuilder.GetQueryParameters::|public|count:Boolean com.microsoft.graph.beta.users.item.teamwork.sections.SectionsRequestBuilder.GetQueryParameters::|public|expand:String[] @@ -460403,6 +462514,7 @@ com.microsoft.graph.beta.users.item.teamwork.sections.SectionsRequestBuilder::|p com.microsoft.graph.beta.users.item.teamwork.sections.SectionsRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):TeamworkSectionCollectionResponse com.microsoft.graph.beta.users.item.teamwork.sections.SectionsRequestBuilder::|public|post(body:TeamworkSection):TeamworkSection com.microsoft.graph.beta.users.item.teamwork.sections.SectionsRequestBuilder::|public|post(body:TeamworkSection; requestConfiguration?:java.util.function.Consumer):TeamworkSection +com.microsoft.graph.beta.users.item.teamwork.sections.SectionsRequestBuilder::|public|reorder:ReorderRequestBuilder com.microsoft.graph.beta.users.item.teamwork.sections.SectionsRequestBuilder::|public|toGetRequestInformation():RequestInformation com.microsoft.graph.beta.users.item.teamwork.sections.SectionsRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.users.item.teamwork.sections.SectionsRequestBuilder::|public|toPostRequestInformation(body:TeamworkSection):RequestInformation diff --git a/src/main/java/com/microsoft/graph/beta/generated/kiota-lock.json b/src/main/java/com/microsoft/graph/beta/generated/kiota-lock.json index 03be31fd8dc..4246726e28b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/kiota-lock.json +++ b/src/main/java/com/microsoft/graph/beta/generated/kiota-lock.json @@ -1,5 +1,5 @@ { - "descriptionHash": "6B168C4DEA89F82CE7BD09222A01A433A0036A725829803C8823F3F39E7C5E29157E30C4118F0A1971427E16A837D247B32B8DF75EB3CBD4D597E5CBC2E83E9E", + "descriptionHash": "8A0FD4D573BF8AA4241DC7FF7E805BA5AE81B3F877F8092F6AD895D962F4AD0B5B3CBA20F63527848E6B8D5D57502A636C49C8014F787D57EFEE2FB4E9D14C91", "descriptionLocation": "../../msgraph-metadata/clean_beta_openapi/openapi.yaml", "lockFileVersion": "1.0.0", "kiotaVersion": "1.34.1", diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/AccessPackageAssignmentRequest.java b/src/main/java/com/microsoft/graph/beta/generated/models/AccessPackageAssignmentRequest.java index 80a84e7d55c..2e94a2ede0e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/AccessPackageAssignmentRequest.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/AccessPackageAssignmentRequest.java @@ -107,6 +107,7 @@ public Map> getFieldDeserializers deserializerMap.put("history", (n) -> { this.setHistory(n.getCollectionOfObjectValues(RequestActivity::createFromDiscriminatorValue)); }); deserializerMap.put("isValidationOnly", (n) -> { this.setIsValidationOnly(n.getBooleanValue()); }); deserializerMap.put("justification", (n) -> { this.setJustification(n.getStringValue()); }); + deserializerMap.put("parameters", (n) -> { this.setParameters(n.getObjectValue(AccessPackageAssignmentRequestParameters::createFromDiscriminatorValue)); }); deserializerMap.put("requestor", (n) -> { this.setRequestor(n.getObjectValue(AccessPackageSubject::createFromDiscriminatorValue)); }); deserializerMap.put("requestState", (n) -> { this.setRequestState(n.getStringValue()); }); deserializerMap.put("requestStatus", (n) -> { this.setRequestStatus(n.getStringValue()); }); @@ -139,6 +140,14 @@ public Boolean getIsValidationOnly() { public String getJustification() { return this.backingStore.get("justification"); } + /** + * Gets the parameters property value. Additional parameters that control how the request is processed, such as bypassing the approval requirement configured on the access package policy. + * @return a {@link AccessPackageAssignmentRequestParameters} + */ + @jakarta.annotation.Nullable + public AccessPackageAssignmentRequestParameters getParameters() { + return this.backingStore.get("parameters"); + } /** * Gets the requestor property value. The subject who requested or, if a direct assignment, was assigned. Read-only. Nullable. Supports $expand. * @return a {@link AccessPackageSubject} @@ -205,6 +214,7 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeCollectionOfObjectValues("history", this.getHistory()); writer.writeBooleanValue("isValidationOnly", this.getIsValidationOnly()); writer.writeStringValue("justification", this.getJustification()); + writer.writeObjectValue("parameters", this.getParameters()); writer.writeObjectValue("requestor", this.getRequestor()); writer.writeStringValue("requestState", this.getRequestState()); writer.writeStringValue("requestStatus", this.getRequestStatus()); @@ -289,6 +299,13 @@ public void setIsValidationOnly(@jakarta.annotation.Nullable final Boolean value public void setJustification(@jakarta.annotation.Nullable final String value) { this.backingStore.set("justification", value); } + /** + * Sets the parameters property value. Additional parameters that control how the request is processed, such as bypassing the approval requirement configured on the access package policy. + * @param value Value to set for the parameters property. + */ + public void setParameters(@jakarta.annotation.Nullable final AccessPackageAssignmentRequestParameters value) { + this.backingStore.set("parameters", value); + } /** * Sets the requestor property value. The subject who requested or, if a direct assignment, was assigned. Read-only. Nullable. Supports $expand. * @param value Value to set for the requestor property. diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/FileStorageContainerTypeAgentSettings.java b/src/main/java/com/microsoft/graph/beta/generated/models/AccessPackageAssignmentRequestParameters.java similarity index 73% rename from src/main/java/com/microsoft/graph/beta/generated/models/FileStorageContainerTypeAgentSettings.java rename to src/main/java/com/microsoft/graph/beta/generated/models/AccessPackageAssignmentRequestParameters.java index f8a5a6d0ca7..2614b07cbf8 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/FileStorageContainerTypeAgentSettings.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/AccessPackageAssignmentRequestParameters.java @@ -11,28 +11,28 @@ import java.util.Map; import java.util.Objects; @jakarta.annotation.Generated("com.microsoft.kiota") -public class FileStorageContainerTypeAgentSettings implements AdditionalDataHolder, BackedModel, Parsable { +public class AccessPackageAssignmentRequestParameters implements AdditionalDataHolder, BackedModel, Parsable { /** * Stores model information. */ @jakarta.annotation.Nonnull protected BackingStore backingStore; /** - * Instantiates a new {@link FileStorageContainerTypeAgentSettings} and sets the default values. + * Instantiates a new {@link AccessPackageAssignmentRequestParameters} and sets the default values. */ - public FileStorageContainerTypeAgentSettings() { + public AccessPackageAssignmentRequestParameters() { this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); this.setAdditionalData(new HashMap<>()); } /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object - * @return a {@link FileStorageContainerTypeAgentSettings} + * @return a {@link AccessPackageAssignmentRequestParameters} */ @jakarta.annotation.Nonnull - public static FileStorageContainerTypeAgentSettings createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + public static AccessPackageAssignmentRequestParameters createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { Objects.requireNonNull(parseNode); - return new FileStorageContainerTypeAgentSettings(); + return new AccessPackageAssignmentRequestParameters(); } /** * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. @@ -56,12 +56,12 @@ public BackingStore getBackingStore() { return this.backingStore; } /** - * Gets the chatEmbedAllowedHosts property value. Determines which host URLs are allowed to embed the agent chat experience. Limited to 10 hosts. - * @return a {@link java.util.List} + * Gets the bypassApproval property value. When true, bypasses the approval requirement configured on the access package policy for this request. The default value is false. + * @return a {@link Boolean} */ @jakarta.annotation.Nullable - public java.util.List getChatEmbedAllowedHosts() { - return this.backingStore.get("chatEmbedAllowedHosts"); + public Boolean getBypassApproval() { + return this.backingStore.get("bypassApproval"); } /** * The deserialization information for the current model @@ -70,7 +70,7 @@ public java.util.List getChatEmbedAllowedHosts() { @jakarta.annotation.Nonnull public Map> getFieldDeserializers() { final HashMap> deserializerMap = new HashMap>(2); - deserializerMap.put("chatEmbedAllowedHosts", (n) -> { this.setChatEmbedAllowedHosts(n.getCollectionOfPrimitiveValues(String.class)); }); + deserializerMap.put("bypassApproval", (n) -> { this.setBypassApproval(n.getBooleanValue()); }); deserializerMap.put("@odata.type", (n) -> { this.setOdataType(n.getStringValue()); }); return deserializerMap; } @@ -88,7 +88,7 @@ public String getOdataType() { */ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { Objects.requireNonNull(writer); - writer.writeCollectionOfPrimitiveValues("chatEmbedAllowedHosts", this.getChatEmbedAllowedHosts()); + writer.writeBooleanValue("bypassApproval", this.getBypassApproval()); writer.writeStringValue("@odata.type", this.getOdataType()); writer.writeAdditionalData(this.getAdditionalData()); } @@ -108,11 +108,11 @@ public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value this.backingStore = value; } /** - * Sets the chatEmbedAllowedHosts property value. Determines which host URLs are allowed to embed the agent chat experience. Limited to 10 hosts. - * @param value Value to set for the chatEmbedAllowedHosts property. + * Sets the bypassApproval property value. When true, bypasses the approval requirement configured on the access package policy for this request. The default value is false. + * @param value Value to set for the bypassApproval property. */ - public void setChatEmbedAllowedHosts(@jakarta.annotation.Nullable final java.util.List value) { - this.backingStore.set("chatEmbedAllowedHosts", value); + public void setBypassApproval(@jakarta.annotation.Nullable final Boolean value) { + this.backingStore.set("bypassApproval", value); } /** * Sets the @odata.type property value. The OdataType property diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/AgentBlueprintApiBasedEndpointConfigurationDetails.java b/src/main/java/com/microsoft/graph/beta/generated/models/AgentBlueprintApiBasedEndpointConfigurationDetails.java new file mode 100644 index 00000000000..a0f4889f9e8 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/AgentBlueprintApiBasedEndpointConfigurationDetails.java @@ -0,0 +1,124 @@ +package com.microsoft.graph.beta.models; + +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class AgentBlueprintApiBasedEndpointConfigurationDetails implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link AgentBlueprintApiBasedEndpointConfigurationDetails} and sets the default values. + */ + public AgentBlueprintApiBasedEndpointConfigurationDetails() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link AgentBlueprintApiBasedEndpointConfigurationDetails} + */ + @jakarta.annotation.Nonnull + public static AgentBlueprintApiBasedEndpointConfigurationDetails createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new AgentBlueprintApiBasedEndpointConfigurationDetails(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * Gets the callbackUri property value. The absolute HTTPS URI that Teams posts agent message events to. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getCallbackUri() { + return this.backingStore.get("callbackUri"); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(2); + deserializerMap.put("callbackUri", (n) -> { this.setCallbackUri(n.getStringValue()); }); + deserializerMap.put("@odata.type", (n) -> { this.setOdataType(n.getStringValue()); }); + return deserializerMap; + } + /** + * Gets the @odata.type property value. The OdataType property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getOdataType() { + return this.backingStore.get("odataType"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writeStringValue("callbackUri", this.getCallbackUri()); + writer.writeStringValue("@odata.type", this.getOdataType()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } + /** + * Sets the callbackUri property value. The absolute HTTPS URI that Teams posts agent message events to. + * @param value Value to set for the callbackUri property. + */ + public void setCallbackUri(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("callbackUri", value); + } + /** + * Sets the @odata.type property value. The OdataType property + * @param value Value to set for the @odata.type property. + */ + public void setOdataType(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("odataType", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/AgentBlueprintBotBasedEndpointConfigurationDetails.java b/src/main/java/com/microsoft/graph/beta/generated/models/AgentBlueprintBotBasedEndpointConfigurationDetails.java new file mode 100644 index 00000000000..aa70823119e --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/AgentBlueprintBotBasedEndpointConfigurationDetails.java @@ -0,0 +1,124 @@ +package com.microsoft.graph.beta.models; + +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class AgentBlueprintBotBasedEndpointConfigurationDetails implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link AgentBlueprintBotBasedEndpointConfigurationDetails} and sets the default values. + */ + public AgentBlueprintBotBasedEndpointConfigurationDetails() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link AgentBlueprintBotBasedEndpointConfigurationDetails} + */ + @jakarta.annotation.Nonnull + public static AgentBlueprintBotBasedEndpointConfigurationDetails createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new AgentBlueprintBotBasedEndpointConfigurationDetails(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * Gets the botId property value. The identifier of the bot that Teams uses to deliver messages to the agent through the Bot Framework. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getBotId() { + return this.backingStore.get("botId"); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(2); + deserializerMap.put("botId", (n) -> { this.setBotId(n.getStringValue()); }); + deserializerMap.put("@odata.type", (n) -> { this.setOdataType(n.getStringValue()); }); + return deserializerMap; + } + /** + * Gets the @odata.type property value. The OdataType property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getOdataType() { + return this.backingStore.get("odataType"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writeStringValue("botId", this.getBotId()); + writer.writeStringValue("@odata.type", this.getOdataType()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } + /** + * Sets the botId property value. The identifier of the bot that Teams uses to deliver messages to the agent through the Bot Framework. + * @param value Value to set for the botId property. + */ + public void setBotId(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("botId", value); + } + /** + * Sets the @odata.type property value. The OdataType property + * @param value Value to set for the @odata.type property. + */ + public void setOdataType(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("odataType", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/AgentCommunicationConfiguration.java b/src/main/java/com/microsoft/graph/beta/generated/models/AgentCommunicationConfiguration.java new file mode 100644 index 00000000000..2bfb83f7ba5 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/AgentCommunicationConfiguration.java @@ -0,0 +1,95 @@ +package com.microsoft.graph.beta.models; + +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class AgentCommunicationConfiguration extends Entity implements Parsable { + /** + * Instantiates a new {@link AgentCommunicationConfiguration} and sets the default values. + */ + public AgentCommunicationConfiguration() { + super(); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link AgentCommunicationConfiguration} + */ + @jakarta.annotation.Nonnull + public static AgentCommunicationConfiguration createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new AgentCommunicationConfiguration(); + } + /** + * Gets the endpointConfiguration property value. The endpoint binding (bot ID or callback URI) that the agent uses to receive messages. + * @return a {@link AgentEndpointConfiguration} + */ + @jakarta.annotation.Nullable + public AgentEndpointConfiguration getEndpointConfiguration() { + return this.backingStore.get("endpointConfiguration"); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("endpointConfiguration", (n) -> { this.setEndpointConfiguration(n.getObjectValue(AgentEndpointConfiguration::createFromDiscriminatorValue)); }); + deserializerMap.put("isOverridableAtAgentIdLevel", (n) -> { this.setIsOverridableAtAgentIdLevel(n.getBooleanValue()); }); + deserializerMap.put("teamworkConfiguration", (n) -> { this.setTeamworkConfiguration(n.getObjectValue(AgentTeamworkConfiguration::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the isOverridableAtAgentIdLevel property value. Indicates whether individual agent instances created from this blueprint can override the endpointConfiguration. When true, each instance can override it; when false, every instance inherits it. Not nullable. + * @return a {@link Boolean} + */ + @jakarta.annotation.Nullable + public Boolean getIsOverridableAtAgentIdLevel() { + return this.backingStore.get("isOverridableAtAgentIdLevel"); + } + /** + * Gets the teamworkConfiguration property value. The per-conversation-context message notification settings (group chat, channel, one-on-one chat, and meeting chat) that agents use. + * @return a {@link AgentTeamworkConfiguration} + */ + @jakarta.annotation.Nullable + public AgentTeamworkConfiguration getTeamworkConfiguration() { + return this.backingStore.get("teamworkConfiguration"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeObjectValue("endpointConfiguration", this.getEndpointConfiguration()); + writer.writeBooleanValue("isOverridableAtAgentIdLevel", this.getIsOverridableAtAgentIdLevel()); + writer.writeObjectValue("teamworkConfiguration", this.getTeamworkConfiguration()); + } + /** + * Sets the endpointConfiguration property value. The endpoint binding (bot ID or callback URI) that the agent uses to receive messages. + * @param value Value to set for the endpointConfiguration property. + */ + public void setEndpointConfiguration(@jakarta.annotation.Nullable final AgentEndpointConfiguration value) { + this.backingStore.set("endpointConfiguration", value); + } + /** + * Sets the isOverridableAtAgentIdLevel property value. Indicates whether individual agent instances created from this blueprint can override the endpointConfiguration. When true, each instance can override it; when false, every instance inherits it. Not nullable. + * @param value Value to set for the isOverridableAtAgentIdLevel property. + */ + public void setIsOverridableAtAgentIdLevel(@jakarta.annotation.Nullable final Boolean value) { + this.backingStore.set("isOverridableAtAgentIdLevel", value); + } + /** + * Sets the teamworkConfiguration property value. The per-conversation-context message notification settings (group chat, channel, one-on-one chat, and meeting chat) that agents use. + * @param value Value to set for the teamworkConfiguration property. + */ + public void setTeamworkConfiguration(@jakarta.annotation.Nullable final AgentTeamworkConfiguration value) { + this.backingStore.set("teamworkConfiguration", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/AgentConversationConfiguration.java b/src/main/java/com/microsoft/graph/beta/generated/models/AgentConversationConfiguration.java new file mode 100644 index 00000000000..91c90d414bf --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/AgentConversationConfiguration.java @@ -0,0 +1,124 @@ +package com.microsoft.graph.beta.models; + +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class AgentConversationConfiguration implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link AgentConversationConfiguration} and sets the default values. + */ + public AgentConversationConfiguration() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link AgentConversationConfiguration} + */ + @jakarta.annotation.Nonnull + public static AgentConversationConfiguration createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new AgentConversationConfiguration(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(2); + deserializerMap.put("messageNotificationMode", (n) -> { this.setMessageNotificationMode(n.getEnumValue(AgentMessageNotificationMode::forValue)); }); + deserializerMap.put("@odata.type", (n) -> { this.setOdataType(n.getStringValue()); }); + return deserializerMap; + } + /** + * Gets the messageNotificationMode property value. The messageNotificationMode property + * @return a {@link AgentMessageNotificationMode} + */ + @jakarta.annotation.Nullable + public AgentMessageNotificationMode getMessageNotificationMode() { + return this.backingStore.get("messageNotificationMode"); + } + /** + * Gets the @odata.type property value. The OdataType property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getOdataType() { + return this.backingStore.get("odataType"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writeEnumValue("messageNotificationMode", this.getMessageNotificationMode()); + writer.writeStringValue("@odata.type", this.getOdataType()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } + /** + * Sets the messageNotificationMode property value. The messageNotificationMode property + * @param value Value to set for the messageNotificationMode property. + */ + public void setMessageNotificationMode(@jakarta.annotation.Nullable final AgentMessageNotificationMode value) { + this.backingStore.set("messageNotificationMode", value); + } + /** + * Sets the @odata.type property value. The OdataType property + * @param value Value to set for the @odata.type property. + */ + public void setOdataType(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("odataType", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/AgentEndpointConfiguration.java b/src/main/java/com/microsoft/graph/beta/generated/models/AgentEndpointConfiguration.java new file mode 100644 index 00000000000..b1e9d1357e4 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/AgentEndpointConfiguration.java @@ -0,0 +1,158 @@ +package com.microsoft.graph.beta.models; + +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class AgentEndpointConfiguration implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link AgentEndpointConfiguration} and sets the default values. + */ + public AgentEndpointConfiguration() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link AgentEndpointConfiguration} + */ + @jakarta.annotation.Nonnull + public static AgentEndpointConfiguration createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new AgentEndpointConfiguration(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the apiBased property value. The API-based endpoint details. Populated when configurationType is apiBased; carries the callback URI that Teams posts to. Must be null when configurationType is botBased. + * @return a {@link AgentBlueprintApiBasedEndpointConfigurationDetails} + */ + @jakarta.annotation.Nullable + public AgentBlueprintApiBasedEndpointConfigurationDetails getApiBased() { + return this.backingStore.get("apiBased"); + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * Gets the botBased property value. The bot-based endpoint details. Populated when configurationType is botBased; carries the bot ID that Teams messages. Must be null when configurationType is apiBased. + * @return a {@link AgentBlueprintBotBasedEndpointConfigurationDetails} + */ + @jakarta.annotation.Nullable + public AgentBlueprintBotBasedEndpointConfigurationDetails getBotBased() { + return this.backingStore.get("botBased"); + } + /** + * Gets the configurationType property value. The configurationType property + * @return a {@link AgentEndpointConfigurationType} + */ + @jakarta.annotation.Nullable + public AgentEndpointConfigurationType getConfigurationType() { + return this.backingStore.get("configurationType"); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(4); + deserializerMap.put("apiBased", (n) -> { this.setApiBased(n.getObjectValue(AgentBlueprintApiBasedEndpointConfigurationDetails::createFromDiscriminatorValue)); }); + deserializerMap.put("botBased", (n) -> { this.setBotBased(n.getObjectValue(AgentBlueprintBotBasedEndpointConfigurationDetails::createFromDiscriminatorValue)); }); + deserializerMap.put("configurationType", (n) -> { this.setConfigurationType(n.getEnumValue(AgentEndpointConfigurationType::forValue)); }); + deserializerMap.put("@odata.type", (n) -> { this.setOdataType(n.getStringValue()); }); + return deserializerMap; + } + /** + * Gets the @odata.type property value. The OdataType property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getOdataType() { + return this.backingStore.get("odataType"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writeObjectValue("apiBased", this.getApiBased()); + writer.writeObjectValue("botBased", this.getBotBased()); + writer.writeEnumValue("configurationType", this.getConfigurationType()); + writer.writeStringValue("@odata.type", this.getOdataType()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the apiBased property value. The API-based endpoint details. Populated when configurationType is apiBased; carries the callback URI that Teams posts to. Must be null when configurationType is botBased. + * @param value Value to set for the apiBased property. + */ + public void setApiBased(@jakarta.annotation.Nullable final AgentBlueprintApiBasedEndpointConfigurationDetails value) { + this.backingStore.set("apiBased", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } + /** + * Sets the botBased property value. The bot-based endpoint details. Populated when configurationType is botBased; carries the bot ID that Teams messages. Must be null when configurationType is apiBased. + * @param value Value to set for the botBased property. + */ + public void setBotBased(@jakarta.annotation.Nullable final AgentBlueprintBotBasedEndpointConfigurationDetails value) { + this.backingStore.set("botBased", value); + } + /** + * Sets the configurationType property value. The configurationType property + * @param value Value to set for the configurationType property. + */ + public void setConfigurationType(@jakarta.annotation.Nullable final AgentEndpointConfigurationType value) { + this.backingStore.set("configurationType", value); + } + /** + * Sets the @odata.type property value. The OdataType property + * @param value Value to set for the @odata.type property. + */ + public void setOdataType(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("odataType", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/AgentEndpointConfigurationType.java b/src/main/java/com/microsoft/graph/beta/generated/models/AgentEndpointConfigurationType.java new file mode 100644 index 00000000000..2371dc7cf2a --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/AgentEndpointConfigurationType.java @@ -0,0 +1,27 @@ +package com.microsoft.graph.beta.models; + +import com.microsoft.kiota.serialization.ValuedEnum; +import java.util.Objects; + +@jakarta.annotation.Generated("com.microsoft.kiota") +public enum AgentEndpointConfigurationType implements ValuedEnum { + ApiBased("apiBased"), + BotBased("botBased"), + UnknownFutureValue("unknownFutureValue"); + public final String value; + AgentEndpointConfigurationType(final String value) { + this.value = value; + } + @jakarta.annotation.Nonnull + public String getValue() { return this.value; } + @jakarta.annotation.Nullable + public static AgentEndpointConfigurationType forValue(@jakarta.annotation.Nonnull final String searchValue) { + Objects.requireNonNull(searchValue); + switch(searchValue) { + case "apiBased": return ApiBased; + case "botBased": return BotBased; + case "unknownFutureValue": return UnknownFutureValue; + default: return null; + } + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/AgentIdentity.java b/src/main/java/com/microsoft/graph/beta/generated/models/AgentIdentity.java index 3e2be9fde43..7923415baee 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/AgentIdentity.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/AgentIdentity.java @@ -7,6 +7,7 @@ import java.util.HashMap; import java.util.Map; import java.util.Objects; +import java.util.UUID; @jakarta.annotation.Generated("com.microsoft.kiota") public class AgentIdentity extends ServicePrincipal implements Parsable { /** @@ -34,6 +35,14 @@ public static AgentIdentity createFromDiscriminatorValue(@jakarta.annotation.Non public String getAgentIdentityBlueprintId() { return this.backingStore.get("agentIdentityBlueprintId"); } + /** + * Gets the communicationConfiguration property value. The effective communication configuration for this agent identity. Represents the agent identity-level override that resolves on top of the configuration inherited from the agent identity blueprint. + * @return a {@link AgentCommunicationConfiguration} + */ + @jakarta.annotation.Nullable + public AgentCommunicationConfiguration getCommunicationConfiguration() { + return this.backingStore.get("communicationConfiguration"); + } /** * Gets the createdDateTime property value. The date and time the agent identity was created. Read-only. Inherited from servicePrincipal. * @return a {@link OffsetDateTime} @@ -50,9 +59,11 @@ public OffsetDateTime getCreatedDateTime() { public Map> getFieldDeserializers() { final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); deserializerMap.put("agentIdentityBlueprintId", (n) -> { this.setAgentIdentityBlueprintId(n.getStringValue()); }); + deserializerMap.put("communicationConfiguration", (n) -> { this.setCommunicationConfiguration(n.getObjectValue(AgentCommunicationConfiguration::createFromDiscriminatorValue)); }); deserializerMap.put("createdDateTime", (n) -> { this.setCreatedDateTime(n.getOffsetDateTimeValue()); }); deserializerMap.put("inheritedAppRoleAssignments", (n) -> { this.setInheritedAppRoleAssignments(n.getCollectionOfObjectValues(AppRoleAssignment::createFromDiscriminatorValue)); }); deserializerMap.put("inheritedOauth2PermissionGrants", (n) -> { this.setInheritedOauth2PermissionGrants(n.getCollectionOfObjectValues(OAuth2PermissionGrant::createFromDiscriminatorValue)); }); + deserializerMap.put("managerApplications", (n) -> { this.setManagerApplications(n.getCollectionOfPrimitiveValues(UUID.class)); }); deserializerMap.put("sponsors", (n) -> { this.setSponsors(n.getCollectionOfObjectValues(DirectoryObject::createFromDiscriminatorValue)); }); return deserializerMap; } @@ -72,6 +83,14 @@ public java.util.List getInheritedAppRoleAssignments() { public java.util.List getInheritedOauth2PermissionGrants() { return this.backingStore.get("inheritedOauth2PermissionGrants"); } + /** + * Gets the managerApplications property value. The collection of application IDs designated as managers of this agent identity's backing agentIdentityBlueprint. Read-only; the value is server-managed and reflects the managerApplications of the backing agentIdentityBlueprint. To change the managers, an owner or administrator must update the managerApplications property on the backing agentIdentityBlueprint in the tenant where it's registered. For multitenant agent identity blueprints, admins in a tenant where the blueprint is only consumed can't make this change they must ask an owner or administrator in the blueprint's home tenant. Not nullable. Returned only on $select. + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getManagerApplications() { + return this.backingStore.get("managerApplications"); + } /** * Gets the sponsors property value. The sponsors for this agent identity. * @return a {@link java.util.List} @@ -88,6 +107,7 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ Objects.requireNonNull(writer); super.serialize(writer); writer.writeStringValue("agentIdentityBlueprintId", this.getAgentIdentityBlueprintId()); + writer.writeObjectValue("communicationConfiguration", this.getCommunicationConfiguration()); writer.writeOffsetDateTimeValue("createdDateTime", this.getCreatedDateTime()); writer.writeCollectionOfObjectValues("inheritedAppRoleAssignments", this.getInheritedAppRoleAssignments()); writer.writeCollectionOfObjectValues("inheritedOauth2PermissionGrants", this.getInheritedOauth2PermissionGrants()); @@ -100,6 +120,13 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ public void setAgentIdentityBlueprintId(@jakarta.annotation.Nullable final String value) { this.backingStore.set("agentIdentityBlueprintId", value); } + /** + * Sets the communicationConfiguration property value. The effective communication configuration for this agent identity. Represents the agent identity-level override that resolves on top of the configuration inherited from the agent identity blueprint. + * @param value Value to set for the communicationConfiguration property. + */ + public void setCommunicationConfiguration(@jakarta.annotation.Nullable final AgentCommunicationConfiguration value) { + this.backingStore.set("communicationConfiguration", value); + } /** * Sets the createdDateTime property value. The date and time the agent identity was created. Read-only. Inherited from servicePrincipal. * @param value Value to set for the createdDateTime property. @@ -121,6 +148,13 @@ public void setInheritedAppRoleAssignments(@jakarta.annotation.Nullable final ja public void setInheritedOauth2PermissionGrants(@jakarta.annotation.Nullable final java.util.List value) { this.backingStore.set("inheritedOauth2PermissionGrants", value); } + /** + * Sets the managerApplications property value. The collection of application IDs designated as managers of this agent identity's backing agentIdentityBlueprint. Read-only; the value is server-managed and reflects the managerApplications of the backing agentIdentityBlueprint. To change the managers, an owner or administrator must update the managerApplications property on the backing agentIdentityBlueprint in the tenant where it's registered. For multitenant agent identity blueprints, admins in a tenant where the blueprint is only consumed can't make this change they must ask an owner or administrator in the blueprint's home tenant. Not nullable. Returned only on $select. + * @param value Value to set for the managerApplications property. + */ + public void setManagerApplications(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("managerApplications", value); + } /** * Sets the sponsors property value. The sponsors for this agent identity. * @param value Value to set for the sponsors property. diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/AgentIdentityBlueprint.java b/src/main/java/com/microsoft/graph/beta/generated/models/AgentIdentityBlueprint.java index a2753aadd36..3faddb9752b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/AgentIdentityBlueprint.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/AgentIdentityBlueprint.java @@ -25,6 +25,14 @@ public static AgentIdentityBlueprint createFromDiscriminatorValue(@jakarta.annot Objects.requireNonNull(parseNode); return new AgentIdentityBlueprint(); } + /** + * Gets the communicationConfiguration property value. The default communication configuration for agent identities created from this agent identity blueprint. Agent identities inherit this configuration unless they define their own override. + * @return a {@link AgentCommunicationConfiguration} + */ + @jakarta.annotation.Nullable + public AgentCommunicationConfiguration getCommunicationConfiguration() { + return this.backingStore.get("communicationConfiguration"); + } /** * The deserialization information for the current model * @return a {@link Map>} @@ -32,6 +40,7 @@ public static AgentIdentityBlueprint createFromDiscriminatorValue(@jakarta.annot @jakarta.annotation.Nonnull public Map> getFieldDeserializers() { final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("communicationConfiguration", (n) -> { this.setCommunicationConfiguration(n.getObjectValue(AgentCommunicationConfiguration::createFromDiscriminatorValue)); }); deserializerMap.put("inheritablePermissions", (n) -> { this.setInheritablePermissions(n.getCollectionOfObjectValues(InheritablePermission::createFromDiscriminatorValue)); }); deserializerMap.put("sponsors", (n) -> { this.setSponsors(n.getCollectionOfObjectValues(DirectoryObject::createFromDiscriminatorValue)); }); return deserializerMap; @@ -59,9 +68,17 @@ public java.util.List getSponsors() { public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { Objects.requireNonNull(writer); super.serialize(writer); + writer.writeObjectValue("communicationConfiguration", this.getCommunicationConfiguration()); writer.writeCollectionOfObjectValues("inheritablePermissions", this.getInheritablePermissions()); writer.writeCollectionOfObjectValues("sponsors", this.getSponsors()); } + /** + * Sets the communicationConfiguration property value. The default communication configuration for agent identities created from this agent identity blueprint. Agent identities inherit this configuration unless they define their own override. + * @param value Value to set for the communicationConfiguration property. + */ + public void setCommunicationConfiguration(@jakarta.annotation.Nullable final AgentCommunicationConfiguration value) { + this.backingStore.set("communicationConfiguration", value); + } /** * Sets the inheritablePermissions property value. Defines scopes of a resource application that may be automatically granted to agent identities without additional consent. * @param value Value to set for the inheritablePermissions property. diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/AgentIdentityBlueprintPrincipal.java b/src/main/java/com/microsoft/graph/beta/generated/models/AgentIdentityBlueprintPrincipal.java index 173f028a84c..8c8e9eb7566 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/AgentIdentityBlueprintPrincipal.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/AgentIdentityBlueprintPrincipal.java @@ -6,6 +6,7 @@ import java.util.HashMap; import java.util.Map; import java.util.Objects; +import java.util.UUID; @jakarta.annotation.Generated("com.microsoft.kiota") public class AgentIdentityBlueprintPrincipal extends ServicePrincipal implements Parsable { /** @@ -32,9 +33,18 @@ public static AgentIdentityBlueprintPrincipal createFromDiscriminatorValue(@jaka @jakarta.annotation.Nonnull public Map> getFieldDeserializers() { final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("managerApplications", (n) -> { this.setManagerApplications(n.getCollectionOfPrimitiveValues(UUID.class)); }); deserializerMap.put("sponsors", (n) -> { this.setSponsors(n.getCollectionOfObjectValues(DirectoryObject::createFromDiscriminatorValue)); }); return deserializerMap; } + /** + * Gets the managerApplications property value. The collection of application IDs designated as managers of this agent identity blueprint principal's backing agentIdentityBlueprint. Read-only; the value is server-managed and reflects the managerApplications of the backing agentIdentityBlueprint. To change the managers, an owner or administrator must update the managerApplications property on the backing agentIdentityBlueprint in the tenant where it's registered. For multitenant agent identity blueprints, admins in a tenant where the blueprint is only consumed can't make this change they must ask an owner or administrator in the blueprint's home tenant. Not nullable. Returned only on $select. + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getManagerApplications() { + return this.backingStore.get("managerApplications"); + } /** * Gets the sponsors property value. The sponsors for this agent identity blueprint principal. Sponsors are users or service principals who can authorize and manage the lifecycle of agent identity instances. * @return a {@link java.util.List} @@ -52,6 +62,13 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ super.serialize(writer); writer.writeCollectionOfObjectValues("sponsors", this.getSponsors()); } + /** + * Sets the managerApplications property value. The collection of application IDs designated as managers of this agent identity blueprint principal's backing agentIdentityBlueprint. Read-only; the value is server-managed and reflects the managerApplications of the backing agentIdentityBlueprint. To change the managers, an owner or administrator must update the managerApplications property on the backing agentIdentityBlueprint in the tenant where it's registered. For multitenant agent identity blueprints, admins in a tenant where the blueprint is only consumed can't make this change they must ask an owner or administrator in the blueprint's home tenant. Not nullable. Returned only on $select. + * @param value Value to set for the managerApplications property. + */ + public void setManagerApplications(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("managerApplications", value); + } /** * Sets the sponsors property value. The sponsors for this agent identity blueprint principal. Sponsors are users or service principals who can authorize and manage the lifecycle of agent identity instances. * @param value Value to set for the sponsors property. diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/AgentIdentityType.java b/src/main/java/com/microsoft/graph/beta/generated/models/AgentIdentityType.java index 5dfeb4bb244..580a8bf2614 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/AgentIdentityType.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/AgentIdentityType.java @@ -9,7 +9,8 @@ public enum AgentIdentityType implements ValuedEnum { AgentUser("agentUser"), UnknownFutureValue("unknownFutureValue"), AgentIdentityBlueprintPrincipal("agentIdentityBlueprintPrincipal"), - User("user"); + User("user"), + DiscoveredAgentIdentity("discoveredAgentIdentity"); public final String value; AgentIdentityType(final String value) { this.value = value; @@ -25,6 +26,7 @@ public static AgentIdentityType forValue(@jakarta.annotation.Nonnull final Strin case "unknownFutureValue": return UnknownFutureValue; case "agentIdentityBlueprintPrincipal": return AgentIdentityBlueprintPrincipal; case "user": return User; + case "discoveredAgentIdentity": return DiscoveredAgentIdentity; default: return null; } } diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/AgentMessageNotificationMode.java b/src/main/java/com/microsoft/graph/beta/generated/models/AgentMessageNotificationMode.java new file mode 100644 index 00000000000..c32e43ec301 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/AgentMessageNotificationMode.java @@ -0,0 +1,27 @@ +package com.microsoft.graph.beta.models; + +import com.microsoft.kiota.serialization.ValuedEnum; +import java.util.Objects; + +@jakarta.annotation.Generated("com.microsoft.kiota") +public enum AgentMessageNotificationMode implements ValuedEnum { + AtMentionedMessagesOnly("atMentionedMessagesOnly"), + AllMessages("allMessages"), + UnknownFutureValue("unknownFutureValue"); + public final String value; + AgentMessageNotificationMode(final String value) { + this.value = value; + } + @jakarta.annotation.Nonnull + public String getValue() { return this.value; } + @jakarta.annotation.Nullable + public static AgentMessageNotificationMode forValue(@jakarta.annotation.Nonnull final String searchValue) { + Objects.requireNonNull(searchValue); + switch(searchValue) { + case "atMentionedMessagesOnly": return AtMentionedMessagesOnly; + case "allMessages": return AllMessages; + case "unknownFutureValue": return UnknownFutureValue; + default: return null; + } + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/AgentTeamworkConfiguration.java b/src/main/java/com/microsoft/graph/beta/generated/models/AgentTeamworkConfiguration.java new file mode 100644 index 00000000000..65a2d965e12 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/AgentTeamworkConfiguration.java @@ -0,0 +1,175 @@ +package com.microsoft.graph.beta.models; + +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class AgentTeamworkConfiguration implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link AgentTeamworkConfiguration} and sets the default values. + */ + public AgentTeamworkConfiguration() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link AgentTeamworkConfiguration} + */ + @jakarta.annotation.Nonnull + public static AgentTeamworkConfiguration createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new AgentTeamworkConfiguration(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * Gets the channelConfiguration property value. The message notification settings that the agent uses in channels. + * @return a {@link AgentConversationConfiguration} + */ + @jakarta.annotation.Nullable + public AgentConversationConfiguration getChannelConfiguration() { + return this.backingStore.get("channelConfiguration"); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(5); + deserializerMap.put("channelConfiguration", (n) -> { this.setChannelConfiguration(n.getObjectValue(AgentConversationConfiguration::createFromDiscriminatorValue)); }); + deserializerMap.put("groupChatConfiguration", (n) -> { this.setGroupChatConfiguration(n.getObjectValue(AgentConversationConfiguration::createFromDiscriminatorValue)); }); + deserializerMap.put("meetingChatConfiguration", (n) -> { this.setMeetingChatConfiguration(n.getObjectValue(AgentConversationConfiguration::createFromDiscriminatorValue)); }); + deserializerMap.put("@odata.type", (n) -> { this.setOdataType(n.getStringValue()); }); + deserializerMap.put("oneOnOneChatConfiguration", (n) -> { this.setOneOnOneChatConfiguration(n.getObjectValue(AgentConversationConfiguration::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the groupChatConfiguration property value. The message notification settings that the agent uses in group chats. + * @return a {@link AgentConversationConfiguration} + */ + @jakarta.annotation.Nullable + public AgentConversationConfiguration getGroupChatConfiguration() { + return this.backingStore.get("groupChatConfiguration"); + } + /** + * Gets the meetingChatConfiguration property value. The message notification settings that the agent uses in meeting chats. + * @return a {@link AgentConversationConfiguration} + */ + @jakarta.annotation.Nullable + public AgentConversationConfiguration getMeetingChatConfiguration() { + return this.backingStore.get("meetingChatConfiguration"); + } + /** + * Gets the @odata.type property value. The OdataType property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getOdataType() { + return this.backingStore.get("odataType"); + } + /** + * Gets the oneOnOneChatConfiguration property value. The message notification settings that the agent uses in one-on-one chats. + * @return a {@link AgentConversationConfiguration} + */ + @jakarta.annotation.Nullable + public AgentConversationConfiguration getOneOnOneChatConfiguration() { + return this.backingStore.get("oneOnOneChatConfiguration"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writeObjectValue("channelConfiguration", this.getChannelConfiguration()); + writer.writeObjectValue("groupChatConfiguration", this.getGroupChatConfiguration()); + writer.writeObjectValue("meetingChatConfiguration", this.getMeetingChatConfiguration()); + writer.writeStringValue("@odata.type", this.getOdataType()); + writer.writeObjectValue("oneOnOneChatConfiguration", this.getOneOnOneChatConfiguration()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } + /** + * Sets the channelConfiguration property value. The message notification settings that the agent uses in channels. + * @param value Value to set for the channelConfiguration property. + */ + public void setChannelConfiguration(@jakarta.annotation.Nullable final AgentConversationConfiguration value) { + this.backingStore.set("channelConfiguration", value); + } + /** + * Sets the groupChatConfiguration property value. The message notification settings that the agent uses in group chats. + * @param value Value to set for the groupChatConfiguration property. + */ + public void setGroupChatConfiguration(@jakarta.annotation.Nullable final AgentConversationConfiguration value) { + this.backingStore.set("groupChatConfiguration", value); + } + /** + * Sets the meetingChatConfiguration property value. The message notification settings that the agent uses in meeting chats. + * @param value Value to set for the meetingChatConfiguration property. + */ + public void setMeetingChatConfiguration(@jakarta.annotation.Nullable final AgentConversationConfiguration value) { + this.backingStore.set("meetingChatConfiguration", value); + } + /** + * Sets the @odata.type property value. The OdataType property + * @param value Value to set for the @odata.type property. + */ + public void setOdataType(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("odataType", value); + } + /** + * Sets the oneOnOneChatConfiguration property value. The message notification settings that the agent uses in one-on-one chats. + * @param value Value to set for the oneOnOneChatConfiguration property. + */ + public void setOneOnOneChatConfiguration(@jakarta.annotation.Nullable final AgentConversationConfiguration value) { + this.backingStore.set("oneOnOneChatConfiguration", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/AndroidManagedAppProtection.java b/src/main/java/com/microsoft/graph/beta/generated/models/AndroidManagedAppProtection.java index cc2ca23856e..1002f7a4def 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/AndroidManagedAppProtection.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/AndroidManagedAppProtection.java @@ -84,6 +84,14 @@ public ManagedAppRemediationAction getAppActionIfAndroidSafetyNetAppsVerificatio public ManagedAppRemediationAction getAppActionIfAndroidSafetyNetDeviceAttestationFailed() { return this.backingStore.get("appActionIfAndroidSafetyNetDeviceAttestationFailed"); } + /** + * Gets the appActionIfDeveloperOptionsEnabled property value. Defines a managed app behavior, either warn, block, or wipe, if Developer Options are enabled on the Android device. If the admin does not set this action, the default is null, which indicates this setting is not configured. + * @return a {@link ManagedAppRemediationAction} + */ + @jakarta.annotation.Nullable + public ManagedAppRemediationAction getAppActionIfDeveloperOptionsEnabled() { + return this.backingStore.get("appActionIfDeveloperOptionsEnabled"); + } /** * Gets the appActionIfDeviceLockNotSet property value. An admin initiated action to be applied on a managed app. * @return a {@link ManagedAppRemediationAction} @@ -258,6 +266,7 @@ public Map> getFieldDeserializers deserializerMap.put("appActionIfAndroidDeviceModelNotAllowed", (n) -> { this.setAppActionIfAndroidDeviceModelNotAllowed(n.getEnumValue(ManagedAppRemediationAction::forValue)); }); deserializerMap.put("appActionIfAndroidSafetyNetAppsVerificationFailed", (n) -> { this.setAppActionIfAndroidSafetyNetAppsVerificationFailed(n.getEnumValue(ManagedAppRemediationAction::forValue)); }); deserializerMap.put("appActionIfAndroidSafetyNetDeviceAttestationFailed", (n) -> { this.setAppActionIfAndroidSafetyNetDeviceAttestationFailed(n.getEnumValue(ManagedAppRemediationAction::forValue)); }); + deserializerMap.put("appActionIfDeveloperOptionsEnabled", (n) -> { this.setAppActionIfDeveloperOptionsEnabled(n.getEnumValue(ManagedAppRemediationAction::forValue)); }); deserializerMap.put("appActionIfDeviceLockNotSet", (n) -> { this.setAppActionIfDeviceLockNotSet(n.getEnumValue(ManagedAppRemediationAction::forValue)); }); deserializerMap.put("appActionIfDevicePasscodeComplexityLessThanHigh", (n) -> { this.setAppActionIfDevicePasscodeComplexityLessThanHigh(n.getEnumValue(ManagedAppRemediationAction::forValue)); }); deserializerMap.put("appActionIfDevicePasscodeComplexityLessThanLow", (n) -> { this.setAppActionIfDevicePasscodeComplexityLessThanLow(n.getEnumValue(ManagedAppRemediationAction::forValue)); }); @@ -456,6 +465,7 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeEnumValue("appActionIfAndroidDeviceModelNotAllowed", this.getAppActionIfAndroidDeviceModelNotAllowed()); writer.writeEnumValue("appActionIfAndroidSafetyNetAppsVerificationFailed", this.getAppActionIfAndroidSafetyNetAppsVerificationFailed()); writer.writeEnumValue("appActionIfAndroidSafetyNetDeviceAttestationFailed", this.getAppActionIfAndroidSafetyNetDeviceAttestationFailed()); + writer.writeEnumValue("appActionIfDeveloperOptionsEnabled", this.getAppActionIfDeveloperOptionsEnabled()); writer.writeEnumValue("appActionIfDeviceLockNotSet", this.getAppActionIfDeviceLockNotSet()); writer.writeEnumValue("appActionIfDevicePasscodeComplexityLessThanHigh", this.getAppActionIfDevicePasscodeComplexityLessThanHigh()); writer.writeEnumValue("appActionIfDevicePasscodeComplexityLessThanLow", this.getAppActionIfDevicePasscodeComplexityLessThanLow()); @@ -544,6 +554,13 @@ public void setAppActionIfAndroidSafetyNetAppsVerificationFailed(@jakarta.annota public void setAppActionIfAndroidSafetyNetDeviceAttestationFailed(@jakarta.annotation.Nullable final ManagedAppRemediationAction value) { this.backingStore.set("appActionIfAndroidSafetyNetDeviceAttestationFailed", value); } + /** + * Sets the appActionIfDeveloperOptionsEnabled property value. Defines a managed app behavior, either warn, block, or wipe, if Developer Options are enabled on the Android device. If the admin does not set this action, the default is null, which indicates this setting is not configured. + * @param value Value to set for the appActionIfDeveloperOptionsEnabled property. + */ + public void setAppActionIfDeveloperOptionsEnabled(@jakarta.annotation.Nullable final ManagedAppRemediationAction value) { + this.backingStore.set("appActionIfDeveloperOptionsEnabled", value); + } /** * Sets the appActionIfDeviceLockNotSet property value. An admin initiated action to be applied on a managed app. * @param value Value to set for the appActionIfDeviceLockNotSet property. diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/PermissionType.java b/src/main/java/com/microsoft/graph/beta/generated/models/ApplicationPermissionType.java similarity index 78% rename from src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/PermissionType.java rename to src/main/java/com/microsoft/graph/beta/generated/models/ApplicationPermissionType.java index 224e1cb8922..8c63f04fc4a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/PermissionType.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/ApplicationPermissionType.java @@ -1,10 +1,10 @@ -package com.microsoft.graph.beta.models.tenantgovernanceservices; +package com.microsoft.graph.beta.models; import com.microsoft.kiota.serialization.ValuedEnum; import java.util.Objects; @jakarta.annotation.Generated("com.microsoft.kiota") -public enum PermissionType implements ValuedEnum { +public enum ApplicationPermissionType implements ValuedEnum { /** Represents a type of permission that is for an app only scenario. No user is involved. */ Role("role"), /** Represents a type of permission that is for an app and user scenario. */ @@ -12,13 +12,13 @@ public enum PermissionType implements ValuedEnum { /** This will help in making this enum evolable and adding more values in the future- */ UnknownFutureValue("unknownFutureValue"); public final String value; - PermissionType(final String value) { + ApplicationPermissionType(final String value) { this.value = value; } @jakarta.annotation.Nonnull public String getValue() { return this.value; } @jakarta.annotation.Nullable - public static PermissionType forValue(@jakarta.annotation.Nonnull final String searchValue) { + public static ApplicationPermissionType forValue(@jakarta.annotation.Nonnull final String searchValue) { Objects.requireNonNull(searchValue); switch(searchValue) { case "role": return Role; diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/ResourcePermission.java b/src/main/java/com/microsoft/graph/beta/generated/models/ApplicationResourcePermission.java similarity index 84% rename from src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/ResourcePermission.java rename to src/main/java/com/microsoft/graph/beta/generated/models/ApplicationResourcePermission.java index 4c6040f7cd9..19bdaa21c5b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/ResourcePermission.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/ApplicationResourcePermission.java @@ -1,4 +1,4 @@ -package com.microsoft.graph.beta.models.tenantgovernanceservices; +package com.microsoft.graph.beta.models; import com.microsoft.kiota.serialization.AdditionalDataHolder; import com.microsoft.kiota.serialization.Parsable; @@ -11,28 +11,28 @@ import java.util.Map; import java.util.Objects; @jakarta.annotation.Generated("com.microsoft.kiota") -public class ResourcePermission implements AdditionalDataHolder, BackedModel, Parsable { +public class ApplicationResourcePermission implements AdditionalDataHolder, BackedModel, Parsable { /** * Stores model information. */ @jakarta.annotation.Nonnull protected BackingStore backingStore; /** - * Instantiates a new {@link ResourcePermission} and sets the default values. + * Instantiates a new {@link ApplicationResourcePermission} and sets the default values. */ - public ResourcePermission() { + public ApplicationResourcePermission() { this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); this.setAdditionalData(new HashMap<>()); } /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object - * @return a {@link ResourcePermission} + * @return a {@link ApplicationResourcePermission} */ @jakarta.annotation.Nonnull - public static ResourcePermission createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + public static ApplicationResourcePermission createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { Objects.requireNonNull(parseNode); - return new ResourcePermission(); + return new ApplicationResourcePermission(); } /** * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. @@ -65,11 +65,11 @@ public Map> getFieldDeserializers deserializerMap.put("id", (n) -> { this.setId(n.getStringValue()); }); deserializerMap.put("name", (n) -> { this.setName(n.getStringValue()); }); deserializerMap.put("@odata.type", (n) -> { this.setOdataType(n.getStringValue()); }); - deserializerMap.put("type", (n) -> { this.setType(n.getEnumValue(PermissionType::forValue)); }); + deserializerMap.put("type", (n) -> { this.setType(n.getEnumValue(ApplicationPermissionType::forValue)); }); return deserializerMap; } /** - * Gets the id property value. The unique identifier of the permission. + * Gets the id property value. The id property * @return a {@link String} */ @jakarta.annotation.Nullable @@ -77,7 +77,7 @@ public String getId() { return this.backingStore.get("id"); } /** - * Gets the name property value. The name of the permission. + * Gets the name property value. The name property * @return a {@link String} */ @jakarta.annotation.Nullable @@ -94,10 +94,10 @@ public String getOdataType() { } /** * Gets the type property value. The type property - * @return a {@link PermissionType} + * @return a {@link ApplicationPermissionType} */ @jakarta.annotation.Nullable - public PermissionType getType() { + public ApplicationPermissionType getType() { return this.backingStore.get("type"); } /** @@ -128,14 +128,14 @@ public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value this.backingStore = value; } /** - * Sets the id property value. The unique identifier of the permission. + * Sets the id property value. The id property * @param value Value to set for the id property. */ public void setId(@jakarta.annotation.Nullable final String value) { this.backingStore.set("id", value); } /** - * Sets the name property value. The name of the permission. + * Sets the name property value. The name property * @param value Value to set for the name property. */ public void setName(@jakarta.annotation.Nullable final String value) { @@ -152,7 +152,7 @@ public void setOdataType(@jakarta.annotation.Nullable final String value) { * Sets the type property value. The type property * @param value Value to set for the type property. */ - public void setType(@jakarta.annotation.Nullable final PermissionType value) { + public void setType(@jakarta.annotation.Nullable final ApplicationPermissionType value) { this.backingStore.set("type", value); } } diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/RequiredResourceAccess.java b/src/main/java/com/microsoft/graph/beta/generated/models/ApplicationsRequiredResourceAccess.java similarity index 80% rename from src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/RequiredResourceAccess.java rename to src/main/java/com/microsoft/graph/beta/generated/models/ApplicationsRequiredResourceAccess.java index 48d8d55271a..36f55c97b4b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/RequiredResourceAccess.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/ApplicationsRequiredResourceAccess.java @@ -1,4 +1,4 @@ -package com.microsoft.graph.beta.models.tenantgovernanceservices; +package com.microsoft.graph.beta.models; import com.microsoft.kiota.serialization.AdditionalDataHolder; import com.microsoft.kiota.serialization.Parsable; @@ -11,28 +11,28 @@ import java.util.Map; import java.util.Objects; @jakarta.annotation.Generated("com.microsoft.kiota") -public class RequiredResourceAccess implements AdditionalDataHolder, BackedModel, Parsable { +public class ApplicationsRequiredResourceAccess implements AdditionalDataHolder, BackedModel, Parsable { /** * Stores model information. */ @jakarta.annotation.Nonnull protected BackingStore backingStore; /** - * Instantiates a new {@link RequiredResourceAccess} and sets the default values. + * Instantiates a new {@link ApplicationsRequiredResourceAccess} and sets the default values. */ - public RequiredResourceAccess() { + public ApplicationsRequiredResourceAccess() { this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); this.setAdditionalData(new HashMap<>()); } /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object - * @return a {@link RequiredResourceAccess} + * @return a {@link ApplicationsRequiredResourceAccess} */ @jakarta.annotation.Nonnull - public static RequiredResourceAccess createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + public static ApplicationsRequiredResourceAccess createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { Objects.requireNonNull(parseNode); - return new RequiredResourceAccess(); + return new ApplicationsRequiredResourceAccess(); } /** * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. @@ -63,7 +63,7 @@ public BackingStore getBackingStore() { public Map> getFieldDeserializers() { final HashMap> deserializerMap = new HashMap>(3); deserializerMap.put("@odata.type", (n) -> { this.setOdataType(n.getStringValue()); }); - deserializerMap.put("permissions", (n) -> { this.setPermissions(n.getCollectionOfObjectValues(ResourcePermission::createFromDiscriminatorValue)); }); + deserializerMap.put("permissions", (n) -> { this.setPermissions(n.getCollectionOfObjectValues(ApplicationResourcePermission::createFromDiscriminatorValue)); }); deserializerMap.put("resourceAppId", (n) -> { this.setResourceAppId(n.getStringValue()); }); return deserializerMap; } @@ -76,15 +76,15 @@ public String getOdataType() { return this.backingStore.get("odataType"); } /** - * Gets the permissions property value. The collection of resource permissions required by the application. - * @return a {@link java.util.List} + * Gets the permissions property value. The permissions property + * @return a {@link java.util.List} */ @jakarta.annotation.Nullable - public java.util.List getPermissions() { + public java.util.List getPermissions() { return this.backingStore.get("permissions"); } /** - * Gets the resourceAppId property value. The appId (client ID) of the resource that the application needs to access. + * Gets the resourceAppId property value. The resourceAppId property * @return a {@link String} */ @jakarta.annotation.Nullable @@ -125,14 +125,14 @@ public void setOdataType(@jakarta.annotation.Nullable final String value) { this.backingStore.set("odataType", value); } /** - * Sets the permissions property value. The collection of resource permissions required by the application. + * Sets the permissions property value. The permissions property * @param value Value to set for the permissions property. */ - public void setPermissions(@jakarta.annotation.Nullable final java.util.List value) { + public void setPermissions(@jakarta.annotation.Nullable final java.util.List value) { this.backingStore.set("permissions", value); } /** - * Sets the resourceAppId property value. The appId (client ID) of the resource that the application needs to access. + * Sets the resourceAppId property value. The resourceAppId property * @param value Value to set for the resourceAppId property. */ public void setResourceAppId(@jakarta.annotation.Nullable final String value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/AuthenticationBehaviors.java b/src/main/java/com/microsoft/graph/beta/generated/models/AuthenticationBehaviors.java index 3b7093099bb..7c50fabee3b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/AuthenticationBehaviors.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/AuthenticationBehaviors.java @@ -63,14 +63,23 @@ public BackingStore getBackingStore() { public Boolean getBlockAzureADGraphAccess() { return this.backingStore.get("blockAzureADGraphAccess"); } + /** + * Gets the coopEnforcement property value. Indicates whether Cross-Origin-Opener-Policy (COOP) headers are enforced on browser-based authentication responses for the application. Set to true to enable enforcement, false to temporarily suppress enforcement, or null to use the service default. For how-to guidance, see Control Cross-Origin-Opener-Policy enforcement. + * @return a {@link Boolean} + */ + @jakarta.annotation.Nullable + public Boolean getCoopEnforcement() { + return this.backingStore.get("coopEnforcement"); + } /** * The deserialization information for the current model * @return a {@link Map>} */ @jakarta.annotation.Nonnull public Map> getFieldDeserializers() { - final HashMap> deserializerMap = new HashMap>(4); + final HashMap> deserializerMap = new HashMap>(5); deserializerMap.put("blockAzureADGraphAccess", (n) -> { this.setBlockAzureADGraphAccess(n.getBooleanValue()); }); + deserializerMap.put("coopEnforcement", (n) -> { this.setCoopEnforcement(n.getBooleanValue()); }); deserializerMap.put("@odata.type", (n) -> { this.setOdataType(n.getStringValue()); }); deserializerMap.put("removeUnverifiedEmailClaim", (n) -> { this.setRemoveUnverifiedEmailClaim(n.getBooleanValue()); }); deserializerMap.put("requireClientServicePrincipal", (n) -> { this.setRequireClientServicePrincipal(n.getBooleanValue()); }); @@ -107,6 +116,7 @@ public Boolean getRequireClientServicePrincipal() { public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { Objects.requireNonNull(writer); writer.writeBooleanValue("blockAzureADGraphAccess", this.getBlockAzureADGraphAccess()); + writer.writeBooleanValue("coopEnforcement", this.getCoopEnforcement()); writer.writeStringValue("@odata.type", this.getOdataType()); writer.writeBooleanValue("removeUnverifiedEmailClaim", this.getRemoveUnverifiedEmailClaim()); writer.writeBooleanValue("requireClientServicePrincipal", this.getRequireClientServicePrincipal()); @@ -134,6 +144,13 @@ public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value public void setBlockAzureADGraphAccess(@jakarta.annotation.Nullable final Boolean value) { this.backingStore.set("blockAzureADGraphAccess", value); } + /** + * Sets the coopEnforcement property value. Indicates whether Cross-Origin-Opener-Policy (COOP) headers are enforced on browser-based authentication responses for the application. Set to true to enable enforcement, false to temporarily suppress enforcement, or null to use the service default. For how-to guidance, see Control Cross-Origin-Opener-Policy enforcement. + * @param value Value to set for the coopEnforcement property. + */ + public void setCoopEnforcement(@jakarta.annotation.Nullable final Boolean value) { + this.backingStore.set("coopEnforcement", value); + } /** * Sets the @odata.type property value. The OdataType property * @param value Value to set for the @odata.type property. diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/B2BRegistrationMetricsBase.java b/src/main/java/com/microsoft/graph/beta/generated/models/B2BRegistrationMetricsBase.java similarity index 79% rename from src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/B2BRegistrationMetricsBase.java rename to src/main/java/com/microsoft/graph/beta/generated/models/B2BRegistrationMetricsBase.java index efb5384f733..792cded81ff 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/B2BRegistrationMetricsBase.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/B2BRegistrationMetricsBase.java @@ -1,6 +1,5 @@ -package com.microsoft.graph.beta.models.tenantgovernanceservices; +package com.microsoft.graph.beta.models; -import com.microsoft.graph.beta.models.Entity; import com.microsoft.kiota.serialization.Parsable; import com.microsoft.kiota.serialization.ParseNode; import com.microsoft.kiota.serialization.SerializationWriter; @@ -29,8 +28,8 @@ public static B2BRegistrationMetricsBase createFromDiscriminatorValue(@jakarta.a if (mappingValueNode != null) { final String mappingValue = mappingValueNode.getStringValue(); switch (mappingValue) { - case "#microsoft.graph.tenantGovernanceServices.b2BRegistrationMetricsInitial": return new B2BRegistrationMetricsInitial(); - case "#microsoft.graph.tenantGovernanceServices.b2BRegistrationMetricsRecent": return new B2BRegistrationMetricsRecent(); + case "#microsoft.graph.b2BRegistrationMetricsInitial": return new B2BRegistrationMetricsInitial(); + case "#microsoft.graph.b2BRegistrationMetricsRecent": return new B2BRegistrationMetricsRecent(); } } return new B2BRegistrationMetricsBase(); @@ -48,7 +47,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the inboundTotalUsers property value. The total number of inbound B2B guest users registered. + * Gets the inboundTotalUsers property value. The inboundTotalUsers property * @return a {@link BigDecimal} */ @jakarta.annotation.Nullable @@ -56,7 +55,7 @@ public BigDecimal getInboundTotalUsers() { return this.backingStore.get("inboundTotalUsers"); } /** - * Gets the outboundTotalUsers property value. The total number of outbound B2B users from this tenant registered in other tenants. + * Gets the outboundTotalUsers property value. The outboundTotalUsers property * @return a {@link BigDecimal} */ @jakarta.annotation.Nullable @@ -64,7 +63,7 @@ public BigDecimal getOutboundTotalUsers() { return this.backingStore.get("outboundTotalUsers"); } /** - * Gets the watermarkDateTime property value. The date and time when the metrics snapshot was taken. + * Gets the watermarkDateTime property value. The watermarkDateTime property * @return a {@link OffsetDateTime} */ @jakarta.annotation.Nullable @@ -83,21 +82,21 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeOffsetDateTimeValue("watermarkDateTime", this.getWatermarkDateTime()); } /** - * Sets the inboundTotalUsers property value. The total number of inbound B2B guest users registered. + * Sets the inboundTotalUsers property value. The inboundTotalUsers property * @param value Value to set for the inboundTotalUsers property. */ public void setInboundTotalUsers(@jakarta.annotation.Nullable final BigDecimal value) { this.backingStore.set("inboundTotalUsers", value); } /** - * Sets the outboundTotalUsers property value. The total number of outbound B2B users from this tenant registered in other tenants. + * Sets the outboundTotalUsers property value. The outboundTotalUsers property * @param value Value to set for the outboundTotalUsers property. */ public void setOutboundTotalUsers(@jakarta.annotation.Nullable final BigDecimal value) { this.backingStore.set("outboundTotalUsers", value); } /** - * Sets the watermarkDateTime property value. The date and time when the metrics snapshot was taken. + * Sets the watermarkDateTime property value. The watermarkDateTime property * @param value Value to set for the watermarkDateTime property. */ public void setWatermarkDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/B2BRegistrationMetricsInitial.java b/src/main/java/com/microsoft/graph/beta/generated/models/B2BRegistrationMetricsInitial.java similarity index 85% rename from src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/B2BRegistrationMetricsInitial.java rename to src/main/java/com/microsoft/graph/beta/generated/models/B2BRegistrationMetricsInitial.java index 1d223b726fc..bbf73f12cde 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/B2BRegistrationMetricsInitial.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/B2BRegistrationMetricsInitial.java @@ -1,4 +1,4 @@ -package com.microsoft.graph.beta.models.tenantgovernanceservices; +package com.microsoft.graph.beta.models; import com.microsoft.kiota.serialization.Parsable; import com.microsoft.kiota.serialization.ParseNode; @@ -14,7 +14,7 @@ public class B2BRegistrationMetricsInitial extends B2BRegistrationMetricsBase im */ public B2BRegistrationMetricsInitial() { super(); - this.setOdataType("#microsoft.graph.tenantGovernanceServices.b2BRegistrationMetricsInitial"); + this.setOdataType("#microsoft.graph.b2BRegistrationMetricsInitial"); } /** * Creates a new instance of the appropriate class based on discriminator value @@ -27,7 +27,7 @@ public static B2BRegistrationMetricsInitial createFromDiscriminatorValue(@jakart return new B2BRegistrationMetricsInitial(); } /** - * Gets the createdDateTime property value. Timestamp that represents the date time that B2B registration data was initially aggregated. + * Gets the createdDateTime property value. The createdDateTime property * @return a {@link OffsetDateTime} */ @jakarta.annotation.Nullable @@ -54,7 +54,7 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeOffsetDateTimeValue("createdDateTime", this.getCreatedDateTime()); } /** - * Sets the createdDateTime property value. Timestamp that represents the date time that B2B registration data was initially aggregated. + * Sets the createdDateTime property value. The createdDateTime property * @param value Value to set for the createdDateTime property. */ public void setCreatedDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/B2BRegistrationMetricsRecent.java b/src/main/java/com/microsoft/graph/beta/generated/models/B2BRegistrationMetricsRecent.java similarity index 82% rename from src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/B2BRegistrationMetricsRecent.java rename to src/main/java/com/microsoft/graph/beta/generated/models/B2BRegistrationMetricsRecent.java index c08652083e9..2b5c05a0016 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/B2BRegistrationMetricsRecent.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/B2BRegistrationMetricsRecent.java @@ -1,4 +1,4 @@ -package com.microsoft.graph.beta.models.tenantgovernanceservices; +package com.microsoft.graph.beta.models; import com.microsoft.kiota.serialization.Parsable; import com.microsoft.kiota.serialization.ParseNode; @@ -14,7 +14,7 @@ public class B2BRegistrationMetricsRecent extends B2BRegistrationMetricsBase imp */ public B2BRegistrationMetricsRecent() { super(); - this.setOdataType("#microsoft.graph.tenantGovernanceServices.b2BRegistrationMetricsRecent"); + this.setOdataType("#microsoft.graph.b2BRegistrationMetricsRecent"); } /** * Creates a new instance of the appropriate class based on discriminator value @@ -37,7 +37,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the updateDateTime property value. Timestamp that represents the most recent time B2B registration data was aggregated and have sufficiently changed for the related tenant. + * Gets the updateDateTime property value. The updateDateTime property * @return a {@link OffsetDateTime} */ @jakarta.annotation.Nullable @@ -54,7 +54,7 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeOffsetDateTimeValue("updateDateTime", this.getUpdateDateTime()); } /** - * Sets the updateDateTime property value. Timestamp that represents the most recent time B2B registration data was aggregated and have sufficiently changed for the related tenant. + * Sets the updateDateTime property value. The updateDateTime property * @param value Value to set for the updateDateTime property. */ public void setUpdateDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/B2BSignInActivityMetrics.java b/src/main/java/com/microsoft/graph/beta/generated/models/B2BSignInActivityMetrics.java similarity index 79% rename from src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/B2BSignInActivityMetrics.java rename to src/main/java/com/microsoft/graph/beta/generated/models/B2BSignInActivityMetrics.java index b971373fb21..e6a60c1faf1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/B2BSignInActivityMetrics.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/B2BSignInActivityMetrics.java @@ -1,6 +1,5 @@ -package com.microsoft.graph.beta.models.tenantgovernanceservices; +package com.microsoft.graph.beta.models; -import com.microsoft.graph.beta.models.Entity; import com.microsoft.kiota.serialization.Parsable; import com.microsoft.kiota.serialization.ParseNode; import com.microsoft.kiota.serialization.SerializationWriter; @@ -33,7 +32,7 @@ public static B2BSignInActivityMetrics createFromDiscriminatorValue(@jakarta.ann public Map> getFieldDeserializers() { final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); deserializerMap.put("initial", (n) -> { this.setInitial(n.getObjectValue(B2BSignInActivityMetricsInitial::createFromDiscriminatorValue)); }); - deserializerMap.put("investigationHints", (n) -> { this.setInvestigationHints(n.getCollectionOfObjectValues(ActionStep::createFromDiscriminatorValue)); }); + deserializerMap.put("investigationHints", (n) -> { this.setInvestigationHints(n.getCollectionOfObjectValues(InvestigationActionStep::createFromDiscriminatorValue)); }); deserializerMap.put("recent", (n) -> { this.setRecent(n.getObjectValue(B2BSignInActivityMetricsRecent::createFromDiscriminatorValue)); }); return deserializerMap; } @@ -46,11 +45,11 @@ public B2BSignInActivityMetricsInitial getInitial() { return this.backingStore.get("initial"); } /** - * Gets the investigationHints property value. Ordered drill-in guidance for investigating sign-in user and application counts. This collection is returned only when explicitly requested by using a nested $expand query parameter, for example $expand=b2BSignInActivityMetrics($expand=investigationHints). - * @return a {@link java.util.List} + * Gets the investigationHints property value. The investigationHints property + * @return a {@link java.util.List} */ @jakarta.annotation.Nullable - public java.util.List getInvestigationHints() { + public java.util.List getInvestigationHints() { return this.backingStore.get("investigationHints"); } /** @@ -80,10 +79,10 @@ public void setInitial(@jakarta.annotation.Nullable final B2BSignInActivityMetri this.backingStore.set("initial", value); } /** - * Sets the investigationHints property value. Ordered drill-in guidance for investigating sign-in user and application counts. This collection is returned only when explicitly requested by using a nested $expand query parameter, for example $expand=b2BSignInActivityMetrics($expand=investigationHints). + * Sets the investigationHints property value. The investigationHints property * @param value Value to set for the investigationHints property. */ - public void setInvestigationHints(@jakarta.annotation.Nullable final java.util.List value) { + public void setInvestigationHints(@jakarta.annotation.Nullable final java.util.List value) { this.backingStore.set("investigationHints", value); } /** diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/B2BSignInActivityMetricsBase.java b/src/main/java/com/microsoft/graph/beta/generated/models/B2BSignInActivityMetricsBase.java similarity index 80% rename from src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/B2BSignInActivityMetricsBase.java rename to src/main/java/com/microsoft/graph/beta/generated/models/B2BSignInActivityMetricsBase.java index 819c3298cba..1f6ce04bef8 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/B2BSignInActivityMetricsBase.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/B2BSignInActivityMetricsBase.java @@ -1,6 +1,5 @@ -package com.microsoft.graph.beta.models.tenantgovernanceservices; +package com.microsoft.graph.beta.models; -import com.microsoft.graph.beta.models.Entity; import com.microsoft.kiota.serialization.Parsable; import com.microsoft.kiota.serialization.ParseNode; import com.microsoft.kiota.serialization.SerializationWriter; @@ -29,8 +28,8 @@ public static B2BSignInActivityMetricsBase createFromDiscriminatorValue(@jakarta if (mappingValueNode != null) { final String mappingValue = mappingValueNode.getStringValue(); switch (mappingValue) { - case "#microsoft.graph.tenantGovernanceServices.b2BSignInActivityMetricsInitial": return new B2BSignInActivityMetricsInitial(); - case "#microsoft.graph.tenantGovernanceServices.b2BSignInActivityMetricsRecent": return new B2BSignInActivityMetricsRecent(); + case "#microsoft.graph.b2BSignInActivityMetricsInitial": return new B2BSignInActivityMetricsInitial(); + case "#microsoft.graph.b2BSignInActivityMetricsRecent": return new B2BSignInActivityMetricsRecent(); } } return new B2BSignInActivityMetricsBase(); @@ -50,7 +49,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the inboundMonthlyTotalApplications property value. The total number of applications accessed by inbound users in the last month. + * Gets the inboundMonthlyTotalApplications property value. The inboundMonthlyTotalApplications property * @return a {@link BigDecimal} */ @jakarta.annotation.Nullable @@ -58,7 +57,7 @@ public BigDecimal getInboundMonthlyTotalApplications() { return this.backingStore.get("inboundMonthlyTotalApplications"); } /** - * Gets the inboundMonthlyTotalUsers property value. The total number of unique inbound users with sign-in activity in the last month. + * Gets the inboundMonthlyTotalUsers property value. The inboundMonthlyTotalUsers property * @return a {@link BigDecimal} */ @jakarta.annotation.Nullable @@ -66,7 +65,7 @@ public BigDecimal getInboundMonthlyTotalUsers() { return this.backingStore.get("inboundMonthlyTotalUsers"); } /** - * Gets the outboundMonthlyTotalApplications property value. The total number of applications accessed by outbound users in the last month. + * Gets the outboundMonthlyTotalApplications property value. The outboundMonthlyTotalApplications property * @return a {@link BigDecimal} */ @jakarta.annotation.Nullable @@ -74,7 +73,7 @@ public BigDecimal getOutboundMonthlyTotalApplications() { return this.backingStore.get("outboundMonthlyTotalApplications"); } /** - * Gets the outboundMonthlyTotalUsers property value. The total number of unique outbound users with sign-in activity in the last month. + * Gets the outboundMonthlyTotalUsers property value. The outboundMonthlyTotalUsers property * @return a {@link BigDecimal} */ @jakarta.annotation.Nullable @@ -82,7 +81,7 @@ public BigDecimal getOutboundMonthlyTotalUsers() { return this.backingStore.get("outboundMonthlyTotalUsers"); } /** - * Gets the watermarkDateTime property value. The date and time when the metrics snapshot was taken. + * Gets the watermarkDateTime property value. The watermarkDateTime property * @return a {@link OffsetDateTime} */ @jakarta.annotation.Nullable @@ -103,35 +102,35 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeOffsetDateTimeValue("watermarkDateTime", this.getWatermarkDateTime()); } /** - * Sets the inboundMonthlyTotalApplications property value. The total number of applications accessed by inbound users in the last month. + * Sets the inboundMonthlyTotalApplications property value. The inboundMonthlyTotalApplications property * @param value Value to set for the inboundMonthlyTotalApplications property. */ public void setInboundMonthlyTotalApplications(@jakarta.annotation.Nullable final BigDecimal value) { this.backingStore.set("inboundMonthlyTotalApplications", value); } /** - * Sets the inboundMonthlyTotalUsers property value. The total number of unique inbound users with sign-in activity in the last month. + * Sets the inboundMonthlyTotalUsers property value. The inboundMonthlyTotalUsers property * @param value Value to set for the inboundMonthlyTotalUsers property. */ public void setInboundMonthlyTotalUsers(@jakarta.annotation.Nullable final BigDecimal value) { this.backingStore.set("inboundMonthlyTotalUsers", value); } /** - * Sets the outboundMonthlyTotalApplications property value. The total number of applications accessed by outbound users in the last month. + * Sets the outboundMonthlyTotalApplications property value. The outboundMonthlyTotalApplications property * @param value Value to set for the outboundMonthlyTotalApplications property. */ public void setOutboundMonthlyTotalApplications(@jakarta.annotation.Nullable final BigDecimal value) { this.backingStore.set("outboundMonthlyTotalApplications", value); } /** - * Sets the outboundMonthlyTotalUsers property value. The total number of unique outbound users with sign-in activity in the last month. + * Sets the outboundMonthlyTotalUsers property value. The outboundMonthlyTotalUsers property * @param value Value to set for the outboundMonthlyTotalUsers property. */ public void setOutboundMonthlyTotalUsers(@jakarta.annotation.Nullable final BigDecimal value) { this.backingStore.set("outboundMonthlyTotalUsers", value); } /** - * Sets the watermarkDateTime property value. The date and time when the metrics snapshot was taken. + * Sets the watermarkDateTime property value. The watermarkDateTime property * @param value Value to set for the watermarkDateTime property. */ public void setWatermarkDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/B2BSignInActivityMetricsInitial.java b/src/main/java/com/microsoft/graph/beta/generated/models/B2BSignInActivityMetricsInitial.java similarity index 83% rename from src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/B2BSignInActivityMetricsInitial.java rename to src/main/java/com/microsoft/graph/beta/generated/models/B2BSignInActivityMetricsInitial.java index a494dc3703a..1b7750a6dee 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/B2BSignInActivityMetricsInitial.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/B2BSignInActivityMetricsInitial.java @@ -1,4 +1,4 @@ -package com.microsoft.graph.beta.models.tenantgovernanceservices; +package com.microsoft.graph.beta.models; import com.microsoft.kiota.serialization.Parsable; import com.microsoft.kiota.serialization.ParseNode; @@ -14,7 +14,7 @@ public class B2BSignInActivityMetricsInitial extends B2BSignInActivityMetricsBas */ public B2BSignInActivityMetricsInitial() { super(); - this.setOdataType("#microsoft.graph.tenantGovernanceServices.b2BSignInActivityMetricsInitial"); + this.setOdataType("#microsoft.graph.b2BSignInActivityMetricsInitial"); } /** * Creates a new instance of the appropriate class based on discriminator value @@ -27,7 +27,7 @@ public static B2BSignInActivityMetricsInitial createFromDiscriminatorValue(@jaka return new B2BSignInActivityMetricsInitial(); } /** - * Gets the createdDateTime property value. Timestamp that represents when the time B2B sign-in activity content was initially aggregated for the related tenant. + * Gets the createdDateTime property value. The createdDateTime property * @return a {@link OffsetDateTime} */ @jakarta.annotation.Nullable @@ -54,7 +54,7 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeOffsetDateTimeValue("createdDateTime", this.getCreatedDateTime()); } /** - * Sets the createdDateTime property value. Timestamp that represents when the time B2B sign-in activity content was initially aggregated for the related tenant. + * Sets the createdDateTime property value. The createdDateTime property * @param value Value to set for the createdDateTime property. */ public void setCreatedDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/B2BSignInActivityMetricsRecent.java b/src/main/java/com/microsoft/graph/beta/generated/models/B2BSignInActivityMetricsRecent.java similarity index 82% rename from src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/B2BSignInActivityMetricsRecent.java rename to src/main/java/com/microsoft/graph/beta/generated/models/B2BSignInActivityMetricsRecent.java index 27d3b8b1ad8..9bc9f598ca6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/B2BSignInActivityMetricsRecent.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/B2BSignInActivityMetricsRecent.java @@ -1,4 +1,4 @@ -package com.microsoft.graph.beta.models.tenantgovernanceservices; +package com.microsoft.graph.beta.models; import com.microsoft.kiota.serialization.Parsable; import com.microsoft.kiota.serialization.ParseNode; @@ -14,7 +14,7 @@ public class B2BSignInActivityMetricsRecent extends B2BSignInActivityMetricsBase */ public B2BSignInActivityMetricsRecent() { super(); - this.setOdataType("#microsoft.graph.tenantGovernanceServices.b2BSignInActivityMetricsRecent"); + this.setOdataType("#microsoft.graph.b2BSignInActivityMetricsRecent"); } /** * Creates a new instance of the appropriate class based on discriminator value @@ -37,7 +37,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the updateDateTime property value. Timestamp that represents the most recent time B2B registration data was aggregated and have sufficiently changed for the related tenant. + * Gets the updateDateTime property value. The updateDateTime property * @return a {@link OffsetDateTime} */ @jakarta.annotation.Nullable @@ -54,7 +54,7 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeOffsetDateTimeValue("updateDateTime", this.getUpdateDateTime()); } /** - * Sets the updateDateTime property value. Timestamp that represents the most recent time B2B registration data was aggregated and have sufficiently changed for the related tenant. + * Sets the updateDateTime property value. The updateDateTime property * @param value Value to set for the updateDateTime property. */ public void setUpdateDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/B2bRegistrationMetrics.java b/src/main/java/com/microsoft/graph/beta/generated/models/B2bRegistrationMetrics.java similarity index 80% rename from src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/B2bRegistrationMetrics.java rename to src/main/java/com/microsoft/graph/beta/generated/models/B2bRegistrationMetrics.java index 637f773d2fe..5a787cc99ce 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/B2bRegistrationMetrics.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/B2bRegistrationMetrics.java @@ -1,6 +1,5 @@ -package com.microsoft.graph.beta.models.tenantgovernanceservices; +package com.microsoft.graph.beta.models; -import com.microsoft.graph.beta.models.Entity; import com.microsoft.kiota.serialization.Parsable; import com.microsoft.kiota.serialization.ParseNode; import com.microsoft.kiota.serialization.SerializationWriter; @@ -33,7 +32,7 @@ public static B2bRegistrationMetrics createFromDiscriminatorValue(@jakarta.annot public Map> getFieldDeserializers() { final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); deserializerMap.put("initial", (n) -> { this.setInitial(n.getObjectValue(B2BRegistrationMetricsInitial::createFromDiscriminatorValue)); }); - deserializerMap.put("investigationHints", (n) -> { this.setInvestigationHints(n.getCollectionOfObjectValues(ActionStep::createFromDiscriminatorValue)); }); + deserializerMap.put("investigationHints", (n) -> { this.setInvestigationHints(n.getCollectionOfObjectValues(InvestigationActionStep::createFromDiscriminatorValue)); }); deserializerMap.put("recent", (n) -> { this.setRecent(n.getObjectValue(B2BRegistrationMetricsRecent::createFromDiscriminatorValue)); }); return deserializerMap; } @@ -46,11 +45,11 @@ public B2BRegistrationMetricsInitial getInitial() { return this.backingStore.get("initial"); } /** - * Gets the investigationHints property value. Ordered drill-in guidance for investigating B2B registration metrics. This collection is returned only when explicitly requested by using a nested $expand query parameter, for example $expand=b2BRegistrationMetrics($expand=investigationHints). - * @return a {@link java.util.List} + * Gets the investigationHints property value. The investigationHints property + * @return a {@link java.util.List} */ @jakarta.annotation.Nullable - public java.util.List getInvestigationHints() { + public java.util.List getInvestigationHints() { return this.backingStore.get("investigationHints"); } /** @@ -80,10 +79,10 @@ public void setInitial(@jakarta.annotation.Nullable final B2BRegistrationMetrics this.backingStore.set("initial", value); } /** - * Sets the investigationHints property value. Ordered drill-in guidance for investigating B2B registration metrics. This collection is returned only when explicitly requested by using a nested $expand query parameter, for example $expand=b2BRegistrationMetrics($expand=investigationHints). + * Sets the investigationHints property value. The investigationHints property * @param value Value to set for the investigationHints property. */ - public void setInvestigationHints(@jakarta.annotation.Nullable final java.util.List value) { + public void setInvestigationHints(@jakarta.annotation.Nullable final java.util.List value) { this.backingStore.set("investigationHints", value); } /** diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/BillingMetrics.java b/src/main/java/com/microsoft/graph/beta/generated/models/BillingMetrics.java similarity index 79% rename from src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/BillingMetrics.java rename to src/main/java/com/microsoft/graph/beta/generated/models/BillingMetrics.java index 0f7d2f27958..7cfddb2ff09 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/BillingMetrics.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/BillingMetrics.java @@ -1,6 +1,5 @@ -package com.microsoft.graph.beta.models.tenantgovernanceservices; +package com.microsoft.graph.beta.models; -import com.microsoft.graph.beta.models.Entity; import com.microsoft.kiota.serialization.Parsable; import com.microsoft.kiota.serialization.ParseNode; import com.microsoft.kiota.serialization.SerializationWriter; @@ -33,7 +32,7 @@ public static BillingMetrics createFromDiscriminatorValue(@jakarta.annotation.No public Map> getFieldDeserializers() { final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); deserializerMap.put("initial", (n) -> { this.setInitial(n.getObjectValue(BillingMetricsInitial::createFromDiscriminatorValue)); }); - deserializerMap.put("investigationHints", (n) -> { this.setInvestigationHints(n.getCollectionOfObjectValues(ActionStep::createFromDiscriminatorValue)); }); + deserializerMap.put("investigationHints", (n) -> { this.setInvestigationHints(n.getCollectionOfObjectValues(InvestigationActionStep::createFromDiscriminatorValue)); }); deserializerMap.put("recent", (n) -> { this.setRecent(n.getObjectValue(BillingMetricsRecent::createFromDiscriminatorValue)); }); return deserializerMap; } @@ -46,11 +45,11 @@ public BillingMetricsInitial getInitial() { return this.backingStore.get("initial"); } /** - * Gets the investigationHints property value. Ordered drill-in guidance for investigating billing relationship counts. This collection is returned only when explicitly requested by using a nested $expand query parameter, for example $expand=billingMetrics($expand=investigationHints). - * @return a {@link java.util.List} + * Gets the investigationHints property value. The investigationHints property + * @return a {@link java.util.List} */ @jakarta.annotation.Nullable - public java.util.List getInvestigationHints() { + public java.util.List getInvestigationHints() { return this.backingStore.get("investigationHints"); } /** @@ -80,10 +79,10 @@ public void setInitial(@jakarta.annotation.Nullable final BillingMetricsInitial this.backingStore.set("initial", value); } /** - * Sets the investigationHints property value. Ordered drill-in guidance for investigating billing relationship counts. This collection is returned only when explicitly requested by using a nested $expand query parameter, for example $expand=billingMetrics($expand=investigationHints). + * Sets the investigationHints property value. The investigationHints property * @param value Value to set for the investigationHints property. */ - public void setInvestigationHints(@jakarta.annotation.Nullable final java.util.List value) { + public void setInvestigationHints(@jakarta.annotation.Nullable final java.util.List value) { this.backingStore.set("investigationHints", value); } /** diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/BillingMetricsBase.java b/src/main/java/com/microsoft/graph/beta/generated/models/BillingMetricsBase.java similarity index 84% rename from src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/BillingMetricsBase.java rename to src/main/java/com/microsoft/graph/beta/generated/models/BillingMetricsBase.java index 28a33396c08..fdcbe4a990a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/BillingMetricsBase.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/BillingMetricsBase.java @@ -1,6 +1,5 @@ -package com.microsoft.graph.beta.models.tenantgovernanceservices; +package com.microsoft.graph.beta.models; -import com.microsoft.graph.beta.models.Entity; import com.microsoft.kiota.serialization.Parsable; import com.microsoft.kiota.serialization.ParseNode; import com.microsoft.kiota.serialization.SerializationWriter; @@ -29,8 +28,8 @@ public static BillingMetricsBase createFromDiscriminatorValue(@jakarta.annotatio if (mappingValueNode != null) { final String mappingValue = mappingValueNode.getStringValue(); switch (mappingValue) { - case "#microsoft.graph.tenantGovernanceServices.billingMetricsInitial": return new BillingMetricsInitial(); - case "#microsoft.graph.tenantGovernanceServices.billingMetricsRecent": return new BillingMetricsRecent(); + case "#microsoft.graph.billingMetricsInitial": return new BillingMetricsInitial(); + case "#microsoft.graph.billingMetricsRecent": return new BillingMetricsRecent(); } } return new BillingMetricsBase(); @@ -53,7 +52,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the foreignAssociatedTenantBillingManagementActiveCount property value. The number of foreign associated tenants with active billing management. + * Gets the foreignAssociatedTenantBillingManagementActiveCount property value. The foreignAssociatedTenantBillingManagementActiveCount property * @return a {@link BigDecimal} */ @jakarta.annotation.Nullable @@ -61,7 +60,7 @@ public BigDecimal getForeignAssociatedTenantBillingManagementActiveCount() { return this.backingStore.get("foreignAssociatedTenantBillingManagementActiveCount"); } /** - * Gets the foreignAssociatedTenantCount property value. The total number of foreign associated tenants. + * Gets the foreignAssociatedTenantCount property value. The foreignAssociatedTenantCount property * @return a {@link BigDecimal} */ @jakarta.annotation.Nullable @@ -69,7 +68,7 @@ public BigDecimal getForeignAssociatedTenantCount() { return this.backingStore.get("foreignAssociatedTenantCount"); } /** - * Gets the foreignAssociatedTenantProvisioningActiveCount property value. The number of foreign associated tenants with active provisioning. + * Gets the foreignAssociatedTenantProvisioningActiveCount property value. The foreignAssociatedTenantProvisioningActiveCount property * @return a {@link BigDecimal} */ @jakarta.annotation.Nullable @@ -77,7 +76,7 @@ public BigDecimal getForeignAssociatedTenantProvisioningActiveCount() { return this.backingStore.get("foreignAssociatedTenantProvisioningActiveCount"); } /** - * Gets the localAssociatedTenantBillingManagementActiveCount property value. The number of local associated tenants with active billing management. + * Gets the localAssociatedTenantBillingManagementActiveCount property value. The localAssociatedTenantBillingManagementActiveCount property * @return a {@link BigDecimal} */ @jakarta.annotation.Nullable @@ -85,7 +84,7 @@ public BigDecimal getLocalAssociatedTenantBillingManagementActiveCount() { return this.backingStore.get("localAssociatedTenantBillingManagementActiveCount"); } /** - * Gets the localAssociatedTenantCount property value. The total number of local associated tenants. + * Gets the localAssociatedTenantCount property value. The localAssociatedTenantCount property * @return a {@link BigDecimal} */ @jakarta.annotation.Nullable @@ -93,7 +92,7 @@ public BigDecimal getLocalAssociatedTenantCount() { return this.backingStore.get("localAssociatedTenantCount"); } /** - * Gets the localAssociatedTenantIds property value. The list of local associated tenant IDs. + * Gets the localAssociatedTenantIds property value. The localAssociatedTenantIds property * @return a {@link java.util.List} */ @jakarta.annotation.Nullable @@ -101,7 +100,7 @@ public java.util.List getLocalAssociatedTenantIds() { return this.backingStore.get("localAssociatedTenantIds"); } /** - * Gets the localAssociatedTenantProvisioningActiveCount property value. The number of local associated tenants with active provisioning. + * Gets the localAssociatedTenantProvisioningActiveCount property value. The localAssociatedTenantProvisioningActiveCount property * @return a {@link BigDecimal} */ @jakarta.annotation.Nullable @@ -109,7 +108,7 @@ public BigDecimal getLocalAssociatedTenantProvisioningActiveCount() { return this.backingStore.get("localAssociatedTenantProvisioningActiveCount"); } /** - * Gets the watermarkDateTime property value. The date and time when the metrics snapshot was taken. + * Gets the watermarkDateTime property value. The watermarkDateTime property * @return a {@link OffsetDateTime} */ @jakarta.annotation.Nullable @@ -133,56 +132,56 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeOffsetDateTimeValue("watermarkDateTime", this.getWatermarkDateTime()); } /** - * Sets the foreignAssociatedTenantBillingManagementActiveCount property value. The number of foreign associated tenants with active billing management. + * Sets the foreignAssociatedTenantBillingManagementActiveCount property value. The foreignAssociatedTenantBillingManagementActiveCount property * @param value Value to set for the foreignAssociatedTenantBillingManagementActiveCount property. */ public void setForeignAssociatedTenantBillingManagementActiveCount(@jakarta.annotation.Nullable final BigDecimal value) { this.backingStore.set("foreignAssociatedTenantBillingManagementActiveCount", value); } /** - * Sets the foreignAssociatedTenantCount property value. The total number of foreign associated tenants. + * Sets the foreignAssociatedTenantCount property value. The foreignAssociatedTenantCount property * @param value Value to set for the foreignAssociatedTenantCount property. */ public void setForeignAssociatedTenantCount(@jakarta.annotation.Nullable final BigDecimal value) { this.backingStore.set("foreignAssociatedTenantCount", value); } /** - * Sets the foreignAssociatedTenantProvisioningActiveCount property value. The number of foreign associated tenants with active provisioning. + * Sets the foreignAssociatedTenantProvisioningActiveCount property value. The foreignAssociatedTenantProvisioningActiveCount property * @param value Value to set for the foreignAssociatedTenantProvisioningActiveCount property. */ public void setForeignAssociatedTenantProvisioningActiveCount(@jakarta.annotation.Nullable final BigDecimal value) { this.backingStore.set("foreignAssociatedTenantProvisioningActiveCount", value); } /** - * Sets the localAssociatedTenantBillingManagementActiveCount property value. The number of local associated tenants with active billing management. + * Sets the localAssociatedTenantBillingManagementActiveCount property value. The localAssociatedTenantBillingManagementActiveCount property * @param value Value to set for the localAssociatedTenantBillingManagementActiveCount property. */ public void setLocalAssociatedTenantBillingManagementActiveCount(@jakarta.annotation.Nullable final BigDecimal value) { this.backingStore.set("localAssociatedTenantBillingManagementActiveCount", value); } /** - * Sets the localAssociatedTenantCount property value. The total number of local associated tenants. + * Sets the localAssociatedTenantCount property value. The localAssociatedTenantCount property * @param value Value to set for the localAssociatedTenantCount property. */ public void setLocalAssociatedTenantCount(@jakarta.annotation.Nullable final BigDecimal value) { this.backingStore.set("localAssociatedTenantCount", value); } /** - * Sets the localAssociatedTenantIds property value. The list of local associated tenant IDs. + * Sets the localAssociatedTenantIds property value. The localAssociatedTenantIds property * @param value Value to set for the localAssociatedTenantIds property. */ public void setLocalAssociatedTenantIds(@jakarta.annotation.Nullable final java.util.List value) { this.backingStore.set("localAssociatedTenantIds", value); } /** - * Sets the localAssociatedTenantProvisioningActiveCount property value. The number of local associated tenants with active provisioning. + * Sets the localAssociatedTenantProvisioningActiveCount property value. The localAssociatedTenantProvisioningActiveCount property * @param value Value to set for the localAssociatedTenantProvisioningActiveCount property. */ public void setLocalAssociatedTenantProvisioningActiveCount(@jakarta.annotation.Nullable final BigDecimal value) { this.backingStore.set("localAssociatedTenantProvisioningActiveCount", value); } /** - * Sets the watermarkDateTime property value. The date and time when the metrics snapshot was taken. + * Sets the watermarkDateTime property value. The watermarkDateTime property * @param value Value to set for the watermarkDateTime property. */ public void setWatermarkDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/BillingMetricsInitial.java b/src/main/java/com/microsoft/graph/beta/generated/models/BillingMetricsInitial.java similarity index 87% rename from src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/BillingMetricsInitial.java rename to src/main/java/com/microsoft/graph/beta/generated/models/BillingMetricsInitial.java index e81e3d8d96a..8774fa35f6c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/BillingMetricsInitial.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/BillingMetricsInitial.java @@ -1,4 +1,4 @@ -package com.microsoft.graph.beta.models.tenantgovernanceservices; +package com.microsoft.graph.beta.models; import com.microsoft.kiota.serialization.Parsable; import com.microsoft.kiota.serialization.ParseNode; @@ -26,7 +26,7 @@ public static BillingMetricsInitial createFromDiscriminatorValue(@jakarta.annota return new BillingMetricsInitial(); } /** - * Gets the createdDateTime property value. Timestamp that represents when billing metrics are initially aggregated for the related tenant. + * Gets the createdDateTime property value. The createdDateTime property * @return a {@link OffsetDateTime} */ @jakarta.annotation.Nullable @@ -53,7 +53,7 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeOffsetDateTimeValue("createdDateTime", this.getCreatedDateTime()); } /** - * Sets the createdDateTime property value. Timestamp that represents when billing metrics are initially aggregated for the related tenant. + * Sets the createdDateTime property value. The createdDateTime property * @param value Value to set for the createdDateTime property. */ public void setCreatedDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/BillingMetricsRecent.java b/src/main/java/com/microsoft/graph/beta/generated/models/BillingMetricsRecent.java similarity index 86% rename from src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/BillingMetricsRecent.java rename to src/main/java/com/microsoft/graph/beta/generated/models/BillingMetricsRecent.java index 66e6e7edc5d..52d56469e74 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/BillingMetricsRecent.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/BillingMetricsRecent.java @@ -1,4 +1,4 @@ -package com.microsoft.graph.beta.models.tenantgovernanceservices; +package com.microsoft.graph.beta.models; import com.microsoft.kiota.serialization.Parsable; import com.microsoft.kiota.serialization.ParseNode; @@ -36,7 +36,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the updateDateTime property value. Timestamp that represents when billing metrics are aggregated and have sufficiently changed for the related tenant. + * Gets the updateDateTime property value. The updateDateTime property * @return a {@link OffsetDateTime} */ @jakarta.annotation.Nullable @@ -53,7 +53,7 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeOffsetDateTimeValue("updateDateTime", this.getUpdateDateTime()); } /** - * Sets the updateDateTime property value. Timestamp that represents when billing metrics are aggregated and have sufficiently changed for the related tenant. + * Sets the updateDateTime property value. The updateDateTime property * @param value Value to set for the updateDateTime property. */ public void setUpdateDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/BrowseQueryResponseItem.java b/src/main/java/com/microsoft/graph/beta/generated/models/BrowseQueryResponseItem.java index b43dabaf9b4..9a3a08f4480 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/BrowseQueryResponseItem.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/BrowseQueryResponseItem.java @@ -57,7 +57,7 @@ public BackingStore getBackingStore() { return this.backingStore; } /** - * Gets the createdBy property value. The createdBy property + * Gets the createdBy property value. The identity of the user or application that created the item. Returned only when type is file or folder. * @return a {@link IdentitySet} */ @jakarta.annotation.Nullable @@ -65,7 +65,7 @@ public IdentitySet getCreatedBy() { return this.backingStore.get("createdBy"); } /** - * Gets the createdDateTime property value. The createdDateTime property + * Gets the createdDateTime property value. The date and time when the item was created. Returned only when type is file or folder. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2024, is 2024-01-01T00:00:00Z. * @return a {@link OffsetDateTime} */ @jakarta.annotation.Nullable @@ -109,7 +109,7 @@ public Integer getItemsCount() { return this.backingStore.get("itemsCount"); } /** - * Gets the lastModifiedBy property value. The lastModifiedBy property + * Gets the lastModifiedBy property value. The identity of the user or application that last modified the item. Returned only when type is file or folder. * @return a {@link IdentitySet} */ @jakarta.annotation.Nullable @@ -117,7 +117,7 @@ public IdentitySet getLastModifiedBy() { return this.backingStore.get("lastModifiedBy"); } /** - * Gets the lastModifiedDateTime property value. The lastModifiedDateTime property + * Gets the lastModifiedDateTime property value. The date and time when the item was last modified. Returned only when type is file or folder. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2024, is 2024-01-01T00:00:00Z. * @return a {@link OffsetDateTime} */ @jakarta.annotation.Nullable @@ -199,14 +199,14 @@ public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value this.backingStore = value; } /** - * Sets the createdBy property value. The createdBy property + * Sets the createdBy property value. The identity of the user or application that created the item. Returned only when type is file or folder. * @param value Value to set for the createdBy property. */ public void setCreatedBy(@jakarta.annotation.Nullable final IdentitySet value) { this.backingStore.set("createdBy", value); } /** - * Sets the createdDateTime property value. The createdDateTime property + * Sets the createdDateTime property value. The date and time when the item was created. Returned only when type is file or folder. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2024, is 2024-01-01T00:00:00Z. * @param value Value to set for the createdDateTime property. */ public void setCreatedDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { @@ -227,14 +227,14 @@ public void setItemsCount(@jakarta.annotation.Nullable final Integer value) { this.backingStore.set("itemsCount", value); } /** - * Sets the lastModifiedBy property value. The lastModifiedBy property + * Sets the lastModifiedBy property value. The identity of the user or application that last modified the item. Returned only when type is file or folder. * @param value Value to set for the lastModifiedBy property. */ public void setLastModifiedBy(@jakarta.annotation.Nullable final IdentitySet value) { this.backingStore.set("lastModifiedBy", value); } /** - * Sets the lastModifiedDateTime property value. The lastModifiedDateTime property + * Sets the lastModifiedDateTime property value. The date and time when the item was last modified. Returned only when type is file or folder. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2024, is 2024-01-01T00:00:00Z. * @param value Value to set for the lastModifiedDateTime property. */ public void setLastModifiedDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/ChatMessage.java b/src/main/java/com/microsoft/graph/beta/generated/models/ChatMessage.java index 44a558eb156..a0ba4268503 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/ChatMessage.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/ChatMessage.java @@ -64,6 +64,14 @@ public ChannelIdentity getChannelIdentity() { public String getChatId() { return this.backingStore.get("chatId"); } + /** + * Gets the citations property value. Read-only. Inline citations that reference external sources cited in the message. Citations are system-generated for bot messages and appear as a typed collection. + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getCitations() { + return this.backingStore.get("citations"); + } /** * Gets the createdDateTime property value. Timestamp of when the chat message was created. * @return a {@link OffsetDateTime} @@ -107,11 +115,13 @@ public Map> getFieldDeserializers deserializerMap.put("body", (n) -> { this.setBody(n.getObjectValue(ChatMessageBody::createFromDiscriminatorValue)); }); deserializerMap.put("channelIdentity", (n) -> { this.setChannelIdentity(n.getObjectValue(ChannelIdentity::createFromDiscriminatorValue)); }); deserializerMap.put("chatId", (n) -> { this.setChatId(n.getStringValue()); }); + deserializerMap.put("citations", (n) -> { this.setCitations(n.getCollectionOfObjectValues(ChatMessageCitation::createFromDiscriminatorValue)); }); deserializerMap.put("createdDateTime", (n) -> { this.setCreatedDateTime(n.getOffsetDateTimeValue()); }); deserializerMap.put("deletedDateTime", (n) -> { this.setDeletedDateTime(n.getOffsetDateTimeValue()); }); deserializerMap.put("etag", (n) -> { this.setEtag(n.getStringValue()); }); deserializerMap.put("eventDetail", (n) -> { this.setEventDetail(n.getObjectValue(EventMessageDetail::createFromDiscriminatorValue)); }); deserializerMap.put("from", (n) -> { this.setFrom(n.getObjectValue(ChatMessageFromIdentitySet::createFromDiscriminatorValue)); }); + deserializerMap.put("hasReplies", (n) -> { this.setHasReplies(n.getBooleanValue()); }); deserializerMap.put("hostedContents", (n) -> { this.setHostedContents(n.getCollectionOfObjectValues(ChatMessageHostedContent::createFromDiscriminatorValue)); }); deserializerMap.put("importance", (n) -> { this.setImportance(n.getEnumValue(ChatMessageImportance::forValue)); }); deserializerMap.put("lastEditedDateTime", (n) -> { this.setLastEditedDateTime(n.getOffsetDateTimeValue()); }); @@ -138,6 +148,14 @@ public Map> getFieldDeserializers public ChatMessageFromIdentitySet getFrom() { return this.backingStore.get("from"); } + /** + * Gets the hasReplies property value. The hasReplies property + * @return a {@link Boolean} + */ + @jakarta.annotation.Nullable + public Boolean getHasReplies() { + return this.backingStore.get("hasReplies"); + } /** * Gets the hostedContents property value. Content in a message hosted by Microsoft Teams - for example, images or code snippets. * @return a {@link java.util.List} @@ -277,11 +295,13 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeObjectValue("body", this.getBody()); writer.writeObjectValue("channelIdentity", this.getChannelIdentity()); writer.writeStringValue("chatId", this.getChatId()); + writer.writeCollectionOfObjectValues("citations", this.getCitations()); writer.writeOffsetDateTimeValue("createdDateTime", this.getCreatedDateTime()); writer.writeOffsetDateTimeValue("deletedDateTime", this.getDeletedDateTime()); writer.writeStringValue("etag", this.getEtag()); writer.writeObjectValue("eventDetail", this.getEventDetail()); writer.writeObjectValue("from", this.getFrom()); + writer.writeBooleanValue("hasReplies", this.getHasReplies()); writer.writeCollectionOfObjectValues("hostedContents", this.getHostedContents()); writer.writeEnumValue("importance", this.getImportance()); writer.writeOffsetDateTimeValue("lastEditedDateTime", this.getLastEditedDateTime()); @@ -327,6 +347,13 @@ public void setChannelIdentity(@jakarta.annotation.Nullable final ChannelIdentit public void setChatId(@jakarta.annotation.Nullable final String value) { this.backingStore.set("chatId", value); } + /** + * Sets the citations property value. Read-only. Inline citations that reference external sources cited in the message. Citations are system-generated for bot messages and appear as a typed collection. + * @param value Value to set for the citations property. + */ + public void setCitations(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("citations", value); + } /** * Sets the createdDateTime property value. Timestamp of when the chat message was created. * @param value Value to set for the createdDateTime property. @@ -362,6 +389,13 @@ public void setEventDetail(@jakarta.annotation.Nullable final EventMessageDetail public void setFrom(@jakarta.annotation.Nullable final ChatMessageFromIdentitySet value) { this.backingStore.set("from", value); } + /** + * Sets the hasReplies property value. The hasReplies property + * @param value Value to set for the hasReplies property. + */ + public void setHasReplies(@jakarta.annotation.Nullable final Boolean value) { + this.backingStore.set("hasReplies", value); + } /** * Sets the hostedContents property value. Content in a message hosted by Microsoft Teams - for example, images or code snippets. * @param value Value to set for the hostedContents property. diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/ChatMessageCitation.java b/src/main/java/com/microsoft/graph/beta/generated/models/ChatMessageCitation.java new file mode 100644 index 00000000000..8021493e5d4 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/ChatMessageCitation.java @@ -0,0 +1,209 @@ +package com.microsoft.graph.beta.models; + +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ChatMessageCitation implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link ChatMessageCitation} and sets the default values. + */ + public ChatMessageCitation() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link ChatMessageCitation} + */ + @jakarta.annotation.Nonnull + public static ChatMessageCitation createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new ChatMessageCitation(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * Gets the excerpt property value. Read-only. Text snippet from the cited source. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getExcerpt() { + return this.backingStore.get("excerpt"); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(7); + deserializerMap.put("excerpt", (n) -> { this.setExcerpt(n.getStringValue()); }); + deserializerMap.put("iconType", (n) -> { this.setIconType(n.getStringValue()); }); + deserializerMap.put("id", (n) -> { this.setId(n.getIntegerValue()); }); + deserializerMap.put("@odata.type", (n) -> { this.setOdataType(n.getStringValue()); }); + deserializerMap.put("sensitivityLabel", (n) -> { this.setSensitivityLabel(n.getObjectValue(ChatMessageCitationSensitivityLabel::createFromDiscriminatorValue)); }); + deserializerMap.put("title", (n) -> { this.setTitle(n.getStringValue()); }); + deserializerMap.put("webUrl", (n) -> { this.setWebUrl(n.getStringValue()); }); + return deserializerMap; + } + /** + * Gets the iconType property value. Read-only. Icon type identifier for the cited source, for example, ExcelIcon or WordIcon. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getIconType() { + return this.backingStore.get("iconType"); + } + /** + * Gets the id property value. Read-only. Citation identifier that's unique within the message. The message body references this identifier inline, for example, [1]. + * @return a {@link Integer} + */ + @jakarta.annotation.Nullable + public Integer getId() { + return this.backingStore.get("id"); + } + /** + * Gets the @odata.type property value. The OdataType property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getOdataType() { + return this.backingStore.get("odataType"); + } + /** + * Gets the sensitivityLabel property value. Read-only. Sensitivity label applied to the cited source. + * @return a {@link ChatMessageCitationSensitivityLabel} + */ + @jakarta.annotation.Nullable + public ChatMessageCitationSensitivityLabel getSensitivityLabel() { + return this.backingStore.get("sensitivityLabel"); + } + /** + * Gets the title property value. Read-only. Display title of the cited source. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getTitle() { + return this.backingStore.get("title"); + } + /** + * Gets the webUrl property value. Read-only. URL to the cited source. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getWebUrl() { + return this.backingStore.get("webUrl"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writeStringValue("excerpt", this.getExcerpt()); + writer.writeStringValue("iconType", this.getIconType()); + writer.writeIntegerValue("id", this.getId()); + writer.writeStringValue("@odata.type", this.getOdataType()); + writer.writeObjectValue("sensitivityLabel", this.getSensitivityLabel()); + writer.writeStringValue("title", this.getTitle()); + writer.writeStringValue("webUrl", this.getWebUrl()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } + /** + * Sets the excerpt property value. Read-only. Text snippet from the cited source. + * @param value Value to set for the excerpt property. + */ + public void setExcerpt(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("excerpt", value); + } + /** + * Sets the iconType property value. Read-only. Icon type identifier for the cited source, for example, ExcelIcon or WordIcon. + * @param value Value to set for the iconType property. + */ + public void setIconType(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("iconType", value); + } + /** + * Sets the id property value. Read-only. Citation identifier that's unique within the message. The message body references this identifier inline, for example, [1]. + * @param value Value to set for the id property. + */ + public void setId(@jakarta.annotation.Nullable final Integer value) { + this.backingStore.set("id", value); + } + /** + * Sets the @odata.type property value. The OdataType property + * @param value Value to set for the @odata.type property. + */ + public void setOdataType(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("odataType", value); + } + /** + * Sets the sensitivityLabel property value. Read-only. Sensitivity label applied to the cited source. + * @param value Value to set for the sensitivityLabel property. + */ + public void setSensitivityLabel(@jakarta.annotation.Nullable final ChatMessageCitationSensitivityLabel value) { + this.backingStore.set("sensitivityLabel", value); + } + /** + * Sets the title property value. Read-only. Display title of the cited source. + * @param value Value to set for the title property. + */ + public void setTitle(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("title", value); + } + /** + * Sets the webUrl property value. Read-only. URL to the cited source. + * @param value Value to set for the webUrl property. + */ + public void setWebUrl(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("webUrl", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/ChatMessageCitationSensitivityLabel.java b/src/main/java/com/microsoft/graph/beta/generated/models/ChatMessageCitationSensitivityLabel.java new file mode 100644 index 00000000000..dc2f5ba5acc --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/ChatMessageCitationSensitivityLabel.java @@ -0,0 +1,141 @@ +package com.microsoft.graph.beta.models; + +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ChatMessageCitationSensitivityLabel implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link ChatMessageCitationSensitivityLabel} and sets the default values. + */ + public ChatMessageCitationSensitivityLabel() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link ChatMessageCitationSensitivityLabel} + */ + @jakarta.annotation.Nonnull + public static ChatMessageCitationSensitivityLabel createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new ChatMessageCitationSensitivityLabel(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * Gets the description property value. Read-only. User-facing description of the sensitivity restriction. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getDescription() { + return this.backingStore.get("description"); + } + /** + * Gets the displayName property value. Read-only. Display name of the sensitivity label. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getDisplayName() { + return this.backingStore.get("displayName"); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(3); + deserializerMap.put("description", (n) -> { this.setDescription(n.getStringValue()); }); + deserializerMap.put("displayName", (n) -> { this.setDisplayName(n.getStringValue()); }); + deserializerMap.put("@odata.type", (n) -> { this.setOdataType(n.getStringValue()); }); + return deserializerMap; + } + /** + * Gets the @odata.type property value. The OdataType property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getOdataType() { + return this.backingStore.get("odataType"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writeStringValue("description", this.getDescription()); + writer.writeStringValue("displayName", this.getDisplayName()); + writer.writeStringValue("@odata.type", this.getOdataType()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } + /** + * Sets the description property value. Read-only. User-facing description of the sensitivity restriction. + * @param value Value to set for the description property. + */ + public void setDescription(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("description", value); + } + /** + * Sets the displayName property value. Read-only. Display name of the sensitivity label. + * @param value Value to set for the displayName property. + */ + public void setDisplayName(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("displayName", value); + } + /** + * Sets the @odata.type property value. The OdataType property + * @param value Value to set for the @odata.type property. + */ + public void setOdataType(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("odataType", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/CloudPC.java b/src/main/java/com/microsoft/graph/beta/generated/models/CloudPC.java index c90df60cdc8..264026a22b8 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/CloudPC.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/CloudPC.java @@ -130,6 +130,7 @@ public Map> getFieldDeserializers deserializerMap.put("powerState", (n) -> { this.setPowerState(n.getEnumValue(CloudPcPowerState::forValue)); }); deserializerMap.put("productType", (n) -> { this.setProductType(n.getEnumValue(CloudPcProductType::forValue)); }); deserializerMap.put("provisionedDateTime", (n) -> { this.setProvisionedDateTime(n.getOffsetDateTimeValue()); }); + deserializerMap.put("provisioningConfiguration", (n) -> { this.setProvisioningConfiguration(n.getObjectValue(CloudPcProvisioningConfiguration::createFromDiscriminatorValue)); }); deserializerMap.put("provisioningPolicyId", (n) -> { this.setProvisioningPolicyId(n.getStringValue()); }); deserializerMap.put("provisioningPolicyName", (n) -> { this.setProvisioningPolicyName(n.getStringValue()); }); deserializerMap.put("provisioningType", (n) -> { this.setProvisioningType(n.getEnumValue(CloudPcProvisioningType::forValue)); }); @@ -283,6 +284,14 @@ public CloudPcProductType getProductType() { public OffsetDateTime getProvisionedDateTime() { return this.backingStore.get("provisionedDateTime"); } + /** + * Gets the provisioningConfiguration property value. The provisioningConfiguration property + * @return a {@link CloudPcProvisioningConfiguration} + */ + @jakarta.annotation.Nullable + public CloudPcProvisioningConfiguration getProvisioningConfiguration() { + return this.backingStore.get("provisioningConfiguration"); + } /** * Gets the provisioningPolicyId property value. The provisioning policy ID of the Cloud PC. * @return a {@link String} @@ -436,6 +445,7 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeEnumValue("powerState", this.getPowerState()); writer.writeEnumValue("productType", this.getProductType()); writer.writeOffsetDateTimeValue("provisionedDateTime", this.getProvisionedDateTime()); + writer.writeObjectValue("provisioningConfiguration", this.getProvisioningConfiguration()); writer.writeStringValue("provisioningPolicyId", this.getProvisioningPolicyId()); writer.writeStringValue("provisioningPolicyName", this.getProvisioningPolicyName()); writer.writeEnumValue("provisioningType", this.getProvisioningType()); @@ -634,6 +644,13 @@ public void setProductType(@jakarta.annotation.Nullable final CloudPcProductType public void setProvisionedDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { this.backingStore.set("provisionedDateTime", value); } + /** + * Sets the provisioningConfiguration property value. The provisioningConfiguration property + * @param value Value to set for the provisioningConfiguration property. + */ + public void setProvisioningConfiguration(@jakarta.annotation.Nullable final CloudPcProvisioningConfiguration value) { + this.backingStore.set("provisioningConfiguration", value); + } /** * Sets the provisioningPolicyId property value. The provisioning policy ID of the Cloud PC. * @param value Value to set for the provisioningPolicyId property. diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/CloudPcProvisioningConfiguration.java b/src/main/java/com/microsoft/graph/beta/generated/models/CloudPcProvisioningConfiguration.java new file mode 100644 index 00000000000..d714a9a4273 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/CloudPcProvisioningConfiguration.java @@ -0,0 +1,124 @@ +package com.microsoft.graph.beta.models; + +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class CloudPcProvisioningConfiguration implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link CloudPcProvisioningConfiguration} and sets the default values. + */ + public CloudPcProvisioningConfiguration() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link CloudPcProvisioningConfiguration} + */ + @jakarta.annotation.Nonnull + public static CloudPcProvisioningConfiguration createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new CloudPcProvisioningConfiguration(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * Gets the domainJoinType property value. The domainJoinType property + * @return a {@link CloudPcDomainJoinType} + */ + @jakarta.annotation.Nullable + public CloudPcDomainJoinType getDomainJoinType() { + return this.backingStore.get("domainJoinType"); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(2); + deserializerMap.put("domainJoinType", (n) -> { this.setDomainJoinType(n.getEnumValue(CloudPcDomainJoinType::forValue)); }); + deserializerMap.put("@odata.type", (n) -> { this.setOdataType(n.getStringValue()); }); + return deserializerMap; + } + /** + * Gets the @odata.type property value. The OdataType property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getOdataType() { + return this.backingStore.get("odataType"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writeEnumValue("domainJoinType", this.getDomainJoinType()); + writer.writeStringValue("@odata.type", this.getOdataType()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } + /** + * Sets the domainJoinType property value. The domainJoinType property + * @param value Value to set for the domainJoinType property. + */ + public void setDomainJoinType(@jakarta.annotation.Nullable final CloudPcDomainJoinType value) { + this.backingStore.set("domainJoinType", value); + } + /** + * Sets the @odata.type property value. The OdataType property + * @param value Value to set for the @odata.type property. + */ + public void setOdataType(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("odataType", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/ConnectorHealthCheck.java b/src/main/java/com/microsoft/graph/beta/generated/models/ConnectorHealthCheck.java new file mode 100644 index 00000000000..88291002f73 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/ConnectorHealthCheck.java @@ -0,0 +1,144 @@ +package com.microsoft.graph.beta.models; + +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Represents an individual health check result for an NDES connector, containing the metric name and its current status. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ConnectorHealthCheck implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link ConnectorHealthCheck} and sets the default values. + */ + public ConnectorHealthCheck() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link ConnectorHealthCheck} + */ + @jakarta.annotation.Nonnull + public static ConnectorHealthCheck createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new ConnectorHealthCheck(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(3); + deserializerMap.put("metricName", (n) -> { this.setMetricName(n.getEnumValue(ConnectorHealthCheckMetricName::forValue)); }); + deserializerMap.put("@odata.type", (n) -> { this.setOdataType(n.getStringValue()); }); + deserializerMap.put("status", (n) -> { this.setStatus(n.getEnumValue(NdesConnectorHealthStatus::forValue)); }); + return deserializerMap; + } + /** + * Gets the metricName property value. The name of the health check metric being evaluated for an NDES connector. + * @return a {@link ConnectorHealthCheckMetricName} + */ + @jakarta.annotation.Nullable + public ConnectorHealthCheckMetricName getMetricName() { + return this.backingStore.get("metricName"); + } + /** + * Gets the @odata.type property value. The OdataType property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getOdataType() { + return this.backingStore.get("odataType"); + } + /** + * Gets the status property value. The health status of an NDES connector or individual health check metric. + * @return a {@link NdesConnectorHealthStatus} + */ + @jakarta.annotation.Nullable + public NdesConnectorHealthStatus getStatus() { + return this.backingStore.get("status"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writeEnumValue("metricName", this.getMetricName()); + writer.writeStringValue("@odata.type", this.getOdataType()); + writer.writeEnumValue("status", this.getStatus()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } + /** + * Sets the metricName property value. The name of the health check metric being evaluated for an NDES connector. + * @param value Value to set for the metricName property. + */ + public void setMetricName(@jakarta.annotation.Nullable final ConnectorHealthCheckMetricName value) { + this.backingStore.set("metricName", value); + } + /** + * Sets the @odata.type property value. The OdataType property + * @param value Value to set for the @odata.type property. + */ + public void setOdataType(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("odataType", value); + } + /** + * Sets the status property value. The health status of an NDES connector or individual health check metric. + * @param value Value to set for the status property. + */ + public void setStatus(@jakarta.annotation.Nullable final NdesConnectorHealthStatus value) { + this.backingStore.set("status", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/ConnectorHealthCheckMetricName.java b/src/main/java/com/microsoft/graph/beta/generated/models/ConnectorHealthCheckMetricName.java new file mode 100644 index 00000000000..57a5c1a997d --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/ConnectorHealthCheckMetricName.java @@ -0,0 +1,39 @@ +package com.microsoft.graph.beta.models; + +import com.microsoft.kiota.serialization.ValuedEnum; +import java.util.Objects; + +/** + * The name of the health check metric being evaluated for an NDES connector. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public enum ConnectorHealthCheckMetricName implements ValuedEnum { + /** Measures connectivity between the connector and the Certificate Authority. */ + CaConnectivity("caConnectivity"), + /** Measures whether the connector has the required Enroll permission on the certificate template for issuance. */ + CaIssuancePermissions("caIssuancePermissions"), + /** Measures whether the connector has the required permissions to revoke certificates on the CA. */ + CaRevocationPermissions("caRevocationPermissions"), + /** Measures whether the configured certificate template is valid and accessible. */ + CertificateTemplate("certificateTemplate"), + /** Evolvable enumeration sentinel value. Do not use. */ + UnknownFutureValue("unknownFutureValue"); + public final String value; + ConnectorHealthCheckMetricName(final String value) { + this.value = value; + } + @jakarta.annotation.Nonnull + public String getValue() { return this.value; } + @jakarta.annotation.Nullable + public static ConnectorHealthCheckMetricName forValue(@jakarta.annotation.Nonnull final String searchValue) { + Objects.requireNonNull(searchValue); + switch(searchValue) { + case "caConnectivity": return CaConnectivity; + case "caIssuancePermissions": return CaIssuancePermissions; + case "caRevocationPermissions": return CaRevocationPermissions; + case "certificateTemplate": return CertificateTemplate; + case "unknownFutureValue": return UnknownFutureValue; + default: return null; + } + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/CopilotPackage.java b/src/main/java/com/microsoft/graph/beta/generated/models/CopilotPackage.java index 0d6e820427d..c1dcae81ae7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/CopilotPackage.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/CopilotPackage.java @@ -32,6 +32,14 @@ public static CopilotPackage createFromDiscriminatorValue(@jakarta.annotation.No } return new CopilotPackage(); } + /** + * Gets the agentIdentityId property value. The agentIdentityId property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getAgentIdentityId() { + return this.backingStore.get("agentIdentityId"); + } /** * Gets the appId property value. The appId property * @return a {@link String} @@ -95,6 +103,7 @@ public java.util.List getElementTypes() { @jakarta.annotation.Nonnull public Map> getFieldDeserializers() { final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("agentIdentityId", (n) -> { this.setAgentIdentityId(n.getStringValue()); }); deserializerMap.put("appId", (n) -> { this.setAppId(n.getStringValue()); }); deserializerMap.put("assetId", (n) -> { this.setAssetId(n.getStringValue()); }); deserializerMap.put("availableTo", (n) -> { this.setAvailableTo(n.getEnumValue(PackageStatus::forValue)); }); @@ -219,6 +228,7 @@ public byte[] getZipFile() { public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { Objects.requireNonNull(writer); super.serialize(writer); + writer.writeStringValue("agentIdentityId", this.getAgentIdentityId()); writer.writeStringValue("appId", this.getAppId()); writer.writeStringValue("assetId", this.getAssetId()); writer.writeEnumValue("availableTo", this.getAvailableTo()); @@ -239,6 +249,13 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeStringValue("version", this.getVersion()); writer.writeByteArrayValue("zipFile", this.getZipFile()); } + /** + * Sets the agentIdentityId property value. The agentIdentityId property + * @param value Value to set for the agentIdentityId property. + */ + public void setAgentIdentityId(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("agentIdentityId", value); + } /** * Sets the appId property value. The appId property * @param value Value to set for the appId property. diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/CopilotPackageDetail.java b/src/main/java/com/microsoft/graph/beta/generated/models/CopilotPackageDetail.java index ee39a8dc1cb..c56e96b3db8 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/CopilotPackageDetail.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/CopilotPackageDetail.java @@ -3,6 +3,7 @@ import com.microsoft.kiota.serialization.Parsable; import com.microsoft.kiota.serialization.ParseNode; import com.microsoft.kiota.serialization.SerializationWriter; +import java.time.OffsetDateTime; import java.util.HashMap; import java.util.Map; import java.util.Objects; @@ -33,6 +34,14 @@ public static CopilotPackageDetail createFromDiscriminatorValue(@jakarta.annotat public java.util.List getAcquireUsersAndGroups() { return this.backingStore.get("acquireUsersAndGroups"); } + /** + * Gets the activeUsers property value. The number of distinct users who actively used the package during the reporting period. + * @return a {@link Integer} + */ + @jakarta.annotation.Nullable + public Integer getActiveUsers() { + return this.backingStore.get("activeUsers"); + } /** * Gets the allowedUsersAndGroups property value. The allowedUsersAndGroups property * @return a {@link java.util.List} @@ -57,6 +66,14 @@ public java.util.List getCategories() { public java.util.List getElementDetails() { return this.backingStore.get("elementDetails"); } + /** + * Gets the exceptionRate property value. The fraction of sessions that resulted in an exception, expressed as a value between 0 and 1. + * @return a {@link Double} + */ + @jakarta.annotation.Nullable + public Double getExceptionRate() { + return this.backingStore.get("exceptionRate"); + } /** * The deserialization information for the current model * @return a {@link Map>} @@ -65,14 +82,27 @@ public java.util.List getElementDetails() { public Map> getFieldDeserializers() { final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); deserializerMap.put("acquireUsersAndGroups", (n) -> { this.setAcquireUsersAndGroups(n.getCollectionOfObjectValues(PackageAccessEntity::createFromDiscriminatorValue)); }); + deserializerMap.put("activeUsers", (n) -> { this.setActiveUsers(n.getIntegerValue()); }); deserializerMap.put("allowedUsersAndGroups", (n) -> { this.setAllowedUsersAndGroups(n.getCollectionOfObjectValues(PackageAccessEntity::createFromDiscriminatorValue)); }); deserializerMap.put("categories", (n) -> { this.setCategories(n.getCollectionOfPrimitiveValues(String.class)); }); deserializerMap.put("elementDetails", (n) -> { this.setElementDetails(n.getCollectionOfObjectValues(PackageElementDetail::createFromDiscriminatorValue)); }); + deserializerMap.put("exceptionRate", (n) -> { this.setExceptionRate(n.getDoubleValue()); }); + deserializerMap.put("lastUsedDateTime", (n) -> { this.setLastUsedDateTime(n.getOffsetDateTimeValue()); }); deserializerMap.put("longDescription", (n) -> { this.setLongDescription(n.getStringValue()); }); deserializerMap.put("sensitivity", (n) -> { this.setSensitivity(n.getStringValue()); }); deserializerMap.put("sharedWithUsersAndGroups", (n) -> { this.setSharedWithUsersAndGroups(n.getCollectionOfObjectValues(PackageAccessEntity::createFromDiscriminatorValue)); }); + deserializerMap.put("totalRunTimeInHours", (n) -> { this.setTotalRunTimeInHours(n.getDoubleValue()); }); + deserializerMap.put("totalSessions", (n) -> { this.setTotalSessions(n.getIntegerValue()); }); return deserializerMap; } + /** + * Gets the lastUsedDateTime property value. The date and time when the package was last used, in ISO 8601 format and UTC. + * @return a {@link OffsetDateTime} + */ + @jakarta.annotation.Nullable + public OffsetDateTime getLastUsedDateTime() { + return this.backingStore.get("lastUsedDateTime"); + } /** * Gets the longDescription property value. The longDescription property * @return a {@link String} @@ -97,6 +127,22 @@ public String getSensitivity() { public java.util.List getSharedWithUsersAndGroups() { return this.backingStore.get("sharedWithUsersAndGroups"); } + /** + * Gets the totalRunTimeInHours property value. Total hours worked by the agent. + * @return a {@link Double} + */ + @jakarta.annotation.Nullable + public Double getTotalRunTimeInHours() { + return this.backingStore.get("totalRunTimeInHours"); + } + /** + * Gets the totalSessions property value. The total number of sessions served by the package during the reporting period. + * @return a {@link Integer} + */ + @jakarta.annotation.Nullable + public Integer getTotalSessions() { + return this.backingStore.get("totalSessions"); + } /** * Serializes information the current object * @param writer Serialization writer to use to serialize this model @@ -105,12 +151,17 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ Objects.requireNonNull(writer); super.serialize(writer); writer.writeCollectionOfObjectValues("acquireUsersAndGroups", this.getAcquireUsersAndGroups()); + writer.writeIntegerValue("activeUsers", this.getActiveUsers()); writer.writeCollectionOfObjectValues("allowedUsersAndGroups", this.getAllowedUsersAndGroups()); writer.writeCollectionOfPrimitiveValues("categories", this.getCategories()); writer.writeCollectionOfObjectValues("elementDetails", this.getElementDetails()); + writer.writeDoubleValue("exceptionRate", this.getExceptionRate()); + writer.writeOffsetDateTimeValue("lastUsedDateTime", this.getLastUsedDateTime()); writer.writeStringValue("longDescription", this.getLongDescription()); writer.writeStringValue("sensitivity", this.getSensitivity()); writer.writeCollectionOfObjectValues("sharedWithUsersAndGroups", this.getSharedWithUsersAndGroups()); + writer.writeDoubleValue("totalRunTimeInHours", this.getTotalRunTimeInHours()); + writer.writeIntegerValue("totalSessions", this.getTotalSessions()); } /** * Sets the acquireUsersAndGroups property value. The acquireUsersAndGroups property @@ -119,6 +170,13 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ public void setAcquireUsersAndGroups(@jakarta.annotation.Nullable final java.util.List value) { this.backingStore.set("acquireUsersAndGroups", value); } + /** + * Sets the activeUsers property value. The number of distinct users who actively used the package during the reporting period. + * @param value Value to set for the activeUsers property. + */ + public void setActiveUsers(@jakarta.annotation.Nullable final Integer value) { + this.backingStore.set("activeUsers", value); + } /** * Sets the allowedUsersAndGroups property value. The allowedUsersAndGroups property * @param value Value to set for the allowedUsersAndGroups property. @@ -140,6 +198,20 @@ public void setCategories(@jakarta.annotation.Nullable final java.util.List value) { this.backingStore.set("elementDetails", value); } + /** + * Sets the exceptionRate property value. The fraction of sessions that resulted in an exception, expressed as a value between 0 and 1. + * @param value Value to set for the exceptionRate property. + */ + public void setExceptionRate(@jakarta.annotation.Nullable final Double value) { + this.backingStore.set("exceptionRate", value); + } + /** + * Sets the lastUsedDateTime property value. The date and time when the package was last used, in ISO 8601 format and UTC. + * @param value Value to set for the lastUsedDateTime property. + */ + public void setLastUsedDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { + this.backingStore.set("lastUsedDateTime", value); + } /** * Sets the longDescription property value. The longDescription property * @param value Value to set for the longDescription property. @@ -161,4 +233,18 @@ public void setSensitivity(@jakarta.annotation.Nullable final String value) { public void setSharedWithUsersAndGroups(@jakarta.annotation.Nullable final java.util.List value) { this.backingStore.set("sharedWithUsersAndGroups", value); } + /** + * Sets the totalRunTimeInHours property value. Total hours worked by the agent. + * @param value Value to set for the totalRunTimeInHours property. + */ + public void setTotalRunTimeInHours(@jakarta.annotation.Nullable final Double value) { + this.backingStore.set("totalRunTimeInHours", value); + } + /** + * Sets the totalSessions property value. The total number of sessions served by the package during the reporting period. + * @param value Value to set for the totalSessions property. + */ + public void setTotalSessions(@jakarta.annotation.Nullable final Integer value) { + this.backingStore.set("totalSessions", value); + } } diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/CrossTenantIdentitySyncPolicyPartner.java b/src/main/java/com/microsoft/graph/beta/generated/models/CrossTenantIdentitySyncPolicyPartner.java index b24cd764ed7..193828ddc45 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/CrossTenantIdentitySyncPolicyPartner.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/CrossTenantIdentitySyncPolicyPartner.java @@ -51,6 +51,7 @@ public Map> getFieldDeserializers deserializerMap.put("displayName", (n) -> { this.setDisplayName(n.getStringValue()); }); deserializerMap.put("externalCloudAuthorizedApplicationId", (n) -> { this.setExternalCloudAuthorizedApplicationId(n.getStringValue()); }); deserializerMap.put("groupSyncInbound", (n) -> { this.setGroupSyncInbound(n.getObjectValue(CrossTenantGroupSyncInbound::createFromDiscriminatorValue)); }); + deserializerMap.put("roleEnabledGroupSyncInbound", (n) -> { this.setRoleEnabledGroupSyncInbound(n.getObjectValue(CrossTenantRoleEnabledGroupSyncInbound::createFromDiscriminatorValue)); }); deserializerMap.put("tenantId", (n) -> { this.setTenantId(n.getStringValue()); }); deserializerMap.put("userSyncInbound", (n) -> { this.setUserSyncInbound(n.getObjectValue(CrossTenantUserSyncInbound::createFromDiscriminatorValue)); }); return deserializerMap; @@ -63,6 +64,14 @@ public Map> getFieldDeserializers public CrossTenantGroupSyncInbound getGroupSyncInbound() { return this.backingStore.get("groupSyncInbound"); } + /** + * Gets the roleEnabledGroupSyncInbound property value. The roleEnabledGroupSyncInbound property + * @return a {@link CrossTenantRoleEnabledGroupSyncInbound} + */ + @jakarta.annotation.Nullable + public CrossTenantRoleEnabledGroupSyncInbound getRoleEnabledGroupSyncInbound() { + return this.backingStore.get("roleEnabledGroupSyncInbound"); + } /** * Gets the tenantId property value. Tenant identifier for the partner Microsoft Entra organization. Key. Read-only. * @return a {@link String} @@ -89,6 +98,7 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeStringValue("displayName", this.getDisplayName()); writer.writeStringValue("externalCloudAuthorizedApplicationId", this.getExternalCloudAuthorizedApplicationId()); writer.writeObjectValue("groupSyncInbound", this.getGroupSyncInbound()); + writer.writeObjectValue("roleEnabledGroupSyncInbound", this.getRoleEnabledGroupSyncInbound()); writer.writeStringValue("tenantId", this.getTenantId()); writer.writeObjectValue("userSyncInbound", this.getUserSyncInbound()); } @@ -113,6 +123,13 @@ public void setExternalCloudAuthorizedApplicationId(@jakarta.annotation.Nullable public void setGroupSyncInbound(@jakarta.annotation.Nullable final CrossTenantGroupSyncInbound value) { this.backingStore.set("groupSyncInbound", value); } + /** + * Sets the roleEnabledGroupSyncInbound property value. The roleEnabledGroupSyncInbound property + * @param value Value to set for the roleEnabledGroupSyncInbound property. + */ + public void setRoleEnabledGroupSyncInbound(@jakarta.annotation.Nullable final CrossTenantRoleEnabledGroupSyncInbound value) { + this.backingStore.set("roleEnabledGroupSyncInbound", value); + } /** * Sets the tenantId property value. Tenant identifier for the partner Microsoft Entra organization. Key. Read-only. * @param value Value to set for the tenantId property. diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/CrossTenantRoleEnabledGroupSyncInbound.java b/src/main/java/com/microsoft/graph/beta/generated/models/CrossTenantRoleEnabledGroupSyncInbound.java new file mode 100644 index 00000000000..5d7c3de5fa5 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/CrossTenantRoleEnabledGroupSyncInbound.java @@ -0,0 +1,124 @@ +package com.microsoft.graph.beta.models; + +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class CrossTenantRoleEnabledGroupSyncInbound implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link CrossTenantRoleEnabledGroupSyncInbound} and sets the default values. + */ + public CrossTenantRoleEnabledGroupSyncInbound() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link CrossTenantRoleEnabledGroupSyncInbound} + */ + @jakarta.annotation.Nonnull + public static CrossTenantRoleEnabledGroupSyncInbound createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new CrossTenantRoleEnabledGroupSyncInbound(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(2); + deserializerMap.put("isSyncAllowed", (n) -> { this.setIsSyncAllowed(n.getBooleanValue()); }); + deserializerMap.put("@odata.type", (n) -> { this.setOdataType(n.getStringValue()); }); + return deserializerMap; + } + /** + * Gets the isSyncAllowed property value. The isSyncAllowed property + * @return a {@link Boolean} + */ + @jakarta.annotation.Nullable + public Boolean getIsSyncAllowed() { + return this.backingStore.get("isSyncAllowed"); + } + /** + * Gets the @odata.type property value. The OdataType property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getOdataType() { + return this.backingStore.get("odataType"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writeBooleanValue("isSyncAllowed", this.getIsSyncAllowed()); + writer.writeStringValue("@odata.type", this.getOdataType()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } + /** + * Sets the isSyncAllowed property value. The isSyncAllowed property + * @param value Value to set for the isSyncAllowed property. + */ + public void setIsSyncAllowed(@jakarta.annotation.Nullable final Boolean value) { + this.backingStore.set("isSyncAllowed", value); + } + /** + * Sets the @odata.type property value. The OdataType property + * @param value Value to set for the @odata.type property. + */ + public void setOdataType(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("odataType", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/CustomExtensionData.java b/src/main/java/com/microsoft/graph/beta/generated/models/CustomExtensionData.java index d6507cf27b4..3aac44f5f5c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/CustomExtensionData.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/CustomExtensionData.java @@ -44,6 +44,7 @@ public static CustomExtensionData createFromDiscriminatorValue(@jakarta.annotati case "#microsoft.graph.identityGovernance.customTaskExtensionCallbackData": return new CustomTaskExtensionCallbackData(); case "#microsoft.graph.identityGovernance.customTaskExtensionCalloutData": return new CustomTaskExtensionCalloutData(); case "#microsoft.graph.identityGovernance.customTaskExtensionResponseData": return new CustomTaskExtensionResponseData(); + case "#microsoft.graph.sapAssignmentRequestCallbackData": return new SapAssignmentRequestCallbackData(); } } return new CustomExtensionData(); diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/DelegatedAdministrationRoleAssignment.java b/src/main/java/com/microsoft/graph/beta/generated/models/DelegatedAdministrationRoleAssignment.java similarity index 88% rename from src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/DelegatedAdministrationRoleAssignment.java rename to src/main/java/com/microsoft/graph/beta/generated/models/DelegatedAdministrationRoleAssignment.java index 303559cb26d..613570e10c0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/DelegatedAdministrationRoleAssignment.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/DelegatedAdministrationRoleAssignment.java @@ -1,6 +1,5 @@ -package com.microsoft.graph.beta.models.tenantgovernanceservices; +package com.microsoft.graph.beta.models; -import com.microsoft.graph.beta.models.Group; import com.microsoft.kiota.serialization.AdditionalDataHolder; import com.microsoft.kiota.serialization.Parsable; import com.microsoft.kiota.serialization.ParseNode; @@ -78,7 +77,7 @@ public Group getGroup() { return this.backingStore.get("group"); } /** - * Gets the groupDisplayName property value. The display name of the security group referenced by the group navigation property. Server-populated and read-only; returns null if the referenced group has been deleted. + * Gets the groupDisplayName property value. The groupDisplayName property * @return a {@link String} */ @jakarta.annotation.Nullable @@ -94,7 +93,7 @@ public String getOdataType() { return this.backingStore.get("odataType"); } /** - * Gets the roleTemplates property value. A collection of role templates that define the roles to be assigned to the group in the governed tenant. + * Gets the roleTemplates property value. The roleTemplates property * @return a {@link java.util.List} */ @jakarta.annotation.Nullable @@ -136,7 +135,7 @@ public void setGroup(@jakarta.annotation.Nullable final Group value) { this.backingStore.set("group", value); } /** - * Sets the groupDisplayName property value. The display name of the security group referenced by the group navigation property. Server-populated and read-only; returns null if the referenced group has been deleted. + * Sets the groupDisplayName property value. The groupDisplayName property * @param value Value to set for the groupDisplayName property. */ public void setGroupDisplayName(@jakarta.annotation.Nullable final String value) { @@ -150,7 +149,7 @@ public void setOdataType(@jakarta.annotation.Nullable final String value) { this.backingStore.set("odataType", value); } /** - * Sets the roleTemplates property value. A collection of role templates that define the roles to be assigned to the group in the governed tenant. + * Sets the roleTemplates property value. The roleTemplates property * @param value Value to set for the roleTemplates property. */ public void setRoleTemplates(@jakarta.annotation.Nullable final java.util.List value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/DelegatedAdministrationRoleAssignmentSnapshot.java b/src/main/java/com/microsoft/graph/beta/generated/models/DelegatedAdministrationRoleAssignmentSnapshot.java similarity index 87% rename from src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/DelegatedAdministrationRoleAssignmentSnapshot.java rename to src/main/java/com/microsoft/graph/beta/generated/models/DelegatedAdministrationRoleAssignmentSnapshot.java index c8bca5ad180..683d4df9919 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/DelegatedAdministrationRoleAssignmentSnapshot.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/DelegatedAdministrationRoleAssignmentSnapshot.java @@ -1,4 +1,4 @@ -package com.microsoft.graph.beta.models.tenantgovernanceservices; +package com.microsoft.graph.beta.models; import com.microsoft.kiota.serialization.AdditionalDataHolder; import com.microsoft.kiota.serialization.Parsable; @@ -69,7 +69,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the groupDisplayName property value. The display name of the security group identified by groupId at the time the snapshot was created. Read-only. + * Gets the groupDisplayName property value. The groupDisplayName property * @return a {@link String} */ @jakarta.annotation.Nullable @@ -77,7 +77,7 @@ public String getGroupDisplayName() { return this.backingStore.get("groupDisplayName"); } /** - * Gets the groupId property value. The object ID of the role-assignable security group in the governing tenant that will be assigned the specified roles. + * Gets the groupId property value. The groupId property * @return a {@link String} */ @jakarta.annotation.Nullable @@ -93,7 +93,7 @@ public String getOdataType() { return this.backingStore.get("odataType"); } /** - * Gets the roleTemplates property value. The collection of role templates that define the Microsoft Entra roles to be assigned. + * Gets the roleTemplates property value. The roleTemplates property * @return a {@link java.util.List} */ @jakarta.annotation.Nullable @@ -128,14 +128,14 @@ public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value this.backingStore = value; } /** - * Sets the groupDisplayName property value. The display name of the security group identified by groupId at the time the snapshot was created. Read-only. + * Sets the groupDisplayName property value. The groupDisplayName property * @param value Value to set for the groupDisplayName property. */ public void setGroupDisplayName(@jakarta.annotation.Nullable final String value) { this.backingStore.set("groupDisplayName", value); } /** - * Sets the groupId property value. The object ID of the role-assignable security group in the governing tenant that will be assigned the specified roles. + * Sets the groupId property value. The groupId property * @param value Value to set for the groupId property. */ public void setGroupId(@jakarta.annotation.Nullable final String value) { @@ -149,7 +149,7 @@ public void setOdataType(@jakarta.annotation.Nullable final String value) { this.backingStore.set("odataType", value); } /** - * Sets the roleTemplates property value. The collection of role templates that define the Microsoft Entra roles to be assigned. + * Sets the roleTemplates property value. The roleTemplates property * @param value Value to set for the roleTemplates property. */ public void setRoleTemplates(@jakarta.annotation.Nullable final java.util.List value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/DeletedItemContainer.java b/src/main/java/com/microsoft/graph/beta/generated/models/DeletedItemContainer.java index de49e8daf8f..317a57d9089 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/DeletedItemContainer.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/DeletedItemContainer.java @@ -1,5 +1,6 @@ package com.microsoft.graph.beta.models; +import com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicy; import com.microsoft.graph.beta.models.identitygovernance.Workflow; import com.microsoft.kiota.serialization.Parsable; import com.microsoft.kiota.serialization.ParseNode; @@ -32,9 +33,18 @@ public static DeletedItemContainer createFromDiscriminatorValue(@jakarta.annotat @jakarta.annotation.Nonnull public Map> getFieldDeserializers() { final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("lifecyclePolicies", (n) -> { this.setLifecyclePolicies(n.getCollectionOfObjectValues(LifecyclePolicy::createFromDiscriminatorValue)); }); deserializerMap.put("workflows", (n) -> { this.setWorkflows(n.getCollectionOfObjectValues(Workflow::createFromDiscriminatorValue)); }); return deserializerMap; } + /** + * Gets the lifecyclePolicies property value. The lifecyclePolicies property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getLifecyclePolicies() { + return this.backingStore.get("lifecyclePolicies"); + } /** * Gets the workflows property value. Deleted workflows that end up in the deletedItemsContainer. * @return a {@link java.util.List} @@ -50,8 +60,16 @@ public java.util.List getWorkflows() { public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { Objects.requireNonNull(writer); super.serialize(writer); + writer.writeCollectionOfObjectValues("lifecyclePolicies", this.getLifecyclePolicies()); writer.writeCollectionOfObjectValues("workflows", this.getWorkflows()); } + /** + * Sets the lifecyclePolicies property value. The lifecyclePolicies property + * @param value Value to set for the lifecyclePolicies property. + */ + public void setLifecyclePolicies(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("lifecyclePolicies", value); + } /** * Sets the workflows property value. Deleted workflows that end up in the deletedItemsContainer. * @param value Value to set for the workflows property. diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/DeviceAppManagement.java b/src/main/java/com/microsoft/graph/beta/generated/models/DeviceAppManagement.java index 9b724c1df90..80ee4fc382d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/DeviceAppManagement.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/DeviceAppManagement.java @@ -1,8 +1,12 @@ package com.microsoft.graph.beta.models; +import com.microsoft.kiota.serialization.AdditionalDataHolder; import com.microsoft.kiota.serialization.Parsable; import com.microsoft.kiota.serialization.ParseNode; import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; import java.time.OffsetDateTime; import java.util.EnumSet; import java.util.HashMap; @@ -12,12 +16,18 @@ * Singleton entity that acts as a container for all device app management functionality. */ @jakarta.annotation.Generated("com.microsoft.kiota") -public class DeviceAppManagement extends Entity implements Parsable { +public class DeviceAppManagement implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; /** * Instantiates a new {@link DeviceAppManagement} and sets the default values. */ public DeviceAppManagement() { - super(); + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); } /** * Creates a new instance of the appropriate class based on discriminator value @@ -29,6 +39,19 @@ public static DeviceAppManagement createFromDiscriminatorValue(@jakarta.annotati Objects.requireNonNull(parseNode); return new DeviceAppManagement(); } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } /** * Gets the androidManagedAppProtections property value. Android managed app policies. * @return a {@link java.util.List} @@ -37,6 +60,14 @@ public static DeviceAppManagement createFromDiscriminatorValue(@jakarta.annotati public java.util.List getAndroidManagedAppProtections() { return this.backingStore.get("androidManagedAppProtections"); } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } /** * Gets the defaultManagedAppProtections property value. Default managed app policies. * @return a {@link java.util.List} @@ -67,7 +98,7 @@ public java.util.List getEnterpriseCodeSigning */ @jakarta.annotation.Nonnull public Map> getFieldDeserializers() { - final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + final HashMap> deserializerMap = new HashMap>(33); deserializerMap.put("androidManagedAppProtections", (n) -> { this.setAndroidManagedAppProtections(n.getCollectionOfObjectValues(AndroidManagedAppProtection::createFromDiscriminatorValue)); }); deserializerMap.put("defaultManagedAppProtections", (n) -> { this.setDefaultManagedAppProtections(n.getCollectionOfObjectValues(DefaultManagedAppProtection::createFromDiscriminatorValue)); }); deserializerMap.put("deviceAppManagementTasks", (n) -> { this.setDeviceAppManagementTasks(n.getCollectionOfObjectValues(DeviceAppManagementTask::createFromDiscriminatorValue)); }); @@ -90,6 +121,7 @@ public Map> getFieldDeserializers deserializerMap.put("mobileAppConfigurations", (n) -> { this.setMobileAppConfigurations(n.getCollectionOfObjectValues(ManagedDeviceMobileAppConfiguration::createFromDiscriminatorValue)); }); deserializerMap.put("mobileAppRelationships", (n) -> { this.setMobileAppRelationships(n.getCollectionOfObjectValues(MobileAppRelationship::createFromDiscriminatorValue)); }); deserializerMap.put("mobileApps", (n) -> { this.setMobileApps(n.getCollectionOfObjectValues(MobileApp::createFromDiscriminatorValue)); }); + deserializerMap.put("@odata.type", (n) -> { this.setOdataType(n.getStringValue()); }); deserializerMap.put("policySets", (n) -> { this.setPolicySets(n.getCollectionOfObjectValues(PolicySet::createFromDiscriminatorValue)); }); deserializerMap.put("symantecCodeSigningCertificate", (n) -> { this.setSymantecCodeSigningCertificate(n.getObjectValue(SymantecCodeSigningCertificate::createFromDiscriminatorValue)); }); deserializerMap.put("targetedManagedAppConfigurations", (n) -> { this.setTargetedManagedAppConfigurations(n.getCollectionOfObjectValues(TargetedManagedAppConfiguration::createFromDiscriminatorValue)); }); @@ -246,6 +278,14 @@ public java.util.List getMobileAppRelationships() { public java.util.List getMobileApps() { return this.backingStore.get("mobileApps"); } + /** + * Gets the @odata.type property value. The OdataType property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getOdataType() { + return this.backingStore.get("odataType"); + } /** * Gets the policySets property value. The PolicySet of Policies and Applications * @return a {@link java.util.List} @@ -332,7 +372,6 @@ public WindowsManagementApp getWindowsManagementApp() { */ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { Objects.requireNonNull(writer); - super.serialize(writer); writer.writeCollectionOfObjectValues("androidManagedAppProtections", this.getAndroidManagedAppProtections()); writer.writeCollectionOfObjectValues("defaultManagedAppProtections", this.getDefaultManagedAppProtections()); writer.writeCollectionOfObjectValues("deviceAppManagementTasks", this.getDeviceAppManagementTasks()); @@ -355,6 +394,7 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeCollectionOfObjectValues("mobileAppConfigurations", this.getMobileAppConfigurations()); writer.writeCollectionOfObjectValues("mobileAppRelationships", this.getMobileAppRelationships()); writer.writeCollectionOfObjectValues("mobileApps", this.getMobileApps()); + writer.writeStringValue("@odata.type", this.getOdataType()); writer.writeCollectionOfObjectValues("policySets", this.getPolicySets()); writer.writeObjectValue("symantecCodeSigningCertificate", this.getSymantecCodeSigningCertificate()); writer.writeCollectionOfObjectValues("targetedManagedAppConfigurations", this.getTargetedManagedAppConfigurations()); @@ -365,6 +405,14 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeCollectionOfObjectValues("windowsInformationProtectionWipeActions", this.getWindowsInformationProtectionWipeActions()); writer.writeCollectionOfObjectValues("windowsManagedAppProtections", this.getWindowsManagedAppProtections()); writer.writeObjectValue("windowsManagementApp", this.getWindowsManagementApp()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); } /** * Sets the androidManagedAppProtections property value. Android managed app policies. @@ -373,6 +421,14 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ public void setAndroidManagedAppProtections(@jakarta.annotation.Nullable final java.util.List value) { this.backingStore.set("androidManagedAppProtections", value); } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } /** * Sets the defaultManagedAppProtections property value. Default managed app policies. * @param value Value to set for the defaultManagedAppProtections property. @@ -520,6 +576,13 @@ public void setMobileAppRelationships(@jakarta.annotation.Nullable final java.ut public void setMobileApps(@jakarta.annotation.Nullable final java.util.List value) { this.backingStore.set("mobileApps", value); } + /** + * Sets the @odata.type property value. The OdataType property + * @param value Value to set for the @odata.type property. + */ + public void setOdataType(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("odataType", value); + } /** * Sets the policySets property value. The PolicySet of Policies and Applications * @param value Value to set for the policySets property. diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/DeviceComplianceScript.java b/src/main/java/com/microsoft/graph/beta/generated/models/DeviceComplianceScript.java index a9914452804..4b7d13272c7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/DeviceComplianceScript.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/DeviceComplianceScript.java @@ -117,7 +117,7 @@ public OffsetDateTime getLastModifiedDateTime() { return this.backingStore.get("lastModifiedDateTime"); } /** - * Gets the platform property value. Indicates the operating system platform type that this compliance script targets. + * Gets the platform property value. Indicates the device platform on which the device compliance script will be executed. Possible values are: windows10AndLater (default), linux. The default value is windows10AndLater. * @return a {@link DeviceComplianceScriptPlatformType} */ @jakarta.annotation.Nullable @@ -250,7 +250,7 @@ public void setLastModifiedDateTime(@jakarta.annotation.Nullable final OffsetDat this.backingStore.set("lastModifiedDateTime", value); } /** - * Sets the platform property value. Indicates the operating system platform type that this compliance script targets. + * Sets the platform property value. Indicates the device platform on which the device compliance script will be executed. Possible values are: windows10AndLater (default), linux. The default value is windows10AndLater. * @param value Value to set for the platform property. */ public void setPlatform(@jakarta.annotation.Nullable final DeviceComplianceScriptPlatformType value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/DeviceManagementConfigurationTechnologies.java b/src/main/java/com/microsoft/graph/beta/generated/models/DeviceManagementConfigurationTechnologies.java index 34d77056a96..13d8432543a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/DeviceManagementConfigurationTechnologies.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/DeviceManagementConfigurationTechnologies.java @@ -41,7 +41,9 @@ public enum DeviceManagementConfigurationTechnologies implements ValuedEnum { /** Setting can be deployed using the Operating System Recovery channel */ WindowsOsRecovery("windowsOsRecovery"), /** Indicates the settings that can be deployed through the Android channel. */ - Android("android"); + Android("android"), + /** Setting can be deployed through the Intune Open Extensibility channel for scenarios such as Windows Recovery Environment (WinRE) configuration policies. */ + IntuneOpenExtensibility("intuneOpenExtensibility"); public final String value; DeviceManagementConfigurationTechnologies(final String value) { this.value = value; @@ -69,6 +71,7 @@ public static DeviceManagementConfigurationTechnologies forValue(@jakarta.annota case "unknownFutureValue": return UnknownFutureValue; case "windowsOsRecovery": return WindowsOsRecovery; case "android": return Android; + case "intuneOpenExtensibility": return IntuneOpenExtensibility; default: return null; } } diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/Directory.java b/src/main/java/com/microsoft/graph/beta/generated/models/Directory.java index e2ad1ae3073..aacf7597f67 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/Directory.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/Directory.java @@ -1,7 +1,6 @@ package com.microsoft.graph.beta.models; import com.microsoft.graph.beta.models.entrarecoveryservices.Recovery; -import com.microsoft.graph.beta.models.tenantgovernanceservices.TenantGovernance; import com.microsoft.kiota.serialization.Parsable; import com.microsoft.kiota.serialization.ParseNode; import com.microsoft.kiota.serialization.SerializationWriter; diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/DistributionList.java b/src/main/java/com/microsoft/graph/beta/generated/models/DistributionList.java index 419e3ca3e9d..28f2721c142 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/DistributionList.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/DistributionList.java @@ -41,18 +41,18 @@ public String getDisplayName() { public Map> getFieldDeserializers() { final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); deserializerMap.put("displayName", (n) -> { this.setDisplayName(n.getStringValue()); }); - deserializerMap.put("members", (n) -> { this.setMembers(n.getCollectionOfObjectValues(Member::createFromDiscriminatorValue)); }); + deserializerMap.put("members", (n) -> { this.setMembers(n.getCollectionOfObjectValues(DistributionListMember::createFromDiscriminatorValue)); }); deserializerMap.put("notes", (n) -> { this.setNotes(n.getStringValue()); }); deserializerMap.put("personIdentifier", (n) -> { this.setPersonIdentifier(n.getStringValue()); }); deserializerMap.put("singleValueExtendedProperties", (n) -> { this.setSingleValueExtendedProperties(n.getCollectionOfObjectValues(SingleValueLegacyExtendedProperty::createFromDiscriminatorValue)); }); return deserializerMap; } /** - * Gets the members property value. The members property - * @return a {@link java.util.List} + * Gets the members property value. The members of the distribution list. Not returned by default; use $expand=members to include. Read-only. + * @return a {@link java.util.List} */ @jakarta.annotation.Nullable - public java.util.List getMembers() { + public java.util.List getMembers() { return this.backingStore.get("members"); } /** @@ -100,10 +100,10 @@ public void setDisplayName(@jakarta.annotation.Nullable final String value) { this.backingStore.set("displayName", value); } /** - * Sets the members property value. The members property + * Sets the members property value. The members of the distribution list. Not returned by default; use $expand=members to include. Read-only. * @param value Value to set for the members property. */ - public void setMembers(@jakarta.annotation.Nullable final java.util.List value) { + public void setMembers(@jakarta.annotation.Nullable final java.util.List value) { this.backingStore.set("members", value); } /** diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/DistributionListMember.java b/src/main/java/com/microsoft/graph/beta/generated/models/DistributionListMember.java new file mode 100644 index 00000000000..4250920984f --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/DistributionListMember.java @@ -0,0 +1,112 @@ +package com.microsoft.graph.beta.models; + +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class DistributionListMember extends Entity implements Parsable { + /** + * Instantiates a new {@link DistributionListMember} and sets the default values. + */ + public DistributionListMember() { + super(); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link DistributionListMember} + */ + @jakarta.annotation.Nonnull + public static DistributionListMember createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new DistributionListMember(); + } + /** + * Gets the contact property value. The contact associated with the distribution list member. Read-only. + * @return a {@link Contact} + */ + @jakarta.annotation.Nullable + public Contact getContact() { + return this.backingStore.get("contact"); + } + /** + * Gets the displayName property value. The display name of the member. Read-only. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getDisplayName() { + return this.backingStore.get("displayName"); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("contact", (n) -> { this.setContact(n.getObjectValue(Contact::createFromDiscriminatorValue)); }); + deserializerMap.put("displayName", (n) -> { this.setDisplayName(n.getStringValue()); }); + deserializerMap.put("memberId", (n) -> { this.setMemberId(n.getStringValue()); }); + deserializerMap.put("type", (n) -> { this.setType(n.getEnumValue(RecipientType::forValue)); }); + return deserializerMap; + } + /** + * Gets the memberId property value. A system generated unique identifier. Non-empty for contact, privateDL and mailbox members. ReadOnly. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getMemberId() { + return this.backingStore.get("memberId"); + } + /** + * Gets the type property value. The type property + * @return a {@link RecipientType} + */ + @jakarta.annotation.Nullable + public RecipientType getType() { + return this.backingStore.get("type"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeObjectValue("contact", this.getContact()); + writer.writeStringValue("displayName", this.getDisplayName()); + writer.writeStringValue("memberId", this.getMemberId()); + writer.writeEnumValue("type", this.getType()); + } + /** + * Sets the contact property value. The contact associated with the distribution list member. Read-only. + * @param value Value to set for the contact property. + */ + public void setContact(@jakarta.annotation.Nullable final Contact value) { + this.backingStore.set("contact", value); + } + /** + * Sets the displayName property value. The display name of the member. Read-only. + * @param value Value to set for the displayName property. + */ + public void setDisplayName(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("displayName", value); + } + /** + * Sets the memberId property value. A system generated unique identifier. Non-empty for contact, privateDL and mailbox members. ReadOnly. + * @param value Value to set for the memberId property. + */ + public void setMemberId(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("memberId", value); + } + /** + * Sets the type property value. The type property + * @param value Value to set for the type property. + */ + public void setType(@jakarta.annotation.Nullable final RecipientType value) { + this.backingStore.set("type", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/DistributionListMemberCollectionResponse.java b/src/main/java/com/microsoft/graph/beta/generated/models/DistributionListMemberCollectionResponse.java new file mode 100644 index 00000000000..d1debb98bca --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/DistributionListMemberCollectionResponse.java @@ -0,0 +1,61 @@ +package com.microsoft.graph.beta.models; + +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class DistributionListMemberCollectionResponse extends BaseCollectionPaginationCountResponse implements Parsable { + /** + * Instantiates a new {@link DistributionListMemberCollectionResponse} and sets the default values. + */ + public DistributionListMemberCollectionResponse() { + super(); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link DistributionListMemberCollectionResponse} + */ + @jakarta.annotation.Nonnull + public static DistributionListMemberCollectionResponse createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new DistributionListMemberCollectionResponse(); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("value", (n) -> { this.setValue(n.getCollectionOfObjectValues(DistributionListMember::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the value property value. The value property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getValue() { + return this.backingStore.get("value"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeCollectionOfObjectValues("value", this.getValue()); + } + /** + * Sets the value property value. The value property + * @param value Value to set for the value property. + */ + public void setValue(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("value", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/Drive.java b/src/main/java/com/microsoft/graph/beta/generated/models/Drive.java index 782fee6b0b4..be72a4c3239 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/Drive.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/Drive.java @@ -65,6 +65,7 @@ public Map> getFieldDeserializers deserializerMap.put("owner", (n) -> { this.setOwner(n.getObjectValue(IdentitySet::createFromDiscriminatorValue)); }); deserializerMap.put("quota", (n) -> { this.setQuota(n.getObjectValue(Quota::createFromDiscriminatorValue)); }); deserializerMap.put("root", (n) -> { this.setRoot(n.getObjectValue(DriveItem::createFromDiscriminatorValue)); }); + deserializerMap.put("settings", (n) -> { this.setSettings(n.getObjectValue(DriveSettings::createFromDiscriminatorValue)); }); deserializerMap.put("sharePointIds", (n) -> { this.setSharePointIds(n.getObjectValue(SharepointIds::createFromDiscriminatorValue)); }); deserializerMap.put("special", (n) -> { this.setSpecial(n.getCollectionOfObjectValues(DriveItem::createFromDiscriminatorValue)); }); deserializerMap.put("system", (n) -> { this.setSystem(n.getObjectValue(SystemFacet::createFromDiscriminatorValue)); }); @@ -118,6 +119,14 @@ public Quota getQuota() { public DriveItem getRoot() { return this.backingStore.get("root"); } + /** + * Gets the settings property value. The settings associated with the drive. Read-only. This property isn't returned by default and must be selected using the $select query parameter. + * @return a {@link DriveSettings} + */ + @jakarta.annotation.Nullable + public DriveSettings getSettings() { + return this.backingStore.get("settings"); + } /** * Gets the sharePointIds property value. The sharePointIds property * @return a {@link SharepointIds} @@ -158,6 +167,7 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeObjectValue("owner", this.getOwner()); writer.writeObjectValue("quota", this.getQuota()); writer.writeObjectValue("root", this.getRoot()); + writer.writeObjectValue("settings", this.getSettings()); writer.writeObjectValue("sharePointIds", this.getSharePointIds()); writer.writeCollectionOfObjectValues("special", this.getSpecial()); writer.writeObjectValue("system", this.getSystem()); @@ -225,6 +235,13 @@ public void setQuota(@jakarta.annotation.Nullable final Quota value) { public void setRoot(@jakarta.annotation.Nullable final DriveItem value) { this.backingStore.set("root", value); } + /** + * Sets the settings property value. The settings associated with the drive. Read-only. This property isn't returned by default and must be selected using the $select query parameter. + * @param value Value to set for the settings property. + */ + public void setSettings(@jakarta.annotation.Nullable final DriveSettings value) { + this.backingStore.set("settings", value); + } /** * Sets the sharePointIds property value. The sharePointIds property * @param value Value to set for the sharePointIds property. diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/DriveSettings.java b/src/main/java/com/microsoft/graph/beta/generated/models/DriveSettings.java new file mode 100644 index 00000000000..a66c3ceb42f --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/DriveSettings.java @@ -0,0 +1,124 @@ +package com.microsoft.graph.beta.models; + +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class DriveSettings implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link DriveSettings} and sets the default values. + */ + public DriveSettings() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link DriveSettings} + */ + @jakarta.annotation.Nonnull + public static DriveSettings createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new DriveSettings(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(2); + deserializerMap.put("itemDefaultSensitivityLabelId", (n) -> { this.setItemDefaultSensitivityLabelId(n.getStringValue()); }); + deserializerMap.put("@odata.type", (n) -> { this.setOdataType(n.getStringValue()); }); + return deserializerMap; + } + /** + * Gets the itemDefaultSensitivityLabelId property value. The ID of the default sensitivity label for items in the drive. Read-only. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getItemDefaultSensitivityLabelId() { + return this.backingStore.get("itemDefaultSensitivityLabelId"); + } + /** + * Gets the @odata.type property value. The OdataType property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getOdataType() { + return this.backingStore.get("odataType"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writeStringValue("itemDefaultSensitivityLabelId", this.getItemDefaultSensitivityLabelId()); + writer.writeStringValue("@odata.type", this.getOdataType()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } + /** + * Sets the itemDefaultSensitivityLabelId property value. The ID of the default sensitivity label for items in the drive. Read-only. + * @param value Value to set for the itemDefaultSensitivityLabelId property. + */ + public void setItemDefaultSensitivityLabelId(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("itemDefaultSensitivityLabelId", value); + } + /** + * Sets the @odata.type property value. The OdataType property + * @param value Value to set for the @odata.type property. + */ + public void setOdataType(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("odataType", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/EmbeddingInput.java b/src/main/java/com/microsoft/graph/beta/generated/models/EmbeddingInput.java new file mode 100644 index 00000000000..1677e22c49a --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/EmbeddingInput.java @@ -0,0 +1,141 @@ +package com.microsoft.graph.beta.models; + +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class EmbeddingInput implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link EmbeddingInput} and sets the default values. + */ + public EmbeddingInput() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link EmbeddingInput} + */ + @jakarta.annotation.Nonnull + public static EmbeddingInput createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new EmbeddingInput(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * Gets the data property value. The embedding vectors the model produced for the text, encoded as a base64 string of little-endian 32-bit floats. Every vector the model emitted (for example, one per text chunk) is concatenated in order; each contributes exactly the modelType's embedding dimension worth of float components, so the decoded length must be a whole multiple of that dimension. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getData() { + return this.backingStore.get("data"); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(3); + deserializerMap.put("data", (n) -> { this.setData(n.getStringValue()); }); + deserializerMap.put("modelType", (n) -> { this.setModelType(n.getStringValue()); }); + deserializerMap.put("@odata.type", (n) -> { this.setOdataType(n.getStringValue()); }); + return deserializerMap; + } + /** + * Gets the modelType property value. The embedding model identifier drawn from the service allow-list (for example: text-embedding-3-small-512). Unique (case-insensitive) within the embeddings collection; entries whose modelType is outside the allow-list are rejected with a 400. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getModelType() { + return this.backingStore.get("modelType"); + } + /** + * Gets the @odata.type property value. The OdataType property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getOdataType() { + return this.backingStore.get("odataType"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writeStringValue("data", this.getData()); + writer.writeStringValue("modelType", this.getModelType()); + writer.writeStringValue("@odata.type", this.getOdataType()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } + /** + * Sets the data property value. The embedding vectors the model produced for the text, encoded as a base64 string of little-endian 32-bit floats. Every vector the model emitted (for example, one per text chunk) is concatenated in order; each contributes exactly the modelType's embedding dimension worth of float components, so the decoded length must be a whole multiple of that dimension. + * @param value Value to set for the data property. + */ + public void setData(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("data", value); + } + /** + * Sets the modelType property value. The embedding model identifier drawn from the service allow-list (for example: text-embedding-3-small-512). Unique (case-insensitive) within the embeddings collection; entries whose modelType is outside the allow-list are rejected with a 400. + * @param value Value to set for the modelType property. + */ + public void setModelType(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("modelType", value); + } + /** + * Sets the @odata.type property value. The OdataType property + * @param value Value to set for the @odata.type property. + */ + public void setOdataType(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("odataType", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/Entity.java b/src/main/java/com/microsoft/graph/beta/generated/models/Entity.java index 9d88d641079..aa7bae75b10 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/Entity.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/Entity.java @@ -5,6 +5,7 @@ import com.microsoft.graph.beta.models.callrecords.Participant; import com.microsoft.graph.beta.models.callrecords.ParticipantBase; import com.microsoft.graph.beta.models.callrecords.Segment; +import com.microsoft.graph.beta.models.callrecords.Session; import com.microsoft.graph.beta.models.cloudlicensing.AdminCloudLicensing; import com.microsoft.graph.beta.models.cloudlicensing.Allotment; import com.microsoft.graph.beta.models.cloudlicensing.Assignment; @@ -18,10 +19,10 @@ import com.microsoft.graph.beta.models.ediscovery.CaseExportOperation; import com.microsoft.graph.beta.models.ediscovery.CaseHoldOperation; import com.microsoft.graph.beta.models.ediscovery.CaseIndexOperation; -import com.microsoft.graph.beta.models.ediscovery.CaseOperation; import com.microsoft.graph.beta.models.ediscovery.CaseSettings; import com.microsoft.graph.beta.models.ediscovery.Custodian; import com.microsoft.graph.beta.models.ediscovery.DataSource; +import com.microsoft.graph.beta.models.ediscovery.DataSourceContainer; import com.microsoft.graph.beta.models.ediscovery.Ediscoveryroot; import com.microsoft.graph.beta.models.ediscovery.EstimateStatisticsOperation; import com.microsoft.graph.beta.models.ediscovery.LegalHold; @@ -32,7 +33,6 @@ import com.microsoft.graph.beta.models.ediscovery.SourceCollection; import com.microsoft.graph.beta.models.ediscovery.Tag; import com.microsoft.graph.beta.models.ediscovery.TagOperation; -import com.microsoft.graph.beta.models.ediscovery.UnifiedGroupSource; import com.microsoft.graph.beta.models.entrarecoveryservices.Recovery; import com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryChangeObjectBase; import com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryJob; @@ -48,15 +48,26 @@ import com.microsoft.graph.beta.models.externalconnectors.ExternalItem; import com.microsoft.graph.beta.models.externalconnectors.Identity; import com.microsoft.graph.beta.models.externalconnectors.Schema; -import com.microsoft.graph.beta.models.healthmonitoring.Alert; import com.microsoft.graph.beta.models.healthmonitoring.AlertConfiguration; import com.microsoft.graph.beta.models.healthmonitoring.HealthMonitoringRoot; +import com.microsoft.graph.beta.models.identitygovernance.AgentIdentityLifecycle; +import com.microsoft.graph.beta.models.identitygovernance.AgentIdentityLifecyclePolicy; +import com.microsoft.graph.beta.models.identitygovernance.AttestationComplianceIssue; +import com.microsoft.graph.beta.models.identitygovernance.ComplianceIssue; import com.microsoft.graph.beta.models.identitygovernance.CustomTaskExtension; +import com.microsoft.graph.beta.models.identitygovernance.IdentityLifecycle; +import com.microsoft.graph.beta.models.identitygovernance.InactivityRule; import com.microsoft.graph.beta.models.identitygovernance.Insights; import com.microsoft.graph.beta.models.identitygovernance.LifecycleManagementSettings; +import com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicy; +import com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicyPriorityConfiguration; +import com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicyRule; import com.microsoft.graph.beta.models.identitygovernance.LifecycleWorkflowsContainer; +import com.microsoft.graph.beta.models.identitygovernance.PeriodicAttestationRule; import com.microsoft.graph.beta.models.identitygovernance.Run; +import com.microsoft.graph.beta.models.identitygovernance.SponsorPresenceRule; import com.microsoft.graph.beta.models.identitygovernance.SubjectProcessingResult; +import com.microsoft.graph.beta.models.identitygovernance.Task; import com.microsoft.graph.beta.models.identitygovernance.TaskDefinition; import com.microsoft.graph.beta.models.identitygovernance.TaskProcessingResult; import com.microsoft.graph.beta.models.identitygovernance.TaskReport; @@ -126,6 +137,7 @@ import com.microsoft.graph.beta.models.managedtenants.TenantTag; import com.microsoft.graph.beta.models.managedtenants.WindowsDeviceMalwareState; import com.microsoft.graph.beta.models.managedtenants.WindowsProtectionState; +import com.microsoft.graph.beta.models.networkaccess.Alert; import com.microsoft.graph.beta.models.networkaccess.BaseEntity; import com.microsoft.graph.beta.models.networkaccess.BranchSite; import com.microsoft.graph.beta.models.networkaccess.CloudFirewallPolicy; @@ -155,6 +167,7 @@ import com.microsoft.graph.beta.models.networkaccess.Logs; import com.microsoft.graph.beta.models.networkaccess.M365ForwardingRule; import com.microsoft.graph.beta.models.networkaccess.NetworkAccessRoot; +import com.microsoft.graph.beta.models.networkaccess.Policy; import com.microsoft.graph.beta.models.networkaccess.PolicyLink; import com.microsoft.graph.beta.models.networkaccess.PolicyRule; import com.microsoft.graph.beta.models.networkaccess.PrivateAccessForwardingRule; @@ -226,9 +239,9 @@ import com.microsoft.graph.beta.models.security.casemanagement.Relation; import com.microsoft.graph.beta.models.security.casemanagement.StatusDefinition; import com.microsoft.graph.beta.models.security.casemanagement.StringCustomFieldDefinition; -import com.microsoft.graph.beta.models.security.casemanagement.Task; import com.microsoft.graph.beta.models.security.casemanagement.WorkspaceIndicatorRelation; import com.microsoft.graph.beta.models.security.CaseManagementRoot; +import com.microsoft.graph.beta.models.security.CaseOperation; import com.microsoft.graph.beta.models.security.CasesRoot; import com.microsoft.graph.beta.models.security.CategoryTemplate; import com.microsoft.graph.beta.models.security.CitationTemplate; @@ -237,7 +250,6 @@ import com.microsoft.graph.beta.models.security.DataDiscoveryReport; import com.microsoft.graph.beta.models.security.DataDiscoveryRoot; import com.microsoft.graph.beta.models.security.DataSet; -import com.microsoft.graph.beta.models.security.DataSourceContainer; import com.microsoft.graph.beta.models.security.DepartmentTemplate; import com.microsoft.graph.beta.models.security.DetectionRule; import com.microsoft.graph.beta.models.security.DiscoveredCloudAppDetail; @@ -315,7 +327,6 @@ import com.microsoft.graph.beta.models.security.Security; import com.microsoft.graph.beta.models.security.securitycopilot.Evaluation; import com.microsoft.graph.beta.models.security.securitycopilot.Prompt; -import com.microsoft.graph.beta.models.security.securitycopilot.Session; import com.microsoft.graph.beta.models.security.securitycopilot.Workspace; import com.microsoft.graph.beta.models.security.SensitivityLabel; import com.microsoft.graph.beta.models.security.Sensor; @@ -333,6 +344,7 @@ import com.microsoft.graph.beta.models.security.TriggersRoot; import com.microsoft.graph.beta.models.security.TriggerTypesRoot; import com.microsoft.graph.beta.models.security.UnclassifiedArtifact; +import com.microsoft.graph.beta.models.security.UnifiedGroupSource; import com.microsoft.graph.beta.models.security.UrlThreatSubmission; import com.microsoft.graph.beta.models.security.User; import com.microsoft.graph.beta.models.security.UserSource; @@ -350,31 +362,6 @@ import com.microsoft.graph.beta.models.teamsadministration.TeamsUserConfiguration; import com.microsoft.graph.beta.models.teamsadministration.TelephoneNumberLongRunningOperation; import com.microsoft.graph.beta.models.teamsadministration.TelephoneNumberManagementRoot; -import com.microsoft.graph.beta.models.tenantgovernanceservices.B2bRegistrationMetrics; -import com.microsoft.graph.beta.models.tenantgovernanceservices.B2BRegistrationMetricsBase; -import com.microsoft.graph.beta.models.tenantgovernanceservices.B2BRegistrationMetricsInitial; -import com.microsoft.graph.beta.models.tenantgovernanceservices.B2BRegistrationMetricsRecent; -import com.microsoft.graph.beta.models.tenantgovernanceservices.B2BSignInActivityMetrics; -import com.microsoft.graph.beta.models.tenantgovernanceservices.B2BSignInActivityMetricsBase; -import com.microsoft.graph.beta.models.tenantgovernanceservices.B2BSignInActivityMetricsInitial; -import com.microsoft.graph.beta.models.tenantgovernanceservices.B2BSignInActivityMetricsRecent; -import com.microsoft.graph.beta.models.tenantgovernanceservices.BillingMetrics; -import com.microsoft.graph.beta.models.tenantgovernanceservices.BillingMetricsBase; -import com.microsoft.graph.beta.models.tenantgovernanceservices.BillingMetricsInitial; -import com.microsoft.graph.beta.models.tenantgovernanceservices.BillingMetricsRecent; -import com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceInvitation; -import com.microsoft.graph.beta.models.tenantgovernanceservices.GovernancePolicyTemplate; -import com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRelationship; -import com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceRequest; -import com.microsoft.graph.beta.models.tenantgovernanceservices.LongRunningOperation; -import com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationMetrics; -import com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationMetricsBase; -import com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationMetricsInitial; -import com.microsoft.graph.beta.models.tenantgovernanceservices.MultiTenantApplicationMetricsRecent; -import com.microsoft.graph.beta.models.tenantgovernanceservices.RelatedTenant; -import com.microsoft.graph.beta.models.tenantgovernanceservices.RelatedTenantsRefreshRequest; -import com.microsoft.graph.beta.models.tenantgovernanceservices.TenantGovernance; -import com.microsoft.graph.beta.models.tenantgovernanceservices.TenantGovernanceSetting; import com.microsoft.graph.beta.models.termstore.Group; import com.microsoft.graph.beta.models.termstore.Set; import com.microsoft.graph.beta.models.termstore.Store; @@ -392,7 +379,6 @@ import com.microsoft.graph.beta.models.windowsupdates.KnowledgeBaseArticle; import com.microsoft.graph.beta.models.windowsupdates.KnownIssue; import com.microsoft.graph.beta.models.windowsupdates.OperationalInsightsConnection; -import com.microsoft.graph.beta.models.windowsupdates.Policy; import com.microsoft.graph.beta.models.windowsupdates.PolicyApproval; import com.microsoft.graph.beta.models.windowsupdates.Product; import com.microsoft.graph.beta.models.windowsupdates.ProductRevision; @@ -526,6 +512,7 @@ private static Entity createFromDiscriminatorValue_0(@jakarta.annotation.Nonnull case "#microsoft.graph.agent": return new Agent(); case "#microsoft.graph.agentCardManifest": return new AgentCardManifest(); case "#microsoft.graph.agentCollection": return new AgentCollection(); + case "#microsoft.graph.agentCommunicationConfiguration": return new AgentCommunicationConfiguration(); case "#microsoft.graph.agentIdentity": return new AgentIdentity(); case "#microsoft.graph.agentIdentityBlueprint": return new AgentIdentityBlueprint(); case "#microsoft.graph.agentIdentityBlueprintPrincipal": return new AgentIdentityBlueprintPrincipal(); @@ -732,6 +719,14 @@ private static Entity createFromDiscriminatorValue_0(@jakarta.annotation.Nonnull case "#microsoft.graph.azureServicePrincipal": return new AzureServicePrincipal(); case "#microsoft.graph.azureUser": return new AzureUser(); case "#microsoft.graph.b2bManagementPolicy": return new B2bManagementPolicy(); + case "#microsoft.graph.b2bRegistrationMetrics": return new B2bRegistrationMetrics(); + case "#microsoft.graph.b2BRegistrationMetricsBase": return new B2BRegistrationMetricsBase(); + case "#microsoft.graph.b2BRegistrationMetricsInitial": return new B2BRegistrationMetricsInitial(); + case "#microsoft.graph.b2BRegistrationMetricsRecent": return new B2BRegistrationMetricsRecent(); + case "#microsoft.graph.b2BSignInActivityMetrics": return new B2BSignInActivityMetrics(); + case "#microsoft.graph.b2BSignInActivityMetricsBase": return new B2BSignInActivityMetricsBase(); + case "#microsoft.graph.b2BSignInActivityMetricsInitial": return new B2BSignInActivityMetricsInitial(); + case "#microsoft.graph.b2BSignInActivityMetricsRecent": return new B2BSignInActivityMetricsRecent(); case "#microsoft.graph.b2cAuthenticationMethodsPolicy": return new B2cAuthenticationMethodsPolicy(); case "#microsoft.graph.b2cIdentityUserFlow": return new B2cIdentityUserFlow(); case "#microsoft.graph.b2xIdentityUserFlow": return new B2xIdentityUserFlow(); @@ -742,6 +737,10 @@ private static Entity createFromDiscriminatorValue_0(@jakarta.annotation.Nonnull case "#microsoft.graph.baseItemVersion": return new BaseItemVersion(); case "#microsoft.graph.baseMapFeature": return new BaseMapFeature(); case "#microsoft.graph.baseSitePage": return new BaseSitePage(); + case "#microsoft.graph.billingMetrics": return new BillingMetrics(); + case "#microsoft.graph.billingMetricsBase": return new BillingMetricsBase(); + case "#microsoft.graph.billingMetricsInitial": return new BillingMetricsInitial(); + case "#microsoft.graph.billingMetricsRecent": return new BillingMetricsRecent(); case "#microsoft.graph.bitlocker": return new Bitlocker(); case "#microsoft.graph.bitlockerRecoveryKey": return new BitlockerRecoveryKey(); case "#microsoft.graph.bookingAppointment": return new BookingAppointment(); @@ -959,6 +958,17 @@ private static Entity createFromDiscriminatorValue_0(@jakarta.annotation.Nonnull case "#microsoft.graph.defaultManagedAppProtection": return new DefaultManagedAppProtection(); case "#microsoft.graph.defaultUserRoleOverride": return new DefaultUserRoleOverride(); case "#microsoft.graph.delegatedAdminAccessAssignment": return new DelegatedAdminAccessAssignment(); + } + return null; + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param discriminatorValue Discriminator value from the payload + * @return a {@link Entity} + */ + @jakarta.annotation.Nonnull + private static Entity createFromDiscriminatorValue_1(@jakarta.annotation.Nonnull final String discriminatorValue) { + switch (discriminatorValue) { case "#microsoft.graph.delegatedAdminCustomer": return new DelegatedAdminCustomer(); case "#microsoft.graph.delegatedAdminRelationship": return new DelegatedAdminRelationship(); case "#microsoft.graph.delegatedAdminRelationshipOperation": return new DelegatedAdminRelationshipOperation(); @@ -972,17 +982,6 @@ private static Entity createFromDiscriminatorValue_0(@jakarta.annotation.Nonnull case "#microsoft.graph.deltaParticipants": return new DeltaParticipants(); case "#microsoft.graph.depEnrollmentBaseProfile": return new DepEnrollmentBaseProfile(); case "#microsoft.graph.depEnrollmentProfile": return new DepEnrollmentProfile(); - } - return null; - } - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param discriminatorValue Discriminator value from the payload - * @return a {@link Entity} - */ - @jakarta.annotation.Nonnull - private static Entity createFromDiscriminatorValue_1(@jakarta.annotation.Nonnull final String discriminatorValue) { - switch (discriminatorValue) { case "#microsoft.graph.depIOSEnrollmentProfile": return new DepIOSEnrollmentProfile(); case "#microsoft.graph.depMacOSEnrollmentProfile": return new DepMacOSEnrollmentProfile(); case "#microsoft.graph.depOnboardingSetting": return new DepOnboardingSetting(); @@ -994,7 +993,6 @@ private static Entity createFromDiscriminatorValue_1(@jakarta.annotation.Nonnull case "#microsoft.graph.deviceAndAppManagementAssignmentFilter": return new DeviceAndAppManagementAssignmentFilter(); case "#microsoft.graph.deviceAndAppManagementRoleAssignment": return new DeviceAndAppManagementRoleAssignment(); case "#microsoft.graph.deviceAndAppManagementRoleDefinition": return new DeviceAndAppManagementRoleDefinition(); - case "#microsoft.graph.deviceAppManagement": return new DeviceAppManagement(); case "#microsoft.graph.deviceAppManagementTask": return new DeviceAppManagementTask(); case "#microsoft.graph.deviceCategory": return new DeviceCategory(); case "#microsoft.graph.deviceComanagementAuthorityConfiguration": return new DeviceComanagementAuthorityConfiguration(); @@ -1122,6 +1120,7 @@ private static Entity createFromDiscriminatorValue_1(@jakarta.annotation.Nonnull case "#microsoft.graph.directorySetting": return new DirectorySetting(); case "#microsoft.graph.directorySettingTemplate": return new DirectorySettingTemplate(); case "#microsoft.graph.distributionList": return new DistributionList(); + case "#microsoft.graph.distributionListMember": return new DistributionListMember(); case "#microsoft.graph.dlpEvaluatePoliciesJobResponse": return new DlpEvaluatePoliciesJobResponse(); case "#microsoft.graph.document": return new Document(); case "#microsoft.graph.documentComment": return new DocumentComment(); @@ -1321,7 +1320,10 @@ private static Entity createFromDiscriminatorValue_1(@jakarta.annotation.Nonnull case "#microsoft.graph.goals": return new Goals(); case "#microsoft.graph.goalsExportJob": return new GoalsExportJob(); case "#microsoft.graph.governanceInsight": return new GovernanceInsight(); + case "#microsoft.graph.governanceInvitation": return new GovernanceInvitation(); case "#microsoft.graph.governancePolicyTemplate": return new GovernancePolicyTemplate(); + case "#microsoft.graph.governanceRelationship": return new GovernanceRelationship(); + case "#microsoft.graph.governanceRequest": return new GovernanceRequest(); case "#microsoft.graph.governanceResource": return new GovernanceResource(); case "#microsoft.graph.governanceRoleAssignment": return new GovernanceRoleAssignment(); case "#microsoft.graph.governanceRoleAssignmentRequest": return new GovernanceRoleAssignmentRequest(); @@ -1389,11 +1391,22 @@ private static Entity createFromDiscriminatorValue_1(@jakarta.annotation.Nonnull case "#microsoft.graph.identityCorrelation": return new IdentityCorrelation(); case "#microsoft.graph.identityCustomUserFlowAttribute": return new IdentityCustomUserFlowAttribute(); case "#microsoft.graph.identityFinding": return new IdentityFinding(); + case "#microsoft.graph.identityGovernance.agentIdentityLifecycle": return new AgentIdentityLifecycle(); + case "#microsoft.graph.identityGovernance.agentIdentityLifecyclePolicy": return new AgentIdentityLifecyclePolicy(); + case "#microsoft.graph.identityGovernance.attestationComplianceIssue": return new AttestationComplianceIssue(); + case "#microsoft.graph.identityGovernance.complianceIssue": return new ComplianceIssue(); case "#microsoft.graph.identityGovernance.customTaskExtension": return new CustomTaskExtension(); + case "#microsoft.graph.identityGovernance.identityLifecycle": return new IdentityLifecycle(); + case "#microsoft.graph.identityGovernance.inactivityRule": return new InactivityRule(); case "#microsoft.graph.identityGovernance.insights": return new Insights(); case "#microsoft.graph.identityGovernance.lifecycleManagementSettings": return new LifecycleManagementSettings(); + case "#microsoft.graph.identityGovernance.lifecyclePolicy": return new LifecyclePolicy(); + case "#microsoft.graph.identityGovernance.lifecyclePolicyPriorityConfiguration": return new LifecyclePolicyPriorityConfiguration(); + case "#microsoft.graph.identityGovernance.lifecyclePolicyRule": return new LifecyclePolicyRule(); case "#microsoft.graph.identityGovernance.lifecycleWorkflowsContainer": return new LifecycleWorkflowsContainer(); + case "#microsoft.graph.identityGovernance.periodicAttestationRule": return new PeriodicAttestationRule(); case "#microsoft.graph.identityGovernance.run": return new Run(); + case "#microsoft.graph.identityGovernance.sponsorPresenceRule": return new SponsorPresenceRule(); case "#microsoft.graph.identityGovernance.subjectProcessingResult": return new SubjectProcessingResult(); case "#microsoft.graph.identityGovernance.task": return new Task(); case "#microsoft.graph.identityGovernance.taskDefinition": return new TaskDefinition(); @@ -1456,6 +1469,17 @@ private static Entity createFromDiscriminatorValue_1(@jakarta.annotation.Nonnull case "#microsoft.graph.informationProtectionLabel": return new InformationProtectionLabel(); case "#microsoft.graph.informationProtectionPolicy": return new InformationProtectionPolicy(); case "#microsoft.graph.insiderRiskyUserApproval": return new InsiderRiskyUserApproval(); + } + return null; + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param discriminatorValue Discriminator value from the payload + * @return a {@link Entity} + */ + @jakarta.annotation.Nonnull + private static Entity createFromDiscriminatorValue_2(@jakarta.annotation.Nonnull final String discriminatorValue) { + switch (discriminatorValue) { case "#microsoft.graph.insightsSettings": return new InsightsSettings(); case "#microsoft.graph.insightSummary": return new InsightSummary(); case "#microsoft.graph.internalDomainFederation": return new InternalDomainFederation(); @@ -1483,17 +1507,6 @@ private static Entity createFromDiscriminatorValue_1(@jakarta.annotation.Nonnull case "#microsoft.graph.iosImportedPFXCertificateProfile": return new IosImportedPFXCertificateProfile(); case "#microsoft.graph.iosiPadOSWebClip": return new IosiPadOSWebClip(); case "#microsoft.graph.iosLobApp": return new IosLobApp(); - } - return null; - } - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param discriminatorValue Discriminator value from the payload - * @return a {@link Entity} - */ - @jakarta.annotation.Nonnull - private static Entity createFromDiscriminatorValue_2(@jakarta.annotation.Nonnull final String discriminatorValue) { - switch (discriminatorValue) { case "#microsoft.graph.iosLobAppProvisioningConfiguration": return new IosLobAppProvisioningConfiguration(); case "#microsoft.graph.iosLobAppProvisioningConfigurationAssignment": return new IosLobAppProvisioningConfigurationAssignment(); case "#microsoft.graph.iosLobAppProvisioningConfigurationPolicySetItem": return new IosLobAppProvisioningConfigurationPolicySetItem(); @@ -1730,6 +1743,10 @@ private static Entity createFromDiscriminatorValue_2(@jakarta.annotation.Nonnull case "#microsoft.graph.monthlyInactiveUsersMetric": return new MonthlyInactiveUsersMetric(); case "#microsoft.graph.monthlyUserInsightMetricsRoot": return new MonthlyUserInsightMetricsRoot(); case "#microsoft.graph.multiActivitySubscription": return new MultiActivitySubscription(); + case "#microsoft.graph.multiTenantApplicationMetrics": return new MultiTenantApplicationMetrics(); + case "#microsoft.graph.multiTenantApplicationMetricsBase": return new MultiTenantApplicationMetricsBase(); + case "#microsoft.graph.multiTenantApplicationMetricsInitial": return new MultiTenantApplicationMetricsInitial(); + case "#microsoft.graph.multiTenantApplicationMetricsRecent": return new MultiTenantApplicationMetricsRecent(); case "#microsoft.graph.multiTenantOrganization": return new MultiTenantOrganization(); case "#microsoft.graph.multiTenantOrganizationIdentitySyncPolicyTemplate": return new MultiTenantOrganizationIdentitySyncPolicyTemplate(); case "#microsoft.graph.multiTenantOrganizationJoinRequestRecord": return new MultiTenantOrganizationJoinRequestRecord(); @@ -1963,6 +1980,17 @@ private static Entity createFromDiscriminatorValue_2(@jakarta.annotation.Nonnull case "#microsoft.graph.plannerTaskConfiguration": return new PlannerTaskConfiguration(); case "#microsoft.graph.plannerTaskDetails": return new PlannerTaskDetails(); case "#microsoft.graph.plannerUser": return new PlannerUser(); + } + return null; + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param discriminatorValue Discriminator value from the payload + * @return a {@link Entity} + */ + @jakarta.annotation.Nonnull + private static Entity createFromDiscriminatorValue_3(@jakarta.annotation.Nonnull final String discriminatorValue) { + switch (discriminatorValue) { case "#microsoft.graph.platformCredentialAuthenticationMethod": return new PlatformCredentialAuthenticationMethod(); case "#microsoft.graph.playPromptOperation": return new PlayPromptOperation(); case "#microsoft.graph.policyBase": return new PolicyBase(); @@ -1994,17 +2022,6 @@ private static Entity createFromDiscriminatorValue_2(@jakarta.annotation.Nonnull case "#microsoft.graph.printUsageByUser": return new PrintUsageByUser(); case "#microsoft.graph.privateAccessSensor": return new PrivateAccessSensor(); case "#microsoft.graph.privilegedAccess": return new PrivilegedAccess(); - } - return null; - } - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param discriminatorValue Discriminator value from the payload - * @return a {@link Entity} - */ - @jakarta.annotation.Nonnull - private static Entity createFromDiscriminatorValue_3(@jakarta.annotation.Nonnull final String discriminatorValue) { - switch (discriminatorValue) { case "#microsoft.graph.privilegedAccessGroup": return new PrivilegedAccessGroup(); case "#microsoft.graph.privilegedAccessGroupAssignmentSchedule": return new PrivilegedAccessGroupAssignmentSchedule(); case "#microsoft.graph.privilegedAccessGroupAssignmentScheduleInstance": return new PrivilegedAccessGroupAssignmentScheduleInstance(); @@ -2065,6 +2082,7 @@ private static Entity createFromDiscriminatorValue_3(@jakarta.annotation.Nonnull case "#microsoft.graph.recommendation": return new Recommendation(); case "#microsoft.graph.recommendationBase": return new RecommendationBase(); case "#microsoft.graph.recommendationConfiguration": return new RecommendationConfiguration(); + case "#microsoft.graph.recommendationTag": return new RecommendationTag(); case "#microsoft.graph.recordOperation": return new RecordOperation(); case "#microsoft.graph.recycleBin": return new RecycleBin(); case "#microsoft.graph.recycleBinItem": return new RecycleBinItem(); @@ -2073,6 +2091,8 @@ private static Entity createFromDiscriminatorValue_3(@jakarta.annotation.Nonnull case "#microsoft.graph.referenceAttachment": return new ReferenceAttachment(); case "#microsoft.graph.reflectCheckInResponse": return new ReflectCheckInResponse(); case "#microsoft.graph.regionalAndLanguageSettings": return new RegionalAndLanguageSettings(); + case "#microsoft.graph.relatedTenant": return new RelatedTenant(); + case "#microsoft.graph.relatedTenantsRefreshRequest": return new RelatedTenantsRefreshRequest(); case "#microsoft.graph.relyingPartyDetailedSummary": return new RelyingPartyDetailedSummary(); case "#microsoft.graph.remoteActionAudit": return new RemoteActionAudit(); case "#microsoft.graph.remoteAssistancePartner": return new RemoteAssistancePartner(); @@ -2096,6 +2116,7 @@ private static Entity createFromDiscriminatorValue_3(@jakarta.annotation.Nonnull case "#microsoft.graph.richLongRunningOperation": return new RichLongRunningOperation(); case "#microsoft.graph.riskDetection": return new RiskDetection(); case "#microsoft.graph.riskyAgent": return new RiskyAgent(); + case "#microsoft.graph.riskyAgentDiscoveredAgentIdentity": return new RiskyAgentDiscoveredAgentIdentity(); case "#microsoft.graph.riskyAgentIdentity": return new RiskyAgentIdentity(); case "#microsoft.graph.riskyAgentIdentityBlueprintPrincipal": return new RiskyAgentIdentityBlueprintPrincipal(); case "#microsoft.graph.riskyAgentUser": return new RiskyAgentUser(); @@ -2470,41 +2491,6 @@ private static Entity createFromDiscriminatorValue_3(@jakarta.annotation.Nonnull case "#microsoft.graph.temporaryAccessPassAuthenticationMethodConfiguration": return new TemporaryAccessPassAuthenticationMethodConfiguration(); case "#microsoft.graph.tenantAppManagementPolicy": return new TenantAppManagementPolicy(); case "#microsoft.graph.tenantAttachRBAC": return new TenantAttachRBAC(); - case "#microsoft.graph.tenantDataSecurityAndGovernance": return new TenantDataSecurityAndGovernance(); - case "#microsoft.graph.tenantGovernanceServices.b2bRegistrationMetrics": return new B2bRegistrationMetrics(); - case "#microsoft.graph.tenantGovernanceServices.b2BRegistrationMetricsBase": return new B2BRegistrationMetricsBase(); - case "#microsoft.graph.tenantGovernanceServices.b2BRegistrationMetricsInitial": return new B2BRegistrationMetricsInitial(); - case "#microsoft.graph.tenantGovernanceServices.b2BRegistrationMetricsRecent": return new B2BRegistrationMetricsRecent(); - case "#microsoft.graph.tenantGovernanceServices.b2BSignInActivityMetrics": return new B2BSignInActivityMetrics(); - case "#microsoft.graph.tenantGovernanceServices.b2BSignInActivityMetricsBase": return new B2BSignInActivityMetricsBase(); - case "#microsoft.graph.tenantGovernanceServices.b2BSignInActivityMetricsInitial": return new B2BSignInActivityMetricsInitial(); - case "#microsoft.graph.tenantGovernanceServices.b2BSignInActivityMetricsRecent": return new B2BSignInActivityMetricsRecent(); - case "#microsoft.graph.tenantGovernanceServices.billingMetrics": return new BillingMetrics(); - case "#microsoft.graph.tenantGovernanceServices.billingMetricsBase": return new BillingMetricsBase(); - case "#microsoft.graph.tenantGovernanceServices.billingMetricsInitial": return new BillingMetricsInitial(); - case "#microsoft.graph.tenantGovernanceServices.billingMetricsRecent": return new BillingMetricsRecent(); - case "#microsoft.graph.tenantGovernanceServices.governanceInvitation": return new GovernanceInvitation(); - case "#microsoft.graph.tenantGovernanceServices.governancePolicyTemplate": return new GovernancePolicyTemplate(); - case "#microsoft.graph.tenantGovernanceServices.governanceRelationship": return new GovernanceRelationship(); - case "#microsoft.graph.tenantGovernanceServices.governanceRequest": return new GovernanceRequest(); - case "#microsoft.graph.tenantGovernanceServices.longRunningOperation": return new LongRunningOperation(); - case "#microsoft.graph.tenantGovernanceServices.multiTenantApplicationMetrics": return new MultiTenantApplicationMetrics(); - case "#microsoft.graph.tenantGovernanceServices.multiTenantApplicationMetricsBase": return new MultiTenantApplicationMetricsBase(); - case "#microsoft.graph.tenantGovernanceServices.multiTenantApplicationMetricsInitial": return new MultiTenantApplicationMetricsInitial(); - case "#microsoft.graph.tenantGovernanceServices.multiTenantApplicationMetricsRecent": return new MultiTenantApplicationMetricsRecent(); - case "#microsoft.graph.tenantGovernanceServices.relatedTenant": return new RelatedTenant(); - case "#microsoft.graph.tenantGovernanceServices.relatedTenantsRefreshRequest": return new RelatedTenantsRefreshRequest(); - case "#microsoft.graph.tenantGovernanceServices.tenantGovernance": return new TenantGovernance(); - case "#microsoft.graph.tenantGovernanceServices.tenantGovernanceSetting": return new TenantGovernanceSetting(); - case "#microsoft.graph.tenantProtectionScopeContainer": return new TenantProtectionScopeContainer(); - case "#microsoft.graph.tenantRelationshipAccessPolicyBase": return new TenantRelationshipAccessPolicyBase(); - case "#microsoft.graph.tenantSetupInfo": return new TenantSetupInfo(); - case "#microsoft.graph.termsAndConditions": return new TermsAndConditions(); - case "#microsoft.graph.termsAndConditionsAcceptanceStatus": return new TermsAndConditionsAcceptanceStatus(); - case "#microsoft.graph.termsAndConditionsAssignment": return new TermsAndConditionsAssignment(); - case "#microsoft.graph.termsAndConditionsGroupAssignment": return new TermsAndConditionsGroupAssignment(); - case "#microsoft.graph.termsOfUseContainer": return new TermsOfUseContainer(); - case "#microsoft.graph.termStore.group": return new Group(); } return null; } @@ -2516,6 +2502,19 @@ private static Entity createFromDiscriminatorValue_3(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull private static Entity createFromDiscriminatorValue_4(@jakarta.annotation.Nonnull final String discriminatorValue) { switch (discriminatorValue) { + case "#microsoft.graph.tenantDataSecurityAndGovernance": return new TenantDataSecurityAndGovernance(); + case "#microsoft.graph.tenantGovernance": return new TenantGovernance(); + case "#microsoft.graph.tenantGovernancePolicyTemplate": return new TenantGovernancePolicyTemplate(); + case "#microsoft.graph.tenantGovernanceSetting": return new TenantGovernanceSetting(); + case "#microsoft.graph.tenantProtectionScopeContainer": return new TenantProtectionScopeContainer(); + case "#microsoft.graph.tenantRelationshipAccessPolicyBase": return new TenantRelationshipAccessPolicyBase(); + case "#microsoft.graph.tenantSetupInfo": return new TenantSetupInfo(); + case "#microsoft.graph.termsAndConditions": return new TermsAndConditions(); + case "#microsoft.graph.termsAndConditionsAcceptanceStatus": return new TermsAndConditionsAcceptanceStatus(); + case "#microsoft.graph.termsAndConditionsAssignment": return new TermsAndConditionsAssignment(); + case "#microsoft.graph.termsAndConditionsGroupAssignment": return new TermsAndConditionsGroupAssignment(); + case "#microsoft.graph.termsOfUseContainer": return new TermsOfUseContainer(); + case "#microsoft.graph.termStore.group": return new Group(); case "#microsoft.graph.termStore.relation": return new Relation(); case "#microsoft.graph.termStore.set": return new Set(); case "#microsoft.graph.termStore.store": return new Store(); diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/FileStorageContainer.java b/src/main/java/com/microsoft/graph/beta/generated/models/FileStorageContainer.java index 1fe8b01b172..ccfc258572b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/FileStorageContainer.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/FileStorageContainer.java @@ -74,6 +74,14 @@ public OffsetDateTime getCreatedDateTime() { public FileStorageContainerCustomPropertyDictionary getCustomProperties() { return this.backingStore.get("customProperties"); } + /** + * Gets the dataLocationCode property value. The geographic location of the data for multi-geo tenants. This property is only returned when explicitly selected by using $select. Read-only. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getDataLocationCode() { + return this.backingStore.get("dataLocationCode"); + } /** * Gets the description property value. Provides a user-visible description of the fileStorageContainer. Read-write. * @return a {@link String} @@ -119,6 +127,7 @@ public Map> getFieldDeserializers deserializerMap.put("containerTypeId", (n) -> { this.setContainerTypeId(n.getUUIDValue()); }); deserializerMap.put("createdDateTime", (n) -> { this.setCreatedDateTime(n.getOffsetDateTimeValue()); }); deserializerMap.put("customProperties", (n) -> { this.setCustomProperties(n.getObjectValue(FileStorageContainerCustomPropertyDictionary::createFromDiscriminatorValue)); }); + deserializerMap.put("dataLocationCode", (n) -> { this.setDataLocationCode(n.getStringValue()); }); deserializerMap.put("description", (n) -> { this.setDescription(n.getStringValue()); }); deserializerMap.put("displayName", (n) -> { this.setDisplayName(n.getStringValue()); }); deserializerMap.put("drive", (n) -> { this.setDrive(n.getObjectValue(Drive::createFromDiscriminatorValue)); }); @@ -246,6 +255,7 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeUUIDValue("containerTypeId", this.getContainerTypeId()); writer.writeOffsetDateTimeValue("createdDateTime", this.getCreatedDateTime()); writer.writeObjectValue("customProperties", this.getCustomProperties()); + writer.writeStringValue("dataLocationCode", this.getDataLocationCode()); writer.writeStringValue("description", this.getDescription()); writer.writeStringValue("displayName", this.getDisplayName()); writer.writeObjectValue("drive", this.getDrive()); @@ -305,6 +315,13 @@ public void setCreatedDateTime(@jakarta.annotation.Nullable final OffsetDateTime public void setCustomProperties(@jakarta.annotation.Nullable final FileStorageContainerCustomPropertyDictionary value) { this.backingStore.set("customProperties", value); } + /** + * Sets the dataLocationCode property value. The geographic location of the data for multi-geo tenants. This property is only returned when explicitly selected by using $select. Read-only. + * @param value Value to set for the dataLocationCode property. + */ + public void setDataLocationCode(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("dataLocationCode", value); + } /** * Sets the description property value. Provides a user-visible description of the fileStorageContainer. Read-write. * @param value Value to set for the description property. diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/FileStorageContainerTypeRegistrationSettings.java b/src/main/java/com/microsoft/graph/beta/generated/models/FileStorageContainerTypeRegistrationSettings.java index 83ae05c962c..92e6b70734e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/FileStorageContainerTypeRegistrationSettings.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/FileStorageContainerTypeRegistrationSettings.java @@ -47,14 +47,6 @@ public Map getAdditionalData() { } return value; } - /** - * Gets the agent property value. Contains agent-related settings. - * @return a {@link FileStorageContainerTypeAgentSettings} - */ - @jakarta.annotation.Nullable - public FileStorageContainerTypeAgentSettings getAgent() { - return this.backingStore.get("agent"); - } /** * Gets the backingStore property value. Stores model information. * @return a {@link BackingStore} @@ -70,9 +62,9 @@ public BackingStore getBackingStore() { @jakarta.annotation.Nonnull public Map> getFieldDeserializers() { final HashMap> deserializerMap = new HashMap>(10); - deserializerMap.put("agent", (n) -> { this.setAgent(n.getObjectValue(FileStorageContainerTypeAgentSettings::createFromDiscriminatorValue)); }); deserializerMap.put("isDiscoverabilityEnabled", (n) -> { this.setIsDiscoverabilityEnabled(n.getBooleanValue()); }); deserializerMap.put("isItemVersioningEnabled", (n) -> { this.setIsItemVersioningEnabled(n.getBooleanValue()); }); + deserializerMap.put("isOfficeRestricted", (n) -> { this.setIsOfficeRestricted(n.getBooleanValue()); }); deserializerMap.put("isSearchEnabled", (n) -> { this.setIsSearchEnabled(n.getBooleanValue()); }); deserializerMap.put("isSharingRestricted", (n) -> { this.setIsSharingRestricted(n.getBooleanValue()); }); deserializerMap.put("itemMajorVersionLimit", (n) -> { this.setItemMajorVersionLimit(n.getLongValue()); }); @@ -98,6 +90,14 @@ public Boolean getIsDiscoverabilityEnabled() { public Boolean getIsItemVersioningEnabled() { return this.backingStore.get("isItemVersioningEnabled"); } + /** + * Gets the isOfficeRestricted property value. Indicates whether Office apps (Word, Excel, and PowerPoint) for desktop and web are restricted for containers of this container type. + * @return a {@link Boolean} + */ + @jakarta.annotation.Nullable + public Boolean getIsOfficeRestricted() { + return this.backingStore.get("isOfficeRestricted"); + } /** * Gets the isSearchEnabled property value. Indicates whether search is enabled. * @return a {@link Boolean} @@ -160,9 +160,9 @@ public String getUrlTemplate() { */ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { Objects.requireNonNull(writer); - writer.writeObjectValue("agent", this.getAgent()); writer.writeBooleanValue("isDiscoverabilityEnabled", this.getIsDiscoverabilityEnabled()); writer.writeBooleanValue("isItemVersioningEnabled", this.getIsItemVersioningEnabled()); + writer.writeBooleanValue("isOfficeRestricted", this.getIsOfficeRestricted()); writer.writeBooleanValue("isSearchEnabled", this.getIsSearchEnabled()); writer.writeBooleanValue("isSharingRestricted", this.getIsSharingRestricted()); writer.writeLongValue("itemMajorVersionLimit", this.getItemMajorVersionLimit()); @@ -179,13 +179,6 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { this.backingStore.set("additionalData", value); } - /** - * Sets the agent property value. Contains agent-related settings. - * @param value Value to set for the agent property. - */ - public void setAgent(@jakarta.annotation.Nullable final FileStorageContainerTypeAgentSettings value) { - this.backingStore.set("agent", value); - } /** * Sets the backingStore property value. Stores model information. * @param value Value to set for the backingStore property. @@ -208,6 +201,13 @@ public void setIsDiscoverabilityEnabled(@jakarta.annotation.Nullable final Boole public void setIsItemVersioningEnabled(@jakarta.annotation.Nullable final Boolean value) { this.backingStore.set("isItemVersioningEnabled", value); } + /** + * Sets the isOfficeRestricted property value. Indicates whether Office apps (Word, Excel, and PowerPoint) for desktop and web are restricted for containers of this container type. + * @param value Value to set for the isOfficeRestricted property. + */ + public void setIsOfficeRestricted(@jakarta.annotation.Nullable final Boolean value) { + this.backingStore.set("isOfficeRestricted", value); + } /** * Sets the isSearchEnabled property value. Indicates whether search is enabled. * @param value Value to set for the isSearchEnabled property. diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/FileStorageContainerTypeSettings.java b/src/main/java/com/microsoft/graph/beta/generated/models/FileStorageContainerTypeSettings.java index dd0cf757113..c0d70c51f4c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/FileStorageContainerTypeSettings.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/FileStorageContainerTypeSettings.java @@ -48,14 +48,6 @@ public Map getAdditionalData() { } return value; } - /** - * Gets the agent property value. Contains agent-related settings. Optional - * @return a {@link FileStorageContainerTypeAgentSettings} - */ - @jakarta.annotation.Nullable - public FileStorageContainerTypeAgentSettings getAgent() { - return this.backingStore.get("agent"); - } /** * Gets the backingStore property value. Stores model information. * @return a {@link BackingStore} @@ -79,10 +71,10 @@ public EnumSet getConsumingTenantOverr @jakarta.annotation.Nonnull public Map> getFieldDeserializers() { final HashMap> deserializerMap = new HashMap>(11); - deserializerMap.put("agent", (n) -> { this.setAgent(n.getObjectValue(FileStorageContainerTypeAgentSettings::createFromDiscriminatorValue)); }); deserializerMap.put("consumingTenantOverridables", (n) -> { this.setConsumingTenantOverridables(n.getEnumSetValue(FileStorageContainerTypeSettingsOverride::forValue)); }); deserializerMap.put("isDiscoverabilityEnabled", (n) -> { this.setIsDiscoverabilityEnabled(n.getBooleanValue()); }); deserializerMap.put("isItemVersioningEnabled", (n) -> { this.setIsItemVersioningEnabled(n.getBooleanValue()); }); + deserializerMap.put("isOfficeRestricted", (n) -> { this.setIsOfficeRestricted(n.getBooleanValue()); }); deserializerMap.put("isSearchEnabled", (n) -> { this.setIsSearchEnabled(n.getBooleanValue()); }); deserializerMap.put("isSharingRestricted", (n) -> { this.setIsSharingRestricted(n.getBooleanValue()); }); deserializerMap.put("itemMajorVersionLimit", (n) -> { this.setItemMajorVersionLimit(n.getLongValue()); }); @@ -108,6 +100,14 @@ public Boolean getIsDiscoverabilityEnabled() { public Boolean getIsItemVersioningEnabled() { return this.backingStore.get("isItemVersioningEnabled"); } + /** + * Gets the isOfficeRestricted property value. Indicates whether Office apps (Word, Excel, and PowerPoint) for desktop and web are restricted for containers of this container type. + * @return a {@link Boolean} + */ + @jakarta.annotation.Nullable + public Boolean getIsOfficeRestricted() { + return this.backingStore.get("isOfficeRestricted"); + } /** * Gets the isSearchEnabled property value. Indicates whether search is enabled. * @return a {@link Boolean} @@ -170,10 +170,10 @@ public String getUrlTemplate() { */ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { Objects.requireNonNull(writer); - writer.writeObjectValue("agent", this.getAgent()); writer.writeEnumSetValue("consumingTenantOverridables", this.getConsumingTenantOverridables()); writer.writeBooleanValue("isDiscoverabilityEnabled", this.getIsDiscoverabilityEnabled()); writer.writeBooleanValue("isItemVersioningEnabled", this.getIsItemVersioningEnabled()); + writer.writeBooleanValue("isOfficeRestricted", this.getIsOfficeRestricted()); writer.writeBooleanValue("isSearchEnabled", this.getIsSearchEnabled()); writer.writeBooleanValue("isSharingRestricted", this.getIsSharingRestricted()); writer.writeLongValue("itemMajorVersionLimit", this.getItemMajorVersionLimit()); @@ -190,13 +190,6 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { this.backingStore.set("additionalData", value); } - /** - * Sets the agent property value. Contains agent-related settings. Optional - * @param value Value to set for the agent property. - */ - public void setAgent(@jakarta.annotation.Nullable final FileStorageContainerTypeAgentSettings value) { - this.backingStore.set("agent", value); - } /** * Sets the backingStore property value. Stores model information. * @param value Value to set for the backingStore property. @@ -226,6 +219,13 @@ public void setIsDiscoverabilityEnabled(@jakarta.annotation.Nullable final Boole public void setIsItemVersioningEnabled(@jakarta.annotation.Nullable final Boolean value) { this.backingStore.set("isItemVersioningEnabled", value); } + /** + * Sets the isOfficeRestricted property value. Indicates whether Office apps (Word, Excel, and PowerPoint) for desktop and web are restricted for containers of this container type. + * @param value Value to set for the isOfficeRestricted property. + */ + public void setIsOfficeRestricted(@jakarta.annotation.Nullable final Boolean value) { + this.backingStore.set("isOfficeRestricted", value); + } /** * Sets the isSearchEnabled property value. Indicates whether search is enabled. * @param value Value to set for the isSearchEnabled property. diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/FileStorageContainerTypeSettingsOverride.java b/src/main/java/com/microsoft/graph/beta/generated/models/FileStorageContainerTypeSettingsOverride.java index 9450873f413..74869c4104e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/FileStorageContainerTypeSettingsOverride.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/FileStorageContainerTypeSettingsOverride.java @@ -11,7 +11,8 @@ public enum FileStorageContainerTypeSettingsOverride implements ValuedEnum { IsItemVersioningEnabled("isItemVersioningEnabled"), ItemMajorVersionLimit("itemMajorVersionLimit"), MaxStoragePerContainerInBytes("maxStoragePerContainerInBytes"), - UnknownFutureValue("unknownFutureValue"); + UnknownFutureValue("unknownFutureValue"), + IsOfficeRestricted("isOfficeRestricted"); public final String value; FileStorageContainerTypeSettingsOverride(final String value) { this.value = value; @@ -29,6 +30,7 @@ public static FileStorageContainerTypeSettingsOverride forValue(@jakarta.annotat case "itemMajorVersionLimit": return ItemMajorVersionLimit; case "maxStoragePerContainerInBytes": return MaxStoragePerContainerInBytes; case "unknownFutureValue": return UnknownFutureValue; + case "isOfficeRestricted": return IsOfficeRestricted; default: return null; } } diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/GovernanceInvitation.java b/src/main/java/com/microsoft/graph/beta/generated/models/GovernanceInvitation.java similarity index 71% rename from src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/GovernanceInvitation.java rename to src/main/java/com/microsoft/graph/beta/generated/models/GovernanceInvitation.java index b727af4d8e7..5b10835730e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/GovernanceInvitation.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/GovernanceInvitation.java @@ -1,6 +1,5 @@ -package com.microsoft.graph.beta.models.tenantgovernanceservices; +package com.microsoft.graph.beta.models; -import com.microsoft.graph.beta.models.Entity; import com.microsoft.kiota.serialization.Parsable; import com.microsoft.kiota.serialization.ParseNode; import com.microsoft.kiota.serialization.SerializationWriter; @@ -27,7 +26,7 @@ public static GovernanceInvitation createFromDiscriminatorValue(@jakarta.annotat return new GovernanceInvitation(); } /** - * Gets the createdDateTime property value. The date and time when the invitation was created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. Supports $filter (lt, le, gt, ge, eq, ne) and $orderBy. + * Gets the createdDateTime property value. The createdDateTime property * @return a {@link OffsetDateTime} */ @jakarta.annotation.Nullable @@ -35,7 +34,7 @@ public OffsetDateTime getCreatedDateTime() { return this.backingStore.get("createdDateTime"); } /** - * Gets the expirationDateTime property value. The date and time when the invitation expires. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. Supports $filter (lt, le, gt, ge, eq, ne) and $orderBy. + * Gets the expirationDateTime property value. The expirationDateTime property * @return a {@link OffsetDateTime} */ @jakarta.annotation.Nullable @@ -58,7 +57,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the governedTenantId property value. The Microsoft Entra tenant ID of the governed tenant. Supports $filter (eq, ne) and $orderBy. + * Gets the governedTenantId property value. The governedTenantId property * @return a {@link String} */ @jakarta.annotation.Nullable @@ -66,7 +65,7 @@ public String getGovernedTenantId() { return this.backingStore.get("governedTenantId"); } /** - * Gets the governedTenantName property value. The display name of the governed tenant. Supports $filter (eq, ne) and $orderBy. + * Gets the governedTenantName property value. The governedTenantName property * @return a {@link String} */ @jakarta.annotation.Nullable @@ -74,7 +73,7 @@ public String getGovernedTenantName() { return this.backingStore.get("governedTenantName"); } /** - * Gets the governingTenantId property value. The Microsoft Entra tenant ID of the governing tenant. Supports $filter (eq, ne) and $orderBy. + * Gets the governingTenantId property value. The governingTenantId property * @return a {@link String} */ @jakarta.annotation.Nullable @@ -82,7 +81,7 @@ public String getGoverningTenantId() { return this.backingStore.get("governingTenantId"); } /** - * Gets the governingTenantName property value. The display name of the governing tenant. Supports $filter (eq, ne) and $orderBy. + * Gets the governingTenantName property value. The governingTenantName property * @return a {@link String} */ @jakarta.annotation.Nullable @@ -104,42 +103,42 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeStringValue("governingTenantName", this.getGoverningTenantName()); } /** - * Sets the createdDateTime property value. The date and time when the invitation was created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. Supports $filter (lt, le, gt, ge, eq, ne) and $orderBy. + * Sets the createdDateTime property value. The createdDateTime property * @param value Value to set for the createdDateTime property. */ public void setCreatedDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { this.backingStore.set("createdDateTime", value); } /** - * Sets the expirationDateTime property value. The date and time when the invitation expires. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. Supports $filter (lt, le, gt, ge, eq, ne) and $orderBy. + * Sets the expirationDateTime property value. The expirationDateTime property * @param value Value to set for the expirationDateTime property. */ public void setExpirationDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { this.backingStore.set("expirationDateTime", value); } /** - * Sets the governedTenantId property value. The Microsoft Entra tenant ID of the governed tenant. Supports $filter (eq, ne) and $orderBy. + * Sets the governedTenantId property value. The governedTenantId property * @param value Value to set for the governedTenantId property. */ public void setGovernedTenantId(@jakarta.annotation.Nullable final String value) { this.backingStore.set("governedTenantId", value); } /** - * Sets the governedTenantName property value. The display name of the governed tenant. Supports $filter (eq, ne) and $orderBy. + * Sets the governedTenantName property value. The governedTenantName property * @param value Value to set for the governedTenantName property. */ public void setGovernedTenantName(@jakarta.annotation.Nullable final String value) { this.backingStore.set("governedTenantName", value); } /** - * Sets the governingTenantId property value. The Microsoft Entra tenant ID of the governing tenant. Supports $filter (eq, ne) and $orderBy. + * Sets the governingTenantId property value. The governingTenantId property * @param value Value to set for the governingTenantId property. */ public void setGoverningTenantId(@jakarta.annotation.Nullable final String value) { this.backingStore.set("governingTenantId", value); } /** - * Sets the governingTenantName property value. The display name of the governing tenant. Supports $filter (eq, ne) and $orderBy. + * Sets the governingTenantName property value. The governingTenantName property * @param value Value to set for the governingTenantName property. */ public void setGoverningTenantName(@jakarta.annotation.Nullable final String value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/GovernanceInvitationCollectionResponse.java b/src/main/java/com/microsoft/graph/beta/generated/models/GovernanceInvitationCollectionResponse.java similarity index 95% rename from src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/GovernanceInvitationCollectionResponse.java rename to src/main/java/com/microsoft/graph/beta/generated/models/GovernanceInvitationCollectionResponse.java index ccf6a505b2b..ea0f8807f50 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/GovernanceInvitationCollectionResponse.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/GovernanceInvitationCollectionResponse.java @@ -1,6 +1,5 @@ -package com.microsoft.graph.beta.models.tenantgovernanceservices; +package com.microsoft.graph.beta.models; -import com.microsoft.graph.beta.models.BaseCollectionPaginationCountResponse; import com.microsoft.kiota.serialization.Parsable; import com.microsoft.kiota.serialization.ParseNode; import com.microsoft.kiota.serialization.SerializationWriter; diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/GovernanceRelationship.java b/src/main/java/com/microsoft/graph/beta/generated/models/GovernanceRelationship.java similarity index 79% rename from src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/GovernanceRelationship.java rename to src/main/java/com/microsoft/graph/beta/generated/models/GovernanceRelationship.java index 16af24f2ec3..8f4390ed744 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/GovernanceRelationship.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/GovernanceRelationship.java @@ -1,6 +1,5 @@ -package com.microsoft.graph.beta.models.tenantgovernanceservices; +package com.microsoft.graph.beta.models; -import com.microsoft.graph.beta.models.Entity; import com.microsoft.kiota.serialization.Parsable; import com.microsoft.kiota.serialization.ParseNode; import com.microsoft.kiota.serialization.SerializationWriter; @@ -35,7 +34,7 @@ public RelationshipCreationType getCreatedType() { return this.backingStore.get("createdType"); } /** - * Gets the creationDateTime property value. The date and time when the relationship was created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2026 is 2026-01-01T00:00:00Z. Supports $filter (lt, le, gt, ge, eq, ne) and $orderBy. + * Gets the creationDateTime property value. The creationDateTime property * @return a {@link OffsetDateTime} */ @jakarta.annotation.Nullable @@ -60,7 +59,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the governedTenantId property value. The Microsoft Entra tenant ID of the governed tenant. Supports $filter (eq, ne) and $orderBy. + * Gets the governedTenantId property value. The governedTenantId property * @return a {@link String} */ @jakarta.annotation.Nullable @@ -68,7 +67,7 @@ public String getGovernedTenantId() { return this.backingStore.get("governedTenantId"); } /** - * Gets the governedTenantName property value. The display name of the governed tenant. Supports $filter (eq, ne) and $orderBy. + * Gets the governedTenantName property value. The governedTenantName property * @return a {@link String} */ @jakarta.annotation.Nullable @@ -76,7 +75,7 @@ public String getGovernedTenantName() { return this.backingStore.get("governedTenantName"); } /** - * Gets the governingTenantId property value. The Microsoft Entra tenant ID of the governing tenant. Supports $filter (eq, ne) and $orderBy. + * Gets the governingTenantId property value. The governingTenantId property * @return a {@link String} */ @jakarta.annotation.Nullable @@ -84,7 +83,7 @@ public String getGoverningTenantId() { return this.backingStore.get("governingTenantId"); } /** - * Gets the governingTenantName property value. The display name of the governing tenant. Supports $filter (eq, ne) and $orderBy. + * Gets the governingTenantName property value. The governingTenantName property * @return a {@link String} */ @jakarta.annotation.Nullable @@ -131,35 +130,35 @@ public void setCreatedType(@jakarta.annotation.Nullable final RelationshipCreati this.backingStore.set("createdType", value); } /** - * Sets the creationDateTime property value. The date and time when the relationship was created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2026 is 2026-01-01T00:00:00Z. Supports $filter (lt, le, gt, ge, eq, ne) and $orderBy. + * Sets the creationDateTime property value. The creationDateTime property * @param value Value to set for the creationDateTime property. */ public void setCreationDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { this.backingStore.set("creationDateTime", value); } /** - * Sets the governedTenantId property value. The Microsoft Entra tenant ID of the governed tenant. Supports $filter (eq, ne) and $orderBy. + * Sets the governedTenantId property value. The governedTenantId property * @param value Value to set for the governedTenantId property. */ public void setGovernedTenantId(@jakarta.annotation.Nullable final String value) { this.backingStore.set("governedTenantId", value); } /** - * Sets the governedTenantName property value. The display name of the governed tenant. Supports $filter (eq, ne) and $orderBy. + * Sets the governedTenantName property value. The governedTenantName property * @param value Value to set for the governedTenantName property. */ public void setGovernedTenantName(@jakarta.annotation.Nullable final String value) { this.backingStore.set("governedTenantName", value); } /** - * Sets the governingTenantId property value. The Microsoft Entra tenant ID of the governing tenant. Supports $filter (eq, ne) and $orderBy. + * Sets the governingTenantId property value. The governingTenantId property * @param value Value to set for the governingTenantId property. */ public void setGoverningTenantId(@jakarta.annotation.Nullable final String value) { this.backingStore.set("governingTenantId", value); } /** - * Sets the governingTenantName property value. The display name of the governing tenant. Supports $filter (eq, ne) and $orderBy. + * Sets the governingTenantName property value. The governingTenantName property * @param value Value to set for the governingTenantName property. */ public void setGoverningTenantName(@jakarta.annotation.Nullable final String value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/GovernanceRelationshipCollectionResponse.java b/src/main/java/com/microsoft/graph/beta/generated/models/GovernanceRelationshipCollectionResponse.java similarity index 95% rename from src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/GovernanceRelationshipCollectionResponse.java rename to src/main/java/com/microsoft/graph/beta/generated/models/GovernanceRelationshipCollectionResponse.java index 4df3b9bc7de..19867519a8b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/GovernanceRelationshipCollectionResponse.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/GovernanceRelationshipCollectionResponse.java @@ -1,6 +1,5 @@ -package com.microsoft.graph.beta.models.tenantgovernanceservices; +package com.microsoft.graph.beta.models; -import com.microsoft.graph.beta.models.BaseCollectionPaginationCountResponse; import com.microsoft.kiota.serialization.Parsable; import com.microsoft.kiota.serialization.ParseNode; import com.microsoft.kiota.serialization.SerializationWriter; diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/GovernanceRequest.java b/src/main/java/com/microsoft/graph/beta/generated/models/GovernanceRequest.java similarity index 74% rename from src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/GovernanceRequest.java rename to src/main/java/com/microsoft/graph/beta/generated/models/GovernanceRequest.java index 4cf9d7b6bc7..ebb839436c7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/GovernanceRequest.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/GovernanceRequest.java @@ -1,6 +1,5 @@ -package com.microsoft.graph.beta.models.tenantgovernanceservices; +package com.microsoft.graph.beta.models; -import com.microsoft.graph.beta.models.Entity; import com.microsoft.kiota.serialization.Parsable; import com.microsoft.kiota.serialization.ParseNode; import com.microsoft.kiota.serialization.SerializationWriter; @@ -27,7 +26,7 @@ public static GovernanceRequest createFromDiscriminatorValue(@jakarta.annotation return new GovernanceRequest(); } /** - * Gets the expirationDateTime property value. The date and time when the request expires if not accepted or rejected. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. Supports $filter (lt, le, gt, ge, eq, ne) and $orderBy. + * Gets the expirationDateTime property value. The expirationDateTime property * @return a {@link OffsetDateTime} */ @jakarta.annotation.Nullable @@ -42,7 +41,7 @@ public OffsetDateTime getExpirationDateTime() { public Map> getFieldDeserializers() { final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); deserializerMap.put("expirationDateTime", (n) -> { this.setExpirationDateTime(n.getOffsetDateTimeValue()); }); - deserializerMap.put("governancePolicyTemplate", (n) -> { this.setGovernancePolicyTemplate(n.getObjectValue(GovernancePolicyTemplate::createFromDiscriminatorValue)); }); + deserializerMap.put("governancePolicyTemplate", (n) -> { this.setGovernancePolicyTemplate(n.getObjectValue(TenantGovernancePolicyTemplate::createFromDiscriminatorValue)); }); deserializerMap.put("governedTenantId", (n) -> { this.setGovernedTenantId(n.getStringValue()); }); deserializerMap.put("governedTenantName", (n) -> { this.setGovernedTenantName(n.getStringValue()); }); deserializerMap.put("governingTenantId", (n) -> { this.setGoverningTenantId(n.getStringValue()); }); @@ -53,15 +52,15 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the governancePolicyTemplate property value. The governance policy template associated with this request. - * @return a {@link GovernancePolicyTemplate} + * Gets the governancePolicyTemplate property value. The governancePolicyTemplate property + * @return a {@link TenantGovernancePolicyTemplate} */ @jakarta.annotation.Nullable - public GovernancePolicyTemplate getGovernancePolicyTemplate() { + public TenantGovernancePolicyTemplate getGovernancePolicyTemplate() { return this.backingStore.get("governancePolicyTemplate"); } /** - * Gets the governedTenantId property value. The Microsoft Entra tenant ID of the governed tenant. Supports $filter (eq, ne) and $orderBy. + * Gets the governedTenantId property value. The governedTenantId property * @return a {@link String} */ @jakarta.annotation.Nullable @@ -69,7 +68,7 @@ public String getGovernedTenantId() { return this.backingStore.get("governedTenantId"); } /** - * Gets the governedTenantName property value. The display name of the governed tenant. Supports $filter (eq, ne) and $orderBy. + * Gets the governedTenantName property value. The governedTenantName property * @return a {@link String} */ @jakarta.annotation.Nullable @@ -77,7 +76,7 @@ public String getGovernedTenantName() { return this.backingStore.get("governedTenantName"); } /** - * Gets the governingTenantId property value. The Microsoft Entra tenant ID of the governing tenant. Supports $filter (eq, ne) and $orderBy. + * Gets the governingTenantId property value. The governingTenantId property * @return a {@link String} */ @jakarta.annotation.Nullable @@ -85,7 +84,7 @@ public String getGoverningTenantId() { return this.backingStore.get("governingTenantId"); } /** - * Gets the governingTenantName property value. The display name of the governing tenant. Supports $filter (eq, ne) and $orderBy. + * Gets the governingTenantName property value. The governingTenantName property * @return a {@link String} */ @jakarta.annotation.Nullable @@ -101,7 +100,7 @@ public RelationshipPolicy getPolicySnapshot() { return this.backingStore.get("policySnapshot"); } /** - * Gets the requestDateTime property value. The date and time when the request was created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. Supports $filter (lt, le, gt, ge, eq, ne) and $orderBy. + * Gets the requestDateTime property value. The requestDateTime property * @return a {@link OffsetDateTime} */ @jakarta.annotation.Nullable @@ -134,42 +133,42 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeEnumValue("status", this.getStatus()); } /** - * Sets the expirationDateTime property value. The date and time when the request expires if not accepted or rejected. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. Supports $filter (lt, le, gt, ge, eq, ne) and $orderBy. + * Sets the expirationDateTime property value. The expirationDateTime property * @param value Value to set for the expirationDateTime property. */ public void setExpirationDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { this.backingStore.set("expirationDateTime", value); } /** - * Sets the governancePolicyTemplate property value. The governance policy template associated with this request. + * Sets the governancePolicyTemplate property value. The governancePolicyTemplate property * @param value Value to set for the governancePolicyTemplate property. */ - public void setGovernancePolicyTemplate(@jakarta.annotation.Nullable final GovernancePolicyTemplate value) { + public void setGovernancePolicyTemplate(@jakarta.annotation.Nullable final TenantGovernancePolicyTemplate value) { this.backingStore.set("governancePolicyTemplate", value); } /** - * Sets the governedTenantId property value. The Microsoft Entra tenant ID of the governed tenant. Supports $filter (eq, ne) and $orderBy. + * Sets the governedTenantId property value. The governedTenantId property * @param value Value to set for the governedTenantId property. */ public void setGovernedTenantId(@jakarta.annotation.Nullable final String value) { this.backingStore.set("governedTenantId", value); } /** - * Sets the governedTenantName property value. The display name of the governed tenant. Supports $filter (eq, ne) and $orderBy. + * Sets the governedTenantName property value. The governedTenantName property * @param value Value to set for the governedTenantName property. */ public void setGovernedTenantName(@jakarta.annotation.Nullable final String value) { this.backingStore.set("governedTenantName", value); } /** - * Sets the governingTenantId property value. The Microsoft Entra tenant ID of the governing tenant. Supports $filter (eq, ne) and $orderBy. + * Sets the governingTenantId property value. The governingTenantId property * @param value Value to set for the governingTenantId property. */ public void setGoverningTenantId(@jakarta.annotation.Nullable final String value) { this.backingStore.set("governingTenantId", value); } /** - * Sets the governingTenantName property value. The display name of the governing tenant. Supports $filter (eq, ne) and $orderBy. + * Sets the governingTenantName property value. The governingTenantName property * @param value Value to set for the governingTenantName property. */ public void setGoverningTenantName(@jakarta.annotation.Nullable final String value) { @@ -183,7 +182,7 @@ public void setPolicySnapshot(@jakarta.annotation.Nullable final RelationshipPol this.backingStore.set("policySnapshot", value); } /** - * Sets the requestDateTime property value. The date and time when the request was created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. Supports $filter (lt, le, gt, ge, eq, ne) and $orderBy. + * Sets the requestDateTime property value. The requestDateTime property * @param value Value to set for the requestDateTime property. */ public void setRequestDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/GovernanceRequestCollectionResponse.java b/src/main/java/com/microsoft/graph/beta/generated/models/GovernanceRequestCollectionResponse.java similarity index 94% rename from src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/GovernanceRequestCollectionResponse.java rename to src/main/java/com/microsoft/graph/beta/generated/models/GovernanceRequestCollectionResponse.java index 0e8edeed5c8..2473ea7463d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/GovernanceRequestCollectionResponse.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/GovernanceRequestCollectionResponse.java @@ -1,6 +1,5 @@ -package com.microsoft.graph.beta.models.tenantgovernanceservices; +package com.microsoft.graph.beta.models; -import com.microsoft.graph.beta.models.BaseCollectionPaginationCountResponse; import com.microsoft.kiota.serialization.Parsable; import com.microsoft.kiota.serialization.ParseNode; import com.microsoft.kiota.serialization.SerializationWriter; diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/ImpactedResource.java b/src/main/java/com/microsoft/graph/beta/generated/models/ImpactedResource.java index 5096c79631d..0a11e692af5 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/ImpactedResource.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/ImpactedResource.java @@ -78,6 +78,7 @@ public Map> getFieldDeserializers deserializerMap.put("resourceType", (n) -> { this.setResourceType(n.getStringValue()); }); deserializerMap.put("status", (n) -> { this.setStatus(n.getEnumValue(RecommendationStatus::forValue)); }); deserializerMap.put("subjectId", (n) -> { this.setSubjectId(n.getStringValue()); }); + deserializerMap.put("tags", (n) -> { this.setTags(n.getCollectionOfObjectValues(RecommendationTag::createFromDiscriminatorValue)); }); return deserializerMap; } /** @@ -160,6 +161,14 @@ public RecommendationStatus getStatus() { public String getSubjectId() { return this.backingStore.get("subjectId"); } + /** + * Gets the tags property value. The tags property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getTags() { + return this.backingStore.get("tags"); + } /** * Serializes information the current object * @param writer Serialization writer to use to serialize this model @@ -181,6 +190,7 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeStringValue("resourceType", this.getResourceType()); writer.writeEnumValue("status", this.getStatus()); writer.writeStringValue("subjectId", this.getSubjectId()); + writer.writeCollectionOfObjectValues("tags", this.getTags()); } /** * Sets the addedDateTime property value. The date and time when the impactedResource object was initially associated with the recommendation. @@ -280,4 +290,11 @@ public void setStatus(@jakarta.annotation.Nullable final RecommendationStatus va public void setSubjectId(@jakarta.annotation.Nullable final String value) { this.backingStore.set("subjectId", value); } + /** + * Sets the tags property value. The tags property + * @param value Value to set for the tags property. + */ + public void setTags(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("tags", value); + } } diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/ActionStep.java b/src/main/java/com/microsoft/graph/beta/generated/models/InvestigationActionStep.java similarity index 74% rename from src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/ActionStep.java rename to src/main/java/com/microsoft/graph/beta/generated/models/InvestigationActionStep.java index 013cb85ab70..03dace43f99 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/ActionStep.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/InvestigationActionStep.java @@ -1,4 +1,4 @@ -package com.microsoft.graph.beta.models.tenantgovernanceservices; +package com.microsoft.graph.beta.models; import com.microsoft.kiota.serialization.AdditionalDataHolder; import com.microsoft.kiota.serialization.Parsable; @@ -11,35 +11,35 @@ import java.util.Map; import java.util.Objects; @jakarta.annotation.Generated("com.microsoft.kiota") -public class ActionStep implements AdditionalDataHolder, BackedModel, Parsable { +public class InvestigationActionStep implements AdditionalDataHolder, BackedModel, Parsable { /** * Stores model information. */ @jakarta.annotation.Nonnull protected BackingStore backingStore; /** - * Instantiates a new {@link ActionStep} and sets the default values. + * Instantiates a new {@link InvestigationActionStep} and sets the default values. */ - public ActionStep() { + public InvestigationActionStep() { this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); this.setAdditionalData(new HashMap<>()); } /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object - * @return a {@link ActionStep} + * @return a {@link InvestigationActionStep} */ @jakarta.annotation.Nonnull - public static ActionStep createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + public static InvestigationActionStep createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { Objects.requireNonNull(parseNode); - return new ActionStep(); + return new InvestigationActionStep(); } /** - * Gets the actionUrl property value. The follow-on API reference for the step, containing the URL template and a machine-readable execution directive that a client uses to retrieve the drill-in data. - * @return a {@link ActionUrl} + * Gets the actionUrl property value. The actionUrl property + * @return a {@link InvestigationActionUrl} */ @jakarta.annotation.Nullable - public ActionUrl getActionUrl() { + public InvestigationActionUrl getActionUrl() { return this.backingStore.get("actionUrl"); } /** @@ -70,7 +70,7 @@ public BackingStore getBackingStore() { @jakarta.annotation.Nonnull public Map> getFieldDeserializers() { final HashMap> deserializerMap = new HashMap>(4); - deserializerMap.put("actionUrl", (n) -> { this.setActionUrl(n.getObjectValue(ActionUrl::createFromDiscriminatorValue)); }); + deserializerMap.put("actionUrl", (n) -> { this.setActionUrl(n.getObjectValue(InvestigationActionUrl::createFromDiscriminatorValue)); }); deserializerMap.put("@odata.type", (n) -> { this.setOdataType(n.getStringValue()); }); deserializerMap.put("stepNumber", (n) -> { this.setStepNumber(n.getStringValue()); }); deserializerMap.put("text", (n) -> { this.setText(n.getStringValue()); }); @@ -85,7 +85,7 @@ public String getOdataType() { return this.backingStore.get("odataType"); } /** - * Gets the stepNumber property value. The one-based order, as a string, in which the step should be evaluated by a client. Steps are intended to be run in ascending stepNumber order because later steps can depend on the output of earlier steps. This value is the key of the resource. + * Gets the stepNumber property value. The stepNumber property * @return a {@link String} */ @jakarta.annotation.Nullable @@ -93,7 +93,7 @@ public String getStepNumber() { return this.backingStore.get("stepNumber"); } /** - * Gets the text property value. Human-readable guidance that explains what the step does and why it's useful for investigating the related metric. + * Gets the text property value. The text property * @return a {@link String} */ @jakarta.annotation.Nullable @@ -113,10 +113,10 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeAdditionalData(this.getAdditionalData()); } /** - * Sets the actionUrl property value. The follow-on API reference for the step, containing the URL template and a machine-readable execution directive that a client uses to retrieve the drill-in data. + * Sets the actionUrl property value. The actionUrl property * @param value Value to set for the actionUrl property. */ - public void setActionUrl(@jakarta.annotation.Nullable final ActionUrl value) { + public void setActionUrl(@jakarta.annotation.Nullable final InvestigationActionUrl value) { this.backingStore.set("actionUrl", value); } /** @@ -142,14 +142,14 @@ public void setOdataType(@jakarta.annotation.Nullable final String value) { this.backingStore.set("odataType", value); } /** - * Sets the stepNumber property value. The one-based order, as a string, in which the step should be evaluated by a client. Steps are intended to be run in ascending stepNumber order because later steps can depend on the output of earlier steps. This value is the key of the resource. + * Sets the stepNumber property value. The stepNumber property * @param value Value to set for the stepNumber property. */ public void setStepNumber(@jakarta.annotation.Nullable final String value) { this.backingStore.set("stepNumber", value); } /** - * Sets the text property value. Human-readable guidance that explains what the step does and why it's useful for investigating the related metric. + * Sets the text property value. The text property * @param value Value to set for the text property. */ public void setText(@jakarta.annotation.Nullable final String value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/ActionUrl.java b/src/main/java/com/microsoft/graph/beta/generated/models/InvestigationActionUrl.java similarity index 71% rename from src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/ActionUrl.java rename to src/main/java/com/microsoft/graph/beta/generated/models/InvestigationActionUrl.java index a8b93e563a1..84a50d5ef87 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/ActionUrl.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/InvestigationActionUrl.java @@ -1,4 +1,4 @@ -package com.microsoft.graph.beta.models.tenantgovernanceservices; +package com.microsoft.graph.beta.models; import com.microsoft.kiota.serialization.AdditionalDataHolder; import com.microsoft.kiota.serialization.Parsable; @@ -11,28 +11,28 @@ import java.util.Map; import java.util.Objects; @jakarta.annotation.Generated("com.microsoft.kiota") -public class ActionUrl implements AdditionalDataHolder, BackedModel, Parsable { +public class InvestigationActionUrl implements AdditionalDataHolder, BackedModel, Parsable { /** * Stores model information. */ @jakarta.annotation.Nonnull protected BackingStore backingStore; /** - * Instantiates a new {@link ActionUrl} and sets the default values. + * Instantiates a new {@link InvestigationActionUrl} and sets the default values. */ - public ActionUrl() { + public InvestigationActionUrl() { this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); this.setAdditionalData(new HashMap<>()); } /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object - * @return a {@link ActionUrl} + * @return a {@link InvestigationActionUrl} */ @jakarta.annotation.Nonnull - public static ActionUrl createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + public static InvestigationActionUrl createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { Objects.requireNonNull(parseNode); - return new ActionUrl(); + return new InvestigationActionUrl(); } /** * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. @@ -56,7 +56,7 @@ public BackingStore getBackingStore() { return this.backingStore; } /** - * Gets the displayName property value. A machine-readable directive that describes how a client should run the step, in the form metricPathoperationinputoutput (for example, b2BRegistrationMetrics.recent.inboundTotalUserssingle$verifiedDomains). Clients use this value to chain steps together and to interpret the output of the associated url. + * Gets the displayName property value. The displayName property * @return a {@link String} */ @jakarta.annotation.Nullable @@ -84,7 +84,7 @@ public String getOdataType() { return this.backingStore.get("odataType"); } /** - * Gets the url property value. A Microsoft Graph or Azure Resource Manager (ARM) URL template that the client invokes to retrieve the drill-in data for the step. The template can include placeholders such as {@id}, {startDate}, {endDate}, or {sourceDomain} that the client resolves from the related tenant, the caller context, or the output of earlier steps. This value can be empty for steps that only transform data returned by a previous step. + * Gets the url property value. The url property * @return a {@link String} */ @jakarta.annotation.Nullable @@ -118,7 +118,7 @@ public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value this.backingStore = value; } /** - * Sets the displayName property value. A machine-readable directive that describes how a client should run the step, in the form metricPathoperationinputoutput (for example, b2BRegistrationMetrics.recent.inboundTotalUserssingle$verifiedDomains). Clients use this value to chain steps together and to interpret the output of the associated url. + * Sets the displayName property value. The displayName property * @param value Value to set for the displayName property. */ public void setDisplayName(@jakarta.annotation.Nullable final String value) { @@ -132,7 +132,7 @@ public void setOdataType(@jakarta.annotation.Nullable final String value) { this.backingStore.set("odataType", value); } /** - * Sets the url property value. A Microsoft Graph or Azure Resource Manager (ARM) URL template that the client invokes to retrieve the drill-in data for the step. The template can include placeholders such as {@id}, {startDate}, {endDate}, or {sourceDomain} that the client resolves from the related tenant, the caller context, or the output of earlier steps. This value can be empty for steps that only transform data returned by a previous step. + * Sets the url property value. The url property * @param value Value to set for the url property. */ public void setUrl(@jakarta.annotation.Nullable final String value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/IosDdmLobAppAssignmentSettings.java b/src/main/java/com/microsoft/graph/beta/generated/models/IosDdmLobAppAssignmentSettings.java index 5c2b2b7912a..5b3fca0babe 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/IosDdmLobAppAssignmentSettings.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/IosDdmLobAppAssignmentSettings.java @@ -6,6 +6,7 @@ import java.util.HashMap; import java.util.Map; import java.util.Objects; +import java.util.UUID; /** * Contains properties used to assign an iOS iOS Declarative Device Management (DDM) Line Of Business (LOB) mobile app to a group. */ @@ -60,6 +61,14 @@ public String getCellularSliceConfigurationId() { public String getContentFilterConfigurationId() { return this.backingStore.get("contentFilterConfigurationId"); } + /** + * Gets the ddmAppConfigId property value. The unique identifier of the DDM app configuration to associate with the app. + * @return a {@link UUID} + */ + @jakarta.annotation.Nullable + public UUID getDdmAppConfigId() { + return this.backingStore.get("ddmAppConfigId"); + } /** * Gets the dnsProxyConfigurationId property value. The dnsProxyConfigurationId property * @return a {@link String} @@ -79,6 +88,7 @@ public Map> getFieldDeserializers deserializerMap.put("associatedDomainsDirectDownloadAllowed", (n) -> { this.setAssociatedDomainsDirectDownloadAllowed(n.getBooleanValue()); }); deserializerMap.put("cellularSliceConfigurationId", (n) -> { this.setCellularSliceConfigurationId(n.getStringValue()); }); deserializerMap.put("contentFilterConfigurationId", (n) -> { this.setContentFilterConfigurationId(n.getStringValue()); }); + deserializerMap.put("ddmAppConfigId", (n) -> { this.setDdmAppConfigId(n.getUUIDValue()); }); deserializerMap.put("dnsProxyConfigurationId", (n) -> { this.setDnsProxyConfigurationId(n.getStringValue()); }); deserializerMap.put("preventManagedAppBackup", (n) -> { this.setPreventManagedAppBackup(n.getBooleanValue()); }); deserializerMap.put("relayConfigurationId", (n) -> { this.setRelayConfigurationId(n.getStringValue()); }); @@ -129,6 +139,7 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeBooleanValue("associatedDomainsDirectDownloadAllowed", this.getAssociatedDomainsDirectDownloadAllowed()); writer.writeStringValue("cellularSliceConfigurationId", this.getCellularSliceConfigurationId()); writer.writeStringValue("contentFilterConfigurationId", this.getContentFilterConfigurationId()); + writer.writeUUIDValue("ddmAppConfigId", this.getDdmAppConfigId()); writer.writeStringValue("dnsProxyConfigurationId", this.getDnsProxyConfigurationId()); writer.writeBooleanValue("preventManagedAppBackup", this.getPreventManagedAppBackup()); writer.writeStringValue("relayConfigurationId", this.getRelayConfigurationId()); @@ -163,6 +174,13 @@ public void setCellularSliceConfigurationId(@jakarta.annotation.Nullable final S public void setContentFilterConfigurationId(@jakarta.annotation.Nullable final String value) { this.backingStore.set("contentFilterConfigurationId", value); } + /** + * Sets the ddmAppConfigId property value. The unique identifier of the DDM app configuration to associate with the app. + * @param value Value to set for the ddmAppConfigId property. + */ + public void setDdmAppConfigId(@jakarta.annotation.Nullable final UUID value) { + this.backingStore.set("ddmAppConfigId", value); + } /** * Sets the dnsProxyConfigurationId property value. The dnsProxyConfigurationId property * @param value Value to set for the dnsProxyConfigurationId property. diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/IosDdmVppAppAssignmentSettings.java b/src/main/java/com/microsoft/graph/beta/generated/models/IosDdmVppAppAssignmentSettings.java index fcad6fb31c3..5eae025f112 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/IosDdmVppAppAssignmentSettings.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/IosDdmVppAppAssignmentSettings.java @@ -6,6 +6,7 @@ import java.util.HashMap; import java.util.Map; import java.util.Objects; +import java.util.UUID; /** * Contains properties used to assign an iOS Declarative Device Management (DDM) VPP mobile app to a group. */ @@ -76,6 +77,14 @@ public String getCellularSliceConfigurationId() { public String getContentFilterConfigurationId() { return this.backingStore.get("contentFilterConfigurationId"); } + /** + * Gets the ddmAppConfigId property value. The unique identifier of the DDM app configuration to associate with the app. + * @return a {@link UUID} + */ + @jakarta.annotation.Nullable + public UUID getDdmAppConfigId() { + return this.backingStore.get("ddmAppConfigId"); + } /** * Gets the dnsProxyConfigurationId property value. The unique identifier of the DNS proxy to associate with the app. * @return a {@link String} @@ -97,6 +106,7 @@ public Map> getFieldDeserializers deserializerMap.put("automaticAppUpdates", (n) -> { this.setAutomaticAppUpdates(n.getEnumValue(DdmAppAutomaticAppUpdates::forValue)); }); deserializerMap.put("cellularSliceConfigurationId", (n) -> { this.setCellularSliceConfigurationId(n.getStringValue()); }); deserializerMap.put("contentFilterConfigurationId", (n) -> { this.setContentFilterConfigurationId(n.getStringValue()); }); + deserializerMap.put("ddmAppConfigId", (n) -> { this.setDdmAppConfigId(n.getUUIDValue()); }); deserializerMap.put("dnsProxyConfigurationId", (n) -> { this.setDnsProxyConfigurationId(n.getStringValue()); }); deserializerMap.put("preventManagedAppBackup", (n) -> { this.setPreventManagedAppBackup(n.getBooleanValue()); }); deserializerMap.put("relayConfigurationId", (n) -> { this.setRelayConfigurationId(n.getStringValue()); }); @@ -167,6 +177,7 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeEnumValue("automaticAppUpdates", this.getAutomaticAppUpdates()); writer.writeStringValue("cellularSliceConfigurationId", this.getCellularSliceConfigurationId()); writer.writeStringValue("contentFilterConfigurationId", this.getContentFilterConfigurationId()); + writer.writeUUIDValue("ddmAppConfigId", this.getDdmAppConfigId()); writer.writeStringValue("dnsProxyConfigurationId", this.getDnsProxyConfigurationId()); writer.writeBooleanValue("preventManagedAppBackup", this.getPreventManagedAppBackup()); writer.writeStringValue("relayConfigurationId", this.getRelayConfigurationId()); @@ -217,6 +228,13 @@ public void setCellularSliceConfigurationId(@jakarta.annotation.Nullable final S public void setContentFilterConfigurationId(@jakarta.annotation.Nullable final String value) { this.backingStore.set("contentFilterConfigurationId", value); } + /** + * Sets the ddmAppConfigId property value. The unique identifier of the DDM app configuration to associate with the app. + * @param value Value to set for the ddmAppConfigId property. + */ + public void setDdmAppConfigId(@jakarta.annotation.Nullable final UUID value) { + this.backingStore.set("ddmAppConfigId", value); + } /** * Sets the dnsProxyConfigurationId property value. The unique identifier of the DNS proxy to associate with the app. * @param value Value to set for the dnsProxyConfigurationId property. diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/MacOsDdmVppAppAssignmentSettings.java b/src/main/java/com/microsoft/graph/beta/generated/models/MacOsDdmVppAppAssignmentSettings.java index cd4281e4a63..64fa77735e1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/MacOsDdmVppAppAssignmentSettings.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/MacOsDdmVppAppAssignmentSettings.java @@ -6,6 +6,7 @@ import java.util.HashMap; import java.util.Map; import java.util.Objects; +import java.util.UUID; /** * Contains properties used to assign a macOS Declarative Device Management (DDM) VPP mobile app to a group. */ @@ -36,6 +37,14 @@ public static MacOsDdmVppAppAssignmentSettings createFromDiscriminatorValue(@jak public DdmAppAutomaticAppUpdates getAutomaticAppUpdates() { return this.backingStore.get("automaticAppUpdates"); } + /** + * Gets the ddmAppConfigId property value. The unique identifier of the DDM app configuration to associate with the app. + * @return a {@link UUID} + */ + @jakarta.annotation.Nullable + public UUID getDdmAppConfigId() { + return this.backingStore.get("ddmAppConfigId"); + } /** * The deserialization information for the current model * @return a {@link Map>} @@ -44,6 +53,7 @@ public DdmAppAutomaticAppUpdates getAutomaticAppUpdates() { public Map> getFieldDeserializers() { final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); deserializerMap.put("automaticAppUpdates", (n) -> { this.setAutomaticAppUpdates(n.getEnumValue(DdmAppAutomaticAppUpdates::forValue)); }); + deserializerMap.put("ddmAppConfigId", (n) -> { this.setDdmAppConfigId(n.getUUIDValue()); }); deserializerMap.put("isIosApp", (n) -> { this.setIsIosApp(n.getBooleanValue()); }); deserializerMap.put("useDeviceLicensing", (n) -> { this.setUseDeviceLicensing(n.getBooleanValue()); }); deserializerMap.put("version", (n) -> { this.setVersion(n.getIntegerValue()); }); @@ -81,6 +91,7 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ Objects.requireNonNull(writer); super.serialize(writer); writer.writeEnumValue("automaticAppUpdates", this.getAutomaticAppUpdates()); + writer.writeUUIDValue("ddmAppConfigId", this.getDdmAppConfigId()); writer.writeBooleanValue("isIosApp", this.getIsIosApp()); writer.writeBooleanValue("useDeviceLicensing", this.getUseDeviceLicensing()); writer.writeIntegerValue("version", this.getVersion()); @@ -92,6 +103,13 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ public void setAutomaticAppUpdates(@jakarta.annotation.Nullable final DdmAppAutomaticAppUpdates value) { this.backingStore.set("automaticAppUpdates", value); } + /** + * Sets the ddmAppConfigId property value. The unique identifier of the DDM app configuration to associate with the app. + * @param value Value to set for the ddmAppConfigId property. + */ + public void setDdmAppConfigId(@jakarta.annotation.Nullable final UUID value) { + this.backingStore.set("ddmAppConfigId", value); + } /** * Sets the isIosApp property value. If true, the device installs an iOS or iPadOS app that runs on a Mac with Apple Silicon. This is only used when the app is a VPP app. Default is false. * @param value Value to set for the isIosApp property. diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/Member.java b/src/main/java/com/microsoft/graph/beta/generated/models/Member.java index a469ce9783c..01c767e81e6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/Member.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/Member.java @@ -55,14 +55,6 @@ public Map getAdditionalData() { public BackingStore getBackingStore() { return this.backingStore; } - /** - * Gets the contactId property value. The contactId property - * @return a {@link String} - */ - @jakarta.annotation.Nullable - public String getContactId() { - return this.backingStore.get("contactId"); - } /** * Gets the displayName property value. The display name of the member. Optional. * @return a {@link String} @@ -77,13 +69,12 @@ public String getDisplayName() { */ @jakarta.annotation.Nonnull public Map> getFieldDeserializers() { - final HashMap> deserializerMap = new HashMap>(6); - deserializerMap.put("contactId", (n) -> { this.setContactId(n.getStringValue()); }); + final HashMap> deserializerMap = new HashMap>(5); deserializerMap.put("displayName", (n) -> { this.setDisplayName(n.getStringValue()); }); deserializerMap.put("key", (n) -> { this.setKey(n.getStringValue()); }); + deserializerMap.put("memberId", (n) -> { this.setMemberId(n.getStringValue()); }); deserializerMap.put("@odata.type", (n) -> { this.setOdataType(n.getStringValue()); }); - deserializerMap.put("recipientType", (n) -> { this.setRecipientType(n.getEnumValue(RecipientType::forValue)); }); - deserializerMap.put("routingType", (n) -> { this.setRoutingType(n.getStringValue()); }); + deserializerMap.put("type", (n) -> { this.setType(n.getEnumValue(RecipientType::forValue)); }); return deserializerMap; } /** @@ -95,28 +86,28 @@ public String getKey() { return this.backingStore.get("key"); } /** - * Gets the @odata.type property value. The OdataType property + * Gets the memberId property value. A unique identifier system-generated for contact, privateDL, and mailbox members. Optional. * @return a {@link String} */ @jakarta.annotation.Nullable - public String getOdataType() { - return this.backingStore.get("odataType"); + public String getMemberId() { + return this.backingStore.get("memberId"); } /** - * Gets the recipientType property value. The recipientType property - * @return a {@link RecipientType} + * Gets the @odata.type property value. The OdataType property + * @return a {@link String} */ @jakarta.annotation.Nullable - public RecipientType getRecipientType() { - return this.backingStore.get("recipientType"); + public String getOdataType() { + return this.backingStore.get("odataType"); } /** - * Gets the routingType property value. The routingType property - * @return a {@link String} + * Gets the type property value. The type property + * @return a {@link RecipientType} */ @jakarta.annotation.Nullable - public String getRoutingType() { - return this.backingStore.get("routingType"); + public RecipientType getType() { + return this.backingStore.get("type"); } /** * Serializes information the current object @@ -124,12 +115,11 @@ public String getRoutingType() { */ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { Objects.requireNonNull(writer); - writer.writeStringValue("contactId", this.getContactId()); writer.writeStringValue("displayName", this.getDisplayName()); writer.writeStringValue("key", this.getKey()); + writer.writeStringValue("memberId", this.getMemberId()); writer.writeStringValue("@odata.type", this.getOdataType()); - writer.writeEnumValue("recipientType", this.getRecipientType()); - writer.writeStringValue("routingType", this.getRoutingType()); + writer.writeEnumValue("type", this.getType()); writer.writeAdditionalData(this.getAdditionalData()); } /** @@ -147,13 +137,6 @@ public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value Objects.requireNonNull(value); this.backingStore = value; } - /** - * Sets the contactId property value. The contactId property - * @param value Value to set for the contactId property. - */ - public void setContactId(@jakarta.annotation.Nullable final String value) { - this.backingStore.set("contactId", value); - } /** * Sets the displayName property value. The display name of the member. Optional. * @param value Value to set for the displayName property. @@ -168,6 +151,13 @@ public void setDisplayName(@jakarta.annotation.Nullable final String value) { public void setKey(@jakarta.annotation.Nullable final String value) { this.backingStore.set("key", value); } + /** + * Sets the memberId property value. A unique identifier system-generated for contact, privateDL, and mailbox members. Optional. + * @param value Value to set for the memberId property. + */ + public void setMemberId(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("memberId", value); + } /** * Sets the @odata.type property value. The OdataType property * @param value Value to set for the @odata.type property. @@ -176,17 +166,10 @@ public void setOdataType(@jakarta.annotation.Nullable final String value) { this.backingStore.set("odataType", value); } /** - * Sets the recipientType property value. The recipientType property - * @param value Value to set for the recipientType property. - */ - public void setRecipientType(@jakarta.annotation.Nullable final RecipientType value) { - this.backingStore.set("recipientType", value); - } - /** - * Sets the routingType property value. The routingType property - * @param value Value to set for the routingType property. + * Sets the type property value. The type property + * @param value Value to set for the type property. */ - public void setRoutingType(@jakarta.annotation.Nullable final String value) { - this.backingStore.set("routingType", value); + public void setType(@jakarta.annotation.Nullable final RecipientType value) { + this.backingStore.set("type", value); } } diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/MobileAppContentFile.java b/src/main/java/com/microsoft/graph/beta/generated/models/MobileAppContentFile.java index 58101c4e811..650bb7f5be5 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/MobileAppContentFile.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/MobileAppContentFile.java @@ -69,6 +69,7 @@ public Map> getFieldDeserializers deserializerMap.put("name", (n) -> { this.setName(n.getStringValue()); }); deserializerMap.put("size", (n) -> { this.setSize(n.getLongValue()); }); deserializerMap.put("sizeEncrypted", (n) -> { this.setSizeEncrypted(n.getLongValue()); }); + deserializerMap.put("uploadErrorCode", (n) -> { this.setUploadErrorCode(n.getEnumValue(MobileAppContentFileUploadErrorCode::forValue)); }); deserializerMap.put("uploadState", (n) -> { this.setUploadState(n.getEnumValue(MobileAppContentFileUploadState::forValue)); }); return deserializerMap; } @@ -128,6 +129,14 @@ public Long getSize() { public Long getSizeEncrypted() { return this.backingStore.get("sizeEncrypted"); } + /** + * Gets the uploadErrorCode property value. Indicates optional error details when uploadState is indicating an error. For example, when uploadState has commitFileFailed value, this field may have the error code of apkIsInvalid. Read-only. + * @return a {@link MobileAppContentFileUploadErrorCode} + */ + @jakarta.annotation.Nullable + public MobileAppContentFileUploadErrorCode getUploadErrorCode() { + return this.backingStore.get("uploadErrorCode"); + } /** * Gets the uploadState property value. Contains properties for upload request states. * @return a {@link MobileAppContentFileUploadState} @@ -221,6 +230,13 @@ public void setSize(@jakarta.annotation.Nullable final Long value) { public void setSizeEncrypted(@jakarta.annotation.Nullable final Long value) { this.backingStore.set("sizeEncrypted", value); } + /** + * Sets the uploadErrorCode property value. Indicates optional error details when uploadState is indicating an error. For example, when uploadState has commitFileFailed value, this field may have the error code of apkIsInvalid. Read-only. + * @param value Value to set for the uploadErrorCode property. + */ + public void setUploadErrorCode(@jakarta.annotation.Nullable final MobileAppContentFileUploadErrorCode value) { + this.backingStore.set("uploadErrorCode", value); + } /** * Sets the uploadState property value. Contains properties for upload request states. * @param value Value to set for the uploadState property. diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/MobileAppContentFileUploadErrorCode.java b/src/main/java/com/microsoft/graph/beta/generated/models/MobileAppContentFileUploadErrorCode.java new file mode 100644 index 00000000000..80b32d57d96 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/MobileAppContentFileUploadErrorCode.java @@ -0,0 +1,44 @@ +package com.microsoft.graph.beta.models; + +import com.microsoft.kiota.serialization.ValuedEnum; +import java.util.Objects; + +/** + * Optional error codes that can be provided when uploadState of mobileAppContentFile is indicating an error. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public enum MobileAppContentFileUploadErrorCode implements ValuedEnum { + ApkIsInvalid("apkIsInvalid"), + ApkIsMissingSignerCertificates("apkIsMissingSignerCertificates"), + ApkHasInvalidPackageName("apkHasInvalidPackageName"), + ApkPackageNameMismatch("apkPackageNameMismatch"), + ApkHasInvalidVersionCode("apkHasInvalidVersionCode"), + ApkHasVersionCodeMismatch("apkHasVersionCodeMismatch"), + ApkHasInvalidMinSdk("apkHasInvalidMinSdk"), + ApkMinSdkMismatch("apkMinSdkMismatch"), + ApkVersionNameMismatch("apkVersionNameMismatch"), + UnknownFutureValue("unknownFutureValue"); + public final String value; + MobileAppContentFileUploadErrorCode(final String value) { + this.value = value; + } + @jakarta.annotation.Nonnull + public String getValue() { return this.value; } + @jakarta.annotation.Nullable + public static MobileAppContentFileUploadErrorCode forValue(@jakarta.annotation.Nonnull final String searchValue) { + Objects.requireNonNull(searchValue); + switch(searchValue) { + case "apkIsInvalid": return ApkIsInvalid; + case "apkIsMissingSignerCertificates": return ApkIsMissingSignerCertificates; + case "apkHasInvalidPackageName": return ApkHasInvalidPackageName; + case "apkPackageNameMismatch": return ApkPackageNameMismatch; + case "apkHasInvalidVersionCode": return ApkHasInvalidVersionCode; + case "apkHasVersionCodeMismatch": return ApkHasVersionCodeMismatch; + case "apkHasInvalidMinSdk": return ApkHasInvalidMinSdk; + case "apkMinSdkMismatch": return ApkMinSdkMismatch; + case "apkVersionNameMismatch": return ApkVersionNameMismatch; + case "unknownFutureValue": return UnknownFutureValue; + default: return null; + } + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/MultiTenantApplicationMetrics.java b/src/main/java/com/microsoft/graph/beta/generated/models/MultiTenantApplicationMetrics.java similarity index 80% rename from src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/MultiTenantApplicationMetrics.java rename to src/main/java/com/microsoft/graph/beta/generated/models/MultiTenantApplicationMetrics.java index 5461ec79fab..697f73a52ce 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/MultiTenantApplicationMetrics.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/MultiTenantApplicationMetrics.java @@ -1,6 +1,5 @@ -package com.microsoft.graph.beta.models.tenantgovernanceservices; +package com.microsoft.graph.beta.models; -import com.microsoft.graph.beta.models.Entity; import com.microsoft.kiota.serialization.Parsable; import com.microsoft.kiota.serialization.ParseNode; import com.microsoft.kiota.serialization.SerializationWriter; @@ -33,7 +32,7 @@ public static MultiTenantApplicationMetrics createFromDiscriminatorValue(@jakart public Map> getFieldDeserializers() { final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); deserializerMap.put("initial", (n) -> { this.setInitial(n.getObjectValue(MultiTenantApplicationMetricsInitial::createFromDiscriminatorValue)); }); - deserializerMap.put("investigationHints", (n) -> { this.setInvestigationHints(n.getCollectionOfObjectValues(ActionStep::createFromDiscriminatorValue)); }); + deserializerMap.put("investigationHints", (n) -> { this.setInvestigationHints(n.getCollectionOfObjectValues(InvestigationActionStep::createFromDiscriminatorValue)); }); deserializerMap.put("recent", (n) -> { this.setRecent(n.getObjectValue(MultiTenantApplicationMetricsRecent::createFromDiscriminatorValue)); }); return deserializerMap; } @@ -46,11 +45,11 @@ public MultiTenantApplicationMetricsInitial getInitial() { return this.backingStore.get("initial"); } /** - * Gets the investigationHints property value. Ordered drill-in guidance for investigating multitenant application counts. This collection is returned only when explicitly requested by using a nested $expand query parameter, for example $expand=multiTenantApplicationMetrics($expand=investigationHints). - * @return a {@link java.util.List} + * Gets the investigationHints property value. The investigationHints property + * @return a {@link java.util.List} */ @jakarta.annotation.Nullable - public java.util.List getInvestigationHints() { + public java.util.List getInvestigationHints() { return this.backingStore.get("investigationHints"); } /** @@ -80,10 +79,10 @@ public void setInitial(@jakarta.annotation.Nullable final MultiTenantApplication this.backingStore.set("initial", value); } /** - * Sets the investigationHints property value. Ordered drill-in guidance for investigating multitenant application counts. This collection is returned only when explicitly requested by using a nested $expand query parameter, for example $expand=multiTenantApplicationMetrics($expand=investigationHints). + * Sets the investigationHints property value. The investigationHints property * @param value Value to set for the investigationHints property. */ - public void setInvestigationHints(@jakarta.annotation.Nullable final java.util.List value) { + public void setInvestigationHints(@jakarta.annotation.Nullable final java.util.List value) { this.backingStore.set("investigationHints", value); } /** diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/MultiTenantApplicationMetricsBase.java b/src/main/java/com/microsoft/graph/beta/generated/models/MultiTenantApplicationMetricsBase.java similarity index 83% rename from src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/MultiTenantApplicationMetricsBase.java rename to src/main/java/com/microsoft/graph/beta/generated/models/MultiTenantApplicationMetricsBase.java index 5823e6a3719..211d1c363b4 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/MultiTenantApplicationMetricsBase.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/MultiTenantApplicationMetricsBase.java @@ -1,6 +1,5 @@ -package com.microsoft.graph.beta.models.tenantgovernanceservices; +package com.microsoft.graph.beta.models; -import com.microsoft.graph.beta.models.Entity; import com.microsoft.kiota.serialization.Parsable; import com.microsoft.kiota.serialization.ParseNode; import com.microsoft.kiota.serialization.SerializationWriter; @@ -29,8 +28,8 @@ public static MultiTenantApplicationMetricsBase createFromDiscriminatorValue(@ja if (mappingValueNode != null) { final String mappingValue = mappingValueNode.getStringValue(); switch (mappingValue) { - case "#microsoft.graph.tenantGovernanceServices.multiTenantApplicationMetricsInitial": return new MultiTenantApplicationMetricsInitial(); - case "#microsoft.graph.tenantGovernanceServices.multiTenantApplicationMetricsRecent": return new MultiTenantApplicationMetricsRecent(); + case "#microsoft.graph.multiTenantApplicationMetricsInitial": return new MultiTenantApplicationMetricsInitial(); + case "#microsoft.graph.multiTenantApplicationMetricsRecent": return new MultiTenantApplicationMetricsRecent(); } } return new MultiTenantApplicationMetricsBase(); @@ -48,7 +47,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the inboundMonthlyTotalApplications property value. The total number of inbound multi-tenant applications in the last month. + * Gets the inboundMonthlyTotalApplications property value. The inboundMonthlyTotalApplications property * @return a {@link BigDecimal} */ @jakarta.annotation.Nullable @@ -56,7 +55,7 @@ public BigDecimal getInboundMonthlyTotalApplications() { return this.backingStore.get("inboundMonthlyTotalApplications"); } /** - * Gets the outboundMonthlyTotalApplications property value. The total number of outbound multi-tenant applications in the last month. + * Gets the outboundMonthlyTotalApplications property value. The outboundMonthlyTotalApplications property * @return a {@link BigDecimal} */ @jakarta.annotation.Nullable @@ -64,7 +63,7 @@ public BigDecimal getOutboundMonthlyTotalApplications() { return this.backingStore.get("outboundMonthlyTotalApplications"); } /** - * Gets the watermarkDateTime property value. The date and time when the metrics snapshot was taken. + * Gets the watermarkDateTime property value. The watermarkDateTime property * @return a {@link OffsetDateTime} */ @jakarta.annotation.Nullable @@ -83,21 +82,21 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeOffsetDateTimeValue("watermarkDateTime", this.getWatermarkDateTime()); } /** - * Sets the inboundMonthlyTotalApplications property value. The total number of inbound multi-tenant applications in the last month. + * Sets the inboundMonthlyTotalApplications property value. The inboundMonthlyTotalApplications property * @param value Value to set for the inboundMonthlyTotalApplications property. */ public void setInboundMonthlyTotalApplications(@jakarta.annotation.Nullable final BigDecimal value) { this.backingStore.set("inboundMonthlyTotalApplications", value); } /** - * Sets the outboundMonthlyTotalApplications property value. The total number of outbound multi-tenant applications in the last month. + * Sets the outboundMonthlyTotalApplications property value. The outboundMonthlyTotalApplications property * @param value Value to set for the outboundMonthlyTotalApplications property. */ public void setOutboundMonthlyTotalApplications(@jakarta.annotation.Nullable final BigDecimal value) { this.backingStore.set("outboundMonthlyTotalApplications", value); } /** - * Sets the watermarkDateTime property value. The date and time when the metrics snapshot was taken. + * Sets the watermarkDateTime property value. The watermarkDateTime property * @param value Value to set for the watermarkDateTime property. */ public void setWatermarkDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/MultiTenantApplicationMetricsInitial.java b/src/main/java/com/microsoft/graph/beta/generated/models/MultiTenantApplicationMetricsInitial.java similarity index 87% rename from src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/MultiTenantApplicationMetricsInitial.java rename to src/main/java/com/microsoft/graph/beta/generated/models/MultiTenantApplicationMetricsInitial.java index 5f28ddbfc01..12cd28db0b9 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/MultiTenantApplicationMetricsInitial.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/MultiTenantApplicationMetricsInitial.java @@ -1,4 +1,4 @@ -package com.microsoft.graph.beta.models.tenantgovernanceservices; +package com.microsoft.graph.beta.models; import com.microsoft.kiota.serialization.Parsable; import com.microsoft.kiota.serialization.ParseNode; @@ -26,7 +26,7 @@ public static MultiTenantApplicationMetricsInitial createFromDiscriminatorValue( return new MultiTenantApplicationMetricsInitial(); } /** - * Gets the createdDateTime property value. Timestamp that represents when multitenant application metrics are initially aggregated for the related tenant. + * Gets the createdDateTime property value. The createdDateTime property * @return a {@link OffsetDateTime} */ @jakarta.annotation.Nullable @@ -53,7 +53,7 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeOffsetDateTimeValue("createdDateTime", this.getCreatedDateTime()); } /** - * Sets the createdDateTime property value. Timestamp that represents when multitenant application metrics are initially aggregated for the related tenant. + * Sets the createdDateTime property value. The createdDateTime property * @param value Value to set for the createdDateTime property. */ public void setCreatedDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/MultiTenantApplicationMetricsRecent.java b/src/main/java/com/microsoft/graph/beta/generated/models/MultiTenantApplicationMetricsRecent.java similarity index 85% rename from src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/MultiTenantApplicationMetricsRecent.java rename to src/main/java/com/microsoft/graph/beta/generated/models/MultiTenantApplicationMetricsRecent.java index 20afe0e15b6..5d5b7161025 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/MultiTenantApplicationMetricsRecent.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/MultiTenantApplicationMetricsRecent.java @@ -1,4 +1,4 @@ -package com.microsoft.graph.beta.models.tenantgovernanceservices; +package com.microsoft.graph.beta.models; import com.microsoft.kiota.serialization.Parsable; import com.microsoft.kiota.serialization.ParseNode; @@ -36,7 +36,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the updateDateTime property value. Timestamp that represents when multitenant application metrics are aggregated and have sufficiently changed for the related tenant. + * Gets the updateDateTime property value. The updateDateTime property * @return a {@link OffsetDateTime} */ @jakarta.annotation.Nullable @@ -53,7 +53,7 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeOffsetDateTimeValue("updateDateTime", this.getUpdateDateTime()); } /** - * Sets the updateDateTime property value. Timestamp that represents when multitenant application metrics are aggregated and have sufficiently changed for the related tenant. + * Sets the updateDateTime property value. The updateDateTime property * @param value Value to set for the updateDateTime property. */ public void setUpdateDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/MultiTenantApplicationsToProvision.java b/src/main/java/com/microsoft/graph/beta/generated/models/MultiTenantApplicationsToProvision.java similarity index 85% rename from src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/MultiTenantApplicationsToProvision.java rename to src/main/java/com/microsoft/graph/beta/generated/models/MultiTenantApplicationsToProvision.java index e8defff2ba0..77ee0210194 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/MultiTenantApplicationsToProvision.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/MultiTenantApplicationsToProvision.java @@ -1,4 +1,4 @@ -package com.microsoft.graph.beta.models.tenantgovernanceservices; +package com.microsoft.graph.beta.models; import com.microsoft.kiota.serialization.AdditionalDataHolder; import com.microsoft.kiota.serialization.Parsable; @@ -48,7 +48,7 @@ public Map getAdditionalData() { return value; } /** - * Gets the appId property value. The appId (client ID) of the multi-tenant application. + * Gets the appId property value. The appId property * @return a {@link String} */ @jakarta.annotation.Nullable @@ -64,7 +64,7 @@ public BackingStore getBackingStore() { return this.backingStore; } /** - * Gets the displayName property value. The display name of the application. + * Gets the displayName property value. The displayName property * @return a {@link String} */ @jakarta.annotation.Nullable @@ -82,11 +82,11 @@ public Map> getFieldDeserializers deserializerMap.put("displayName", (n) -> { this.setDisplayName(n.getStringValue()); }); deserializerMap.put("objectId", (n) -> { this.setObjectId(n.getStringValue()); }); deserializerMap.put("@odata.type", (n) -> { this.setOdataType(n.getStringValue()); }); - deserializerMap.put("requiredResourceAccesses", (n) -> { this.setRequiredResourceAccesses(n.getCollectionOfObjectValues(RequiredResourceAccess::createFromDiscriminatorValue)); }); + deserializerMap.put("requiredResourceAccesses", (n) -> { this.setRequiredResourceAccesses(n.getCollectionOfObjectValues(ApplicationsRequiredResourceAccess::createFromDiscriminatorValue)); }); return deserializerMap; } /** - * Gets the objectId property value. The object ID of the service principal in the governing tenant. + * Gets the objectId property value. The objectId property * @return a {@link String} */ @jakarta.annotation.Nullable @@ -102,11 +102,11 @@ public String getOdataType() { return this.backingStore.get("odataType"); } /** - * Gets the requiredResourceAccesses property value. The collection of resource accesses (permissions) required by the application. - * @return a {@link java.util.List} + * Gets the requiredResourceAccesses property value. The requiredResourceAccesses property + * @return a {@link java.util.List} */ @jakarta.annotation.Nullable - public java.util.List getRequiredResourceAccesses() { + public java.util.List getRequiredResourceAccesses() { return this.backingStore.get("requiredResourceAccesses"); } /** @@ -130,7 +130,7 @@ public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + public void setRequiredResourceAccesses(@jakarta.annotation.Nullable final java.util.List value) { this.backingStore.set("requiredResourceAccesses", value); } } diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/MultiTenantApplicationsToProvisionSnapshot.java b/src/main/java/com/microsoft/graph/beta/generated/models/MultiTenantApplicationsToProvisionSnapshot.java similarity index 85% rename from src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/MultiTenantApplicationsToProvisionSnapshot.java rename to src/main/java/com/microsoft/graph/beta/generated/models/MultiTenantApplicationsToProvisionSnapshot.java index 02cfbb5a3d9..b28a64ea908 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/MultiTenantApplicationsToProvisionSnapshot.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/MultiTenantApplicationsToProvisionSnapshot.java @@ -1,4 +1,4 @@ -package com.microsoft.graph.beta.models.tenantgovernanceservices; +package com.microsoft.graph.beta.models; import com.microsoft.kiota.serialization.AdditionalDataHolder; import com.microsoft.kiota.serialization.Parsable; @@ -48,7 +48,7 @@ public Map getAdditionalData() { return value; } /** - * Gets the appId property value. The appId (client ID) of the multi-tenant application. + * Gets the appId property value. The appId property * @return a {@link String} */ @jakarta.annotation.Nullable @@ -64,7 +64,7 @@ public BackingStore getBackingStore() { return this.backingStore; } /** - * Gets the displayName property value. The display name of the application. + * Gets the displayName property value. The displayName property * @return a {@link String} */ @jakarta.annotation.Nullable @@ -82,11 +82,11 @@ public Map> getFieldDeserializers deserializerMap.put("displayName", (n) -> { this.setDisplayName(n.getStringValue()); }); deserializerMap.put("objectId", (n) -> { this.setObjectId(n.getStringValue()); }); deserializerMap.put("@odata.type", (n) -> { this.setOdataType(n.getStringValue()); }); - deserializerMap.put("requiredResourceAccesses", (n) -> { this.setRequiredResourceAccesses(n.getCollectionOfObjectValues(RequiredResourceAccess::createFromDiscriminatorValue)); }); + deserializerMap.put("requiredResourceAccesses", (n) -> { this.setRequiredResourceAccesses(n.getCollectionOfObjectValues(ApplicationsRequiredResourceAccess::createFromDiscriminatorValue)); }); return deserializerMap; } /** - * Gets the objectId property value. The object ID of the service principal in the governing tenant. + * Gets the objectId property value. The objectId property * @return a {@link String} */ @jakarta.annotation.Nullable @@ -102,11 +102,11 @@ public String getOdataType() { return this.backingStore.get("odataType"); } /** - * Gets the requiredResourceAccesses property value. The collection of resource accesses (permissions) required by the application. - * @return a {@link java.util.List} + * Gets the requiredResourceAccesses property value. The requiredResourceAccesses property + * @return a {@link java.util.List} */ @jakarta.annotation.Nullable - public java.util.List getRequiredResourceAccesses() { + public java.util.List getRequiredResourceAccesses() { return this.backingStore.get("requiredResourceAccesses"); } /** @@ -130,7 +130,7 @@ public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + public void setRequiredResourceAccesses(@jakarta.annotation.Nullable final java.util.List value) { this.backingStore.set("requiredResourceAccesses", value); } } diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/NdesConnector.java b/src/main/java/com/microsoft/graph/beta/generated/models/NdesConnector.java index fe4f60978c7..9a6fcaca68c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/NdesConnector.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/NdesConnector.java @@ -62,12 +62,30 @@ public Map> getFieldDeserializers deserializerMap.put("connectorVersion", (n) -> { this.setConnectorVersion(n.getStringValue()); }); deserializerMap.put("displayName", (n) -> { this.setDisplayName(n.getStringValue()); }); deserializerMap.put("enrolledDateTime", (n) -> { this.setEnrolledDateTime(n.getOffsetDateTimeValue()); }); + deserializerMap.put("healthChecks", (n) -> { this.setHealthChecks(n.getCollectionOfObjectValues(ConnectorHealthCheck::createFromDiscriminatorValue)); }); + deserializerMap.put("healthStatus", (n) -> { this.setHealthStatus(n.getEnumValue(NdesConnectorHealthStatus::forValue)); }); deserializerMap.put("lastConnectionDateTime", (n) -> { this.setLastConnectionDateTime(n.getOffsetDateTimeValue()); }); deserializerMap.put("machineName", (n) -> { this.setMachineName(n.getStringValue()); }); deserializerMap.put("roleScopeTagIds", (n) -> { this.setRoleScopeTagIds(n.getCollectionOfPrimitiveValues(String.class)); }); deserializerMap.put("state", (n) -> { this.setState(n.getEnumValue(NdesConnectorState::forValue)); }); return deserializerMap; } + /** + * Gets the healthChecks property value. The collection of individual health check results for this connector. Each entry represents an independent health metric with its current status. Empty when the connector is disconnected or when health has not been evaluated yet. Read-only. + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getHealthChecks() { + return this.backingStore.get("healthChecks"); + } + /** + * Gets the healthStatus property value. The overall health status of the connector, representing the worst status across all individual health checks. This value is pre-computed on each connector upload and may be overridden to disconnected at read time if the connector has not connected recently. Read-only. + * @return a {@link NdesConnectorHealthStatus} + */ + @jakarta.annotation.Nullable + public NdesConnectorHealthStatus getHealthStatus() { + return this.backingStore.get("healthStatus"); + } /** * Gets the lastConnectionDateTime property value. Last connection time for the Ndes Connector * @return a {@link OffsetDateTime} @@ -136,6 +154,20 @@ public void setDisplayName(@jakarta.annotation.Nullable final String value) { public void setEnrolledDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { this.backingStore.set("enrolledDateTime", value); } + /** + * Sets the healthChecks property value. The collection of individual health check results for this connector. Each entry represents an independent health metric with its current status. Empty when the connector is disconnected or when health has not been evaluated yet. Read-only. + * @param value Value to set for the healthChecks property. + */ + public void setHealthChecks(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("healthChecks", value); + } + /** + * Sets the healthStatus property value. The overall health status of the connector, representing the worst status across all individual health checks. This value is pre-computed on each connector upload and may be overridden to disconnected at read time if the connector has not connected recently. Read-only. + * @param value Value to set for the healthStatus property. + */ + public void setHealthStatus(@jakarta.annotation.Nullable final NdesConnectorHealthStatus value) { + this.backingStore.set("healthStatus", value); + } /** * Sets the lastConnectionDateTime property value. Last connection time for the Ndes Connector * @param value Value to set for the lastConnectionDateTime property. diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/NdesConnectorHealthStatus.java b/src/main/java/com/microsoft/graph/beta/generated/models/NdesConnectorHealthStatus.java new file mode 100644 index 00000000000..7bebd72580a --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/NdesConnectorHealthStatus.java @@ -0,0 +1,42 @@ +package com.microsoft.graph.beta.models; + +import com.microsoft.kiota.serialization.ValuedEnum; +import java.util.Objects; + +/** + * The health status of an NDES connector or individual health check metric. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public enum NdesConnectorHealthStatus implements ValuedEnum { + /** Health has not been evaluated yet for this connector. */ + Unknown("unknown"), + /** All health checks are passing. Error rates are below the attention threshold for all metrics. */ + NoActionRequired("noActionRequired"), + /** One or more health checks have error rates between the attention and action thresholds. */ + AttentionRequired("attentionRequired"), + /** One or more health checks have error rates above the action threshold. Investigation is required. */ + ActionRequired("actionRequired"), + /** The connector has not connected within the staleness threshold. Applied at read time based on lastConnectionDateTime. */ + Disconnected("disconnected"), + /** Evolvable enumeration sentinel value. Do not use. */ + UnknownFutureValue("unknownFutureValue"); + public final String value; + NdesConnectorHealthStatus(final String value) { + this.value = value; + } + @jakarta.annotation.Nonnull + public String getValue() { return this.value; } + @jakarta.annotation.Nullable + public static NdesConnectorHealthStatus forValue(@jakarta.annotation.Nonnull final String searchValue) { + Objects.requireNonNull(searchValue); + switch(searchValue) { + case "unknown": return Unknown; + case "noActionRequired": return NoActionRequired; + case "attentionRequired": return AttentionRequired; + case "actionRequired": return ActionRequired; + case "disconnected": return Disconnected; + case "unknownFutureValue": return UnknownFutureValue; + default: return null; + } + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/NistClassification.java b/src/main/java/com/microsoft/graph/beta/generated/models/NistClassification.java new file mode 100644 index 00000000000..1dbca387e1b --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/NistClassification.java @@ -0,0 +1,175 @@ +package com.microsoft.graph.beta.models; + +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class NistClassification implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link NistClassification} and sets the default values. + */ + public NistClassification() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link NistClassification} + */ + @jakarta.annotation.Nonnull + public static NistClassification createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new NistClassification(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * Gets the category property value. The category property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getCategory() { + return this.backingStore.get("category"); + } + /** + * Gets the description property value. The description property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getDescription() { + return this.backingStore.get("description"); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(5); + deserializerMap.put("category", (n) -> { this.setCategory(n.getStringValue()); }); + deserializerMap.put("description", (n) -> { this.setDescription(n.getStringValue()); }); + deserializerMap.put("function", (n) -> { this.setFunction(n.getStringValue()); }); + deserializerMap.put("name", (n) -> { this.setName(n.getStringValue()); }); + deserializerMap.put("@odata.type", (n) -> { this.setOdataType(n.getStringValue()); }); + return deserializerMap; + } + /** + * Gets the function property value. The function property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getFunction() { + return this.backingStore.get("function"); + } + /** + * Gets the name property value. The name property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getName() { + return this.backingStore.get("name"); + } + /** + * Gets the @odata.type property value. The OdataType property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getOdataType() { + return this.backingStore.get("odataType"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writeStringValue("category", this.getCategory()); + writer.writeStringValue("description", this.getDescription()); + writer.writeStringValue("function", this.getFunction()); + writer.writeStringValue("name", this.getName()); + writer.writeStringValue("@odata.type", this.getOdataType()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } + /** + * Sets the category property value. The category property + * @param value Value to set for the category property. + */ + public void setCategory(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("category", value); + } + /** + * Sets the description property value. The description property + * @param value Value to set for the description property. + */ + public void setDescription(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("description", value); + } + /** + * Sets the function property value. The function property + * @param value Value to set for the function property. + */ + public void setFunction(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("function", value); + } + /** + * Sets the name property value. The name property + * @param value Value to set for the name property. + */ + public void setName(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("name", value); + } + /** + * Sets the @odata.type property value. The OdataType property + * @param value Value to set for the @odata.type property. + */ + public void setOdataType(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("odataType", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/OnPremisesPublishing.java b/src/main/java/com/microsoft/graph/beta/generated/models/OnPremisesPublishing.java index 1ab47248113..13653a33f16 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/OnPremisesPublishing.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/OnPremisesPublishing.java @@ -101,7 +101,7 @@ public String getExternalUrl() { */ @jakarta.annotation.Nonnull public Map> getFieldDeserializers() { - final HashMap> deserializerMap = new HashMap>(29); + final HashMap> deserializerMap = new HashMap>(30); deserializerMap.put("alternateUrl", (n) -> { this.setAlternateUrl(n.getStringValue()); }); deserializerMap.put("applicationServerTimeout", (n) -> { this.setApplicationServerTimeout(n.getStringValue()); }); deserializerMap.put("applicationType", (n) -> { this.setApplicationType(n.getStringValue()); }); @@ -111,6 +111,7 @@ public Map> getFieldDeserializers deserializerMap.put("isAccessibleViaZTNAClient", (n) -> { this.setIsAccessibleViaZTNAClient(n.getBooleanValue()); }); deserializerMap.put("isBackendCertificateValidationEnabled", (n) -> { this.setIsBackendCertificateValidationEnabled(n.getBooleanValue()); }); deserializerMap.put("isContinuousAccessEvaluationEnabled", (n) -> { this.setIsContinuousAccessEvaluationEnabled(n.getBooleanValue()); }); + deserializerMap.put("isDeviceAccessEnabled", (n) -> { this.setIsDeviceAccessEnabled(n.getBooleanValue()); }); deserializerMap.put("isDnsResolutionEnabled", (n) -> { this.setIsDnsResolutionEnabled(n.getBooleanValue()); }); deserializerMap.put("isHttpOnlyCookieEnabled", (n) -> { this.setIsHttpOnlyCookieEnabled(n.getBooleanValue()); }); deserializerMap.put("isOnPremPublishingEnabled", (n) -> { this.setIsOnPremPublishingEnabled(n.getBooleanValue()); }); @@ -165,6 +166,14 @@ public Boolean getIsBackendCertificateValidationEnabled() { public Boolean getIsContinuousAccessEvaluationEnabled() { return this.backingStore.get("isContinuousAccessEvaluationEnabled"); } + /** + * Gets the isDeviceAccessEnabled property value. The isDeviceAccessEnabled property + * @return a {@link Boolean} + */ + @jakarta.annotation.Nullable + public Boolean getIsDeviceAccessEnabled() { + return this.backingStore.get("isDeviceAccessEnabled"); + } /** * Gets the isDnsResolutionEnabled property value. Indicates Microsoft Entra Private Access should handle DNS resolution. false by default. * @return a {@link Boolean} @@ -340,6 +349,7 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeBooleanValue("isAccessibleViaZTNAClient", this.getIsAccessibleViaZTNAClient()); writer.writeBooleanValue("isBackendCertificateValidationEnabled", this.getIsBackendCertificateValidationEnabled()); writer.writeBooleanValue("isContinuousAccessEvaluationEnabled", this.getIsContinuousAccessEvaluationEnabled()); + writer.writeBooleanValue("isDeviceAccessEnabled", this.getIsDeviceAccessEnabled()); writer.writeBooleanValue("isDnsResolutionEnabled", this.getIsDnsResolutionEnabled()); writer.writeBooleanValue("isHttpOnlyCookieEnabled", this.getIsHttpOnlyCookieEnabled()); writer.writeBooleanValue("isOnPremPublishingEnabled", this.getIsOnPremPublishingEnabled()); @@ -440,6 +450,13 @@ public void setIsBackendCertificateValidationEnabled(@jakarta.annotation.Nullabl public void setIsContinuousAccessEvaluationEnabled(@jakarta.annotation.Nullable final Boolean value) { this.backingStore.set("isContinuousAccessEvaluationEnabled", value); } + /** + * Sets the isDeviceAccessEnabled property value. The isDeviceAccessEnabled property + * @param value Value to set for the isDeviceAccessEnabled property. + */ + public void setIsDeviceAccessEnabled(@jakarta.annotation.Nullable final Boolean value) { + this.backingStore.set("isDeviceAccessEnabled", value); + } /** * Sets the isDnsResolutionEnabled property value. Indicates Microsoft Entra Private Access should handle DNS resolution. false by default. * @param value Value to set for the isDnsResolutionEnabled property. diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/PolicyTipAction.java b/src/main/java/com/microsoft/graph/beta/generated/models/PolicyTipAction.java index 2bc9d2ae8c5..3dcf750cd53 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/PolicyTipAction.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/PolicyTipAction.java @@ -32,7 +32,7 @@ public static PolicyTipAction createFromDiscriminatorValue(@jakarta.annotation.N return new PolicyTipAction(); } /** - * Gets the complianceUrl property value. The complianceUrl property + * Gets the complianceUrl property value. A URL that points users to additional compliance guidance or remediation details for the policy tip. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -52,7 +52,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the matchedConditionsDescription property value. The matchedConditionsDescription property + * Gets the matchedConditionsDescription property value. A user-friendly summary of the matched DLP conditions that triggered the policy tip. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -79,14 +79,14 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeStringValue("policyTip", this.getPolicyTip()); } /** - * Sets the complianceUrl property value. The complianceUrl property + * Sets the complianceUrl property value. A URL that points users to additional compliance guidance or remediation details for the policy tip. * @param value Value to set for the complianceUrl property. */ public void setComplianceUrl(@jakarta.annotation.Nullable final String value) { this.backingStore.set("complianceUrl", value); } /** - * Sets the matchedConditionsDescription property value. The matchedConditionsDescription property + * Sets the matchedConditionsDescription property value. A user-friendly summary of the matched DLP conditions that triggered the policy tip. * @param value Value to set for the matchedConditionsDescription property. */ public void setMatchedConditionsDescription(@jakarta.annotation.Nullable final String value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/ProvisionResponse.java b/src/main/java/com/microsoft/graph/beta/generated/models/ProvisionResponse.java new file mode 100644 index 00000000000..b9882fbe4fc --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/ProvisionResponse.java @@ -0,0 +1,141 @@ +package com.microsoft.graph.beta.models; + +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ProvisionResponse implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link ProvisionResponse} and sets the default values. + */ + public ProvisionResponse() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link ProvisionResponse} + */ + @jakarta.annotation.Nonnull + public static ProvisionResponse createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new ProvisionResponse(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * Gets the challenge property value. The challenge property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getChallenge() { + return this.backingStore.get("challenge"); + } + /** + * Gets the deviceId property value. The deviceId property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getDeviceId() { + return this.backingStore.get("deviceId"); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(3); + deserializerMap.put("challenge", (n) -> { this.setChallenge(n.getStringValue()); }); + deserializerMap.put("deviceId", (n) -> { this.setDeviceId(n.getStringValue()); }); + deserializerMap.put("@odata.type", (n) -> { this.setOdataType(n.getStringValue()); }); + return deserializerMap; + } + /** + * Gets the @odata.type property value. The OdataType property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getOdataType() { + return this.backingStore.get("odataType"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writeStringValue("challenge", this.getChallenge()); + writer.writeStringValue("deviceId", this.getDeviceId()); + writer.writeStringValue("@odata.type", this.getOdataType()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } + /** + * Sets the challenge property value. The challenge property + * @param value Value to set for the challenge property. + */ + public void setChallenge(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("challenge", value); + } + /** + * Sets the deviceId property value. The deviceId property + * @param value Value to set for the deviceId property. + */ + public void setDeviceId(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("deviceId", value); + } + /** + * Sets the @odata.type property value. The OdataType property + * @param value Value to set for the @odata.type property. + */ + public void setOdataType(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("odataType", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/RecommendationBase.java b/src/main/java/com/microsoft/graph/beta/generated/models/RecommendationBase.java index a090e4d2678..c1d680a8e54 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/RecommendationBase.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/RecommendationBase.java @@ -56,6 +56,30 @@ public String getBenefits() { public RecommendationCategory getCategory() { return this.backingStore.get("category"); } + /** + * Gets the categoryGroup property value. The categoryGroup property + * @return a {@link RecommendationCategoryGroup} + */ + @jakarta.annotation.Nullable + public RecommendationCategoryGroup getCategoryGroup() { + return this.backingStore.get("categoryGroup"); + } + /** + * Gets the completedBySystemDateTime property value. The completedBySystemDateTime property + * @return a {@link OffsetDateTime} + */ + @jakarta.annotation.Nullable + public OffsetDateTime getCompletedBySystemDateTime() { + return this.backingStore.get("completedBySystemDateTime"); + } + /** + * Gets the completedByUserDateTime property value. The completedByUserDateTime property + * @return a {@link OffsetDateTime} + */ + @jakarta.annotation.Nullable + public OffsetDateTime getCompletedByUserDateTime() { + return this.backingStore.get("completedByUserDateTime"); + } /** * Gets the createdDateTime property value. The date and time when the recommendation was detected as applicable to your directory. * @return a {@link OffsetDateTime} @@ -80,6 +104,14 @@ public Double getCurrentScore() { public String getDisplayName() { return this.backingStore.get("displayName"); } + /** + * Gets the failedReviewDateTime property value. The failedReviewDateTime property + * @return a {@link OffsetDateTime} + */ + @jakarta.annotation.Nullable + public OffsetDateTime getFailedReviewDateTime() { + return this.backingStore.get("failedReviewDateTime"); + } /** * Gets the featureAreas property value. The directory feature that the recommendation is related to. * @return a {@link java.util.List} @@ -98,9 +130,13 @@ public Map> getFieldDeserializers deserializerMap.put("actionSteps", (n) -> { this.setActionSteps(n.getCollectionOfObjectValues(ActionStep::createFromDiscriminatorValue)); }); deserializerMap.put("benefits", (n) -> { this.setBenefits(n.getStringValue()); }); deserializerMap.put("category", (n) -> { this.setCategory(n.getEnumValue(RecommendationCategory::forValue)); }); + deserializerMap.put("categoryGroup", (n) -> { this.setCategoryGroup(n.getEnumValue(RecommendationCategoryGroup::forValue)); }); + deserializerMap.put("completedBySystemDateTime", (n) -> { this.setCompletedBySystemDateTime(n.getOffsetDateTimeValue()); }); + deserializerMap.put("completedByUserDateTime", (n) -> { this.setCompletedByUserDateTime(n.getOffsetDateTimeValue()); }); deserializerMap.put("createdDateTime", (n) -> { this.setCreatedDateTime(n.getOffsetDateTimeValue()); }); deserializerMap.put("currentScore", (n) -> { this.setCurrentScore(n.getDoubleValue()); }); deserializerMap.put("displayName", (n) -> { this.setDisplayName(n.getStringValue()); }); + deserializerMap.put("failedReviewDateTime", (n) -> { this.setFailedReviewDateTime(n.getOffsetDateTimeValue()); }); deserializerMap.put("featureAreas", (n) -> { this.setFeatureAreas(n.getCollectionOfEnumValues(RecommendationFeatureAreas::forValue)); }); deserializerMap.put("impactedResources", (n) -> { this.setImpactedResources(n.getCollectionOfObjectValues(ImpactedResource::createFromDiscriminatorValue)); }); deserializerMap.put("impactStartDateTime", (n) -> { this.setImpactStartDateTime(n.getOffsetDateTimeValue()); }); @@ -110,13 +146,18 @@ public Map> getFieldDeserializers deserializerMap.put("lastModifiedBy", (n) -> { this.setLastModifiedBy(n.getStringValue()); }); deserializerMap.put("lastModifiedDateTime", (n) -> { this.setLastModifiedDateTime(n.getOffsetDateTimeValue()); }); deserializerMap.put("maxScore", (n) -> { this.setMaxScore(n.getDoubleValue()); }); + deserializerMap.put("needsMoreActionResourceCount", (n) -> { this.setNeedsMoreActionResourceCount(n.getIntegerValue()); }); + deserializerMap.put("nistClassifications", (n) -> { this.setNistClassifications(n.getCollectionOfObjectValues(NistClassification::createFromDiscriminatorValue)); }); deserializerMap.put("postponeUntilDateTime", (n) -> { this.setPostponeUntilDateTime(n.getOffsetDateTimeValue()); }); deserializerMap.put("priority", (n) -> { this.setPriority(n.getEnumValue(RecommendationPriority::forValue)); }); deserializerMap.put("recommendationType", (n) -> { this.setRecommendationType(n.getEnumValue(RecommendationType::forValue)); }); deserializerMap.put("releaseType", (n) -> { this.setReleaseType(n.getStringValue()); }); + deserializerMap.put("remediatedDateTime", (n) -> { this.setRemediatedDateTime(n.getOffsetDateTimeValue()); }); deserializerMap.put("remediationImpact", (n) -> { this.setRemediationImpact(n.getStringValue()); }); deserializerMap.put("requiredLicenses", (n) -> { this.setRequiredLicenses(n.getEnumValue(RequiredLicenses::forValue)); }); deserializerMap.put("status", (n) -> { this.setStatus(n.getEnumValue(RecommendationStatus::forValue)); }); + deserializerMap.put("statusModifiedDateTime", (n) -> { this.setStatusModifiedDateTime(n.getOffsetDateTimeValue()); }); + deserializerMap.put("tags", (n) -> { this.setTags(n.getCollectionOfObjectValues(RecommendationTag::createFromDiscriminatorValue)); }); return deserializerMap; } /** @@ -183,6 +224,22 @@ public OffsetDateTime getLastModifiedDateTime() { public Double getMaxScore() { return this.backingStore.get("maxScore"); } + /** + * Gets the needsMoreActionResourceCount property value. The needsMoreActionResourceCount property + * @return a {@link Integer} + */ + @jakarta.annotation.Nullable + public Integer getNeedsMoreActionResourceCount() { + return this.backingStore.get("needsMoreActionResourceCount"); + } + /** + * Gets the nistClassifications property value. The nistClassifications property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getNistClassifications() { + return this.backingStore.get("nistClassifications"); + } /** * Gets the postponeUntilDateTime property value. The future date and time when the status of a postponed recommendation will be active again. * @return a {@link OffsetDateTime} @@ -215,6 +272,14 @@ public RecommendationType getRecommendationType() { public String getReleaseType() { return this.backingStore.get("releaseType"); } + /** + * Gets the remediatedDateTime property value. The remediatedDateTime property + * @return a {@link OffsetDateTime} + */ + @jakarta.annotation.Nullable + public OffsetDateTime getRemediatedDateTime() { + return this.backingStore.get("remediatedDateTime"); + } /** * Gets the remediationImpact property value. Description of the impact on users of the remediation. Only applies to recommendations with category set to identitySecureScore. * @return a {@link String} @@ -239,6 +304,22 @@ public RequiredLicenses getRequiredLicenses() { public RecommendationStatus getStatus() { return this.backingStore.get("status"); } + /** + * Gets the statusModifiedDateTime property value. The statusModifiedDateTime property + * @return a {@link OffsetDateTime} + */ + @jakarta.annotation.Nullable + public OffsetDateTime getStatusModifiedDateTime() { + return this.backingStore.get("statusModifiedDateTime"); + } + /** + * Gets the tags property value. The tags property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getTags() { + return this.backingStore.get("tags"); + } /** * Serializes information the current object * @param writer Serialization writer to use to serialize this model @@ -249,9 +330,13 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeCollectionOfObjectValues("actionSteps", this.getActionSteps()); writer.writeStringValue("benefits", this.getBenefits()); writer.writeEnumValue("category", this.getCategory()); + writer.writeEnumValue("categoryGroup", this.getCategoryGroup()); + writer.writeOffsetDateTimeValue("completedBySystemDateTime", this.getCompletedBySystemDateTime()); + writer.writeOffsetDateTimeValue("completedByUserDateTime", this.getCompletedByUserDateTime()); writer.writeOffsetDateTimeValue("createdDateTime", this.getCreatedDateTime()); writer.writeDoubleValue("currentScore", this.getCurrentScore()); writer.writeStringValue("displayName", this.getDisplayName()); + writer.writeOffsetDateTimeValue("failedReviewDateTime", this.getFailedReviewDateTime()); writer.writeCollectionOfEnumValues("featureAreas", this.getFeatureAreas()); writer.writeCollectionOfObjectValues("impactedResources", this.getImpactedResources()); writer.writeOffsetDateTimeValue("impactStartDateTime", this.getImpactStartDateTime()); @@ -261,13 +346,18 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeStringValue("lastModifiedBy", this.getLastModifiedBy()); writer.writeOffsetDateTimeValue("lastModifiedDateTime", this.getLastModifiedDateTime()); writer.writeDoubleValue("maxScore", this.getMaxScore()); + writer.writeIntegerValue("needsMoreActionResourceCount", this.getNeedsMoreActionResourceCount()); + writer.writeCollectionOfObjectValues("nistClassifications", this.getNistClassifications()); writer.writeOffsetDateTimeValue("postponeUntilDateTime", this.getPostponeUntilDateTime()); writer.writeEnumValue("priority", this.getPriority()); writer.writeEnumValue("recommendationType", this.getRecommendationType()); writer.writeStringValue("releaseType", this.getReleaseType()); + writer.writeOffsetDateTimeValue("remediatedDateTime", this.getRemediatedDateTime()); writer.writeStringValue("remediationImpact", this.getRemediationImpact()); writer.writeEnumValue("requiredLicenses", this.getRequiredLicenses()); writer.writeEnumValue("status", this.getStatus()); + writer.writeOffsetDateTimeValue("statusModifiedDateTime", this.getStatusModifiedDateTime()); + writer.writeCollectionOfObjectValues("tags", this.getTags()); } /** * Sets the actionSteps property value. List of actions to take to complete a recommendation. @@ -290,6 +380,27 @@ public void setBenefits(@jakarta.annotation.Nullable final String value) { public void setCategory(@jakarta.annotation.Nullable final RecommendationCategory value) { this.backingStore.set("category", value); } + /** + * Sets the categoryGroup property value. The categoryGroup property + * @param value Value to set for the categoryGroup property. + */ + public void setCategoryGroup(@jakarta.annotation.Nullable final RecommendationCategoryGroup value) { + this.backingStore.set("categoryGroup", value); + } + /** + * Sets the completedBySystemDateTime property value. The completedBySystemDateTime property + * @param value Value to set for the completedBySystemDateTime property. + */ + public void setCompletedBySystemDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { + this.backingStore.set("completedBySystemDateTime", value); + } + /** + * Sets the completedByUserDateTime property value. The completedByUserDateTime property + * @param value Value to set for the completedByUserDateTime property. + */ + public void setCompletedByUserDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { + this.backingStore.set("completedByUserDateTime", value); + } /** * Sets the createdDateTime property value. The date and time when the recommendation was detected as applicable to your directory. * @param value Value to set for the createdDateTime property. @@ -311,6 +422,13 @@ public void setCurrentScore(@jakarta.annotation.Nullable final Double value) { public void setDisplayName(@jakarta.annotation.Nullable final String value) { this.backingStore.set("displayName", value); } + /** + * Sets the failedReviewDateTime property value. The failedReviewDateTime property + * @param value Value to set for the failedReviewDateTime property. + */ + public void setFailedReviewDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { + this.backingStore.set("failedReviewDateTime", value); + } /** * Sets the featureAreas property value. The directory feature that the recommendation is related to. * @param value Value to set for the featureAreas property. @@ -374,6 +492,20 @@ public void setLastModifiedDateTime(@jakarta.annotation.Nullable final OffsetDat public void setMaxScore(@jakarta.annotation.Nullable final Double value) { this.backingStore.set("maxScore", value); } + /** + * Sets the needsMoreActionResourceCount property value. The needsMoreActionResourceCount property + * @param value Value to set for the needsMoreActionResourceCount property. + */ + public void setNeedsMoreActionResourceCount(@jakarta.annotation.Nullable final Integer value) { + this.backingStore.set("needsMoreActionResourceCount", value); + } + /** + * Sets the nistClassifications property value. The nistClassifications property + * @param value Value to set for the nistClassifications property. + */ + public void setNistClassifications(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("nistClassifications", value); + } /** * Sets the postponeUntilDateTime property value. The future date and time when the status of a postponed recommendation will be active again. * @param value Value to set for the postponeUntilDateTime property. @@ -402,6 +534,13 @@ public void setRecommendationType(@jakarta.annotation.Nullable final Recommendat public void setReleaseType(@jakarta.annotation.Nullable final String value) { this.backingStore.set("releaseType", value); } + /** + * Sets the remediatedDateTime property value. The remediatedDateTime property + * @param value Value to set for the remediatedDateTime property. + */ + public void setRemediatedDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { + this.backingStore.set("remediatedDateTime", value); + } /** * Sets the remediationImpact property value. Description of the impact on users of the remediation. Only applies to recommendations with category set to identitySecureScore. * @param value Value to set for the remediationImpact property. @@ -423,4 +562,18 @@ public void setRequiredLicenses(@jakarta.annotation.Nullable final RequiredLicen public void setStatus(@jakarta.annotation.Nullable final RecommendationStatus value) { this.backingStore.set("status", value); } + /** + * Sets the statusModifiedDateTime property value. The statusModifiedDateTime property + * @param value Value to set for the statusModifiedDateTime property. + */ + public void setStatusModifiedDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { + this.backingStore.set("statusModifiedDateTime", value); + } + /** + * Sets the tags property value. The tags property + * @param value Value to set for the tags property. + */ + public void setTags(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("tags", value); + } } diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/RecommendationCategoryGroup.java b/src/main/java/com/microsoft/graph/beta/generated/models/RecommendationCategoryGroup.java new file mode 100644 index 00000000000..0f340bbb48f --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/RecommendationCategoryGroup.java @@ -0,0 +1,35 @@ +package com.microsoft.graph.beta.models; + +import com.microsoft.kiota.serialization.ValuedEnum; +import java.util.Objects; + +@jakarta.annotation.Generated("com.microsoft.kiota") +public enum RecommendationCategoryGroup implements ValuedEnum { + StrengthenAuthentication("strengthenAuthentication"), + DetectAndRespondToThreats("detectAndRespondToThreats"), + EnforceLeastPrivilege("enforceLeastPrivilege"), + GovernAppsCredentialsAndAgents("governAppsCredentialsAndAgents"), + HardenInfrastructure("hardenInfrastructure"), + DefenderForIdentity("defenderForIdentity"), + UnknownFutureValue("unknownFutureValue"); + public final String value; + RecommendationCategoryGroup(final String value) { + this.value = value; + } + @jakarta.annotation.Nonnull + public String getValue() { return this.value; } + @jakarta.annotation.Nullable + public static RecommendationCategoryGroup forValue(@jakarta.annotation.Nonnull final String searchValue) { + Objects.requireNonNull(searchValue); + switch(searchValue) { + case "strengthenAuthentication": return StrengthenAuthentication; + case "detectAndRespondToThreats": return DetectAndRespondToThreats; + case "enforceLeastPrivilege": return EnforceLeastPrivilege; + case "governAppsCredentialsAndAgents": return GovernAppsCredentialsAndAgents; + case "hardenInfrastructure": return HardenInfrastructure; + case "defenderForIdentity": return DefenderForIdentity; + case "unknownFutureValue": return UnknownFutureValue; + default: return null; + } + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/RecommendationConfiguration.java b/src/main/java/com/microsoft/graph/beta/generated/models/RecommendationConfiguration.java index 88d9cef23c9..12d9466a037 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/RecommendationConfiguration.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/RecommendationConfiguration.java @@ -3,6 +3,7 @@ import com.microsoft.kiota.serialization.Parsable; import com.microsoft.kiota.serialization.ParseNode; import com.microsoft.kiota.serialization.SerializationWriter; +import java.time.OffsetDateTime; import java.util.HashMap; import java.util.Map; import java.util.Objects; @@ -32,6 +33,7 @@ public static RecommendationConfiguration createFromDiscriminatorValue(@jakarta. public Map> getFieldDeserializers() { final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); deserializerMap.put("isNotificationEnabled", (n) -> { this.setIsNotificationEnabled(n.getBooleanValue()); }); + deserializerMap.put("lastRefreshedDateTime", (n) -> { this.setLastRefreshedDateTime(n.getOffsetDateTimeValue()); }); return deserializerMap; } /** @@ -42,6 +44,14 @@ public Map> getFieldDeserializers public Boolean getIsNotificationEnabled() { return this.backingStore.get("isNotificationEnabled"); } + /** + * Gets the lastRefreshedDateTime property value. The lastRefreshedDateTime property + * @return a {@link OffsetDateTime} + */ + @jakarta.annotation.Nullable + public OffsetDateTime getLastRefreshedDateTime() { + return this.backingStore.get("lastRefreshedDateTime"); + } /** * Serializes information the current object * @param writer Serialization writer to use to serialize this model @@ -58,4 +68,11 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ public void setIsNotificationEnabled(@jakarta.annotation.Nullable final Boolean value) { this.backingStore.set("isNotificationEnabled", value); } + /** + * Sets the lastRefreshedDateTime property value. The lastRefreshedDateTime property + * @param value Value to set for the lastRefreshedDateTime property. + */ + public void setLastRefreshedDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { + this.backingStore.set("lastRefreshedDateTime", value); + } } diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/RecommendationPriority.java b/src/main/java/com/microsoft/graph/beta/generated/models/RecommendationPriority.java index 160c515f7e2..1c54725a6bc 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/RecommendationPriority.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/RecommendationPriority.java @@ -7,7 +7,9 @@ public enum RecommendationPriority implements ValuedEnum { Low("low"), Medium("medium"), - High("high"); + High("high"), + Critical("critical"), + UnknownFutureValue("unknownFutureValue"); public final String value; RecommendationPriority(final String value) { this.value = value; @@ -21,6 +23,8 @@ public static RecommendationPriority forValue(@jakarta.annotation.Nonnull final case "low": return Low; case "medium": return Medium; case "high": return High; + case "critical": return Critical; + case "unknownFutureValue": return UnknownFutureValue; default: return null; } } diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/RecommendationStatus.java b/src/main/java/com/microsoft/graph/beta/generated/models/RecommendationStatus.java index 7afa6876a48..dfe8cacafd8 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/RecommendationStatus.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/RecommendationStatus.java @@ -14,7 +14,8 @@ public enum RecommendationStatus implements ValuedEnum { RiskAccepted("riskAccepted"), ThirdParty("thirdParty"), Planned("planned"), - AlternateMitigation("alternateMitigation"); + AlternateMitigation("alternateMitigation"), + NeedsMoreAction("needsMoreAction"); public final String value; RecommendationStatus(final String value) { this.value = value; @@ -35,6 +36,7 @@ public static RecommendationStatus forValue(@jakarta.annotation.Nonnull final St case "thirdParty": return ThirdParty; case "planned": return Planned; case "alternateMitigation": return AlternateMitigation; + case "needsMoreAction": return NeedsMoreAction; default: return null; } } diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/RecommendationTag.java b/src/main/java/com/microsoft/graph/beta/generated/models/RecommendationTag.java new file mode 100644 index 00000000000..fd914bdbd2e --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/RecommendationTag.java @@ -0,0 +1,61 @@ +package com.microsoft.graph.beta.models; + +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RecommendationTag extends Entity implements Parsable { + /** + * Instantiates a new {@link RecommendationTag} and sets the default values. + */ + public RecommendationTag() { + super(); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link RecommendationTag} + */ + @jakarta.annotation.Nonnull + public static RecommendationTag createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new RecommendationTag(); + } + /** + * Gets the displayName property value. The displayName property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getDisplayName() { + return this.backingStore.get("displayName"); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("displayName", (n) -> { this.setDisplayName(n.getStringValue()); }); + return deserializerMap; + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeStringValue("displayName", this.getDisplayName()); + } + /** + * Sets the displayName property value. The displayName property + * @param value Value to set for the displayName property. + */ + public void setDisplayName(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("displayName", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/RecommendationTagCollectionResponse.java b/src/main/java/com/microsoft/graph/beta/generated/models/RecommendationTagCollectionResponse.java new file mode 100644 index 00000000000..a22f8c2a98b --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/RecommendationTagCollectionResponse.java @@ -0,0 +1,61 @@ +package com.microsoft.graph.beta.models; + +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RecommendationTagCollectionResponse extends BaseCollectionPaginationCountResponse implements Parsable { + /** + * Instantiates a new {@link RecommendationTagCollectionResponse} and sets the default values. + */ + public RecommendationTagCollectionResponse() { + super(); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link RecommendationTagCollectionResponse} + */ + @jakarta.annotation.Nonnull + public static RecommendationTagCollectionResponse createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new RecommendationTagCollectionResponse(); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("value", (n) -> { this.setValue(n.getCollectionOfObjectValues(RecommendationTag::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the value property value. The value property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getValue() { + return this.backingStore.get("value"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeCollectionOfObjectValues("value", this.getValue()); + } + /** + * Sets the value property value. The value property + * @param value Value to set for the value property. + */ + public void setValue(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("value", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/RelatedTenant.java b/src/main/java/com/microsoft/graph/beta/generated/models/RelatedTenant.java similarity index 78% rename from src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/RelatedTenant.java rename to src/main/java/com/microsoft/graph/beta/generated/models/RelatedTenant.java index 0cf4c1ee86c..bb53dfaec8a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/RelatedTenant.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/RelatedTenant.java @@ -1,6 +1,5 @@ -package com.microsoft.graph.beta.models.tenantgovernanceservices; +package com.microsoft.graph.beta.models; -import com.microsoft.graph.beta.models.Entity; import com.microsoft.kiota.serialization.Parsable; import com.microsoft.kiota.serialization.ParseNode; import com.microsoft.kiota.serialization.SerializationWriter; @@ -27,7 +26,7 @@ public static RelatedTenant createFromDiscriminatorValue(@jakarta.annotation.Non return new RelatedTenant(); } /** - * Gets the appB2BSignInActivityMetrics property value. B2B sign-in activity metrics for this related tenant. Expanded by default. + * Gets the appB2BSignInActivityMetrics property value. The appB2BSignInActivityMetrics property * @return a {@link B2BSignInActivityMetrics} */ @jakarta.annotation.Nullable @@ -35,7 +34,7 @@ public B2BSignInActivityMetrics getAppB2BSignInActivityMetrics() { return this.backingStore.get("appB2BSignInActivityMetrics"); } /** - * Gets the b2BRegistrationMetrics property value. B2B registration metrics for this related tenant. Expanded by default. + * Gets the b2BRegistrationMetrics property value. The b2BRegistrationMetrics property * @return a {@link B2bRegistrationMetrics} */ @jakarta.annotation.Nullable @@ -43,7 +42,7 @@ public B2bRegistrationMetrics getB2BRegistrationMetrics() { return this.backingStore.get("b2BRegistrationMetrics"); } /** - * Gets the b2BSignInActivityMetrics property value. B2B sign-in activity metrics for this related tenant. Expanded by default. + * Gets the b2BSignInActivityMetrics property value. The b2BSignInActivityMetrics property * @return a {@link B2BSignInActivityMetrics} */ @jakarta.annotation.Nullable @@ -51,7 +50,7 @@ public B2BSignInActivityMetrics getB2BSignInActivityMetrics() { return this.backingStore.get("b2BSignInActivityMetrics"); } /** - * Gets the billingMetrics property value. Billing metrics for this related tenant. Expanded by default. + * Gets the billingMetrics property value. The billingMetrics property * @return a {@link BillingMetrics} */ @jakarta.annotation.Nullable @@ -59,7 +58,7 @@ public BillingMetrics getBillingMetrics() { return this.backingStore.get("billingMetrics"); } /** - * Gets the createdDateTime property value. The date and time when the related tenant was discovered. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. + * Gets the createdDateTime property value. The createdDateTime property * @return a {@link OffsetDateTime} */ @jakarta.annotation.Nullable @@ -83,7 +82,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the isMicrosoftInfrastructure property value. Indicates whether the related tenant is a Microsoft infrastructure tenant. Read-only. + * Gets the isMicrosoftInfrastructure property value. Indicates whether this tenant is a Microsoft infrastructure tenant. * @return a {@link Boolean} */ @jakarta.annotation.Nullable @@ -91,7 +90,7 @@ public Boolean getIsMicrosoftInfrastructure() { return this.backingStore.get("isMicrosoftInfrastructure"); } /** - * Gets the multiTenantApplicationMetrics property value. Multi-tenant application usage metrics for this related tenant. Expanded by default. + * Gets the multiTenantApplicationMetrics property value. The multiTenantApplicationMetrics property * @return a {@link MultiTenantApplicationMetrics} */ @jakarta.annotation.Nullable @@ -113,49 +112,49 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeObjectValue("multiTenantApplicationMetrics", this.getMultiTenantApplicationMetrics()); } /** - * Sets the appB2BSignInActivityMetrics property value. B2B sign-in activity metrics for this related tenant. Expanded by default. + * Sets the appB2BSignInActivityMetrics property value. The appB2BSignInActivityMetrics property * @param value Value to set for the appB2BSignInActivityMetrics property. */ public void setAppB2BSignInActivityMetrics(@jakarta.annotation.Nullable final B2BSignInActivityMetrics value) { this.backingStore.set("appB2BSignInActivityMetrics", value); } /** - * Sets the b2BRegistrationMetrics property value. B2B registration metrics for this related tenant. Expanded by default. + * Sets the b2BRegistrationMetrics property value. The b2BRegistrationMetrics property * @param value Value to set for the b2BRegistrationMetrics property. */ public void setB2BRegistrationMetrics(@jakarta.annotation.Nullable final B2bRegistrationMetrics value) { this.backingStore.set("b2BRegistrationMetrics", value); } /** - * Sets the b2BSignInActivityMetrics property value. B2B sign-in activity metrics for this related tenant. Expanded by default. + * Sets the b2BSignInActivityMetrics property value. The b2BSignInActivityMetrics property * @param value Value to set for the b2BSignInActivityMetrics property. */ public void setB2BSignInActivityMetrics(@jakarta.annotation.Nullable final B2BSignInActivityMetrics value) { this.backingStore.set("b2BSignInActivityMetrics", value); } /** - * Sets the billingMetrics property value. Billing metrics for this related tenant. Expanded by default. + * Sets the billingMetrics property value. The billingMetrics property * @param value Value to set for the billingMetrics property. */ public void setBillingMetrics(@jakarta.annotation.Nullable final BillingMetrics value) { this.backingStore.set("billingMetrics", value); } /** - * Sets the createdDateTime property value. The date and time when the related tenant was discovered. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. + * Sets the createdDateTime property value. The createdDateTime property * @param value Value to set for the createdDateTime property. */ public void setCreatedDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { this.backingStore.set("createdDateTime", value); } /** - * Sets the isMicrosoftInfrastructure property value. Indicates whether the related tenant is a Microsoft infrastructure tenant. Read-only. + * Sets the isMicrosoftInfrastructure property value. Indicates whether this tenant is a Microsoft infrastructure tenant. * @param value Value to set for the isMicrosoftInfrastructure property. */ public void setIsMicrosoftInfrastructure(@jakarta.annotation.Nullable final Boolean value) { this.backingStore.set("isMicrosoftInfrastructure", value); } /** - * Sets the multiTenantApplicationMetrics property value. Multi-tenant application usage metrics for this related tenant. Expanded by default. + * Sets the multiTenantApplicationMetrics property value. The multiTenantApplicationMetrics property * @param value Value to set for the multiTenantApplicationMetrics property. */ public void setMultiTenantApplicationMetrics(@jakarta.annotation.Nullable final MultiTenantApplicationMetrics value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/RelatedTenantCollectionResponse.java b/src/main/java/com/microsoft/graph/beta/generated/models/RelatedTenantCollectionResponse.java similarity index 94% rename from src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/RelatedTenantCollectionResponse.java rename to src/main/java/com/microsoft/graph/beta/generated/models/RelatedTenantCollectionResponse.java index 34c86ddf353..4ebea99af8e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/RelatedTenantCollectionResponse.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/RelatedTenantCollectionResponse.java @@ -1,6 +1,5 @@ -package com.microsoft.graph.beta.models.tenantgovernanceservices; +package com.microsoft.graph.beta.models; -import com.microsoft.graph.beta.models.BaseCollectionPaginationCountResponse; import com.microsoft.kiota.serialization.Parsable; import com.microsoft.kiota.serialization.ParseNode; import com.microsoft.kiota.serialization.SerializationWriter; diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/RelatedTenantsRefreshRequest.java b/src/main/java/com/microsoft/graph/beta/generated/models/RelatedTenantsRefreshRequest.java similarity index 87% rename from src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/RelatedTenantsRefreshRequest.java rename to src/main/java/com/microsoft/graph/beta/generated/models/RelatedTenantsRefreshRequest.java index c78fef47104..2d50f3144f4 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/RelatedTenantsRefreshRequest.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/RelatedTenantsRefreshRequest.java @@ -1,6 +1,5 @@ -package com.microsoft.graph.beta.models.tenantgovernanceservices; +package com.microsoft.graph.beta.models; -import com.microsoft.graph.beta.models.Entity; import com.microsoft.kiota.serialization.Parsable; import com.microsoft.kiota.serialization.ParseNode; import com.microsoft.kiota.serialization.SerializationWriter; @@ -36,7 +35,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the location property value. The location URL where the status of the refresh request can be retrieved. + * Gets the location property value. The location property * @return a {@link String} */ @jakarta.annotation.Nullable @@ -53,7 +52,7 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeStringValue("location", this.getLocation()); } /** - * Sets the location property value. The location URL where the status of the refresh request can be retrieved. + * Sets the location property value. The location property * @param value Value to set for the location property. */ public void setLocation(@jakarta.annotation.Nullable final String value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/RelatedTenantsRefreshStatus.java b/src/main/java/com/microsoft/graph/beta/generated/models/RelatedTenantsRefreshStatus.java similarity index 91% rename from src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/RelatedTenantsRefreshStatus.java rename to src/main/java/com/microsoft/graph/beta/generated/models/RelatedTenantsRefreshStatus.java index 8a2a7d6c9fa..175ace015b4 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/RelatedTenantsRefreshStatus.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/RelatedTenantsRefreshStatus.java @@ -1,4 +1,4 @@ -package com.microsoft.graph.beta.models.tenantgovernanceservices; +package com.microsoft.graph.beta.models; import com.microsoft.kiota.serialization.AdditionalDataHolder; import com.microsoft.kiota.serialization.Parsable; @@ -69,7 +69,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the isFirstRefresh property value. Describes whether the related tenants refresh was the initial aggregation done by our service or not. + * Gets the isFirstRefresh property value. The isFirstRefresh property * @return a {@link Boolean} */ @jakarta.annotation.Nullable @@ -77,7 +77,7 @@ public Boolean getIsFirstRefresh() { return this.backingStore.get("isFirstRefresh"); } /** - * Gets the mostRecentRefreshRequestStatus property value. The status of the refresh operation + * Gets the mostRecentRefreshRequestStatus property value. The mostRecentRefreshRequestStatus property * @return a {@link String} */ @jakarta.annotation.Nullable @@ -85,7 +85,7 @@ public String getMostRecentRefreshRequestStatus() { return this.backingStore.get("mostRecentRefreshRequestStatus"); } /** - * Gets the mostRecentRefreshTime property value. Timestamp of the respective refresh request. + * Gets the mostRecentRefreshTime property value. The mostRecentRefreshTime property * @return a {@link String} */ @jakarta.annotation.Nullable @@ -128,21 +128,21 @@ public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value this.backingStore = value; } /** - * Sets the isFirstRefresh property value. Describes whether the related tenants refresh was the initial aggregation done by our service or not. + * Sets the isFirstRefresh property value. The isFirstRefresh property * @param value Value to set for the isFirstRefresh property. */ public void setIsFirstRefresh(@jakarta.annotation.Nullable final Boolean value) { this.backingStore.set("isFirstRefresh", value); } /** - * Sets the mostRecentRefreshRequestStatus property value. The status of the refresh operation + * Sets the mostRecentRefreshRequestStatus property value. The mostRecentRefreshRequestStatus property * @param value Value to set for the mostRecentRefreshRequestStatus property. */ public void setMostRecentRefreshRequestStatus(@jakarta.annotation.Nullable final String value) { this.backingStore.set("mostRecentRefreshRequestStatus", value); } /** - * Sets the mostRecentRefreshTime property value. Timestamp of the respective refresh request. + * Sets the mostRecentRefreshTime property value. The mostRecentRefreshTime property * @param value Value to set for the mostRecentRefreshTime property. */ public void setMostRecentRefreshTime(@jakarta.annotation.Nullable final String value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/RelationshipCreationType.java b/src/main/java/com/microsoft/graph/beta/generated/models/RelationshipCreationType.java similarity index 95% rename from src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/RelationshipCreationType.java rename to src/main/java/com/microsoft/graph/beta/generated/models/RelationshipCreationType.java index 6fe8e404050..96efe9923fb 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/RelationshipCreationType.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/RelationshipCreationType.java @@ -1,4 +1,4 @@ -package com.microsoft.graph.beta.models.tenantgovernanceservices; +package com.microsoft.graph.beta.models; import com.microsoft.kiota.serialization.ValuedEnum; import java.util.Objects; diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/RelationshipPolicy.java b/src/main/java/com/microsoft/graph/beta/generated/models/RelationshipPolicy.java similarity index 90% rename from src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/RelationshipPolicy.java rename to src/main/java/com/microsoft/graph/beta/generated/models/RelationshipPolicy.java index 084913f2f7c..44c18f0a9dd 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/RelationshipPolicy.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/RelationshipPolicy.java @@ -1,4 +1,4 @@ -package com.microsoft.graph.beta.models.tenantgovernanceservices; +package com.microsoft.graph.beta.models; import com.microsoft.kiota.serialization.AdditionalDataHolder; import com.microsoft.kiota.serialization.Parsable; @@ -56,7 +56,7 @@ public BackingStore getBackingStore() { return this.backingStore; } /** - * Gets the delegatedAdministrationRoleAssignments property value. A snapshot of the delegated administration role assignments configured in this policy. + * Gets the delegatedAdministrationRoleAssignments property value. The delegatedAdministrationRoleAssignments property * @return a {@link java.util.List} */ @jakarta.annotation.Nullable @@ -79,7 +79,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the governedTenantCanTerminate property value. Indicates whether the governed tenant can terminate the relationship. + * Gets the governedTenantCanTerminate property value. The governedTenantCanTerminate property * @return a {@link Boolean} */ @jakarta.annotation.Nullable @@ -87,7 +87,7 @@ public Boolean getGovernedTenantCanTerminate() { return this.backingStore.get("governedTenantCanTerminate"); } /** - * Gets the multiTenantApplicationsToProvision property value. A snapshot of the multi-tenant applications to be provisioned in the governed tenant. + * Gets the multiTenantApplicationsToProvision property value. The multiTenantApplicationsToProvision property * @return a {@link java.util.List} */ @jakarta.annotation.Nullable @@ -103,7 +103,7 @@ public String getOdataType() { return this.backingStore.get("odataType"); } /** - * Gets the policyId property value. The identifier of the source policy template from which this snapshot was created. + * Gets the policyId property value. The policyId property * @return a {@link String} */ @jakarta.annotation.Nullable @@ -147,21 +147,21 @@ public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value this.backingStore = value; } /** - * Sets the delegatedAdministrationRoleAssignments property value. A snapshot of the delegated administration role assignments configured in this policy. + * Sets the delegatedAdministrationRoleAssignments property value. The delegatedAdministrationRoleAssignments property * @param value Value to set for the delegatedAdministrationRoleAssignments property. */ public void setDelegatedAdministrationRoleAssignments(@jakarta.annotation.Nullable final java.util.List value) { this.backingStore.set("delegatedAdministrationRoleAssignments", value); } /** - * Sets the governedTenantCanTerminate property value. Indicates whether the governed tenant can terminate the relationship. + * Sets the governedTenantCanTerminate property value. The governedTenantCanTerminate property * @param value Value to set for the governedTenantCanTerminate property. */ public void setGovernedTenantCanTerminate(@jakarta.annotation.Nullable final Boolean value) { this.backingStore.set("governedTenantCanTerminate", value); } /** - * Sets the multiTenantApplicationsToProvision property value. A snapshot of the multi-tenant applications to be provisioned in the governed tenant. + * Sets the multiTenantApplicationsToProvision property value. The multiTenantApplicationsToProvision property * @param value Value to set for the multiTenantApplicationsToProvision property. */ public void setMultiTenantApplicationsToProvision(@jakarta.annotation.Nullable final java.util.List value) { @@ -175,7 +175,7 @@ public void setOdataType(@jakarta.annotation.Nullable final String value) { this.backingStore.set("odataType", value); } /** - * Sets the policyId property value. The identifier of the source policy template from which this snapshot was created. + * Sets the policyId property value. The policyId property * @param value Value to set for the policyId property. */ public void setPolicyId(@jakarta.annotation.Nullable final String value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/RelationshipStatus.java b/src/main/java/com/microsoft/graph/beta/generated/models/RelationshipStatus.java similarity index 95% rename from src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/RelationshipStatus.java rename to src/main/java/com/microsoft/graph/beta/generated/models/RelationshipStatus.java index bec571f368b..1d1ca75fe1d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/RelationshipStatus.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/RelationshipStatus.java @@ -1,4 +1,4 @@ -package com.microsoft.graph.beta.models.tenantgovernanceservices; +package com.microsoft.graph.beta.models; import com.microsoft.kiota.serialization.ValuedEnum; import java.util.Objects; diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/RemoteAction.java b/src/main/java/com/microsoft/graph/beta/generated/models/RemoteAction.java index 1cec632a680..f7aecf2a39c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/RemoteAction.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/RemoteAction.java @@ -89,7 +89,11 @@ public enum RemoteAction implements ValuedEnum { /** Indicates remote device action to temporarily suspend the Managed Home Screen kiosk app. */ SuspendManagedHomeScreen("suspendManagedHomeScreen"), /** Indicates remote device action to restore the Managed Home Screen kiosk app. */ - RestoreManagedHomeScreen("restoreManagedHomeScreen"); + RestoreManagedHomeScreen("restoreManagedHomeScreen"), + /** Indicates remote device action to trigger an AppleCare-authorized enhanced log collection session on a supervised Apple device. */ + TriggerEnhancedLogCollection("triggerEnhancedLogCollection"), + /** Indicates remote device action to cancel an in-progress enhanced log collection session on a supervised Apple device. */ + CancelEnhancedLogCollection("cancelEnhancedLogCollection"); public final String value; RemoteAction(final String value) { this.value = value; @@ -141,6 +145,8 @@ public static RemoteAction forValue(@jakarta.annotation.Nonnull final String sea case "delete": return Delete; case "suspendManagedHomeScreen": return SuspendManagedHomeScreen; case "restoreManagedHomeScreen": return RestoreManagedHomeScreen; + case "triggerEnhancedLogCollection": return TriggerEnhancedLogCollection; + case "cancelEnhancedLogCollection": return CancelEnhancedLogCollection; default: return null; } } diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/RequestStatus.java b/src/main/java/com/microsoft/graph/beta/generated/models/RequestStatus.java similarity index 94% rename from src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/RequestStatus.java rename to src/main/java/com/microsoft/graph/beta/generated/models/RequestStatus.java index 0ef6692cfc9..42d3c0c1cfb 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/RequestStatus.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/RequestStatus.java @@ -1,4 +1,4 @@ -package com.microsoft.graph.beta.models.tenantgovernanceservices; +package com.microsoft.graph.beta.models; import com.microsoft.kiota.serialization.ValuedEnum; import java.util.Objects; diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/RequiredLicenses.java b/src/main/java/com/microsoft/graph/beta/generated/models/RequiredLicenses.java index f660f0db6c2..fc09645377b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/RequiredLicenses.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/RequiredLicenses.java @@ -12,7 +12,8 @@ public enum RequiredLicenses implements ValuedEnum { MicrosoftEntraIdGovernance("microsoftEntraIdGovernance"), MicrosoftEntraWorkloadId("microsoftEntraWorkloadId"), UnknownFutureValue("unknownFutureValue"), - Aatp("aatp"); + Aatp("aatp"), + MicrosoftEntraSuite("microsoftEntraSuite"); public final String value; RequiredLicenses(final String value) { this.value = value; @@ -31,6 +32,7 @@ public static RequiredLicenses forValue(@jakarta.annotation.Nonnull final String case "microsoftEntraWorkloadId": return MicrosoftEntraWorkloadId; case "unknownFutureValue": return UnknownFutureValue; case "aatp": return Aatp; + case "microsoftEntraSuite": return MicrosoftEntraSuite; default: return null; } } diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/ResultantAppStateDetail.java b/src/main/java/com/microsoft/graph/beta/generated/models/ResultantAppStateDetail.java index 97f187e2880..c127fcc1b65 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/ResultantAppStateDetail.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/ResultantAppStateDetail.java @@ -72,6 +72,8 @@ public enum ResultantAppStateDetail implements ValuedEnum { UntargetedSupersedingAppsDetected("untargetedSupersedingAppsDetected"), /** App was removed in order to install a superseding app. */ AppRemovedBySupersedence("appRemovedBySupersedence"), + /** App cannot be installed. One or more of the application's dependencies are in use. */ + DependencyAppInUse("dependencyAppInUse"), /** Application failed to uninstall. See error code property for more details. */ SeeUninstallErrorCode("seeUninstallErrorCode"), /** Device must be rebooted to complete installation of the application. */ @@ -79,7 +81,13 @@ public enum ResultantAppStateDetail implements ValuedEnum { /** One or more of the application's dependencies are installing. */ InstallingDependencies("installingDependencies"), /** Application content was downloaded to the device. */ - ContentDownloaded("contentDownloaded"); + ContentDownloaded("contentDownloaded"), + /** App enforcement is pending because the app is currently in use. */ + InUse("inUse"), + /** App enforcement was deferred by the user because the app is currently in use. */ + Deferred("deferred"), + /** App enforcement was automatically deferred because the app is currently in use and a user response was not available. */ + AutoDeferred("autoDeferred"); public final String value; ResultantAppStateDetail(final String value) { this.value = value; @@ -122,10 +130,14 @@ public static ResultantAppStateDetail forValue(@jakarta.annotation.Nonnull final case "userIsNotLoggedIntoAppStore": return UserIsNotLoggedIntoAppStore; case "untargetedSupersedingAppsDetected": return UntargetedSupersedingAppsDetected; case "appRemovedBySupersedence": return AppRemovedBySupersedence; + case "dependencyAppInUse": return DependencyAppInUse; case "seeUninstallErrorCode": return SeeUninstallErrorCode; case "pendingReboot": return PendingReboot; case "installingDependencies": return InstallingDependencies; case "contentDownloaded": return ContentDownloaded; + case "inUse": return InUse; + case "deferred": return Deferred; + case "autoDeferred": return AutoDeferred; default: return null; } } diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/RiskyAgent.java b/src/main/java/com/microsoft/graph/beta/generated/models/RiskyAgent.java index 0827723a101..5d2d24ea829 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/RiskyAgent.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/RiskyAgent.java @@ -27,6 +27,7 @@ public static RiskyAgent createFromDiscriminatorValue(@jakarta.annotation.Nonnul if (mappingValueNode != null) { final String mappingValue = mappingValueNode.getStringValue(); switch (mappingValue) { + case "#microsoft.graph.riskyAgentDiscoveredAgentIdentity": return new RiskyAgentDiscoveredAgentIdentity(); case "#microsoft.graph.riskyAgentIdentity": return new RiskyAgentIdentity(); case "#microsoft.graph.riskyAgentIdentityBlueprintPrincipal": return new RiskyAgentIdentityBlueprintPrincipal(); case "#microsoft.graph.riskyAgentUser": return new RiskyAgentUser(); diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/RiskyAgentDiscoveredAgentIdentity.java b/src/main/java/com/microsoft/graph/beta/generated/models/RiskyAgentDiscoveredAgentIdentity.java new file mode 100644 index 00000000000..8d5b1831032 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/RiskyAgentDiscoveredAgentIdentity.java @@ -0,0 +1,44 @@ +package com.microsoft.graph.beta.models; + +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RiskyAgentDiscoveredAgentIdentity extends RiskyAgent implements Parsable { + /** + * Instantiates a new {@link RiskyAgentDiscoveredAgentIdentity} and sets the default values. + */ + public RiskyAgentDiscoveredAgentIdentity() { + super(); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link RiskyAgentDiscoveredAgentIdentity} + */ + @jakarta.annotation.Nonnull + public static RiskyAgentDiscoveredAgentIdentity createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new RiskyAgentDiscoveredAgentIdentity(); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + return deserializerMap; + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/RoleTemplate.java b/src/main/java/com/microsoft/graph/beta/generated/models/RoleTemplate.java similarity index 89% rename from src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/RoleTemplate.java rename to src/main/java/com/microsoft/graph/beta/generated/models/RoleTemplate.java index 22c696a11e4..7fdfa7d5a61 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/RoleTemplate.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/RoleTemplate.java @@ -1,4 +1,4 @@ -package com.microsoft.graph.beta.models.tenantgovernanceservices; +package com.microsoft.graph.beta.models; import com.microsoft.kiota.serialization.AdditionalDataHolder; import com.microsoft.kiota.serialization.Parsable; @@ -68,7 +68,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the id property value. The template ID of the Microsoft Entra role (e.g., 62e90394-69f5-4237-9190-012177145e10 for Global Administrator). + * Gets the id property value. The id property * @return a {@link String} */ @jakarta.annotation.Nullable @@ -76,7 +76,7 @@ public String getId() { return this.backingStore.get("id"); } /** - * Gets the name property value. The display name of the role (e.g., 'Global Administrator', 'Helpdesk Administrator'). + * Gets the name property value. The name property * @return a {@link String} */ @jakarta.annotation.Nullable @@ -118,14 +118,14 @@ public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value this.backingStore = value; } /** - * Sets the id property value. The template ID of the Microsoft Entra role (e.g., 62e90394-69f5-4237-9190-012177145e10 for Global Administrator). + * Sets the id property value. The id property * @param value Value to set for the id property. */ public void setId(@jakarta.annotation.Nullable final String value) { this.backingStore.set("id", value); } /** - * Sets the name property value. The display name of the role (e.g., 'Global Administrator', 'Helpdesk Administrator'). + * Sets the name property value. The name property * @param value Value to set for the name property. */ public void setName(@jakarta.annotation.Nullable final String value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/SapAssignmentRequestCallbackData.java b/src/main/java/com/microsoft/graph/beta/generated/models/SapAssignmentRequestCallbackData.java new file mode 100644 index 00000000000..177045667c0 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/SapAssignmentRequestCallbackData.java @@ -0,0 +1,96 @@ +package com.microsoft.graph.beta.models; + +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class SapAssignmentRequestCallbackData extends CustomExtensionData implements Parsable { + /** + * Instantiates a new {@link SapAssignmentRequestCallbackData} and sets the default values. + */ + public SapAssignmentRequestCallbackData() { + super(); + this.setOdataType("#microsoft.graph.sapAssignmentRequestCallbackData"); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link SapAssignmentRequestCallbackData} + */ + @jakarta.annotation.Nonnull + public static SapAssignmentRequestCallbackData createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new SapAssignmentRequestCallbackData(); + } + /** + * Gets the detail property value. The detail property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getDetail() { + return this.backingStore.get("detail"); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("detail", (n) -> { this.setDetail(n.getStringValue()); }); + deserializerMap.put("requestNumber", (n) -> { this.setRequestNumber(n.getStringValue()); }); + deserializerMap.put("state", (n) -> { this.setState(n.getStringValue()); }); + return deserializerMap; + } + /** + * Gets the requestNumber property value. The requestNumber property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getRequestNumber() { + return this.backingStore.get("requestNumber"); + } + /** + * Gets the state property value. The state property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getState() { + return this.backingStore.get("state"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeStringValue("detail", this.getDetail()); + writer.writeStringValue("requestNumber", this.getRequestNumber()); + writer.writeStringValue("state", this.getState()); + } + /** + * Sets the detail property value. The detail property + * @param value Value to set for the detail property. + */ + public void setDetail(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("detail", value); + } + /** + * Sets the requestNumber property value. The requestNumber property + * @param value Value to set for the requestNumber property. + */ + public void setRequestNumber(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("requestNumber", value); + } + /** + * Sets the state property value. The state property + * @param value Value to set for the state property. + */ + public void setState(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("state", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/ServicePrincipal.java b/src/main/java/com/microsoft/graph/beta/generated/models/ServicePrincipal.java index 8405045e995..b0d168458ae 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/ServicePrincipal.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/ServicePrincipal.java @@ -1,5 +1,6 @@ package com.microsoft.graph.beta.models; +import com.microsoft.graph.beta.models.identitygovernance.IdentityLifecycle; import com.microsoft.kiota.serialization.Parsable; import com.microsoft.kiota.serialization.ParseNode; import com.microsoft.kiota.serialization.SerializationWriter; @@ -273,6 +274,7 @@ public Map> getFieldDeserializers deserializerMap.put("isDisabled", (n) -> { this.setIsDisabled(n.getBooleanValue()); }); deserializerMap.put("keyCredentials", (n) -> { this.setKeyCredentials(n.getCollectionOfObjectValues(KeyCredential::createFromDiscriminatorValue)); }); deserializerMap.put("licenseDetails", (n) -> { this.setLicenseDetails(n.getCollectionOfObjectValues(LicenseDetails::createFromDiscriminatorValue)); }); + deserializerMap.put("lifecycle", (n) -> { this.setLifecycle(n.getObjectValue(IdentityLifecycle::createFromDiscriminatorValue)); }); deserializerMap.put("loginUrl", (n) -> { this.setLoginUrl(n.getStringValue()); }); deserializerMap.put("logoutUrl", (n) -> { this.setLogoutUrl(n.getStringValue()); }); deserializerMap.put("memberOf", (n) -> { this.setMemberOf(n.getCollectionOfObjectValues(DirectoryObject::createFromDiscriminatorValue)); }); @@ -353,6 +355,14 @@ public java.util.List getKeyCredentials() { public java.util.List getLicenseDetails() { return this.backingStore.get("licenseDetails"); } + /** + * Gets the lifecycle property value. The lifecycle property + * @return a {@link IdentityLifecycle} + */ + @jakarta.annotation.Nullable + public IdentityLifecycle getLifecycle() { + return this.backingStore.get("lifecycle"); + } /** * Gets the loginUrl property value. Specifies the URL where the service provider redirects the user to Microsoft Entra ID to authenticate. Microsoft Entra ID uses the URL to launch the application from Microsoft 365 or the Microsoft Entra My Apps. When blank, Microsoft Entra ID performs IdP-initiated sign-on for applications configured with SAML-based single sign-on. The user launches the application from Microsoft 365, the Microsoft Entra My Apps, or the Microsoft Entra SSO URL. * @return a {@link String} @@ -631,6 +641,7 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeBooleanValue("isDisabled", this.getIsDisabled()); writer.writeCollectionOfObjectValues("keyCredentials", this.getKeyCredentials()); writer.writeCollectionOfObjectValues("licenseDetails", this.getLicenseDetails()); + writer.writeObjectValue("lifecycle", this.getLifecycle()); writer.writeStringValue("loginUrl", this.getLoginUrl()); writer.writeStringValue("logoutUrl", this.getLogoutUrl()); writer.writeCollectionOfObjectValues("memberOf", this.getMemberOf()); @@ -879,6 +890,13 @@ public void setKeyCredentials(@jakarta.annotation.Nullable final java.util.List< public void setLicenseDetails(@jakarta.annotation.Nullable final java.util.List value) { this.backingStore.set("licenseDetails", value); } + /** + * Sets the lifecycle property value. The lifecycle property + * @param value Value to set for the lifecycle property. + */ + public void setLifecycle(@jakarta.annotation.Nullable final IdentityLifecycle value) { + this.backingStore.set("lifecycle", value); + } /** * Sets the loginUrl property value. Specifies the URL where the service provider redirects the user to Microsoft Entra ID to authenticate. Microsoft Entra ID uses the URL to launch the application from Microsoft 365 or the Microsoft Entra My Apps. When blank, Microsoft Entra ID performs IdP-initiated sign-on for applications configured with SAML-based single sign-on. The user launches the application from Microsoft 365, the Microsoft Entra My Apps, or the Microsoft Entra SSO URL. * @param value Value to set for the loginUrl property. diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/SubjectSet.java b/src/main/java/com/microsoft/graph/beta/generated/models/SubjectSet.java index 30978671d2e..5bec0dff6f6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/SubjectSet.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/SubjectSet.java @@ -1,7 +1,10 @@ package com.microsoft.graph.beta.models; +import com.microsoft.graph.beta.models.identitygovernance.AllExcludingGroupsSubjectSet; +import com.microsoft.graph.beta.models.identitygovernance.AllExcludingSpecificObjectsSubjectSet; import com.microsoft.graph.beta.models.identitygovernance.GroupBasedSubjectSet; import com.microsoft.graph.beta.models.identitygovernance.RuleBasedSubjectSet; +import com.microsoft.graph.beta.models.identitygovernance.SelectedObjectsSubjectSet; import com.microsoft.kiota.serialization.AdditionalDataHolder; import com.microsoft.kiota.serialization.Parsable; import com.microsoft.kiota.serialization.ParseNode; @@ -38,8 +41,11 @@ public static SubjectSet createFromDiscriminatorValue(@jakarta.annotation.Nonnul if (mappingValueNode != null) { final String mappingValue = mappingValueNode.getStringValue(); switch (mappingValue) { + case "#microsoft.graph.identityGovernance.allExcludingGroupsSubjectSet": return new AllExcludingGroupsSubjectSet(); + case "#microsoft.graph.identityGovernance.allExcludingSpecificObjectsSubjectSet": return new AllExcludingSpecificObjectsSubjectSet(); case "#microsoft.graph.identityGovernance.groupBasedSubjectSet": return new GroupBasedSubjectSet(); case "#microsoft.graph.identityGovernance.ruleBasedSubjectSet": return new RuleBasedSubjectSet(); + case "#microsoft.graph.identityGovernance.selectedObjectsSubjectSet": return new SelectedObjectsSubjectSet(); } } return new SubjectSet(); diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/TenantGovernance.java b/src/main/java/com/microsoft/graph/beta/generated/models/TenantGovernance.java similarity index 78% rename from src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/TenantGovernance.java rename to src/main/java/com/microsoft/graph/beta/generated/models/TenantGovernance.java index b7f43b49836..cbff80c0673 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/TenantGovernance.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/TenantGovernance.java @@ -1,6 +1,5 @@ -package com.microsoft.graph.beta.models.tenantgovernanceservices; +package com.microsoft.graph.beta.models; -import com.microsoft.graph.beta.models.Entity; import com.microsoft.kiota.serialization.Parsable; import com.microsoft.kiota.serialization.ParseNode; import com.microsoft.kiota.serialization.SerializationWriter; @@ -33,7 +32,7 @@ public static TenantGovernance createFromDiscriminatorValue(@jakarta.annotation. public Map> getFieldDeserializers() { final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); deserializerMap.put("governanceInvitations", (n) -> { this.setGovernanceInvitations(n.getCollectionOfObjectValues(GovernanceInvitation::createFromDiscriminatorValue)); }); - deserializerMap.put("governancePolicyTemplates", (n) -> { this.setGovernancePolicyTemplates(n.getCollectionOfObjectValues(GovernancePolicyTemplate::createFromDiscriminatorValue)); }); + deserializerMap.put("governancePolicyTemplates", (n) -> { this.setGovernancePolicyTemplates(n.getCollectionOfObjectValues(TenantGovernancePolicyTemplate::createFromDiscriminatorValue)); }); deserializerMap.put("governanceRelationships", (n) -> { this.setGovernanceRelationships(n.getCollectionOfObjectValues(GovernanceRelationship::createFromDiscriminatorValue)); }); deserializerMap.put("governanceRequests", (n) -> { this.setGovernanceRequests(n.getCollectionOfObjectValues(GovernanceRequest::createFromDiscriminatorValue)); }); deserializerMap.put("relatedTenants", (n) -> { this.setRelatedTenants(n.getCollectionOfObjectValues(RelatedTenant::createFromDiscriminatorValue)); }); @@ -41,7 +40,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the governanceInvitations property value. Collection of governance invitations associated with the tenant. + * Gets the governanceInvitations property value. The governanceInvitations property * @return a {@link java.util.List} */ @jakarta.annotation.Nullable @@ -49,15 +48,15 @@ public java.util.List getGovernanceInvitations() { return this.backingStore.get("governanceInvitations"); } /** - * Gets the governancePolicyTemplates property value. Collection of governance policy templates associated with the tenant. - * @return a {@link java.util.List} + * Gets the governancePolicyTemplates property value. The governancePolicyTemplates property + * @return a {@link java.util.List} */ @jakarta.annotation.Nullable - public java.util.List getGovernancePolicyTemplates() { + public java.util.List getGovernancePolicyTemplates() { return this.backingStore.get("governancePolicyTemplates"); } /** - * Gets the governanceRelationships property value. Collection of governance relationships associated with the tenant. + * Gets the governanceRelationships property value. The governanceRelationships property * @return a {@link java.util.List} */ @jakarta.annotation.Nullable @@ -65,7 +64,7 @@ public java.util.List getGovernanceRelationships() { return this.backingStore.get("governanceRelationships"); } /** - * Gets the governanceRequests property value. Collection of governance requests associated with the tenant. + * Gets the governanceRequests property value. The governanceRequests property * @return a {@link java.util.List} */ @jakarta.annotation.Nullable @@ -73,7 +72,7 @@ public java.util.List getGovernanceRequests() { return this.backingStore.get("governanceRequests"); } /** - * Gets the relatedTenants property value. Collection of related tenants associated with the tenant. + * Gets the relatedTenants property value. The relatedTenants property * @return a {@link java.util.List} */ @jakarta.annotation.Nullable @@ -81,7 +80,7 @@ public java.util.List getRelatedTenants() { return this.backingStore.get("relatedTenants"); } /** - * Gets the settings property value. Settings for the tenant governance container. + * Gets the settings property value. The settings property * @return a {@link TenantGovernanceSetting} */ @jakarta.annotation.Nullable @@ -103,42 +102,42 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeObjectValue("settings", this.getSettings()); } /** - * Sets the governanceInvitations property value. Collection of governance invitations associated with the tenant. + * Sets the governanceInvitations property value. The governanceInvitations property * @param value Value to set for the governanceInvitations property. */ public void setGovernanceInvitations(@jakarta.annotation.Nullable final java.util.List value) { this.backingStore.set("governanceInvitations", value); } /** - * Sets the governancePolicyTemplates property value. Collection of governance policy templates associated with the tenant. + * Sets the governancePolicyTemplates property value. The governancePolicyTemplates property * @param value Value to set for the governancePolicyTemplates property. */ - public void setGovernancePolicyTemplates(@jakarta.annotation.Nullable final java.util.List value) { + public void setGovernancePolicyTemplates(@jakarta.annotation.Nullable final java.util.List value) { this.backingStore.set("governancePolicyTemplates", value); } /** - * Sets the governanceRelationships property value. Collection of governance relationships associated with the tenant. + * Sets the governanceRelationships property value. The governanceRelationships property * @param value Value to set for the governanceRelationships property. */ public void setGovernanceRelationships(@jakarta.annotation.Nullable final java.util.List value) { this.backingStore.set("governanceRelationships", value); } /** - * Sets the governanceRequests property value. Collection of governance requests associated with the tenant. + * Sets the governanceRequests property value. The governanceRequests property * @param value Value to set for the governanceRequests property. */ public void setGovernanceRequests(@jakarta.annotation.Nullable final java.util.List value) { this.backingStore.set("governanceRequests", value); } /** - * Sets the relatedTenants property value. Collection of related tenants associated with the tenant. + * Sets the relatedTenants property value. The relatedTenants property * @param value Value to set for the relatedTenants property. */ public void setRelatedTenants(@jakarta.annotation.Nullable final java.util.List value) { this.backingStore.set("relatedTenants", value); } /** - * Sets the settings property value. Settings for the tenant governance container. + * Sets the settings property value. The settings property * @param value Value to set for the settings property. */ public void setSettings(@jakarta.annotation.Nullable final TenantGovernanceSetting value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/GovernancePolicyTemplate.java b/src/main/java/com/microsoft/graph/beta/generated/models/TenantGovernancePolicyTemplate.java similarity index 70% rename from src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/GovernancePolicyTemplate.java rename to src/main/java/com/microsoft/graph/beta/generated/models/TenantGovernancePolicyTemplate.java index 3de2f83f6f2..d3293ca034b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/GovernancePolicyTemplate.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/TenantGovernancePolicyTemplate.java @@ -1,6 +1,5 @@ -package com.microsoft.graph.beta.models.tenantgovernanceservices; +package com.microsoft.graph.beta.models; -import com.microsoft.graph.beta.models.Entity; import com.microsoft.kiota.serialization.Parsable; import com.microsoft.kiota.serialization.ParseNode; import com.microsoft.kiota.serialization.SerializationWriter; @@ -9,25 +8,25 @@ import java.util.Map; import java.util.Objects; @jakarta.annotation.Generated("com.microsoft.kiota") -public class GovernancePolicyTemplate extends Entity implements Parsable { +public class TenantGovernancePolicyTemplate extends Entity implements Parsable { /** - * Instantiates a new {@link GovernancePolicyTemplate} and sets the default values. + * Instantiates a new {@link TenantGovernancePolicyTemplate} and sets the default values. */ - public GovernancePolicyTemplate() { + public TenantGovernancePolicyTemplate() { super(); } /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object - * @return a {@link GovernancePolicyTemplate} + * @return a {@link TenantGovernancePolicyTemplate} */ @jakarta.annotation.Nonnull - public static GovernancePolicyTemplate createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + public static TenantGovernancePolicyTemplate createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { Objects.requireNonNull(parseNode); - return new GovernancePolicyTemplate(); + return new TenantGovernancePolicyTemplate(); } /** - * Gets the createdDateTime property value. The date and time when the template was created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. Supports $filter (lt, le, gt, ge, eq, ne) and $orderBy. + * Gets the createdDateTime property value. The createdDateTime property * @return a {@link OffsetDateTime} */ @jakarta.annotation.Nullable @@ -35,7 +34,7 @@ public OffsetDateTime getCreatedDateTime() { return this.backingStore.get("createdDateTime"); } /** - * Gets the delegatedAdministrationRoleAssignments property value. A collection of delegated administration role assignments to be applied in the governed tenant when the governance relationship is established. + * Gets the delegatedAdministrationRoleAssignments property value. The delegatedAdministrationRoleAssignments property * @return a {@link java.util.List} */ @jakarta.annotation.Nullable @@ -43,7 +42,7 @@ public java.util.List getDelegatedAdminis return this.backingStore.get("delegatedAdministrationRoleAssignments"); } /** - * Gets the description property value. A description of the policy template. Supports $filter (eq, ne) and $orderBy. + * Gets the description property value. The description property * @return a {@link String} */ @jakarta.annotation.Nullable @@ -51,7 +50,7 @@ public String getDescription() { return this.backingStore.get("description"); } /** - * Gets the displayName property value. The display name of the policy template. Supports $filter (eq, ne) and $orderBy. + * Gets the displayName property value. The displayName property * @return a {@link String} */ @jakarta.annotation.Nullable @@ -76,7 +75,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the governedTenantCanTerminate property value. Not implemented. + * Gets the governedTenantCanTerminate property value. The governedTenantCanTerminate property * @return a {@link Boolean} */ @jakarta.annotation.Nullable @@ -84,7 +83,7 @@ public Boolean getGovernedTenantCanTerminate() { return this.backingStore.get("governedTenantCanTerminate"); } /** - * Gets the lastModifiedDateTime property value. The date and time when the template was last modified. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. Supports $filter (lt, le, gt, ge, eq, ne) and $orderBy. + * Gets the lastModifiedDateTime property value. The lastModifiedDateTime property * @return a {@link OffsetDateTime} */ @jakarta.annotation.Nullable @@ -92,7 +91,7 @@ public OffsetDateTime getLastModifiedDateTime() { return this.backingStore.get("lastModifiedDateTime"); } /** - * Gets the multiTenantApplicationsToProvision property value. A collection of multi-tenant applications to be provisioned in the governed tenant when the governance relationship is established. + * Gets the multiTenantApplicationsToProvision property value. The multiTenantApplicationsToProvision property * @return a {@link java.util.List} */ @jakarta.annotation.Nullable @@ -100,7 +99,7 @@ public java.util.List getMultiTenantApplicat return this.backingStore.get("multiTenantApplicationsToProvision"); } /** - * Gets the version property value. The version of the policy template. Version count increased by 1 when updated. Supports $filter (lt, le, gt, ge, eq, ne) and $orderBy. + * Gets the version property value. The version property * @return a {@link String} */ @jakarta.annotation.Nullable @@ -124,56 +123,56 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeStringValue("version", this.getVersion()); } /** - * Sets the createdDateTime property value. The date and time when the template was created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. Supports $filter (lt, le, gt, ge, eq, ne) and $orderBy. + * Sets the createdDateTime property value. The createdDateTime property * @param value Value to set for the createdDateTime property. */ public void setCreatedDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { this.backingStore.set("createdDateTime", value); } /** - * Sets the delegatedAdministrationRoleAssignments property value. A collection of delegated administration role assignments to be applied in the governed tenant when the governance relationship is established. + * Sets the delegatedAdministrationRoleAssignments property value. The delegatedAdministrationRoleAssignments property * @param value Value to set for the delegatedAdministrationRoleAssignments property. */ public void setDelegatedAdministrationRoleAssignments(@jakarta.annotation.Nullable final java.util.List value) { this.backingStore.set("delegatedAdministrationRoleAssignments", value); } /** - * Sets the description property value. A description of the policy template. Supports $filter (eq, ne) and $orderBy. + * Sets the description property value. The description property * @param value Value to set for the description property. */ public void setDescription(@jakarta.annotation.Nullable final String value) { this.backingStore.set("description", value); } /** - * Sets the displayName property value. The display name of the policy template. Supports $filter (eq, ne) and $orderBy. + * Sets the displayName property value. The displayName property * @param value Value to set for the displayName property. */ public void setDisplayName(@jakarta.annotation.Nullable final String value) { this.backingStore.set("displayName", value); } /** - * Sets the governedTenantCanTerminate property value. Not implemented. + * Sets the governedTenantCanTerminate property value. The governedTenantCanTerminate property * @param value Value to set for the governedTenantCanTerminate property. */ public void setGovernedTenantCanTerminate(@jakarta.annotation.Nullable final Boolean value) { this.backingStore.set("governedTenantCanTerminate", value); } /** - * Sets the lastModifiedDateTime property value. The date and time when the template was last modified. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. Supports $filter (lt, le, gt, ge, eq, ne) and $orderBy. + * Sets the lastModifiedDateTime property value. The lastModifiedDateTime property * @param value Value to set for the lastModifiedDateTime property. */ public void setLastModifiedDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { this.backingStore.set("lastModifiedDateTime", value); } /** - * Sets the multiTenantApplicationsToProvision property value. A collection of multi-tenant applications to be provisioned in the governed tenant when the governance relationship is established. + * Sets the multiTenantApplicationsToProvision property value. The multiTenantApplicationsToProvision property * @param value Value to set for the multiTenantApplicationsToProvision property. */ public void setMultiTenantApplicationsToProvision(@jakarta.annotation.Nullable final java.util.List value) { this.backingStore.set("multiTenantApplicationsToProvision", value); } /** - * Sets the version property value. The version of the policy template. Version count increased by 1 when updated. Supports $filter (lt, le, gt, ge, eq, ne) and $orderBy. + * Sets the version property value. The version property * @param value Value to set for the version property. */ public void setVersion(@jakarta.annotation.Nullable final String value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/TenantGovernancePolicyTemplateCollectionResponse.java b/src/main/java/com/microsoft/graph/beta/generated/models/TenantGovernancePolicyTemplateCollectionResponse.java new file mode 100644 index 00000000000..24f4363920b --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/TenantGovernancePolicyTemplateCollectionResponse.java @@ -0,0 +1,61 @@ +package com.microsoft.graph.beta.models; + +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class TenantGovernancePolicyTemplateCollectionResponse extends BaseCollectionPaginationCountResponse implements Parsable { + /** + * Instantiates a new {@link TenantGovernancePolicyTemplateCollectionResponse} and sets the default values. + */ + public TenantGovernancePolicyTemplateCollectionResponse() { + super(); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link TenantGovernancePolicyTemplateCollectionResponse} + */ + @jakarta.annotation.Nonnull + public static TenantGovernancePolicyTemplateCollectionResponse createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new TenantGovernancePolicyTemplateCollectionResponse(); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("value", (n) -> { this.setValue(n.getCollectionOfObjectValues(TenantGovernancePolicyTemplate::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the value property value. The value property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getValue() { + return this.backingStore.get("value"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeCollectionOfObjectValues("value", this.getValue()); + } + /** + * Sets the value property value. The value property + * @param value Value to set for the value property. + */ + public void setValue(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("value", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/TenantGovernanceSetting.java b/src/main/java/com/microsoft/graph/beta/generated/models/TenantGovernanceSetting.java similarity index 70% rename from src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/TenantGovernanceSetting.java rename to src/main/java/com/microsoft/graph/beta/generated/models/TenantGovernanceSetting.java index 2c5e83316d5..3018273d2df 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/TenantGovernanceSetting.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/TenantGovernanceSetting.java @@ -1,6 +1,5 @@ -package com.microsoft.graph.beta.models.tenantgovernanceservices; +package com.microsoft.graph.beta.models; -import com.microsoft.graph.beta.models.Entity; import com.microsoft.kiota.serialization.Parsable; import com.microsoft.kiota.serialization.ParseNode; import com.microsoft.kiota.serialization.SerializationWriter; @@ -26,7 +25,7 @@ public static TenantGovernanceSetting createFromDiscriminatorValue(@jakarta.anno return new TenantGovernanceSetting(); } /** - * Gets the canReceiveInvitations property value. Indicates whether the tenant can receive governance invitations. When set to false, the tenant cannot receive new governance invitations. When set to true, other tenants can send your tenant invitations by providing your tenant id or domain name. Default value is false. + * Gets the canReceiveInvitations property value. The canReceiveInvitations property * @return a {@link Boolean} */ @jakarta.annotation.Nullable @@ -45,7 +44,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the isRelatedTenantsEnabled property value. Indicates whether the related tenants feature is enabled for tenant discovery. When set to false, related tenant APIs don't work. This property can be enabled by calling the enableRelatedTenants action. Default value is false. + * Gets the isRelatedTenantsEnabled property value. The isRelatedTenantsEnabled property * @return a {@link Boolean} */ @jakarta.annotation.Nullable @@ -63,14 +62,14 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeBooleanValue("isRelatedTenantsEnabled", this.getIsRelatedTenantsEnabled()); } /** - * Sets the canReceiveInvitations property value. Indicates whether the tenant can receive governance invitations. When set to false, the tenant cannot receive new governance invitations. When set to true, other tenants can send your tenant invitations by providing your tenant id or domain name. Default value is false. + * Sets the canReceiveInvitations property value. The canReceiveInvitations property * @param value Value to set for the canReceiveInvitations property. */ public void setCanReceiveInvitations(@jakarta.annotation.Nullable final Boolean value) { this.backingStore.set("canReceiveInvitations", value); } /** - * Sets the isRelatedTenantsEnabled property value. Indicates whether the related tenants feature is enabled for tenant discovery. When set to false, related tenant APIs don't work. This property can be enabled by calling the enableRelatedTenants action. Default value is false. + * Sets the isRelatedTenantsEnabled property value. The isRelatedTenantsEnabled property * @param value Value to set for the isRelatedTenantsEnabled property. */ public void setIsRelatedTenantsEnabled(@jakarta.annotation.Nullable final Boolean value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/TextClassificationRequest.java b/src/main/java/com/microsoft/graph/beta/generated/models/TextClassificationRequest.java index 4eebe9d922a..c6a94978242 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/TextClassificationRequest.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/TextClassificationRequest.java @@ -33,6 +33,14 @@ public static TextClassificationRequest createFromDiscriminatorValue(@jakarta.an public ClassificationRequestContentMetaData getContentMetaData() { return this.backingStore.get("contentMetaData"); } + /** + * Gets the embeddings property value. Optional caller-supplied precomputed embeddings for the text, so the service can skip recomputing them. Embeddings for models outside the allow-list are rejected with a 400. + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getEmbeddings() { + return this.backingStore.get("embeddings"); + } /** * The deserialization information for the current model * @return a {@link Map>} @@ -41,6 +49,7 @@ public ClassificationRequestContentMetaData getContentMetaData() { public Map> getFieldDeserializers() { final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); deserializerMap.put("contentMetaData", (n) -> { this.setContentMetaData(n.getObjectValue(ClassificationRequestContentMetaData::createFromDiscriminatorValue)); }); + deserializerMap.put("embeddings", (n) -> { this.setEmbeddings(n.getCollectionOfObjectValues(EmbeddingInput::createFromDiscriminatorValue)); }); deserializerMap.put("fileExtension", (n) -> { this.setFileExtension(n.getStringValue()); }); deserializerMap.put("matchTolerancesToInclude", (n) -> { this.setMatchTolerancesToInclude(n.getEnumSetValue(MlClassificationMatchTolerance::forValue)); }); deserializerMap.put("scopesToRun", (n) -> { this.setScopesToRun(n.getEnumSetValue(SensitiveTypeScope::forValue)); }); @@ -96,6 +105,7 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ Objects.requireNonNull(writer); super.serialize(writer); writer.writeObjectValue("contentMetaData", this.getContentMetaData()); + writer.writeCollectionOfObjectValues("embeddings", this.getEmbeddings()); writer.writeStringValue("fileExtension", this.getFileExtension()); writer.writeEnumSetValue("matchTolerancesToInclude", this.getMatchTolerancesToInclude()); writer.writeEnumSetValue("scopesToRun", this.getScopesToRun()); @@ -109,6 +119,13 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ public void setContentMetaData(@jakarta.annotation.Nullable final ClassificationRequestContentMetaData value) { this.backingStore.set("contentMetaData", value); } + /** + * Sets the embeddings property value. Optional caller-supplied precomputed embeddings for the text, so the service can skip recomputing them. Embeddings for models outside the allow-list are rejected with a 400. + * @param value Value to set for the embeddings property. + */ + public void setEmbeddings(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("embeddings", value); + } /** * Sets the fileExtension property value. The file extension of the content being classified. * @param value Value to set for the fileExtension property. diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/UserActivityTypes.java b/src/main/java/com/microsoft/graph/beta/generated/models/UserActivityTypes.java index 6570c7a33b8..b6d7c260c3b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/UserActivityTypes.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/UserActivityTypes.java @@ -14,7 +14,8 @@ public enum UserActivityTypes implements ValuedEnum { CopyToClipboard("copyToClipboard"), PasteFromClipboard("pasteFromClipboard"), Print("print"), - AccessDebugTools("accessDebugTools"); + AccessDebugTools("accessDebugTools"), + ContentFiltering("contentFiltering"); public final String value; UserActivityTypes(final String value) { this.value = value; @@ -35,6 +36,7 @@ public static UserActivityTypes forValue(@jakarta.annotation.Nonnull final Strin case "pasteFromClipboard": return PasteFromClipboard; case "print": return Print; case "accessDebugTools": return AccessDebugTools; + case "contentFiltering": return ContentFiltering; default: return null; } } diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/WindowsManagedAppDataTransferLevel.java b/src/main/java/com/microsoft/graph/beta/generated/models/WindowsManagedAppDataTransferLevel.java index b04da07b583..d5f26d6a69a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/WindowsManagedAppDataTransferLevel.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/WindowsManagedAppDataTransferLevel.java @@ -11,7 +11,11 @@ public enum WindowsManagedAppDataTransferLevel implements ValuedEnum { /** All apps. */ AllApps("allApps"), /** No apps. */ - None("none"); + None("none"), + /** Selected apps only. Allowed locations are specified by the child property. */ + SelectedApps("selectedApps"), + /** Evolvable enumeration sentinel value. Do not use. */ + UnknownFutureValue("unknownFutureValue"); public final String value; WindowsManagedAppDataTransferLevel(final String value) { this.value = value; @@ -24,6 +28,8 @@ public static WindowsManagedAppDataTransferLevel forValue(@jakarta.annotation.No switch(searchValue) { case "allApps": return AllApps; case "none": return None; + case "selectedApps": return SelectedApps; + case "unknownFutureValue": return UnknownFutureValue; default: return null; } } diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/WindowsManagedAppDataTransferLocations.java b/src/main/java/com/microsoft/graph/beta/generated/models/WindowsManagedAppDataTransferLocations.java new file mode 100644 index 00000000000..f97544421ff --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/WindowsManagedAppDataTransferLocations.java @@ -0,0 +1,33 @@ +package com.microsoft.graph.beta.models; + +import com.microsoft.kiota.serialization.ValuedEnum; +import java.util.Objects; + +/** + * Windows MAM data transfer locations + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public enum WindowsManagedAppDataTransferLocations implements ValuedEnum { + /** No locations selected. */ + None("none"), + /** OneDrive for Business. Data transferred to or from this location is subject to app protection policy. */ + OneDriveForBusiness("oneDriveForBusiness"), + /** Evolvable enumeration sentinel value. Do not use. */ + UnknownFutureValue("unknownFutureValue"); + public final String value; + WindowsManagedAppDataTransferLocations(final String value) { + this.value = value; + } + @jakarta.annotation.Nonnull + public String getValue() { return this.value; } + @jakarta.annotation.Nullable + public static WindowsManagedAppDataTransferLocations forValue(@jakarta.annotation.Nonnull final String searchValue) { + Objects.requireNonNull(searchValue); + switch(searchValue) { + case "none": return None; + case "oneDriveForBusiness": return OneDriveForBusiness; + case "unknownFutureValue": return UnknownFutureValue; + default: return null; + } + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/WindowsManagedAppProtection.java b/src/main/java/com/microsoft/graph/beta/generated/models/WindowsManagedAppProtection.java index 7d93ddf5201..b6cd014249a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/WindowsManagedAppProtection.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/WindowsManagedAppProtection.java @@ -4,6 +4,7 @@ import com.microsoft.kiota.serialization.Parsable; import com.microsoft.kiota.serialization.ParseNode; import com.microsoft.kiota.serialization.SerializationWriter; +import java.util.EnumSet; import java.util.HashMap; import java.util.Map; import java.util.Objects; @@ -29,6 +30,14 @@ public static WindowsManagedAppProtection createFromDiscriminatorValue(@jakarta. Objects.requireNonNull(parseNode); return new WindowsManagedAppProtection(); } + /** + * Gets the allowedInboundDataTransferSourceApps property value. Windows MAM data transfer locations + * @return a {@link EnumSet} + */ + @jakarta.annotation.Nullable + public EnumSet getAllowedInboundDataTransferSourceApps() { + return this.backingStore.get("allowedInboundDataTransferSourceApps"); + } /** * Gets the allowedInboundDataTransferSources property value. Data can be transferred from/to these classes of apps * @return a {@link WindowsManagedAppDataTransferLevel} @@ -45,6 +54,14 @@ public WindowsManagedAppDataTransferLevel getAllowedInboundDataTransferSources() public WindowsManagedAppClipboardSharingLevel getAllowedOutboundClipboardSharingLevel() { return this.backingStore.get("allowedOutboundClipboardSharingLevel"); } + /** + * Gets the allowedOutboundDataTransferDestinationApps property value. Windows MAM data transfer locations + * @return a {@link EnumSet} + */ + @jakarta.annotation.Nullable + public EnumSet getAllowedOutboundDataTransferDestinationApps() { + return this.backingStore.get("allowedOutboundDataTransferDestinationApps"); + } /** * Gets the allowedOutboundDataTransferDestinations property value. Data can be transferred from/to these classes of apps * @return a {@link WindowsManagedAppDataTransferLevel} @@ -100,8 +117,10 @@ public ManagedAppPolicyDeploymentSummary getDeploymentSummary() { @jakarta.annotation.Nonnull public Map> getFieldDeserializers() { final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("allowedInboundDataTransferSourceApps", (n) -> { this.setAllowedInboundDataTransferSourceApps(n.getEnumSetValue(WindowsManagedAppDataTransferLocations::forValue)); }); deserializerMap.put("allowedInboundDataTransferSources", (n) -> { this.setAllowedInboundDataTransferSources(n.getEnumValue(WindowsManagedAppDataTransferLevel::forValue)); }); deserializerMap.put("allowedOutboundClipboardSharingLevel", (n) -> { this.setAllowedOutboundClipboardSharingLevel(n.getEnumValue(WindowsManagedAppClipboardSharingLevel::forValue)); }); + deserializerMap.put("allowedOutboundDataTransferDestinationApps", (n) -> { this.setAllowedOutboundDataTransferDestinationApps(n.getEnumSetValue(WindowsManagedAppDataTransferLocations::forValue)); }); deserializerMap.put("allowedOutboundDataTransferDestinations", (n) -> { this.setAllowedOutboundDataTransferDestinations(n.getEnumValue(WindowsManagedAppDataTransferLevel::forValue)); }); deserializerMap.put("appActionIfUnableToAuthenticateUser", (n) -> { this.setAppActionIfUnableToAuthenticateUser(n.getEnumValue(ManagedAppRemediationAction::forValue)); }); deserializerMap.put("apps", (n) -> { this.setApps(n.getCollectionOfObjectValues(ManagedMobileApp::createFromDiscriminatorValue)); }); @@ -270,8 +289,10 @@ public Boolean getPrintBlocked() { public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { Objects.requireNonNull(writer); super.serialize(writer); + writer.writeEnumSetValue("allowedInboundDataTransferSourceApps", this.getAllowedInboundDataTransferSourceApps()); writer.writeEnumValue("allowedInboundDataTransferSources", this.getAllowedInboundDataTransferSources()); writer.writeEnumValue("allowedOutboundClipboardSharingLevel", this.getAllowedOutboundClipboardSharingLevel()); + writer.writeEnumSetValue("allowedOutboundDataTransferDestinationApps", this.getAllowedOutboundDataTransferDestinationApps()); writer.writeEnumValue("allowedOutboundDataTransferDestinations", this.getAllowedOutboundDataTransferDestinations()); writer.writeEnumValue("appActionIfUnableToAuthenticateUser", this.getAppActionIfUnableToAuthenticateUser()); writer.writeCollectionOfObjectValues("apps", this.getApps()); @@ -296,6 +317,13 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writePeriodAndDurationValue("periodOfflineBeforeWipeIsEnforced", this.getPeriodOfflineBeforeWipeIsEnforced()); writer.writeBooleanValue("printBlocked", this.getPrintBlocked()); } + /** + * Sets the allowedInboundDataTransferSourceApps property value. Windows MAM data transfer locations + * @param value Value to set for the allowedInboundDataTransferSourceApps property. + */ + public void setAllowedInboundDataTransferSourceApps(@jakarta.annotation.Nullable final EnumSet value) { + this.backingStore.set("allowedInboundDataTransferSourceApps", value); + } /** * Sets the allowedInboundDataTransferSources property value. Data can be transferred from/to these classes of apps * @param value Value to set for the allowedInboundDataTransferSources property. @@ -310,6 +338,13 @@ public void setAllowedInboundDataTransferSources(@jakarta.annotation.Nullable fi public void setAllowedOutboundClipboardSharingLevel(@jakarta.annotation.Nullable final WindowsManagedAppClipboardSharingLevel value) { this.backingStore.set("allowedOutboundClipboardSharingLevel", value); } + /** + * Sets the allowedOutboundDataTransferDestinationApps property value. Windows MAM data transfer locations + * @param value Value to set for the allowedOutboundDataTransferDestinationApps property. + */ + public void setAllowedOutboundDataTransferDestinationApps(@jakarta.annotation.Nullable final EnumSet value) { + this.backingStore.set("allowedOutboundDataTransferDestinationApps", value); + } /** * Sets the allowedOutboundDataTransferDestinations property value. Data can be transferred from/to these classes of apps * @param value Value to set for the allowedOutboundDataTransferDestinations property. diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/healthmonitoring/AlertType.java b/src/main/java/com/microsoft/graph/beta/generated/models/healthmonitoring/AlertType.java index fe722573044..8d94cae604d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/healthmonitoring/AlertType.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/healthmonitoring/AlertType.java @@ -11,7 +11,11 @@ public enum AlertType implements ValuedEnum { CompliantDeviceSignInFailure("compliantDeviceSignInFailure"), UnknownFutureValue("unknownFutureValue"), ConditionalAccessBlockedSignIn("conditionalAccessBlockedSignIn"), - SamlSignInFailure("samlSignInFailure"); + SamlSignInFailure("samlSignInFailure"), + InternetAppBlockedByPolicy("internetAppBlockedByPolicy"), + PrivateAppBlockedByConnector("privateAppBlockedByConnector"), + RemoteNetworkTunnelConnectivity("remoteNetworkTunnelConnectivity"), + RemoteNetworkBgpConnectivity("remoteNetworkBgpConnectivity"); public final String value; AlertType(final String value) { this.value = value; @@ -29,6 +33,10 @@ public static AlertType forValue(@jakarta.annotation.Nonnull final String search case "unknownFutureValue": return UnknownFutureValue; case "conditionalAccessBlockedSignIn": return ConditionalAccessBlockedSignIn; case "samlSignInFailure": return SamlSignInFailure; + case "internetAppBlockedByPolicy": return InternetAppBlockedByPolicy; + case "privateAppBlockedByConnector": return PrivateAppBlockedByConnector; + case "remoteNetworkTunnelConnectivity": return RemoteNetworkTunnelConnectivity; + case "remoteNetworkBgpConnectivity": return RemoteNetworkBgpConnectivity; default: return null; } } diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/healthmonitoring/Scenario.java b/src/main/java/com/microsoft/graph/beta/generated/models/healthmonitoring/Scenario.java index 8780e7ec693..1eca7bc1770 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/healthmonitoring/Scenario.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/healthmonitoring/Scenario.java @@ -10,7 +10,8 @@ public enum Scenario implements ValuedEnum { Devices("devices"), UnknownFutureValue("unknownFutureValue"), ConditionalAccess("conditionalAccess"), - Saml("saml"); + Saml("saml"), + Gsa("gsa"); public final String value; Scenario(final String value) { this.value = value; @@ -27,6 +28,7 @@ public static Scenario forValue(@jakarta.annotation.Nonnull final String searchV case "unknownFutureValue": return UnknownFutureValue; case "conditionalAccess": return ConditionalAccess; case "saml": return Saml; + case "gsa": return Gsa; default: return null; } } diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/AgentIdentityLifecycle.java b/src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/AgentIdentityLifecycle.java new file mode 100644 index 00000000000..a13e550a950 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/AgentIdentityLifecycle.java @@ -0,0 +1,45 @@ +package com.microsoft.graph.beta.models.identitygovernance; + +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class AgentIdentityLifecycle extends IdentityLifecycle implements Parsable { + /** + * Instantiates a new {@link AgentIdentityLifecycle} and sets the default values. + */ + public AgentIdentityLifecycle() { + super(); + this.setOdataType("#microsoft.graph.identityGovernance.agentIdentityLifecycle"); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link AgentIdentityLifecycle} + */ + @jakarta.annotation.Nonnull + public static AgentIdentityLifecycle createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new AgentIdentityLifecycle(); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + return deserializerMap; + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/AgentIdentityLifecyclePolicy.java b/src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/AgentIdentityLifecyclePolicy.java new file mode 100644 index 00000000000..2484f8e8a00 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/AgentIdentityLifecyclePolicy.java @@ -0,0 +1,45 @@ +package com.microsoft.graph.beta.models.identitygovernance; + +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class AgentIdentityLifecyclePolicy extends LifecyclePolicy implements Parsable { + /** + * Instantiates a new {@link AgentIdentityLifecyclePolicy} and sets the default values. + */ + public AgentIdentityLifecyclePolicy() { + super(); + this.setOdataType("#microsoft.graph.identityGovernance.agentIdentityLifecyclePolicy"); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link AgentIdentityLifecyclePolicy} + */ + @jakarta.annotation.Nonnull + public static AgentIdentityLifecyclePolicy createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new AgentIdentityLifecyclePolicy(); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + return deserializerMap; + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/AllExcludingGroupsSubjectSet.java b/src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/AllExcludingGroupsSubjectSet.java new file mode 100644 index 00000000000..b7c679beb6c --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/AllExcludingGroupsSubjectSet.java @@ -0,0 +1,64 @@ +package com.microsoft.graph.beta.models.identitygovernance; + +import com.microsoft.graph.beta.models.Group; +import com.microsoft.graph.beta.models.SubjectSet; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class AllExcludingGroupsSubjectSet extends SubjectSet implements Parsable { + /** + * Instantiates a new {@link AllExcludingGroupsSubjectSet} and sets the default values. + */ + public AllExcludingGroupsSubjectSet() { + super(); + this.setOdataType("#microsoft.graph.identityGovernance.allExcludingGroupsSubjectSet"); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link AllExcludingGroupsSubjectSet} + */ + @jakarta.annotation.Nonnull + public static AllExcludingGroupsSubjectSet createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new AllExcludingGroupsSubjectSet(); + } + /** + * Gets the excludedGroups property value. The excludedGroups property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getExcludedGroups() { + return this.backingStore.get("excludedGroups"); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("excludedGroups", (n) -> { this.setExcludedGroups(n.getCollectionOfObjectValues(Group::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeCollectionOfObjectValues("excludedGroups", this.getExcludedGroups()); + } + /** + * Sets the excludedGroups property value. The excludedGroups property + * @param value Value to set for the excludedGroups property. + */ + public void setExcludedGroups(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("excludedGroups", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/AllExcludingSpecificObjectsSubjectSet.java b/src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/AllExcludingSpecificObjectsSubjectSet.java new file mode 100644 index 00000000000..330bb7498c7 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/AllExcludingSpecificObjectsSubjectSet.java @@ -0,0 +1,64 @@ +package com.microsoft.graph.beta.models.identitygovernance; + +import com.microsoft.graph.beta.models.DirectoryObject; +import com.microsoft.graph.beta.models.SubjectSet; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class AllExcludingSpecificObjectsSubjectSet extends SubjectSet implements Parsable { + /** + * Instantiates a new {@link AllExcludingSpecificObjectsSubjectSet} and sets the default values. + */ + public AllExcludingSpecificObjectsSubjectSet() { + super(); + this.setOdataType("#microsoft.graph.identityGovernance.allExcludingSpecificObjectsSubjectSet"); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link AllExcludingSpecificObjectsSubjectSet} + */ + @jakarta.annotation.Nonnull + public static AllExcludingSpecificObjectsSubjectSet createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new AllExcludingSpecificObjectsSubjectSet(); + } + /** + * Gets the excludedObjects property value. The excludedObjects property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getExcludedObjects() { + return this.backingStore.get("excludedObjects"); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("excludedObjects", (n) -> { this.setExcludedObjects(n.getCollectionOfObjectValues(DirectoryObject::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeCollectionOfObjectValues("excludedObjects", this.getExcludedObjects()); + } + /** + * Sets the excludedObjects property value. The excludedObjects property + * @param value Value to set for the excludedObjects property. + */ + public void setExcludedObjects(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("excludedObjects", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/AttestationComplianceIssue.java b/src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/AttestationComplianceIssue.java new file mode 100644 index 00000000000..24d2f2bda6e --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/AttestationComplianceIssue.java @@ -0,0 +1,61 @@ +package com.microsoft.graph.beta.models.identitygovernance; + +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class AttestationComplianceIssue extends ComplianceIssue implements Parsable { + /** + * Instantiates a new {@link AttestationComplianceIssue} and sets the default values. + */ + public AttestationComplianceIssue() { + super(); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link AttestationComplianceIssue} + */ + @jakarta.annotation.Nonnull + public static AttestationComplianceIssue createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new AttestationComplianceIssue(); + } + /** + * Gets the attestationBlockReasons property value. The attestationBlockReasons property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getAttestationBlockReasons() { + return this.backingStore.get("attestationBlockReasons"); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("attestationBlockReasons", (n) -> { this.setAttestationBlockReasons(n.getCollectionOfPrimitiveValues(String.class)); }); + return deserializerMap; + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeCollectionOfPrimitiveValues("attestationBlockReasons", this.getAttestationBlockReasons()); + } + /** + * Sets the attestationBlockReasons property value. The attestationBlockReasons property + * @param value Value to set for the attestationBlockReasons property. + */ + public void setAttestationBlockReasons(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("attestationBlockReasons", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/ComplianceIssue.java b/src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/ComplianceIssue.java new file mode 100644 index 00000000000..3b665c52b9f --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/ComplianceIssue.java @@ -0,0 +1,120 @@ +package com.microsoft.graph.beta.models.identitygovernance; + +import com.microsoft.graph.beta.models.Entity; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ComplianceIssue extends Entity implements Parsable { + /** + * Instantiates a new {@link ComplianceIssue} and sets the default values. + */ + public ComplianceIssue() { + super(); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link ComplianceIssue} + */ + @jakarta.annotation.Nonnull + public static ComplianceIssue createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + final ParseNode mappingValueNode = parseNode.getChildNode("@odata.type"); + if (mappingValueNode != null) { + final String mappingValue = mappingValueNode.getStringValue(); + switch (mappingValue) { + case "#microsoft.graph.identityGovernance.attestationComplianceIssue": return new AttestationComplianceIssue(); + } + } + return new ComplianceIssue(); + } + /** + * Gets the description property value. The description property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getDescription() { + return this.backingStore.get("description"); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("description", (n) -> { this.setDescription(n.getStringValue()); }); + deserializerMap.put("governingPolicyReferenceId", (n) -> { this.setGoverningPolicyReferenceId(n.getStringValue()); }); + deserializerMap.put("issueCode", (n) -> { this.setIssueCode(n.getStringValue()); }); + deserializerMap.put("ruleType", (n) -> { this.setRuleType(n.getStringValue()); }); + return deserializerMap; + } + /** + * Gets the governingPolicyReferenceId property value. The governingPolicyReferenceId property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getGoverningPolicyReferenceId() { + return this.backingStore.get("governingPolicyReferenceId"); + } + /** + * Gets the issueCode property value. The issueCode property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getIssueCode() { + return this.backingStore.get("issueCode"); + } + /** + * Gets the ruleType property value. The ruleType property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getRuleType() { + return this.backingStore.get("ruleType"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeStringValue("description", this.getDescription()); + writer.writeStringValue("governingPolicyReferenceId", this.getGoverningPolicyReferenceId()); + writer.writeStringValue("issueCode", this.getIssueCode()); + writer.writeStringValue("ruleType", this.getRuleType()); + } + /** + * Sets the description property value. The description property + * @param value Value to set for the description property. + */ + public void setDescription(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("description", value); + } + /** + * Sets the governingPolicyReferenceId property value. The governingPolicyReferenceId property + * @param value Value to set for the governingPolicyReferenceId property. + */ + public void setGoverningPolicyReferenceId(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("governingPolicyReferenceId", value); + } + /** + * Sets the issueCode property value. The issueCode property + * @param value Value to set for the issueCode property. + */ + public void setIssueCode(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("issueCode", value); + } + /** + * Sets the ruleType property value. The ruleType property + * @param value Value to set for the ruleType property. + */ + public void setRuleType(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("ruleType", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/ComplianceIssueCollectionResponse.java b/src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/ComplianceIssueCollectionResponse.java new file mode 100644 index 00000000000..9b87be1af0d --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/ComplianceIssueCollectionResponse.java @@ -0,0 +1,62 @@ +package com.microsoft.graph.beta.models.identitygovernance; + +import com.microsoft.graph.beta.models.BaseCollectionPaginationCountResponse; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ComplianceIssueCollectionResponse extends BaseCollectionPaginationCountResponse implements Parsable { + /** + * Instantiates a new {@link ComplianceIssueCollectionResponse} and sets the default values. + */ + public ComplianceIssueCollectionResponse() { + super(); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link ComplianceIssueCollectionResponse} + */ + @jakarta.annotation.Nonnull + public static ComplianceIssueCollectionResponse createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new ComplianceIssueCollectionResponse(); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("value", (n) -> { this.setValue(n.getCollectionOfObjectValues(ComplianceIssue::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the value property value. The value property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getValue() { + return this.backingStore.get("value"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeCollectionOfObjectValues("value", this.getValue()); + } + /** + * Sets the value property value. The value property + * @param value Value to set for the value property. + */ + public void setValue(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("value", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/DeleteOnlyEnforcementAction.java b/src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/DeleteOnlyEnforcementAction.java new file mode 100644 index 00000000000..6d122430811 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/DeleteOnlyEnforcementAction.java @@ -0,0 +1,45 @@ +package com.microsoft.graph.beta.models.identitygovernance; + +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class DeleteOnlyEnforcementAction extends LifecyclePolicyEnforcementAction implements Parsable { + /** + * Instantiates a new {@link DeleteOnlyEnforcementAction} and sets the default values. + */ + public DeleteOnlyEnforcementAction() { + super(); + this.setOdataType("#microsoft.graph.identityGovernance.deleteOnlyEnforcementAction"); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link DeleteOnlyEnforcementAction} + */ + @jakarta.annotation.Nonnull + public static DeleteOnlyEnforcementAction createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new DeleteOnlyEnforcementAction(); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + return deserializerMap; + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/DirectoryObjectWorkflowSubject.java b/src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/DirectoryObjectWorkflowSubject.java new file mode 100644 index 00000000000..5fb354eb442 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/DirectoryObjectWorkflowSubject.java @@ -0,0 +1,63 @@ +package com.microsoft.graph.beta.models.identitygovernance; + +import com.microsoft.graph.beta.models.DirectoryObject; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class DirectoryObjectWorkflowSubject extends WorkflowSubject implements Parsable { + /** + * Instantiates a new {@link DirectoryObjectWorkflowSubject} and sets the default values. + */ + public DirectoryObjectWorkflowSubject() { + super(); + this.setOdataType("#microsoft.graph.identityGovernance.directoryObjectWorkflowSubject"); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link DirectoryObjectWorkflowSubject} + */ + @jakarta.annotation.Nonnull + public static DirectoryObjectWorkflowSubject createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new DirectoryObjectWorkflowSubject(); + } + /** + * Gets the directoryObject property value. The directoryObject property + * @return a {@link DirectoryObject} + */ + @jakarta.annotation.Nullable + public DirectoryObject getDirectoryObject() { + return this.backingStore.get("directoryObject"); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("directoryObject", (n) -> { this.setDirectoryObject(n.getObjectValue(DirectoryObject::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeObjectValue("directoryObject", this.getDirectoryObject()); + } + /** + * Sets the directoryObject property value. The directoryObject property + * @param value Value to set for the directoryObject property. + */ + public void setDirectoryObject(@jakarta.annotation.Nullable final DirectoryObject value) { + this.backingStore.set("directoryObject", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/DisableOnlyEnforcementAction.java b/src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/DisableOnlyEnforcementAction.java new file mode 100644 index 00000000000..d10615aa383 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/DisableOnlyEnforcementAction.java @@ -0,0 +1,45 @@ +package com.microsoft.graph.beta.models.identitygovernance; + +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class DisableOnlyEnforcementAction extends LifecyclePolicyEnforcementAction implements Parsable { + /** + * Instantiates a new {@link DisableOnlyEnforcementAction} and sets the default values. + */ + public DisableOnlyEnforcementAction() { + super(); + this.setOdataType("#microsoft.graph.identityGovernance.disableOnlyEnforcementAction"); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link DisableOnlyEnforcementAction} + */ + @jakarta.annotation.Nonnull + public static DisableOnlyEnforcementAction createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new DisableOnlyEnforcementAction(); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + return deserializerMap; + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/DisableThenDeleteEnforcementAction.java b/src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/DisableThenDeleteEnforcementAction.java new file mode 100644 index 00000000000..78220b036f6 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/DisableThenDeleteEnforcementAction.java @@ -0,0 +1,62 @@ +package com.microsoft.graph.beta.models.identitygovernance; + +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class DisableThenDeleteEnforcementAction extends LifecyclePolicyEnforcementAction implements Parsable { + /** + * Instantiates a new {@link DisableThenDeleteEnforcementAction} and sets the default values. + */ + public DisableThenDeleteEnforcementAction() { + super(); + this.setOdataType("#microsoft.graph.identityGovernance.disableThenDeleteEnforcementAction"); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link DisableThenDeleteEnforcementAction} + */ + @jakarta.annotation.Nonnull + public static DisableThenDeleteEnforcementAction createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new DisableThenDeleteEnforcementAction(); + } + /** + * Gets the deletionGracePeriodInDays property value. The deletionGracePeriodInDays property + * @return a {@link Integer} + */ + @jakarta.annotation.Nullable + public Integer getDeletionGracePeriodInDays() { + return this.backingStore.get("deletionGracePeriodInDays"); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("deletionGracePeriodInDays", (n) -> { this.setDeletionGracePeriodInDays(n.getIntegerValue()); }); + return deserializerMap; + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeIntegerValue("deletionGracePeriodInDays", this.getDeletionGracePeriodInDays()); + } + /** + * Sets the deletionGracePeriodInDays property value. The deletionGracePeriodInDays property + * @param value Value to set for the deletionGracePeriodInDays property. + */ + public void setDeletionGracePeriodInDays(@jakarta.annotation.Nullable final Integer value) { + this.backingStore.set("deletionGracePeriodInDays", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/IdentityLifecycle.java b/src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/IdentityLifecycle.java new file mode 100644 index 00000000000..df2562c4886 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/IdentityLifecycle.java @@ -0,0 +1,104 @@ +package com.microsoft.graph.beta.models.identitygovernance; + +import com.microsoft.graph.beta.models.Entity; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.time.OffsetDateTime; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class IdentityLifecycle extends Entity implements Parsable { + /** + * Instantiates a new {@link IdentityLifecycle} and sets the default values. + */ + public IdentityLifecycle() { + super(); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link IdentityLifecycle} + */ + @jakarta.annotation.Nonnull + public static IdentityLifecycle createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + final ParseNode mappingValueNode = parseNode.getChildNode("@odata.type"); + if (mappingValueNode != null) { + final String mappingValue = mappingValueNode.getStringValue(); + switch (mappingValue) { + case "#microsoft.graph.identityGovernance.agentIdentityLifecycle": return new AgentIdentityLifecycle(); + } + } + return new IdentityLifecycle(); + } + /** + * Gets the complianceIssues property value. The complianceIssues property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getComplianceIssues() { + return this.backingStore.get("complianceIssues"); + } + /** + * Gets the effectiveGoverningPolicy property value. The effectiveGoverningPolicy property + * @return a {@link LifecyclePolicy} + */ + @jakarta.annotation.Nullable + public LifecyclePolicy getEffectiveGoverningPolicy() { + return this.backingStore.get("effectiveGoverningPolicy"); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("complianceIssues", (n) -> { this.setComplianceIssues(n.getCollectionOfObjectValues(ComplianceIssue::createFromDiscriminatorValue)); }); + deserializerMap.put("effectiveGoverningPolicy", (n) -> { this.setEffectiveGoverningPolicy(n.getObjectValue(LifecyclePolicy::createFromDiscriminatorValue)); }); + deserializerMap.put("lastAttestationDateTime", (n) -> { this.setLastAttestationDateTime(n.getOffsetDateTimeValue()); }); + return deserializerMap; + } + /** + * Gets the lastAttestationDateTime property value. The lastAttestationDateTime property + * @return a {@link OffsetDateTime} + */ + @jakarta.annotation.Nullable + public OffsetDateTime getLastAttestationDateTime() { + return this.backingStore.get("lastAttestationDateTime"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeCollectionOfObjectValues("complianceIssues", this.getComplianceIssues()); + writer.writeObjectValue("effectiveGoverningPolicy", this.getEffectiveGoverningPolicy()); + writer.writeOffsetDateTimeValue("lastAttestationDateTime", this.getLastAttestationDateTime()); + } + /** + * Sets the complianceIssues property value. The complianceIssues property + * @param value Value to set for the complianceIssues property. + */ + public void setComplianceIssues(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("complianceIssues", value); + } + /** + * Sets the effectiveGoverningPolicy property value. The effectiveGoverningPolicy property + * @param value Value to set for the effectiveGoverningPolicy property. + */ + public void setEffectiveGoverningPolicy(@jakarta.annotation.Nullable final LifecyclePolicy value) { + this.backingStore.set("effectiveGoverningPolicy", value); + } + /** + * Sets the lastAttestationDateTime property value. The lastAttestationDateTime property + * @param value Value to set for the lastAttestationDateTime property. + */ + public void setLastAttestationDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { + this.backingStore.set("lastAttestationDateTime", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/InactivityRule.java b/src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/InactivityRule.java new file mode 100644 index 00000000000..573fbec5092 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/InactivityRule.java @@ -0,0 +1,62 @@ +package com.microsoft.graph.beta.models.identitygovernance; + +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class InactivityRule extends LifecyclePolicyRule implements Parsable { + /** + * Instantiates a new {@link InactivityRule} and sets the default values. + */ + public InactivityRule() { + super(); + this.setOdataType("#microsoft.graph.identityGovernance.inactivityRule"); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link InactivityRule} + */ + @jakarta.annotation.Nonnull + public static InactivityRule createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new InactivityRule(); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("lastActivityThresholdInDays", (n) -> { this.setLastActivityThresholdInDays(n.getIntegerValue()); }); + return deserializerMap; + } + /** + * Gets the lastActivityThresholdInDays property value. The lastActivityThresholdInDays property + * @return a {@link Integer} + */ + @jakarta.annotation.Nullable + public Integer getLastActivityThresholdInDays() { + return this.backingStore.get("lastActivityThresholdInDays"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeIntegerValue("lastActivityThresholdInDays", this.getLastActivityThresholdInDays()); + } + /** + * Sets the lastActivityThresholdInDays property value. The lastActivityThresholdInDays property + * @param value Value to set for the lastActivityThresholdInDays property. + */ + public void setLastActivityThresholdInDays(@jakarta.annotation.Nullable final Integer value) { + this.backingStore.set("lastActivityThresholdInDays", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/LifecyclePolicy.java b/src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/LifecyclePolicy.java new file mode 100644 index 00000000000..8d20e0a984c --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/LifecyclePolicy.java @@ -0,0 +1,310 @@ +package com.microsoft.graph.beta.models.identitygovernance; + +import com.microsoft.graph.beta.models.DirectoryObject; +import com.microsoft.graph.beta.models.Entity; +import com.microsoft.graph.beta.models.SubjectSet; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.time.OffsetDateTime; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class LifecyclePolicy extends Entity implements Parsable { + /** + * Instantiates a new {@link LifecyclePolicy} and sets the default values. + */ + public LifecyclePolicy() { + super(); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link LifecyclePolicy} + */ + @jakarta.annotation.Nonnull + public static LifecyclePolicy createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + final ParseNode mappingValueNode = parseNode.getChildNode("@odata.type"); + if (mappingValueNode != null) { + final String mappingValue = mappingValueNode.getStringValue(); + switch (mappingValue) { + case "#microsoft.graph.identityGovernance.agentIdentityLifecyclePolicy": return new AgentIdentityLifecyclePolicy(); + } + } + return new LifecyclePolicy(); + } + /** + * Gets the createdBy property value. The createdBy property + * @return a {@link DirectoryObject} + */ + @jakarta.annotation.Nullable + public DirectoryObject getCreatedBy() { + return this.backingStore.get("createdBy"); + } + /** + * Gets the createdDateTime property value. The createdDateTime property + * @return a {@link OffsetDateTime} + */ + @jakarta.annotation.Nullable + public OffsetDateTime getCreatedDateTime() { + return this.backingStore.get("createdDateTime"); + } + /** + * Gets the description property value. The description property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getDescription() { + return this.backingStore.get("description"); + } + /** + * Gets the displayName property value. The displayName property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getDisplayName() { + return this.backingStore.get("displayName"); + } + /** + * Gets the enforcementAction property value. The enforcementAction property + * @return a {@link LifecyclePolicyEnforcementAction} + */ + @jakarta.annotation.Nullable + public LifecyclePolicyEnforcementAction getEnforcementAction() { + return this.backingStore.get("enforcementAction"); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("createdBy", (n) -> { this.setCreatedBy(n.getObjectValue(DirectoryObject::createFromDiscriminatorValue)); }); + deserializerMap.put("createdDateTime", (n) -> { this.setCreatedDateTime(n.getOffsetDateTimeValue()); }); + deserializerMap.put("description", (n) -> { this.setDescription(n.getStringValue()); }); + deserializerMap.put("displayName", (n) -> { this.setDisplayName(n.getStringValue()); }); + deserializerMap.put("enforcementAction", (n) -> { this.setEnforcementAction(n.getObjectValue(LifecyclePolicyEnforcementAction::createFromDiscriminatorValue)); }); + deserializerMap.put("gracePeriodInDays", (n) -> { this.setGracePeriodInDays(n.getIntegerValue()); }); + deserializerMap.put("isEnabled", (n) -> { this.setIsEnabled(n.getBooleanValue()); }); + deserializerMap.put("lastModifiedBy", (n) -> { this.setLastModifiedBy(n.getObjectValue(DirectoryObject::createFromDiscriminatorValue)); }); + deserializerMap.put("lastModifiedDateTime", (n) -> { this.setLastModifiedDateTime(n.getOffsetDateTimeValue()); }); + deserializerMap.put("notificationSchedule", (n) -> { this.setNotificationSchedule(n.getObjectValue(LifecyclePolicyNotificationSettings::createFromDiscriminatorValue)); }); + deserializerMap.put("policySource", (n) -> { this.setPolicySource(n.getEnumValue(LifecyclePolicySource::forValue)); }); + deserializerMap.put("rules", (n) -> { this.setRules(n.getCollectionOfObjectValues(LifecyclePolicyRule::createFromDiscriminatorValue)); }); + deserializerMap.put("scope", (n) -> { this.setScope(n.getObjectValue(SubjectSet::createFromDiscriminatorValue)); }); + deserializerMap.put("versionNumber", (n) -> { this.setVersionNumber(n.getIntegerValue()); }); + deserializerMap.put("versions", (n) -> { this.setVersions(n.getCollectionOfObjectValues(LifecyclePolicy::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the gracePeriodInDays property value. The gracePeriodInDays property + * @return a {@link Integer} + */ + @jakarta.annotation.Nullable + public Integer getGracePeriodInDays() { + return this.backingStore.get("gracePeriodInDays"); + } + /** + * Gets the isEnabled property value. The isEnabled property + * @return a {@link Boolean} + */ + @jakarta.annotation.Nullable + public Boolean getIsEnabled() { + return this.backingStore.get("isEnabled"); + } + /** + * Gets the lastModifiedBy property value. The lastModifiedBy property + * @return a {@link DirectoryObject} + */ + @jakarta.annotation.Nullable + public DirectoryObject getLastModifiedBy() { + return this.backingStore.get("lastModifiedBy"); + } + /** + * Gets the lastModifiedDateTime property value. The lastModifiedDateTime property + * @return a {@link OffsetDateTime} + */ + @jakarta.annotation.Nullable + public OffsetDateTime getLastModifiedDateTime() { + return this.backingStore.get("lastModifiedDateTime"); + } + /** + * Gets the notificationSchedule property value. The notificationSchedule property + * @return a {@link LifecyclePolicyNotificationSettings} + */ + @jakarta.annotation.Nullable + public LifecyclePolicyNotificationSettings getNotificationSchedule() { + return this.backingStore.get("notificationSchedule"); + } + /** + * Gets the policySource property value. The policySource property + * @return a {@link LifecyclePolicySource} + */ + @jakarta.annotation.Nullable + public LifecyclePolicySource getPolicySource() { + return this.backingStore.get("policySource"); + } + /** + * Gets the rules property value. The rules property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getRules() { + return this.backingStore.get("rules"); + } + /** + * Gets the scope property value. The scope property + * @return a {@link SubjectSet} + */ + @jakarta.annotation.Nullable + public SubjectSet getScope() { + return this.backingStore.get("scope"); + } + /** + * Gets the versionNumber property value. The versionNumber property + * @return a {@link Integer} + */ + @jakarta.annotation.Nullable + public Integer getVersionNumber() { + return this.backingStore.get("versionNumber"); + } + /** + * Gets the versions property value. The versions property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getVersions() { + return this.backingStore.get("versions"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeObjectValue("createdBy", this.getCreatedBy()); + writer.writeOffsetDateTimeValue("createdDateTime", this.getCreatedDateTime()); + writer.writeStringValue("description", this.getDescription()); + writer.writeStringValue("displayName", this.getDisplayName()); + writer.writeObjectValue("enforcementAction", this.getEnforcementAction()); + writer.writeIntegerValue("gracePeriodInDays", this.getGracePeriodInDays()); + writer.writeBooleanValue("isEnabled", this.getIsEnabled()); + writer.writeObjectValue("lastModifiedBy", this.getLastModifiedBy()); + writer.writeOffsetDateTimeValue("lastModifiedDateTime", this.getLastModifiedDateTime()); + writer.writeObjectValue("notificationSchedule", this.getNotificationSchedule()); + writer.writeEnumValue("policySource", this.getPolicySource()); + writer.writeCollectionOfObjectValues("rules", this.getRules()); + writer.writeObjectValue("scope", this.getScope()); + writer.writeIntegerValue("versionNumber", this.getVersionNumber()); + writer.writeCollectionOfObjectValues("versions", this.getVersions()); + } + /** + * Sets the createdBy property value. The createdBy property + * @param value Value to set for the createdBy property. + */ + public void setCreatedBy(@jakarta.annotation.Nullable final DirectoryObject value) { + this.backingStore.set("createdBy", value); + } + /** + * Sets the createdDateTime property value. The createdDateTime property + * @param value Value to set for the createdDateTime property. + */ + public void setCreatedDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { + this.backingStore.set("createdDateTime", value); + } + /** + * Sets the description property value. The description property + * @param value Value to set for the description property. + */ + public void setDescription(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("description", value); + } + /** + * Sets the displayName property value. The displayName property + * @param value Value to set for the displayName property. + */ + public void setDisplayName(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("displayName", value); + } + /** + * Sets the enforcementAction property value. The enforcementAction property + * @param value Value to set for the enforcementAction property. + */ + public void setEnforcementAction(@jakarta.annotation.Nullable final LifecyclePolicyEnforcementAction value) { + this.backingStore.set("enforcementAction", value); + } + /** + * Sets the gracePeriodInDays property value. The gracePeriodInDays property + * @param value Value to set for the gracePeriodInDays property. + */ + public void setGracePeriodInDays(@jakarta.annotation.Nullable final Integer value) { + this.backingStore.set("gracePeriodInDays", value); + } + /** + * Sets the isEnabled property value. The isEnabled property + * @param value Value to set for the isEnabled property. + */ + public void setIsEnabled(@jakarta.annotation.Nullable final Boolean value) { + this.backingStore.set("isEnabled", value); + } + /** + * Sets the lastModifiedBy property value. The lastModifiedBy property + * @param value Value to set for the lastModifiedBy property. + */ + public void setLastModifiedBy(@jakarta.annotation.Nullable final DirectoryObject value) { + this.backingStore.set("lastModifiedBy", value); + } + /** + * Sets the lastModifiedDateTime property value. The lastModifiedDateTime property + * @param value Value to set for the lastModifiedDateTime property. + */ + public void setLastModifiedDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { + this.backingStore.set("lastModifiedDateTime", value); + } + /** + * Sets the notificationSchedule property value. The notificationSchedule property + * @param value Value to set for the notificationSchedule property. + */ + public void setNotificationSchedule(@jakarta.annotation.Nullable final LifecyclePolicyNotificationSettings value) { + this.backingStore.set("notificationSchedule", value); + } + /** + * Sets the policySource property value. The policySource property + * @param value Value to set for the policySource property. + */ + public void setPolicySource(@jakarta.annotation.Nullable final LifecyclePolicySource value) { + this.backingStore.set("policySource", value); + } + /** + * Sets the rules property value. The rules property + * @param value Value to set for the rules property. + */ + public void setRules(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("rules", value); + } + /** + * Sets the scope property value. The scope property + * @param value Value to set for the scope property. + */ + public void setScope(@jakarta.annotation.Nullable final SubjectSet value) { + this.backingStore.set("scope", value); + } + /** + * Sets the versionNumber property value. The versionNumber property + * @param value Value to set for the versionNumber property. + */ + public void setVersionNumber(@jakarta.annotation.Nullable final Integer value) { + this.backingStore.set("versionNumber", value); + } + /** + * Sets the versions property value. The versions property + * @param value Value to set for the versions property. + */ + public void setVersions(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("versions", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/LifecyclePolicyCollectionResponse.java b/src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/LifecyclePolicyCollectionResponse.java new file mode 100644 index 00000000000..74e284a9594 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/LifecyclePolicyCollectionResponse.java @@ -0,0 +1,62 @@ +package com.microsoft.graph.beta.models.identitygovernance; + +import com.microsoft.graph.beta.models.BaseCollectionPaginationCountResponse; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class LifecyclePolicyCollectionResponse extends BaseCollectionPaginationCountResponse implements Parsable { + /** + * Instantiates a new {@link LifecyclePolicyCollectionResponse} and sets the default values. + */ + public LifecyclePolicyCollectionResponse() { + super(); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link LifecyclePolicyCollectionResponse} + */ + @jakarta.annotation.Nonnull + public static LifecyclePolicyCollectionResponse createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new LifecyclePolicyCollectionResponse(); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("value", (n) -> { this.setValue(n.getCollectionOfObjectValues(LifecyclePolicy::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the value property value. The value property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getValue() { + return this.backingStore.get("value"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeCollectionOfObjectValues("value", this.getValue()); + } + /** + * Sets the value property value. The value property + * @param value Value to set for the value property. + */ + public void setValue(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("value", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/LifecyclePolicyEnforcementAction.java b/src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/LifecyclePolicyEnforcementAction.java new file mode 100644 index 00000000000..18074028d85 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/LifecyclePolicyEnforcementAction.java @@ -0,0 +1,116 @@ +package com.microsoft.graph.beta.models.identitygovernance; + +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class LifecyclePolicyEnforcementAction implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link LifecyclePolicyEnforcementAction} and sets the default values. + */ + public LifecyclePolicyEnforcementAction() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link LifecyclePolicyEnforcementAction} + */ + @jakarta.annotation.Nonnull + public static LifecyclePolicyEnforcementAction createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + final ParseNode mappingValueNode = parseNode.getChildNode("@odata.type"); + if (mappingValueNode != null) { + final String mappingValue = mappingValueNode.getStringValue(); + switch (mappingValue) { + case "#microsoft.graph.identityGovernance.deleteOnlyEnforcementAction": return new DeleteOnlyEnforcementAction(); + case "#microsoft.graph.identityGovernance.disableOnlyEnforcementAction": return new DisableOnlyEnforcementAction(); + case "#microsoft.graph.identityGovernance.disableThenDeleteEnforcementAction": return new DisableThenDeleteEnforcementAction(); + } + } + return new LifecyclePolicyEnforcementAction(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(1); + deserializerMap.put("@odata.type", (n) -> { this.setOdataType(n.getStringValue()); }); + return deserializerMap; + } + /** + * Gets the @odata.type property value. The OdataType property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getOdataType() { + return this.backingStore.get("odataType"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writeStringValue("@odata.type", this.getOdataType()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } + /** + * Sets the @odata.type property value. The OdataType property + * @param value Value to set for the @odata.type property. + */ + public void setOdataType(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("odataType", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/LifecyclePolicyNotificationSettings.java b/src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/LifecyclePolicyNotificationSettings.java new file mode 100644 index 00000000000..d7fe8f8af1a --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/LifecyclePolicyNotificationSettings.java @@ -0,0 +1,158 @@ +package com.microsoft.graph.beta.models.identitygovernance; + +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class LifecyclePolicyNotificationSettings implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link LifecyclePolicyNotificationSettings} and sets the default values. + */ + public LifecyclePolicyNotificationSettings() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link LifecyclePolicyNotificationSettings} + */ + @jakarta.annotation.Nonnull + public static LifecyclePolicyNotificationSettings createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new LifecyclePolicyNotificationSettings(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the additionalRecipients property value. The additionalRecipients property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getAdditionalRecipients() { + return this.backingStore.get("additionalRecipients"); + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(4); + deserializerMap.put("additionalRecipients", (n) -> { this.setAdditionalRecipients(n.getCollectionOfPrimitiveValues(String.class)); }); + deserializerMap.put("isEnabled", (n) -> { this.setIsEnabled(n.getBooleanValue()); }); + deserializerMap.put("@odata.type", (n) -> { this.setOdataType(n.getStringValue()); }); + deserializerMap.put("offsetsAfterNonComplianceInDays", (n) -> { this.setOffsetsAfterNonComplianceInDays(n.getCollectionOfPrimitiveValues(Integer.class)); }); + return deserializerMap; + } + /** + * Gets the isEnabled property value. The isEnabled property + * @return a {@link Boolean} + */ + @jakarta.annotation.Nullable + public Boolean getIsEnabled() { + return this.backingStore.get("isEnabled"); + } + /** + * Gets the @odata.type property value. The OdataType property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getOdataType() { + return this.backingStore.get("odataType"); + } + /** + * Gets the offsetsAfterNonComplianceInDays property value. The offsetsAfterNonComplianceInDays property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getOffsetsAfterNonComplianceInDays() { + return this.backingStore.get("offsetsAfterNonComplianceInDays"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writeCollectionOfPrimitiveValues("additionalRecipients", this.getAdditionalRecipients()); + writer.writeBooleanValue("isEnabled", this.getIsEnabled()); + writer.writeStringValue("@odata.type", this.getOdataType()); + writer.writeCollectionOfPrimitiveValues("offsetsAfterNonComplianceInDays", this.getOffsetsAfterNonComplianceInDays()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the additionalRecipients property value. The additionalRecipients property + * @param value Value to set for the additionalRecipients property. + */ + public void setAdditionalRecipients(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("additionalRecipients", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } + /** + * Sets the isEnabled property value. The isEnabled property + * @param value Value to set for the isEnabled property. + */ + public void setIsEnabled(@jakarta.annotation.Nullable final Boolean value) { + this.backingStore.set("isEnabled", value); + } + /** + * Sets the @odata.type property value. The OdataType property + * @param value Value to set for the @odata.type property. + */ + public void setOdataType(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("odataType", value); + } + /** + * Sets the offsetsAfterNonComplianceInDays property value. The offsetsAfterNonComplianceInDays property + * @param value Value to set for the offsetsAfterNonComplianceInDays property. + */ + public void setOffsetsAfterNonComplianceInDays(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("offsetsAfterNonComplianceInDays", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/LifecyclePolicyPriorityConfiguration.java b/src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/LifecyclePolicyPriorityConfiguration.java new file mode 100644 index 00000000000..d935752423c --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/LifecyclePolicyPriorityConfiguration.java @@ -0,0 +1,80 @@ +package com.microsoft.graph.beta.models.identitygovernance; + +import com.microsoft.graph.beta.models.Entity; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.util.EnumSet; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class LifecyclePolicyPriorityConfiguration extends Entity implements Parsable { + /** + * Instantiates a new {@link LifecyclePolicyPriorityConfiguration} and sets the default values. + */ + public LifecyclePolicyPriorityConfiguration() { + super(); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link LifecyclePolicyPriorityConfiguration} + */ + @jakarta.annotation.Nonnull + public static LifecyclePolicyPriorityConfiguration createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new LifecyclePolicyPriorityConfiguration(); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("orderedPolicyIds", (n) -> { this.setOrderedPolicyIds(n.getCollectionOfPrimitiveValues(String.class)); }); + deserializerMap.put("subjectType", (n) -> { this.setSubjectType(n.getEnumSetValue(SubjectType::forValue)); }); + return deserializerMap; + } + /** + * Gets the orderedPolicyIds property value. The orderedPolicyIds property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getOrderedPolicyIds() { + return this.backingStore.get("orderedPolicyIds"); + } + /** + * Gets the subjectType property value. The subjectType property + * @return a {@link EnumSet} + */ + @jakarta.annotation.Nullable + public EnumSet getSubjectType() { + return this.backingStore.get("subjectType"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeCollectionOfPrimitiveValues("orderedPolicyIds", this.getOrderedPolicyIds()); + writer.writeEnumSetValue("subjectType", this.getSubjectType()); + } + /** + * Sets the orderedPolicyIds property value. The orderedPolicyIds property + * @param value Value to set for the orderedPolicyIds property. + */ + public void setOrderedPolicyIds(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("orderedPolicyIds", value); + } + /** + * Sets the subjectType property value. The subjectType property + * @param value Value to set for the subjectType property. + */ + public void setSubjectType(@jakarta.annotation.Nullable final EnumSet value) { + this.backingStore.set("subjectType", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/LifecyclePolicyPriorityConfigurationCollectionResponse.java b/src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/LifecyclePolicyPriorityConfigurationCollectionResponse.java new file mode 100644 index 00000000000..75c921b0aa9 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/LifecyclePolicyPriorityConfigurationCollectionResponse.java @@ -0,0 +1,62 @@ +package com.microsoft.graph.beta.models.identitygovernance; + +import com.microsoft.graph.beta.models.BaseCollectionPaginationCountResponse; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class LifecyclePolicyPriorityConfigurationCollectionResponse extends BaseCollectionPaginationCountResponse implements Parsable { + /** + * Instantiates a new {@link LifecyclePolicyPriorityConfigurationCollectionResponse} and sets the default values. + */ + public LifecyclePolicyPriorityConfigurationCollectionResponse() { + super(); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link LifecyclePolicyPriorityConfigurationCollectionResponse} + */ + @jakarta.annotation.Nonnull + public static LifecyclePolicyPriorityConfigurationCollectionResponse createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new LifecyclePolicyPriorityConfigurationCollectionResponse(); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("value", (n) -> { this.setValue(n.getCollectionOfObjectValues(LifecyclePolicyPriorityConfiguration::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the value property value. The value property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getValue() { + return this.backingStore.get("value"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeCollectionOfObjectValues("value", this.getValue()); + } + /** + * Sets the value property value. The value property + * @param value Value to set for the value property. + */ + public void setValue(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("value", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/LifecyclePolicyRule.java b/src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/LifecyclePolicyRule.java new file mode 100644 index 00000000000..bf7b74d3ce7 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/LifecyclePolicyRule.java @@ -0,0 +1,71 @@ +package com.microsoft.graph.beta.models.identitygovernance; + +import com.microsoft.graph.beta.models.Entity; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class LifecyclePolicyRule extends Entity implements Parsable { + /** + * Instantiates a new {@link LifecyclePolicyRule} and sets the default values. + */ + public LifecyclePolicyRule() { + super(); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link LifecyclePolicyRule} + */ + @jakarta.annotation.Nonnull + public static LifecyclePolicyRule createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + final ParseNode mappingValueNode = parseNode.getChildNode("@odata.type"); + if (mappingValueNode != null) { + final String mappingValue = mappingValueNode.getStringValue(); + switch (mappingValue) { + case "#microsoft.graph.identityGovernance.inactivityRule": return new InactivityRule(); + case "#microsoft.graph.identityGovernance.periodicAttestationRule": return new PeriodicAttestationRule(); + case "#microsoft.graph.identityGovernance.sponsorPresenceRule": return new SponsorPresenceRule(); + } + } + return new LifecyclePolicyRule(); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("isEnabled", (n) -> { this.setIsEnabled(n.getBooleanValue()); }); + return deserializerMap; + } + /** + * Gets the isEnabled property value. The isEnabled property + * @return a {@link Boolean} + */ + @jakarta.annotation.Nullable + public Boolean getIsEnabled() { + return this.backingStore.get("isEnabled"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeBooleanValue("isEnabled", this.getIsEnabled()); + } + /** + * Sets the isEnabled property value. The isEnabled property + * @param value Value to set for the isEnabled property. + */ + public void setIsEnabled(@jakarta.annotation.Nullable final Boolean value) { + this.backingStore.set("isEnabled", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/LifecyclePolicyRuleCollectionResponse.java b/src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/LifecyclePolicyRuleCollectionResponse.java new file mode 100644 index 00000000000..6033ad1a07b --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/LifecyclePolicyRuleCollectionResponse.java @@ -0,0 +1,62 @@ +package com.microsoft.graph.beta.models.identitygovernance; + +import com.microsoft.graph.beta.models.BaseCollectionPaginationCountResponse; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class LifecyclePolicyRuleCollectionResponse extends BaseCollectionPaginationCountResponse implements Parsable { + /** + * Instantiates a new {@link LifecyclePolicyRuleCollectionResponse} and sets the default values. + */ + public LifecyclePolicyRuleCollectionResponse() { + super(); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link LifecyclePolicyRuleCollectionResponse} + */ + @jakarta.annotation.Nonnull + public static LifecyclePolicyRuleCollectionResponse createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new LifecyclePolicyRuleCollectionResponse(); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("value", (n) -> { this.setValue(n.getCollectionOfObjectValues(LifecyclePolicyRule::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the value property value. The value property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getValue() { + return this.backingStore.get("value"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeCollectionOfObjectValues("value", this.getValue()); + } + /** + * Sets the value property value. The value property + * @param value Value to set for the value property. + */ + public void setValue(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("value", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/LifecyclePolicySource.java b/src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/LifecyclePolicySource.java new file mode 100644 index 00000000000..21a7547421f --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/LifecyclePolicySource.java @@ -0,0 +1,27 @@ +package com.microsoft.graph.beta.models.identitygovernance; + +import com.microsoft.kiota.serialization.ValuedEnum; +import java.util.Objects; + +@jakarta.annotation.Generated("com.microsoft.kiota") +public enum LifecyclePolicySource implements ValuedEnum { + UserCreated("userCreated"), + SystemDefault("systemDefault"), + UnknownFutureValue("unknownFutureValue"); + public final String value; + LifecyclePolicySource(final String value) { + this.value = value; + } + @jakarta.annotation.Nonnull + public String getValue() { return this.value; } + @jakarta.annotation.Nullable + public static LifecyclePolicySource forValue(@jakarta.annotation.Nonnull final String searchValue) { + Objects.requireNonNull(searchValue); + switch(searchValue) { + case "userCreated": return UserCreated; + case "systemDefault": return SystemDefault; + case "unknownFutureValue": return UnknownFutureValue; + default: return null; + } + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/LifecycleWorkflowsContainer.java b/src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/LifecycleWorkflowsContainer.java index 22dc4614dfc..ad1c4bffdff 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/LifecycleWorkflowsContainer.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/LifecycleWorkflowsContainer.java @@ -52,6 +52,8 @@ public Map> getFieldDeserializers deserializerMap.put("customTaskExtensions", (n) -> { this.setCustomTaskExtensions(n.getCollectionOfObjectValues(CustomTaskExtension::createFromDiscriminatorValue)); }); deserializerMap.put("deletedItems", (n) -> { this.setDeletedItems(n.getObjectValue(DeletedItemContainer::createFromDiscriminatorValue)); }); deserializerMap.put("insights", (n) -> { this.setInsights(n.getObjectValue(Insights::createFromDiscriminatorValue)); }); + deserializerMap.put("lifecyclePolicies", (n) -> { this.setLifecyclePolicies(n.getCollectionOfObjectValues(LifecyclePolicy::createFromDiscriminatorValue)); }); + deserializerMap.put("lifecyclePolicyPriorityConfigurations", (n) -> { this.setLifecyclePolicyPriorityConfigurations(n.getCollectionOfObjectValues(LifecyclePolicyPriorityConfiguration::createFromDiscriminatorValue)); }); deserializerMap.put("settings", (n) -> { this.setSettings(n.getObjectValue(LifecycleManagementSettings::createFromDiscriminatorValue)); }); deserializerMap.put("taskDefinitions", (n) -> { this.setTaskDefinitions(n.getCollectionOfObjectValues(TaskDefinition::createFromDiscriminatorValue)); }); deserializerMap.put("workflows", (n) -> { this.setWorkflows(n.getCollectionOfObjectValues(Workflow::createFromDiscriminatorValue)); }); @@ -66,6 +68,22 @@ public Map> getFieldDeserializers public Insights getInsights() { return this.backingStore.get("insights"); } + /** + * Gets the lifecyclePolicies property value. The lifecyclePolicies property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getLifecyclePolicies() { + return this.backingStore.get("lifecyclePolicies"); + } + /** + * Gets the lifecyclePolicyPriorityConfigurations property value. The lifecyclePolicyPriorityConfigurations property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getLifecyclePolicyPriorityConfigurations() { + return this.backingStore.get("lifecyclePolicyPriorityConfigurations"); + } /** * Gets the settings property value. The settings property * @return a {@link LifecycleManagementSettings} @@ -108,6 +126,8 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeCollectionOfObjectValues("customTaskExtensions", this.getCustomTaskExtensions()); writer.writeObjectValue("deletedItems", this.getDeletedItems()); writer.writeObjectValue("insights", this.getInsights()); + writer.writeCollectionOfObjectValues("lifecyclePolicies", this.getLifecyclePolicies()); + writer.writeCollectionOfObjectValues("lifecyclePolicyPriorityConfigurations", this.getLifecyclePolicyPriorityConfigurations()); writer.writeObjectValue("settings", this.getSettings()); writer.writeCollectionOfObjectValues("taskDefinitions", this.getTaskDefinitions()); writer.writeCollectionOfObjectValues("workflows", this.getWorkflows()); @@ -134,6 +154,20 @@ public void setDeletedItems(@jakarta.annotation.Nullable final DeletedItemContai public void setInsights(@jakarta.annotation.Nullable final Insights value) { this.backingStore.set("insights", value); } + /** + * Sets the lifecyclePolicies property value. The lifecyclePolicies property + * @param value Value to set for the lifecyclePolicies property. + */ + public void setLifecyclePolicies(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("lifecyclePolicies", value); + } + /** + * Sets the lifecyclePolicyPriorityConfigurations property value. The lifecyclePolicyPriorityConfigurations property + * @param value Value to set for the lifecyclePolicyPriorityConfigurations property. + */ + public void setLifecyclePolicyPriorityConfigurations(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("lifecyclePolicyPriorityConfigurations", value); + } /** * Sets the settings property value. The settings property * @param value Value to set for the settings property. diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/PeriodicAttestationRule.java b/src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/PeriodicAttestationRule.java new file mode 100644 index 00000000000..53857dadbb6 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/PeriodicAttestationRule.java @@ -0,0 +1,62 @@ +package com.microsoft.graph.beta.models.identitygovernance; + +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class PeriodicAttestationRule extends LifecyclePolicyRule implements Parsable { + /** + * Instantiates a new {@link PeriodicAttestationRule} and sets the default values. + */ + public PeriodicAttestationRule() { + super(); + this.setOdataType("#microsoft.graph.identityGovernance.periodicAttestationRule"); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link PeriodicAttestationRule} + */ + @jakarta.annotation.Nonnull + public static PeriodicAttestationRule createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new PeriodicAttestationRule(); + } + /** + * Gets the attestationIntervalInDays property value. The attestationIntervalInDays property + * @return a {@link Integer} + */ + @jakarta.annotation.Nullable + public Integer getAttestationIntervalInDays() { + return this.backingStore.get("attestationIntervalInDays"); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("attestationIntervalInDays", (n) -> { this.setAttestationIntervalInDays(n.getIntegerValue()); }); + return deserializerMap; + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeIntegerValue("attestationIntervalInDays", this.getAttestationIntervalInDays()); + } + /** + * Sets the attestationIntervalInDays property value. The attestationIntervalInDays property + * @param value Value to set for the attestationIntervalInDays property. + */ + public void setAttestationIntervalInDays(@jakarta.annotation.Nullable final Integer value) { + this.backingStore.set("attestationIntervalInDays", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/SelectedObjectsSubjectSet.java b/src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/SelectedObjectsSubjectSet.java new file mode 100644 index 00000000000..fa597ae1503 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/SelectedObjectsSubjectSet.java @@ -0,0 +1,64 @@ +package com.microsoft.graph.beta.models.identitygovernance; + +import com.microsoft.graph.beta.models.DirectoryObject; +import com.microsoft.graph.beta.models.SubjectSet; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class SelectedObjectsSubjectSet extends SubjectSet implements Parsable { + /** + * Instantiates a new {@link SelectedObjectsSubjectSet} and sets the default values. + */ + public SelectedObjectsSubjectSet() { + super(); + this.setOdataType("#microsoft.graph.identityGovernance.selectedObjectsSubjectSet"); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link SelectedObjectsSubjectSet} + */ + @jakarta.annotation.Nonnull + public static SelectedObjectsSubjectSet createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new SelectedObjectsSubjectSet(); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("inScopeObjects", (n) -> { this.setInScopeObjects(n.getCollectionOfObjectValues(DirectoryObject::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the inScopeObjects property value. The inScopeObjects property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getInScopeObjects() { + return this.backingStore.get("inScopeObjects"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeCollectionOfObjectValues("inScopeObjects", this.getInScopeObjects()); + } + /** + * Sets the inScopeObjects property value. The inScopeObjects property + * @param value Value to set for the inScopeObjects property. + */ + public void setInScopeObjects(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("inScopeObjects", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/SponsorPresenceRule.java b/src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/SponsorPresenceRule.java new file mode 100644 index 00000000000..ddf5b03e71a --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/SponsorPresenceRule.java @@ -0,0 +1,62 @@ +package com.microsoft.graph.beta.models.identitygovernance; + +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class SponsorPresenceRule extends LifecyclePolicyRule implements Parsable { + /** + * Instantiates a new {@link SponsorPresenceRule} and sets the default values. + */ + public SponsorPresenceRule() { + super(); + this.setOdataType("#microsoft.graph.identityGovernance.sponsorPresenceRule"); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link SponsorPresenceRule} + */ + @jakarta.annotation.Nonnull + public static SponsorPresenceRule createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new SponsorPresenceRule(); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("minimumSponsorCount", (n) -> { this.setMinimumSponsorCount(n.getIntegerValue()); }); + return deserializerMap; + } + /** + * Gets the minimumSponsorCount property value. The minimumSponsorCount property + * @return a {@link Integer} + */ + @jakarta.annotation.Nullable + public Integer getMinimumSponsorCount() { + return this.backingStore.get("minimumSponsorCount"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeIntegerValue("minimumSponsorCount", this.getMinimumSponsorCount()); + } + /** + * Sets the minimumSponsorCount property value. The minimumSponsorCount property + * @param value Value to set for the minimumSponsorCount property. + */ + public void setMinimumSponsorCount(@jakarta.annotation.Nullable final Integer value) { + this.backingStore.set("minimumSponsorCount", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/SubjectProcessingResult.java b/src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/SubjectProcessingResult.java index c96fbd07a17..e1a17a762af 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/SubjectProcessingResult.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/SubjectProcessingResult.java @@ -5,6 +5,7 @@ import com.microsoft.kiota.serialization.ParseNode; import com.microsoft.kiota.serialization.SerializationWriter; import java.time.OffsetDateTime; +import java.util.EnumSet; import java.util.HashMap; import java.util.Map; import java.util.Objects; @@ -56,6 +57,7 @@ public Map> getFieldDeserializers deserializerMap.put("scheduledDateTime", (n) -> { this.setScheduledDateTime(n.getOffsetDateTimeValue()); }); deserializerMap.put("startedDateTime", (n) -> { this.setStartedDateTime(n.getOffsetDateTimeValue()); }); deserializerMap.put("subject", (n) -> { this.setSubject(n.getObjectValue(WorkflowSubject::createFromDiscriminatorValue)); }); + deserializerMap.put("subjectType", (n) -> { this.setSubjectType(n.getEnumSetValue(SubjectType::forValue)); }); deserializerMap.put("taskProcessingResults", (n) -> { this.setTaskProcessingResults(n.getCollectionOfObjectValues(TaskProcessingResult::createFromDiscriminatorValue)); }); deserializerMap.put("totalTasksCount", (n) -> { this.setTotalTasksCount(n.getIntegerValue()); }); deserializerMap.put("totalUnprocessedTasksCount", (n) -> { this.setTotalUnprocessedTasksCount(n.getIntegerValue()); }); @@ -103,6 +105,14 @@ public OffsetDateTime getStartedDateTime() { public WorkflowSubject getSubject() { return this.backingStore.get("subject"); } + /** + * Gets the subjectType property value. The subjectType property + * @return a {@link EnumSet} + */ + @jakarta.annotation.Nullable + public EnumSet getSubjectType() { + return this.backingStore.get("subjectType"); + } /** * Gets the taskProcessingResults property value. The task-level processing results for this subject. Read-only. * @return a {@link java.util.List} @@ -157,6 +167,7 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeOffsetDateTimeValue("scheduledDateTime", this.getScheduledDateTime()); writer.writeOffsetDateTimeValue("startedDateTime", this.getStartedDateTime()); writer.writeObjectValue("subject", this.getSubject()); + writer.writeEnumSetValue("subjectType", this.getSubjectType()); writer.writeCollectionOfObjectValues("taskProcessingResults", this.getTaskProcessingResults()); writer.writeIntegerValue("totalTasksCount", this.getTotalTasksCount()); writer.writeIntegerValue("totalUnprocessedTasksCount", this.getTotalUnprocessedTasksCount()); @@ -212,6 +223,13 @@ public void setStartedDateTime(@jakarta.annotation.Nullable final OffsetDateTime public void setSubject(@jakarta.annotation.Nullable final WorkflowSubject value) { this.backingStore.set("subject", value); } + /** + * Sets the subjectType property value. The subjectType property + * @param value Value to set for the subjectType property. + */ + public void setSubjectType(@jakarta.annotation.Nullable final EnumSet value) { + this.backingStore.set("subjectType", value); + } /** * Sets the taskProcessingResults property value. The task-level processing results for this subject. Read-only. * @param value Value to set for the taskProcessingResults property. diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/SubjectSummary.java b/src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/SubjectSummary.java new file mode 100644 index 00000000000..d7a26f320b5 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/SubjectSummary.java @@ -0,0 +1,192 @@ +package com.microsoft.graph.beta.models.identitygovernance; + +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class SubjectSummary implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link SubjectSummary} and sets the default values. + */ + public SubjectSummary() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link SubjectSummary} + */ + @jakarta.annotation.Nonnull + public static SubjectSummary createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new SubjectSummary(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * Gets the failedSubjects property value. The number of subjects with at least one failed task in a subject summary. + * @return a {@link Integer} + */ + @jakarta.annotation.Nullable + public Integer getFailedSubjects() { + return this.backingStore.get("failedSubjects"); + } + /** + * Gets the failedTasks property value. The number of failed tasks for subjects in a subject summary. + * @return a {@link Integer} + */ + @jakarta.annotation.Nullable + public Integer getFailedTasks() { + return this.backingStore.get("failedTasks"); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(6); + deserializerMap.put("failedSubjects", (n) -> { this.setFailedSubjects(n.getIntegerValue()); }); + deserializerMap.put("failedTasks", (n) -> { this.setFailedTasks(n.getIntegerValue()); }); + deserializerMap.put("@odata.type", (n) -> { this.setOdataType(n.getStringValue()); }); + deserializerMap.put("successfulSubjects", (n) -> { this.setSuccessfulSubjects(n.getIntegerValue()); }); + deserializerMap.put("totalSubjects", (n) -> { this.setTotalSubjects(n.getIntegerValue()); }); + deserializerMap.put("totalTasks", (n) -> { this.setTotalTasks(n.getIntegerValue()); }); + return deserializerMap; + } + /** + * Gets the @odata.type property value. The OdataType property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getOdataType() { + return this.backingStore.get("odataType"); + } + /** + * Gets the successfulSubjects property value. The number of subjects where all tasks succeeded in a subject summary. + * @return a {@link Integer} + */ + @jakarta.annotation.Nullable + public Integer getSuccessfulSubjects() { + return this.backingStore.get("successfulSubjects"); + } + /** + * Gets the totalSubjects property value. The total number of subjects in a subject summary. + * @return a {@link Integer} + */ + @jakarta.annotation.Nullable + public Integer getTotalSubjects() { + return this.backingStore.get("totalSubjects"); + } + /** + * Gets the totalTasks property value. The total tasks of subjects in a subject summary. + * @return a {@link Integer} + */ + @jakarta.annotation.Nullable + public Integer getTotalTasks() { + return this.backingStore.get("totalTasks"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writeIntegerValue("failedSubjects", this.getFailedSubjects()); + writer.writeIntegerValue("failedTasks", this.getFailedTasks()); + writer.writeStringValue("@odata.type", this.getOdataType()); + writer.writeIntegerValue("successfulSubjects", this.getSuccessfulSubjects()); + writer.writeIntegerValue("totalSubjects", this.getTotalSubjects()); + writer.writeIntegerValue("totalTasks", this.getTotalTasks()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } + /** + * Sets the failedSubjects property value. The number of subjects with at least one failed task in a subject summary. + * @param value Value to set for the failedSubjects property. + */ + public void setFailedSubjects(@jakarta.annotation.Nullable final Integer value) { + this.backingStore.set("failedSubjects", value); + } + /** + * Sets the failedTasks property value. The number of failed tasks for subjects in a subject summary. + * @param value Value to set for the failedTasks property. + */ + public void setFailedTasks(@jakarta.annotation.Nullable final Integer value) { + this.backingStore.set("failedTasks", value); + } + /** + * Sets the @odata.type property value. The OdataType property + * @param value Value to set for the @odata.type property. + */ + public void setOdataType(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("odataType", value); + } + /** + * Sets the successfulSubjects property value. The number of subjects where all tasks succeeded in a subject summary. + * @param value Value to set for the successfulSubjects property. + */ + public void setSuccessfulSubjects(@jakarta.annotation.Nullable final Integer value) { + this.backingStore.set("successfulSubjects", value); + } + /** + * Sets the totalSubjects property value. The total number of subjects in a subject summary. + * @param value Value to set for the totalSubjects property. + */ + public void setTotalSubjects(@jakarta.annotation.Nullable final Integer value) { + this.backingStore.set("totalSubjects", value); + } + /** + * Sets the totalTasks property value. The total tasks of subjects in a subject summary. + * @param value Value to set for the totalTasks property. + */ + public void setTotalTasks(@jakarta.annotation.Nullable final Integer value) { + this.backingStore.set("totalTasks", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/SubjectType.java b/src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/SubjectType.java new file mode 100644 index 00000000000..37d208db722 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/SubjectType.java @@ -0,0 +1,29 @@ +package com.microsoft.graph.beta.models.identitygovernance; + +import com.microsoft.kiota.serialization.ValuedEnum; +import java.util.Objects; + +@jakarta.annotation.Generated("com.microsoft.kiota") +public enum SubjectType implements ValuedEnum { + User("user"), + AgentIdentity("agentIdentity"), + UnknownFutureValue("unknownFutureValue"), + ProvisioningObject("provisioningObject"); + public final String value; + SubjectType(final String value) { + this.value = value; + } + @jakarta.annotation.Nonnull + public String getValue() { return this.value; } + @jakarta.annotation.Nullable + public static SubjectType forValue(@jakarta.annotation.Nonnull final String searchValue) { + Objects.requireNonNull(searchValue); + switch(searchValue) { + case "user": return User; + case "agentIdentity": return AgentIdentity; + case "unknownFutureValue": return UnknownFutureValue; + case "provisioningObject": return ProvisioningObject; + default: return null; + } + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/WorkflowBase.java b/src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/WorkflowBase.java index 4532b64fe37..3bd734e14e6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/WorkflowBase.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/WorkflowBase.java @@ -10,6 +10,7 @@ import com.microsoft.kiota.store.BackingStore; import com.microsoft.kiota.store.BackingStoreFactorySingleton; import java.time.OffsetDateTime; +import java.util.EnumSet; import java.util.HashMap; import java.util.Map; import java.util.Objects; @@ -128,7 +129,7 @@ public WorkflowExecutionConditions getExecutionConditions() { */ @jakarta.annotation.Nonnull public Map> getFieldDeserializers() { - final HashMap> deserializerMap = new HashMap>(13); + final HashMap> deserializerMap = new HashMap>(14); deserializerMap.put("administrationScopeTargets", (n) -> { this.setAdministrationScopeTargets(n.getCollectionOfObjectValues(DirectoryObject::createFromDiscriminatorValue)); }); deserializerMap.put("category", (n) -> { this.setCategory(n.getEnumValue(LifecycleWorkflowCategory::forValue)); }); deserializerMap.put("createdBy", (n) -> { this.setCreatedBy(n.getObjectValue(User::createFromDiscriminatorValue)); }); @@ -141,6 +142,7 @@ public Map> getFieldDeserializers deserializerMap.put("lastModifiedBy", (n) -> { this.setLastModifiedBy(n.getObjectValue(User::createFromDiscriminatorValue)); }); deserializerMap.put("lastModifiedDateTime", (n) -> { this.setLastModifiedDateTime(n.getOffsetDateTimeValue()); }); deserializerMap.put("@odata.type", (n) -> { this.setOdataType(n.getStringValue()); }); + deserializerMap.put("targetSubjectType", (n) -> { this.setTargetSubjectType(n.getEnumSetValue(SubjectType::forValue)); }); deserializerMap.put("tasks", (n) -> { this.setTasks(n.getCollectionOfObjectValues(Task::createFromDiscriminatorValue)); }); return deserializerMap; } @@ -184,6 +186,14 @@ public OffsetDateTime getLastModifiedDateTime() { public String getOdataType() { return this.backingStore.get("odataType"); } + /** + * Gets the targetSubjectType property value. The targetSubjectType property + * @return a {@link EnumSet} + */ + @jakarta.annotation.Nullable + public EnumSet getTargetSubjectType() { + return this.backingStore.get("targetSubjectType"); + } /** * Gets the tasks property value. The tasks in the workflow. * @return a {@link java.util.List} @@ -210,6 +220,7 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeObjectValue("lastModifiedBy", this.getLastModifiedBy()); writer.writeOffsetDateTimeValue("lastModifiedDateTime", this.getLastModifiedDateTime()); writer.writeStringValue("@odata.type", this.getOdataType()); + writer.writeEnumSetValue("targetSubjectType", this.getTargetSubjectType()); writer.writeCollectionOfObjectValues("tasks", this.getTasks()); writer.writeAdditionalData(this.getAdditionalData()); } @@ -312,6 +323,13 @@ public void setLastModifiedDateTime(@jakarta.annotation.Nullable final OffsetDat public void setOdataType(@jakarta.annotation.Nullable final String value) { this.backingStore.set("odataType", value); } + /** + * Sets the targetSubjectType property value. The targetSubjectType property + * @param value Value to set for the targetSubjectType property. + */ + public void setTargetSubjectType(@jakarta.annotation.Nullable final EnumSet value) { + this.backingStore.set("targetSubjectType", value); + } /** * Sets the tasks property value. The tasks in the workflow. * @param value Value to set for the tasks property. diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/WorkflowSubject.java b/src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/WorkflowSubject.java index a519bf7670d..6b24c47fc23 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/WorkflowSubject.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/identitygovernance/WorkflowSubject.java @@ -36,6 +36,7 @@ public static WorkflowSubject createFromDiscriminatorValue(@jakarta.annotation.N if (mappingValueNode != null) { final String mappingValue = mappingValueNode.getStringValue(); switch (mappingValue) { + case "#microsoft.graph.identityGovernance.directoryObjectWorkflowSubject": return new DirectoryObjectWorkflowSubject(); case "#microsoft.graph.identityGovernance.provisioningObjectWorkflowSubject": return new ProvisioningObjectWorkflowSubject(); } } diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/security/Alert.java b/src/main/java/com/microsoft/graph/beta/generated/models/security/Alert.java index c1b23a371de..a70d189c95c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/security/Alert.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/security/Alert.java @@ -146,7 +146,7 @@ public String getDetectorId() { return this.backingStore.get("detectorId"); } /** - * Gets the determination property value. Specifies the result of the investigation, whether the alert represents a true attack, and if so, the nature of the attack. The possible values are: unknown, apt, malware, securityPersonnel, securityTesting, unwantedSoftware, other, multiStagedAttack, compromisedAccount, phishing, maliciousUserActivity, notMalicious, notEnoughDataToValidate, confirmedUserActivity, lineOfBusinessApplication, unknownFutureValue. + * Gets the determination property value. Specifies the result of the investigation, whether the alert represents a true attack, and if so, the nature of the attack. The possible values are: unknown, apt, malware, securityPersonnel, securityTesting, unwantedSoftware, other, multiStagedAttack, compromisedAccount, phishing, maliciousUserActivity, notMalicious, notEnoughDataToValidate, confirmedActivity, lineOfBusinessApplication, unknownFutureValue. * @return a {@link AlertDetermination} */ @jakarta.annotation.Nullable @@ -499,7 +499,7 @@ public void setDetectorId(@jakarta.annotation.Nullable final String value) { this.backingStore.set("detectorId", value); } /** - * Sets the determination property value. Specifies the result of the investigation, whether the alert represents a true attack, and if so, the nature of the attack. The possible values are: unknown, apt, malware, securityPersonnel, securityTesting, unwantedSoftware, other, multiStagedAttack, compromisedAccount, phishing, maliciousUserActivity, notMalicious, notEnoughDataToValidate, confirmedUserActivity, lineOfBusinessApplication, unknownFutureValue. + * Sets the determination property value. Specifies the result of the investigation, whether the alert represents a true attack, and if so, the nature of the attack. The possible values are: unknown, apt, malware, securityPersonnel, securityTesting, unwantedSoftware, other, multiStagedAttack, compromisedAccount, phishing, maliciousUserActivity, notMalicious, notEnoughDataToValidate, confirmedActivity, lineOfBusinessApplication, unknownFutureValue. * @param value Value to set for the determination property. */ public void setDetermination(@jakarta.annotation.Nullable final AlertDetermination value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/security/CaseManagementRoot.java b/src/main/java/com/microsoft/graph/beta/generated/models/security/CaseManagementRoot.java index 66ae95f1dbc..c4cd084f84f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/security/CaseManagementRoot.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/security/CaseManagementRoot.java @@ -28,7 +28,7 @@ public static CaseManagementRoot createFromDiscriminatorValue(@jakarta.annotatio return new CaseManagementRoot(); } /** - * Gets the cases property value. The collection of security cases managed through the case management entry point. Supports $filter, $orderby, $select, $top, $skip, and $count. + * Gets the cases property value. The collection of security cases managed through the case management entry point. Supports $filter, $orderby, $select, $top, and $skip. * @return a {@link java.util.List} */ @jakarta.annotation.Nullable @@ -65,7 +65,7 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeCollectionOfObjectValues("caseTypeConfigurations", this.getCaseTypeConfigurations()); } /** - * Sets the cases property value. The collection of security cases managed through the case management entry point. Supports $filter, $orderby, $select, $top, $skip, and $count. + * Sets the cases property value. The collection of security cases managed through the case management entry point. Supports $filter, $orderby, $select, $top, and $skip. * @param value Value to set for the cases property. */ public void setCases(@jakarta.annotation.Nullable final java.util.List value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/security/CreateAlertInput.java b/src/main/java/com/microsoft/graph/beta/generated/models/security/CreateAlertInput.java new file mode 100644 index 00000000000..26ada95ff90 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/security/CreateAlertInput.java @@ -0,0 +1,277 @@ +package com.microsoft.graph.beta.models.security; + +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class CreateAlertInput implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link CreateAlertInput} and sets the default values. + */ + public CreateAlertInput() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link CreateAlertInput} + */ + @jakarta.annotation.Nonnull + public static CreateAlertInput createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new CreateAlertInput(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * Gets the category property value. MITRE ATT&CK category for the alert. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getCategory() { + return this.backingStore.get("category"); + } + /** + * Gets the description property value. Free-text explanation of the suspicious activity or policy violation. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getDescription() { + return this.backingStore.get("description"); + } + /** + * Gets the entityDefinitions property value. Inline entity definitions that associate entities with the alert. + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getEntityDefinitions() { + return this.backingStore.get("entityDefinitions"); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(11); + deserializerMap.put("category", (n) -> { this.setCategory(n.getStringValue()); }); + deserializerMap.put("description", (n) -> { this.setDescription(n.getStringValue()); }); + deserializerMap.put("entityDefinitions", (n) -> { this.setEntityDefinitions(n.getCollectionOfObjectValues(EntityDefinition::createFromDiscriminatorValue)); }); + deserializerMap.put("isExcludedFromCorrelation", (n) -> { this.setIsExcludedFromCorrelation(n.getBooleanValue()); }); + deserializerMap.put("linkToIncident", (n) -> { this.setLinkToIncident(n.getLongValue()); }); + deserializerMap.put("mitreTechniques", (n) -> { this.setMitreTechniques(n.getCollectionOfPrimitiveValues(String.class)); }); + deserializerMap.put("@odata.type", (n) -> { this.setOdataType(n.getStringValue()); }); + deserializerMap.put("recommendedActions", (n) -> { this.setRecommendedActions(n.getStringValue()); }); + deserializerMap.put("sentinelWorkspace", (n) -> { this.setSentinelWorkspace(n.getStringValue()); }); + deserializerMap.put("severity", (n) -> { this.setSeverity(n.getEnumValue(AlertSeverity::forValue)); }); + deserializerMap.put("title", (n) -> { this.setTitle(n.getStringValue()); }); + return deserializerMap; + } + /** + * Gets the isExcludedFromCorrelation property value. Whether the alert is excluded from automatic correlation. Defaults to false. + * @return a {@link Boolean} + */ + @jakarta.annotation.Nullable + public Boolean getIsExcludedFromCorrelation() { + return this.backingStore.get("isExcludedFromCorrelation"); + } + /** + * Gets the linkToIncident property value. Incident ID to link the alert to. Use 0 or omit the value to create a new incident. + * @return a {@link Long} + */ + @jakarta.annotation.Nullable + public Long getLinkToIncident() { + return this.backingStore.get("linkToIncident"); + } + /** + * Gets the mitreTechniques property value. MITRE ATT&CK technique identifiers associated with the alert. + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getMitreTechniques() { + return this.backingStore.get("mitreTechniques"); + } + /** + * Gets the @odata.type property value. The OdataType property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getOdataType() { + return this.backingStore.get("odataType"); + } + /** + * Gets the recommendedActions property value. Recommended remediation actions for the alert. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getRecommendedActions() { + return this.backingStore.get("recommendedActions"); + } + /** + * Gets the sentinelWorkspace property value. Microsoft Sentinel workspace identifier used for workspace routing. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getSentinelWorkspace() { + return this.backingStore.get("sentinelWorkspace"); + } + /** + * Gets the severity property value. The severity property + * @return a {@link AlertSeverity} + */ + @jakarta.annotation.Nullable + public AlertSeverity getSeverity() { + return this.backingStore.get("severity"); + } + /** + * Gets the title property value. Short display name shown for the alert in the Defender portal. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getTitle() { + return this.backingStore.get("title"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writeStringValue("category", this.getCategory()); + writer.writeStringValue("description", this.getDescription()); + writer.writeCollectionOfObjectValues("entityDefinitions", this.getEntityDefinitions()); + writer.writeBooleanValue("isExcludedFromCorrelation", this.getIsExcludedFromCorrelation()); + writer.writeLongValue("linkToIncident", this.getLinkToIncident()); + writer.writeCollectionOfPrimitiveValues("mitreTechniques", this.getMitreTechniques()); + writer.writeStringValue("@odata.type", this.getOdataType()); + writer.writeStringValue("recommendedActions", this.getRecommendedActions()); + writer.writeStringValue("sentinelWorkspace", this.getSentinelWorkspace()); + writer.writeEnumValue("severity", this.getSeverity()); + writer.writeStringValue("title", this.getTitle()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } + /** + * Sets the category property value. MITRE ATT&CK category for the alert. + * @param value Value to set for the category property. + */ + public void setCategory(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("category", value); + } + /** + * Sets the description property value. Free-text explanation of the suspicious activity or policy violation. + * @param value Value to set for the description property. + */ + public void setDescription(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("description", value); + } + /** + * Sets the entityDefinitions property value. Inline entity definitions that associate entities with the alert. + * @param value Value to set for the entityDefinitions property. + */ + public void setEntityDefinitions(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("entityDefinitions", value); + } + /** + * Sets the isExcludedFromCorrelation property value. Whether the alert is excluded from automatic correlation. Defaults to false. + * @param value Value to set for the isExcludedFromCorrelation property. + */ + public void setIsExcludedFromCorrelation(@jakarta.annotation.Nullable final Boolean value) { + this.backingStore.set("isExcludedFromCorrelation", value); + } + /** + * Sets the linkToIncident property value. Incident ID to link the alert to. Use 0 or omit the value to create a new incident. + * @param value Value to set for the linkToIncident property. + */ + public void setLinkToIncident(@jakarta.annotation.Nullable final Long value) { + this.backingStore.set("linkToIncident", value); + } + /** + * Sets the mitreTechniques property value. MITRE ATT&CK technique identifiers associated with the alert. + * @param value Value to set for the mitreTechniques property. + */ + public void setMitreTechniques(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("mitreTechniques", value); + } + /** + * Sets the @odata.type property value. The OdataType property + * @param value Value to set for the @odata.type property. + */ + public void setOdataType(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("odataType", value); + } + /** + * Sets the recommendedActions property value. Recommended remediation actions for the alert. + * @param value Value to set for the recommendedActions property. + */ + public void setRecommendedActions(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("recommendedActions", value); + } + /** + * Sets the sentinelWorkspace property value. Microsoft Sentinel workspace identifier used for workspace routing. + * @param value Value to set for the sentinelWorkspace property. + */ + public void setSentinelWorkspace(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("sentinelWorkspace", value); + } + /** + * Sets the severity property value. The severity property + * @param value Value to set for the severity property. + */ + public void setSeverity(@jakarta.annotation.Nullable final AlertSeverity value) { + this.backingStore.set("severity", value); + } + /** + * Sets the title property value. Short display name shown for the alert in the Defender portal. + * @param value Value to set for the title property. + */ + public void setTitle(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("title", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/security/EntityDefinition.java b/src/main/java/com/microsoft/graph/beta/generated/models/security/EntityDefinition.java new file mode 100644 index 00000000000..2de593f2fe8 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/security/EntityDefinition.java @@ -0,0 +1,175 @@ +package com.microsoft.graph.beta.models.security; + +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class EntityDefinition implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link EntityDefinition} and sets the default values. + */ + public EntityDefinition() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link EntityDefinition} + */ + @jakarta.annotation.Nonnull + public static EntityDefinition createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new EntityDefinition(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * Gets the entityIdentifier property value. The identifier kind for the selected entity type, such as userPrincipalName, deviceId, or address. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getEntityIdentifier() { + return this.backingStore.get("entityIdentifier"); + } + /** + * Gets the entityType property value. The entityType property + * @return a {@link ManualAlertEntityType} + */ + @jakarta.annotation.Nullable + public ManualAlertEntityType getEntityType() { + return this.backingStore.get("entityType"); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(5); + deserializerMap.put("entityIdentifier", (n) -> { this.setEntityIdentifier(n.getStringValue()); }); + deserializerMap.put("entityType", (n) -> { this.setEntityType(n.getEnumValue(ManualAlertEntityType::forValue)); }); + deserializerMap.put("identifierValue", (n) -> { this.setIdentifierValue(n.getStringValue()); }); + deserializerMap.put("@odata.type", (n) -> { this.setOdataType(n.getStringValue()); }); + deserializerMap.put("role", (n) -> { this.setRole(n.getEnumValue(EntityDefinitionInputRole::forValue)); }); + return deserializerMap; + } + /** + * Gets the identifierValue property value. The value for the selected entity identifier. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getIdentifierValue() { + return this.backingStore.get("identifierValue"); + } + /** + * Gets the @odata.type property value. The OdataType property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getOdataType() { + return this.backingStore.get("odataType"); + } + /** + * Gets the role property value. The role property + * @return a {@link EntityDefinitionInputRole} + */ + @jakarta.annotation.Nullable + public EntityDefinitionInputRole getRole() { + return this.backingStore.get("role"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writeStringValue("entityIdentifier", this.getEntityIdentifier()); + writer.writeEnumValue("entityType", this.getEntityType()); + writer.writeStringValue("identifierValue", this.getIdentifierValue()); + writer.writeStringValue("@odata.type", this.getOdataType()); + writer.writeEnumValue("role", this.getRole()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } + /** + * Sets the entityIdentifier property value. The identifier kind for the selected entity type, such as userPrincipalName, deviceId, or address. + * @param value Value to set for the entityIdentifier property. + */ + public void setEntityIdentifier(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("entityIdentifier", value); + } + /** + * Sets the entityType property value. The entityType property + * @param value Value to set for the entityType property. + */ + public void setEntityType(@jakarta.annotation.Nullable final ManualAlertEntityType value) { + this.backingStore.set("entityType", value); + } + /** + * Sets the identifierValue property value. The value for the selected entity identifier. + * @param value Value to set for the identifierValue property. + */ + public void setIdentifierValue(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("identifierValue", value); + } + /** + * Sets the @odata.type property value. The OdataType property + * @param value Value to set for the @odata.type property. + */ + public void setOdataType(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("odataType", value); + } + /** + * Sets the role property value. The role property + * @param value Value to set for the role property. + */ + public void setRole(@jakarta.annotation.Nullable final EntityDefinitionInputRole value) { + this.backingStore.set("role", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/security/Incident.java b/src/main/java/com/microsoft/graph/beta/generated/models/security/Incident.java index 15fa61535ba..175dfb3c482 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/security/Incident.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/security/Incident.java @@ -83,7 +83,7 @@ public String getDescription() { return this.backingStore.get("description"); } /** - * Gets the determination property value. Specifies the determination of the incident. The possible values are: unknown, apt, malware, securityPersonnel, securityTesting, unwantedSoftware, other, multiStagedAttack, compromisedUser, phishing, maliciousUserActivity, clean, insufficientData, confirmedUserActivity, lineOfBusinessApplication, unknownFutureValue. + * Gets the determination property value. Specifies the determination of the incident. The possible values are: unknown, apt, malware, securityPersonnel, securityTesting, unwantedSoftware, other, multiStagedAttack, compromisedUser, phishing, maliciousUserActivity, clean, insufficientData, confirmedActivity, lineOfBusinessApplication, unknownFutureValue. * @return a {@link AlertDetermination} */ @jakarta.annotation.Nullable @@ -313,7 +313,7 @@ public void setDescription(@jakarta.annotation.Nullable final String value) { this.backingStore.set("description", value); } /** - * Sets the determination property value. Specifies the determination of the incident. The possible values are: unknown, apt, malware, securityPersonnel, securityTesting, unwantedSoftware, other, multiStagedAttack, compromisedUser, phishing, maliciousUserActivity, clean, insufficientData, confirmedUserActivity, lineOfBusinessApplication, unknownFutureValue. + * Sets the determination property value. Specifies the determination of the incident. The possible values are: unknown, apt, malware, securityPersonnel, securityTesting, unwantedSoftware, other, multiStagedAttack, compromisedUser, phishing, maliciousUserActivity, clean, insufficientData, confirmedActivity, lineOfBusinessApplication, unknownFutureValue. * @param value Value to set for the determination property. */ public void setDetermination(@jakarta.annotation.Nullable final AlertDetermination value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/security/casemanagement/Attachment.java b/src/main/java/com/microsoft/graph/beta/generated/models/security/casemanagement/Attachment.java index dd706502b08..9857b35950b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/security/casemanagement/Attachment.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/security/casemanagement/Attachment.java @@ -26,7 +26,7 @@ public static Attachment createFromDiscriminatorValue(@jakarta.annotation.Nonnul return new Attachment(); } /** - * Gets the content property value. The binary content stream for the attachment. + * Gets the content property value. The binary content stream for the attachment. Use the Upload content and Download content methods to access it. * @return a {@link byte[]} */ @jakarta.annotation.Nullable @@ -66,7 +66,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the fileExtension property value. The file extension of the attachment. + * Gets the fileExtension property value. The file extension of the attachment. The service normalizes the value to include a leading period. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -74,7 +74,7 @@ public String getFileExtension() { return this.backingStore.get("fileExtension"); } /** - * Gets the fileSize property value. The size of the attachment in bytes. + * Gets the fileSize property value. The size of the attachment in bytes. The maximum file size is 100 MB. * @return a {@link Long} */ @jakarta.annotation.Nullable @@ -113,7 +113,7 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeEnumValue("scanResult", this.getScanResult()); } /** - * Sets the content property value. The binary content stream for the attachment. + * Sets the content property value. The binary content stream for the attachment. Use the Upload content and Download content methods to access it. * @param value Value to set for the content property. */ public void setContent(@jakarta.annotation.Nullable final byte[] value) { @@ -134,14 +134,14 @@ public void setDisplayName(@jakarta.annotation.Nullable final String value) { this.backingStore.set("displayName", value); } /** - * Sets the fileExtension property value. The file extension of the attachment. + * Sets the fileExtension property value. The file extension of the attachment. The service normalizes the value to include a leading period. * @param value Value to set for the fileExtension property. */ public void setFileExtension(@jakarta.annotation.Nullable final String value) { this.backingStore.set("fileExtension", value); } /** - * Sets the fileSize property value. The size of the attachment in bytes. + * Sets the fileSize property value. The size of the attachment in bytes. The maximum file size is 100 MB. * @param value Value to set for the fileSize property. */ public void setFileSize(@jakarta.annotation.Nullable final Long value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/security/casemanagement/AuditLog.java b/src/main/java/com/microsoft/graph/beta/generated/models/security/casemanagement/AuditLog.java index 3a3d5f7bfc6..8f796683108 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/security/casemanagement/AuditLog.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/security/casemanagement/AuditLog.java @@ -54,7 +54,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the modifiedProperties property value. The collection of property changes recorded in the audit log. + * Gets the modifiedProperties property value. The collection of property changes recorded in the audit log. Supports $filter. * @return a {@link java.util.List} */ @jakarta.annotation.Nullable @@ -87,7 +87,7 @@ public void setDetails(@jakarta.annotation.Nullable final ActivityResourceDetail this.backingStore.set("details", value); } /** - * Sets the modifiedProperties property value. The collection of property changes recorded in the audit log. + * Sets the modifiedProperties property value. The collection of property changes recorded in the audit log. Supports $filter. * @param value Value to set for the modifiedProperties property. */ public void setModifiedProperties(@jakarta.annotation.Nullable final java.util.List value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/security/casemanagement/CaseEscaped.java b/src/main/java/com/microsoft/graph/beta/generated/models/security/casemanagement/CaseEscaped.java index c26dd7d1b56..7017acf756b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/security/casemanagement/CaseEscaped.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/security/casemanagement/CaseEscaped.java @@ -51,7 +51,7 @@ public java.util.List getAttachments() { return this.backingStore.get("attachments"); } /** - * Gets the customFields property value. Tenant-defined custom field values keyed by custom field identifier. + * Gets the customFields property value. Tenant-defined custom field values keyed by the exact displayName of each custom field definition. The property and its dynamic fields don't support $filter. * @return a {@link CustomFieldValues} */ @jakarta.annotation.Nullable @@ -59,7 +59,7 @@ public CustomFieldValues getCustomFields() { return this.backingStore.get("customFields"); } /** - * Gets the displayName property value. The display name of the case. Supports $filter (eq, ne) and $orderby. + * Gets the displayName property value. The display name of the case. Supports $filter and $orderby. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -91,7 +91,7 @@ public java.util.List getRelations() { return this.backingStore.get("relations"); } /** - * Gets the status property value. The lifecycle status of the case, such as open, in progress, or closed. Supports $filter (eq, ne) and $orderby. + * Gets the status property value. The tenant-defined lifecycle status of the case. Use a displayName value returned in the status tree by List statuses from /security/caseManagement/caseTypeConfigurations/genericCase/statuses or /security/caseManagement/caseTypeConfigurations/incidentCase/statuses, depending on the case type. Supports $filter (eq). * @return a {@link String} */ @jakarta.annotation.Nullable @@ -136,14 +136,14 @@ public void setAttachments(@jakarta.annotation.Nullable final java.util.List> getFieldDeserializers return deserializerMap; } /** - * Gets the message property value. The comment body. + * Gets the message property value. The comment body. Supports $filter. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -53,7 +53,7 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeStringValue("message", this.getMessage()); } /** - * Sets the message property value. The comment body. + * Sets the message property value. The comment body. Supports $filter. * @param value Value to set for the message property. */ public void setMessage(@jakarta.annotation.Nullable final String value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/security/casemanagement/GenericCase.java b/src/main/java/com/microsoft/graph/beta/generated/models/security/casemanagement/GenericCase.java index c85ffb77a79..bf47f904623 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/security/casemanagement/GenericCase.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/security/casemanagement/GenericCase.java @@ -27,7 +27,7 @@ public static GenericCase createFromDiscriminatorValue(@jakarta.annotation.Nonnu return new GenericCase(); } /** - * Gets the assignedTo property value. The user assigned to the generic case. + * Gets the assignedTo property value. The user assigned to the generic case. Supports $filter and $orderby. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -35,7 +35,7 @@ public String getAssignedTo() { return this.backingStore.get("assignedTo"); } /** - * Gets the closingNotes property value. Notes recorded when the generic case is closed. + * Gets the closingNotes property value. Notes recorded when the generic case is closed. Supports $filter. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -43,7 +43,7 @@ public String getClosingNotes() { return this.backingStore.get("closingNotes"); } /** - * Gets the description property value. The description of the generic case. + * Gets the description property value. The description of the generic case. Supports $filter. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -51,7 +51,7 @@ public String getDescription() { return this.backingStore.get("description"); } /** - * Gets the dueDateTime property value. The target completion date and time for the generic case. + * Gets the dueDateTime property value. The target completion date and time for the generic case. Supports $filter. * @return a {@link OffsetDateTime} */ @jakarta.annotation.Nullable @@ -73,7 +73,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the priority property value. The priority assigned to the generic case. + * Gets the priority property value. The priority assigned to the generic case. Possible values are: veryLow, low, medium, high, and critical. Supports $filter. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -94,35 +94,35 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeStringValue("priority", this.getPriority()); } /** - * Sets the assignedTo property value. The user assigned to the generic case. + * Sets the assignedTo property value. The user assigned to the generic case. Supports $filter and $orderby. * @param value Value to set for the assignedTo property. */ public void setAssignedTo(@jakarta.annotation.Nullable final String value) { this.backingStore.set("assignedTo", value); } /** - * Sets the closingNotes property value. Notes recorded when the generic case is closed. + * Sets the closingNotes property value. Notes recorded when the generic case is closed. Supports $filter. * @param value Value to set for the closingNotes property. */ public void setClosingNotes(@jakarta.annotation.Nullable final String value) { this.backingStore.set("closingNotes", value); } /** - * Sets the description property value. The description of the generic case. + * Sets the description property value. The description of the generic case. Supports $filter. * @param value Value to set for the description property. */ public void setDescription(@jakarta.annotation.Nullable final String value) { this.backingStore.set("description", value); } /** - * Sets the dueDateTime property value. The target completion date and time for the generic case. + * Sets the dueDateTime property value. The target completion date and time for the generic case. Supports $filter. * @param value Value to set for the dueDateTime property. */ public void setDueDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { this.backingStore.set("dueDateTime", value); } /** - * Sets the priority property value. The priority assigned to the generic case. + * Sets the priority property value. The priority assigned to the generic case. Possible values are: veryLow, low, medium, high, and critical. Supports $filter. * @param value Value to set for the priority property. */ public void setPriority(@jakarta.annotation.Nullable final String value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/security/casemanagement/IncidentCase.java b/src/main/java/com/microsoft/graph/beta/generated/models/security/casemanagement/IncidentCase.java index 84c28f8e4c4..df7a61a3c88 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/security/casemanagement/IncidentCase.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/security/casemanagement/IncidentCase.java @@ -27,7 +27,7 @@ public static IncidentCase createFromDiscriminatorValue(@jakarta.annotation.Nonn return new IncidentCase(); } /** - * Gets the aiAgentIds property value. The list of AI agent identifiers associated with the incident. + * Gets the aiAgentIds property value. The list of AI agent identifiers associated with the incident. Supports $filter. * @return a {@link java.util.List} */ @jakarta.annotation.Nullable @@ -35,7 +35,7 @@ public java.util.List getAiAgentIds() { return this.backingStore.get("aiAgentIds"); } /** - * Gets the alertCounts property value. A summary of alert counts grouped by severity and status. + * Gets the alertCounts property value. A summary of alert counts grouped by severity and status. Supports $filter. * @return a {@link AlertCounts} */ @jakarta.annotation.Nullable @@ -43,7 +43,7 @@ public AlertCounts getAlertCounts() { return this.backingStore.get("alertCounts"); } /** - * Gets the alertPolicyIds property value. The list of alert policy identifiers associated with the incident. + * Gets the alertPolicyIds property value. The list of alert policy identifiers associated with the incident. Supports $filter. * @return a {@link java.util.List} */ @jakarta.annotation.Nullable @@ -51,7 +51,7 @@ public java.util.List getAlertPolicyIds() { return this.backingStore.get("alertPolicyIds"); } /** - * Gets the assignedTo property value. The user assigned to investigate the incident case. + * Gets the assignedTo property value. The user assigned to investigate the incident case. Supports $filter and $orderby. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -59,7 +59,7 @@ public String getAssignedTo() { return this.backingStore.get("assignedTo"); } /** - * Gets the associatedThreatIds property value. The list of threat identifiers associated with the incident. + * Gets the associatedThreatIds property value. The list of threat identifiers associated with the incident. Supports $filter. * @return a {@link java.util.List} */ @jakarta.annotation.Nullable @@ -67,7 +67,7 @@ public java.util.List getAssociatedThreatIds() { return this.backingStore.get("associatedThreatIds"); } /** - * Gets the categories property value. The incident categories. + * Gets the categories property value. The incident categories. Supports $filter. * @return a {@link java.util.List} */ @jakarta.annotation.Nullable @@ -83,7 +83,7 @@ public IncidentClassification getClassification() { return this.backingStore.get("classification"); } /** - * Gets the cloudScopes property value. The cloud scopes associated with the incident. + * Gets the cloudScopes property value. The cloud scopes associated with the incident. Supports $filter. * @return a {@link java.util.List} */ @jakarta.annotation.Nullable @@ -91,7 +91,7 @@ public java.util.List getCloudScopes() { return this.backingStore.get("cloudScopes"); } /** - * Gets the dataSensitivityLabels property value. The data sensitivity labels associated with the incident. + * Gets the dataSensitivityLabels property value. The data sensitivity labels associated with the incident. Supports $filter. * @return a {@link java.util.List} */ @jakarta.annotation.Nullable @@ -99,7 +99,7 @@ public java.util.List getDataSensitivityLabels() { return this.backingStore.get("dataSensitivityLabels"); } /** - * Gets the dataStreams property value. The data streams associated with the incident. + * Gets the dataStreams property value. The data streams associated with the incident. Supports $filter. * @return a {@link java.util.List} */ @jakarta.annotation.Nullable @@ -107,7 +107,7 @@ public java.util.List getDataStreams() { return this.backingStore.get("dataStreams"); } /** - * Gets the detectionSources property value. The detection sources that identified the incident. + * Gets the detectionSources property value. The detection sources that identified the incident. Supports $filter. * @return a {@link java.util.List} */ @jakarta.annotation.Nullable @@ -123,7 +123,7 @@ public IncidentDetermination getDetermination() { return this.backingStore.get("determination"); } /** - * Gets the dueDateTime property value. The target completion date and time for the incident case. + * Gets the dueDateTime property value. The target completion date and time for the incident case. Supports $filter. * @return a {@link OffsetDateTime} */ @jakarta.annotation.Nullable @@ -131,7 +131,7 @@ public OffsetDateTime getDueDateTime() { return this.backingStore.get("dueDateTime"); } /** - * Gets the emailNotificationRecipients property value. The email notification recipients for the incident case. + * Gets the emailNotificationRecipients property value. The email notification recipients for the incident case. Supports $filter. * @return a {@link java.util.List} */ @jakarta.annotation.Nullable @@ -183,7 +183,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the firstEventTime property value. The date and time of the first event in the incident. + * Gets the firstEventTime property value. The date and time of the first event in the incident. Supports $filter. * @return a {@link OffsetDateTime} */ @jakarta.annotation.Nullable @@ -191,7 +191,7 @@ public OffsetDateTime getFirstEventTime() { return this.backingStore.get("firstEventTime"); } /** - * Gets the impactedAssets property value. A summary of impacted asset counts for the incident. + * Gets the impactedAssets property value. A summary of impacted asset counts for the incident. Supports $filter. * @return a {@link ImpactedAssetsCounts} */ @jakarta.annotation.Nullable @@ -199,7 +199,7 @@ public ImpactedAssetsCounts getImpactedAssets() { return this.backingStore.get("impactedAssets"); } /** - * Gets the incidentId property value. The Microsoft Security incident identifier. + * Gets the incidentId property value. The Microsoft Security incident identifier. Supports $filter. * @return a {@link Long} */ @jakarta.annotation.Nullable @@ -207,7 +207,7 @@ public Long getIncidentId() { return this.backingStore.get("incidentId"); } /** - * Gets the incidentWebUrl property value. The URL for the incident in the Microsoft Defender portal. + * Gets the incidentWebUrl property value. The URL for the incident in the Microsoft Defender portal. Supports $filter. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -215,7 +215,7 @@ public String getIncidentWebUrl() { return this.backingStore.get("incidentWebUrl"); } /** - * Gets the investigation property value. A summary of investigation details associated with the incident. + * Gets the investigation property value. A summary of investigation details associated with the incident. Supports $filter. * @return a {@link Investigation} */ @jakarta.annotation.Nullable @@ -223,7 +223,7 @@ public Investigation getInvestigation() { return this.backingStore.get("investigation"); } /** - * Gets the investigationIds property value. The list of investigation identifiers associated with the incident. + * Gets the investigationIds property value. The list of investigation identifiers associated with the incident. Supports $filter. * @return a {@link java.util.List} */ @jakarta.annotation.Nullable @@ -231,7 +231,7 @@ public java.util.List getInvestigationIds() { return this.backingStore.get("investigationIds"); } /** - * Gets the investigationStates property value. The list of investigation states associated with the incident. + * Gets the investigationStates property value. The list of investigation states associated with the incident. Supports $filter. * @return a {@link java.util.List} */ @jakarta.annotation.Nullable @@ -239,7 +239,7 @@ public java.util.List getInvestigationStates() { return this.backingStore.get("investigationStates"); } /** - * Gets the lastEventTime property value. The date and time of the most recent event in the incident. + * Gets the lastEventTime property value. The date and time of the most recent event in the incident. Supports $filter. * @return a {@link OffsetDateTime} */ @jakarta.annotation.Nullable @@ -247,7 +247,7 @@ public OffsetDateTime getLastEventTime() { return this.backingStore.get("lastEventTime"); } /** - * Gets the machineGroupIds property value. The list of machine group identifiers associated with the incident. + * Gets the machineGroupIds property value. The list of machine group identifiers associated with the incident. Supports $filter. * @return a {@link java.util.List} */ @jakarta.annotation.Nullable @@ -255,7 +255,7 @@ public java.util.List getMachineGroupIds() { return this.backingStore.get("machineGroupIds"); } /** - * Gets the osPlatforms property value. The operating system platforms associated with the incident. + * Gets the osPlatforms property value. The operating system platforms associated with the incident. Supports $filter. * @return a {@link java.util.List} */ @jakarta.annotation.Nullable @@ -263,7 +263,7 @@ public java.util.List getOsPlatforms() { return this.backingStore.get("osPlatforms"); } /** - * Gets the policyNames property value. The policy names associated with the incident. + * Gets the policyNames property value. The policy names associated with the incident. Supports $filter. * @return a {@link java.util.List} */ @jakarta.annotation.Nullable @@ -271,7 +271,7 @@ public java.util.List getPolicyNames() { return this.backingStore.get("policyNames"); } /** - * Gets the priorityScore property value. The priority score assigned to the incident. + * Gets the priorityScore property value. The priority score assigned to the incident. Supports $filter. * @return a {@link Integer} */ @jakarta.annotation.Nullable @@ -279,7 +279,7 @@ public Integer getPriorityScore() { return this.backingStore.get("priorityScore"); } /** - * Gets the productNames property value. The product names associated with the incident. + * Gets the productNames property value. The product names associated with the incident. Supports $filter. * @return a {@link java.util.List} */ @jakarta.annotation.Nullable @@ -287,7 +287,7 @@ public java.util.List getProductNames() { return this.backingStore.get("productNames"); } /** - * Gets the redirectCaseId property value. The case identifier to which this case redirects when merged. + * Gets the redirectCaseId property value. The redirectCaseId property * @return a {@link Long} */ @jakarta.annotation.Nullable @@ -295,7 +295,7 @@ public Long getRedirectCaseId() { return this.backingStore.get("redirectCaseId"); } /** - * Gets the redirectIncidentId property value. The incident identifier to which this incident redirects when merged. + * Gets the redirectIncidentId property value. The redirectIncidentId property * @return a {@link Long} */ @jakarta.annotation.Nullable @@ -303,7 +303,7 @@ public Long getRedirectIncidentId() { return this.backingStore.get("redirectIncidentId"); } /** - * Gets the serviceSources property value. The service sources associated with the incident. + * Gets the serviceSources property value. The service sources associated with the incident. Supports $filter. * @return a {@link java.util.List} */ @jakarta.annotation.Nullable @@ -319,7 +319,7 @@ public IncidentSeverity getSeverity() { return this.backingStore.get("severity"); } /** - * Gets the summary property value. A summary of the incident. + * Gets the summary property value. A summary of the incident. Supports $filter. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -327,7 +327,7 @@ public String getSummary() { return this.backingStore.get("summary"); } /** - * Gets the systemTags property value. The system tags associated with the incident. + * Gets the systemTags property value. The system tags associated with the incident. Supports $filter. * @return a {@link java.util.List} */ @jakarta.annotation.Nullable @@ -335,7 +335,7 @@ public java.util.List getSystemTags() { return this.backingStore.get("systemTags"); } /** - * Gets the topRiskScore property value. The top risk score associated with the incident. + * Gets the topRiskScore property value. The top risk score associated with the incident. Supports $filter. * @return a {@link Integer} */ @jakarta.annotation.Nullable @@ -343,7 +343,7 @@ public Integer getTopRiskScore() { return this.backingStore.get("topRiskScore"); } /** - * Gets the workspaceIds property value. The list of workspace identifiers associated with the incident. + * Gets the workspaceIds property value. The list of workspace identifiers associated with the incident. Supports $filter. * @return a {@link java.util.List} */ @jakarta.annotation.Nullable @@ -394,42 +394,42 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeCollectionOfPrimitiveValues("workspaceIds", this.getWorkspaceIds()); } /** - * Sets the aiAgentIds property value. The list of AI agent identifiers associated with the incident. + * Sets the aiAgentIds property value. The list of AI agent identifiers associated with the incident. Supports $filter. * @param value Value to set for the aiAgentIds property. */ public void setAiAgentIds(@jakarta.annotation.Nullable final java.util.List value) { this.backingStore.set("aiAgentIds", value); } /** - * Sets the alertCounts property value. A summary of alert counts grouped by severity and status. + * Sets the alertCounts property value. A summary of alert counts grouped by severity and status. Supports $filter. * @param value Value to set for the alertCounts property. */ public void setAlertCounts(@jakarta.annotation.Nullable final AlertCounts value) { this.backingStore.set("alertCounts", value); } /** - * Sets the alertPolicyIds property value. The list of alert policy identifiers associated with the incident. + * Sets the alertPolicyIds property value. The list of alert policy identifiers associated with the incident. Supports $filter. * @param value Value to set for the alertPolicyIds property. */ public void setAlertPolicyIds(@jakarta.annotation.Nullable final java.util.List value) { this.backingStore.set("alertPolicyIds", value); } /** - * Sets the assignedTo property value. The user assigned to investigate the incident case. + * Sets the assignedTo property value. The user assigned to investigate the incident case. Supports $filter and $orderby. * @param value Value to set for the assignedTo property. */ public void setAssignedTo(@jakarta.annotation.Nullable final String value) { this.backingStore.set("assignedTo", value); } /** - * Sets the associatedThreatIds property value. The list of threat identifiers associated with the incident. + * Sets the associatedThreatIds property value. The list of threat identifiers associated with the incident. Supports $filter. * @param value Value to set for the associatedThreatIds property. */ public void setAssociatedThreatIds(@jakarta.annotation.Nullable final java.util.List value) { this.backingStore.set("associatedThreatIds", value); } /** - * Sets the categories property value. The incident categories. + * Sets the categories property value. The incident categories. Supports $filter. * @param value Value to set for the categories property. */ public void setCategories(@jakarta.annotation.Nullable final java.util.List value) { @@ -443,28 +443,28 @@ public void setClassification(@jakarta.annotation.Nullable final IncidentClassif this.backingStore.set("classification", value); } /** - * Sets the cloudScopes property value. The cloud scopes associated with the incident. + * Sets the cloudScopes property value. The cloud scopes associated with the incident. Supports $filter. * @param value Value to set for the cloudScopes property. */ public void setCloudScopes(@jakarta.annotation.Nullable final java.util.List value) { this.backingStore.set("cloudScopes", value); } /** - * Sets the dataSensitivityLabels property value. The data sensitivity labels associated with the incident. + * Sets the dataSensitivityLabels property value. The data sensitivity labels associated with the incident. Supports $filter. * @param value Value to set for the dataSensitivityLabels property. */ public void setDataSensitivityLabels(@jakarta.annotation.Nullable final java.util.List value) { this.backingStore.set("dataSensitivityLabels", value); } /** - * Sets the dataStreams property value. The data streams associated with the incident. + * Sets the dataStreams property value. The data streams associated with the incident. Supports $filter. * @param value Value to set for the dataStreams property. */ public void setDataStreams(@jakarta.annotation.Nullable final java.util.List value) { this.backingStore.set("dataStreams", value); } /** - * Sets the detectionSources property value. The detection sources that identified the incident. + * Sets the detectionSources property value. The detection sources that identified the incident. Supports $filter. * @param value Value to set for the detectionSources property. */ public void setDetectionSources(@jakarta.annotation.Nullable final java.util.List value) { @@ -478,126 +478,126 @@ public void setDetermination(@jakarta.annotation.Nullable final IncidentDetermin this.backingStore.set("determination", value); } /** - * Sets the dueDateTime property value. The target completion date and time for the incident case. + * Sets the dueDateTime property value. The target completion date and time for the incident case. Supports $filter. * @param value Value to set for the dueDateTime property. */ public void setDueDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { this.backingStore.set("dueDateTime", value); } /** - * Sets the emailNotificationRecipients property value. The email notification recipients for the incident case. + * Sets the emailNotificationRecipients property value. The email notification recipients for the incident case. Supports $filter. * @param value Value to set for the emailNotificationRecipients property. */ public void setEmailNotificationRecipients(@jakarta.annotation.Nullable final java.util.List value) { this.backingStore.set("emailNotificationRecipients", value); } /** - * Sets the firstEventTime property value. The date and time of the first event in the incident. + * Sets the firstEventTime property value. The date and time of the first event in the incident. Supports $filter. * @param value Value to set for the firstEventTime property. */ public void setFirstEventTime(@jakarta.annotation.Nullable final OffsetDateTime value) { this.backingStore.set("firstEventTime", value); } /** - * Sets the impactedAssets property value. A summary of impacted asset counts for the incident. + * Sets the impactedAssets property value. A summary of impacted asset counts for the incident. Supports $filter. * @param value Value to set for the impactedAssets property. */ public void setImpactedAssets(@jakarta.annotation.Nullable final ImpactedAssetsCounts value) { this.backingStore.set("impactedAssets", value); } /** - * Sets the incidentId property value. The Microsoft Security incident identifier. + * Sets the incidentId property value. The Microsoft Security incident identifier. Supports $filter. * @param value Value to set for the incidentId property. */ public void setIncidentId(@jakarta.annotation.Nullable final Long value) { this.backingStore.set("incidentId", value); } /** - * Sets the incidentWebUrl property value. The URL for the incident in the Microsoft Defender portal. + * Sets the incidentWebUrl property value. The URL for the incident in the Microsoft Defender portal. Supports $filter. * @param value Value to set for the incidentWebUrl property. */ public void setIncidentWebUrl(@jakarta.annotation.Nullable final String value) { this.backingStore.set("incidentWebUrl", value); } /** - * Sets the investigation property value. A summary of investigation details associated with the incident. + * Sets the investigation property value. A summary of investigation details associated with the incident. Supports $filter. * @param value Value to set for the investigation property. */ public void setInvestigation(@jakarta.annotation.Nullable final Investigation value) { this.backingStore.set("investigation", value); } /** - * Sets the investigationIds property value. The list of investigation identifiers associated with the incident. + * Sets the investigationIds property value. The list of investigation identifiers associated with the incident. Supports $filter. * @param value Value to set for the investigationIds property. */ public void setInvestigationIds(@jakarta.annotation.Nullable final java.util.List value) { this.backingStore.set("investigationIds", value); } /** - * Sets the investigationStates property value. The list of investigation states associated with the incident. + * Sets the investigationStates property value. The list of investigation states associated with the incident. Supports $filter. * @param value Value to set for the investigationStates property. */ public void setInvestigationStates(@jakarta.annotation.Nullable final java.util.List value) { this.backingStore.set("investigationStates", value); } /** - * Sets the lastEventTime property value. The date and time of the most recent event in the incident. + * Sets the lastEventTime property value. The date and time of the most recent event in the incident. Supports $filter. * @param value Value to set for the lastEventTime property. */ public void setLastEventTime(@jakarta.annotation.Nullable final OffsetDateTime value) { this.backingStore.set("lastEventTime", value); } /** - * Sets the machineGroupIds property value. The list of machine group identifiers associated with the incident. + * Sets the machineGroupIds property value. The list of machine group identifiers associated with the incident. Supports $filter. * @param value Value to set for the machineGroupIds property. */ public void setMachineGroupIds(@jakarta.annotation.Nullable final java.util.List value) { this.backingStore.set("machineGroupIds", value); } /** - * Sets the osPlatforms property value. The operating system platforms associated with the incident. + * Sets the osPlatforms property value. The operating system platforms associated with the incident. Supports $filter. * @param value Value to set for the osPlatforms property. */ public void setOsPlatforms(@jakarta.annotation.Nullable final java.util.List value) { this.backingStore.set("osPlatforms", value); } /** - * Sets the policyNames property value. The policy names associated with the incident. + * Sets the policyNames property value. The policy names associated with the incident. Supports $filter. * @param value Value to set for the policyNames property. */ public void setPolicyNames(@jakarta.annotation.Nullable final java.util.List value) { this.backingStore.set("policyNames", value); } /** - * Sets the priorityScore property value. The priority score assigned to the incident. + * Sets the priorityScore property value. The priority score assigned to the incident. Supports $filter. * @param value Value to set for the priorityScore property. */ public void setPriorityScore(@jakarta.annotation.Nullable final Integer value) { this.backingStore.set("priorityScore", value); } /** - * Sets the productNames property value. The product names associated with the incident. + * Sets the productNames property value. The product names associated with the incident. Supports $filter. * @param value Value to set for the productNames property. */ public void setProductNames(@jakarta.annotation.Nullable final java.util.List value) { this.backingStore.set("productNames", value); } /** - * Sets the redirectCaseId property value. The case identifier to which this case redirects when merged. + * Sets the redirectCaseId property value. The redirectCaseId property * @param value Value to set for the redirectCaseId property. */ public void setRedirectCaseId(@jakarta.annotation.Nullable final Long value) { this.backingStore.set("redirectCaseId", value); } /** - * Sets the redirectIncidentId property value. The incident identifier to which this incident redirects when merged. + * Sets the redirectIncidentId property value. The redirectIncidentId property * @param value Value to set for the redirectIncidentId property. */ public void setRedirectIncidentId(@jakarta.annotation.Nullable final Long value) { this.backingStore.set("redirectIncidentId", value); } /** - * Sets the serviceSources property value. The service sources associated with the incident. + * Sets the serviceSources property value. The service sources associated with the incident. Supports $filter. * @param value Value to set for the serviceSources property. */ public void setServiceSources(@jakarta.annotation.Nullable final java.util.List value) { @@ -611,28 +611,28 @@ public void setSeverity(@jakarta.annotation.Nullable final IncidentSeverity valu this.backingStore.set("severity", value); } /** - * Sets the summary property value. A summary of the incident. + * Sets the summary property value. A summary of the incident. Supports $filter. * @param value Value to set for the summary property. */ public void setSummary(@jakarta.annotation.Nullable final String value) { this.backingStore.set("summary", value); } /** - * Sets the systemTags property value. The system tags associated with the incident. + * Sets the systemTags property value. The system tags associated with the incident. Supports $filter. * @param value Value to set for the systemTags property. */ public void setSystemTags(@jakarta.annotation.Nullable final java.util.List value) { this.backingStore.set("systemTags", value); } /** - * Sets the topRiskScore property value. The top risk score associated with the incident. + * Sets the topRiskScore property value. The top risk score associated with the incident. Supports $filter. * @param value Value to set for the topRiskScore property. */ public void setTopRiskScore(@jakarta.annotation.Nullable final Integer value) { this.backingStore.set("topRiskScore", value); } /** - * Sets the workspaceIds property value. The list of workspace identifiers associated with the incident. + * Sets the workspaceIds property value. The list of workspace identifiers associated with the incident. Supports $filter. * @param value Value to set for the workspaceIds property. */ public void setWorkspaceIds(@jakarta.annotation.Nullable final java.util.List value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/security/casemanagement/Task.java b/src/main/java/com/microsoft/graph/beta/generated/models/security/casemanagement/Task.java index 73de45fc3f8..852d0fb2891 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/security/casemanagement/Task.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/security/casemanagement/Task.java @@ -27,7 +27,7 @@ public static Task createFromDiscriminatorValue(@jakarta.annotation.Nonnull fina return new Task(); } /** - * Gets the assignedTo property value. The user assigned to the task. + * Gets the assignedTo property value. The user assigned to the task. Supports $filter. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -43,7 +43,7 @@ public CaseTaskCategory getCategory() { return this.backingStore.get("category"); } /** - * Gets the closingNotes property value. Notes recorded when the task is completed. + * Gets the closingNotes property value. Notes recorded when the task is completed. Supports $filter. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -51,7 +51,7 @@ public String getClosingNotes() { return this.backingStore.get("closingNotes"); } /** - * Gets the description property value. The description of the task. + * Gets the description property value. The description of the task. Supports $filter. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -59,7 +59,7 @@ public String getDescription() { return this.backingStore.get("description"); } /** - * Gets the displayName property value. The title of the task. + * Gets the displayName property value. The title of the task. Supports $filter. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -67,7 +67,7 @@ public String getDisplayName() { return this.backingStore.get("displayName"); } /** - * Gets the dueDateTime property value. The target completion date and time for the task. + * Gets the dueDateTime property value. The target completion date and time for the task. Supports $filter. * @return a {@link OffsetDateTime} */ @jakarta.annotation.Nullable @@ -124,7 +124,7 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeEnumValue("status", this.getStatus()); } /** - * Sets the assignedTo property value. The user assigned to the task. + * Sets the assignedTo property value. The user assigned to the task. Supports $filter. * @param value Value to set for the assignedTo property. */ public void setAssignedTo(@jakarta.annotation.Nullable final String value) { @@ -138,28 +138,28 @@ public void setCategory(@jakarta.annotation.Nullable final CaseTaskCategory valu this.backingStore.set("category", value); } /** - * Sets the closingNotes property value. Notes recorded when the task is completed. + * Sets the closingNotes property value. Notes recorded when the task is completed. Supports $filter. * @param value Value to set for the closingNotes property. */ public void setClosingNotes(@jakarta.annotation.Nullable final String value) { this.backingStore.set("closingNotes", value); } /** - * Sets the description property value. The description of the task. + * Sets the description property value. The description of the task. Supports $filter. * @param value Value to set for the description property. */ public void setDescription(@jakarta.annotation.Nullable final String value) { this.backingStore.set("description", value); } /** - * Sets the displayName property value. The title of the task. + * Sets the displayName property value. The title of the task. Supports $filter. * @param value Value to set for the displayName property. */ public void setDisplayName(@jakarta.annotation.Nullable final String value) { this.backingStore.set("displayName", value); } /** - * Sets the dueDateTime property value. The target completion date and time for the task. + * Sets the dueDateTime property value. The target completion date and time for the task. Supports $filter. * @param value Value to set for the dueDateTime property. */ public void setDueDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/LongRunningOperation.java b/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/LongRunningOperation.java deleted file mode 100644 index 657071b8560..00000000000 --- a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/LongRunningOperation.java +++ /dev/null @@ -1,131 +0,0 @@ -package com.microsoft.graph.beta.models.tenantgovernanceservices; - -import com.microsoft.graph.beta.models.Entity; -import com.microsoft.kiota.serialization.Parsable; -import com.microsoft.kiota.serialization.ParseNode; -import com.microsoft.kiota.serialization.SerializationWriter; -import java.time.OffsetDateTime; -import java.util.HashMap; -import java.util.Map; -import java.util.Objects; -@jakarta.annotation.Generated("com.microsoft.kiota") -public class LongRunningOperation extends Entity implements Parsable { - /** - * Instantiates a new {@link LongRunningOperation} and sets the default values. - */ - public LongRunningOperation() { - super(); - } - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param parseNode The parse node to use to read the discriminator value and create the object - * @return a {@link LongRunningOperation} - */ - @jakarta.annotation.Nonnull - public static LongRunningOperation createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { - Objects.requireNonNull(parseNode); - return new LongRunningOperation(); - } - /** - * Gets the createdDateTime property value. The createdDateTime property - * @return a {@link OffsetDateTime} - */ - @jakarta.annotation.Nullable - public OffsetDateTime getCreatedDateTime() { - return this.backingStore.get("createdDateTime"); - } - /** - * The deserialization information for the current model - * @return a {@link Map>} - */ - @jakarta.annotation.Nonnull - public Map> getFieldDeserializers() { - final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); - deserializerMap.put("createdDateTime", (n) -> { this.setCreatedDateTime(n.getOffsetDateTimeValue()); }); - deserializerMap.put("lastActionDateTime", (n) -> { this.setLastActionDateTime(n.getOffsetDateTimeValue()); }); - deserializerMap.put("resourceLocation", (n) -> { this.setResourceLocation(n.getStringValue()); }); - deserializerMap.put("status", (n) -> { this.setStatus(n.getEnumValue(LongRunningOperationStatus::forValue)); }); - deserializerMap.put("statusDetail", (n) -> { this.setStatusDetail(n.getStringValue()); }); - return deserializerMap; - } - /** - * Gets the lastActionDateTime property value. The lastActionDateTime property - * @return a {@link OffsetDateTime} - */ - @jakarta.annotation.Nullable - public OffsetDateTime getLastActionDateTime() { - return this.backingStore.get("lastActionDateTime"); - } - /** - * Gets the resourceLocation property value. The resourceLocation property - * @return a {@link String} - */ - @jakarta.annotation.Nullable - public String getResourceLocation() { - return this.backingStore.get("resourceLocation"); - } - /** - * Gets the status property value. The status property - * @return a {@link LongRunningOperationStatus} - */ - @jakarta.annotation.Nullable - public LongRunningOperationStatus getStatus() { - return this.backingStore.get("status"); - } - /** - * Gets the statusDetail property value. The statusDetail property - * @return a {@link String} - */ - @jakarta.annotation.Nullable - public String getStatusDetail() { - return this.backingStore.get("statusDetail"); - } - /** - * Serializes information the current object - * @param writer Serialization writer to use to serialize this model - */ - public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { - Objects.requireNonNull(writer); - super.serialize(writer); - writer.writeOffsetDateTimeValue("createdDateTime", this.getCreatedDateTime()); - writer.writeOffsetDateTimeValue("lastActionDateTime", this.getLastActionDateTime()); - writer.writeStringValue("resourceLocation", this.getResourceLocation()); - writer.writeEnumValue("status", this.getStatus()); - writer.writeStringValue("statusDetail", this.getStatusDetail()); - } - /** - * Sets the createdDateTime property value. The createdDateTime property - * @param value Value to set for the createdDateTime property. - */ - public void setCreatedDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { - this.backingStore.set("createdDateTime", value); - } - /** - * Sets the lastActionDateTime property value. The lastActionDateTime property - * @param value Value to set for the lastActionDateTime property. - */ - public void setLastActionDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { - this.backingStore.set("lastActionDateTime", value); - } - /** - * Sets the resourceLocation property value. The resourceLocation property - * @param value Value to set for the resourceLocation property. - */ - public void setResourceLocation(@jakarta.annotation.Nullable final String value) { - this.backingStore.set("resourceLocation", value); - } - /** - * Sets the status property value. The status property - * @param value Value to set for the status property. - */ - public void setStatus(@jakarta.annotation.Nullable final LongRunningOperationStatus value) { - this.backingStore.set("status", value); - } - /** - * Sets the statusDetail property value. The statusDetail property - * @param value Value to set for the statusDetail property. - */ - public void setStatusDetail(@jakarta.annotation.Nullable final String value) { - this.backingStore.set("statusDetail", value); - } -} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/LongRunningOperationStatus.java b/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/LongRunningOperationStatus.java deleted file mode 100644 index e83c42be522..00000000000 --- a/src/main/java/com/microsoft/graph/beta/generated/models/tenantgovernanceservices/LongRunningOperationStatus.java +++ /dev/null @@ -1,31 +0,0 @@ -package com.microsoft.graph.beta.models.tenantgovernanceservices; - -import com.microsoft.kiota.serialization.ValuedEnum; -import java.util.Objects; - -@jakarta.annotation.Generated("com.microsoft.kiota") -public enum LongRunningOperationStatus implements ValuedEnum { - NotStarted("notStarted"), - Running("running"), - Succeeded("succeeded"), - Failed("failed"), - UnknownFutureValue("unknownFutureValue"); - public final String value; - LongRunningOperationStatus(final String value) { - this.value = value; - } - @jakarta.annotation.Nonnull - public String getValue() { return this.value; } - @jakarta.annotation.Nullable - public static LongRunningOperationStatus forValue(@jakarta.annotation.Nonnull final String searchValue) { - Objects.requireNonNull(searchValue); - switch(searchValue) { - case "notStarted": return NotStarted; - case "running": return Running; - case "succeeded": return Succeeded; - case "failed": return Failed; - case "unknownFutureValue": return UnknownFutureValue; - default: return null; - } - } -} diff --git a/src/main/java/com/microsoft/graph/beta/generated/policies/crosstenantaccesspolicy/partners/item/restore/RestoreRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/policies/crosstenantaccesspolicy/partners/item/restore/RestoreRequestBuilder.java index 6f4dd2ac864..c8a322f8320 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/policies/crosstenantaccesspolicy/partners/item/restore/RestoreRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/policies/crosstenantaccesspolicy/partners/item/restore/RestoreRequestBuilder.java @@ -36,7 +36,7 @@ public RestoreRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j super(requestAdapter, "{+baseurl}/policies/crossTenantAccessPolicy/partners/{crossTenantAccessPolicyConfigurationPartner%2DtenantId}/restore", rawUrl); } /** - * Restore a deleted crossTenantAccessPolicyConfigurationPartner object. + * Restore a deleted crossTenantAccessPolicyConfigurationPartner object. * @return a {@link CrossTenantAccessPolicyConfigurationPartner} * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here @@ -46,7 +46,7 @@ public CrossTenantAccessPolicyConfigurationPartner post() { return post(null); } /** - * Restore a deleted crossTenantAccessPolicyConfigurationPartner object. + * Restore a deleted crossTenantAccessPolicyConfigurationPartner object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CrossTenantAccessPolicyConfigurationPartner} * @throws ODataError When receiving a 4XX or 5XX status code @@ -60,7 +60,7 @@ public CrossTenantAccessPolicyConfigurationPartner post(@jakarta.annotation.Null return this.requestAdapter.send(requestInfo, errorMapping, CrossTenantAccessPolicyConfigurationPartner::createFromDiscriminatorValue); } /** - * Restore a deleted crossTenantAccessPolicyConfigurationPartner object. + * Restore a deleted crossTenantAccessPolicyConfigurationPartner object. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -68,7 +68,7 @@ public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } /** - * Restore a deleted crossTenantAccessPolicyConfigurationPartner object. + * Restore a deleted crossTenantAccessPolicyConfigurationPartner object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ diff --git a/src/main/java/com/microsoft/graph/beta/generated/policies/deleteditems/crosstenantpartners/item/restore/RestoreRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/policies/deleteditems/crosstenantpartners/item/restore/RestoreRequestBuilder.java index 12e67ef8362..f035d77119c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/policies/deleteditems/crosstenantpartners/item/restore/RestoreRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/policies/deleteditems/crosstenantpartners/item/restore/RestoreRequestBuilder.java @@ -36,7 +36,7 @@ public RestoreRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j super(requestAdapter, "{+baseurl}/policies/deletedItems/crossTenantPartners/{crossTenantAccessPolicyConfigurationPartner%2DtenantId}/restore", rawUrl); } /** - * Restore a deleted crossTenantAccessPolicyConfigurationPartner object. + * Restore a deleted crossTenantAccessPolicyConfigurationPartner object. * @return a {@link CrossTenantAccessPolicyConfigurationPartner} * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here @@ -46,7 +46,7 @@ public CrossTenantAccessPolicyConfigurationPartner post() { return post(null); } /** - * Restore a deleted crossTenantAccessPolicyConfigurationPartner object. + * Restore a deleted crossTenantAccessPolicyConfigurationPartner object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CrossTenantAccessPolicyConfigurationPartner} * @throws ODataError When receiving a 4XX or 5XX status code @@ -60,7 +60,7 @@ public CrossTenantAccessPolicyConfigurationPartner post(@jakarta.annotation.Null return this.requestAdapter.send(requestInfo, errorMapping, CrossTenantAccessPolicyConfigurationPartner::createFromDiscriminatorValue); } /** - * Restore a deleted crossTenantAccessPolicyConfigurationPartner object. + * Restore a deleted crossTenantAccessPolicyConfigurationPartner object. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -68,7 +68,7 @@ public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } /** - * Restore a deleted crossTenantAccessPolicyConfigurationPartner object. + * Restore a deleted crossTenantAccessPolicyConfigurationPartner object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ diff --git a/src/main/java/com/microsoft/graph/beta/generated/security/alerts_v2/AlertsV2RequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/security/alerts_v2/AlertsV2RequestBuilder.java index 14c60a8dfa8..4378f8e2e6a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/security/alerts_v2/AlertsV2RequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/security/alerts_v2/AlertsV2RequestBuilder.java @@ -5,6 +5,7 @@ import com.microsoft.graph.beta.models.security.AlertCollectionResponse; import com.microsoft.graph.beta.security.alerts_v2.count.CountRequestBuilder; import com.microsoft.graph.beta.security.alerts_v2.item.AlertItemRequestBuilder; +import com.microsoft.graph.beta.security.alerts_v2.microsoftgraphsecuritycreatealert.MicrosoftGraphSecurityCreateAlertRequestBuilder; import com.microsoft.graph.beta.security.alerts_v2.microsoftgraphsecuritymovealerts.MicrosoftGraphSecurityMoveAlertsRequestBuilder; import com.microsoft.kiota.BaseRequestBuilder; import com.microsoft.kiota.BaseRequestConfiguration; @@ -32,6 +33,14 @@ public class AlertsV2RequestBuilder extends BaseRequestBuilder { public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); } + /** + * Provides operations to call the createAlert method. + * @return a {@link MicrosoftGraphSecurityCreateAlertRequestBuilder} + */ + @jakarta.annotation.Nonnull + public MicrosoftGraphSecurityCreateAlertRequestBuilder microsoftGraphSecurityCreateAlert() { + return new MicrosoftGraphSecurityCreateAlertRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to call the moveAlerts method. * @return a {@link MicrosoftGraphSecurityMoveAlertsRequestBuilder} diff --git a/src/main/java/com/microsoft/graph/beta/generated/security/alerts_v2/microsoftgraphsecuritycreatealert/CreateAlertPostRequestBody.java b/src/main/java/com/microsoft/graph/beta/generated/security/alerts_v2/microsoftgraphsecuritycreatealert/CreateAlertPostRequestBody.java new file mode 100644 index 00000000000..dd453649fbd --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/security/alerts_v2/microsoftgraphsecuritycreatealert/CreateAlertPostRequestBody.java @@ -0,0 +1,108 @@ +package com.microsoft.graph.beta.security.alerts_v2.microsoftgraphsecuritycreatealert; + +import com.microsoft.graph.beta.models.security.CreateAlertInput; +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class CreateAlertPostRequestBody implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link CreateAlertPostRequestBody} and sets the default values. + */ + public CreateAlertPostRequestBody() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link CreateAlertPostRequestBody} + */ + @jakarta.annotation.Nonnull + public static CreateAlertPostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new CreateAlertPostRequestBody(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * Gets the createAlertInput property value. The createAlertInput property + * @return a {@link CreateAlertInput} + */ + @jakarta.annotation.Nullable + public CreateAlertInput getCreateAlertInput() { + return this.backingStore.get("createAlertInput"); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(1); + deserializerMap.put("createAlertInput", (n) -> { this.setCreateAlertInput(n.getObjectValue(CreateAlertInput::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writeObjectValue("createAlertInput", this.getCreateAlertInput()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } + /** + * Sets the createAlertInput property value. The createAlertInput property + * @param value Value to set for the createAlertInput property. + */ + public void setCreateAlertInput(@jakarta.annotation.Nullable final CreateAlertInput value) { + this.backingStore.set("createAlertInput", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/security/alerts_v2/microsoftgraphsecuritycreatealert/MicrosoftGraphSecurityCreateAlertRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/security/alerts_v2/microsoftgraphsecuritycreatealert/MicrosoftGraphSecurityCreateAlertRequestBuilder.java new file mode 100644 index 00000000000..e8994f4343f --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/security/alerts_v2/microsoftgraphsecuritycreatealert/MicrosoftGraphSecurityCreateAlertRequestBuilder.java @@ -0,0 +1,105 @@ +package com.microsoft.graph.beta.security.alerts_v2.microsoftgraphsecuritycreatealert; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.graph.beta.models.security.Alert; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to call the createAlert method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class MicrosoftGraphSecurityCreateAlertRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link MicrosoftGraphSecurityCreateAlertRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public MicrosoftGraphSecurityCreateAlertRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/security/alerts_v2/microsoft.graph.security.createAlert", pathParameters); + } + /** + * Instantiates a new {@link MicrosoftGraphSecurityCreateAlertRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public MicrosoftGraphSecurityCreateAlertRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/security/alerts_v2/microsoft.graph.security.createAlert", rawUrl); + } + /** + * Create a Microsoft 365 Defender alert by invoking a bound action on the alerts_v2 collection and returning the created alert resource. The action accepts a createAlertInput complex type that combines alert metadata and creation-specific options in one request object. + * @param body The request body + * @return a {@link Alert} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public Alert post(@jakarta.annotation.Nonnull final CreateAlertPostRequestBody body) { + return post(body, null); + } + /** + * Create a Microsoft 365 Defender alert by invoking a bound action on the alerts_v2 collection and returning the created alert resource. The action accepts a createAlertInput complex type that combines alert metadata and creation-specific options in one request object. + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link Alert} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public Alert post(@jakarta.annotation.Nonnull final CreateAlertPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, Alert::createFromDiscriminatorValue); + } + /** + * Create a Microsoft 365 Defender alert by invoking a bound action on the alerts_v2 collection and returning the created alert resource. The action accepts a createAlertInput complex type that combines alert metadata and creation-specific options in one request object. + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CreateAlertPostRequestBody body) { + return toPostRequestInformation(body, null); + } + /** + * Create a Microsoft 365 Defender alert by invoking a bound action on the alerts_v2 collection and returning the created alert resource. The action accepts a createAlertInput complex type that combines alert metadata and creation-specific options in one request object. + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CreateAlertPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); + 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. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link MicrosoftGraphSecurityCreateAlertRequestBuilder} + */ + @jakarta.annotation.Nonnull + public MicrosoftGraphSecurityCreateAlertRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new MicrosoftGraphSecurityCreateAlertRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PostRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/security/casemanagement/cases/item/attachments/AttachmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/security/casemanagement/cases/item/attachments/AttachmentsRequestBuilder.java index bc4710391c9..bacdd56d16c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/security/casemanagement/cases/item/attachments/AttachmentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/security/casemanagement/cases/item/attachments/AttachmentsRequestBuilder.java @@ -84,7 +84,7 @@ public AttachmentCollectionResponse get(@jakarta.annotation.Nullable final java. return this.requestAdapter.send(requestInfo, errorMapping, AttachmentCollectionResponse::createFromDiscriminatorValue); } /** - * Create an attachment for a case. + * Create attachment metadata for a case. This method doesn't upload the file content. After creating the attachment, use Upload attachment content. * @param body The request body * @return a {@link Attachment} * @throws ODataError When receiving a 4XX or 5XX status code @@ -95,7 +95,7 @@ public Attachment post(@jakarta.annotation.Nonnull final Attachment body) { return post(body, null); } /** - * Create an attachment for a case. + * Create attachment metadata for a case. This method doesn't upload the file content. After creating the attachment, use Upload attachment content. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Attachment} @@ -131,7 +131,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f return requestInfo; } /** - * Create an attachment for a case. + * Create attachment metadata for a case. This method doesn't upload the file content. After creating the attachment, use Upload attachment content. * @param body The request body * @return a {@link RequestInformation} */ @@ -140,7 +140,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f return toPostRequestInformation(body, null); } /** - * Create an attachment for a case. + * Create attachment metadata for a case. This method doesn't upload the file content. After creating the attachment, use Upload attachment content. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} diff --git a/src/main/java/com/microsoft/graph/beta/generated/security/casemanagement/cases/item/attachments/item/content/ContentRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/security/casemanagement/cases/item/attachments/item/content/ContentRequestBuilder.java index b37c9931d73..8a744a3b193 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/security/casemanagement/cases/item/attachments/item/content/ContentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/security/casemanagement/cases/item/attachments/item/content/ContentRequestBuilder.java @@ -37,14 +37,14 @@ public ContentRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j super(requestAdapter, "{+baseurl}/security/caseManagement/cases/{case%2Did}/attachments/{attachment%2Did}/content", rawUrl); } /** - * The binary content stream for the attachment. + * The binary content stream for the attachment. Use the Upload content and Download content methods to access it. * @throws ODataError When receiving a 4XX or 5XX status code */ public void delete() { delete(null); } /** - * The binary content stream for the attachment. + * The binary content stream for the attachment. Use the Upload content and Download content methods to access it. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -55,19 +55,21 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * The binary content stream for the attachment. + * Download the binary content of an attachment. After an upload completes, the service asynchronously scans the attachment for malware. Poll the attachment metadata by using Get attachment. If scanResult is unscanned, wait and try again later. Download the content only when scanResult is noThreatsFound. Don't download content when scanResult is malicious. * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ @jakarta.annotation.Nullable public InputStream get() { return get(null); } /** - * The binary content stream for the attachment. + * Download the binary content of an attachment. After an upload completes, the service asynchronously scans the attachment for malware. Poll the attachment metadata by using Get attachment. If scanResult is unscanned, wait and try again later. Download the content only when scanResult is noThreatsFound. Don't download content when scanResult is malicious. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ @jakarta.annotation.Nullable public InputStream get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -77,21 +79,23 @@ public InputStream get(@jakarta.annotation.Nullable final java.util.function.Con return this.requestAdapter.sendPrimitive(requestInfo, errorMapping, InputStream.class); } /** - * The binary content stream for the attachment. + * Upload binary content for an attachment. Create the attachment metadata first by using Create case attachment. The maximum file size is 100 MB. Upload files in chunks of no more than 1 MB. For files larger than 1 MB, send one PUT request for each chunk until all byte ranges are uploaded. * @param body Binary request body * @return a {@link Attachment} * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ @jakarta.annotation.Nullable public Attachment put(@jakarta.annotation.Nonnull final InputStream body) { return put(body, null); } /** - * The binary content stream for the attachment. + * Upload binary content for an attachment. Create the attachment metadata first by using Create case attachment. The maximum file size is 100 MB. Upload files in chunks of no more than 1 MB. For files larger than 1 MB, send one PUT request for each chunk until all byte ranges are uploaded. * @param body Binary request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Attachment} * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ @jakarta.annotation.Nullable public Attachment put(@jakarta.annotation.Nonnull final InputStream body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -102,7 +106,7 @@ public Attachment put(@jakarta.annotation.Nonnull final InputStream body, @jakar return this.requestAdapter.send(requestInfo, errorMapping, Attachment::createFromDiscriminatorValue); } /** - * The binary content stream for the attachment. + * The binary content stream for the attachment. Use the Upload content and Download content methods to access it. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -110,7 +114,7 @@ public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } /** - * The binary content stream for the attachment. + * The binary content stream for the attachment. Use the Upload content and Download content methods to access it. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -122,7 +126,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * The binary content stream for the attachment. + * Download the binary content of an attachment. After an upload completes, the service asynchronously scans the attachment for malware. Poll the attachment metadata by using Get attachment. If scanResult is unscanned, wait and try again later. Download the content only when scanResult is noThreatsFound. Don't download content when scanResult is malicious. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -130,7 +134,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * The binary content stream for the attachment. + * Download the binary content of an attachment. After an upload completes, the service asynchronously scans the attachment for malware. Poll the attachment metadata by using Get attachment. If scanResult is unscanned, wait and try again later. Download the content only when scanResult is noThreatsFound. Don't download content when scanResult is malicious. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -142,7 +146,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f return requestInfo; } /** - * The binary content stream for the attachment. + * Upload binary content for an attachment. Create the attachment metadata first by using Create case attachment. The maximum file size is 100 MB. Upload files in chunks of no more than 1 MB. For files larger than 1 MB, send one PUT request for each chunk until all byte ranges are uploaded. * @param body Binary request body * @return a {@link RequestInformation} */ @@ -151,7 +155,7 @@ public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull fi return toPutRequestInformation(body, null); } /** - * The binary content stream for the attachment. + * Upload binary content for an attachment. Create the attachment metadata first by using Create case attachment. The maximum file size is 100 MB. Upload files in chunks of no more than 1 MB. For files larger than 1 MB, send one PUT request for each chunk until all byte ranges are uploaded. * @param body Binary request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} diff --git a/src/main/java/com/microsoft/graph/beta/generated/security/casemanagement/cases/item/relations/RelationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/security/casemanagement/cases/item/relations/RelationsRequestBuilder.java index 3095592f3b9..2b0328c9aae 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/security/casemanagement/cases/item/relations/RelationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/security/casemanagement/cases/item/relations/RelationsRequestBuilder.java @@ -60,7 +60,7 @@ public RelationsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, super(requestAdapter, "{+baseurl}/security/caseManagement/cases/{case%2Did}/relations{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * Get a list of external resource relation objects for a case. + * Get a list of external resource relation objects for a case. Each relation is an incidentRelation, recommendationRelation, or workspaceIndicatorRelation, identified by @odata.type. * @return a {@link RelationCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here @@ -70,7 +70,7 @@ public RelationCollectionResponse get() { return get(null); } /** - * Get a list of external resource relation objects for a case. + * Get a list of external resource relation objects for a case. Each relation is an incidentRelation, recommendationRelation, or workspaceIndicatorRelation, identified by @odata.type. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RelationCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code @@ -84,7 +84,7 @@ public RelationCollectionResponse get(@jakarta.annotation.Nullable final java.ut return this.requestAdapter.send(requestInfo, errorMapping, RelationCollectionResponse::createFromDiscriminatorValue); } /** - * Create an external resource relation for a case. + * Create a concrete external resource relation for a case. * @param body The request body * @return a {@link Relation} * @throws ODataError When receiving a 4XX or 5XX status code @@ -95,7 +95,7 @@ public Relation post(@jakarta.annotation.Nonnull final Relation body) { return post(body, null); } /** - * Create an external resource relation for a case. + * Create a concrete external resource relation for a case. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Relation} @@ -111,7 +111,7 @@ public Relation post(@jakarta.annotation.Nonnull final Relation body, @jakarta.a return this.requestAdapter.send(requestInfo, errorMapping, Relation::createFromDiscriminatorValue); } /** - * Get a list of external resource relation objects for a case. + * Get a list of external resource relation objects for a case. Each relation is an incidentRelation, recommendationRelation, or workspaceIndicatorRelation, identified by @odata.type. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -119,7 +119,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Get a list of external resource relation objects for a case. + * Get a list of external resource relation objects for a case. Each relation is an incidentRelation, recommendationRelation, or workspaceIndicatorRelation, identified by @odata.type. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -131,7 +131,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f return requestInfo; } /** - * Create an external resource relation for a case. + * Create a concrete external resource relation for a case. * @param body The request body * @return a {@link RequestInformation} */ @@ -140,7 +140,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f return toPostRequestInformation(body, null); } /** - * Create an external resource relation for a case. + * Create a concrete external resource relation for a case. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} @@ -165,7 +165,7 @@ public RelationsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String return new RelationsRequestBuilder(rawUrl, requestAdapter); } /** - * Get a list of external resource relation objects for a case. + * Get a list of external resource relation objects for a case. Each relation is an incidentRelation, recommendationRelation, or workspaceIndicatorRelation, identified by @odata.type. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/security/casemanagement/cases/item/relations/item/RelationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/security/casemanagement/cases/item/relations/item/RelationItemRequestBuilder.java index f4d057fb6b1..f916e34a11d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/security/casemanagement/cases/item/relations/item/RelationItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/security/casemanagement/cases/item/relations/item/RelationItemRequestBuilder.java @@ -37,16 +37,18 @@ public RelationItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUr super(requestAdapter, "{+baseurl}/security/caseManagement/cases/{case%2Did}/relations/{relation%2Did}{?%24expand,%24select}", rawUrl); } /** - * Delete navigation property relations for security + * Delete a concrete relation from a case. * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ public void delete() { delete(null); } /** - * Delete navigation property relations for security + * Delete a concrete relation from a case. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); @@ -55,19 +57,21 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * Links from the case to related security resources. Supports $expand. + * Read a concrete relation from a case. The response is an incidentRelation, recommendationRelation, or workspaceIndicatorRelation, identified by @odata.type. * @return a {@link Relation} * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ @jakarta.annotation.Nullable public Relation get() { return get(null); } /** - * Links from the case to related security resources. Supports $expand. + * Read a concrete relation from a case. The response is an incidentRelation, recommendationRelation, or workspaceIndicatorRelation, identified by @odata.type. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Relation} * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ @jakarta.annotation.Nullable public Relation get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -77,7 +81,7 @@ public Relation get(@jakarta.annotation.Nullable final java.util.function.Consum return this.requestAdapter.send(requestInfo, errorMapping, Relation::createFromDiscriminatorValue); } /** - * Update the properties of a relation object. + * Update the properties of a concrete relation object. * @param body The request body * @return a {@link Relation} * @throws ODataError When receiving a 4XX or 5XX status code @@ -88,7 +92,7 @@ public Relation patch(@jakarta.annotation.Nonnull final Relation body) { return patch(body, null); } /** - * Update the properties of a relation object. + * Update the properties of a concrete relation object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Relation} @@ -104,7 +108,7 @@ public Relation patch(@jakarta.annotation.Nonnull final Relation body, @jakarta. return this.requestAdapter.send(requestInfo, errorMapping, Relation::createFromDiscriminatorValue); } /** - * Delete navigation property relations for security + * Delete a concrete relation from a case. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -112,7 +116,7 @@ public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } /** - * Delete navigation property relations for security + * Delete a concrete relation from a case. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -124,7 +128,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * Links from the case to related security resources. Supports $expand. + * Read a concrete relation from a case. The response is an incidentRelation, recommendationRelation, or workspaceIndicatorRelation, identified by @odata.type. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -132,7 +136,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Links from the case to related security resources. Supports $expand. + * Read a concrete relation from a case. The response is an incidentRelation, recommendationRelation, or workspaceIndicatorRelation, identified by @odata.type. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -144,7 +148,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f return requestInfo; } /** - * Update the properties of a relation object. + * Update the properties of a concrete relation object. * @param body The request body * @return a {@link RequestInformation} */ @@ -153,7 +157,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull return toPatchRequestInformation(body, null); } /** - * Update the properties of a relation object. + * Update the properties of a concrete relation object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} @@ -184,7 +188,7 @@ public RelationItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final Stri public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * Links from the case to related security resources. Supports $expand. + * Read a concrete relation from a case. The response is an incidentRelation, recommendationRelation, or workspaceIndicatorRelation, identified by @odata.type. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/security/casemanagement/cases/item/tasks/item/TaskItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/security/casemanagement/cases/item/tasks/item/TaskItemRequestBuilder.java index 2c01b126913..31ad92808ab 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/security/casemanagement/cases/item/tasks/item/TaskItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/security/casemanagement/cases/item/tasks/item/TaskItemRequestBuilder.java @@ -37,16 +37,18 @@ public TaskItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ super(requestAdapter, "{+baseurl}/security/caseManagement/cases/{case%2Did}/tasks/{task%2Did}{?%24expand,%24select}", rawUrl); } /** - * Delete navigation property tasks for security + * Delete a task from a case. * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ public void delete() { delete(null); } /** - * Delete navigation property tasks for security + * Delete a task from a case. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); @@ -106,7 +108,7 @@ public Task patch(@jakarta.annotation.Nonnull final Task body, @jakarta.annotati return this.requestAdapter.send(requestInfo, errorMapping, Task::createFromDiscriminatorValue); } /** - * Delete navigation property tasks for security + * Delete a task from a case. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -114,7 +116,7 @@ public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } /** - * Delete navigation property tasks for security + * Delete a task from a case. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/ServicePrincipalsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/ServicePrincipalsRequestBuilder.java index 21f31b55d2c..b2064c5b713 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/ServicePrincipalsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/ServicePrincipalsRequestBuilder.java @@ -30,7 +30,10 @@ public class ServicePrincipalsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -38,7 +41,10 @@ public CountRequestBuilder count() { /** * Provides operations to call the delta method. * @return a {@link DeltaRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public DeltaRequestBuilder delta() { return new DeltaRequestBuilder(pathParameters, requestAdapter); @@ -46,7 +52,10 @@ public DeltaRequestBuilder delta() { /** * Provides operations to call the getByIds method. * @return a {@link GetByIdsRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public GetByIdsRequestBuilder getByIds() { return new GetByIdsRequestBuilder(pathParameters, requestAdapter); @@ -54,7 +63,10 @@ public GetByIdsRequestBuilder getByIds() { /** * Provides operations to call the getUserOwnedObjects method. * @return a {@link GetUserOwnedObjectsRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public GetUserOwnedObjectsRequestBuilder getUserOwnedObjects() { return new GetUserOwnedObjectsRequestBuilder(pathParameters, requestAdapter); @@ -62,7 +74,10 @@ public GetUserOwnedObjectsRequestBuilder getUserOwnedObjects() { /** * Provides operations to call the validateProperties method. * @return a {@link ValidatePropertiesRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public ValidatePropertiesRequestBuilder validateProperties() { return new ValidatePropertiesRequestBuilder(pathParameters, requestAdapter); @@ -71,8 +86,11 @@ public ValidatePropertiesRequestBuilder validateProperties() { * Provides operations to manage the collection of servicePrincipal entities. * @param servicePrincipalId The unique identifier of servicePrincipal * @return a {@link ServicePrincipalItemRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public ServicePrincipalItemRequestBuilder byServicePrincipalId(@jakarta.annotation.Nonnull final String servicePrincipalId) { Objects.requireNonNull(servicePrincipalId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -99,9 +117,12 @@ public ServicePrincipalsRequestBuilder(@jakarta.annotation.Nonnull final String * Retrieve a list of servicePrincipal objects. This API also returns agentIdentityBlueprintPrincipal objects, which are identified by the @odata.type property of #microsoft.graph.agentIdentityBlueprintPrincipal. * @return a {@link ServicePrincipalCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public ServicePrincipalCollectionResponse get() { return get(null); } @@ -110,9 +131,12 @@ public ServicePrincipalCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ServicePrincipalCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public ServicePrincipalCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -124,9 +148,12 @@ public ServicePrincipalCollectionResponse get(@jakarta.annotation.Nullable final * @param body The request body * @return a {@link ServicePrincipal} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public ServicePrincipal post(@jakarta.annotation.Nonnull final ServicePrincipal body) { return post(body, null); } @@ -136,9 +163,12 @@ public ServicePrincipal post(@jakarta.annotation.Nonnull final ServicePrincipal * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ServicePrincipal} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public ServicePrincipal post(@jakarta.annotation.Nonnull final ServicePrincipal body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -149,8 +179,11 @@ public ServicePrincipal post(@jakarta.annotation.Nonnull final ServicePrincipal /** * Retrieve a list of servicePrincipal objects. This API also returns agentIdentityBlueprintPrincipal objects, which are identified by the @odata.type property of #microsoft.graph.agentIdentityBlueprintPrincipal. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -158,8 +191,11 @@ public RequestInformation toGetRequestInformation() { * Retrieve a list of servicePrincipal objects. This API also returns agentIdentityBlueprintPrincipal objects, which are identified by the @odata.type property of #microsoft.graph.agentIdentityBlueprintPrincipal. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -170,8 +206,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create a new servicePrincipal object. This API can also create an agentIdentityBlueprintPrincipal object from an agentIdentityBlueprint when the @odata.type property is set to #microsoft.graph.agentIdentityBlueprintPrincipal. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ServicePrincipal body) { return toPostRequestInformation(body, null); } @@ -180,8 +219,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ServicePrincipal body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -194,8 +236,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ServicePrincipalsRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public ServicePrincipalsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ServicePrincipalsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/count/CountRequestBuilder.java index b134cb4f4a1..fa47c47850e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/delta/DeltaRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/delta/DeltaRequestBuilder.java index bbeaafe7540..d487ecc9a08 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/delta/DeltaRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/delta/DeltaRequestBuilder.java @@ -39,9 +39,12 @@ public DeltaRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get newly created, updated, or deleted service principals, agent identities, and agent identity blueprints without having to perform a full read of the entire resource collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. * @return a {@link DeltaGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public DeltaGetResponse get() { return get(null); } @@ -50,9 +53,12 @@ public DeltaGetResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DeltaGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public DeltaGetResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -62,8 +68,11 @@ public DeltaGetResponse get(@jakarta.annotation.Nullable final java.util.functio /** * Get newly created, updated, or deleted service principals, agent identities, and agent identity blueprints without having to perform a full read of the entire resource collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -71,8 +80,11 @@ public RequestInformation toGetRequestInformation() { * Get newly created, updated, or deleted service principals, agent identities, and agent identity blueprints without having to perform a full read of the entire resource collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -83,8 +95,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link DeltaRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public DeltaRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new DeltaRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/getbyids/GetByIdsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/getbyids/GetByIdsRequestBuilder.java index 6c13de8e920..2e328b7577a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/getbyids/GetByIdsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/getbyids/GetByIdsRequestBuilder.java @@ -39,9 +39,12 @@ public GetByIdsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ * @param body The request body * @return a {@link GetByIdsPostResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public GetByIdsPostResponse post(@jakarta.annotation.Nonnull final GetByIdsPostRequestBody body) { return post(body, null); } @@ -51,9 +54,12 @@ public GetByIdsPostResponse post(@jakarta.annotation.Nonnull final GetByIdsPostR * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GetByIdsPostResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public GetByIdsPostResponse post(@jakarta.annotation.Nonnull final GetByIdsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -65,8 +71,11 @@ public GetByIdsPostResponse post(@jakarta.annotation.Nonnull final GetByIdsPostR * Return the directory objects specified in a list of IDs. Some common uses for this function are to: * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GetByIdsPostRequestBody body) { return toPostRequestInformation(body, null); } @@ -75,8 +84,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GetByIdsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -89,8 +101,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link GetByIdsRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public GetByIdsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new GetByIdsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/getuserownedobjects/GetUserOwnedObjectsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/getuserownedobjects/GetUserOwnedObjectsRequestBuilder.java index 44009bcba28..a04f8b20712 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/getuserownedobjects/GetUserOwnedObjectsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/getuserownedobjects/GetUserOwnedObjectsRequestBuilder.java @@ -40,9 +40,12 @@ public GetUserOwnedObjectsRequestBuilder(@jakarta.annotation.Nonnull final Strin * @param body The request body * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public DirectoryObject post(@jakarta.annotation.Nonnull final GetUserOwnedObjectsPostRequestBody body) { return post(body, null); } @@ -52,9 +55,12 @@ public DirectoryObject post(@jakarta.annotation.Nonnull final GetUserOwnedObject * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public DirectoryObject post(@jakarta.annotation.Nonnull final GetUserOwnedObjectsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -66,8 +72,11 @@ public DirectoryObject post(@jakarta.annotation.Nonnull final GetUserOwnedObject * Retrieve a list of recently deleted application and group objects owned by the specified user. This API returns up to 1,000 deleted objects owned by the user, sorted by ID, and doesn't support pagination. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GetUserOwnedObjectsPostRequestBody body) { return toPostRequestInformation(body, null); } @@ -76,8 +85,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GetUserOwnedObjectsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -90,8 +102,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link GetUserOwnedObjectsRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public GetUserOwnedObjectsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new GetUserOwnedObjectsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/ServicePrincipalItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/ServicePrincipalItemRequestBuilder.java index cef2254e3d8..447255d19f2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/ServicePrincipalItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/ServicePrincipalItemRequestBuilder.java @@ -22,7 +22,9 @@ import com.microsoft.graph.beta.serviceprincipals.item.getpasswordsinglesignoncredentials.GetPasswordSingleSignOnCredentialsRequestBuilder; import com.microsoft.graph.beta.serviceprincipals.item.homerealmdiscoverypolicies.HomeRealmDiscoveryPoliciesRequestBuilder; import com.microsoft.graph.beta.serviceprincipals.item.licensedetails.LicenseDetailsRequestBuilder; +import com.microsoft.graph.beta.serviceprincipals.item.lifecycle.LifecycleRequestBuilder; import com.microsoft.graph.beta.serviceprincipals.item.memberof.MemberOfRequestBuilder; +import com.microsoft.graph.beta.serviceprincipals.item.microsoftgraphidentitygovernanceattest.MicrosoftGraphIdentityGovernanceAttestRequestBuilder; import com.microsoft.graph.beta.serviceprincipals.item.oauth2permissiongrants.Oauth2PermissionGrantsRequestBuilder; import com.microsoft.graph.beta.serviceprincipals.item.ownedobjects.OwnedObjectsRequestBuilder; import com.microsoft.graph.beta.serviceprincipals.item.owners.OwnersRequestBuilder; @@ -55,7 +57,10 @@ public class ServicePrincipalItemRequestBuilder extends BaseRequestBuilder { /** * Provides operations to call the addTokenSigningCertificate method. * @return a {@link AddTokenSigningCertificateRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public AddTokenSigningCertificateRequestBuilder addTokenSigningCertificate() { return new AddTokenSigningCertificateRequestBuilder(pathParameters, requestAdapter); @@ -63,7 +68,10 @@ public AddTokenSigningCertificateRequestBuilder addTokenSigningCertificate() { /** * Provides operations to manage the appManagementPolicies property of the microsoft.graph.servicePrincipal entity. * @return a {@link AppManagementPoliciesRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public AppManagementPoliciesRequestBuilder appManagementPolicies() { return new AppManagementPoliciesRequestBuilder(pathParameters, requestAdapter); @@ -71,7 +79,10 @@ public AppManagementPoliciesRequestBuilder appManagementPolicies() { /** * Provides operations to manage the appRoleAssignedTo property of the microsoft.graph.servicePrincipal entity. * @return a {@link AppRoleAssignedToRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public AppRoleAssignedToRequestBuilder appRoleAssignedTo() { return new AppRoleAssignedToRequestBuilder(pathParameters, requestAdapter); @@ -79,7 +90,10 @@ public AppRoleAssignedToRequestBuilder appRoleAssignedTo() { /** * Provides operations to manage the appRoleAssignments property of the microsoft.graph.servicePrincipal entity. * @return a {@link AppRoleAssignmentsRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public AppRoleAssignmentsRequestBuilder appRoleAssignments() { return new AppRoleAssignmentsRequestBuilder(pathParameters, requestAdapter); @@ -87,7 +101,10 @@ public AppRoleAssignmentsRequestBuilder appRoleAssignments() { /** * Provides operations to call the checkMemberGroups method. * @return a {@link CheckMemberGroupsRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public CheckMemberGroupsRequestBuilder checkMemberGroups() { return new CheckMemberGroupsRequestBuilder(pathParameters, requestAdapter); @@ -95,7 +112,10 @@ public CheckMemberGroupsRequestBuilder checkMemberGroups() { /** * Provides operations to call the checkMemberObjects method. * @return a {@link CheckMemberObjectsRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public CheckMemberObjectsRequestBuilder checkMemberObjects() { return new CheckMemberObjectsRequestBuilder(pathParameters, requestAdapter); @@ -103,7 +123,10 @@ public CheckMemberObjectsRequestBuilder checkMemberObjects() { /** * Provides operations to manage the claimsMappingPolicies property of the microsoft.graph.servicePrincipal entity. * @return a {@link ClaimsMappingPoliciesRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public ClaimsMappingPoliciesRequestBuilder claimsMappingPolicies() { return new ClaimsMappingPoliciesRequestBuilder(pathParameters, requestAdapter); @@ -111,7 +134,10 @@ public ClaimsMappingPoliciesRequestBuilder claimsMappingPolicies() { /** * Provides operations to manage the claimsPolicy property of the microsoft.graph.servicePrincipal entity. * @return a {@link ClaimsPolicyRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public ClaimsPolicyRequestBuilder claimsPolicy() { return new ClaimsPolicyRequestBuilder(pathParameters, requestAdapter); @@ -119,7 +145,10 @@ public ClaimsPolicyRequestBuilder claimsPolicy() { /** * Provides operations to manage the createdObjects property of the microsoft.graph.servicePrincipal entity. * @return a {@link CreatedObjectsRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public CreatedObjectsRequestBuilder createdObjects() { return new CreatedObjectsRequestBuilder(pathParameters, requestAdapter); @@ -127,7 +156,10 @@ public CreatedObjectsRequestBuilder createdObjects() { /** * Provides operations to call the createPasswordSingleSignOnCredentials method. * @return a {@link CreatePasswordSingleSignOnCredentialsRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public CreatePasswordSingleSignOnCredentialsRequestBuilder createPasswordSingleSignOnCredentials() { return new CreatePasswordSingleSignOnCredentialsRequestBuilder(pathParameters, requestAdapter); @@ -135,7 +167,10 @@ public CreatePasswordSingleSignOnCredentialsRequestBuilder createPasswordSingleS /** * Provides operations to manage the delegatedPermissionClassifications property of the microsoft.graph.servicePrincipal entity. * @return a {@link DelegatedPermissionClassificationsRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public DelegatedPermissionClassificationsRequestBuilder delegatedPermissionClassifications() { return new DelegatedPermissionClassificationsRequestBuilder(pathParameters, requestAdapter); @@ -143,7 +178,10 @@ public DelegatedPermissionClassificationsRequestBuilder delegatedPermissionClass /** * Provides operations to call the deletePasswordSingleSignOnCredentials method. * @return a {@link DeletePasswordSingleSignOnCredentialsRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public DeletePasswordSingleSignOnCredentialsRequestBuilder deletePasswordSingleSignOnCredentials() { return new DeletePasswordSingleSignOnCredentialsRequestBuilder(pathParameters, requestAdapter); @@ -151,7 +189,10 @@ public DeletePasswordSingleSignOnCredentialsRequestBuilder deletePasswordSingleS /** * Provides operations to manage the endpoints property of the microsoft.graph.servicePrincipal entity. * @return a {@link EndpointsRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public EndpointsRequestBuilder endpoints() { return new EndpointsRequestBuilder(pathParameters, requestAdapter); @@ -159,7 +200,10 @@ public EndpointsRequestBuilder endpoints() { /** * Provides operations to manage the federatedIdentityCredentials property of the microsoft.graph.servicePrincipal entity. * @return a {@link FederatedIdentityCredentialsRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public FederatedIdentityCredentialsRequestBuilder federatedIdentityCredentials() { return new FederatedIdentityCredentialsRequestBuilder(pathParameters, requestAdapter); @@ -167,7 +211,10 @@ public FederatedIdentityCredentialsRequestBuilder federatedIdentityCredentials() /** * Provides operations to call the getMemberGroups method. * @return a {@link GetMemberGroupsRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public GetMemberGroupsRequestBuilder getMemberGroups() { return new GetMemberGroupsRequestBuilder(pathParameters, requestAdapter); @@ -175,7 +222,10 @@ public GetMemberGroupsRequestBuilder getMemberGroups() { /** * Provides operations to call the getMemberObjects method. * @return a {@link GetMemberObjectsRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public GetMemberObjectsRequestBuilder getMemberObjects() { return new GetMemberObjectsRequestBuilder(pathParameters, requestAdapter); @@ -183,7 +233,10 @@ public GetMemberObjectsRequestBuilder getMemberObjects() { /** * Provides operations to call the getPasswordSingleSignOnCredentials method. * @return a {@link GetPasswordSingleSignOnCredentialsRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public GetPasswordSingleSignOnCredentialsRequestBuilder getPasswordSingleSignOnCredentials() { return new GetPasswordSingleSignOnCredentialsRequestBuilder(pathParameters, requestAdapter); @@ -191,7 +244,10 @@ public GetPasswordSingleSignOnCredentialsRequestBuilder getPasswordSingleSignOnC /** * Provides operations to manage the homeRealmDiscoveryPolicies property of the microsoft.graph.servicePrincipal entity. * @return a {@link HomeRealmDiscoveryPoliciesRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public HomeRealmDiscoveryPoliciesRequestBuilder homeRealmDiscoveryPolicies() { return new HomeRealmDiscoveryPoliciesRequestBuilder(pathParameters, requestAdapter); @@ -199,23 +255,54 @@ public HomeRealmDiscoveryPoliciesRequestBuilder homeRealmDiscoveryPolicies() { /** * Provides operations to manage the licenseDetails property of the microsoft.graph.servicePrincipal entity. * @return a {@link LicenseDetailsRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public LicenseDetailsRequestBuilder licenseDetails() { return new LicenseDetailsRequestBuilder(pathParameters, requestAdapter); } + /** + * Provides operations to manage the lifecycle property of the microsoft.graph.servicePrincipal entity. + * @return a {@link LifecycleRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 + */ + @Deprecated + @jakarta.annotation.Nonnull + public LifecycleRequestBuilder lifecycle() { + return new LifecycleRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to manage the memberOf property of the microsoft.graph.servicePrincipal entity. * @return a {@link MemberOfRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public MemberOfRequestBuilder memberOf() { return new MemberOfRequestBuilder(pathParameters, requestAdapter); } + /** + * Provides operations to call the attest method. + * @return a {@link MicrosoftGraphIdentityGovernanceAttestRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 + */ + @Deprecated + @jakarta.annotation.Nonnull + public MicrosoftGraphIdentityGovernanceAttestRequestBuilder microsoftGraphIdentityGovernanceAttest() { + return new MicrosoftGraphIdentityGovernanceAttestRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to manage the oauth2PermissionGrants property of the microsoft.graph.servicePrincipal entity. * @return a {@link Oauth2PermissionGrantsRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public Oauth2PermissionGrantsRequestBuilder oauth2PermissionGrants() { return new Oauth2PermissionGrantsRequestBuilder(pathParameters, requestAdapter); @@ -223,7 +310,10 @@ public Oauth2PermissionGrantsRequestBuilder oauth2PermissionGrants() { /** * Provides operations to manage the ownedObjects property of the microsoft.graph.servicePrincipal entity. * @return a {@link OwnedObjectsRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public OwnedObjectsRequestBuilder ownedObjects() { return new OwnedObjectsRequestBuilder(pathParameters, requestAdapter); @@ -231,7 +321,10 @@ public OwnedObjectsRequestBuilder ownedObjects() { /** * Provides operations to manage the owners property of the microsoft.graph.servicePrincipal entity. * @return a {@link OwnersRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public OwnersRequestBuilder owners() { return new OwnersRequestBuilder(pathParameters, requestAdapter); @@ -239,7 +332,10 @@ public OwnersRequestBuilder owners() { /** * Provides operations to manage the permissionGrantPreApprovalPolicies property of the microsoft.graph.servicePrincipal entity. * @return a {@link PermissionGrantPreApprovalPoliciesRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public PermissionGrantPreApprovalPoliciesRequestBuilder permissionGrantPreApprovalPolicies() { return new PermissionGrantPreApprovalPoliciesRequestBuilder(pathParameters, requestAdapter); @@ -247,7 +343,10 @@ public PermissionGrantPreApprovalPoliciesRequestBuilder permissionGrantPreApprov /** * Provides operations to manage the remoteDesktopSecurityConfiguration property of the microsoft.graph.servicePrincipal entity. * @return a {@link RemoteDesktopSecurityConfigurationRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public RemoteDesktopSecurityConfigurationRequestBuilder remoteDesktopSecurityConfiguration() { return new RemoteDesktopSecurityConfigurationRequestBuilder(pathParameters, requestAdapter); @@ -255,7 +354,10 @@ public RemoteDesktopSecurityConfigurationRequestBuilder remoteDesktopSecurityCon /** * Provides operations to call the restore method. * @return a {@link RestoreRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public RestoreRequestBuilder restore() { return new RestoreRequestBuilder(pathParameters, requestAdapter); @@ -263,7 +365,10 @@ public RestoreRequestBuilder restore() { /** * Provides operations to manage the synchronization property of the microsoft.graph.servicePrincipal entity. * @return a {@link SynchronizationRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public SynchronizationRequestBuilder synchronization() { return new SynchronizationRequestBuilder(pathParameters, requestAdapter); @@ -271,7 +376,10 @@ public SynchronizationRequestBuilder synchronization() { /** * Provides operations to manage the tokenIssuancePolicies property of the microsoft.graph.servicePrincipal entity. * @return a {@link TokenIssuancePoliciesRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public TokenIssuancePoliciesRequestBuilder tokenIssuancePolicies() { return new TokenIssuancePoliciesRequestBuilder(pathParameters, requestAdapter); @@ -279,7 +387,10 @@ public TokenIssuancePoliciesRequestBuilder tokenIssuancePolicies() { /** * Provides operations to manage the tokenLifetimePolicies property of the microsoft.graph.servicePrincipal entity. * @return a {@link TokenLifetimePoliciesRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public TokenLifetimePoliciesRequestBuilder tokenLifetimePolicies() { return new TokenLifetimePoliciesRequestBuilder(pathParameters, requestAdapter); @@ -287,7 +398,10 @@ public TokenLifetimePoliciesRequestBuilder tokenLifetimePolicies() { /** * Provides operations to manage the transitiveMemberOf property of the microsoft.graph.servicePrincipal entity. * @return a {@link TransitiveMemberOfRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public TransitiveMemberOfRequestBuilder transitiveMemberOf() { return new TransitiveMemberOfRequestBuilder(pathParameters, requestAdapter); @@ -295,7 +409,10 @@ public TransitiveMemberOfRequestBuilder transitiveMemberOf() { /** * Provides operations to call the updatePasswordSingleSignOnCredentials method. * @return a {@link UpdatePasswordSingleSignOnCredentialsRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public UpdatePasswordSingleSignOnCredentialsRequestBuilder updatePasswordSingleSignOnCredentials() { return new UpdatePasswordSingleSignOnCredentialsRequestBuilder(pathParameters, requestAdapter); @@ -319,8 +436,11 @@ public ServicePrincipalItemRequestBuilder(@jakarta.annotation.Nonnull final Stri /** * Delete a servicePrincipal object. This API can also delete an agentIdentityBlueprintPrincipal object by its ID. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ + @Deprecated public void delete() { delete(null); } @@ -328,8 +448,11 @@ public void delete() { * Delete a servicePrincipal object. This API can also delete an agentIdentityBlueprintPrincipal object by its ID. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -340,8 +463,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Provides operations to manage the federatedIdentityCredentials property of the microsoft.graph.servicePrincipal entity. * @param name Alternate key of federatedIdentityCredential * @return a {@link FederatedIdentityCredentialsWithNameRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public FederatedIdentityCredentialsWithNameRequestBuilder federatedIdentityCredentialsWithName(@jakarta.annotation.Nonnull final String name) { Objects.requireNonNull(name); return new FederatedIdentityCredentialsWithNameRequestBuilder(pathParameters, requestAdapter, name); @@ -350,9 +476,12 @@ public FederatedIdentityCredentialsWithNameRequestBuilder federatedIdentityCrede * Retrieve the properties and relationships of a servicePrincipal object. This API can be used to get agentIdentityBlueprintPrincipal objects as well by their ID. * @return a {@link ServicePrincipal} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public ServicePrincipal get() { return get(null); } @@ -361,9 +490,12 @@ public ServicePrincipal get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ServicePrincipal} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public ServicePrincipal get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -375,9 +507,12 @@ public ServicePrincipal get(@jakarta.annotation.Nullable final java.util.functio * @param body The request body * @return a {@link ServicePrincipal} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public ServicePrincipal patch(@jakarta.annotation.Nonnull final ServicePrincipal body) { return patch(body, null); } @@ -387,9 +522,12 @@ public ServicePrincipal patch(@jakarta.annotation.Nonnull final ServicePrincipal * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ServicePrincipal} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public ServicePrincipal patch(@jakarta.annotation.Nonnull final ServicePrincipal body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -400,8 +538,11 @@ public ServicePrincipal patch(@jakarta.annotation.Nonnull final ServicePrincipal /** * Delete a servicePrincipal object. This API can also delete an agentIdentityBlueprintPrincipal object by its ID. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -409,8 +550,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete a servicePrincipal object. This API can also delete an agentIdentityBlueprintPrincipal object by its ID. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -420,8 +564,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Retrieve the properties and relationships of a servicePrincipal object. This API can be used to get agentIdentityBlueprintPrincipal objects as well by their ID. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -429,8 +576,11 @@ public RequestInformation toGetRequestInformation() { * Retrieve the properties and relationships of a servicePrincipal object. This API can be used to get agentIdentityBlueprintPrincipal objects as well by their ID. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -441,8 +591,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create a new servicePrincipal object if it doesn't exist, or update the properties of an existing servicePrincipal object. This API can also create an agentIdentityBlueprintPrincipal object from an agentIdentityBlueprint if it doesn't exist, or update properties of an existing agentIdentityBlueprintPrincipal, when the @odata.type property is set to #microsoft.graph.agentIdentityBlueprintPrincipal. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final ServicePrincipal body) { return toPatchRequestInformation(body, null); } @@ -451,8 +604,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final ServicePrincipal body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -465,8 +621,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ServicePrincipalItemRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public ServicePrincipalItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ServicePrincipalItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/addtokensigningcertificate/AddTokenSigningCertificateRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/addtokensigningcertificate/AddTokenSigningCertificateRequestBuilder.java index 08f6f2176f6..98c7eb9176d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/addtokensigningcertificate/AddTokenSigningCertificateRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/addtokensigningcertificate/AddTokenSigningCertificateRequestBuilder.java @@ -40,9 +40,12 @@ public AddTokenSigningCertificateRequestBuilder(@jakarta.annotation.Nonnull fina * @param body The request body * @return a {@link SelfSignedCertificate} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public SelfSignedCertificate post(@jakarta.annotation.Nonnull final AddTokenSigningCertificatePostRequestBody body) { return post(body, null); } @@ -52,9 +55,12 @@ public SelfSignedCertificate post(@jakarta.annotation.Nonnull final AddTokenSign * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SelfSignedCertificate} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public SelfSignedCertificate post(@jakarta.annotation.Nonnull final AddTokenSigningCertificatePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -66,8 +72,11 @@ public SelfSignedCertificate post(@jakarta.annotation.Nonnull final AddTokenSign * Creates a self-signed signing certificate and returns a selfSignedCertificate object, which is the public part of the generated certificate. The self-signed signing certificate is composed of the following objects which are added to the servicePrincipal: + The keyCredentials object with the following objects: + A private key object with usage set to Sign. + A public key object with usage set to Verify.+ The passwordCredentials object. All the objects have the same value of customKeyIdentifier. The passwordCredential is used to open the PFX file (private key). It and the associated private key object have the same value of keyId. Once set during creation through the displayName property, the subject of the certificate cannot be updated. The startDateTime is set to the same time the certificate is created using the action. The endDateTime can be up to three years after the certificate is created. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AddTokenSigningCertificatePostRequestBody body) { return toPostRequestInformation(body, null); } @@ -76,8 +85,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AddTokenSigningCertificatePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -90,8 +102,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AddTokenSigningCertificateRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public AddTokenSigningCertificateRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AddTokenSigningCertificateRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/appmanagementpolicies/AppManagementPoliciesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/appmanagementpolicies/AppManagementPoliciesRequestBuilder.java index 7d48dfdf61a..47b52019f49 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/appmanagementpolicies/AppManagementPoliciesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/appmanagementpolicies/AppManagementPoliciesRequestBuilder.java @@ -25,7 +25,10 @@ public class AppManagementPoliciesRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -34,8 +37,11 @@ public CountRequestBuilder count() { * Provides operations to manage the appManagementPolicies property of the microsoft.graph.servicePrincipal entity. * @param appManagementPolicyId The unique identifier of appManagementPolicy * @return a {@link AppManagementPolicyItemRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public AppManagementPolicyItemRequestBuilder byAppManagementPolicyId(@jakarta.annotation.Nonnull final String appManagementPolicyId) { Objects.requireNonNull(appManagementPolicyId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -62,8 +68,11 @@ public AppManagementPoliciesRequestBuilder(@jakarta.annotation.Nonnull final Str * The appManagementPolicy applied to this service principal. * @return a {@link AppManagementPolicyCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public AppManagementPolicyCollectionResponse get() { return get(null); } @@ -72,8 +81,11 @@ public AppManagementPolicyCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AppManagementPolicyCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public AppManagementPolicyCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -83,8 +95,11 @@ public AppManagementPolicyCollectionResponse get(@jakarta.annotation.Nullable fi /** * The appManagementPolicy applied to this service principal. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -92,8 +107,11 @@ public RequestInformation toGetRequestInformation() { * The appManagementPolicy applied to this service principal. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -104,8 +122,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AppManagementPoliciesRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public AppManagementPoliciesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AppManagementPoliciesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/appmanagementpolicies/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/appmanagementpolicies/count/CountRequestBuilder.java index b4199587ae2..ad0c18feb94 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/appmanagementpolicies/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/appmanagementpolicies/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/appmanagementpolicies/item/AppManagementPolicyItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/appmanagementpolicies/item/AppManagementPolicyItemRequestBuilder.java index ec72a6ebcf6..04a2c0d8e5e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/appmanagementpolicies/item/AppManagementPolicyItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/appmanagementpolicies/item/AppManagementPolicyItemRequestBuilder.java @@ -40,8 +40,11 @@ public AppManagementPolicyItemRequestBuilder(@jakarta.annotation.Nonnull final S * The appManagementPolicy applied to this service principal. * @return a {@link AppManagementPolicy} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public AppManagementPolicy get() { return get(null); } @@ -50,8 +53,11 @@ public AppManagementPolicy get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AppManagementPolicy} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public AppManagementPolicy get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public AppManagementPolicy get(@jakarta.annotation.Nullable final java.util.func /** * The appManagementPolicy applied to this service principal. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * The appManagementPolicy applied to this service principal. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AppManagementPolicyItemRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public AppManagementPolicyItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AppManagementPolicyItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/approleassignedto/AppRoleAssignedToRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/approleassignedto/AppRoleAssignedToRequestBuilder.java index 59008539e58..a9a3b791c97 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/approleassignedto/AppRoleAssignedToRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/approleassignedto/AppRoleAssignedToRequestBuilder.java @@ -26,7 +26,10 @@ public class AppRoleAssignedToRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the appRoleAssignedTo property of the microsoft.graph.servicePrincipal entity. * @param appRoleAssignmentId The unique identifier of appRoleAssignment * @return a {@link AppRoleAssignmentItemRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public AppRoleAssignmentItemRequestBuilder byAppRoleAssignmentId(@jakarta.annotation.Nonnull final String appRoleAssignmentId) { Objects.requireNonNull(appRoleAssignmentId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,9 +69,12 @@ public AppRoleAssignedToRequestBuilder(@jakarta.annotation.Nonnull final String * Read the properties and relationships of an appRoleAssignment object. * @return a {@link AppRoleAssignmentCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public AppRoleAssignmentCollectionResponse get() { return get(null); } @@ -74,9 +83,12 @@ public AppRoleAssignmentCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AppRoleAssignmentCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public AppRoleAssignmentCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -88,9 +100,12 @@ public AppRoleAssignmentCollectionResponse get(@jakarta.annotation.Nullable fina * @param body The request body * @return a {@link AppRoleAssignment} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public AppRoleAssignment post(@jakarta.annotation.Nonnull final AppRoleAssignment body) { return post(body, null); } @@ -100,9 +115,12 @@ public AppRoleAssignment post(@jakarta.annotation.Nonnull final AppRoleAssignmen * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AppRoleAssignment} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public AppRoleAssignment post(@jakarta.annotation.Nonnull final AppRoleAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -113,8 +131,11 @@ public AppRoleAssignment post(@jakarta.annotation.Nonnull final AppRoleAssignmen /** * Read the properties and relationships of an appRoleAssignment object. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -122,8 +143,11 @@ public RequestInformation toGetRequestInformation() { * Read the properties and relationships of an appRoleAssignment object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -134,8 +158,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Assign an app role for a resource service principal, to a user, group, or client service principal. App roles that are assigned to service principals are also known as application permissions. Application permissions can be granted directly with app role assignments, or through a consent experience. To grant an app role assignment, you need three identifiers: * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AppRoleAssignment body) { return toPostRequestInformation(body, null); } @@ -144,8 +171,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AppRoleAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -158,8 +188,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AppRoleAssignedToRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public AppRoleAssignedToRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AppRoleAssignedToRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/approleassignedto/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/approleassignedto/count/CountRequestBuilder.java index c05ecb18640..caa1a71a3df 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/approleassignedto/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/approleassignedto/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/approleassignedto/item/AppRoleAssignmentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/approleassignedto/item/AppRoleAssignmentItemRequestBuilder.java index 0061d814587..40683bf238a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/approleassignedto/item/AppRoleAssignmentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/approleassignedto/item/AppRoleAssignmentItemRequestBuilder.java @@ -39,8 +39,11 @@ public AppRoleAssignmentItemRequestBuilder(@jakarta.annotation.Nonnull final Str /** * Deletes an appRoleAssignment that a user, group, or client service principal has been granted for a resource service principal. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ + @Deprecated public void delete() { delete(null); } @@ -48,8 +51,11 @@ public void delete() { * Deletes an appRoleAssignment that a user, group, or client service principal has been granted for a resource service principal. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,9 +66,12 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Read the properties and relationships of an appRoleAssignment object. * @return a {@link AppRoleAssignment} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public AppRoleAssignment get() { return get(null); } @@ -71,9 +80,12 @@ public AppRoleAssignment get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AppRoleAssignment} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public AppRoleAssignment get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -85,8 +97,11 @@ public AppRoleAssignment get(@jakarta.annotation.Nullable final java.util.functi * @param body The request body * @return a {@link AppRoleAssignment} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public AppRoleAssignment patch(@jakarta.annotation.Nonnull final AppRoleAssignment body) { return patch(body, null); } @@ -96,8 +111,11 @@ public AppRoleAssignment patch(@jakarta.annotation.Nonnull final AppRoleAssignme * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AppRoleAssignment} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public AppRoleAssignment patch(@jakarta.annotation.Nonnull final AppRoleAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -108,8 +126,11 @@ public AppRoleAssignment patch(@jakarta.annotation.Nonnull final AppRoleAssignme /** * Deletes an appRoleAssignment that a user, group, or client service principal has been granted for a resource service principal. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -117,8 +138,11 @@ public RequestInformation toDeleteRequestInformation() { * Deletes an appRoleAssignment that a user, group, or client service principal has been granted for a resource service principal. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -128,8 +152,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Read the properties and relationships of an appRoleAssignment object. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -137,8 +164,11 @@ public RequestInformation toGetRequestInformation() { * Read the properties and relationships of an appRoleAssignment object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -149,8 +179,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property appRoleAssignedTo in servicePrincipals * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AppRoleAssignment body) { return toPatchRequestInformation(body, null); } @@ -159,8 +192,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AppRoleAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -173,8 +209,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AppRoleAssignmentItemRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public AppRoleAssignmentItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AppRoleAssignmentItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/approleassignments/AppRoleAssignmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/approleassignments/AppRoleAssignmentsRequestBuilder.java index 80ea26a9e8d..c9fb37a546d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/approleassignments/AppRoleAssignmentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/approleassignments/AppRoleAssignmentsRequestBuilder.java @@ -26,7 +26,10 @@ public class AppRoleAssignmentsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the appRoleAssignments property of the microsoft.graph.servicePrincipal entity. * @param appRoleAssignmentId The unique identifier of appRoleAssignment * @return a {@link AppRoleAssignmentItemRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public AppRoleAssignmentItemRequestBuilder byAppRoleAssignmentId(@jakarta.annotation.Nonnull final String appRoleAssignmentId) { Objects.requireNonNull(appRoleAssignmentId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,9 +69,12 @@ public AppRoleAssignmentsRequestBuilder(@jakarta.annotation.Nonnull final String * Read the properties and relationships of an appRoleAssignment object. * @return a {@link AppRoleAssignmentCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public AppRoleAssignmentCollectionResponse get() { return get(null); } @@ -74,9 +83,12 @@ public AppRoleAssignmentCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AppRoleAssignmentCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public AppRoleAssignmentCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -88,9 +100,12 @@ public AppRoleAssignmentCollectionResponse get(@jakarta.annotation.Nullable fina * @param body The request body * @return a {@link AppRoleAssignment} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public AppRoleAssignment post(@jakarta.annotation.Nonnull final AppRoleAssignment body) { return post(body, null); } @@ -100,9 +115,12 @@ public AppRoleAssignment post(@jakarta.annotation.Nonnull final AppRoleAssignmen * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AppRoleAssignment} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public AppRoleAssignment post(@jakarta.annotation.Nonnull final AppRoleAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -113,8 +131,11 @@ public AppRoleAssignment post(@jakarta.annotation.Nonnull final AppRoleAssignmen /** * Read the properties and relationships of an appRoleAssignment object. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -122,8 +143,11 @@ public RequestInformation toGetRequestInformation() { * Read the properties and relationships of an appRoleAssignment object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -134,8 +158,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Assign an app role to a client service principal. App roles that are assigned to service principals are also known as application permissions. Application permissions can be granted directly with app role assignments, or through a consent experience. To grant an app role assignment to a client service principal, you need three identifiers: * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AppRoleAssignment body) { return toPostRequestInformation(body, null); } @@ -144,8 +171,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AppRoleAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -158,8 +188,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AppRoleAssignmentsRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public AppRoleAssignmentsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AppRoleAssignmentsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/approleassignments/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/approleassignments/count/CountRequestBuilder.java index d20e2e308b7..3245b67d1f4 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/approleassignments/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/approleassignments/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/approleassignments/item/AppRoleAssignmentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/approleassignments/item/AppRoleAssignmentItemRequestBuilder.java index 6938d29f79b..f1b6c68cfc2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/approleassignments/item/AppRoleAssignmentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/approleassignments/item/AppRoleAssignmentItemRequestBuilder.java @@ -39,8 +39,11 @@ public AppRoleAssignmentItemRequestBuilder(@jakarta.annotation.Nonnull final Str /** * Deletes an appRoleAssignment that a service principal has been granted. App roles that are assigned to service principals are also known as application permissions. Deleting an app role assignment for a service principal is equivalent to revoking the app-only permission grant. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ + @Deprecated public void delete() { delete(null); } @@ -48,8 +51,11 @@ public void delete() { * Deletes an appRoleAssignment that a service principal has been granted. App roles that are assigned to service principals are also known as application permissions. Deleting an app role assignment for a service principal is equivalent to revoking the app-only permission grant. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,9 +66,12 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Read the properties and relationships of an appRoleAssignment object. * @return a {@link AppRoleAssignment} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public AppRoleAssignment get() { return get(null); } @@ -71,9 +80,12 @@ public AppRoleAssignment get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AppRoleAssignment} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public AppRoleAssignment get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -85,8 +97,11 @@ public AppRoleAssignment get(@jakarta.annotation.Nullable final java.util.functi * @param body The request body * @return a {@link AppRoleAssignment} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public AppRoleAssignment patch(@jakarta.annotation.Nonnull final AppRoleAssignment body) { return patch(body, null); } @@ -96,8 +111,11 @@ public AppRoleAssignment patch(@jakarta.annotation.Nonnull final AppRoleAssignme * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AppRoleAssignment} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public AppRoleAssignment patch(@jakarta.annotation.Nonnull final AppRoleAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -108,8 +126,11 @@ public AppRoleAssignment patch(@jakarta.annotation.Nonnull final AppRoleAssignme /** * Deletes an appRoleAssignment that a service principal has been granted. App roles that are assigned to service principals are also known as application permissions. Deleting an app role assignment for a service principal is equivalent to revoking the app-only permission grant. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -117,8 +138,11 @@ public RequestInformation toDeleteRequestInformation() { * Deletes an appRoleAssignment that a service principal has been granted. App roles that are assigned to service principals are also known as application permissions. Deleting an app role assignment for a service principal is equivalent to revoking the app-only permission grant. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -128,8 +152,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Read the properties and relationships of an appRoleAssignment object. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -137,8 +164,11 @@ public RequestInformation toGetRequestInformation() { * Read the properties and relationships of an appRoleAssignment object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -149,8 +179,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property appRoleAssignments in servicePrincipals * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AppRoleAssignment body) { return toPatchRequestInformation(body, null); } @@ -159,8 +192,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AppRoleAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -173,8 +209,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AppRoleAssignmentItemRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public AppRoleAssignmentItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AppRoleAssignmentItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/checkmembergroups/CheckMemberGroupsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/checkmembergroups/CheckMemberGroupsRequestBuilder.java index f8b514884d6..69f55b50ad0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/checkmembergroups/CheckMemberGroupsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/checkmembergroups/CheckMemberGroupsRequestBuilder.java @@ -39,9 +39,12 @@ public CheckMemberGroupsRequestBuilder(@jakarta.annotation.Nonnull final String * @param body The request body * @return a {@link CheckMemberGroupsPostResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public CheckMemberGroupsPostResponse post(@jakarta.annotation.Nonnull final CheckMemberGroupsPostRequestBody body) { return post(body, null); } @@ -51,9 +54,12 @@ public CheckMemberGroupsPostResponse post(@jakarta.annotation.Nonnull final Chec * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CheckMemberGroupsPostResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public CheckMemberGroupsPostResponse post(@jakarta.annotation.Nonnull final CheckMemberGroupsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -65,8 +71,11 @@ public CheckMemberGroupsPostResponse post(@jakarta.annotation.Nonnull final Chec * Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CheckMemberGroupsPostRequestBody body) { return toPostRequestInformation(body, null); } @@ -75,8 +84,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CheckMemberGroupsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -89,8 +101,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CheckMemberGroupsRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public CheckMemberGroupsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CheckMemberGroupsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/checkmemberobjects/CheckMemberObjectsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/checkmemberobjects/CheckMemberObjectsRequestBuilder.java index 0c6b1a878f8..22c143b33d1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/checkmemberobjects/CheckMemberObjectsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/checkmemberobjects/CheckMemberObjectsRequestBuilder.java @@ -39,8 +39,11 @@ public CheckMemberObjectsRequestBuilder(@jakarta.annotation.Nonnull final String * @param body The request body * @return a {@link CheckMemberObjectsPostResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public CheckMemberObjectsPostResponse post(@jakarta.annotation.Nonnull final CheckMemberObjectsPostRequestBody body) { return post(body, null); } @@ -50,8 +53,11 @@ public CheckMemberObjectsPostResponse post(@jakarta.annotation.Nonnull final Che * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CheckMemberObjectsPostResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public CheckMemberObjectsPostResponse post(@jakarta.annotation.Nonnull final CheckMemberObjectsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -63,8 +69,11 @@ public CheckMemberObjectsPostResponse post(@jakarta.annotation.Nonnull final Che * Invoke action checkMemberObjects * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CheckMemberObjectsPostRequestBody body) { return toPostRequestInformation(body, null); } @@ -73,8 +82,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CheckMemberObjectsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -87,8 +99,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CheckMemberObjectsRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public CheckMemberObjectsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CheckMemberObjectsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/claimsmappingpolicies/ClaimsMappingPoliciesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/claimsmappingpolicies/ClaimsMappingPoliciesRequestBuilder.java index 81a7ebf3ad6..cd2b0bb626b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/claimsmappingpolicies/ClaimsMappingPoliciesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/claimsmappingpolicies/ClaimsMappingPoliciesRequestBuilder.java @@ -26,7 +26,10 @@ public class ClaimsMappingPoliciesRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -34,7 +37,10 @@ public CountRequestBuilder count() { /** * Provides operations to manage the collection of servicePrincipal entities. * @return a {@link RefRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public RefRequestBuilder ref() { return new RefRequestBuilder(pathParameters, requestAdapter); @@ -71,9 +77,12 @@ public ClaimsMappingPoliciesRequestBuilder(@jakarta.annotation.Nonnull final Str * List the claimsMappingPolicy objects that are assigned to a servicePrincipal. * @return a {@link ClaimsMappingPolicyCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public ClaimsMappingPolicyCollectionResponse get() { return get(null); } @@ -82,9 +91,12 @@ public ClaimsMappingPolicyCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ClaimsMappingPolicyCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public ClaimsMappingPolicyCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -94,8 +106,11 @@ public ClaimsMappingPolicyCollectionResponse get(@jakarta.annotation.Nullable fi /** * List the claimsMappingPolicy objects that are assigned to a servicePrincipal. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -103,8 +118,11 @@ public RequestInformation toGetRequestInformation() { * List the claimsMappingPolicy objects that are assigned to a servicePrincipal. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -115,8 +133,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ClaimsMappingPoliciesRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public ClaimsMappingPoliciesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ClaimsMappingPoliciesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/claimsmappingpolicies/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/claimsmappingpolicies/count/CountRequestBuilder.java index 456d5fe028b..1eb3c22c092 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/claimsmappingpolicies/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/claimsmappingpolicies/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/claimsmappingpolicies/item/ref/RefRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/claimsmappingpolicies/item/ref/RefRequestBuilder.java index 810d81f0bb9..424a069f06a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/claimsmappingpolicies/item/ref/RefRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/claimsmappingpolicies/item/ref/RefRequestBuilder.java @@ -37,8 +37,11 @@ public RefRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakar /** * Remove a claimsMappingPolicy from a servicePrincipal. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ + @Deprecated public void delete() { delete(null); } @@ -46,8 +49,11 @@ public void delete() { * Remove a claimsMappingPolicy from a servicePrincipal. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume /** * Remove a claimsMappingPolicy from a servicePrincipal. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toDeleteRequestInformation() { * Remove a claimsMappingPolicy from a servicePrincipal. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RefRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RefRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RefRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/claimsmappingpolicies/ref/RefRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/claimsmappingpolicies/ref/RefRequestBuilder.java index de5dcdad2e4..266c7359d79 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/claimsmappingpolicies/ref/RefRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/claimsmappingpolicies/ref/RefRequestBuilder.java @@ -40,8 +40,11 @@ public RefRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakar /** * Remove a claimsMappingPolicy from a servicePrincipal. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ + @Deprecated public void delete() { delete(null); } @@ -49,8 +52,11 @@ public void delete() { * Remove a claimsMappingPolicy from a servicePrincipal. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,9 +67,12 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * List the claimsMappingPolicy objects that are assigned to a servicePrincipal. * @return a {@link StringCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public StringCollectionResponse get() { return get(null); } @@ -72,9 +81,12 @@ public StringCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link StringCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public StringCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -85,8 +97,11 @@ public StringCollectionResponse get(@jakarta.annotation.Nullable final java.util * Assign a claimsMappingPolicy to a servicePrincipal. * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final ReferenceCreate body) { post(body, null); } @@ -95,8 +110,11 @@ public void post(@jakarta.annotation.Nonnull final ReferenceCreate body) { * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final ReferenceCreate body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -107,8 +125,11 @@ public void post(@jakarta.annotation.Nonnull final ReferenceCreate body, @jakart /** * Remove a claimsMappingPolicy from a servicePrincipal. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -116,8 +137,11 @@ public RequestInformation toDeleteRequestInformation() { * Remove a claimsMappingPolicy from a servicePrincipal. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/claimsMappingPolicies/$ref?@id={%40id}", pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new, x -> x.queryParameters); @@ -127,8 +151,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * List the claimsMappingPolicy objects that are assigned to a servicePrincipal. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -136,8 +163,11 @@ public RequestInformation toGetRequestInformation() { * List the claimsMappingPolicy objects that are assigned to a servicePrincipal. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -148,8 +178,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Assign a claimsMappingPolicy to a servicePrincipal. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ReferenceCreate body) { return toPostRequestInformation(body, null); } @@ -158,8 +191,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ReferenceCreate body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -172,8 +208,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RefRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RefRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RefRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/claimspolicy/ClaimsPolicyRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/claimspolicy/ClaimsPolicyRequestBuilder.java index e2ee66520c3..7a9e1a58314 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/claimspolicy/ClaimsPolicyRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/claimspolicy/ClaimsPolicyRequestBuilder.java @@ -40,9 +40,12 @@ public ClaimsPolicyRequestBuilder(@jakarta.annotation.Nonnull final String rawUr * Get the properties and relationships of a customClaimsPolicy object. * @return a {@link CustomClaimsPolicy} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public CustomClaimsPolicy get() { return get(null); } @@ -51,9 +54,12 @@ public CustomClaimsPolicy get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomClaimsPolicy} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public CustomClaimsPolicy get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -65,9 +71,12 @@ public CustomClaimsPolicy get(@jakarta.annotation.Nullable final java.util.funct * @param body The request body * @return a {@link CustomClaimsPolicy} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public CustomClaimsPolicy patch(@jakarta.annotation.Nonnull final CustomClaimsPolicy body) { return patch(body, null); } @@ -77,9 +86,12 @@ public CustomClaimsPolicy patch(@jakarta.annotation.Nonnull final CustomClaimsPo * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomClaimsPolicy} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public CustomClaimsPolicy patch(@jakarta.annotation.Nonnull final CustomClaimsPolicy body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -92,9 +104,12 @@ public CustomClaimsPolicy patch(@jakarta.annotation.Nonnull final CustomClaimsPo * @param body The request body * @return a {@link CustomClaimsPolicy} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public CustomClaimsPolicy put(@jakarta.annotation.Nonnull final CustomClaimsPolicy body) { return put(body, null); } @@ -104,9 +119,12 @@ public CustomClaimsPolicy put(@jakarta.annotation.Nonnull final CustomClaimsPoli * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomClaimsPolicy} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public CustomClaimsPolicy put(@jakarta.annotation.Nonnull final CustomClaimsPolicy body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPutRequestInformation(body, requestConfiguration); @@ -117,8 +135,11 @@ public CustomClaimsPolicy put(@jakarta.annotation.Nonnull final CustomClaimsPoli /** * Get the properties and relationships of a customClaimsPolicy object. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -126,8 +147,11 @@ public RequestInformation toGetRequestInformation() { * Get the properties and relationships of a customClaimsPolicy object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -138,8 +162,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update a customClaimsPolicy object. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final CustomClaimsPolicy body) { return toPatchRequestInformation(body, null); } @@ -148,8 +175,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final CustomClaimsPolicy body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -162,8 +192,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Update a customClaimsPolicy object. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull final CustomClaimsPolicy body) { return toPutRequestInformation(body, null); } @@ -172,8 +205,11 @@ public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull fi * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull final CustomClaimsPolicy body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PUT, urlTemplate, pathParameters); @@ -186,8 +222,11 @@ public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull fi * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ClaimsPolicyRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public ClaimsPolicyRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ClaimsPolicyRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/createdobjects/CreatedObjectsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/createdobjects/CreatedObjectsRequestBuilder.java index f297281b50a..b4d0103bbbc 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/createdobjects/CreatedObjectsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/createdobjects/CreatedObjectsRequestBuilder.java @@ -26,7 +26,10 @@ public class CreatedObjectsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -34,7 +37,10 @@ public CountRequestBuilder count() { /** * Casts the previous resource to servicePrincipal. * @return a {@link GraphServicePrincipalRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public GraphServicePrincipalRequestBuilder graphServicePrincipal() { return new GraphServicePrincipalRequestBuilder(pathParameters, requestAdapter); @@ -43,8 +49,11 @@ public GraphServicePrincipalRequestBuilder graphServicePrincipal() { * Provides operations to manage the createdObjects property of the microsoft.graph.servicePrincipal entity. * @param directoryObjectId The unique identifier of directoryObject * @return a {@link DirectoryObjectItemRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public DirectoryObjectItemRequestBuilder byDirectoryObjectId(@jakarta.annotation.Nonnull final String directoryObjectId) { Objects.requireNonNull(directoryObjectId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -71,9 +80,12 @@ public CreatedObjectsRequestBuilder(@jakarta.annotation.Nonnull final String raw * Retrieve a list of directoryobject objects. * @return a {@link DirectoryObjectCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public DirectoryObjectCollectionResponse get() { return get(null); } @@ -82,9 +94,12 @@ public DirectoryObjectCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DirectoryObjectCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public DirectoryObjectCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -94,8 +109,11 @@ public DirectoryObjectCollectionResponse get(@jakarta.annotation.Nullable final /** * Retrieve a list of directoryobject objects. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -103,8 +121,11 @@ public RequestInformation toGetRequestInformation() { * Retrieve a list of directoryobject objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -115,8 +136,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CreatedObjectsRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public CreatedObjectsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CreatedObjectsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/createdobjects/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/createdobjects/count/CountRequestBuilder.java index 822301c33d0..6c4be40c069 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/createdobjects/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/createdobjects/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/createdobjects/graphserviceprincipal/GraphServicePrincipalRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/createdobjects/graphserviceprincipal/GraphServicePrincipalRequestBuilder.java index 693bc62b13c..d5ef669fe5f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/createdobjects/graphserviceprincipal/GraphServicePrincipalRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/createdobjects/graphserviceprincipal/GraphServicePrincipalRequestBuilder.java @@ -24,7 +24,10 @@ public class GraphServicePrincipalRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -49,8 +52,11 @@ public GraphServicePrincipalRequestBuilder(@jakarta.annotation.Nonnull final Str * Get the items of type microsoft.graph.servicePrincipal in the microsoft.graph.directoryObject collection * @return a {@link ServicePrincipalCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public ServicePrincipalCollectionResponse get() { return get(null); } @@ -59,8 +65,11 @@ public ServicePrincipalCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ServicePrincipalCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public ServicePrincipalCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -70,8 +79,11 @@ public ServicePrincipalCollectionResponse get(@jakarta.annotation.Nullable final /** * Get the items of type microsoft.graph.servicePrincipal in the microsoft.graph.directoryObject collection * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -79,8 +91,11 @@ public RequestInformation toGetRequestInformation() { * Get the items of type microsoft.graph.servicePrincipal in the microsoft.graph.directoryObject collection * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -91,8 +106,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link GraphServicePrincipalRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public GraphServicePrincipalRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new GraphServicePrincipalRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/createdobjects/graphserviceprincipal/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/createdobjects/graphserviceprincipal/count/CountRequestBuilder.java index 3eeb91ea169..ccf7fce8da3 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/createdobjects/graphserviceprincipal/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/createdobjects/graphserviceprincipal/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/createdobjects/item/DirectoryObjectItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/createdobjects/item/DirectoryObjectItemRequestBuilder.java index d25e386a265..c55a87710f1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/createdobjects/item/DirectoryObjectItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/createdobjects/item/DirectoryObjectItemRequestBuilder.java @@ -24,7 +24,10 @@ public class DirectoryObjectItemRequestBuilder extends BaseRequestBuilder { /** * Casts the previous resource to servicePrincipal. * @return a {@link GraphServicePrincipalRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public GraphServicePrincipalRequestBuilder graphServicePrincipal() { return new GraphServicePrincipalRequestBuilder(pathParameters, requestAdapter); @@ -49,8 +52,11 @@ public DirectoryObjectItemRequestBuilder(@jakarta.annotation.Nonnull final Strin * Directory objects created by this service principal. Read-only. Nullable. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public DirectoryObject get() { return get(null); } @@ -59,8 +65,11 @@ public DirectoryObject get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public DirectoryObject get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -70,8 +79,11 @@ public DirectoryObject get(@jakarta.annotation.Nullable final java.util.function /** * Directory objects created by this service principal. Read-only. Nullable. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -79,8 +91,11 @@ public RequestInformation toGetRequestInformation() { * Directory objects created by this service principal. Read-only. Nullable. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -91,8 +106,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link DirectoryObjectItemRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public DirectoryObjectItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new DirectoryObjectItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/createdobjects/item/graphserviceprincipal/GraphServicePrincipalRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/createdobjects/item/graphserviceprincipal/GraphServicePrincipalRequestBuilder.java index 74b35964631..c53a3017a27 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/createdobjects/item/graphserviceprincipal/GraphServicePrincipalRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/createdobjects/item/graphserviceprincipal/GraphServicePrincipalRequestBuilder.java @@ -40,8 +40,11 @@ public GraphServicePrincipalRequestBuilder(@jakarta.annotation.Nonnull final Str * Get the item of type microsoft.graph.directoryObject as microsoft.graph.servicePrincipal * @return a {@link ServicePrincipal} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public ServicePrincipal get() { return get(null); } @@ -50,8 +53,11 @@ public ServicePrincipal get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ServicePrincipal} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public ServicePrincipal get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public ServicePrincipal get(@jakarta.annotation.Nullable final java.util.functio /** * Get the item of type microsoft.graph.directoryObject as microsoft.graph.servicePrincipal * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * Get the item of type microsoft.graph.directoryObject as microsoft.graph.servicePrincipal * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link GraphServicePrincipalRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public GraphServicePrincipalRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new GraphServicePrincipalRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/createpasswordsinglesignoncredentials/CreatePasswordSingleSignOnCredentialsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/createpasswordsinglesignoncredentials/CreatePasswordSingleSignOnCredentialsRequestBuilder.java index 6241ebdbac4..440dad9b7cc 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/createpasswordsinglesignoncredentials/CreatePasswordSingleSignOnCredentialsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/createpasswordsinglesignoncredentials/CreatePasswordSingleSignOnCredentialsRequestBuilder.java @@ -40,9 +40,12 @@ public CreatePasswordSingleSignOnCredentialsRequestBuilder(@jakarta.annotation.N * @param body The request body * @return a {@link PasswordSingleSignOnCredentialSet} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public PasswordSingleSignOnCredentialSet post(@jakarta.annotation.Nonnull final CreatePasswordSingleSignOnCredentialsPostRequestBody body) { return post(body, null); } @@ -52,9 +55,12 @@ public PasswordSingleSignOnCredentialSet post(@jakarta.annotation.Nonnull final * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link PasswordSingleSignOnCredentialSet} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public PasswordSingleSignOnCredentialSet post(@jakarta.annotation.Nonnull final CreatePasswordSingleSignOnCredentialsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -66,8 +72,11 @@ public PasswordSingleSignOnCredentialSet post(@jakarta.annotation.Nonnull final * Create single sign-on credentials using a password for a user or group. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CreatePasswordSingleSignOnCredentialsPostRequestBody body) { return toPostRequestInformation(body, null); } @@ -76,8 +85,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CreatePasswordSingleSignOnCredentialsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -90,8 +102,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CreatePasswordSingleSignOnCredentialsRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public CreatePasswordSingleSignOnCredentialsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CreatePasswordSingleSignOnCredentialsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/delegatedpermissionclassifications/DelegatedPermissionClassificationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/delegatedpermissionclassifications/DelegatedPermissionClassificationsRequestBuilder.java index 587e33b3ff5..950e8c6c006 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/delegatedpermissionclassifications/DelegatedPermissionClassificationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/delegatedpermissionclassifications/DelegatedPermissionClassificationsRequestBuilder.java @@ -26,7 +26,10 @@ public class DelegatedPermissionClassificationsRequestBuilder extends BaseReques /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the delegatedPermissionClassifications property of the microsoft.graph.servicePrincipal entity. * @param delegatedPermissionClassificationId The unique identifier of delegatedPermissionClassification * @return a {@link DelegatedPermissionClassificationItemRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public DelegatedPermissionClassificationItemRequestBuilder byDelegatedPermissionClassificationId(@jakarta.annotation.Nonnull final String delegatedPermissionClassificationId) { Objects.requireNonNull(delegatedPermissionClassificationId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,9 +69,12 @@ public DelegatedPermissionClassificationsRequestBuilder(@jakarta.annotation.Nonn * Retrieve the list of delegatedPermissionClassification currently configured for the delegated permissions exposed by an API. * @return a {@link DelegatedPermissionClassificationCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public DelegatedPermissionClassificationCollectionResponse get() { return get(null); } @@ -74,9 +83,12 @@ public DelegatedPermissionClassificationCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DelegatedPermissionClassificationCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public DelegatedPermissionClassificationCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -88,9 +100,12 @@ public DelegatedPermissionClassificationCollectionResponse get(@jakarta.annotati * @param body The request body * @return a {@link DelegatedPermissionClassification} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public DelegatedPermissionClassification post(@jakarta.annotation.Nonnull final DelegatedPermissionClassification body) { return post(body, null); } @@ -100,9 +115,12 @@ public DelegatedPermissionClassification post(@jakarta.annotation.Nonnull final * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DelegatedPermissionClassification} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public DelegatedPermissionClassification post(@jakarta.annotation.Nonnull final DelegatedPermissionClassification body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -113,8 +131,11 @@ public DelegatedPermissionClassification post(@jakarta.annotation.Nonnull final /** * Retrieve the list of delegatedPermissionClassification currently configured for the delegated permissions exposed by an API. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -122,8 +143,11 @@ public RequestInformation toGetRequestInformation() { * Retrieve the list of delegatedPermissionClassification currently configured for the delegated permissions exposed by an API. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -134,8 +158,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Classify a delegated permission by adding a delegatedPermissionClassification to the servicePrincipal representing the API. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DelegatedPermissionClassification body) { return toPostRequestInformation(body, null); } @@ -144,8 +171,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DelegatedPermissionClassification body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -158,8 +188,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link DelegatedPermissionClassificationsRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public DelegatedPermissionClassificationsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new DelegatedPermissionClassificationsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/delegatedpermissionclassifications/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/delegatedpermissionclassifications/count/CountRequestBuilder.java index 77e26011837..5066718b484 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/delegatedpermissionclassifications/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/delegatedpermissionclassifications/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/delegatedpermissionclassifications/item/DelegatedPermissionClassificationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/delegatedpermissionclassifications/item/DelegatedPermissionClassificationItemRequestBuilder.java index e7ee790159d..ecc982ab9fd 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/delegatedpermissionclassifications/item/DelegatedPermissionClassificationItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/delegatedpermissionclassifications/item/DelegatedPermissionClassificationItemRequestBuilder.java @@ -39,8 +39,11 @@ public DelegatedPermissionClassificationItemRequestBuilder(@jakarta.annotation.N /** * Deletes a delegatedPermissionClassification which had previously been set for a delegated permission. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ + @Deprecated public void delete() { delete(null); } @@ -48,8 +51,11 @@ public void delete() { * Deletes a delegatedPermissionClassification which had previously been set for a delegated permission. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * The permission classifications for delegated permissions exposed by the app that this service principal represents. Supports $expand. * @return a {@link DelegatedPermissionClassification} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public DelegatedPermissionClassification get() { return get(null); } @@ -70,8 +79,11 @@ public DelegatedPermissionClassification get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DelegatedPermissionClassification} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public DelegatedPermissionClassification get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -83,8 +95,11 @@ public DelegatedPermissionClassification get(@jakarta.annotation.Nullable final * @param body The request body * @return a {@link DelegatedPermissionClassification} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public DelegatedPermissionClassification patch(@jakarta.annotation.Nonnull final DelegatedPermissionClassification body) { return patch(body, null); } @@ -94,8 +109,11 @@ public DelegatedPermissionClassification patch(@jakarta.annotation.Nonnull final * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DelegatedPermissionClassification} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public DelegatedPermissionClassification patch(@jakarta.annotation.Nonnull final DelegatedPermissionClassification body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -106,8 +124,11 @@ public DelegatedPermissionClassification patch(@jakarta.annotation.Nonnull final /** * Deletes a delegatedPermissionClassification which had previously been set for a delegated permission. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -115,8 +136,11 @@ public RequestInformation toDeleteRequestInformation() { * Deletes a delegatedPermissionClassification which had previously been set for a delegated permission. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -126,8 +150,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * The permission classifications for delegated permissions exposed by the app that this service principal represents. Supports $expand. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -135,8 +162,11 @@ public RequestInformation toGetRequestInformation() { * The permission classifications for delegated permissions exposed by the app that this service principal represents. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -147,8 +177,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property delegatedPermissionClassifications in servicePrincipals * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final DelegatedPermissionClassification body) { return toPatchRequestInformation(body, null); } @@ -157,8 +190,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final DelegatedPermissionClassification body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -171,8 +207,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link DelegatedPermissionClassificationItemRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public DelegatedPermissionClassificationItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new DelegatedPermissionClassificationItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/deletepasswordsinglesignoncredentials/DeletePasswordSingleSignOnCredentialsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/deletepasswordsinglesignoncredentials/DeletePasswordSingleSignOnCredentialsRequestBuilder.java index e353c0b846d..4cd1f53234a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/deletepasswordsinglesignoncredentials/DeletePasswordSingleSignOnCredentialsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/deletepasswordsinglesignoncredentials/DeletePasswordSingleSignOnCredentialsRequestBuilder.java @@ -38,8 +38,11 @@ public DeletePasswordSingleSignOnCredentialsRequestBuilder(@jakarta.annotation.N * Delete single sign-on credentials using a password for a user or group. * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final DeletePasswordSingleSignOnCredentialsPostRequestBody body) { post(body, null); } @@ -48,8 +51,11 @@ public void post(@jakarta.annotation.Nonnull final DeletePasswordSingleSignOnCre * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final DeletePasswordSingleSignOnCredentialsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -61,8 +67,11 @@ public void post(@jakarta.annotation.Nonnull final DeletePasswordSingleSignOnCre * Delete single sign-on credentials using a password for a user or group. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeletePasswordSingleSignOnCredentialsPostRequestBody body) { return toPostRequestInformation(body, null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeletePasswordSingleSignOnCredentialsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -85,8 +97,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link DeletePasswordSingleSignOnCredentialsRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public DeletePasswordSingleSignOnCredentialsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new DeletePasswordSingleSignOnCredentialsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/endpoints/EndpointsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/endpoints/EndpointsRequestBuilder.java index 664a9595e6a..c1dbcbfee51 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/endpoints/EndpointsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/endpoints/EndpointsRequestBuilder.java @@ -26,7 +26,10 @@ public class EndpointsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the endpoints property of the microsoft.graph.servicePrincipal entity. * @param endpointId The unique identifier of endpoint * @return a {@link EndpointItemRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public EndpointItemRequestBuilder byEndpointId(@jakarta.annotation.Nonnull final String endpointId) { Objects.requireNonNull(endpointId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public EndpointsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, * Endpoints available for discovery. Services like Sharepoint populate this property with a tenant specific SharePoint endpoints that other applications can discover and use in their experiences. * @return a {@link EndpointCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public EndpointCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public EndpointCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link EndpointCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public EndpointCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public EndpointCollectionResponse get(@jakarta.annotation.Nullable final java.ut * @param body The request body * @return a {@link Endpoint} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public Endpoint post(@jakarta.annotation.Nonnull final Endpoint body) { return post(body, null); } @@ -97,8 +112,11 @@ public Endpoint post(@jakarta.annotation.Nonnull final Endpoint body) { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Endpoint} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public Endpoint post(@jakarta.annotation.Nonnull final Endpoint body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public Endpoint post(@jakarta.annotation.Nonnull final Endpoint body, @jakarta.a /** * Endpoints available for discovery. Services like Sharepoint populate this property with a tenant specific SharePoint endpoints that other applications can discover and use in their experiences. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Endpoints available for discovery. Services like Sharepoint populate this property with a tenant specific SharePoint endpoints that other applications can discover and use in their experiences. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to endpoints for servicePrincipals * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Endpoint body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Endpoint body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link EndpointsRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public EndpointsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new EndpointsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/endpoints/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/endpoints/count/CountRequestBuilder.java index 3aab73c9331..49438d54699 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/endpoints/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/endpoints/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/endpoints/item/EndpointItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/endpoints/item/EndpointItemRequestBuilder.java index 673ba8abb66..96f811e26e7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/endpoints/item/EndpointItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/endpoints/item/EndpointItemRequestBuilder.java @@ -39,7 +39,10 @@ public EndpointItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUr /** * Delete navigation property endpoints for servicePrincipals * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated public void delete() { delete(null); } @@ -47,7 +50,10 @@ public void delete() { * Delete navigation property endpoints for servicePrincipals * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -58,8 +64,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Endpoints available for discovery. Services like Sharepoint populate this property with a tenant specific SharePoint endpoints that other applications can discover and use in their experiences. * @return a {@link Endpoint} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public Endpoint get() { return get(null); } @@ -68,8 +77,11 @@ public Endpoint get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Endpoint} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public Endpoint get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -81,8 +93,11 @@ public Endpoint get(@jakarta.annotation.Nullable final java.util.function.Consum * @param body The request body * @return a {@link Endpoint} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public Endpoint patch(@jakarta.annotation.Nonnull final Endpoint body) { return patch(body, null); } @@ -92,8 +107,11 @@ public Endpoint patch(@jakarta.annotation.Nonnull final Endpoint body) { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Endpoint} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public Endpoint patch(@jakarta.annotation.Nonnull final Endpoint body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -104,8 +122,11 @@ public Endpoint patch(@jakarta.annotation.Nonnull final Endpoint body, @jakarta. /** * Delete navigation property endpoints for servicePrincipals * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -113,8 +134,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property endpoints for servicePrincipals * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Endpoints available for discovery. Services like Sharepoint populate this property with a tenant specific SharePoint endpoints that other applications can discover and use in their experiences. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -133,8 +160,11 @@ public RequestInformation toGetRequestInformation() { * Endpoints available for discovery. Services like Sharepoint populate this property with a tenant specific SharePoint endpoints that other applications can discover and use in their experiences. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -145,8 +175,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property endpoints in servicePrincipals * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final Endpoint body) { return toPatchRequestInformation(body, null); } @@ -155,8 +188,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final Endpoint body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -169,8 +205,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link EndpointItemRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public EndpointItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new EndpointItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/federatedidentitycredentials/FederatedIdentityCredentialsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/federatedidentitycredentials/FederatedIdentityCredentialsRequestBuilder.java index 8c1badc6347..a629edff2e2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/federatedidentitycredentials/FederatedIdentityCredentialsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/federatedidentitycredentials/FederatedIdentityCredentialsRequestBuilder.java @@ -26,7 +26,10 @@ public class FederatedIdentityCredentialsRequestBuilder extends BaseRequestBuild /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the federatedIdentityCredentials property of the microsoft.graph.servicePrincipal entity. * @param federatedIdentityCredentialId The unique identifier of federatedIdentityCredential * @return a {@link FederatedIdentityCredentialItemRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public FederatedIdentityCredentialItemRequestBuilder byFederatedIdentityCredentialId(@jakarta.annotation.Nonnull final String federatedIdentityCredentialId) { Objects.requireNonNull(federatedIdentityCredentialId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public FederatedIdentityCredentialsRequestBuilder(@jakarta.annotation.Nonnull fi * Get federatedIdentityCredentials from servicePrincipals * @return a {@link FederatedIdentityCredentialCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public FederatedIdentityCredentialCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public FederatedIdentityCredentialCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link FederatedIdentityCredentialCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public FederatedIdentityCredentialCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public FederatedIdentityCredentialCollectionResponse get(@jakarta.annotation.Nul * @param body The request body * @return a {@link FederatedIdentityCredential} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public FederatedIdentityCredential post(@jakarta.annotation.Nonnull final FederatedIdentityCredential body) { return post(body, null); } @@ -97,8 +112,11 @@ public FederatedIdentityCredential post(@jakarta.annotation.Nonnull final Federa * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link FederatedIdentityCredential} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public FederatedIdentityCredential post(@jakarta.annotation.Nonnull final FederatedIdentityCredential body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public FederatedIdentityCredential post(@jakarta.annotation.Nonnull final Federa /** * Get federatedIdentityCredentials from servicePrincipals * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Get federatedIdentityCredentials from servicePrincipals * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to federatedIdentityCredentials for servicePrincipals * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final FederatedIdentityCredential body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final FederatedIdentityCredential body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link FederatedIdentityCredentialsRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public FederatedIdentityCredentialsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new FederatedIdentityCredentialsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/federatedidentitycredentials/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/federatedidentitycredentials/count/CountRequestBuilder.java index 240140c3ac8..5d1d3533d6a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/federatedidentitycredentials/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/federatedidentitycredentials/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/federatedidentitycredentials/item/FederatedIdentityCredentialItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/federatedidentitycredentials/item/FederatedIdentityCredentialItemRequestBuilder.java index dbd2cd147bf..087ec6452f2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/federatedidentitycredentials/item/FederatedIdentityCredentialItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/federatedidentitycredentials/item/FederatedIdentityCredentialItemRequestBuilder.java @@ -39,7 +39,10 @@ public FederatedIdentityCredentialItemRequestBuilder(@jakarta.annotation.Nonnull /** * Delete navigation property federatedIdentityCredentials for servicePrincipals * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated public void delete() { delete(null); } @@ -47,7 +50,10 @@ public void delete() { * Delete navigation property federatedIdentityCredentials for servicePrincipals * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -58,8 +64,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Get federatedIdentityCredentials from servicePrincipals * @return a {@link FederatedIdentityCredential} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public FederatedIdentityCredential get() { return get(null); } @@ -68,8 +77,11 @@ public FederatedIdentityCredential get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link FederatedIdentityCredential} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public FederatedIdentityCredential get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -81,8 +93,11 @@ public FederatedIdentityCredential get(@jakarta.annotation.Nullable final java.u * @param body The request body * @return a {@link FederatedIdentityCredential} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public FederatedIdentityCredential patch(@jakarta.annotation.Nonnull final FederatedIdentityCredential body) { return patch(body, null); } @@ -92,8 +107,11 @@ public FederatedIdentityCredential patch(@jakarta.annotation.Nonnull final Feder * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link FederatedIdentityCredential} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public FederatedIdentityCredential patch(@jakarta.annotation.Nonnull final FederatedIdentityCredential body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -104,8 +122,11 @@ public FederatedIdentityCredential patch(@jakarta.annotation.Nonnull final Feder /** * Delete navigation property federatedIdentityCredentials for servicePrincipals * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -113,8 +134,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property federatedIdentityCredentials for servicePrincipals * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Get federatedIdentityCredentials from servicePrincipals * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -133,8 +160,11 @@ public RequestInformation toGetRequestInformation() { * Get federatedIdentityCredentials from servicePrincipals * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -145,8 +175,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property federatedIdentityCredentials in servicePrincipals * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final FederatedIdentityCredential body) { return toPatchRequestInformation(body, null); } @@ -155,8 +188,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final FederatedIdentityCredential body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -169,8 +205,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link FederatedIdentityCredentialItemRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public FederatedIdentityCredentialItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new FederatedIdentityCredentialItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/federatedidentitycredentialswithname/FederatedIdentityCredentialsWithNameRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/federatedidentitycredentialswithname/FederatedIdentityCredentialsWithNameRequestBuilder.java index 5e365efccbe..2871343df63 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/federatedidentitycredentialswithname/FederatedIdentityCredentialsWithNameRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/federatedidentitycredentialswithname/FederatedIdentityCredentialsWithNameRequestBuilder.java @@ -41,7 +41,10 @@ public FederatedIdentityCredentialsWithNameRequestBuilder(@jakarta.annotation.No /** * Delete navigation property federatedIdentityCredentials for servicePrincipals * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated public void delete() { delete(null); } @@ -49,7 +52,10 @@ public void delete() { * Delete navigation property federatedIdentityCredentials for servicePrincipals * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Get federatedIdentityCredentials from servicePrincipals * @return a {@link FederatedIdentityCredential} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public FederatedIdentityCredential get() { return get(null); } @@ -70,8 +79,11 @@ public FederatedIdentityCredential get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link FederatedIdentityCredential} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public FederatedIdentityCredential get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -83,8 +95,11 @@ public FederatedIdentityCredential get(@jakarta.annotation.Nullable final java.u * @param body The request body * @return a {@link FederatedIdentityCredential} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public FederatedIdentityCredential patch(@jakarta.annotation.Nonnull final FederatedIdentityCredential body) { return patch(body, null); } @@ -94,8 +109,11 @@ public FederatedIdentityCredential patch(@jakarta.annotation.Nonnull final Feder * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link FederatedIdentityCredential} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public FederatedIdentityCredential patch(@jakarta.annotation.Nonnull final FederatedIdentityCredential body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -106,8 +124,11 @@ public FederatedIdentityCredential patch(@jakarta.annotation.Nonnull final Feder /** * Delete navigation property federatedIdentityCredentials for servicePrincipals * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -115,8 +136,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property federatedIdentityCredentials for servicePrincipals * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -126,8 +150,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Get federatedIdentityCredentials from servicePrincipals * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -135,8 +162,11 @@ public RequestInformation toGetRequestInformation() { * Get federatedIdentityCredentials from servicePrincipals * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -147,8 +177,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property federatedIdentityCredentials in servicePrincipals * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final FederatedIdentityCredential body) { return toPatchRequestInformation(body, null); } @@ -157,8 +190,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final FederatedIdentityCredential body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -171,8 +207,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link FederatedIdentityCredentialsWithNameRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public FederatedIdentityCredentialsWithNameRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new FederatedIdentityCredentialsWithNameRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/getmembergroups/GetMemberGroupsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/getmembergroups/GetMemberGroupsRequestBuilder.java index 77944f4ab7f..06df8a6696c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/getmembergroups/GetMemberGroupsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/getmembergroups/GetMemberGroupsRequestBuilder.java @@ -39,9 +39,12 @@ public GetMemberGroupsRequestBuilder(@jakarta.annotation.Nonnull final String ra * @param body The request body * @return a {@link GetMemberGroupsPostResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public GetMemberGroupsPostResponse post(@jakarta.annotation.Nonnull final GetMemberGroupsPostRequestBody body) { return post(body, null); } @@ -51,9 +54,12 @@ public GetMemberGroupsPostResponse post(@jakarta.annotation.Nonnull final GetMem * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GetMemberGroupsPostResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public GetMemberGroupsPostResponse post(@jakarta.annotation.Nonnull final GetMemberGroupsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -65,8 +71,11 @@ public GetMemberGroupsPostResponse post(@jakarta.annotation.Nonnull final GetMem * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the DirectoryResultSizeLimitExceeded error code. If you get the DirectoryResultSizeLimitExceeded error code, use the List group transitive memberOf API instead. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GetMemberGroupsPostRequestBody body) { return toPostRequestInformation(body, null); } @@ -75,8 +84,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GetMemberGroupsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -89,8 +101,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link GetMemberGroupsRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public GetMemberGroupsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new GetMemberGroupsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/getmemberobjects/GetMemberObjectsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/getmemberobjects/GetMemberObjectsRequestBuilder.java index 68cde96afc8..3ef23523edc 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/getmemberobjects/GetMemberObjectsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/getmemberobjects/GetMemberObjectsRequestBuilder.java @@ -39,8 +39,11 @@ public GetMemberObjectsRequestBuilder(@jakarta.annotation.Nonnull final String r * @param body The request body * @return a {@link GetMemberObjectsPostResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public GetMemberObjectsPostResponse post(@jakarta.annotation.Nonnull final GetMemberObjectsPostRequestBody body) { return post(body, null); } @@ -50,8 +53,11 @@ public GetMemberObjectsPostResponse post(@jakarta.annotation.Nonnull final GetMe * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GetMemberObjectsPostResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public GetMemberObjectsPostResponse post(@jakarta.annotation.Nonnull final GetMemberObjectsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -63,8 +69,11 @@ public GetMemberObjectsPostResponse post(@jakarta.annotation.Nonnull final GetMe * Invoke action getMemberObjects * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GetMemberObjectsPostRequestBody body) { return toPostRequestInformation(body, null); } @@ -73,8 +82,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GetMemberObjectsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -87,8 +99,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link GetMemberObjectsRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public GetMemberObjectsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new GetMemberObjectsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/getpasswordsinglesignoncredentials/GetPasswordSingleSignOnCredentialsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/getpasswordsinglesignoncredentials/GetPasswordSingleSignOnCredentialsRequestBuilder.java index d0dcd5355c2..e014dd05515 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/getpasswordsinglesignoncredentials/GetPasswordSingleSignOnCredentialsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/getpasswordsinglesignoncredentials/GetPasswordSingleSignOnCredentialsRequestBuilder.java @@ -40,9 +40,12 @@ public GetPasswordSingleSignOnCredentialsRequestBuilder(@jakarta.annotation.Nonn * @param body The request body * @return a {@link PasswordSingleSignOnCredentialSet} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public PasswordSingleSignOnCredentialSet post(@jakarta.annotation.Nonnull final GetPasswordSingleSignOnCredentialsPostRequestBody body) { return post(body, null); } @@ -52,9 +55,12 @@ public PasswordSingleSignOnCredentialSet post(@jakarta.annotation.Nonnull final * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link PasswordSingleSignOnCredentialSet} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public PasswordSingleSignOnCredentialSet post(@jakarta.annotation.Nonnull final GetPasswordSingleSignOnCredentialsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -66,8 +72,11 @@ public PasswordSingleSignOnCredentialSet post(@jakarta.annotation.Nonnull final * Get a list of single sign-on credentials using a password for a user or group. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GetPasswordSingleSignOnCredentialsPostRequestBody body) { return toPostRequestInformation(body, null); } @@ -76,8 +85,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GetPasswordSingleSignOnCredentialsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -90,8 +102,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link GetPasswordSingleSignOnCredentialsRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public GetPasswordSingleSignOnCredentialsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new GetPasswordSingleSignOnCredentialsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/homerealmdiscoverypolicies/HomeRealmDiscoveryPoliciesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/homerealmdiscoverypolicies/HomeRealmDiscoveryPoliciesRequestBuilder.java index 93788afecfb..a16c930959d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/homerealmdiscoverypolicies/HomeRealmDiscoveryPoliciesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/homerealmdiscoverypolicies/HomeRealmDiscoveryPoliciesRequestBuilder.java @@ -26,7 +26,10 @@ public class HomeRealmDiscoveryPoliciesRequestBuilder extends BaseRequestBuilder /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -34,7 +37,10 @@ public CountRequestBuilder count() { /** * Provides operations to manage the collection of servicePrincipal entities. * @return a {@link RefRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public RefRequestBuilder ref() { return new RefRequestBuilder(pathParameters, requestAdapter); @@ -71,9 +77,12 @@ public HomeRealmDiscoveryPoliciesRequestBuilder(@jakarta.annotation.Nonnull fina * List the homeRealmDiscoveryPolicy objects that are assigned to a servicePrincipal. * @return a {@link HomeRealmDiscoveryPolicyCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public HomeRealmDiscoveryPolicyCollectionResponse get() { return get(null); } @@ -82,9 +91,12 @@ public HomeRealmDiscoveryPolicyCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link HomeRealmDiscoveryPolicyCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public HomeRealmDiscoveryPolicyCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -94,8 +106,11 @@ public HomeRealmDiscoveryPolicyCollectionResponse get(@jakarta.annotation.Nullab /** * List the homeRealmDiscoveryPolicy objects that are assigned to a servicePrincipal. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -103,8 +118,11 @@ public RequestInformation toGetRequestInformation() { * List the homeRealmDiscoveryPolicy objects that are assigned to a servicePrincipal. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -115,8 +133,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link HomeRealmDiscoveryPoliciesRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public HomeRealmDiscoveryPoliciesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new HomeRealmDiscoveryPoliciesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/homerealmdiscoverypolicies/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/homerealmdiscoverypolicies/count/CountRequestBuilder.java index c9ed8c55852..b219b20733c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/homerealmdiscoverypolicies/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/homerealmdiscoverypolicies/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/homerealmdiscoverypolicies/item/ref/RefRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/homerealmdiscoverypolicies/item/ref/RefRequestBuilder.java index 27d9fa6b272..a32cac9dc8e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/homerealmdiscoverypolicies/item/ref/RefRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/homerealmdiscoverypolicies/item/ref/RefRequestBuilder.java @@ -37,8 +37,11 @@ public RefRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakar /** * Remove a homeRealmDiscoveryPolicy from a servicePrincipal. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ + @Deprecated public void delete() { delete(null); } @@ -46,8 +49,11 @@ public void delete() { * Remove a homeRealmDiscoveryPolicy from a servicePrincipal. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume /** * Remove a homeRealmDiscoveryPolicy from a servicePrincipal. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toDeleteRequestInformation() { * Remove a homeRealmDiscoveryPolicy from a servicePrincipal. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RefRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RefRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RefRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/homerealmdiscoverypolicies/ref/RefRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/homerealmdiscoverypolicies/ref/RefRequestBuilder.java index bae7e5b51bd..764950bdf88 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/homerealmdiscoverypolicies/ref/RefRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/homerealmdiscoverypolicies/ref/RefRequestBuilder.java @@ -40,8 +40,11 @@ public RefRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakar /** * Remove a homeRealmDiscoveryPolicy from a servicePrincipal. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ + @Deprecated public void delete() { delete(null); } @@ -49,8 +52,11 @@ public void delete() { * Remove a homeRealmDiscoveryPolicy from a servicePrincipal. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,9 +67,12 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * List the homeRealmDiscoveryPolicy objects that are assigned to a servicePrincipal. * @return a {@link StringCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public StringCollectionResponse get() { return get(null); } @@ -72,9 +81,12 @@ public StringCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link StringCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public StringCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -85,8 +97,11 @@ public StringCollectionResponse get(@jakarta.annotation.Nullable final java.util * Assign a homeRealmDiscoveryPolicy to a servicePrincipal. * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final ReferenceCreate body) { post(body, null); } @@ -95,8 +110,11 @@ public void post(@jakarta.annotation.Nonnull final ReferenceCreate body) { * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final ReferenceCreate body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -107,8 +125,11 @@ public void post(@jakarta.annotation.Nonnull final ReferenceCreate body, @jakart /** * Remove a homeRealmDiscoveryPolicy from a servicePrincipal. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -116,8 +137,11 @@ public RequestInformation toDeleteRequestInformation() { * Remove a homeRealmDiscoveryPolicy from a servicePrincipal. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/homeRealmDiscoveryPolicies/$ref?@id={%40id}", pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new, x -> x.queryParameters); @@ -127,8 +151,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * List the homeRealmDiscoveryPolicy objects that are assigned to a servicePrincipal. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -136,8 +163,11 @@ public RequestInformation toGetRequestInformation() { * List the homeRealmDiscoveryPolicy objects that are assigned to a servicePrincipal. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -148,8 +178,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Assign a homeRealmDiscoveryPolicy to a servicePrincipal. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ReferenceCreate body) { return toPostRequestInformation(body, null); } @@ -158,8 +191,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ReferenceCreate body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -172,8 +208,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RefRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RefRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RefRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/licensedetails/LicenseDetailsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/licensedetails/LicenseDetailsRequestBuilder.java index e86b9d8f49a..1018b06ee2e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/licensedetails/LicenseDetailsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/licensedetails/LicenseDetailsRequestBuilder.java @@ -27,7 +27,10 @@ public class LicenseDetailsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,7 +38,10 @@ public CountRequestBuilder count() { /** * Provides operations to call the getTeamsLicensingDetails method. * @return a {@link GetTeamsLicensingDetailsRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public GetTeamsLicensingDetailsRequestBuilder getTeamsLicensingDetails() { return new GetTeamsLicensingDetailsRequestBuilder(pathParameters, requestAdapter); @@ -44,8 +50,11 @@ public GetTeamsLicensingDetailsRequestBuilder getTeamsLicensingDetails() { * Provides operations to manage the licenseDetails property of the microsoft.graph.servicePrincipal entity. * @param licenseDetailsId The unique identifier of licenseDetails * @return a {@link LicenseDetailsItemRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public LicenseDetailsItemRequestBuilder byLicenseDetailsId(@jakarta.annotation.Nonnull final String licenseDetailsId) { Objects.requireNonNull(licenseDetailsId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -72,8 +81,11 @@ public LicenseDetailsRequestBuilder(@jakarta.annotation.Nonnull final String raw * Get licenseDetails from servicePrincipals * @return a {@link LicenseDetailsCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public LicenseDetailsCollectionResponse get() { return get(null); } @@ -82,8 +94,11 @@ public LicenseDetailsCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link LicenseDetailsCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public LicenseDetailsCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -95,8 +110,11 @@ public LicenseDetailsCollectionResponse get(@jakarta.annotation.Nullable final j * @param body The request body * @return a {@link LicenseDetails} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public LicenseDetails post(@jakarta.annotation.Nonnull final LicenseDetails body) { return post(body, null); } @@ -106,8 +124,11 @@ public LicenseDetails post(@jakarta.annotation.Nonnull final LicenseDetails body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link LicenseDetails} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public LicenseDetails post(@jakarta.annotation.Nonnull final LicenseDetails body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -118,8 +139,11 @@ public LicenseDetails post(@jakarta.annotation.Nonnull final LicenseDetails body /** * Get licenseDetails from servicePrincipals * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -127,8 +151,11 @@ public RequestInformation toGetRequestInformation() { * Get licenseDetails from servicePrincipals * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -139,8 +166,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to licenseDetails for servicePrincipals * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final LicenseDetails body) { return toPostRequestInformation(body, null); } @@ -149,8 +179,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final LicenseDetails body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -163,8 +196,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link LicenseDetailsRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public LicenseDetailsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new LicenseDetailsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/licensedetails/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/licensedetails/count/CountRequestBuilder.java index 0e6f4a8d858..d980e7b17c0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/licensedetails/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/licensedetails/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/licensedetails/getteamslicensingdetails/GetTeamsLicensingDetailsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/licensedetails/getteamslicensingdetails/GetTeamsLicensingDetailsRequestBuilder.java index 24c62d99140..5901832b96d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/licensedetails/getteamslicensingdetails/GetTeamsLicensingDetailsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/licensedetails/getteamslicensingdetails/GetTeamsLicensingDetailsRequestBuilder.java @@ -39,9 +39,12 @@ public GetTeamsLicensingDetailsRequestBuilder(@jakarta.annotation.Nonnull final * Get the license status of a user in Microsoft Teams. * @return a {@link TeamsLicensingDetails} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public TeamsLicensingDetails get() { return get(null); } @@ -50,9 +53,12 @@ public TeamsLicensingDetails get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link TeamsLicensingDetails} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public TeamsLicensingDetails get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -62,8 +68,11 @@ public TeamsLicensingDetails get(@jakarta.annotation.Nullable final java.util.fu /** * Get the license status of a user in Microsoft Teams. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -71,8 +80,11 @@ public RequestInformation toGetRequestInformation() { * Get the license status of a user in Microsoft Teams. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new); @@ -83,8 +95,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link GetTeamsLicensingDetailsRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public GetTeamsLicensingDetailsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new GetTeamsLicensingDetailsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/licensedetails/item/LicenseDetailsItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/licensedetails/item/LicenseDetailsItemRequestBuilder.java index 13ed9b9c8d1..7f0060e345c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/licensedetails/item/LicenseDetailsItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/licensedetails/item/LicenseDetailsItemRequestBuilder.java @@ -39,7 +39,10 @@ public LicenseDetailsItemRequestBuilder(@jakarta.annotation.Nonnull final String /** * Delete navigation property licenseDetails for servicePrincipals * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated public void delete() { delete(null); } @@ -47,7 +50,10 @@ public void delete() { * Delete navigation property licenseDetails for servicePrincipals * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -58,8 +64,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Get licenseDetails from servicePrincipals * @return a {@link LicenseDetails} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public LicenseDetails get() { return get(null); } @@ -68,8 +77,11 @@ public LicenseDetails get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link LicenseDetails} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public LicenseDetails get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -81,8 +93,11 @@ public LicenseDetails get(@jakarta.annotation.Nullable final java.util.function. * @param body The request body * @return a {@link LicenseDetails} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public LicenseDetails patch(@jakarta.annotation.Nonnull final LicenseDetails body) { return patch(body, null); } @@ -92,8 +107,11 @@ public LicenseDetails patch(@jakarta.annotation.Nonnull final LicenseDetails bod * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link LicenseDetails} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public LicenseDetails patch(@jakarta.annotation.Nonnull final LicenseDetails body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -104,8 +122,11 @@ public LicenseDetails patch(@jakarta.annotation.Nonnull final LicenseDetails bod /** * Delete navigation property licenseDetails for servicePrincipals * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -113,8 +134,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property licenseDetails for servicePrincipals * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Get licenseDetails from servicePrincipals * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -133,8 +160,11 @@ public RequestInformation toGetRequestInformation() { * Get licenseDetails from servicePrincipals * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -145,8 +175,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property licenseDetails in servicePrincipals * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final LicenseDetails body) { return toPatchRequestInformation(body, null); } @@ -155,8 +188,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final LicenseDetails body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -169,8 +205,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link LicenseDetailsItemRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public LicenseDetailsItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new LicenseDetailsItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/lifecycle/LifecycleRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/lifecycle/LifecycleRequestBuilder.java new file mode 100644 index 00000000000..fec1740c7db --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/lifecycle/LifecycleRequestBuilder.java @@ -0,0 +1,291 @@ +package com.microsoft.graph.beta.serviceprincipals.item.lifecycle; + +import com.microsoft.graph.beta.models.identitygovernance.IdentityLifecycle; +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.graph.beta.serviceprincipals.item.lifecycle.complianceissues.ComplianceIssuesRequestBuilder; +import com.microsoft.graph.beta.serviceprincipals.item.lifecycle.effectivegoverningpolicy.EffectiveGoverningPolicyRequestBuilder; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to manage the lifecycle property of the microsoft.graph.servicePrincipal entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class LifecycleRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to manage the complianceIssues property of the microsoft.graph.identityGovernance.identityLifecycle entity. + * @return a {@link ComplianceIssuesRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 + */ + @Deprecated + @jakarta.annotation.Nonnull + public ComplianceIssuesRequestBuilder complianceIssues() { + return new ComplianceIssuesRequestBuilder(pathParameters, requestAdapter); + } + /** + * Provides operations to manage the effectiveGoverningPolicy property of the microsoft.graph.identityGovernance.identityLifecycle entity. + * @return a {@link EffectiveGoverningPolicyRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 + */ + @Deprecated + @jakarta.annotation.Nonnull + public EffectiveGoverningPolicyRequestBuilder effectiveGoverningPolicy() { + return new EffectiveGoverningPolicyRequestBuilder(pathParameters, requestAdapter); + } + /** + * Instantiates a new {@link LifecycleRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public LifecycleRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/lifecycle{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link LifecycleRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public LifecycleRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/lifecycle{?%24expand,%24select}", rawUrl); + } + /** + * Delete navigation property lifecycle for servicePrincipals + * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 + */ + @Deprecated + public void delete() { + delete(null); + } + /** + * Delete navigation property lifecycle for servicePrincipals + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 + */ + @Deprecated + public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); + } + /** + * Get lifecycle from servicePrincipals + * @return a {@link IdentityLifecycle} + * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 + */ + @jakarta.annotation.Nullable + @Deprecated + public IdentityLifecycle get() { + return get(null); + } + /** + * Get lifecycle from servicePrincipals + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link IdentityLifecycle} + * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 + */ + @jakarta.annotation.Nullable + @Deprecated + public IdentityLifecycle get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, IdentityLifecycle::createFromDiscriminatorValue); + } + /** + * Update the navigation property lifecycle in servicePrincipals + * @param body The request body + * @return a {@link IdentityLifecycle} + * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 + */ + @jakarta.annotation.Nullable + @Deprecated + public IdentityLifecycle patch(@jakarta.annotation.Nonnull final IdentityLifecycle body) { + return patch(body, null); + } + /** + * Update the navigation property lifecycle in servicePrincipals + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link IdentityLifecycle} + * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 + */ + @jakarta.annotation.Nullable + @Deprecated + public IdentityLifecycle patch(@jakarta.annotation.Nonnull final IdentityLifecycle body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, IdentityLifecycle::createFromDiscriminatorValue); + } + /** + * Delete navigation property lifecycle for servicePrincipals + * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 + */ + @jakarta.annotation.Nonnull + @Deprecated + public RequestInformation toDeleteRequestInformation() { + return toDeleteRequestInformation(null); + } + /** + * Delete navigation property lifecycle for servicePrincipals + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 + */ + @jakarta.annotation.Nonnull + @Deprecated + public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Get lifecycle from servicePrincipals + * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 + */ + @jakarta.annotation.Nonnull + @Deprecated + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get lifecycle from servicePrincipals + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 + */ + @jakarta.annotation.Nonnull + @Deprecated + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Update the navigation property lifecycle in servicePrincipals + * @param body The request body + * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 + */ + @jakarta.annotation.Nonnull + @Deprecated + public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final IdentityLifecycle body) { + return toPatchRequestInformation(body, null); + } + /** + * Update the navigation property lifecycle in servicePrincipals + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 + */ + @jakarta.annotation.Nonnull + @Deprecated + public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final IdentityLifecycle body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new); + 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. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link LifecycleRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 + */ + @jakarta.annotation.Nonnull + @Deprecated + public LifecycleRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new LifecycleRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class DeleteRequestConfiguration extends BaseRequestConfiguration { + } + /** + * Get lifecycle from servicePrincipals + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24select", select); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PatchRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/lifecycle/complianceissues/ComplianceIssuesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/lifecycle/complianceissues/ComplianceIssuesRequestBuilder.java new file mode 100644 index 00000000000..8dbbf0cec1c --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/lifecycle/complianceissues/ComplianceIssuesRequestBuilder.java @@ -0,0 +1,208 @@ +package com.microsoft.graph.beta.serviceprincipals.item.lifecycle.complianceissues; + +import com.microsoft.graph.beta.models.identitygovernance.ComplianceIssueCollectionResponse; +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.graph.beta.serviceprincipals.item.lifecycle.complianceissues.count.CountRequestBuilder; +import com.microsoft.graph.beta.serviceprincipals.item.lifecycle.complianceissues.item.ComplianceIssueItemRequestBuilder; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to manage the complianceIssues property of the microsoft.graph.identityGovernance.identityLifecycle entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ComplianceIssuesRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to count the resources in the collection. + * @return a {@link CountRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 + */ + @Deprecated + @jakarta.annotation.Nonnull + public CountRequestBuilder count() { + return new CountRequestBuilder(pathParameters, requestAdapter); + } + /** + * Provides operations to manage the complianceIssues property of the microsoft.graph.identityGovernance.identityLifecycle entity. + * @param complianceIssueId The unique identifier of complianceIssue + * @return a {@link ComplianceIssueItemRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 + */ + @jakarta.annotation.Nonnull + @Deprecated + public ComplianceIssueItemRequestBuilder byComplianceIssueId(@jakarta.annotation.Nonnull final String complianceIssueId) { + Objects.requireNonNull(complianceIssueId); + final HashMap urlTplParams = new HashMap(this.pathParameters); + urlTplParams.put("complianceIssue%2Did", complianceIssueId); + return new ComplianceIssueItemRequestBuilder(urlTplParams, requestAdapter); + } + /** + * Instantiates a new {@link ComplianceIssuesRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public ComplianceIssuesRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/lifecycle/complianceIssues{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters); + } + /** + * Instantiates a new {@link ComplianceIssuesRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public ComplianceIssuesRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/lifecycle/complianceIssues{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); + } + /** + * Get complianceIssues from servicePrincipals + * @return a {@link ComplianceIssueCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 + */ + @jakarta.annotation.Nullable + @Deprecated + public ComplianceIssueCollectionResponse get() { + return get(null); + } + /** + * Get complianceIssues from servicePrincipals + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link ComplianceIssueCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 + */ + @jakarta.annotation.Nullable + @Deprecated + public ComplianceIssueCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, ComplianceIssueCollectionResponse::createFromDiscriminatorValue); + } + /** + * Get complianceIssues from servicePrincipals + * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 + */ + @jakarta.annotation.Nonnull + @Deprecated + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get complianceIssues from servicePrincipals + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 + */ + @jakarta.annotation.Nonnull + @Deprecated + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + 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. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link ComplianceIssuesRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 + */ + @jakarta.annotation.Nonnull + @Deprecated + public ComplianceIssuesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new ComplianceIssuesRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get complianceIssues from servicePrincipals + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Include count of items + */ + @jakarta.annotation.Nullable + public Boolean count; + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Filter items by property values + */ + @jakarta.annotation.Nullable + public String filter; + /** + * Order items by property values + */ + @jakarta.annotation.Nullable + public String[] orderby; + /** + * Search items by search phrases + */ + @jakarta.annotation.Nullable + public String search; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Skip the first n items + */ + @jakarta.annotation.Nullable + public Integer skip; + /** + * Show only the first n items + */ + @jakarta.annotation.Nullable + public Integer top; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24count", count); + allQueryParams.put("%24filter", filter); + allQueryParams.put("%24search", search); + allQueryParams.put("%24skip", skip); + allQueryParams.put("%24top", top); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24orderby", orderby); + allQueryParams.put("%24select", select); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/lifecycle/complianceissues/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/lifecycle/complianceissues/count/CountRequestBuilder.java new file mode 100644 index 00000000000..f23827bef43 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/lifecycle/complianceissues/count/CountRequestBuilder.java @@ -0,0 +1,143 @@ +package com.microsoft.graph.beta.serviceprincipals.item.lifecycle.complianceissues.count; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to count the resources in the collection. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class CountRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link CountRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public CountRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/lifecycle/complianceIssues/$count{?%24filter,%24search}", pathParameters); + } + /** + * Instantiates a new {@link CountRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/lifecycle/complianceIssues/$count{?%24filter,%24search}", rawUrl); + } + /** + * Get the number of the resource + * @return a {@link Integer} + * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 + */ + @jakarta.annotation.Nullable + @Deprecated + public Integer get() { + return get(null); + } + /** + * Get the number of the resource + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link Integer} + * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 + */ + @jakarta.annotation.Nullable + @Deprecated + public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Integer.class); + } + /** + * Get the number of the resource + * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 + */ + @jakarta.annotation.Nonnull + @Deprecated + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get the number of the resource + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 + */ + @jakarta.annotation.Nonnull + @Deprecated + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + 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. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link CountRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 + */ + @jakarta.annotation.Nonnull + @Deprecated + public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new CountRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get the number of the resource + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Filter items by property values + */ + @jakarta.annotation.Nullable + public String filter; + /** + * Search items by search phrases + */ + @jakarta.annotation.Nullable + public String search; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24filter", filter); + allQueryParams.put("%24search", search); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/lifecycle/complianceissues/item/ComplianceIssueItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/lifecycle/complianceissues/item/ComplianceIssueItemRequestBuilder.java new file mode 100644 index 00000000000..e1efa8570b2 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/lifecycle/complianceissues/item/ComplianceIssueItemRequestBuilder.java @@ -0,0 +1,144 @@ +package com.microsoft.graph.beta.serviceprincipals.item.lifecycle.complianceissues.item; + +import com.microsoft.graph.beta.models.identitygovernance.ComplianceIssue; +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to manage the complianceIssues property of the microsoft.graph.identityGovernance.identityLifecycle entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ComplianceIssueItemRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link ComplianceIssueItemRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public ComplianceIssueItemRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/lifecycle/complianceIssues/{complianceIssue%2Did}{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link ComplianceIssueItemRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public ComplianceIssueItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/lifecycle/complianceIssues/{complianceIssue%2Did}{?%24expand,%24select}", rawUrl); + } + /** + * Get complianceIssues from servicePrincipals + * @return a {@link ComplianceIssue} + * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 + */ + @jakarta.annotation.Nullable + @Deprecated + public ComplianceIssue get() { + return get(null); + } + /** + * Get complianceIssues from servicePrincipals + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link ComplianceIssue} + * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 + */ + @jakarta.annotation.Nullable + @Deprecated + public ComplianceIssue get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, ComplianceIssue::createFromDiscriminatorValue); + } + /** + * Get complianceIssues from servicePrincipals + * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 + */ + @jakarta.annotation.Nonnull + @Deprecated + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get complianceIssues from servicePrincipals + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 + */ + @jakarta.annotation.Nonnull + @Deprecated + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + 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. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link ComplianceIssueItemRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 + */ + @jakarta.annotation.Nonnull + @Deprecated + public ComplianceIssueItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new ComplianceIssueItemRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get complianceIssues from servicePrincipals + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24select", select); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/lifecycle/effectivegoverningpolicy/EffectiveGoverningPolicyRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/lifecycle/effectivegoverningpolicy/EffectiveGoverningPolicyRequestBuilder.java new file mode 100644 index 00000000000..51a7df8b4a1 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/lifecycle/effectivegoverningpolicy/EffectiveGoverningPolicyRequestBuilder.java @@ -0,0 +1,144 @@ +package com.microsoft.graph.beta.serviceprincipals.item.lifecycle.effectivegoverningpolicy; + +import com.microsoft.graph.beta.models.identitygovernance.LifecyclePolicy; +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to manage the effectiveGoverningPolicy property of the microsoft.graph.identityGovernance.identityLifecycle entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class EffectiveGoverningPolicyRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link EffectiveGoverningPolicyRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public EffectiveGoverningPolicyRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/lifecycle/effectiveGoverningPolicy{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link EffectiveGoverningPolicyRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public EffectiveGoverningPolicyRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/lifecycle/effectiveGoverningPolicy{?%24expand,%24select}", rawUrl); + } + /** + * Get effectiveGoverningPolicy from servicePrincipals + * @return a {@link LifecyclePolicy} + * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 + */ + @jakarta.annotation.Nullable + @Deprecated + public LifecyclePolicy get() { + return get(null); + } + /** + * Get effectiveGoverningPolicy from servicePrincipals + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link LifecyclePolicy} + * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 + */ + @jakarta.annotation.Nullable + @Deprecated + public LifecyclePolicy get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, LifecyclePolicy::createFromDiscriminatorValue); + } + /** + * Get effectiveGoverningPolicy from servicePrincipals + * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 + */ + @jakarta.annotation.Nonnull + @Deprecated + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get effectiveGoverningPolicy from servicePrincipals + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 + */ + @jakarta.annotation.Nonnull + @Deprecated + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + 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. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link EffectiveGoverningPolicyRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 + */ + @jakarta.annotation.Nonnull + @Deprecated + public EffectiveGoverningPolicyRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new EffectiveGoverningPolicyRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get effectiveGoverningPolicy from servicePrincipals + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24select", select); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/memberof/MemberOfRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/memberof/MemberOfRequestBuilder.java index 3da28fdb9bf..f7adac68750 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/memberof/MemberOfRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/memberof/MemberOfRequestBuilder.java @@ -28,7 +28,10 @@ public class MemberOfRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -36,7 +39,10 @@ public CountRequestBuilder count() { /** * Casts the previous resource to administrativeUnit. * @return a {@link GraphAdministrativeUnitRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public GraphAdministrativeUnitRequestBuilder graphAdministrativeUnit() { return new GraphAdministrativeUnitRequestBuilder(pathParameters, requestAdapter); @@ -44,7 +50,10 @@ public GraphAdministrativeUnitRequestBuilder graphAdministrativeUnit() { /** * Casts the previous resource to directoryRole. * @return a {@link GraphDirectoryRoleRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public GraphDirectoryRoleRequestBuilder graphDirectoryRole() { return new GraphDirectoryRoleRequestBuilder(pathParameters, requestAdapter); @@ -52,7 +61,10 @@ public GraphDirectoryRoleRequestBuilder graphDirectoryRole() { /** * Casts the previous resource to group. * @return a {@link GraphGroupRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public GraphGroupRequestBuilder graphGroup() { return new GraphGroupRequestBuilder(pathParameters, requestAdapter); @@ -61,8 +73,11 @@ public GraphGroupRequestBuilder graphGroup() { * Provides operations to manage the memberOf property of the microsoft.graph.servicePrincipal entity. * @param directoryObjectId The unique identifier of directoryObject * @return a {@link DirectoryObjectItemRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public DirectoryObjectItemRequestBuilder byDirectoryObjectId(@jakarta.annotation.Nonnull final String directoryObjectId) { Objects.requireNonNull(directoryObjectId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -89,9 +104,12 @@ public MemberOfRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ * Get the groups and directory roles that this servicePrincipal is a direct member of. This operation isn't transitive. * @return a {@link DirectoryObjectCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public DirectoryObjectCollectionResponse get() { return get(null); } @@ -100,9 +118,12 @@ public DirectoryObjectCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DirectoryObjectCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public DirectoryObjectCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -112,8 +133,11 @@ public DirectoryObjectCollectionResponse get(@jakarta.annotation.Nullable final /** * Get the groups and directory roles that this servicePrincipal is a direct member of. This operation isn't transitive. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -121,8 +145,11 @@ public RequestInformation toGetRequestInformation() { * Get the groups and directory roles that this servicePrincipal is a direct member of. This operation isn't transitive. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -133,8 +160,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link MemberOfRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public MemberOfRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new MemberOfRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/memberof/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/memberof/count/CountRequestBuilder.java index fdde96b3581..e2ba3f039c1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/memberof/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/memberof/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/memberof/graphadministrativeunit/GraphAdministrativeUnitRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/memberof/graphadministrativeunit/GraphAdministrativeUnitRequestBuilder.java index d24ea92de21..e6734b806a7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/memberof/graphadministrativeunit/GraphAdministrativeUnitRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/memberof/graphadministrativeunit/GraphAdministrativeUnitRequestBuilder.java @@ -24,7 +24,10 @@ public class GraphAdministrativeUnitRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -49,8 +52,11 @@ public GraphAdministrativeUnitRequestBuilder(@jakarta.annotation.Nonnull final S * Get the items of type microsoft.graph.administrativeUnit in the microsoft.graph.directoryObject collection * @return a {@link AdministrativeUnitCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public AdministrativeUnitCollectionResponse get() { return get(null); } @@ -59,8 +65,11 @@ public AdministrativeUnitCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AdministrativeUnitCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public AdministrativeUnitCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -70,8 +79,11 @@ public AdministrativeUnitCollectionResponse get(@jakarta.annotation.Nullable fin /** * Get the items of type microsoft.graph.administrativeUnit in the microsoft.graph.directoryObject collection * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -79,8 +91,11 @@ public RequestInformation toGetRequestInformation() { * Get the items of type microsoft.graph.administrativeUnit in the microsoft.graph.directoryObject collection * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -91,8 +106,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link GraphAdministrativeUnitRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public GraphAdministrativeUnitRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new GraphAdministrativeUnitRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/memberof/graphadministrativeunit/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/memberof/graphadministrativeunit/count/CountRequestBuilder.java index 92d8b6a5cfe..e78bfd22998 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/memberof/graphadministrativeunit/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/memberof/graphadministrativeunit/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/memberof/graphdirectoryrole/GraphDirectoryRoleRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/memberof/graphdirectoryrole/GraphDirectoryRoleRequestBuilder.java index f5230c591ec..961d39bd424 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/memberof/graphdirectoryrole/GraphDirectoryRoleRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/memberof/graphdirectoryrole/GraphDirectoryRoleRequestBuilder.java @@ -24,7 +24,10 @@ public class GraphDirectoryRoleRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -49,8 +52,11 @@ public GraphDirectoryRoleRequestBuilder(@jakarta.annotation.Nonnull final String * Get the items of type microsoft.graph.directoryRole in the microsoft.graph.directoryObject collection * @return a {@link DirectoryRoleCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public DirectoryRoleCollectionResponse get() { return get(null); } @@ -59,8 +65,11 @@ public DirectoryRoleCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DirectoryRoleCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public DirectoryRoleCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -70,8 +79,11 @@ public DirectoryRoleCollectionResponse get(@jakarta.annotation.Nullable final ja /** * Get the items of type microsoft.graph.directoryRole in the microsoft.graph.directoryObject collection * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -79,8 +91,11 @@ public RequestInformation toGetRequestInformation() { * Get the items of type microsoft.graph.directoryRole in the microsoft.graph.directoryObject collection * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -91,8 +106,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link GraphDirectoryRoleRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public GraphDirectoryRoleRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new GraphDirectoryRoleRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/memberof/graphdirectoryrole/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/memberof/graphdirectoryrole/count/CountRequestBuilder.java index de3b84b4f0d..0e7fc520c37 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/memberof/graphdirectoryrole/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/memberof/graphdirectoryrole/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/memberof/graphgroup/GraphGroupRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/memberof/graphgroup/GraphGroupRequestBuilder.java index 0f23c3f8651..3b6e2b028e1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/memberof/graphgroup/GraphGroupRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/memberof/graphgroup/GraphGroupRequestBuilder.java @@ -24,7 +24,10 @@ public class GraphGroupRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -49,8 +52,11 @@ public GraphGroupRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, * Get the items of type microsoft.graph.group in the microsoft.graph.directoryObject collection * @return a {@link GroupCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public GroupCollectionResponse get() { return get(null); } @@ -59,8 +65,11 @@ public GroupCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GroupCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public GroupCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -70,8 +79,11 @@ public GroupCollectionResponse get(@jakarta.annotation.Nullable final java.util. /** * Get the items of type microsoft.graph.group in the microsoft.graph.directoryObject collection * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -79,8 +91,11 @@ public RequestInformation toGetRequestInformation() { * Get the items of type microsoft.graph.group in the microsoft.graph.directoryObject collection * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -91,8 +106,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link GraphGroupRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public GraphGroupRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new GraphGroupRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/memberof/graphgroup/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/memberof/graphgroup/count/CountRequestBuilder.java index e046f3942f2..8b400cbd1ae 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/memberof/graphgroup/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/memberof/graphgroup/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/memberof/item/DirectoryObjectItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/memberof/item/DirectoryObjectItemRequestBuilder.java index 8a70f316cb1..3b8c695d740 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/memberof/item/DirectoryObjectItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/memberof/item/DirectoryObjectItemRequestBuilder.java @@ -26,7 +26,10 @@ public class DirectoryObjectItemRequestBuilder extends BaseRequestBuilder { /** * Casts the previous resource to administrativeUnit. * @return a {@link GraphAdministrativeUnitRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public GraphAdministrativeUnitRequestBuilder graphAdministrativeUnit() { return new GraphAdministrativeUnitRequestBuilder(pathParameters, requestAdapter); @@ -34,7 +37,10 @@ public GraphAdministrativeUnitRequestBuilder graphAdministrativeUnit() { /** * Casts the previous resource to directoryRole. * @return a {@link GraphDirectoryRoleRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public GraphDirectoryRoleRequestBuilder graphDirectoryRole() { return new GraphDirectoryRoleRequestBuilder(pathParameters, requestAdapter); @@ -42,7 +48,10 @@ public GraphDirectoryRoleRequestBuilder graphDirectoryRole() { /** * Casts the previous resource to group. * @return a {@link GraphGroupRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public GraphGroupRequestBuilder graphGroup() { return new GraphGroupRequestBuilder(pathParameters, requestAdapter); @@ -67,8 +76,11 @@ public DirectoryObjectItemRequestBuilder(@jakarta.annotation.Nonnull final Strin * Roles that this service principal is a member of. HTTP Methods: GET Read-only. Nullable. Supports $expand. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public DirectoryObject get() { return get(null); } @@ -77,8 +89,11 @@ public DirectoryObject get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public DirectoryObject get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -88,8 +103,11 @@ public DirectoryObject get(@jakarta.annotation.Nullable final java.util.function /** * Roles that this service principal is a member of. HTTP Methods: GET Read-only. Nullable. Supports $expand. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -97,8 +115,11 @@ public RequestInformation toGetRequestInformation() { * Roles that this service principal is a member of. HTTP Methods: GET Read-only. Nullable. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -109,8 +130,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link DirectoryObjectItemRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public DirectoryObjectItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new DirectoryObjectItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/memberof/item/graphadministrativeunit/GraphAdministrativeUnitRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/memberof/item/graphadministrativeunit/GraphAdministrativeUnitRequestBuilder.java index 06473d62f33..957568667ce 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/memberof/item/graphadministrativeunit/GraphAdministrativeUnitRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/memberof/item/graphadministrativeunit/GraphAdministrativeUnitRequestBuilder.java @@ -40,8 +40,11 @@ public GraphAdministrativeUnitRequestBuilder(@jakarta.annotation.Nonnull final S * Get the item of type microsoft.graph.directoryObject as microsoft.graph.administrativeUnit * @return a {@link AdministrativeUnit} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public AdministrativeUnit get() { return get(null); } @@ -50,8 +53,11 @@ public AdministrativeUnit get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AdministrativeUnit} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public AdministrativeUnit get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public AdministrativeUnit get(@jakarta.annotation.Nullable final java.util.funct /** * Get the item of type microsoft.graph.directoryObject as microsoft.graph.administrativeUnit * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * Get the item of type microsoft.graph.directoryObject as microsoft.graph.administrativeUnit * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link GraphAdministrativeUnitRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public GraphAdministrativeUnitRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new GraphAdministrativeUnitRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/memberof/item/graphdirectoryrole/GraphDirectoryRoleRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/memberof/item/graphdirectoryrole/GraphDirectoryRoleRequestBuilder.java index 71eba051f73..62647bdf8d9 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/memberof/item/graphdirectoryrole/GraphDirectoryRoleRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/memberof/item/graphdirectoryrole/GraphDirectoryRoleRequestBuilder.java @@ -40,8 +40,11 @@ public GraphDirectoryRoleRequestBuilder(@jakarta.annotation.Nonnull final String * Get the item of type microsoft.graph.directoryObject as microsoft.graph.directoryRole * @return a {@link DirectoryRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public DirectoryRole get() { return get(null); } @@ -50,8 +53,11 @@ public DirectoryRole get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DirectoryRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public DirectoryRole get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public DirectoryRole get(@jakarta.annotation.Nullable final java.util.function.C /** * Get the item of type microsoft.graph.directoryObject as microsoft.graph.directoryRole * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * Get the item of type microsoft.graph.directoryObject as microsoft.graph.directoryRole * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link GraphDirectoryRoleRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public GraphDirectoryRoleRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new GraphDirectoryRoleRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/memberof/item/graphgroup/GraphGroupRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/memberof/item/graphgroup/GraphGroupRequestBuilder.java index 8382909ef01..fbcfc851e3c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/memberof/item/graphgroup/GraphGroupRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/memberof/item/graphgroup/GraphGroupRequestBuilder.java @@ -40,8 +40,11 @@ public GraphGroupRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, * Get the item of type microsoft.graph.directoryObject as microsoft.graph.group * @return a {@link Group} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public Group get() { return get(null); } @@ -50,8 +53,11 @@ public Group get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Group} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public Group get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public Group get(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Get the item of type microsoft.graph.directoryObject as microsoft.graph.group * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * Get the item of type microsoft.graph.directoryObject as microsoft.graph.group * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link GraphGroupRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public GraphGroupRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new GraphGroupRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/microsoftgraphidentitygovernanceattest/MicrosoftGraphIdentityGovernanceAttestRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/microsoftgraphidentitygovernanceattest/MicrosoftGraphIdentityGovernanceAttestRequestBuilder.java new file mode 100644 index 00000000000..7943efc2d66 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/microsoftgraphidentitygovernanceattest/MicrosoftGraphIdentityGovernanceAttestRequestBuilder.java @@ -0,0 +1,106 @@ +package com.microsoft.graph.beta.serviceprincipals.item.microsoftgraphidentitygovernanceattest; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to call the attest method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class MicrosoftGraphIdentityGovernanceAttestRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link MicrosoftGraphIdentityGovernanceAttestRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public MicrosoftGraphIdentityGovernanceAttestRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/microsoft.graph.identityGovernance.attest", pathParameters); + } + /** + * Instantiates a new {@link MicrosoftGraphIdentityGovernanceAttestRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public MicrosoftGraphIdentityGovernanceAttestRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/microsoft.graph.identityGovernance.attest", rawUrl); + } + /** + * Invoke action attest + * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 + */ + @Deprecated + public void post() { + post(null); + } + /** + * Invoke action attest + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 + */ + @Deprecated + public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); + } + /** + * Invoke action attest + * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 + */ + @jakarta.annotation.Nonnull + @Deprecated + public RequestInformation toPostRequestInformation() { + return toPostRequestInformation(null); + } + /** + * Invoke action attest + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 + */ + @jakarta.annotation.Nonnull + @Deprecated + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); + 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. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link MicrosoftGraphIdentityGovernanceAttestRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 + */ + @jakarta.annotation.Nonnull + @Deprecated + public MicrosoftGraphIdentityGovernanceAttestRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new MicrosoftGraphIdentityGovernanceAttestRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PostRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/oauth2permissiongrants/Oauth2PermissionGrantsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/oauth2permissiongrants/Oauth2PermissionGrantsRequestBuilder.java index 3322c092a2d..7a8866d7a9f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/oauth2permissiongrants/Oauth2PermissionGrantsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/oauth2permissiongrants/Oauth2PermissionGrantsRequestBuilder.java @@ -25,7 +25,10 @@ public class Oauth2PermissionGrantsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -34,8 +37,11 @@ public CountRequestBuilder count() { * Provides operations to manage the oauth2PermissionGrants property of the microsoft.graph.servicePrincipal entity. * @param oAuth2PermissionGrantId The unique identifier of oAuth2PermissionGrant * @return a {@link OAuth2PermissionGrantItemRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public OAuth2PermissionGrantItemRequestBuilder byOAuth2PermissionGrantId(@jakarta.annotation.Nonnull final String oAuth2PermissionGrantId) { Objects.requireNonNull(oAuth2PermissionGrantId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -62,9 +68,12 @@ public Oauth2PermissionGrantsRequestBuilder(@jakarta.annotation.Nonnull final St * Retrieve a list of oAuth2PermissionGrant entities, representing delegated permissions granted to the service principal (representing the client application) to access an API on behalf of a user. * @return a {@link OAuth2PermissionGrantCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public OAuth2PermissionGrantCollectionResponse get() { return get(null); } @@ -73,9 +82,12 @@ public OAuth2PermissionGrantCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link OAuth2PermissionGrantCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public OAuth2PermissionGrantCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -85,8 +97,11 @@ public OAuth2PermissionGrantCollectionResponse get(@jakarta.annotation.Nullable /** * Retrieve a list of oAuth2PermissionGrant entities, representing delegated permissions granted to the service principal (representing the client application) to access an API on behalf of a user. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -94,8 +109,11 @@ public RequestInformation toGetRequestInformation() { * Retrieve a list of oAuth2PermissionGrant entities, representing delegated permissions granted to the service principal (representing the client application) to access an API on behalf of a user. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -106,8 +124,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link Oauth2PermissionGrantsRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public Oauth2PermissionGrantsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new Oauth2PermissionGrantsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/oauth2permissiongrants/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/oauth2permissiongrants/count/CountRequestBuilder.java index f8fe4e08a81..13a1ee27949 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/oauth2permissiongrants/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/oauth2permissiongrants/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/oauth2permissiongrants/item/OAuth2PermissionGrantItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/oauth2permissiongrants/item/OAuth2PermissionGrantItemRequestBuilder.java index a1ca681665c..ae6eda8adfc 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/oauth2permissiongrants/item/OAuth2PermissionGrantItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/oauth2permissiongrants/item/OAuth2PermissionGrantItemRequestBuilder.java @@ -40,8 +40,11 @@ public OAuth2PermissionGrantItemRequestBuilder(@jakarta.annotation.Nonnull final * Delegated permission grants authorizing this service principal to access an API on behalf of a signed-in user. Read-only. Nullable. * @return a {@link OAuth2PermissionGrant} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public OAuth2PermissionGrant get() { return get(null); } @@ -50,8 +53,11 @@ public OAuth2PermissionGrant get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link OAuth2PermissionGrant} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public OAuth2PermissionGrant get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public OAuth2PermissionGrant get(@jakarta.annotation.Nullable final java.util.fu /** * Delegated permission grants authorizing this service principal to access an API on behalf of a signed-in user. Read-only. Nullable. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * Delegated permission grants authorizing this service principal to access an API on behalf of a signed-in user. Read-only. Nullable. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link OAuth2PermissionGrantItemRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public OAuth2PermissionGrantItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new OAuth2PermissionGrantItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/ownedobjects/OwnedObjectsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/ownedobjects/OwnedObjectsRequestBuilder.java index 67a9d11e1cf..14dcafa0f8b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/ownedobjects/OwnedObjectsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/ownedobjects/OwnedObjectsRequestBuilder.java @@ -30,7 +30,10 @@ public class OwnedObjectsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -38,7 +41,10 @@ public CountRequestBuilder count() { /** * Casts the previous resource to application. * @return a {@link GraphApplicationRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public GraphApplicationRequestBuilder graphApplication() { return new GraphApplicationRequestBuilder(pathParameters, requestAdapter); @@ -46,7 +52,10 @@ public GraphApplicationRequestBuilder graphApplication() { /** * Casts the previous resource to appRoleAssignment. * @return a {@link GraphAppRoleAssignmentRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public GraphAppRoleAssignmentRequestBuilder graphAppRoleAssignment() { return new GraphAppRoleAssignmentRequestBuilder(pathParameters, requestAdapter); @@ -54,7 +63,10 @@ public GraphAppRoleAssignmentRequestBuilder graphAppRoleAssignment() { /** * Casts the previous resource to endpoint. * @return a {@link GraphEndpointRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public GraphEndpointRequestBuilder graphEndpoint() { return new GraphEndpointRequestBuilder(pathParameters, requestAdapter); @@ -62,7 +74,10 @@ public GraphEndpointRequestBuilder graphEndpoint() { /** * Casts the previous resource to group. * @return a {@link GraphGroupRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public GraphGroupRequestBuilder graphGroup() { return new GraphGroupRequestBuilder(pathParameters, requestAdapter); @@ -70,7 +85,10 @@ public GraphGroupRequestBuilder graphGroup() { /** * Casts the previous resource to servicePrincipal. * @return a {@link GraphServicePrincipalRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public GraphServicePrincipalRequestBuilder graphServicePrincipal() { return new GraphServicePrincipalRequestBuilder(pathParameters, requestAdapter); @@ -79,8 +97,11 @@ public GraphServicePrincipalRequestBuilder graphServicePrincipal() { * Provides operations to manage the ownedObjects property of the microsoft.graph.servicePrincipal entity. * @param directoryObjectId The unique identifier of directoryObject * @return a {@link DirectoryObjectItemRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public DirectoryObjectItemRequestBuilder byDirectoryObjectId(@jakarta.annotation.Nonnull final String directoryObjectId) { Objects.requireNonNull(directoryObjectId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -107,9 +128,12 @@ public OwnedObjectsRequestBuilder(@jakarta.annotation.Nonnull final String rawUr * Retrieve a list of objects owned by the servicePrincipal. This could include applications or groups. * @return a {@link DirectoryObjectCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public DirectoryObjectCollectionResponse get() { return get(null); } @@ -118,9 +142,12 @@ public DirectoryObjectCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DirectoryObjectCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public DirectoryObjectCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -130,8 +157,11 @@ public DirectoryObjectCollectionResponse get(@jakarta.annotation.Nullable final /** * Retrieve a list of objects owned by the servicePrincipal. This could include applications or groups. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -139,8 +169,11 @@ public RequestInformation toGetRequestInformation() { * Retrieve a list of objects owned by the servicePrincipal. This could include applications or groups. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -151,8 +184,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link OwnedObjectsRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public OwnedObjectsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new OwnedObjectsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/ownedobjects/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/ownedobjects/count/CountRequestBuilder.java index ebac7aa1eaa..c786a5cdacc 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/ownedobjects/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/ownedobjects/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/ownedobjects/graphapplication/GraphApplicationRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/ownedobjects/graphapplication/GraphApplicationRequestBuilder.java index ed6117f25a5..6fed6ccde68 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/ownedobjects/graphapplication/GraphApplicationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/ownedobjects/graphapplication/GraphApplicationRequestBuilder.java @@ -24,7 +24,10 @@ public class GraphApplicationRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -49,8 +52,11 @@ public GraphApplicationRequestBuilder(@jakarta.annotation.Nonnull final String r * Get the items of type microsoft.graph.application in the microsoft.graph.directoryObject collection * @return a {@link ApplicationCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public ApplicationCollectionResponse get() { return get(null); } @@ -59,8 +65,11 @@ public ApplicationCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ApplicationCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public ApplicationCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -70,8 +79,11 @@ public ApplicationCollectionResponse get(@jakarta.annotation.Nullable final java /** * Get the items of type microsoft.graph.application in the microsoft.graph.directoryObject collection * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -79,8 +91,11 @@ public RequestInformation toGetRequestInformation() { * Get the items of type microsoft.graph.application in the microsoft.graph.directoryObject collection * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -91,8 +106,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link GraphApplicationRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public GraphApplicationRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new GraphApplicationRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/ownedobjects/graphapplication/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/ownedobjects/graphapplication/count/CountRequestBuilder.java index e72dfa25f3c..f57bd7c3441 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/ownedobjects/graphapplication/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/ownedobjects/graphapplication/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/ownedobjects/graphapproleassignment/GraphAppRoleAssignmentRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/ownedobjects/graphapproleassignment/GraphAppRoleAssignmentRequestBuilder.java index 98fc0fe2e52..4b2168bf262 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/ownedobjects/graphapproleassignment/GraphAppRoleAssignmentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/ownedobjects/graphapproleassignment/GraphAppRoleAssignmentRequestBuilder.java @@ -24,7 +24,10 @@ public class GraphAppRoleAssignmentRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -49,8 +52,11 @@ public GraphAppRoleAssignmentRequestBuilder(@jakarta.annotation.Nonnull final St * Get the items of type microsoft.graph.appRoleAssignment in the microsoft.graph.directoryObject collection * @return a {@link AppRoleAssignmentCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public AppRoleAssignmentCollectionResponse get() { return get(null); } @@ -59,8 +65,11 @@ public AppRoleAssignmentCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AppRoleAssignmentCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public AppRoleAssignmentCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -70,8 +79,11 @@ public AppRoleAssignmentCollectionResponse get(@jakarta.annotation.Nullable fina /** * Get the items of type microsoft.graph.appRoleAssignment in the microsoft.graph.directoryObject collection * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -79,8 +91,11 @@ public RequestInformation toGetRequestInformation() { * Get the items of type microsoft.graph.appRoleAssignment in the microsoft.graph.directoryObject collection * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -91,8 +106,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link GraphAppRoleAssignmentRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public GraphAppRoleAssignmentRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new GraphAppRoleAssignmentRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/ownedobjects/graphapproleassignment/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/ownedobjects/graphapproleassignment/count/CountRequestBuilder.java index ec157aaeb9f..559bff0c19b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/ownedobjects/graphapproleassignment/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/ownedobjects/graphapproleassignment/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/ownedobjects/graphendpoint/GraphEndpointRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/ownedobjects/graphendpoint/GraphEndpointRequestBuilder.java index d7fefb1619d..62af3c3826a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/ownedobjects/graphendpoint/GraphEndpointRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/ownedobjects/graphendpoint/GraphEndpointRequestBuilder.java @@ -24,7 +24,10 @@ public class GraphEndpointRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -49,8 +52,11 @@ public GraphEndpointRequestBuilder(@jakarta.annotation.Nonnull final String rawU * Get the items of type microsoft.graph.endpoint in the microsoft.graph.directoryObject collection * @return a {@link EndpointCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public EndpointCollectionResponse get() { return get(null); } @@ -59,8 +65,11 @@ public EndpointCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link EndpointCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public EndpointCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -70,8 +79,11 @@ public EndpointCollectionResponse get(@jakarta.annotation.Nullable final java.ut /** * Get the items of type microsoft.graph.endpoint in the microsoft.graph.directoryObject collection * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -79,8 +91,11 @@ public RequestInformation toGetRequestInformation() { * Get the items of type microsoft.graph.endpoint in the microsoft.graph.directoryObject collection * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -91,8 +106,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link GraphEndpointRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public GraphEndpointRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new GraphEndpointRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/ownedobjects/graphendpoint/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/ownedobjects/graphendpoint/count/CountRequestBuilder.java index 06f3f2920ae..885ca41c2e3 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/ownedobjects/graphendpoint/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/ownedobjects/graphendpoint/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/ownedobjects/graphgroup/GraphGroupRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/ownedobjects/graphgroup/GraphGroupRequestBuilder.java index 8075d22aa9b..21b79a1519f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/ownedobjects/graphgroup/GraphGroupRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/ownedobjects/graphgroup/GraphGroupRequestBuilder.java @@ -24,7 +24,10 @@ public class GraphGroupRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -49,8 +52,11 @@ public GraphGroupRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, * Get the items of type microsoft.graph.group in the microsoft.graph.directoryObject collection * @return a {@link GroupCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public GroupCollectionResponse get() { return get(null); } @@ -59,8 +65,11 @@ public GroupCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GroupCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public GroupCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -70,8 +79,11 @@ public GroupCollectionResponse get(@jakarta.annotation.Nullable final java.util. /** * Get the items of type microsoft.graph.group in the microsoft.graph.directoryObject collection * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -79,8 +91,11 @@ public RequestInformation toGetRequestInformation() { * Get the items of type microsoft.graph.group in the microsoft.graph.directoryObject collection * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -91,8 +106,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link GraphGroupRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public GraphGroupRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new GraphGroupRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/ownedobjects/graphgroup/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/ownedobjects/graphgroup/count/CountRequestBuilder.java index 16ba6c2adea..6ee743e2ec7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/ownedobjects/graphgroup/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/ownedobjects/graphgroup/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/ownedobjects/graphserviceprincipal/GraphServicePrincipalRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/ownedobjects/graphserviceprincipal/GraphServicePrincipalRequestBuilder.java index 1ee16442b81..dc3e1e951bf 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/ownedobjects/graphserviceprincipal/GraphServicePrincipalRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/ownedobjects/graphserviceprincipal/GraphServicePrincipalRequestBuilder.java @@ -24,7 +24,10 @@ public class GraphServicePrincipalRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -49,8 +52,11 @@ public GraphServicePrincipalRequestBuilder(@jakarta.annotation.Nonnull final Str * Get the items of type microsoft.graph.servicePrincipal in the microsoft.graph.directoryObject collection * @return a {@link ServicePrincipalCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public ServicePrincipalCollectionResponse get() { return get(null); } @@ -59,8 +65,11 @@ public ServicePrincipalCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ServicePrincipalCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public ServicePrincipalCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -70,8 +79,11 @@ public ServicePrincipalCollectionResponse get(@jakarta.annotation.Nullable final /** * Get the items of type microsoft.graph.servicePrincipal in the microsoft.graph.directoryObject collection * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -79,8 +91,11 @@ public RequestInformation toGetRequestInformation() { * Get the items of type microsoft.graph.servicePrincipal in the microsoft.graph.directoryObject collection * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -91,8 +106,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link GraphServicePrincipalRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public GraphServicePrincipalRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new GraphServicePrincipalRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/ownedobjects/graphserviceprincipal/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/ownedobjects/graphserviceprincipal/count/CountRequestBuilder.java index 2183fc20c7a..128533a113d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/ownedobjects/graphserviceprincipal/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/ownedobjects/graphserviceprincipal/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/ownedobjects/item/DirectoryObjectItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/ownedobjects/item/DirectoryObjectItemRequestBuilder.java index 08d800ba2b8..69868d7e167 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/ownedobjects/item/DirectoryObjectItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/ownedobjects/item/DirectoryObjectItemRequestBuilder.java @@ -28,7 +28,10 @@ public class DirectoryObjectItemRequestBuilder extends BaseRequestBuilder { /** * Casts the previous resource to application. * @return a {@link GraphApplicationRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public GraphApplicationRequestBuilder graphApplication() { return new GraphApplicationRequestBuilder(pathParameters, requestAdapter); @@ -36,7 +39,10 @@ public GraphApplicationRequestBuilder graphApplication() { /** * Casts the previous resource to appRoleAssignment. * @return a {@link GraphAppRoleAssignmentRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public GraphAppRoleAssignmentRequestBuilder graphAppRoleAssignment() { return new GraphAppRoleAssignmentRequestBuilder(pathParameters, requestAdapter); @@ -44,7 +50,10 @@ public GraphAppRoleAssignmentRequestBuilder graphAppRoleAssignment() { /** * Casts the previous resource to endpoint. * @return a {@link GraphEndpointRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public GraphEndpointRequestBuilder graphEndpoint() { return new GraphEndpointRequestBuilder(pathParameters, requestAdapter); @@ -52,7 +61,10 @@ public GraphEndpointRequestBuilder graphEndpoint() { /** * Casts the previous resource to group. * @return a {@link GraphGroupRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public GraphGroupRequestBuilder graphGroup() { return new GraphGroupRequestBuilder(pathParameters, requestAdapter); @@ -60,7 +72,10 @@ public GraphGroupRequestBuilder graphGroup() { /** * Casts the previous resource to servicePrincipal. * @return a {@link GraphServicePrincipalRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public GraphServicePrincipalRequestBuilder graphServicePrincipal() { return new GraphServicePrincipalRequestBuilder(pathParameters, requestAdapter); @@ -85,8 +100,11 @@ public DirectoryObjectItemRequestBuilder(@jakarta.annotation.Nonnull final Strin * Directory objects that are owned by this service principal. Read-only. Nullable. Supports $expand and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1). * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public DirectoryObject get() { return get(null); } @@ -95,8 +113,11 @@ public DirectoryObject get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public DirectoryObject get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -106,8 +127,11 @@ public DirectoryObject get(@jakarta.annotation.Nullable final java.util.function /** * Directory objects that are owned by this service principal. Read-only. Nullable. Supports $expand and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1). * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -115,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Directory objects that are owned by this service principal. Read-only. Nullable. Supports $expand and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1). * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -127,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link DirectoryObjectItemRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public DirectoryObjectItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new DirectoryObjectItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/ownedobjects/item/graphapplication/GraphApplicationRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/ownedobjects/item/graphapplication/GraphApplicationRequestBuilder.java index 388b3ea2188..8c513901dc3 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/ownedobjects/item/graphapplication/GraphApplicationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/ownedobjects/item/graphapplication/GraphApplicationRequestBuilder.java @@ -40,8 +40,11 @@ public GraphApplicationRequestBuilder(@jakarta.annotation.Nonnull final String r * Get the item of type microsoft.graph.directoryObject as microsoft.graph.application * @return a {@link Application} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public Application get() { return get(null); } @@ -50,8 +53,11 @@ public Application get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Application} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public Application get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public Application get(@jakarta.annotation.Nullable final java.util.function.Con /** * Get the item of type microsoft.graph.directoryObject as microsoft.graph.application * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * Get the item of type microsoft.graph.directoryObject as microsoft.graph.application * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link GraphApplicationRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public GraphApplicationRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new GraphApplicationRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/ownedobjects/item/graphapproleassignment/GraphAppRoleAssignmentRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/ownedobjects/item/graphapproleassignment/GraphAppRoleAssignmentRequestBuilder.java index 751a18c0573..108b59b2c49 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/ownedobjects/item/graphapproleassignment/GraphAppRoleAssignmentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/ownedobjects/item/graphapproleassignment/GraphAppRoleAssignmentRequestBuilder.java @@ -40,8 +40,11 @@ public GraphAppRoleAssignmentRequestBuilder(@jakarta.annotation.Nonnull final St * Get the item of type microsoft.graph.directoryObject as microsoft.graph.appRoleAssignment * @return a {@link AppRoleAssignment} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public AppRoleAssignment get() { return get(null); } @@ -50,8 +53,11 @@ public AppRoleAssignment get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AppRoleAssignment} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public AppRoleAssignment get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public AppRoleAssignment get(@jakarta.annotation.Nullable final java.util.functi /** * Get the item of type microsoft.graph.directoryObject as microsoft.graph.appRoleAssignment * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * Get the item of type microsoft.graph.directoryObject as microsoft.graph.appRoleAssignment * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link GraphAppRoleAssignmentRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public GraphAppRoleAssignmentRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new GraphAppRoleAssignmentRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/ownedobjects/item/graphendpoint/GraphEndpointRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/ownedobjects/item/graphendpoint/GraphEndpointRequestBuilder.java index 8b133e0a27d..ba220769486 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/ownedobjects/item/graphendpoint/GraphEndpointRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/ownedobjects/item/graphendpoint/GraphEndpointRequestBuilder.java @@ -40,8 +40,11 @@ public GraphEndpointRequestBuilder(@jakarta.annotation.Nonnull final String rawU * Get the item of type microsoft.graph.directoryObject as microsoft.graph.endpoint * @return a {@link Endpoint} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public Endpoint get() { return get(null); } @@ -50,8 +53,11 @@ public Endpoint get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Endpoint} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public Endpoint get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public Endpoint get(@jakarta.annotation.Nullable final java.util.function.Consum /** * Get the item of type microsoft.graph.directoryObject as microsoft.graph.endpoint * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * Get the item of type microsoft.graph.directoryObject as microsoft.graph.endpoint * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link GraphEndpointRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public GraphEndpointRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new GraphEndpointRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/ownedobjects/item/graphgroup/GraphGroupRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/ownedobjects/item/graphgroup/GraphGroupRequestBuilder.java index 683e0be8741..229132bb4b5 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/ownedobjects/item/graphgroup/GraphGroupRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/ownedobjects/item/graphgroup/GraphGroupRequestBuilder.java @@ -40,8 +40,11 @@ public GraphGroupRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, * Get the item of type microsoft.graph.directoryObject as microsoft.graph.group * @return a {@link Group} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public Group get() { return get(null); } @@ -50,8 +53,11 @@ public Group get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Group} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public Group get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public Group get(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Get the item of type microsoft.graph.directoryObject as microsoft.graph.group * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * Get the item of type microsoft.graph.directoryObject as microsoft.graph.group * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link GraphGroupRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public GraphGroupRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new GraphGroupRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/ownedobjects/item/graphserviceprincipal/GraphServicePrincipalRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/ownedobjects/item/graphserviceprincipal/GraphServicePrincipalRequestBuilder.java index 7fa97e4a8b3..d00a11c4513 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/ownedobjects/item/graphserviceprincipal/GraphServicePrincipalRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/ownedobjects/item/graphserviceprincipal/GraphServicePrincipalRequestBuilder.java @@ -40,8 +40,11 @@ public GraphServicePrincipalRequestBuilder(@jakarta.annotation.Nonnull final Str * Get the item of type microsoft.graph.directoryObject as microsoft.graph.servicePrincipal * @return a {@link ServicePrincipal} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public ServicePrincipal get() { return get(null); } @@ -50,8 +53,11 @@ public ServicePrincipal get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ServicePrincipal} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public ServicePrincipal get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public ServicePrincipal get(@jakarta.annotation.Nullable final java.util.functio /** * Get the item of type microsoft.graph.directoryObject as microsoft.graph.servicePrincipal * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * Get the item of type microsoft.graph.directoryObject as microsoft.graph.servicePrincipal * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link GraphServicePrincipalRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public GraphServicePrincipalRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new GraphServicePrincipalRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/owners/OwnersRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/owners/OwnersRequestBuilder.java index 84c7f66f668..9473be96cc6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/owners/OwnersRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/owners/OwnersRequestBuilder.java @@ -30,7 +30,10 @@ public class OwnersRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -38,7 +41,10 @@ public CountRequestBuilder count() { /** * Casts the previous resource to appRoleAssignment. * @return a {@link GraphAppRoleAssignmentRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public GraphAppRoleAssignmentRequestBuilder graphAppRoleAssignment() { return new GraphAppRoleAssignmentRequestBuilder(pathParameters, requestAdapter); @@ -46,7 +52,10 @@ public GraphAppRoleAssignmentRequestBuilder graphAppRoleAssignment() { /** * Casts the previous resource to endpoint. * @return a {@link GraphEndpointRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public GraphEndpointRequestBuilder graphEndpoint() { return new GraphEndpointRequestBuilder(pathParameters, requestAdapter); @@ -54,7 +63,10 @@ public GraphEndpointRequestBuilder graphEndpoint() { /** * Casts the previous resource to servicePrincipal. * @return a {@link GraphServicePrincipalRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public GraphServicePrincipalRequestBuilder graphServicePrincipal() { return new GraphServicePrincipalRequestBuilder(pathParameters, requestAdapter); @@ -62,7 +74,10 @@ public GraphServicePrincipalRequestBuilder graphServicePrincipal() { /** * Casts the previous resource to user. * @return a {@link GraphUserRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public GraphUserRequestBuilder graphUser() { return new GraphUserRequestBuilder(pathParameters, requestAdapter); @@ -70,7 +85,10 @@ public GraphUserRequestBuilder graphUser() { /** * Provides operations to manage the collection of servicePrincipal entities. * @return a {@link RefRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public RefRequestBuilder ref() { return new RefRequestBuilder(pathParameters, requestAdapter); @@ -107,8 +125,11 @@ public OwnersRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ja * Directory objects that are owners of this servicePrincipal. The owners are a set of nonadmin users or servicePrincipals who are allowed to modify this object. Supports $expand and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1). * @return a {@link DirectoryObjectCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public DirectoryObjectCollectionResponse get() { return get(null); } @@ -117,8 +138,11 @@ public DirectoryObjectCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DirectoryObjectCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public DirectoryObjectCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -128,8 +152,11 @@ public DirectoryObjectCollectionResponse get(@jakarta.annotation.Nullable final /** * Directory objects that are owners of this servicePrincipal. The owners are a set of nonadmin users or servicePrincipals who are allowed to modify this object. Supports $expand and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1). * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -137,8 +164,11 @@ public RequestInformation toGetRequestInformation() { * Directory objects that are owners of this servicePrincipal. The owners are a set of nonadmin users or servicePrincipals who are allowed to modify this object. Supports $expand and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1). * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -149,8 +179,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link OwnersRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public OwnersRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new OwnersRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/owners/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/owners/count/CountRequestBuilder.java index d82f5d0d6bd..dc9855df43e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/owners/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/owners/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/owners/graphapproleassignment/GraphAppRoleAssignmentRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/owners/graphapproleassignment/GraphAppRoleAssignmentRequestBuilder.java index 24c068479d8..1098b591b32 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/owners/graphapproleassignment/GraphAppRoleAssignmentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/owners/graphapproleassignment/GraphAppRoleAssignmentRequestBuilder.java @@ -24,7 +24,10 @@ public class GraphAppRoleAssignmentRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -49,8 +52,11 @@ public GraphAppRoleAssignmentRequestBuilder(@jakarta.annotation.Nonnull final St * Get the items of type microsoft.graph.appRoleAssignment in the microsoft.graph.directoryObject collection * @return a {@link AppRoleAssignmentCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public AppRoleAssignmentCollectionResponse get() { return get(null); } @@ -59,8 +65,11 @@ public AppRoleAssignmentCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AppRoleAssignmentCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public AppRoleAssignmentCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -70,8 +79,11 @@ public AppRoleAssignmentCollectionResponse get(@jakarta.annotation.Nullable fina /** * Get the items of type microsoft.graph.appRoleAssignment in the microsoft.graph.directoryObject collection * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -79,8 +91,11 @@ public RequestInformation toGetRequestInformation() { * Get the items of type microsoft.graph.appRoleAssignment in the microsoft.graph.directoryObject collection * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -91,8 +106,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link GraphAppRoleAssignmentRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public GraphAppRoleAssignmentRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new GraphAppRoleAssignmentRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/owners/graphapproleassignment/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/owners/graphapproleassignment/count/CountRequestBuilder.java index 57182711ef2..a09ec6c15ae 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/owners/graphapproleassignment/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/owners/graphapproleassignment/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/owners/graphendpoint/GraphEndpointRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/owners/graphendpoint/GraphEndpointRequestBuilder.java index 0574e31d6cb..ac54d19a408 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/owners/graphendpoint/GraphEndpointRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/owners/graphendpoint/GraphEndpointRequestBuilder.java @@ -24,7 +24,10 @@ public class GraphEndpointRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -49,8 +52,11 @@ public GraphEndpointRequestBuilder(@jakarta.annotation.Nonnull final String rawU * Get the items of type microsoft.graph.endpoint in the microsoft.graph.directoryObject collection * @return a {@link EndpointCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public EndpointCollectionResponse get() { return get(null); } @@ -59,8 +65,11 @@ public EndpointCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link EndpointCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public EndpointCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -70,8 +79,11 @@ public EndpointCollectionResponse get(@jakarta.annotation.Nullable final java.ut /** * Get the items of type microsoft.graph.endpoint in the microsoft.graph.directoryObject collection * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -79,8 +91,11 @@ public RequestInformation toGetRequestInformation() { * Get the items of type microsoft.graph.endpoint in the microsoft.graph.directoryObject collection * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -91,8 +106,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link GraphEndpointRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public GraphEndpointRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new GraphEndpointRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/owners/graphendpoint/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/owners/graphendpoint/count/CountRequestBuilder.java index 2a63c9f1ba5..a875b6a6f28 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/owners/graphendpoint/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/owners/graphendpoint/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/owners/graphserviceprincipal/GraphServicePrincipalRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/owners/graphserviceprincipal/GraphServicePrincipalRequestBuilder.java index 05dcc05fd2e..686393d41e5 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/owners/graphserviceprincipal/GraphServicePrincipalRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/owners/graphserviceprincipal/GraphServicePrincipalRequestBuilder.java @@ -24,7 +24,10 @@ public class GraphServicePrincipalRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -49,8 +52,11 @@ public GraphServicePrincipalRequestBuilder(@jakarta.annotation.Nonnull final Str * Get the items of type microsoft.graph.servicePrincipal in the microsoft.graph.directoryObject collection * @return a {@link ServicePrincipalCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public ServicePrincipalCollectionResponse get() { return get(null); } @@ -59,8 +65,11 @@ public ServicePrincipalCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ServicePrincipalCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public ServicePrincipalCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -70,8 +79,11 @@ public ServicePrincipalCollectionResponse get(@jakarta.annotation.Nullable final /** * Get the items of type microsoft.graph.servicePrincipal in the microsoft.graph.directoryObject collection * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -79,8 +91,11 @@ public RequestInformation toGetRequestInformation() { * Get the items of type microsoft.graph.servicePrincipal in the microsoft.graph.directoryObject collection * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -91,8 +106,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link GraphServicePrincipalRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public GraphServicePrincipalRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new GraphServicePrincipalRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/owners/graphserviceprincipal/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/owners/graphserviceprincipal/count/CountRequestBuilder.java index 20c5d31af77..3fb146593a6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/owners/graphserviceprincipal/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/owners/graphserviceprincipal/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/owners/graphuser/GraphUserRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/owners/graphuser/GraphUserRequestBuilder.java index de94767852d..bf7cfcf8e27 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/owners/graphuser/GraphUserRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/owners/graphuser/GraphUserRequestBuilder.java @@ -24,7 +24,10 @@ public class GraphUserRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -49,8 +52,11 @@ public GraphUserRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, * Get the items of type microsoft.graph.user in the microsoft.graph.directoryObject collection * @return a {@link UserCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public UserCollectionResponse get() { return get(null); } @@ -59,8 +65,11 @@ public UserCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link UserCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public UserCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -70,8 +79,11 @@ public UserCollectionResponse get(@jakarta.annotation.Nullable final java.util.f /** * Get the items of type microsoft.graph.user in the microsoft.graph.directoryObject collection * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -79,8 +91,11 @@ public RequestInformation toGetRequestInformation() { * Get the items of type microsoft.graph.user in the microsoft.graph.directoryObject collection * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -91,8 +106,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link GraphUserRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public GraphUserRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new GraphUserRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/owners/graphuser/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/owners/graphuser/count/CountRequestBuilder.java index 331805a37da..0080020d79f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/owners/graphuser/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/owners/graphuser/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/owners/item/graphapproleassignment/GraphAppRoleAssignmentRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/owners/item/graphapproleassignment/GraphAppRoleAssignmentRequestBuilder.java index 8c7d7cf5fa2..c3e040cb5c7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/owners/item/graphapproleassignment/GraphAppRoleAssignmentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/owners/item/graphapproleassignment/GraphAppRoleAssignmentRequestBuilder.java @@ -40,8 +40,11 @@ public GraphAppRoleAssignmentRequestBuilder(@jakarta.annotation.Nonnull final St * Get the item of type microsoft.graph.directoryObject as microsoft.graph.appRoleAssignment * @return a {@link AppRoleAssignment} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public AppRoleAssignment get() { return get(null); } @@ -50,8 +53,11 @@ public AppRoleAssignment get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AppRoleAssignment} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public AppRoleAssignment get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public AppRoleAssignment get(@jakarta.annotation.Nullable final java.util.functi /** * Get the item of type microsoft.graph.directoryObject as microsoft.graph.appRoleAssignment * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * Get the item of type microsoft.graph.directoryObject as microsoft.graph.appRoleAssignment * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link GraphAppRoleAssignmentRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public GraphAppRoleAssignmentRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new GraphAppRoleAssignmentRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/owners/item/graphendpoint/GraphEndpointRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/owners/item/graphendpoint/GraphEndpointRequestBuilder.java index 5039fd13de5..be25fcd5f7c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/owners/item/graphendpoint/GraphEndpointRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/owners/item/graphendpoint/GraphEndpointRequestBuilder.java @@ -40,8 +40,11 @@ public GraphEndpointRequestBuilder(@jakarta.annotation.Nonnull final String rawU * Get the item of type microsoft.graph.directoryObject as microsoft.graph.endpoint * @return a {@link Endpoint} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public Endpoint get() { return get(null); } @@ -50,8 +53,11 @@ public Endpoint get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Endpoint} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public Endpoint get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public Endpoint get(@jakarta.annotation.Nullable final java.util.function.Consum /** * Get the item of type microsoft.graph.directoryObject as microsoft.graph.endpoint * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * Get the item of type microsoft.graph.directoryObject as microsoft.graph.endpoint * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link GraphEndpointRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public GraphEndpointRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new GraphEndpointRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/owners/item/graphserviceprincipal/GraphServicePrincipalRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/owners/item/graphserviceprincipal/GraphServicePrincipalRequestBuilder.java index 600633b9c3a..a0fc9618041 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/owners/item/graphserviceprincipal/GraphServicePrincipalRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/owners/item/graphserviceprincipal/GraphServicePrincipalRequestBuilder.java @@ -40,8 +40,11 @@ public GraphServicePrincipalRequestBuilder(@jakarta.annotation.Nonnull final Str * Get the item of type microsoft.graph.directoryObject as microsoft.graph.servicePrincipal * @return a {@link ServicePrincipal} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public ServicePrincipal get() { return get(null); } @@ -50,8 +53,11 @@ public ServicePrincipal get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ServicePrincipal} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public ServicePrincipal get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public ServicePrincipal get(@jakarta.annotation.Nullable final java.util.functio /** * Get the item of type microsoft.graph.directoryObject as microsoft.graph.servicePrincipal * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * Get the item of type microsoft.graph.directoryObject as microsoft.graph.servicePrincipal * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link GraphServicePrincipalRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public GraphServicePrincipalRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new GraphServicePrincipalRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/owners/item/graphuser/GraphUserRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/owners/item/graphuser/GraphUserRequestBuilder.java index 01459fc7230..e9a82109fc0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/owners/item/graphuser/GraphUserRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/owners/item/graphuser/GraphUserRequestBuilder.java @@ -40,8 +40,11 @@ public GraphUserRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, * Get the item of type microsoft.graph.directoryObject as microsoft.graph.user * @return a {@link User} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public User get() { return get(null); } @@ -50,8 +53,11 @@ public User get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link User} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public User get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public User get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link GraphUserRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public GraphUserRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new GraphUserRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/owners/item/ref/RefRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/owners/item/ref/RefRequestBuilder.java index 51fab718684..8429cb31859 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/owners/item/ref/RefRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/owners/item/ref/RefRequestBuilder.java @@ -37,8 +37,11 @@ public RefRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakar /** * Remove an owner from a servicePrincipal object. As a recommended best practice, service principals should have at least two owners. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ + @Deprecated public void delete() { delete(null); } @@ -46,8 +49,11 @@ public void delete() { * Remove an owner from a servicePrincipal object. As a recommended best practice, service principals should have at least two owners. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume /** * Remove an owner from a servicePrincipal object. As a recommended best practice, service principals should have at least two owners. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toDeleteRequestInformation() { * Remove an owner from a servicePrincipal object. As a recommended best practice, service principals should have at least two owners. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RefRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RefRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RefRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/owners/ref/RefRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/owners/ref/RefRequestBuilder.java index 4d68363c68f..e31366dc25f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/owners/ref/RefRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/owners/ref/RefRequestBuilder.java @@ -40,8 +40,11 @@ public RefRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakar /** * Remove an owner from a servicePrincipal object. As a recommended best practice, service principals should have at least two owners. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ + @Deprecated public void delete() { delete(null); } @@ -49,8 +52,11 @@ public void delete() { * Remove an owner from a servicePrincipal object. As a recommended best practice, service principals should have at least two owners. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Directory objects that are owners of this servicePrincipal. The owners are a set of nonadmin users or servicePrincipals who are allowed to modify this object. Supports $expand and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1). * @return a {@link StringCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public StringCollectionResponse get() { return get(null); } @@ -71,8 +80,11 @@ public StringCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link StringCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public StringCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -83,8 +95,11 @@ public StringCollectionResponse get(@jakarta.annotation.Nullable final java.util * Add an owner for the servicePrincipal. Service principal owners can be users, the service principal itself, or other service principals. * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final ReferenceCreate body) { post(body, null); } @@ -93,8 +108,11 @@ public void post(@jakarta.annotation.Nonnull final ReferenceCreate body) { * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final ReferenceCreate body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -105,8 +123,11 @@ public void post(@jakarta.annotation.Nonnull final ReferenceCreate body, @jakart /** * Remove an owner from a servicePrincipal object. As a recommended best practice, service principals should have at least two owners. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -114,8 +135,11 @@ public RequestInformation toDeleteRequestInformation() { * Remove an owner from a servicePrincipal object. As a recommended best practice, service principals should have at least two owners. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/owners/$ref?@id={%40id}", pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new, x -> x.queryParameters); @@ -125,8 +149,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Directory objects that are owners of this servicePrincipal. The owners are a set of nonadmin users or servicePrincipals who are allowed to modify this object. Supports $expand and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1). * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -134,8 +161,11 @@ public RequestInformation toGetRequestInformation() { * Directory objects that are owners of this servicePrincipal. The owners are a set of nonadmin users or servicePrincipals who are allowed to modify this object. Supports $expand and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1). * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -146,8 +176,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Add an owner for the servicePrincipal. Service principal owners can be users, the service principal itself, or other service principals. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ReferenceCreate body) { return toPostRequestInformation(body, null); } @@ -156,8 +189,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ReferenceCreate body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -170,8 +206,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RefRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RefRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RefRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/permissiongrantpreapprovalpolicies/PermissionGrantPreApprovalPoliciesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/permissiongrantpreapprovalpolicies/PermissionGrantPreApprovalPoliciesRequestBuilder.java index e1ddaf350fb..2bc04757b19 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/permissiongrantpreapprovalpolicies/PermissionGrantPreApprovalPoliciesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/permissiongrantpreapprovalpolicies/PermissionGrantPreApprovalPoliciesRequestBuilder.java @@ -25,7 +25,10 @@ public class PermissionGrantPreApprovalPoliciesRequestBuilder extends BaseReques /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -34,8 +37,11 @@ public CountRequestBuilder count() { * Provides operations to manage the permissionGrantPreApprovalPolicies property of the microsoft.graph.servicePrincipal entity. * @param permissionGrantPreApprovalPolicyId The unique identifier of permissionGrantPreApprovalPolicy * @return a {@link PermissionGrantPreApprovalPolicyItemRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public PermissionGrantPreApprovalPolicyItemRequestBuilder byPermissionGrantPreApprovalPolicyId(@jakarta.annotation.Nonnull final String permissionGrantPreApprovalPolicyId) { Objects.requireNonNull(permissionGrantPreApprovalPolicyId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -62,8 +68,11 @@ public PermissionGrantPreApprovalPoliciesRequestBuilder(@jakarta.annotation.Nonn * Retrieve the permissionGrantPreApprovalPolicy object for the servicePrincipal. * @return a {@link PermissionGrantPreApprovalPolicyCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public PermissionGrantPreApprovalPolicyCollectionResponse get() { return get(null); } @@ -72,8 +81,11 @@ public PermissionGrantPreApprovalPolicyCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link PermissionGrantPreApprovalPolicyCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public PermissionGrantPreApprovalPolicyCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -83,8 +95,11 @@ public PermissionGrantPreApprovalPolicyCollectionResponse get(@jakarta.annotatio /** * Retrieve the permissionGrantPreApprovalPolicy object for the servicePrincipal. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -92,8 +107,11 @@ public RequestInformation toGetRequestInformation() { * Retrieve the permissionGrantPreApprovalPolicy object for the servicePrincipal. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -104,8 +122,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link PermissionGrantPreApprovalPoliciesRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public PermissionGrantPreApprovalPoliciesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new PermissionGrantPreApprovalPoliciesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/permissiongrantpreapprovalpolicies/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/permissiongrantpreapprovalpolicies/count/CountRequestBuilder.java index f41595c39ef..f8e7d7a7df6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/permissiongrantpreapprovalpolicies/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/permissiongrantpreapprovalpolicies/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/permissiongrantpreapprovalpolicies/item/PermissionGrantPreApprovalPolicyItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/permissiongrantpreapprovalpolicies/item/PermissionGrantPreApprovalPolicyItemRequestBuilder.java index 37cee720ad3..d3354ca5112 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/permissiongrantpreapprovalpolicies/item/PermissionGrantPreApprovalPolicyItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/permissiongrantpreapprovalpolicies/item/PermissionGrantPreApprovalPolicyItemRequestBuilder.java @@ -40,9 +40,12 @@ public PermissionGrantPreApprovalPolicyItemRequestBuilder(@jakarta.annotation.No * Retrieve the permissionGrantPreApprovalPolicy object for the servicePrincipal. * @return a {@link PermissionGrantPreApprovalPolicy} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public PermissionGrantPreApprovalPolicy get() { return get(null); } @@ -51,9 +54,12 @@ public PermissionGrantPreApprovalPolicy get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link PermissionGrantPreApprovalPolicy} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public PermissionGrantPreApprovalPolicy get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -63,8 +69,11 @@ public PermissionGrantPreApprovalPolicy get(@jakarta.annotation.Nullable final j /** * Retrieve the permissionGrantPreApprovalPolicy object for the servicePrincipal. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -72,8 +81,11 @@ public RequestInformation toGetRequestInformation() { * Retrieve the permissionGrantPreApprovalPolicy object for the servicePrincipal. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -84,8 +96,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link PermissionGrantPreApprovalPolicyItemRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public PermissionGrantPreApprovalPolicyItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new PermissionGrantPreApprovalPolicyItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/remotedesktopsecurityconfiguration/RemoteDesktopSecurityConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/remotedesktopsecurityconfiguration/RemoteDesktopSecurityConfigurationRequestBuilder.java index f034f785dc4..e0613769d3d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/remotedesktopsecurityconfiguration/RemoteDesktopSecurityConfigurationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/remotedesktopsecurityconfiguration/RemoteDesktopSecurityConfigurationRequestBuilder.java @@ -25,7 +25,10 @@ public class RemoteDesktopSecurityConfigurationRequestBuilder extends BaseReques /** * Provides operations to manage the approvedClientApps property of the microsoft.graph.remoteDesktopSecurityConfiguration entity. * @return a {@link ApprovedClientAppsRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public ApprovedClientAppsRequestBuilder approvedClientApps() { return new ApprovedClientAppsRequestBuilder(pathParameters, requestAdapter); @@ -33,7 +36,10 @@ public ApprovedClientAppsRequestBuilder approvedClientApps() { /** * Provides operations to manage the targetDeviceGroups property of the microsoft.graph.remoteDesktopSecurityConfiguration entity. * @return a {@link TargetDeviceGroupsRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public TargetDeviceGroupsRequestBuilder targetDeviceGroups() { return new TargetDeviceGroupsRequestBuilder(pathParameters, requestAdapter); @@ -57,8 +63,11 @@ public RemoteDesktopSecurityConfigurationRequestBuilder(@jakarta.annotation.Nonn /** * Delete a remoteDesktopSecurityConfiguration object on a servicePrincipal. Removing remoteDesktopSecurityConfiguration object on the servicePrincipal disables the Microsoft Entra ID Remote Desktop Services (RDS) authentication protocol to authenticate a user to Microsoft Entra joined or Microsoft Entra hybrid joined devices, and removes any target device groups that you configured for SSO. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ + @Deprecated public void delete() { delete(null); } @@ -66,8 +75,11 @@ public void delete() { * Delete a remoteDesktopSecurityConfiguration object on a servicePrincipal. Removing remoteDesktopSecurityConfiguration object on the servicePrincipal disables the Microsoft Entra ID Remote Desktop Services (RDS) authentication protocol to authenticate a user to Microsoft Entra joined or Microsoft Entra hybrid joined devices, and removes any target device groups that you configured for SSO. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -78,9 +90,12 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Read the properties and relationships of a remoteDesktopSecurityConfiguration object on a servicePrincipal. Use this configuration to view the Microsoft Entra ID Remote Desktop Services (RDS) authentication protocol to authenticate a user to Microsoft Entra joined or Microsoft Entra hybrid joined devices. Additionally you can view any targetDeviceGroups that have been configured for SSO. * @return a {@link RemoteDesktopSecurityConfiguration} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public RemoteDesktopSecurityConfiguration get() { return get(null); } @@ -89,9 +104,12 @@ public RemoteDesktopSecurityConfiguration get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RemoteDesktopSecurityConfiguration} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public RemoteDesktopSecurityConfiguration get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -103,9 +121,12 @@ public RemoteDesktopSecurityConfiguration get(@jakarta.annotation.Nullable final * @param body The request body * @return a {@link RemoteDesktopSecurityConfiguration} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public RemoteDesktopSecurityConfiguration patch(@jakarta.annotation.Nonnull final RemoteDesktopSecurityConfiguration body) { return patch(body, null); } @@ -115,9 +136,12 @@ public RemoteDesktopSecurityConfiguration patch(@jakarta.annotation.Nonnull fina * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RemoteDesktopSecurityConfiguration} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public RemoteDesktopSecurityConfiguration patch(@jakarta.annotation.Nonnull final RemoteDesktopSecurityConfiguration body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -128,8 +152,11 @@ public RemoteDesktopSecurityConfiguration patch(@jakarta.annotation.Nonnull fina /** * Delete a remoteDesktopSecurityConfiguration object on a servicePrincipal. Removing remoteDesktopSecurityConfiguration object on the servicePrincipal disables the Microsoft Entra ID Remote Desktop Services (RDS) authentication protocol to authenticate a user to Microsoft Entra joined or Microsoft Entra hybrid joined devices, and removes any target device groups that you configured for SSO. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -137,8 +164,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete a remoteDesktopSecurityConfiguration object on a servicePrincipal. Removing remoteDesktopSecurityConfiguration object on the servicePrincipal disables the Microsoft Entra ID Remote Desktop Services (RDS) authentication protocol to authenticate a user to Microsoft Entra joined or Microsoft Entra hybrid joined devices, and removes any target device groups that you configured for SSO. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -148,8 +178,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Read the properties and relationships of a remoteDesktopSecurityConfiguration object on a servicePrincipal. Use this configuration to view the Microsoft Entra ID Remote Desktop Services (RDS) authentication protocol to authenticate a user to Microsoft Entra joined or Microsoft Entra hybrid joined devices. Additionally you can view any targetDeviceGroups that have been configured for SSO. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -157,8 +190,11 @@ public RequestInformation toGetRequestInformation() { * Read the properties and relationships of a remoteDesktopSecurityConfiguration object on a servicePrincipal. Use this configuration to view the Microsoft Entra ID Remote Desktop Services (RDS) authentication protocol to authenticate a user to Microsoft Entra joined or Microsoft Entra hybrid joined devices. Additionally you can view any targetDeviceGroups that have been configured for SSO. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -169,8 +205,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the properties of a remoteDesktopSecurityConfiguration object on the servicePrincipal. Use this configuration to enable or disable the Microsoft Entra ID Remote Desktop Services (RDS) authentication protocol to authenticate a user to Microsoft Entra joined or Microsoft Entra hybrid joined devices. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final RemoteDesktopSecurityConfiguration body) { return toPatchRequestInformation(body, null); } @@ -179,8 +218,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final RemoteDesktopSecurityConfiguration body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -193,8 +235,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RemoteDesktopSecurityConfigurationRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RemoteDesktopSecurityConfigurationRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RemoteDesktopSecurityConfigurationRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/remotedesktopsecurityconfiguration/approvedclientapps/ApprovedClientAppsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/remotedesktopsecurityconfiguration/approvedclientapps/ApprovedClientAppsRequestBuilder.java index dbd55dad85c..9dc3c8ca322 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/remotedesktopsecurityconfiguration/approvedclientapps/ApprovedClientAppsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/remotedesktopsecurityconfiguration/approvedclientapps/ApprovedClientAppsRequestBuilder.java @@ -26,7 +26,10 @@ public class ApprovedClientAppsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the approvedClientApps property of the microsoft.graph.remoteDesktopSecurityConfiguration entity. * @param approvedClientAppId The unique identifier of approvedClientApp * @return a {@link ApprovedClientAppItemRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public ApprovedClientAppItemRequestBuilder byApprovedClientAppId(@jakarta.annotation.Nonnull final String approvedClientAppId) { Objects.requireNonNull(approvedClientAppId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,9 +69,12 @@ public ApprovedClientAppsRequestBuilder(@jakarta.annotation.Nonnull final String * Get a list of the approvedClientApp objects and their properties on the remoteDesktopSecurityConfiguration resource on a service principal. * @return a {@link ApprovedClientAppCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public ApprovedClientAppCollectionResponse get() { return get(null); } @@ -74,9 +83,12 @@ public ApprovedClientAppCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ApprovedClientAppCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public ApprovedClientAppCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -88,9 +100,12 @@ public ApprovedClientAppCollectionResponse get(@jakarta.annotation.Nullable fina * @param body The request body * @return a {@link ApprovedClientApp} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public ApprovedClientApp post(@jakarta.annotation.Nonnull final ApprovedClientApp body) { return post(body, null); } @@ -100,9 +115,12 @@ public ApprovedClientApp post(@jakarta.annotation.Nonnull final ApprovedClientAp * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ApprovedClientApp} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public ApprovedClientApp post(@jakarta.annotation.Nonnull final ApprovedClientApp body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -113,8 +131,11 @@ public ApprovedClientApp post(@jakarta.annotation.Nonnull final ApprovedClientAp /** * Get a list of the approvedClientApp objects and their properties on the remoteDesktopSecurityConfiguration resource on a service principal. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -122,8 +143,11 @@ public RequestInformation toGetRequestInformation() { * Get a list of the approvedClientApp objects and their properties on the remoteDesktopSecurityConfiguration resource on a service principal. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -134,8 +158,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create a new approvedClientApp object for the remoteDesktopSecurityConfiguration object on a service principal. You can configure a maximum of 20 approved client apps. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ApprovedClientApp body) { return toPostRequestInformation(body, null); } @@ -144,8 +171,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ApprovedClientApp body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -158,8 +188,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ApprovedClientAppsRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public ApprovedClientAppsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ApprovedClientAppsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/remotedesktopsecurityconfiguration/approvedclientapps/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/remotedesktopsecurityconfiguration/approvedclientapps/count/CountRequestBuilder.java index 269e5fd281a..3f25c5910e4 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/remotedesktopsecurityconfiguration/approvedclientapps/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/remotedesktopsecurityconfiguration/approvedclientapps/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/remotedesktopsecurityconfiguration/approvedclientapps/item/ApprovedClientAppItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/remotedesktopsecurityconfiguration/approvedclientapps/item/ApprovedClientAppItemRequestBuilder.java index 5e2ec8ce00a..930e1dd945a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/remotedesktopsecurityconfiguration/approvedclientapps/item/ApprovedClientAppItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/remotedesktopsecurityconfiguration/approvedclientapps/item/ApprovedClientAppItemRequestBuilder.java @@ -39,8 +39,11 @@ public ApprovedClientAppItemRequestBuilder(@jakarta.annotation.Nonnull final Str /** * Delete a approvedClientApp object for the remoteDesktopSecurityConfiguration object on a service principal. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ + @Deprecated public void delete() { delete(null); } @@ -48,8 +51,11 @@ public void delete() { * Delete a approvedClientApp object for the remoteDesktopSecurityConfiguration object on a service principal. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,9 +66,12 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Read the properties and relationships of a approvedClientApp object for the remoteDesktopSecurityConfiguration object on a servicePrincipal. * @return a {@link ApprovedClientApp} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public ApprovedClientApp get() { return get(null); } @@ -71,9 +80,12 @@ public ApprovedClientApp get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ApprovedClientApp} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public ApprovedClientApp get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -85,9 +97,12 @@ public ApprovedClientApp get(@jakarta.annotation.Nullable final java.util.functi * @param body The request body * @return a {@link ApprovedClientApp} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public ApprovedClientApp patch(@jakarta.annotation.Nonnull final ApprovedClientApp body) { return patch(body, null); } @@ -97,9 +112,12 @@ public ApprovedClientApp patch(@jakarta.annotation.Nonnull final ApprovedClientA * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ApprovedClientApp} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public ApprovedClientApp patch(@jakarta.annotation.Nonnull final ApprovedClientApp body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -110,8 +128,11 @@ public ApprovedClientApp patch(@jakarta.annotation.Nonnull final ApprovedClientA /** * Delete a approvedClientApp object for the remoteDesktopSecurityConfiguration object on a service principal. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -119,8 +140,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete a approvedClientApp object for the remoteDesktopSecurityConfiguration object on a service principal. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -130,8 +154,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Read the properties and relationships of a approvedClientApp object for the remoteDesktopSecurityConfiguration object on a servicePrincipal. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -139,8 +166,11 @@ public RequestInformation toGetRequestInformation() { * Read the properties and relationships of a approvedClientApp object for the remoteDesktopSecurityConfiguration object on a servicePrincipal. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -151,8 +181,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the properties of an approvedClientApp object for a remotedesktopsecurityconfiguration. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final ApprovedClientApp body) { return toPatchRequestInformation(body, null); } @@ -161,8 +194,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final ApprovedClientApp body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -175,8 +211,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ApprovedClientAppItemRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public ApprovedClientAppItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ApprovedClientAppItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/remotedesktopsecurityconfiguration/targetdevicegroups/TargetDeviceGroupsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/remotedesktopsecurityconfiguration/targetdevicegroups/TargetDeviceGroupsRequestBuilder.java index d37702bb142..a0bd2f6ae09 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/remotedesktopsecurityconfiguration/targetdevicegroups/TargetDeviceGroupsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/remotedesktopsecurityconfiguration/targetdevicegroups/TargetDeviceGroupsRequestBuilder.java @@ -26,7 +26,10 @@ public class TargetDeviceGroupsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the targetDeviceGroups property of the microsoft.graph.remoteDesktopSecurityConfiguration entity. * @param targetDeviceGroupId The unique identifier of targetDeviceGroup * @return a {@link TargetDeviceGroupItemRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public TargetDeviceGroupItemRequestBuilder byTargetDeviceGroupId(@jakarta.annotation.Nonnull final String targetDeviceGroupId) { Objects.requireNonNull(targetDeviceGroupId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,9 +69,12 @@ public TargetDeviceGroupsRequestBuilder(@jakarta.annotation.Nonnull final String * Get a list of the targetDeviceGroup objects and their properties on the remoteDesktopSecurityConfiguration resource on the servicePrincipal. Any user authenticating using the Microsoft Entra ID Remote Desktop Services (RDS) authentication protocol to a Microsoft Entra joined or Microsoft Entra hybrid joined device that belongs to the targetDeviceGroup will get SSO. * @return a {@link TargetDeviceGroupCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public TargetDeviceGroupCollectionResponse get() { return get(null); } @@ -74,9 +83,12 @@ public TargetDeviceGroupCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link TargetDeviceGroupCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public TargetDeviceGroupCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -88,9 +100,12 @@ public TargetDeviceGroupCollectionResponse get(@jakarta.annotation.Nullable fina * @param body The request body * @return a {@link TargetDeviceGroup} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public TargetDeviceGroup post(@jakarta.annotation.Nonnull final TargetDeviceGroup body) { return post(body, null); } @@ -100,9 +115,12 @@ public TargetDeviceGroup post(@jakarta.annotation.Nonnull final TargetDeviceGrou * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link TargetDeviceGroup} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public TargetDeviceGroup post(@jakarta.annotation.Nonnull final TargetDeviceGroup body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -113,8 +131,11 @@ public TargetDeviceGroup post(@jakarta.annotation.Nonnull final TargetDeviceGrou /** * Get a list of the targetDeviceGroup objects and their properties on the remoteDesktopSecurityConfiguration resource on the servicePrincipal. Any user authenticating using the Microsoft Entra ID Remote Desktop Services (RDS) authentication protocol to a Microsoft Entra joined or Microsoft Entra hybrid joined device that belongs to the targetDeviceGroup will get SSO. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -122,8 +143,11 @@ public RequestInformation toGetRequestInformation() { * Get a list of the targetDeviceGroup objects and their properties on the remoteDesktopSecurityConfiguration resource on the servicePrincipal. Any user authenticating using the Microsoft Entra ID Remote Desktop Services (RDS) authentication protocol to a Microsoft Entra joined or Microsoft Entra hybrid joined device that belongs to the targetDeviceGroup will get SSO. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -134,8 +158,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create a new targetDeviceGroup object for the remoteDesktopSecurityConfiguration object on the servicePrincipal. You can configure a maximum of 10 target device groups for the remoteDesktopSecurityConfiguration object on the servicePrincipal. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final TargetDeviceGroup body) { return toPostRequestInformation(body, null); } @@ -144,8 +171,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final TargetDeviceGroup body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -158,8 +188,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link TargetDeviceGroupsRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public TargetDeviceGroupsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new TargetDeviceGroupsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/remotedesktopsecurityconfiguration/targetdevicegroups/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/remotedesktopsecurityconfiguration/targetdevicegroups/count/CountRequestBuilder.java index d4d0d69b30e..09814618364 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/remotedesktopsecurityconfiguration/targetdevicegroups/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/remotedesktopsecurityconfiguration/targetdevicegroups/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/remotedesktopsecurityconfiguration/targetdevicegroups/item/TargetDeviceGroupItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/remotedesktopsecurityconfiguration/targetdevicegroups/item/TargetDeviceGroupItemRequestBuilder.java index a0b3adb304d..f413a9409bf 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/remotedesktopsecurityconfiguration/targetdevicegroups/item/TargetDeviceGroupItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/remotedesktopsecurityconfiguration/targetdevicegroups/item/TargetDeviceGroupItemRequestBuilder.java @@ -39,8 +39,11 @@ public TargetDeviceGroupItemRequestBuilder(@jakarta.annotation.Nonnull final Str /** * Delete a targetDeviceGroup object for the remoteDesktopSecurityConfiguration object on the servicePrincipal. Any user authenticating using the Microsoft Entra ID Remote Desktop Services (RDS) authentication protocol to a Microsoft Entra joined or Microsoft Entra hybrid joined device that's in the removed targetDeviceGroup doesn't get SSO prompts. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ + @Deprecated public void delete() { delete(null); } @@ -48,8 +51,11 @@ public void delete() { * Delete a targetDeviceGroup object for the remoteDesktopSecurityConfiguration object on the servicePrincipal. Any user authenticating using the Microsoft Entra ID Remote Desktop Services (RDS) authentication protocol to a Microsoft Entra joined or Microsoft Entra hybrid joined device that's in the removed targetDeviceGroup doesn't get SSO prompts. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,9 +66,12 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Read the properties and relationships of a targetDeviceGroup object for the remoteDesktopSecurityConfiguration object on the servicePrincipal. * @return a {@link TargetDeviceGroup} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public TargetDeviceGroup get() { return get(null); } @@ -71,9 +80,12 @@ public TargetDeviceGroup get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link TargetDeviceGroup} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public TargetDeviceGroup get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -85,9 +97,12 @@ public TargetDeviceGroup get(@jakarta.annotation.Nullable final java.util.functi * @param body The request body * @return a {@link TargetDeviceGroup} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public TargetDeviceGroup patch(@jakarta.annotation.Nonnull final TargetDeviceGroup body) { return patch(body, null); } @@ -97,9 +112,12 @@ public TargetDeviceGroup patch(@jakarta.annotation.Nonnull final TargetDeviceGro * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link TargetDeviceGroup} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public TargetDeviceGroup patch(@jakarta.annotation.Nonnull final TargetDeviceGroup body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -110,8 +128,11 @@ public TargetDeviceGroup patch(@jakarta.annotation.Nonnull final TargetDeviceGro /** * Delete a targetDeviceGroup object for the remoteDesktopSecurityConfiguration object on the servicePrincipal. Any user authenticating using the Microsoft Entra ID Remote Desktop Services (RDS) authentication protocol to a Microsoft Entra joined or Microsoft Entra hybrid joined device that's in the removed targetDeviceGroup doesn't get SSO prompts. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -119,8 +140,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete a targetDeviceGroup object for the remoteDesktopSecurityConfiguration object on the servicePrincipal. Any user authenticating using the Microsoft Entra ID Remote Desktop Services (RDS) authentication protocol to a Microsoft Entra joined or Microsoft Entra hybrid joined device that's in the removed targetDeviceGroup doesn't get SSO prompts. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -130,8 +154,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Read the properties and relationships of a targetDeviceGroup object for the remoteDesktopSecurityConfiguration object on the servicePrincipal. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -139,8 +166,11 @@ public RequestInformation toGetRequestInformation() { * Read the properties and relationships of a targetDeviceGroup object for the remoteDesktopSecurityConfiguration object on the servicePrincipal. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -151,8 +181,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the properties of a targetDeviceGroup object for remoteDesktopSecurityConfiguration object on the servicePrincipal. You can configure a maximum of 10 target device groups for the remoteDesktopSecurityConfiguraiton object on the servicePrincipal. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final TargetDeviceGroup body) { return toPatchRequestInformation(body, null); } @@ -161,8 +194,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final TargetDeviceGroup body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -175,8 +211,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link TargetDeviceGroupItemRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public TargetDeviceGroupItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new TargetDeviceGroupItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/restore/RestoreRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/restore/RestoreRequestBuilder.java index cff67986c5d..046ae4289f6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/restore/RestoreRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/restore/RestoreRequestBuilder.java @@ -39,9 +39,12 @@ public RestoreRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j * Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public DirectoryObject post() { return post(null); } @@ -50,9 +53,12 @@ public DirectoryObject post() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public DirectoryObject post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -62,8 +68,11 @@ public DirectoryObject post(@jakarta.annotation.Nullable final java.util.functio /** * Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation() { * Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -83,8 +95,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RestoreRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RestoreRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RestoreRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/synchronization/SynchronizationRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/synchronization/SynchronizationRequestBuilder.java index 619276e10b7..301b0214f72 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/synchronization/SynchronizationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/synchronization/SynchronizationRequestBuilder.java @@ -28,7 +28,10 @@ public class SynchronizationRequestBuilder extends BaseRequestBuilder { /** * Provides operations to call the acquireAccessToken method. * @return a {@link AcquireAccessTokenRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public AcquireAccessTokenRequestBuilder acquireAccessToken() { return new AcquireAccessTokenRequestBuilder(pathParameters, requestAdapter); @@ -36,7 +39,10 @@ public AcquireAccessTokenRequestBuilder acquireAccessToken() { /** * Provides operations to manage the jobs property of the microsoft.graph.synchronization entity. * @return a {@link JobsRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public JobsRequestBuilder jobs() { return new JobsRequestBuilder(pathParameters, requestAdapter); @@ -44,7 +50,10 @@ public JobsRequestBuilder jobs() { /** * Provides operations to call the Ping method. * @return a {@link PingRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public PingRequestBuilder ping() { return new PingRequestBuilder(pathParameters, requestAdapter); @@ -52,7 +61,10 @@ public PingRequestBuilder ping() { /** * The secrets property * @return a {@link SecretsRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public SecretsRequestBuilder secrets() { return new SecretsRequestBuilder(pathParameters, requestAdapter); @@ -60,7 +72,10 @@ public SecretsRequestBuilder secrets() { /** * Provides operations to manage the templates property of the microsoft.graph.synchronization entity. * @return a {@link TemplatesRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public TemplatesRequestBuilder templates() { return new TemplatesRequestBuilder(pathParameters, requestAdapter); @@ -84,7 +99,10 @@ public SynchronizationRequestBuilder(@jakarta.annotation.Nonnull final String ra /** * Delete navigation property synchronization for servicePrincipals * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated public void delete() { delete(null); } @@ -92,7 +110,10 @@ public void delete() { * Delete navigation property synchronization for servicePrincipals * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -103,8 +124,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Represents the capability for Microsoft Entra identity synchronization through the Microsoft Graph API. * @return a {@link Synchronization} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public Synchronization get() { return get(null); } @@ -113,8 +137,11 @@ public Synchronization get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Synchronization} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public Synchronization get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -126,8 +153,11 @@ public Synchronization get(@jakarta.annotation.Nullable final java.util.function * @param body The request body * @return a {@link Synchronization} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public Synchronization put(@jakarta.annotation.Nonnull final Synchronization body) { return put(body, null); } @@ -137,8 +167,11 @@ public Synchronization put(@jakarta.annotation.Nonnull final Synchronization bod * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Synchronization} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public Synchronization put(@jakarta.annotation.Nonnull final Synchronization body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPutRequestInformation(body, requestConfiguration); @@ -149,8 +182,11 @@ public Synchronization put(@jakarta.annotation.Nonnull final Synchronization bod /** * Delete navigation property synchronization for servicePrincipals * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -158,8 +194,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property synchronization for servicePrincipals * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -169,8 +208,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Represents the capability for Microsoft Entra identity synchronization through the Microsoft Graph API. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -178,8 +220,11 @@ public RequestInformation toGetRequestInformation() { * Represents the capability for Microsoft Entra identity synchronization through the Microsoft Graph API. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -190,8 +235,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property synchronization in servicePrincipals * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull final Synchronization body) { return toPutRequestInformation(body, null); } @@ -200,8 +248,11 @@ public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull fi * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull final Synchronization body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PUT, urlTemplate, pathParameters); @@ -214,8 +265,11 @@ public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull fi * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link SynchronizationRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public SynchronizationRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new SynchronizationRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/synchronization/jobs/JobsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/synchronization/jobs/JobsRequestBuilder.java index fe6675a51ad..19d5f0f160e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/synchronization/jobs/JobsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/synchronization/jobs/JobsRequestBuilder.java @@ -27,7 +27,10 @@ public class JobsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,7 +38,10 @@ public CountRequestBuilder count() { /** * Provides operations to call the validateCredentials method. * @return a {@link ValidateCredentialsRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public ValidateCredentialsRequestBuilder validateCredentials() { return new ValidateCredentialsRequestBuilder(pathParameters, requestAdapter); @@ -44,8 +50,11 @@ public ValidateCredentialsRequestBuilder validateCredentials() { * Provides operations to manage the jobs property of the microsoft.graph.synchronization entity. * @param synchronizationJobId The unique identifier of synchronizationJob * @return a {@link SynchronizationJobItemRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public SynchronizationJobItemRequestBuilder bySynchronizationJobId(@jakarta.annotation.Nonnull final String synchronizationJobId) { Objects.requireNonNull(synchronizationJobId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -72,9 +81,12 @@ public JobsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jaka * List existing synchronizationJob objects for a given application instance (service principal). * @return a {@link SynchronizationJobCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public SynchronizationJobCollectionResponse get() { return get(null); } @@ -83,9 +95,12 @@ public SynchronizationJobCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SynchronizationJobCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public SynchronizationJobCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -97,9 +112,12 @@ public SynchronizationJobCollectionResponse get(@jakarta.annotation.Nullable fin * @param body The request body * @return a {@link SynchronizationJob} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public SynchronizationJob post(@jakarta.annotation.Nonnull final SynchronizationJob body) { return post(body, null); } @@ -109,9 +127,12 @@ public SynchronizationJob post(@jakarta.annotation.Nonnull final Synchronization * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SynchronizationJob} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public SynchronizationJob post(@jakarta.annotation.Nonnull final SynchronizationJob body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -122,8 +143,11 @@ public SynchronizationJob post(@jakarta.annotation.Nonnull final Synchronization /** * List existing synchronizationJob objects for a given application instance (service principal). * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -131,8 +155,11 @@ public RequestInformation toGetRequestInformation() { * List existing synchronizationJob objects for a given application instance (service principal). * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -143,8 +170,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create a new synchronizationJob with a default synchronization schema. The job is created in a disabled state. Call Start job to start synchronization. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final SynchronizationJob body) { return toPostRequestInformation(body, null); } @@ -153,8 +183,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final SynchronizationJob body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -167,8 +200,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link JobsRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public JobsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new JobsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/synchronization/jobs/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/synchronization/jobs/count/CountRequestBuilder.java index 05d544ac4e5..e42ae6d6214 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/synchronization/jobs/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/synchronization/jobs/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/synchronization/jobs/item/SynchronizationJobItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/synchronization/jobs/item/SynchronizationJobItemRequestBuilder.java index 4eb7e544ecb..ee6909c1a79 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/synchronization/jobs/item/SynchronizationJobItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/synchronization/jobs/item/SynchronizationJobItemRequestBuilder.java @@ -30,7 +30,10 @@ public class SynchronizationJobItemRequestBuilder extends BaseRequestBuilder { /** * Provides operations to manage the bulkUpload property of the microsoft.graph.synchronizationJob entity. * @return a {@link BulkUploadRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public BulkUploadRequestBuilder bulkUpload() { return new BulkUploadRequestBuilder(pathParameters, requestAdapter); @@ -38,7 +41,10 @@ public BulkUploadRequestBuilder bulkUpload() { /** * Provides operations to call the pause method. * @return a {@link PauseRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public PauseRequestBuilder pause() { return new PauseRequestBuilder(pathParameters, requestAdapter); @@ -46,7 +52,10 @@ public PauseRequestBuilder pause() { /** * Provides operations to call the provisionOnDemand method. * @return a {@link ProvisionOnDemandRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public ProvisionOnDemandRequestBuilder provisionOnDemand() { return new ProvisionOnDemandRequestBuilder(pathParameters, requestAdapter); @@ -54,7 +63,10 @@ public ProvisionOnDemandRequestBuilder provisionOnDemand() { /** * Provides operations to call the restart method. * @return a {@link RestartRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public RestartRequestBuilder restart() { return new RestartRequestBuilder(pathParameters, requestAdapter); @@ -62,7 +74,10 @@ public RestartRequestBuilder restart() { /** * Provides operations to manage the schema property of the microsoft.graph.synchronizationJob entity. * @return a {@link SchemaRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public SchemaRequestBuilder schema() { return new SchemaRequestBuilder(pathParameters, requestAdapter); @@ -70,7 +85,10 @@ public SchemaRequestBuilder schema() { /** * Provides operations to call the start method. * @return a {@link StartRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public StartRequestBuilder start() { return new StartRequestBuilder(pathParameters, requestAdapter); @@ -78,7 +96,10 @@ public StartRequestBuilder start() { /** * Provides operations to call the validateCredentials method. * @return a {@link ValidateCredentialsRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public ValidateCredentialsRequestBuilder validateCredentials() { return new ValidateCredentialsRequestBuilder(pathParameters, requestAdapter); @@ -102,8 +123,11 @@ public SynchronizationJobItemRequestBuilder(@jakarta.annotation.Nonnull final St /** * Stop the synchronizationJob, and permanently delete all the state associated with it. Synchronized accounts are left as-is. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ + @Deprecated public void delete() { delete(null); } @@ -111,8 +135,11 @@ public void delete() { * Stop the synchronizationJob, and permanently delete all the state associated with it. Synchronized accounts are left as-is. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -123,9 +150,12 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Retrieve an existing synchronizationJob and its properties. * @return a {@link SynchronizationJob} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public SynchronizationJob get() { return get(null); } @@ -134,9 +164,12 @@ public SynchronizationJob get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SynchronizationJob} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public SynchronizationJob get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -148,8 +181,11 @@ public SynchronizationJob get(@jakarta.annotation.Nullable final java.util.funct * @param body The request body * @return a {@link SynchronizationJob} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public SynchronizationJob patch(@jakarta.annotation.Nonnull final SynchronizationJob body) { return patch(body, null); } @@ -159,8 +195,11 @@ public SynchronizationJob patch(@jakarta.annotation.Nonnull final Synchronizatio * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SynchronizationJob} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public SynchronizationJob patch(@jakarta.annotation.Nonnull final SynchronizationJob body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -171,8 +210,11 @@ public SynchronizationJob patch(@jakarta.annotation.Nonnull final Synchronizatio /** * Stop the synchronizationJob, and permanently delete all the state associated with it. Synchronized accounts are left as-is. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -180,8 +222,11 @@ public RequestInformation toDeleteRequestInformation() { * Stop the synchronizationJob, and permanently delete all the state associated with it. Synchronized accounts are left as-is. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -191,8 +236,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Retrieve an existing synchronizationJob and its properties. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -200,8 +248,11 @@ public RequestInformation toGetRequestInformation() { * Retrieve an existing synchronizationJob and its properties. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -212,8 +263,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property jobs in servicePrincipals * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final SynchronizationJob body) { return toPatchRequestInformation(body, null); } @@ -222,8 +276,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final SynchronizationJob body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -236,8 +293,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link SynchronizationJobItemRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public SynchronizationJobItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new SynchronizationJobItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/synchronization/jobs/item/bulkupload/BulkUploadRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/synchronization/jobs/item/bulkupload/BulkUploadRequestBuilder.java index a9ca2f3fe12..adc39be1ecc 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/synchronization/jobs/item/bulkupload/BulkUploadRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/synchronization/jobs/item/bulkupload/BulkUploadRequestBuilder.java @@ -24,7 +24,10 @@ public class BulkUploadRequestBuilder extends BaseRequestBuilder { /** * Provides operations to manage the media for the servicePrincipal entity. * @return a {@link ContentRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public ContentRequestBuilder content() { return new ContentRequestBuilder(pathParameters, requestAdapter); @@ -48,7 +51,10 @@ public BulkUploadRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, /** * Delete navigation property bulkUpload for servicePrincipals * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated public void delete() { delete(null); } @@ -56,7 +62,10 @@ public void delete() { * Delete navigation property bulkUpload for servicePrincipals * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -67,8 +76,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * The bulk upload operation for the job. * @return a {@link BulkUpload} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public BulkUpload get() { return get(null); } @@ -77,8 +89,11 @@ public BulkUpload get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link BulkUpload} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public BulkUpload get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -90,8 +105,11 @@ public BulkUpload get(@jakarta.annotation.Nullable final java.util.function.Cons * @param body The request body * @return a {@link BulkUpload} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public BulkUpload patch(@jakarta.annotation.Nonnull final BulkUpload body) { return patch(body, null); } @@ -101,8 +119,11 @@ public BulkUpload patch(@jakarta.annotation.Nonnull final BulkUpload body) { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link BulkUpload} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public BulkUpload patch(@jakarta.annotation.Nonnull final BulkUpload body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -113,8 +134,11 @@ public BulkUpload patch(@jakarta.annotation.Nonnull final BulkUpload body, @jaka /** * Delete navigation property bulkUpload for servicePrincipals * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -122,8 +146,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property bulkUpload for servicePrincipals * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -133,8 +160,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * The bulk upload operation for the job. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -142,8 +172,11 @@ public RequestInformation toGetRequestInformation() { * The bulk upload operation for the job. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -154,8 +187,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property bulkUpload in servicePrincipals * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final BulkUpload body) { return toPatchRequestInformation(body, null); } @@ -164,8 +200,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final BulkUpload body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -178,8 +217,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link BulkUploadRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public BulkUploadRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new BulkUploadRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/synchronization/jobs/item/bulkupload/value/ContentRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/synchronization/jobs/item/bulkupload/value/ContentRequestBuilder.java index 5a8eb93c254..91b9e64320d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/synchronization/jobs/item/bulkupload/value/ContentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/synchronization/jobs/item/bulkupload/value/ContentRequestBuilder.java @@ -38,7 +38,10 @@ public ContentRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j /** * The bulk upload operation for the job. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated public void delete() { delete(null); } @@ -46,7 +49,10 @@ public void delete() { * The bulk upload operation for the job. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * The bulk upload operation for the job. * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public InputStream get() { return get(null); } @@ -67,8 +76,11 @@ public InputStream get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public InputStream get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -80,8 +92,11 @@ public InputStream get(@jakarta.annotation.Nullable final java.util.function.Con * @param body Binary request body * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public InputStream put(@jakarta.annotation.Nonnull final InputStream body) { return put(body, null); } @@ -91,8 +106,11 @@ public InputStream put(@jakarta.annotation.Nonnull final InputStream body) { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public InputStream put(@jakarta.annotation.Nonnull final InputStream body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPutRequestInformation(body, requestConfiguration); @@ -103,8 +121,11 @@ public InputStream put(@jakarta.annotation.Nonnull final InputStream body, @jaka /** * The bulk upload operation for the job. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -112,8 +133,11 @@ public RequestInformation toDeleteRequestInformation() { * The bulk upload operation for the job. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -123,8 +147,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * The bulk upload operation for the job. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -132,8 +159,11 @@ public RequestInformation toGetRequestInformation() { * The bulk upload operation for the job. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new); @@ -144,8 +174,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * The bulk upload operation for the job. * @param body Binary request body * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull final InputStream body) { return toPutRequestInformation(body, null); } @@ -154,8 +187,11 @@ public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull fi * @param body Binary request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull final InputStream body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PUT, urlTemplate, pathParameters); @@ -168,8 +204,11 @@ public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull fi * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ContentRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public ContentRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ContentRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/synchronization/jobs/item/pause/PauseRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/synchronization/jobs/item/pause/PauseRequestBuilder.java index faddc97e853..12336c0306a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/synchronization/jobs/item/pause/PauseRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/synchronization/jobs/item/pause/PauseRequestBuilder.java @@ -37,8 +37,11 @@ public PauseRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak /** * Temporarily stop a running synchronizationJob. All the progress, including job state, is persisted, and the job continues from where it left off when a start call is made. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * Temporarily stop a running synchronizationJob. All the progress, including job state, is persisted, and the job continues from where it left off when a start call is made. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Temporarily stop a running synchronizationJob. All the progress, including job state, is persisted, and the job continues from where it left off when a start call is made. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * Temporarily stop a running synchronizationJob. All the progress, including job state, is persisted, and the job continues from where it left off when a start call is made. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link PauseRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public PauseRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new PauseRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/synchronization/jobs/item/provisionondemand/ProvisionOnDemandRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/synchronization/jobs/item/provisionondemand/ProvisionOnDemandRequestBuilder.java index 85981e5d889..2d6d25a3c17 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/synchronization/jobs/item/provisionondemand/ProvisionOnDemandRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/synchronization/jobs/item/provisionondemand/ProvisionOnDemandRequestBuilder.java @@ -40,9 +40,12 @@ public ProvisionOnDemandRequestBuilder(@jakarta.annotation.Nonnull final String * @param body The request body * @return a {@link StringKeyStringValuePair} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public StringKeyStringValuePair post(@jakarta.annotation.Nonnull final ProvisionOnDemandPostRequestBody body) { return post(body, null); } @@ -52,9 +55,12 @@ public StringKeyStringValuePair post(@jakarta.annotation.Nonnull final Provision * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link StringKeyStringValuePair} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public StringKeyStringValuePair post(@jakarta.annotation.Nonnull final ProvisionOnDemandPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -66,8 +72,11 @@ public StringKeyStringValuePair post(@jakarta.annotation.Nonnull final Provision * Select a user and provision the account on-demand for a synchronizationJob. The rate limit for this API is 5 requests per 10 seconds. No user or group will be provisioned on-demand that would not have been provisioned through the regular provisioning cycles. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ProvisionOnDemandPostRequestBody body) { return toPostRequestInformation(body, null); } @@ -76,8 +85,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ProvisionOnDemandPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -90,8 +102,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ProvisionOnDemandRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public ProvisionOnDemandRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ProvisionOnDemandRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/synchronization/jobs/item/restart/RestartRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/synchronization/jobs/item/restart/RestartRequestBuilder.java index f203a52585c..3d75a1c7390 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/synchronization/jobs/item/restart/RestartRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/synchronization/jobs/item/restart/RestartRequestBuilder.java @@ -38,8 +38,11 @@ public RestartRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j * Restart a stopped synchronizationJob, forcing it to reprocess all the objects in the directory. Optionally clears existing the synchronization state and previous errors. * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final RestartPostRequestBody body) { post(body, null); } @@ -48,8 +51,11 @@ public void post(@jakarta.annotation.Nonnull final RestartPostRequestBody body) * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final RestartPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -61,8 +67,11 @@ public void post(@jakarta.annotation.Nonnull final RestartPostRequestBody body, * Restart a stopped synchronizationJob, forcing it to reprocess all the objects in the directory. Optionally clears existing the synchronization state and previous errors. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RestartPostRequestBody body) { return toPostRequestInformation(body, null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RestartPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -85,8 +97,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RestartRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RestartRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RestartRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/synchronization/jobs/item/schema/SchemaRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/synchronization/jobs/item/schema/SchemaRequestBuilder.java index b13b9a71964..e606dd3cf77 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/synchronization/jobs/item/schema/SchemaRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/synchronization/jobs/item/schema/SchemaRequestBuilder.java @@ -27,7 +27,10 @@ public class SchemaRequestBuilder extends BaseRequestBuilder { /** * Provides operations to manage the directories property of the microsoft.graph.synchronizationSchema entity. * @return a {@link DirectoriesRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public DirectoriesRequestBuilder directories() { return new DirectoriesRequestBuilder(pathParameters, requestAdapter); @@ -35,7 +38,10 @@ public DirectoriesRequestBuilder directories() { /** * Provides operations to call the filterOperators method. * @return a {@link FilterOperatorsRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public FilterOperatorsRequestBuilder filterOperators() { return new FilterOperatorsRequestBuilder(pathParameters, requestAdapter); @@ -43,7 +49,10 @@ public FilterOperatorsRequestBuilder filterOperators() { /** * Provides operations to call the functions method. * @return a {@link FunctionsRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public FunctionsRequestBuilder functions() { return new FunctionsRequestBuilder(pathParameters, requestAdapter); @@ -51,7 +60,10 @@ public FunctionsRequestBuilder functions() { /** * Provides operations to call the parseExpression method. * @return a {@link ParseExpressionRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public ParseExpressionRequestBuilder parseExpression() { return new ParseExpressionRequestBuilder(pathParameters, requestAdapter); @@ -75,7 +87,10 @@ public SchemaRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ja /** * Delete navigation property schema for servicePrincipals * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated public void delete() { delete(null); } @@ -83,7 +98,10 @@ public void delete() { * Delete navigation property schema for servicePrincipals * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -94,9 +112,12 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Retrieve the synchronizationSchema for a given synchronization job or template. * @return a {@link SynchronizationSchema} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public SynchronizationSchema get() { return get(null); } @@ -105,9 +126,12 @@ public SynchronizationSchema get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SynchronizationSchema} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public SynchronizationSchema get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -119,9 +143,12 @@ public SynchronizationSchema get(@jakarta.annotation.Nullable final java.util.fu * @param body The request body * @return a {@link SynchronizationSchema} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public SynchronizationSchema patch(@jakarta.annotation.Nonnull final SynchronizationSchema body) { return patch(body, null); } @@ -131,9 +158,12 @@ public SynchronizationSchema patch(@jakarta.annotation.Nonnull final Synchroniza * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SynchronizationSchema} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public SynchronizationSchema patch(@jakarta.annotation.Nonnull final SynchronizationSchema body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -144,8 +174,11 @@ public SynchronizationSchema patch(@jakarta.annotation.Nonnull final Synchroniza /** * Delete navigation property schema for servicePrincipals * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -153,8 +186,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property schema for servicePrincipals * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -164,8 +200,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Retrieve the synchronizationSchema for a given synchronization job or template. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -173,8 +212,11 @@ public RequestInformation toGetRequestInformation() { * Retrieve the synchronizationSchema for a given synchronization job or template. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -185,8 +227,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the synchronizationSchema for a given job or template. This method fully replaces the current schema with the one provided in the request. To update the schema of a template, make the call on the application object. You must be the owner of the application. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final SynchronizationSchema body) { return toPatchRequestInformation(body, null); } @@ -195,8 +240,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final SynchronizationSchema body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -209,8 +257,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link SchemaRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public SchemaRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new SchemaRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/synchronization/jobs/item/schema/directories/DirectoriesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/synchronization/jobs/item/schema/directories/DirectoriesRequestBuilder.java index f3fe2738905..40824f15aa1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/synchronization/jobs/item/schema/directories/DirectoriesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/synchronization/jobs/item/schema/directories/DirectoriesRequestBuilder.java @@ -26,7 +26,10 @@ public class DirectoriesRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the directories property of the microsoft.graph.synchronizationSchema entity. * @param directoryDefinitionId The unique identifier of directoryDefinition * @return a {@link DirectoryDefinitionItemRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public DirectoryDefinitionItemRequestBuilder byDirectoryDefinitionId(@jakarta.annotation.Nonnull final String directoryDefinitionId) { Objects.requireNonNull(directoryDefinitionId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public DirectoriesRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl * Contains the collection of directories and all of their objects. * @return a {@link DirectoryDefinitionCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public DirectoryDefinitionCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public DirectoryDefinitionCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DirectoryDefinitionCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public DirectoryDefinitionCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public DirectoryDefinitionCollectionResponse get(@jakarta.annotation.Nullable fi * @param body The request body * @return a {@link DirectoryDefinition} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public DirectoryDefinition post(@jakarta.annotation.Nonnull final DirectoryDefinition body) { return post(body, null); } @@ -97,8 +112,11 @@ public DirectoryDefinition post(@jakarta.annotation.Nonnull final DirectoryDefin * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DirectoryDefinition} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public DirectoryDefinition post(@jakarta.annotation.Nonnull final DirectoryDefinition body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public DirectoryDefinition post(@jakarta.annotation.Nonnull final DirectoryDefin /** * Contains the collection of directories and all of their objects. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Contains the collection of directories and all of their objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to directories for servicePrincipals * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DirectoryDefinition body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DirectoryDefinition body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link DirectoriesRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public DirectoriesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new DirectoriesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/synchronization/jobs/item/schema/directories/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/synchronization/jobs/item/schema/directories/count/CountRequestBuilder.java index f8020e04197..740ef6da561 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/synchronization/jobs/item/schema/directories/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/synchronization/jobs/item/schema/directories/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/synchronization/jobs/item/schema/directories/item/DirectoryDefinitionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/synchronization/jobs/item/schema/directories/item/DirectoryDefinitionItemRequestBuilder.java index b64c02cc4dc..11cc505efa5 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/synchronization/jobs/item/schema/directories/item/DirectoryDefinitionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/synchronization/jobs/item/schema/directories/item/DirectoryDefinitionItemRequestBuilder.java @@ -24,7 +24,10 @@ public class DirectoryDefinitionItemRequestBuilder extends BaseRequestBuilder { /** * Provides operations to call the discover method. * @return a {@link DiscoverRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public DiscoverRequestBuilder discover() { return new DiscoverRequestBuilder(pathParameters, requestAdapter); @@ -48,7 +51,10 @@ public DirectoryDefinitionItemRequestBuilder(@jakarta.annotation.Nonnull final S /** * Delete navigation property directories for servicePrincipals * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated public void delete() { delete(null); } @@ -56,7 +62,10 @@ public void delete() { * Delete navigation property directories for servicePrincipals * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -67,8 +76,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Contains the collection of directories and all of their objects. * @return a {@link DirectoryDefinition} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public DirectoryDefinition get() { return get(null); } @@ -77,8 +89,11 @@ public DirectoryDefinition get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DirectoryDefinition} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public DirectoryDefinition get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -90,8 +105,11 @@ public DirectoryDefinition get(@jakarta.annotation.Nullable final java.util.func * @param body The request body * @return a {@link DirectoryDefinition} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public DirectoryDefinition patch(@jakarta.annotation.Nonnull final DirectoryDefinition body) { return patch(body, null); } @@ -101,8 +119,11 @@ public DirectoryDefinition patch(@jakarta.annotation.Nonnull final DirectoryDefi * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DirectoryDefinition} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public DirectoryDefinition patch(@jakarta.annotation.Nonnull final DirectoryDefinition body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -113,8 +134,11 @@ public DirectoryDefinition patch(@jakarta.annotation.Nonnull final DirectoryDefi /** * Delete navigation property directories for servicePrincipals * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -122,8 +146,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property directories for servicePrincipals * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -133,8 +160,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Contains the collection of directories and all of their objects. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -142,8 +172,11 @@ public RequestInformation toGetRequestInformation() { * Contains the collection of directories and all of their objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -154,8 +187,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property directories in servicePrincipals * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final DirectoryDefinition body) { return toPatchRequestInformation(body, null); } @@ -164,8 +200,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final DirectoryDefinition body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -178,8 +217,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link DirectoryDefinitionItemRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public DirectoryDefinitionItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new DirectoryDefinitionItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/synchronization/jobs/item/schema/directories/item/discover/DiscoverRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/synchronization/jobs/item/schema/directories/item/discover/DiscoverRequestBuilder.java index aa1c1635448..9275a6c6603 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/synchronization/jobs/item/schema/directories/item/discover/DiscoverRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/synchronization/jobs/item/schema/directories/item/discover/DiscoverRequestBuilder.java @@ -39,9 +39,12 @@ public DiscoverRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ * Discover the latest schema for a directoryDefinition to provision to an application. * @return a {@link DirectoryDefinition} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public DirectoryDefinition post() { return post(null); } @@ -50,9 +53,12 @@ public DirectoryDefinition post() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DirectoryDefinition} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public DirectoryDefinition post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -62,8 +68,11 @@ public DirectoryDefinition post(@jakarta.annotation.Nullable final java.util.fun /** * Discover the latest schema for a directoryDefinition to provision to an application. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation() { * Discover the latest schema for a directoryDefinition to provision to an application. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -83,8 +95,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link DiscoverRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public DiscoverRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new DiscoverRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/synchronization/jobs/item/schema/filteroperators/FilterOperatorsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/synchronization/jobs/item/schema/filteroperators/FilterOperatorsRequestBuilder.java index d9d87012e6d..459bb79cf99 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/synchronization/jobs/item/schema/filteroperators/FilterOperatorsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/synchronization/jobs/item/schema/filteroperators/FilterOperatorsRequestBuilder.java @@ -39,9 +39,12 @@ public FilterOperatorsRequestBuilder(@jakarta.annotation.Nonnull final String ra * List all operators supported in the scoping filters for a synchronizationSchema. * @return a {@link FilterOperatorsGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public FilterOperatorsGetResponse get() { return get(null); } @@ -50,9 +53,12 @@ public FilterOperatorsGetResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link FilterOperatorsGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public FilterOperatorsGetResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -62,8 +68,11 @@ public FilterOperatorsGetResponse get(@jakarta.annotation.Nullable final java.ut /** * List all operators supported in the scoping filters for a synchronizationSchema. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -71,8 +80,11 @@ public RequestInformation toGetRequestInformation() { * List all operators supported in the scoping filters for a synchronizationSchema. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -83,8 +95,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link FilterOperatorsRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public FilterOperatorsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new FilterOperatorsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/synchronization/jobs/item/schema/functions/FunctionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/synchronization/jobs/item/schema/functions/FunctionsRequestBuilder.java index ab270aaa718..977621e3296 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/synchronization/jobs/item/schema/functions/FunctionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/synchronization/jobs/item/schema/functions/FunctionsRequestBuilder.java @@ -39,9 +39,12 @@ public FunctionsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, * List all the functions currently supported in the attributeMappingSource for a synchronizationSchema. * @return a {@link FunctionsGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public FunctionsGetResponse get() { return get(null); } @@ -50,9 +53,12 @@ public FunctionsGetResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link FunctionsGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public FunctionsGetResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -62,8 +68,11 @@ public FunctionsGetResponse get(@jakarta.annotation.Nullable final java.util.fun /** * List all the functions currently supported in the attributeMappingSource for a synchronizationSchema. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -71,8 +80,11 @@ public RequestInformation toGetRequestInformation() { * List all the functions currently supported in the attributeMappingSource for a synchronizationSchema. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -83,8 +95,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link FunctionsRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public FunctionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new FunctionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/synchronization/jobs/item/schema/parseexpression/ParseExpressionRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/synchronization/jobs/item/schema/parseexpression/ParseExpressionRequestBuilder.java index 6877993a24b..e65c52abcc8 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/synchronization/jobs/item/schema/parseexpression/ParseExpressionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/synchronization/jobs/item/schema/parseexpression/ParseExpressionRequestBuilder.java @@ -40,9 +40,12 @@ public ParseExpressionRequestBuilder(@jakarta.annotation.Nonnull final String ra * @param body The request body * @return a {@link ParseExpressionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public ParseExpressionResponse post(@jakarta.annotation.Nonnull final ParseExpressionPostRequestBody body) { return post(body, null); } @@ -52,9 +55,12 @@ public ParseExpressionResponse post(@jakarta.annotation.Nonnull final ParseExpre * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ParseExpressionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public ParseExpressionResponse post(@jakarta.annotation.Nonnull final ParseExpressionPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -66,8 +72,11 @@ public ParseExpressionResponse post(@jakarta.annotation.Nonnull final ParseExpre * Parse a string expression into an attributeMappingSource object for a synchronizationSchema. For more information about expressions, see Writing Expressions for Attribute Mappings in Microsoft Entra ID. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ParseExpressionPostRequestBody body) { return toPostRequestInformation(body, null); } @@ -76,8 +85,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ParseExpressionPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -90,8 +102,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ParseExpressionRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public ParseExpressionRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ParseExpressionRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/synchronization/jobs/item/start/StartRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/synchronization/jobs/item/start/StartRequestBuilder.java index 823da2c29b8..bb0999e70c7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/synchronization/jobs/item/start/StartRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/synchronization/jobs/item/start/StartRequestBuilder.java @@ -37,8 +37,11 @@ public StartRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak /** * Start an existing synchronizationJob. If the job is in a paused state, it continues processing changes from the point where it was paused. If the job is in quarantine, the quarantine status is cleared. Don't create scripts to call the start job continuously while it's running because that can cause the service to stop running. Use the start job only when the job is currently paused or in quarantine. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * Start an existing synchronizationJob. If the job is in a paused state, it continues processing changes from the point where it was paused. If the job is in quarantine, the quarantine status is cleared. Don't create scripts to call the start job continuously while it's running because that can cause the service to stop running. Use the start job only when the job is currently paused or in quarantine. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Start an existing synchronizationJob. If the job is in a paused state, it continues processing changes from the point where it was paused. If the job is in quarantine, the quarantine status is cleared. Don't create scripts to call the start job continuously while it's running because that can cause the service to stop running. Use the start job only when the job is currently paused or in quarantine. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * Start an existing synchronizationJob. If the job is in a paused state, it continues processing changes from the point where it was paused. If the job is in quarantine, the quarantine status is cleared. Don't create scripts to call the start job continuously while it's running because that can cause the service to stop running. Use the start job only when the job is currently paused or in quarantine. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link StartRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public StartRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new StartRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/synchronization/ping/PingRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/synchronization/ping/PingRequestBuilder.java index 43f3dbaceee..d0d4a3768b2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/synchronization/ping/PingRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/synchronization/ping/PingRequestBuilder.java @@ -38,8 +38,11 @@ public PingRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jaka * Invoke function Ping * @return a {@link PingGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public PingGetResponse get() { return get(null); } @@ -48,8 +51,11 @@ public PingGetResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link PingGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public PingGetResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -59,8 +65,11 @@ public PingGetResponse get(@jakarta.annotation.Nullable final java.util.function /** * Invoke function Ping * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -68,8 +77,11 @@ public RequestInformation toGetRequestInformation() { * Invoke function Ping * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new); @@ -80,8 +92,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link PingRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public PingRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new PingRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/synchronization/templates/TemplatesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/synchronization/templates/TemplatesRequestBuilder.java index f6f8e935d98..b481ec73934 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/synchronization/templates/TemplatesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/synchronization/templates/TemplatesRequestBuilder.java @@ -26,7 +26,10 @@ public class TemplatesRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the templates property of the microsoft.graph.synchronization entity. * @param synchronizationTemplateId The unique identifier of synchronizationTemplate * @return a {@link SynchronizationTemplateItemRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public SynchronizationTemplateItemRequestBuilder bySynchronizationTemplateId(@jakarta.annotation.Nonnull final String synchronizationTemplateId) { Objects.requireNonNull(synchronizationTemplateId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,9 +69,12 @@ public TemplatesRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, * List synchronizationTemplate objects associated with a given application or service principal. * @return a {@link SynchronizationTemplateCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public SynchronizationTemplateCollectionResponse get() { return get(null); } @@ -74,9 +83,12 @@ public SynchronizationTemplateCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SynchronizationTemplateCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public SynchronizationTemplateCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -88,8 +100,11 @@ public SynchronizationTemplateCollectionResponse get(@jakarta.annotation.Nullabl * @param body The request body * @return a {@link SynchronizationTemplate} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public SynchronizationTemplate post(@jakarta.annotation.Nonnull final SynchronizationTemplate body) { return post(body, null); } @@ -99,8 +114,11 @@ public SynchronizationTemplate post(@jakarta.annotation.Nonnull final Synchroniz * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SynchronizationTemplate} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public SynchronizationTemplate post(@jakarta.annotation.Nonnull final SynchronizationTemplate body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -111,8 +129,11 @@ public SynchronizationTemplate post(@jakarta.annotation.Nonnull final Synchroniz /** * List synchronizationTemplate objects associated with a given application or service principal. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -120,8 +141,11 @@ public RequestInformation toGetRequestInformation() { * List synchronizationTemplate objects associated with a given application or service principal. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -132,8 +156,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to templates for servicePrincipals * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final SynchronizationTemplate body) { return toPostRequestInformation(body, null); } @@ -142,8 +169,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final SynchronizationTemplate body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -156,8 +186,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link TemplatesRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public TemplatesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new TemplatesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/synchronization/templates/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/synchronization/templates/count/CountRequestBuilder.java index efe8fa88cf3..cd589b5c077 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/synchronization/templates/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/synchronization/templates/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/synchronization/templates/item/SynchronizationTemplateItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/synchronization/templates/item/SynchronizationTemplateItemRequestBuilder.java index 596ac0349c1..8aaa93628cd 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/synchronization/templates/item/SynchronizationTemplateItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/synchronization/templates/item/SynchronizationTemplateItemRequestBuilder.java @@ -24,7 +24,10 @@ public class SynchronizationTemplateItemRequestBuilder extends BaseRequestBuilde /** * Provides operations to manage the schema property of the microsoft.graph.synchronizationTemplate entity. * @return a {@link SchemaRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public SchemaRequestBuilder schema() { return new SchemaRequestBuilder(pathParameters, requestAdapter); @@ -48,7 +51,10 @@ public SynchronizationTemplateItemRequestBuilder(@jakarta.annotation.Nonnull fin /** * Delete navigation property templates for servicePrincipals * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated public void delete() { delete(null); } @@ -56,7 +62,10 @@ public void delete() { * Delete navigation property templates for servicePrincipals * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -67,8 +76,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Pre-configured synchronization settings for a particular application. * @return a {@link SynchronizationTemplate} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public SynchronizationTemplate get() { return get(null); } @@ -77,8 +89,11 @@ public SynchronizationTemplate get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SynchronizationTemplate} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public SynchronizationTemplate get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -90,8 +105,11 @@ public SynchronizationTemplate get(@jakarta.annotation.Nullable final java.util. * @param body The request body * @return a {@link SynchronizationTemplate} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public SynchronizationTemplate patch(@jakarta.annotation.Nonnull final SynchronizationTemplate body) { return patch(body, null); } @@ -101,8 +119,11 @@ public SynchronizationTemplate patch(@jakarta.annotation.Nonnull final Synchroni * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SynchronizationTemplate} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public SynchronizationTemplate patch(@jakarta.annotation.Nonnull final SynchronizationTemplate body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -113,8 +134,11 @@ public SynchronizationTemplate patch(@jakarta.annotation.Nonnull final Synchroni /** * Delete navigation property templates for servicePrincipals * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -122,8 +146,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property templates for servicePrincipals * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -133,8 +160,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Pre-configured synchronization settings for a particular application. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -142,8 +172,11 @@ public RequestInformation toGetRequestInformation() { * Pre-configured synchronization settings for a particular application. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -154,8 +187,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property templates in servicePrincipals * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final SynchronizationTemplate body) { return toPatchRequestInformation(body, null); } @@ -164,8 +200,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final SynchronizationTemplate body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -178,8 +217,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link SynchronizationTemplateItemRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public SynchronizationTemplateItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new SynchronizationTemplateItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/synchronization/templates/item/schema/SchemaRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/synchronization/templates/item/schema/SchemaRequestBuilder.java index f44b1c2dd8d..9773e23170f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/synchronization/templates/item/schema/SchemaRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/synchronization/templates/item/schema/SchemaRequestBuilder.java @@ -27,7 +27,10 @@ public class SchemaRequestBuilder extends BaseRequestBuilder { /** * Provides operations to manage the directories property of the microsoft.graph.synchronizationSchema entity. * @return a {@link DirectoriesRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public DirectoriesRequestBuilder directories() { return new DirectoriesRequestBuilder(pathParameters, requestAdapter); @@ -35,7 +38,10 @@ public DirectoriesRequestBuilder directories() { /** * Provides operations to call the filterOperators method. * @return a {@link FilterOperatorsRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public FilterOperatorsRequestBuilder filterOperators() { return new FilterOperatorsRequestBuilder(pathParameters, requestAdapter); @@ -43,7 +49,10 @@ public FilterOperatorsRequestBuilder filterOperators() { /** * Provides operations to call the functions method. * @return a {@link FunctionsRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public FunctionsRequestBuilder functions() { return new FunctionsRequestBuilder(pathParameters, requestAdapter); @@ -51,7 +60,10 @@ public FunctionsRequestBuilder functions() { /** * Provides operations to call the parseExpression method. * @return a {@link ParseExpressionRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public ParseExpressionRequestBuilder parseExpression() { return new ParseExpressionRequestBuilder(pathParameters, requestAdapter); @@ -75,7 +87,10 @@ public SchemaRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ja /** * Delete navigation property schema for servicePrincipals * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated public void delete() { delete(null); } @@ -83,7 +98,10 @@ public void delete() { * Delete navigation property schema for servicePrincipals * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -94,8 +112,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Default synchronization schema for the jobs based on this template. * @return a {@link SynchronizationSchema} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public SynchronizationSchema get() { return get(null); } @@ -104,8 +125,11 @@ public SynchronizationSchema get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SynchronizationSchema} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public SynchronizationSchema get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -117,8 +141,11 @@ public SynchronizationSchema get(@jakarta.annotation.Nullable final java.util.fu * @param body The request body * @return a {@link SynchronizationSchema} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public SynchronizationSchema patch(@jakarta.annotation.Nonnull final SynchronizationSchema body) { return patch(body, null); } @@ -128,8 +155,11 @@ public SynchronizationSchema patch(@jakarta.annotation.Nonnull final Synchroniza * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SynchronizationSchema} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public SynchronizationSchema patch(@jakarta.annotation.Nonnull final SynchronizationSchema body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -140,8 +170,11 @@ public SynchronizationSchema patch(@jakarta.annotation.Nonnull final Synchroniza /** * Delete navigation property schema for servicePrincipals * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -149,8 +182,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property schema for servicePrincipals * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -160,8 +196,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Default synchronization schema for the jobs based on this template. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -169,8 +208,11 @@ public RequestInformation toGetRequestInformation() { * Default synchronization schema for the jobs based on this template. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -181,8 +223,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property schema in servicePrincipals * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final SynchronizationSchema body) { return toPatchRequestInformation(body, null); } @@ -191,8 +236,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final SynchronizationSchema body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -205,8 +253,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link SchemaRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public SchemaRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new SchemaRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/synchronization/templates/item/schema/directories/DirectoriesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/synchronization/templates/item/schema/directories/DirectoriesRequestBuilder.java index 7fad94f51d5..caff994ccd9 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/synchronization/templates/item/schema/directories/DirectoriesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/synchronization/templates/item/schema/directories/DirectoriesRequestBuilder.java @@ -26,7 +26,10 @@ public class DirectoriesRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the directories property of the microsoft.graph.synchronizationSchema entity. * @param directoryDefinitionId The unique identifier of directoryDefinition * @return a {@link DirectoryDefinitionItemRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public DirectoryDefinitionItemRequestBuilder byDirectoryDefinitionId(@jakarta.annotation.Nonnull final String directoryDefinitionId) { Objects.requireNonNull(directoryDefinitionId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public DirectoriesRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl * Contains the collection of directories and all of their objects. * @return a {@link DirectoryDefinitionCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public DirectoryDefinitionCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public DirectoryDefinitionCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DirectoryDefinitionCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public DirectoryDefinitionCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public DirectoryDefinitionCollectionResponse get(@jakarta.annotation.Nullable fi * @param body The request body * @return a {@link DirectoryDefinition} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public DirectoryDefinition post(@jakarta.annotation.Nonnull final DirectoryDefinition body) { return post(body, null); } @@ -97,8 +112,11 @@ public DirectoryDefinition post(@jakarta.annotation.Nonnull final DirectoryDefin * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DirectoryDefinition} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public DirectoryDefinition post(@jakarta.annotation.Nonnull final DirectoryDefinition body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public DirectoryDefinition post(@jakarta.annotation.Nonnull final DirectoryDefin /** * Contains the collection of directories and all of their objects. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Contains the collection of directories and all of their objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to directories for servicePrincipals * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DirectoryDefinition body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DirectoryDefinition body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link DirectoriesRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public DirectoriesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new DirectoriesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/synchronization/templates/item/schema/directories/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/synchronization/templates/item/schema/directories/count/CountRequestBuilder.java index 6a48a196c80..5de76a5eda1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/synchronization/templates/item/schema/directories/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/synchronization/templates/item/schema/directories/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/synchronization/templates/item/schema/directories/item/DirectoryDefinitionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/synchronization/templates/item/schema/directories/item/DirectoryDefinitionItemRequestBuilder.java index 775c61044d7..87016d1d258 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/synchronization/templates/item/schema/directories/item/DirectoryDefinitionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/synchronization/templates/item/schema/directories/item/DirectoryDefinitionItemRequestBuilder.java @@ -24,7 +24,10 @@ public class DirectoryDefinitionItemRequestBuilder extends BaseRequestBuilder { /** * Provides operations to call the discover method. * @return a {@link DiscoverRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public DiscoverRequestBuilder discover() { return new DiscoverRequestBuilder(pathParameters, requestAdapter); @@ -48,7 +51,10 @@ public DirectoryDefinitionItemRequestBuilder(@jakarta.annotation.Nonnull final S /** * Delete navigation property directories for servicePrincipals * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated public void delete() { delete(null); } @@ -56,7 +62,10 @@ public void delete() { * Delete navigation property directories for servicePrincipals * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -67,8 +76,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Contains the collection of directories and all of their objects. * @return a {@link DirectoryDefinition} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public DirectoryDefinition get() { return get(null); } @@ -77,8 +89,11 @@ public DirectoryDefinition get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DirectoryDefinition} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public DirectoryDefinition get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -90,8 +105,11 @@ public DirectoryDefinition get(@jakarta.annotation.Nullable final java.util.func * @param body The request body * @return a {@link DirectoryDefinition} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public DirectoryDefinition patch(@jakarta.annotation.Nonnull final DirectoryDefinition body) { return patch(body, null); } @@ -101,8 +119,11 @@ public DirectoryDefinition patch(@jakarta.annotation.Nonnull final DirectoryDefi * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DirectoryDefinition} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public DirectoryDefinition patch(@jakarta.annotation.Nonnull final DirectoryDefinition body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -113,8 +134,11 @@ public DirectoryDefinition patch(@jakarta.annotation.Nonnull final DirectoryDefi /** * Delete navigation property directories for servicePrincipals * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -122,8 +146,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property directories for servicePrincipals * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -133,8 +160,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Contains the collection of directories and all of their objects. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -142,8 +172,11 @@ public RequestInformation toGetRequestInformation() { * Contains the collection of directories and all of their objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -154,8 +187,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property directories in servicePrincipals * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final DirectoryDefinition body) { return toPatchRequestInformation(body, null); } @@ -164,8 +200,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final DirectoryDefinition body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -178,8 +217,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link DirectoryDefinitionItemRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public DirectoryDefinitionItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new DirectoryDefinitionItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/synchronization/templates/item/schema/directories/item/discover/DiscoverRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/synchronization/templates/item/schema/directories/item/discover/DiscoverRequestBuilder.java index 88d1e8cde03..c702d73f337 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/synchronization/templates/item/schema/directories/item/discover/DiscoverRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/synchronization/templates/item/schema/directories/item/discover/DiscoverRequestBuilder.java @@ -39,9 +39,12 @@ public DiscoverRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ * Discover the latest schema for a directoryDefinition to provision to an application. * @return a {@link DirectoryDefinition} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public DirectoryDefinition post() { return post(null); } @@ -50,9 +53,12 @@ public DirectoryDefinition post() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DirectoryDefinition} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public DirectoryDefinition post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -62,8 +68,11 @@ public DirectoryDefinition post(@jakarta.annotation.Nullable final java.util.fun /** * Discover the latest schema for a directoryDefinition to provision to an application. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation() { * Discover the latest schema for a directoryDefinition to provision to an application. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -83,8 +95,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link DiscoverRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public DiscoverRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new DiscoverRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/synchronization/templates/item/schema/filteroperators/FilterOperatorsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/synchronization/templates/item/schema/filteroperators/FilterOperatorsRequestBuilder.java index 33cf4883202..0842253fcd1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/synchronization/templates/item/schema/filteroperators/FilterOperatorsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/synchronization/templates/item/schema/filteroperators/FilterOperatorsRequestBuilder.java @@ -39,9 +39,12 @@ public FilterOperatorsRequestBuilder(@jakarta.annotation.Nonnull final String ra * List all operators supported in the scoping filters for a synchronizationSchema. * @return a {@link FilterOperatorsGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public FilterOperatorsGetResponse get() { return get(null); } @@ -50,9 +53,12 @@ public FilterOperatorsGetResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link FilterOperatorsGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public FilterOperatorsGetResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -62,8 +68,11 @@ public FilterOperatorsGetResponse get(@jakarta.annotation.Nullable final java.ut /** * List all operators supported in the scoping filters for a synchronizationSchema. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -71,8 +80,11 @@ public RequestInformation toGetRequestInformation() { * List all operators supported in the scoping filters for a synchronizationSchema. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -83,8 +95,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link FilterOperatorsRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public FilterOperatorsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new FilterOperatorsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/synchronization/templates/item/schema/functions/FunctionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/synchronization/templates/item/schema/functions/FunctionsRequestBuilder.java index a51bded71e7..312f7b04bf1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/synchronization/templates/item/schema/functions/FunctionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/synchronization/templates/item/schema/functions/FunctionsRequestBuilder.java @@ -39,9 +39,12 @@ public FunctionsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, * List all the functions currently supported in the attributeMappingSource for a synchronizationSchema. * @return a {@link FunctionsGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public FunctionsGetResponse get() { return get(null); } @@ -50,9 +53,12 @@ public FunctionsGetResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link FunctionsGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public FunctionsGetResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -62,8 +68,11 @@ public FunctionsGetResponse get(@jakarta.annotation.Nullable final java.util.fun /** * List all the functions currently supported in the attributeMappingSource for a synchronizationSchema. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -71,8 +80,11 @@ public RequestInformation toGetRequestInformation() { * List all the functions currently supported in the attributeMappingSource for a synchronizationSchema. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -83,8 +95,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link FunctionsRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public FunctionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new FunctionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/synchronization/templates/item/schema/parseexpression/ParseExpressionRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/synchronization/templates/item/schema/parseexpression/ParseExpressionRequestBuilder.java index ead121b96f9..7d5f8168e85 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/synchronization/templates/item/schema/parseexpression/ParseExpressionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/synchronization/templates/item/schema/parseexpression/ParseExpressionRequestBuilder.java @@ -40,9 +40,12 @@ public ParseExpressionRequestBuilder(@jakarta.annotation.Nonnull final String ra * @param body The request body * @return a {@link ParseExpressionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public ParseExpressionResponse post(@jakarta.annotation.Nonnull final ParseExpressionPostRequestBody body) { return post(body, null); } @@ -52,9 +55,12 @@ public ParseExpressionResponse post(@jakarta.annotation.Nonnull final ParseExpre * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ParseExpressionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public ParseExpressionResponse post(@jakarta.annotation.Nonnull final ParseExpressionPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -66,8 +72,11 @@ public ParseExpressionResponse post(@jakarta.annotation.Nonnull final ParseExpre * Parse a string expression into an attributeMappingSource object for a synchronizationSchema. For more information about expressions, see Writing Expressions for Attribute Mappings in Microsoft Entra ID. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ParseExpressionPostRequestBody body) { return toPostRequestInformation(body, null); } @@ -76,8 +85,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ParseExpressionPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -90,8 +102,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ParseExpressionRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public ParseExpressionRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ParseExpressionRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/tokenissuancepolicies/TokenIssuancePoliciesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/tokenissuancepolicies/TokenIssuancePoliciesRequestBuilder.java index b3e7b596b6c..78b494b2fb9 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/tokenissuancepolicies/TokenIssuancePoliciesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/tokenissuancepolicies/TokenIssuancePoliciesRequestBuilder.java @@ -26,7 +26,10 @@ public class TokenIssuancePoliciesRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -34,7 +37,10 @@ public CountRequestBuilder count() { /** * Provides operations to manage the collection of servicePrincipal entities. * @return a {@link RefRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public RefRequestBuilder ref() { return new RefRequestBuilder(pathParameters, requestAdapter); @@ -71,8 +77,11 @@ public TokenIssuancePoliciesRequestBuilder(@jakarta.annotation.Nonnull final Str * The tokenIssuancePolicies assigned to this service principal. Supports $expand. * @return a {@link TokenIssuancePolicyCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public TokenIssuancePolicyCollectionResponse get() { return get(null); } @@ -81,8 +90,11 @@ public TokenIssuancePolicyCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link TokenIssuancePolicyCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public TokenIssuancePolicyCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -92,8 +104,11 @@ public TokenIssuancePolicyCollectionResponse get(@jakarta.annotation.Nullable fi /** * The tokenIssuancePolicies assigned to this service principal. Supports $expand. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -101,8 +116,11 @@ public RequestInformation toGetRequestInformation() { * The tokenIssuancePolicies assigned to this service principal. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -113,8 +131,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link TokenIssuancePoliciesRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public TokenIssuancePoliciesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new TokenIssuancePoliciesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/tokenissuancepolicies/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/tokenissuancepolicies/count/CountRequestBuilder.java index 6842ac08f41..58884460b30 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/tokenissuancepolicies/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/tokenissuancepolicies/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/tokenissuancepolicies/item/ref/RefRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/tokenissuancepolicies/item/ref/RefRequestBuilder.java index c565e15c506..f5b909f5951 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/tokenissuancepolicies/item/ref/RefRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/tokenissuancepolicies/item/ref/RefRequestBuilder.java @@ -37,7 +37,10 @@ public RefRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakar /** * Delete ref of navigation property tokenIssuancePolicies for servicePrincipals * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated public void delete() { delete(null); } @@ -45,7 +48,10 @@ public void delete() { * Delete ref of navigation property tokenIssuancePolicies for servicePrincipals * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -55,8 +61,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume /** * Delete ref of navigation property tokenIssuancePolicies for servicePrincipals * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -64,8 +73,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete ref of navigation property tokenIssuancePolicies for servicePrincipals * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -76,8 +88,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RefRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RefRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RefRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/tokenissuancepolicies/ref/RefRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/tokenissuancepolicies/ref/RefRequestBuilder.java index 5490dfaf4bb..b4d4bbee72e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/tokenissuancepolicies/ref/RefRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/tokenissuancepolicies/ref/RefRequestBuilder.java @@ -40,7 +40,10 @@ public RefRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakar /** * Delete ref of navigation property tokenIssuancePolicies for servicePrincipals * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated public void delete() { delete(null); } @@ -48,7 +51,10 @@ public void delete() { * Delete ref of navigation property tokenIssuancePolicies for servicePrincipals * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -59,8 +65,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * The tokenIssuancePolicies assigned to this service principal. Supports $expand. * @return a {@link StringCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public StringCollectionResponse get() { return get(null); } @@ -69,8 +78,11 @@ public StringCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link StringCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public StringCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -81,7 +93,10 @@ public StringCollectionResponse get(@jakarta.annotation.Nullable final java.util * Create new navigation property ref to tokenIssuancePolicies for servicePrincipals * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated public void post(@jakarta.annotation.Nonnull final ReferenceCreate body) { post(body, null); } @@ -90,7 +105,10 @@ public void post(@jakarta.annotation.Nonnull final ReferenceCreate body) { * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated public void post(@jakarta.annotation.Nonnull final ReferenceCreate body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -101,8 +119,11 @@ public void post(@jakarta.annotation.Nonnull final ReferenceCreate body, @jakart /** * Delete ref of navigation property tokenIssuancePolicies for servicePrincipals * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -110,8 +131,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete ref of navigation property tokenIssuancePolicies for servicePrincipals * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/tokenIssuancePolicies/$ref?@id={%40id}", pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new, x -> x.queryParameters); @@ -121,8 +145,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * The tokenIssuancePolicies assigned to this service principal. Supports $expand. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -130,8 +157,11 @@ public RequestInformation toGetRequestInformation() { * The tokenIssuancePolicies assigned to this service principal. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -142,8 +172,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property ref to tokenIssuancePolicies for servicePrincipals * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ReferenceCreate body) { return toPostRequestInformation(body, null); } @@ -152,8 +185,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ReferenceCreate body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -166,8 +202,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RefRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RefRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RefRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/tokenlifetimepolicies/TokenLifetimePoliciesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/tokenlifetimepolicies/TokenLifetimePoliciesRequestBuilder.java index eeecf2749fd..4de559dcbea 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/tokenlifetimepolicies/TokenLifetimePoliciesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/tokenlifetimepolicies/TokenLifetimePoliciesRequestBuilder.java @@ -26,7 +26,10 @@ public class TokenLifetimePoliciesRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -34,7 +37,10 @@ public CountRequestBuilder count() { /** * Provides operations to manage the collection of servicePrincipal entities. * @return a {@link RefRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public RefRequestBuilder ref() { return new RefRequestBuilder(pathParameters, requestAdapter); @@ -71,9 +77,12 @@ public TokenLifetimePoliciesRequestBuilder(@jakarta.annotation.Nonnull final Str * List the tokenLifetimePolicy objects that are assigned to a servicePrincipal. Only one object is returned in the collection because only one tokenLifetimePolicy can be assigned to a service principal. * @return a {@link TokenLifetimePolicyCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public TokenLifetimePolicyCollectionResponse get() { return get(null); } @@ -82,9 +91,12 @@ public TokenLifetimePolicyCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link TokenLifetimePolicyCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public TokenLifetimePolicyCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -94,8 +106,11 @@ public TokenLifetimePolicyCollectionResponse get(@jakarta.annotation.Nullable fi /** * List the tokenLifetimePolicy objects that are assigned to a servicePrincipal. Only one object is returned in the collection because only one tokenLifetimePolicy can be assigned to a service principal. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -103,8 +118,11 @@ public RequestInformation toGetRequestInformation() { * List the tokenLifetimePolicy objects that are assigned to a servicePrincipal. Only one object is returned in the collection because only one tokenLifetimePolicy can be assigned to a service principal. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -115,8 +133,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link TokenLifetimePoliciesRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public TokenLifetimePoliciesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new TokenLifetimePoliciesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/tokenlifetimepolicies/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/tokenlifetimepolicies/count/CountRequestBuilder.java index 74243f55484..36e98aa441f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/tokenlifetimepolicies/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/tokenlifetimepolicies/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/tokenlifetimepolicies/item/ref/RefRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/tokenlifetimepolicies/item/ref/RefRequestBuilder.java index 9436467c51b..bd8a6134012 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/tokenlifetimepolicies/item/ref/RefRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/tokenlifetimepolicies/item/ref/RefRequestBuilder.java @@ -37,8 +37,11 @@ public RefRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakar /** * Remove a tokenLifetimePolicy object from a service principal. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ + @Deprecated public void delete() { delete(null); } @@ -46,8 +49,11 @@ public void delete() { * Remove a tokenLifetimePolicy object from a service principal. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume /** * Remove a tokenLifetimePolicy object from a service principal. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toDeleteRequestInformation() { * Remove a tokenLifetimePolicy object from a service principal. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RefRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RefRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RefRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/tokenlifetimepolicies/ref/RefRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/tokenlifetimepolicies/ref/RefRequestBuilder.java index b55182859b7..72d0669939e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/tokenlifetimepolicies/ref/RefRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/tokenlifetimepolicies/ref/RefRequestBuilder.java @@ -40,8 +40,11 @@ public RefRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakar /** * Remove a tokenLifetimePolicy object from a service principal. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ + @Deprecated public void delete() { delete(null); } @@ -49,8 +52,11 @@ public void delete() { * Remove a tokenLifetimePolicy object from a service principal. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,9 +67,12 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * List the tokenLifetimePolicy objects that are assigned to a servicePrincipal. Only one object is returned in the collection because only one tokenLifetimePolicy can be assigned to a service principal. * @return a {@link StringCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public StringCollectionResponse get() { return get(null); } @@ -72,9 +81,12 @@ public StringCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link StringCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public StringCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -85,8 +97,11 @@ public StringCollectionResponse get(@jakarta.annotation.Nullable final java.util * Assign a tokenLifetimePolicy to a servicePrincipal. You can have multiple tokenLifetimePolicy policies in a tenant but can assign only one tokenLifetimePolicy per service principal. * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final ReferenceCreate body) { post(body, null); } @@ -95,8 +110,11 @@ public void post(@jakarta.annotation.Nonnull final ReferenceCreate body) { * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final ReferenceCreate body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -107,8 +125,11 @@ public void post(@jakarta.annotation.Nonnull final ReferenceCreate body, @jakart /** * Remove a tokenLifetimePolicy object from a service principal. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -116,8 +137,11 @@ public RequestInformation toDeleteRequestInformation() { * Remove a tokenLifetimePolicy object from a service principal. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/tokenLifetimePolicies/$ref?@id={%40id}", pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new, x -> x.queryParameters); @@ -127,8 +151,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * List the tokenLifetimePolicy objects that are assigned to a servicePrincipal. Only one object is returned in the collection because only one tokenLifetimePolicy can be assigned to a service principal. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -136,8 +163,11 @@ public RequestInformation toGetRequestInformation() { * List the tokenLifetimePolicy objects that are assigned to a servicePrincipal. Only one object is returned in the collection because only one tokenLifetimePolicy can be assigned to a service principal. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -148,8 +178,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Assign a tokenLifetimePolicy to a servicePrincipal. You can have multiple tokenLifetimePolicy policies in a tenant but can assign only one tokenLifetimePolicy per service principal. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ReferenceCreate body) { return toPostRequestInformation(body, null); } @@ -158,8 +191,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ReferenceCreate body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -172,8 +208,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RefRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RefRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RefRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/transitivememberof/TransitiveMemberOfRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/transitivememberof/TransitiveMemberOfRequestBuilder.java index 8ba5ed232ad..c644c23d4bc 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/transitivememberof/TransitiveMemberOfRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/transitivememberof/TransitiveMemberOfRequestBuilder.java @@ -28,7 +28,10 @@ public class TransitiveMemberOfRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -36,7 +39,10 @@ public CountRequestBuilder count() { /** * Casts the previous resource to administrativeUnit. * @return a {@link GraphAdministrativeUnitRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public GraphAdministrativeUnitRequestBuilder graphAdministrativeUnit() { return new GraphAdministrativeUnitRequestBuilder(pathParameters, requestAdapter); @@ -44,7 +50,10 @@ public GraphAdministrativeUnitRequestBuilder graphAdministrativeUnit() { /** * Casts the previous resource to directoryRole. * @return a {@link GraphDirectoryRoleRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public GraphDirectoryRoleRequestBuilder graphDirectoryRole() { return new GraphDirectoryRoleRequestBuilder(pathParameters, requestAdapter); @@ -52,7 +61,10 @@ public GraphDirectoryRoleRequestBuilder graphDirectoryRole() { /** * Casts the previous resource to group. * @return a {@link GraphGroupRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public GraphGroupRequestBuilder graphGroup() { return new GraphGroupRequestBuilder(pathParameters, requestAdapter); @@ -61,8 +73,11 @@ public GraphGroupRequestBuilder graphGroup() { * Provides operations to manage the transitiveMemberOf property of the microsoft.graph.servicePrincipal entity. * @param directoryObjectId The unique identifier of directoryObject * @return a {@link DirectoryObjectItemRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public DirectoryObjectItemRequestBuilder byDirectoryObjectId(@jakarta.annotation.Nonnull final String directoryObjectId) { Objects.requireNonNull(directoryObjectId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -89,9 +104,12 @@ public TransitiveMemberOfRequestBuilder(@jakarta.annotation.Nonnull final String * Get the groups and directory roles that this servicePrincipal is a member of. This operation is transitive and will include all groups that this service principal is a nested member of. * @return a {@link DirectoryObjectCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public DirectoryObjectCollectionResponse get() { return get(null); } @@ -100,9 +118,12 @@ public DirectoryObjectCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DirectoryObjectCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public DirectoryObjectCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -112,8 +133,11 @@ public DirectoryObjectCollectionResponse get(@jakarta.annotation.Nullable final /** * Get the groups and directory roles that this servicePrincipal is a member of. This operation is transitive and will include all groups that this service principal is a nested member of. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -121,8 +145,11 @@ public RequestInformation toGetRequestInformation() { * Get the groups and directory roles that this servicePrincipal is a member of. This operation is transitive and will include all groups that this service principal is a nested member of. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -133,8 +160,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link TransitiveMemberOfRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public TransitiveMemberOfRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new TransitiveMemberOfRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/transitivememberof/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/transitivememberof/count/CountRequestBuilder.java index 2b780cd61d8..eb929f98510 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/transitivememberof/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/transitivememberof/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/transitivememberof/graphadministrativeunit/GraphAdministrativeUnitRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/transitivememberof/graphadministrativeunit/GraphAdministrativeUnitRequestBuilder.java index 82d514ac416..4566bc91583 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/transitivememberof/graphadministrativeunit/GraphAdministrativeUnitRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/transitivememberof/graphadministrativeunit/GraphAdministrativeUnitRequestBuilder.java @@ -24,7 +24,10 @@ public class GraphAdministrativeUnitRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -49,8 +52,11 @@ public GraphAdministrativeUnitRequestBuilder(@jakarta.annotation.Nonnull final S * Get the items of type microsoft.graph.administrativeUnit in the microsoft.graph.directoryObject collection * @return a {@link AdministrativeUnitCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public AdministrativeUnitCollectionResponse get() { return get(null); } @@ -59,8 +65,11 @@ public AdministrativeUnitCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AdministrativeUnitCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public AdministrativeUnitCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -70,8 +79,11 @@ public AdministrativeUnitCollectionResponse get(@jakarta.annotation.Nullable fin /** * Get the items of type microsoft.graph.administrativeUnit in the microsoft.graph.directoryObject collection * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -79,8 +91,11 @@ public RequestInformation toGetRequestInformation() { * Get the items of type microsoft.graph.administrativeUnit in the microsoft.graph.directoryObject collection * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -91,8 +106,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link GraphAdministrativeUnitRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public GraphAdministrativeUnitRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new GraphAdministrativeUnitRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/transitivememberof/graphadministrativeunit/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/transitivememberof/graphadministrativeunit/count/CountRequestBuilder.java index 5d584c4bb09..ed3e8161724 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/transitivememberof/graphadministrativeunit/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/transitivememberof/graphadministrativeunit/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/transitivememberof/graphdirectoryrole/GraphDirectoryRoleRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/transitivememberof/graphdirectoryrole/GraphDirectoryRoleRequestBuilder.java index 195162e86cb..afdb81fb4a3 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/transitivememberof/graphdirectoryrole/GraphDirectoryRoleRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/transitivememberof/graphdirectoryrole/GraphDirectoryRoleRequestBuilder.java @@ -24,7 +24,10 @@ public class GraphDirectoryRoleRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -49,8 +52,11 @@ public GraphDirectoryRoleRequestBuilder(@jakarta.annotation.Nonnull final String * Get the items of type microsoft.graph.directoryRole in the microsoft.graph.directoryObject collection * @return a {@link DirectoryRoleCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public DirectoryRoleCollectionResponse get() { return get(null); } @@ -59,8 +65,11 @@ public DirectoryRoleCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DirectoryRoleCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public DirectoryRoleCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -70,8 +79,11 @@ public DirectoryRoleCollectionResponse get(@jakarta.annotation.Nullable final ja /** * Get the items of type microsoft.graph.directoryRole in the microsoft.graph.directoryObject collection * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -79,8 +91,11 @@ public RequestInformation toGetRequestInformation() { * Get the items of type microsoft.graph.directoryRole in the microsoft.graph.directoryObject collection * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -91,8 +106,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link GraphDirectoryRoleRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public GraphDirectoryRoleRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new GraphDirectoryRoleRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/transitivememberof/graphdirectoryrole/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/transitivememberof/graphdirectoryrole/count/CountRequestBuilder.java index e01cfa94a04..7381a3545db 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/transitivememberof/graphdirectoryrole/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/transitivememberof/graphdirectoryrole/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/transitivememberof/graphgroup/GraphGroupRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/transitivememberof/graphgroup/GraphGroupRequestBuilder.java index dad2408753b..aa759b7aef7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/transitivememberof/graphgroup/GraphGroupRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/transitivememberof/graphgroup/GraphGroupRequestBuilder.java @@ -24,7 +24,10 @@ public class GraphGroupRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -49,8 +52,11 @@ public GraphGroupRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, * Get the items of type microsoft.graph.group in the microsoft.graph.directoryObject collection * @return a {@link GroupCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public GroupCollectionResponse get() { return get(null); } @@ -59,8 +65,11 @@ public GroupCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GroupCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public GroupCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -70,8 +79,11 @@ public GroupCollectionResponse get(@jakarta.annotation.Nullable final java.util. /** * Get the items of type microsoft.graph.group in the microsoft.graph.directoryObject collection * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -79,8 +91,11 @@ public RequestInformation toGetRequestInformation() { * Get the items of type microsoft.graph.group in the microsoft.graph.directoryObject collection * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -91,8 +106,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link GraphGroupRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public GraphGroupRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new GraphGroupRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/transitivememberof/graphgroup/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/transitivememberof/graphgroup/count/CountRequestBuilder.java index 6c0aee231f8..da2dc1761c7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/transitivememberof/graphgroup/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/transitivememberof/graphgroup/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/transitivememberof/item/DirectoryObjectItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/transitivememberof/item/DirectoryObjectItemRequestBuilder.java index 3e3d66ee430..3079239024d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/transitivememberof/item/DirectoryObjectItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/transitivememberof/item/DirectoryObjectItemRequestBuilder.java @@ -26,7 +26,10 @@ public class DirectoryObjectItemRequestBuilder extends BaseRequestBuilder { /** * Casts the previous resource to administrativeUnit. * @return a {@link GraphAdministrativeUnitRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public GraphAdministrativeUnitRequestBuilder graphAdministrativeUnit() { return new GraphAdministrativeUnitRequestBuilder(pathParameters, requestAdapter); @@ -34,7 +37,10 @@ public GraphAdministrativeUnitRequestBuilder graphAdministrativeUnit() { /** * Casts the previous resource to directoryRole. * @return a {@link GraphDirectoryRoleRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public GraphDirectoryRoleRequestBuilder graphDirectoryRole() { return new GraphDirectoryRoleRequestBuilder(pathParameters, requestAdapter); @@ -42,7 +48,10 @@ public GraphDirectoryRoleRequestBuilder graphDirectoryRole() { /** * Casts the previous resource to group. * @return a {@link GraphGroupRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ + @Deprecated @jakarta.annotation.Nonnull public GraphGroupRequestBuilder graphGroup() { return new GraphGroupRequestBuilder(pathParameters, requestAdapter); @@ -67,8 +76,11 @@ public DirectoryObjectItemRequestBuilder(@jakarta.annotation.Nonnull final Strin * Get transitiveMemberOf from servicePrincipals * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public DirectoryObject get() { return get(null); } @@ -77,8 +89,11 @@ public DirectoryObject get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public DirectoryObject get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -88,8 +103,11 @@ public DirectoryObject get(@jakarta.annotation.Nullable final java.util.function /** * Get transitiveMemberOf from servicePrincipals * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -97,8 +115,11 @@ public RequestInformation toGetRequestInformation() { * Get transitiveMemberOf from servicePrincipals * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -109,8 +130,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link DirectoryObjectItemRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public DirectoryObjectItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new DirectoryObjectItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/transitivememberof/item/graphadministrativeunit/GraphAdministrativeUnitRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/transitivememberof/item/graphadministrativeunit/GraphAdministrativeUnitRequestBuilder.java index e795f18a185..0e4c60a8766 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/transitivememberof/item/graphadministrativeunit/GraphAdministrativeUnitRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/transitivememberof/item/graphadministrativeunit/GraphAdministrativeUnitRequestBuilder.java @@ -40,8 +40,11 @@ public GraphAdministrativeUnitRequestBuilder(@jakarta.annotation.Nonnull final S * Get the item of type microsoft.graph.directoryObject as microsoft.graph.administrativeUnit * @return a {@link AdministrativeUnit} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public AdministrativeUnit get() { return get(null); } @@ -50,8 +53,11 @@ public AdministrativeUnit get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AdministrativeUnit} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public AdministrativeUnit get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public AdministrativeUnit get(@jakarta.annotation.Nullable final java.util.funct /** * Get the item of type microsoft.graph.directoryObject as microsoft.graph.administrativeUnit * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * Get the item of type microsoft.graph.directoryObject as microsoft.graph.administrativeUnit * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link GraphAdministrativeUnitRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public GraphAdministrativeUnitRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new GraphAdministrativeUnitRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/transitivememberof/item/graphdirectoryrole/GraphDirectoryRoleRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/transitivememberof/item/graphdirectoryrole/GraphDirectoryRoleRequestBuilder.java index f947073cad4..afc7024401e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/transitivememberof/item/graphdirectoryrole/GraphDirectoryRoleRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/transitivememberof/item/graphdirectoryrole/GraphDirectoryRoleRequestBuilder.java @@ -40,8 +40,11 @@ public GraphDirectoryRoleRequestBuilder(@jakarta.annotation.Nonnull final String * Get the item of type microsoft.graph.directoryObject as microsoft.graph.directoryRole * @return a {@link DirectoryRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public DirectoryRole get() { return get(null); } @@ -50,8 +53,11 @@ public DirectoryRole get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DirectoryRole} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public DirectoryRole get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public DirectoryRole get(@jakarta.annotation.Nullable final java.util.function.C /** * Get the item of type microsoft.graph.directoryObject as microsoft.graph.directoryRole * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * Get the item of type microsoft.graph.directoryObject as microsoft.graph.directoryRole * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link GraphDirectoryRoleRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public GraphDirectoryRoleRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new GraphDirectoryRoleRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/transitivememberof/item/graphgroup/GraphGroupRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/transitivememberof/item/graphgroup/GraphGroupRequestBuilder.java index 0b121e3eb38..e57f3c89ad5 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/transitivememberof/item/graphgroup/GraphGroupRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/transitivememberof/item/graphgroup/GraphGroupRequestBuilder.java @@ -40,8 +40,11 @@ public GraphGroupRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, * Get the item of type microsoft.graph.directoryObject as microsoft.graph.group * @return a {@link Group} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public Group get() { return get(null); } @@ -50,8 +53,11 @@ public Group get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Group} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nullable + @Deprecated public Group get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public Group get(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Get the item of type microsoft.graph.directoryObject as microsoft.graph.group * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * Get the item of type microsoft.graph.directoryObject as microsoft.graph.group * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link GraphGroupRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public GraphGroupRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new GraphGroupRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/updatepasswordsinglesignoncredentials/UpdatePasswordSingleSignOnCredentialsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/updatepasswordsinglesignoncredentials/UpdatePasswordSingleSignOnCredentialsRequestBuilder.java index 0765f2d3183..e01fc0c0d79 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/updatepasswordsinglesignoncredentials/UpdatePasswordSingleSignOnCredentialsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/updatepasswordsinglesignoncredentials/UpdatePasswordSingleSignOnCredentialsRequestBuilder.java @@ -38,8 +38,11 @@ public UpdatePasswordSingleSignOnCredentialsRequestBuilder(@jakarta.annotation.N * Update single sign-on credentials using a password for a user or group. * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final UpdatePasswordSingleSignOnCredentialsPostRequestBody body) { post(body, null); } @@ -48,8 +51,11 @@ public void post(@jakarta.annotation.Nonnull final UpdatePasswordSingleSignOnCre * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final UpdatePasswordSingleSignOnCredentialsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -61,8 +67,11 @@ public void post(@jakarta.annotation.Nonnull final UpdatePasswordSingleSignOnCre * Update single sign-on credentials using a password for a user or group. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final UpdatePasswordSingleSignOnCredentialsPostRequestBody body) { return toPostRequestInformation(body, null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final UpdatePasswordSingleSignOnCredentialsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -85,8 +97,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link UpdatePasswordSingleSignOnCredentialsRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public UpdatePasswordSingleSignOnCredentialsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new UpdatePasswordSingleSignOnCredentialsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/validateproperties/ValidatePropertiesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/validateproperties/ValidatePropertiesRequestBuilder.java index d15734c2314..5b7a669630b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/validateproperties/ValidatePropertiesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/validateproperties/ValidatePropertiesRequestBuilder.java @@ -38,8 +38,11 @@ public ValidatePropertiesRequestBuilder(@jakarta.annotation.Nonnull final String * Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. For validating properties of an existing group, use the validateProperties function for groups. The following validations are performed for the display name and mail nickname properties:1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate the mail nickname is unique This API returns with the first failure encountered. If one or more properties fail multiple validations, only the property with the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you're only validating the prefix and suffix naming policy. * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final ValidatePropertiesPostRequestBody body) { post(body, null); } @@ -48,8 +51,11 @@ public void post(@jakarta.annotation.Nonnull final ValidatePropertiesPostRequest * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final ValidatePropertiesPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -61,8 +67,11 @@ public void post(@jakarta.annotation.Nonnull final ValidatePropertiesPostRequest * Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. For validating properties of an existing group, use the validateProperties function for groups. The following validations are performed for the display name and mail nickname properties:1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate the mail nickname is unique This API returns with the first failure encountered. If one or more properties fail multiple validations, only the property with the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you're only validating the prefix and suffix naming policy. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ValidatePropertiesPostRequestBody body) { return toPostRequestInformation(body, null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ValidatePropertiesPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -85,8 +97,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ValidatePropertiesRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public ValidatePropertiesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ValidatePropertiesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipalswithappid/ServicePrincipalsWithAppIdRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipalswithappid/ServicePrincipalsWithAppIdRequestBuilder.java index b36b2e221e3..728aec3f2a5 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipalswithappid/ServicePrincipalsWithAppIdRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipalswithappid/ServicePrincipalsWithAppIdRequestBuilder.java @@ -41,8 +41,11 @@ public ServicePrincipalsWithAppIdRequestBuilder(@jakarta.annotation.Nonnull fina /** * Delete a servicePrincipal object. This API can also delete an agentIdentityBlueprintPrincipal object by its ID. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ + @Deprecated public void delete() { delete(null); } @@ -50,8 +53,11 @@ public void delete() { * Delete a servicePrincipal object. This API can also delete an agentIdentityBlueprintPrincipal object by its ID. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -62,9 +68,12 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Retrieve the properties and relationships of a servicePrincipal object. This API can be used to get agentIdentityBlueprintPrincipal objects as well by their ID. * @return a {@link ServicePrincipal} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public ServicePrincipal get() { return get(null); } @@ -73,9 +82,12 @@ public ServicePrincipal get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ServicePrincipal} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public ServicePrincipal get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -87,9 +99,12 @@ public ServicePrincipal get(@jakarta.annotation.Nullable final java.util.functio * @param body The request body * @return a {@link ServicePrincipal} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public ServicePrincipal patch(@jakarta.annotation.Nonnull final ServicePrincipal body) { return patch(body, null); } @@ -99,9 +114,12 @@ public ServicePrincipal patch(@jakarta.annotation.Nonnull final ServicePrincipal * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ServicePrincipal} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public ServicePrincipal patch(@jakarta.annotation.Nonnull final ServicePrincipal body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -112,8 +130,11 @@ public ServicePrincipal patch(@jakarta.annotation.Nonnull final ServicePrincipal /** * Delete a servicePrincipal object. This API can also delete an agentIdentityBlueprintPrincipal object by its ID. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -121,8 +142,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete a servicePrincipal object. This API can also delete an agentIdentityBlueprintPrincipal object by its ID. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -132,8 +156,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Retrieve the properties and relationships of a servicePrincipal object. This API can be used to get agentIdentityBlueprintPrincipal objects as well by their ID. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -141,8 +168,11 @@ public RequestInformation toGetRequestInformation() { * Retrieve the properties and relationships of a servicePrincipal object. This API can be used to get agentIdentityBlueprintPrincipal objects as well by their ID. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -153,8 +183,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create a new servicePrincipal object if it doesn't exist, or update the properties of an existing servicePrincipal object. This API can also create an agentIdentityBlueprintPrincipal object from an agentIdentityBlueprint if it doesn't exist, or update properties of an existing agentIdentityBlueprintPrincipal, when the @odata.type property is set to #microsoft.graph.agentIdentityBlueprintPrincipal. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final ServicePrincipal body) { return toPatchRequestInformation(body, null); } @@ -163,8 +196,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final ServicePrincipal body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -177,8 +213,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ServicePrincipalsWithAppIdRequestBuilder} + * @deprecated + * Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01 */ @jakarta.annotation.Nonnull + @Deprecated public ServicePrincipalsWithAppIdRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ServicePrincipalsWithAppIdRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/SolutionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/SolutionsRequestBuilder.java index c272683821f..e1a98408c4d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/SolutionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/SolutionsRequestBuilder.java @@ -32,7 +32,10 @@ public class SolutionsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to manage the approval property of the microsoft.graph.solutionsRoot entity. * @return a {@link ApprovalRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public ApprovalRequestBuilder approval() { return new ApprovalRequestBuilder(pathParameters, requestAdapter); @@ -40,7 +43,10 @@ public ApprovalRequestBuilder approval() { /** * Provides operations to manage the backupRestore property of the microsoft.graph.solutionsRoot entity. * @return a {@link BackupRestoreRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public BackupRestoreRequestBuilder backupRestore() { return new BackupRestoreRequestBuilder(pathParameters, requestAdapter); @@ -48,7 +54,10 @@ public BackupRestoreRequestBuilder backupRestore() { /** * Provides operations to manage the bookingBusinesses property of the microsoft.graph.solutionsRoot entity. * @return a {@link BookingBusinessesRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public BookingBusinessesRequestBuilder bookingBusinesses() { return new BookingBusinessesRequestBuilder(pathParameters, requestAdapter); @@ -56,7 +65,10 @@ public BookingBusinessesRequestBuilder bookingBusinesses() { /** * Provides operations to manage the bookingCurrencies property of the microsoft.graph.solutionsRoot entity. * @return a {@link BookingCurrenciesRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public BookingCurrenciesRequestBuilder bookingCurrencies() { return new BookingCurrenciesRequestBuilder(pathParameters, requestAdapter); @@ -64,7 +76,10 @@ public BookingCurrenciesRequestBuilder bookingCurrencies() { /** * Provides operations to manage the businessScenarios property of the microsoft.graph.solutionsRoot entity. * @return a {@link BusinessScenariosRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public BusinessScenariosRequestBuilder businessScenarios() { return new BusinessScenariosRequestBuilder(pathParameters, requestAdapter); @@ -72,7 +87,10 @@ public BusinessScenariosRequestBuilder businessScenarios() { /** * Provides operations to manage the migrations property of the microsoft.graph.solutionsRoot entity. * @return a {@link MigrationsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public MigrationsRequestBuilder migrations() { return new MigrationsRequestBuilder(pathParameters, requestAdapter); @@ -80,7 +98,10 @@ public MigrationsRequestBuilder migrations() { /** * Provides operations to manage the sharePoint property of the microsoft.graph.solutionsRoot entity. * @return a {@link SharePointRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public SharePointRequestBuilder sharePoint() { return new SharePointRequestBuilder(pathParameters, requestAdapter); @@ -88,7 +109,10 @@ public SharePointRequestBuilder sharePoint() { /** * Provides operations to manage the virtualEvents property of the microsoft.graph.solutionsRoot entity. * @return a {@link VirtualEventsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public VirtualEventsRequestBuilder virtualEvents() { return new VirtualEventsRequestBuilder(pathParameters, requestAdapter); @@ -97,8 +121,11 @@ public VirtualEventsRequestBuilder virtualEvents() { * Provides operations to manage the businessScenarios property of the microsoft.graph.solutionsRoot entity. * @param uniqueName Alternate key of businessScenario * @return a {@link BusinessScenariosWithUniqueNameRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public BusinessScenariosWithUniqueNameRequestBuilder businessScenariosWithUniqueName(@jakarta.annotation.Nonnull final String uniqueName) { Objects.requireNonNull(uniqueName); return new BusinessScenariosWithUniqueNameRequestBuilder(pathParameters, requestAdapter, uniqueName); @@ -123,8 +150,11 @@ public SolutionsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, * Get solutions * @return a {@link SolutionsRoot} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public SolutionsRoot get() { return get(null); } @@ -133,8 +163,11 @@ public SolutionsRoot get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SolutionsRoot} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public SolutionsRoot get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -146,8 +179,11 @@ public SolutionsRoot get(@jakarta.annotation.Nullable final java.util.function.C * @param body The request body * @return a {@link SolutionsRoot} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public SolutionsRoot patch(@jakarta.annotation.Nonnull final SolutionsRoot body) { return patch(body, null); } @@ -157,8 +193,11 @@ public SolutionsRoot patch(@jakarta.annotation.Nonnull final SolutionsRoot body) * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SolutionsRoot} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public SolutionsRoot patch(@jakarta.annotation.Nonnull final SolutionsRoot body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -169,8 +208,11 @@ public SolutionsRoot patch(@jakarta.annotation.Nonnull final SolutionsRoot body, /** * Get solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -178,8 +220,11 @@ public RequestInformation toGetRequestInformation() { * Get solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -190,8 +235,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final SolutionsRoot body) { return toPatchRequestInformation(body, null); } @@ -200,8 +248,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final SolutionsRoot body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -214,8 +265,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link SolutionsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public SolutionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new SolutionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/approval/ApprovalRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/approval/ApprovalRequestBuilder.java index 07728e1fac2..722e42abc50 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/approval/ApprovalRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/approval/ApprovalRequestBuilder.java @@ -26,7 +26,10 @@ public class ApprovalRequestBuilder extends BaseRequestBuilder { /** * Provides operations to manage the approvalItems property of the microsoft.graph.approvalSolution entity. * @return a {@link ApprovalItemsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public ApprovalItemsRequestBuilder approvalItems() { return new ApprovalItemsRequestBuilder(pathParameters, requestAdapter); @@ -34,7 +37,10 @@ public ApprovalItemsRequestBuilder approvalItems() { /** * Provides operations to manage the operations property of the microsoft.graph.approvalSolution entity. * @return a {@link OperationsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public OperationsRequestBuilder operations() { return new OperationsRequestBuilder(pathParameters, requestAdapter); @@ -42,7 +48,10 @@ public OperationsRequestBuilder operations() { /** * Provides operations to call the provision method. * @return a {@link ProvisionRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public ProvisionRequestBuilder provision() { return new ProvisionRequestBuilder(pathParameters, requestAdapter); @@ -66,7 +75,10 @@ public ApprovalRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ /** * Delete navigation property approval for solutions * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete() { delete(null); } @@ -74,7 +86,10 @@ public void delete() { * Delete navigation property approval for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -85,9 +100,12 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Read the properties of an approvalSolution object to determine the provisioning state for a tenant. * @return a {@link ApprovalSolution} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public ApprovalSolution get() { return get(null); } @@ -96,9 +114,12 @@ public ApprovalSolution get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ApprovalSolution} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public ApprovalSolution get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -110,8 +131,11 @@ public ApprovalSolution get(@jakarta.annotation.Nullable final java.util.functio * @param body The request body * @return a {@link ApprovalSolution} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public ApprovalSolution patch(@jakarta.annotation.Nonnull final ApprovalSolution body) { return patch(body, null); } @@ -121,8 +145,11 @@ public ApprovalSolution patch(@jakarta.annotation.Nonnull final ApprovalSolution * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ApprovalSolution} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public ApprovalSolution patch(@jakarta.annotation.Nonnull final ApprovalSolution body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -133,8 +160,11 @@ public ApprovalSolution patch(@jakarta.annotation.Nonnull final ApprovalSolution /** * Delete navigation property approval for solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -142,8 +172,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property approval for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -153,8 +186,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Read the properties of an approvalSolution object to determine the provisioning state for a tenant. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -162,8 +198,11 @@ public RequestInformation toGetRequestInformation() { * Read the properties of an approvalSolution object to determine the provisioning state for a tenant. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -174,8 +213,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property approval in solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final ApprovalSolution body) { return toPatchRequestInformation(body, null); } @@ -184,8 +226,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final ApprovalSolution body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -198,8 +243,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ApprovalRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public ApprovalRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ApprovalRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/approval/approvalitems/ApprovalItemsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/approval/approvalitems/ApprovalItemsRequestBuilder.java index 92cdbacf241..ba5b5785050 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/approval/approvalitems/ApprovalItemsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/approval/approvalitems/ApprovalItemsRequestBuilder.java @@ -26,7 +26,10 @@ public class ApprovalItemsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the approvalItems property of the microsoft.graph.approvalSolution entity. * @param approvalItemId The unique identifier of approvalItem * @return a {@link ApprovalItemItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public ApprovalItemItemRequestBuilder byApprovalItemId(@jakarta.annotation.Nonnull final String approvalItemId) { Objects.requireNonNull(approvalItemId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,9 +69,12 @@ public ApprovalItemsRequestBuilder(@jakarta.annotation.Nonnull final String rawU * Get a list of the approvalItem objects and their properties. * @return a {@link ApprovalItemCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public ApprovalItemCollectionResponse get() { return get(null); } @@ -74,9 +83,12 @@ public ApprovalItemCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ApprovalItemCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public ApprovalItemCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -88,9 +100,12 @@ public ApprovalItemCollectionResponse get(@jakarta.annotation.Nullable final jav * @param body The request body * @return a {@link ApprovalItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public ApprovalItem post(@jakarta.annotation.Nonnull final ApprovalItem body) { return post(body, null); } @@ -100,9 +115,12 @@ public ApprovalItem post(@jakarta.annotation.Nonnull final ApprovalItem body) { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ApprovalItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public ApprovalItem post(@jakarta.annotation.Nonnull final ApprovalItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -113,8 +131,11 @@ public ApprovalItem post(@jakarta.annotation.Nonnull final ApprovalItem body, @j /** * Get a list of the approvalItem objects and their properties. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -122,8 +143,11 @@ public RequestInformation toGetRequestInformation() { * Get a list of the approvalItem objects and their properties. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -134,8 +158,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create a new approvalItem object. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ApprovalItem body) { return toPostRequestInformation(body, null); } @@ -144,8 +171,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ApprovalItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -158,8 +188,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ApprovalItemsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public ApprovalItemsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ApprovalItemsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/approval/approvalitems/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/approval/approvalitems/count/CountRequestBuilder.java index 0fac21b9564..43baf6d05de 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/approval/approvalitems/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/approval/approvalitems/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/approval/approvalitems/item/ApprovalItemItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/approval/approvalitems/item/ApprovalItemItemRequestBuilder.java index 92365ff05d0..d52d9410f84 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/approval/approvalitems/item/ApprovalItemItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/approval/approvalitems/item/ApprovalItemItemRequestBuilder.java @@ -26,7 +26,10 @@ public class ApprovalItemItemRequestBuilder extends BaseRequestBuilder { /** * Provides operations to call the cancel method. * @return a {@link CancelRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CancelRequestBuilder cancel() { return new CancelRequestBuilder(pathParameters, requestAdapter); @@ -34,7 +37,10 @@ public CancelRequestBuilder cancel() { /** * Provides operations to manage the requests property of the microsoft.graph.approvalItem entity. * @return a {@link RequestsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public RequestsRequestBuilder requests() { return new RequestsRequestBuilder(pathParameters, requestAdapter); @@ -42,7 +48,10 @@ public RequestsRequestBuilder requests() { /** * Provides operations to manage the responses property of the microsoft.graph.approvalItem entity. * @return a {@link ResponsesRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public ResponsesRequestBuilder responses() { return new ResponsesRequestBuilder(pathParameters, requestAdapter); @@ -66,7 +75,10 @@ public ApprovalItemItemRequestBuilder(@jakarta.annotation.Nonnull final String r /** * Delete navigation property approvalItems for solutions * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete() { delete(null); } @@ -74,7 +86,10 @@ public void delete() { * Delete navigation property approvalItems for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -85,9 +100,12 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Read the properties and relationships of an approvalItem object. * @return a {@link ApprovalItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public ApprovalItem get() { return get(null); } @@ -96,9 +114,12 @@ public ApprovalItem get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ApprovalItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public ApprovalItem get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -110,8 +131,11 @@ public ApprovalItem get(@jakarta.annotation.Nullable final java.util.function.Co * @param body The request body * @return a {@link ApprovalItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public ApprovalItem patch(@jakarta.annotation.Nonnull final ApprovalItem body) { return patch(body, null); } @@ -121,8 +145,11 @@ public ApprovalItem patch(@jakarta.annotation.Nonnull final ApprovalItem body) { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ApprovalItem} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public ApprovalItem patch(@jakarta.annotation.Nonnull final ApprovalItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -133,8 +160,11 @@ public ApprovalItem patch(@jakarta.annotation.Nonnull final ApprovalItem body, @ /** * Delete navigation property approvalItems for solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -142,8 +172,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property approvalItems for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -153,8 +186,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Read the properties and relationships of an approvalItem object. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -162,8 +198,11 @@ public RequestInformation toGetRequestInformation() { * Read the properties and relationships of an approvalItem object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -174,8 +213,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property approvalItems in solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final ApprovalItem body) { return toPatchRequestInformation(body, null); } @@ -184,8 +226,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final ApprovalItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -198,8 +243,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ApprovalItemItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public ApprovalItemItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ApprovalItemItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/approval/approvalitems/item/cancel/CancelRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/approval/approvalitems/item/cancel/CancelRequestBuilder.java index 40e8dae52f6..a677dd20266 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/approval/approvalitems/item/cancel/CancelRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/approval/approvalitems/item/cancel/CancelRequestBuilder.java @@ -37,8 +37,11 @@ public CancelRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ja /** * Cancel the approval item. The owner of the approval is the only user who can trigger this endpoint. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * Cancel the approval item. The owner of the approval is the only user who can trigger this endpoint. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Cancel the approval item. The owner of the approval is the only user who can trigger this endpoint. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * Cancel the approval item. The owner of the approval is the only user who can trigger this endpoint. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CancelRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CancelRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CancelRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/approval/approvalitems/item/requests/RequestsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/approval/approvalitems/item/requests/RequestsRequestBuilder.java index e3d7efc0d07..530d3cbd1de 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/approval/approvalitems/item/requests/RequestsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/approval/approvalitems/item/requests/RequestsRequestBuilder.java @@ -26,7 +26,10 @@ public class RequestsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the requests property of the microsoft.graph.approvalItem entity. * @param approvalItemRequestId The unique identifier of approvalItemRequest * @return a {@link ApprovalItemRequestItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public ApprovalItemRequestItemRequestBuilder byApprovalItemRequestId(@jakarta.annotation.Nonnull final String approvalItemRequestId) { Objects.requireNonNull(approvalItemRequestId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,9 +69,12 @@ public RequestsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ * Get a list of approvalItemRequest objects. * @return a {@link ApprovalItemRequestCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public ApprovalItemRequestCollectionResponse get() { return get(null); } @@ -74,9 +83,12 @@ public ApprovalItemRequestCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ApprovalItemRequestCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public ApprovalItemRequestCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -88,8 +100,11 @@ public ApprovalItemRequestCollectionResponse get(@jakarta.annotation.Nullable fi * @param body The request body * @return a {@link ApprovalItemRequest} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public ApprovalItemRequest post(@jakarta.annotation.Nonnull final ApprovalItemRequest body) { return post(body, null); } @@ -99,8 +114,11 @@ public ApprovalItemRequest post(@jakarta.annotation.Nonnull final ApprovalItemRe * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ApprovalItemRequest} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public ApprovalItemRequest post(@jakarta.annotation.Nonnull final ApprovalItemRequest body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -111,8 +129,11 @@ public ApprovalItemRequest post(@jakarta.annotation.Nonnull final ApprovalItemRe /** * Get a list of approvalItemRequest objects. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -120,8 +141,11 @@ public RequestInformation toGetRequestInformation() { * Get a list of approvalItemRequest objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -132,8 +156,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to requests for solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ApprovalItemRequest body) { return toPostRequestInformation(body, null); } @@ -142,8 +169,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ApprovalItemRequest body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -156,8 +186,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RequestsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RequestsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/approval/approvalitems/item/requests/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/approval/approvalitems/item/requests/count/CountRequestBuilder.java index d4c4f4a39f0..5873dcdb6b1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/approval/approvalitems/item/requests/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/approval/approvalitems/item/requests/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/approval/approvalitems/item/requests/item/ApprovalItemRequestItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/approval/approvalitems/item/requests/item/ApprovalItemRequestItemRequestBuilder.java index 67ec2c9a5d7..ef7b3f37651 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/approval/approvalitems/item/requests/item/ApprovalItemRequestItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/approval/approvalitems/item/requests/item/ApprovalItemRequestItemRequestBuilder.java @@ -39,7 +39,10 @@ public ApprovalItemRequestItemRequestBuilder(@jakarta.annotation.Nonnull final S /** * Delete navigation property requests for solutions * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete() { delete(null); } @@ -47,7 +50,10 @@ public void delete() { * Delete navigation property requests for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -58,9 +64,12 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Read the properties and relationships of an approvalItemRequest object. * @return a {@link ApprovalItemRequest} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public ApprovalItemRequest get() { return get(null); } @@ -69,9 +78,12 @@ public ApprovalItemRequest get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ApprovalItemRequest} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public ApprovalItemRequest get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -83,8 +95,11 @@ public ApprovalItemRequest get(@jakarta.annotation.Nullable final java.util.func * @param body The request body * @return a {@link ApprovalItemRequest} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public ApprovalItemRequest patch(@jakarta.annotation.Nonnull final ApprovalItemRequest body) { return patch(body, null); } @@ -94,8 +109,11 @@ public ApprovalItemRequest patch(@jakarta.annotation.Nonnull final ApprovalItemR * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ApprovalItemRequest} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public ApprovalItemRequest patch(@jakarta.annotation.Nonnull final ApprovalItemRequest body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -106,8 +124,11 @@ public ApprovalItemRequest patch(@jakarta.annotation.Nonnull final ApprovalItemR /** * Delete navigation property requests for solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -115,8 +136,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property requests for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -126,8 +150,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Read the properties and relationships of an approvalItemRequest object. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -135,8 +162,11 @@ public RequestInformation toGetRequestInformation() { * Read the properties and relationships of an approvalItemRequest object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -147,8 +177,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property requests in solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final ApprovalItemRequest body) { return toPatchRequestInformation(body, null); } @@ -157,8 +190,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final ApprovalItemRequest body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -171,8 +207,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ApprovalItemRequestItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public ApprovalItemRequestItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ApprovalItemRequestItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/approval/approvalitems/item/responses/ResponsesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/approval/approvalitems/item/responses/ResponsesRequestBuilder.java index 06fb531ca0d..a76b66b9895 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/approval/approvalitems/item/responses/ResponsesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/approval/approvalitems/item/responses/ResponsesRequestBuilder.java @@ -26,7 +26,10 @@ public class ResponsesRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the responses property of the microsoft.graph.approvalItem entity. * @param approvalItemResponseId The unique identifier of approvalItemResponse * @return a {@link ApprovalItemResponseItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public ApprovalItemResponseItemRequestBuilder byApprovalItemResponseId(@jakarta.annotation.Nonnull final String approvalItemResponseId) { Objects.requireNonNull(approvalItemResponseId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,9 +69,12 @@ public ResponsesRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, * Get a list of approvalItemResponse objects. * @return a {@link ApprovalItemResponseCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public ApprovalItemResponseCollectionResponse get() { return get(null); } @@ -74,9 +83,12 @@ public ApprovalItemResponseCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ApprovalItemResponseCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public ApprovalItemResponseCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -88,9 +100,12 @@ public ApprovalItemResponseCollectionResponse get(@jakarta.annotation.Nullable f * @param body The request body * @return a {@link ApprovalItemResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public ApprovalItemResponse post(@jakarta.annotation.Nonnull final ApprovalItemResponse body) { return post(body, null); } @@ -100,9 +115,12 @@ public ApprovalItemResponse post(@jakarta.annotation.Nonnull final ApprovalItemR * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ApprovalItemResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public ApprovalItemResponse post(@jakarta.annotation.Nonnull final ApprovalItemResponse body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -113,8 +131,11 @@ public ApprovalItemResponse post(@jakarta.annotation.Nonnull final ApprovalItemR /** * Get a list of approvalItemResponse objects. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -122,8 +143,11 @@ public RequestInformation toGetRequestInformation() { * Get a list of approvalItemResponse objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -134,8 +158,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create a new approvalItemResponse object. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ApprovalItemResponse body) { return toPostRequestInformation(body, null); } @@ -144,8 +171,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ApprovalItemResponse body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -158,8 +188,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ResponsesRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public ResponsesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ResponsesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/approval/approvalitems/item/responses/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/approval/approvalitems/item/responses/count/CountRequestBuilder.java index e2a62799736..8994bf1c18c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/approval/approvalitems/item/responses/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/approval/approvalitems/item/responses/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/approval/approvalitems/item/responses/item/ApprovalItemResponseItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/approval/approvalitems/item/responses/item/ApprovalItemResponseItemRequestBuilder.java index ada9ff589f7..dcfb755be1b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/approval/approvalitems/item/responses/item/ApprovalItemResponseItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/approval/approvalitems/item/responses/item/ApprovalItemResponseItemRequestBuilder.java @@ -39,7 +39,10 @@ public ApprovalItemResponseItemRequestBuilder(@jakarta.annotation.Nonnull final /** * Delete navigation property responses for solutions * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete() { delete(null); } @@ -47,7 +50,10 @@ public void delete() { * Delete navigation property responses for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -58,9 +64,12 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Read the properties and relationships of an approvalItemResponse object. * @return a {@link ApprovalItemResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public ApprovalItemResponse get() { return get(null); } @@ -69,9 +78,12 @@ public ApprovalItemResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ApprovalItemResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public ApprovalItemResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -83,8 +95,11 @@ public ApprovalItemResponse get(@jakarta.annotation.Nullable final java.util.fun * @param body The request body * @return a {@link ApprovalItemResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public ApprovalItemResponse patch(@jakarta.annotation.Nonnull final ApprovalItemResponse body) { return patch(body, null); } @@ -94,8 +109,11 @@ public ApprovalItemResponse patch(@jakarta.annotation.Nonnull final ApprovalItem * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ApprovalItemResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public ApprovalItemResponse patch(@jakarta.annotation.Nonnull final ApprovalItemResponse body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -106,8 +124,11 @@ public ApprovalItemResponse patch(@jakarta.annotation.Nonnull final ApprovalItem /** * Delete navigation property responses for solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -115,8 +136,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property responses for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -126,8 +150,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Read the properties and relationships of an approvalItemResponse object. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -135,8 +162,11 @@ public RequestInformation toGetRequestInformation() { * Read the properties and relationships of an approvalItemResponse object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -147,8 +177,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property responses in solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final ApprovalItemResponse body) { return toPatchRequestInformation(body, null); } @@ -157,8 +190,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final ApprovalItemResponse body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -171,8 +207,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ApprovalItemResponseItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public ApprovalItemResponseItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ApprovalItemResponseItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/approval/operations/OperationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/approval/operations/OperationsRequestBuilder.java index c81ec0db01f..2982f54826b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/approval/operations/OperationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/approval/operations/OperationsRequestBuilder.java @@ -26,7 +26,10 @@ public class OperationsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the operations property of the microsoft.graph.approvalSolution entity. * @param approvalOperationId The unique identifier of approvalOperation * @return a {@link ApprovalOperationItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public ApprovalOperationItemRequestBuilder byApprovalOperationId(@jakarta.annotation.Nonnull final String approvalOperationId) { Objects.requireNonNull(approvalOperationId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public OperationsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, * Read the properties and relationships of an approvalOperation object. * @return a {@link ApprovalOperationCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public ApprovalOperationCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public ApprovalOperationCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ApprovalOperationCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public ApprovalOperationCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public ApprovalOperationCollectionResponse get(@jakarta.annotation.Nullable fina * @param body The request body * @return a {@link ApprovalOperation} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public ApprovalOperation post(@jakarta.annotation.Nonnull final ApprovalOperation body) { return post(body, null); } @@ -97,8 +112,11 @@ public ApprovalOperation post(@jakarta.annotation.Nonnull final ApprovalOperatio * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ApprovalOperation} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public ApprovalOperation post(@jakarta.annotation.Nonnull final ApprovalOperation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public ApprovalOperation post(@jakarta.annotation.Nonnull final ApprovalOperatio /** * Read the properties and relationships of an approvalOperation object. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Read the properties and relationships of an approvalOperation object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to operations for solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ApprovalOperation body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ApprovalOperation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link OperationsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public OperationsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new OperationsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/approval/operations/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/approval/operations/count/CountRequestBuilder.java index 9775d0ab47c..a8c9cfd725d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/approval/operations/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/approval/operations/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/approval/operations/item/ApprovalOperationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/approval/operations/item/ApprovalOperationItemRequestBuilder.java index 2d08977e6e0..c36e03cab08 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/approval/operations/item/ApprovalOperationItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/approval/operations/item/ApprovalOperationItemRequestBuilder.java @@ -39,7 +39,10 @@ public ApprovalOperationItemRequestBuilder(@jakarta.annotation.Nonnull final Str /** * Delete navigation property operations for solutions * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete() { delete(null); } @@ -47,7 +50,10 @@ public void delete() { * Delete navigation property operations for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -58,9 +64,12 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Read the properties and relationships of an approvalOperation object. * @return a {@link ApprovalOperation} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public ApprovalOperation get() { return get(null); } @@ -69,9 +78,12 @@ public ApprovalOperation get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ApprovalOperation} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public ApprovalOperation get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -83,8 +95,11 @@ public ApprovalOperation get(@jakarta.annotation.Nullable final java.util.functi * @param body The request body * @return a {@link ApprovalOperation} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public ApprovalOperation patch(@jakarta.annotation.Nonnull final ApprovalOperation body) { return patch(body, null); } @@ -94,8 +109,11 @@ public ApprovalOperation patch(@jakarta.annotation.Nonnull final ApprovalOperati * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ApprovalOperation} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public ApprovalOperation patch(@jakarta.annotation.Nonnull final ApprovalOperation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -106,8 +124,11 @@ public ApprovalOperation patch(@jakarta.annotation.Nonnull final ApprovalOperati /** * Delete navigation property operations for solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -115,8 +136,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property operations for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -126,8 +150,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Read the properties and relationships of an approvalOperation object. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -135,8 +162,11 @@ public RequestInformation toGetRequestInformation() { * Read the properties and relationships of an approvalOperation object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -147,8 +177,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property operations in solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final ApprovalOperation body) { return toPatchRequestInformation(body, null); } @@ -157,8 +190,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final ApprovalOperation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -171,8 +207,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ApprovalOperationItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public ApprovalOperationItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ApprovalOperationItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/approval/provision/ProvisionRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/approval/provision/ProvisionRequestBuilder.java index 0d89bd0588a..da4cb4343cc 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/approval/provision/ProvisionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/approval/provision/ProvisionRequestBuilder.java @@ -37,8 +37,11 @@ public ProvisionRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, /** * Provision an approvalSolution on behalf of a tenant. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * Provision an approvalSolution on behalf of a tenant. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Provision an approvalSolution on behalf of a tenant. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * Provision an approvalSolution on behalf of a tenant. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ProvisionRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public ProvisionRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ProvisionRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/BackupRestoreRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/BackupRestoreRequestBuilder.java index dc76971c317..9dce2371611 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/BackupRestoreRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/BackupRestoreRequestBuilder.java @@ -57,7 +57,10 @@ public class BackupRestoreRequestBuilder extends BaseRequestBuilder { /** * Provides operations to manage the activityLogs property of the microsoft.graph.backupRestoreRoot entity. * @return a {@link ActivityLogsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public ActivityLogsRequestBuilder activityLogs() { return new ActivityLogsRequestBuilder(pathParameters, requestAdapter); @@ -65,7 +68,10 @@ public ActivityLogsRequestBuilder activityLogs() { /** * Provides operations to manage the browseSessions property of the microsoft.graph.backupRestoreRoot entity. * @return a {@link BrowseSessionsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public BrowseSessionsRequestBuilder browseSessions() { return new BrowseSessionsRequestBuilder(pathParameters, requestAdapter); @@ -73,7 +79,10 @@ public BrowseSessionsRequestBuilder browseSessions() { /** * Provides operations to manage the driveExclusionUnits property of the microsoft.graph.backupRestoreRoot entity. * @return a {@link DriveExclusionUnitsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public DriveExclusionUnitsRequestBuilder driveExclusionUnits() { return new DriveExclusionUnitsRequestBuilder(pathParameters, requestAdapter); @@ -81,7 +90,10 @@ public DriveExclusionUnitsRequestBuilder driveExclusionUnits() { /** * Provides operations to manage the driveExclusionUnitsBulkAdditionJobs property of the microsoft.graph.backupRestoreRoot entity. * @return a {@link DriveExclusionUnitsBulkAdditionJobsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public DriveExclusionUnitsBulkAdditionJobsRequestBuilder driveExclusionUnitsBulkAdditionJobs() { return new DriveExclusionUnitsBulkAdditionJobsRequestBuilder(pathParameters, requestAdapter); @@ -89,7 +101,10 @@ public DriveExclusionUnitsBulkAdditionJobsRequestBuilder driveExclusionUnitsBulk /** * Provides operations to manage the driveInclusionRules property of the microsoft.graph.backupRestoreRoot entity. * @return a {@link DriveInclusionRulesRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public DriveInclusionRulesRequestBuilder driveInclusionRules() { return new DriveInclusionRulesRequestBuilder(pathParameters, requestAdapter); @@ -97,7 +112,10 @@ public DriveInclusionRulesRequestBuilder driveInclusionRules() { /** * Provides operations to manage the driveProtectionUnits property of the microsoft.graph.backupRestoreRoot entity. * @return a {@link DriveProtectionUnitsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public DriveProtectionUnitsRequestBuilder driveProtectionUnits() { return new DriveProtectionUnitsRequestBuilder(pathParameters, requestAdapter); @@ -105,7 +123,10 @@ public DriveProtectionUnitsRequestBuilder driveProtectionUnits() { /** * Provides operations to manage the driveProtectionUnitsBulkAdditionJobs property of the microsoft.graph.backupRestoreRoot entity. * @return a {@link DriveProtectionUnitsBulkAdditionJobsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public DriveProtectionUnitsBulkAdditionJobsRequestBuilder driveProtectionUnitsBulkAdditionJobs() { return new DriveProtectionUnitsBulkAdditionJobsRequestBuilder(pathParameters, requestAdapter); @@ -113,7 +134,10 @@ public DriveProtectionUnitsBulkAdditionJobsRequestBuilder driveProtectionUnitsBu /** * Provides operations to manage the emailNotificationsSetting property of the microsoft.graph.backupRestoreRoot entity. * @return a {@link EmailNotificationsSettingRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public EmailNotificationsSettingRequestBuilder emailNotificationsSetting() { return new EmailNotificationsSettingRequestBuilder(pathParameters, requestAdapter); @@ -121,7 +145,10 @@ public EmailNotificationsSettingRequestBuilder emailNotificationsSetting() { /** * Provides operations to call the enable method. * @return a {@link EnableRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public EnableRequestBuilder enable() { return new EnableRequestBuilder(pathParameters, requestAdapter); @@ -129,7 +156,10 @@ public EnableRequestBuilder enable() { /** * Provides operations to manage the exchangeProtectionPolicies property of the microsoft.graph.backupRestoreRoot entity. * @return a {@link ExchangeProtectionPoliciesRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public ExchangeProtectionPoliciesRequestBuilder exchangeProtectionPolicies() { return new ExchangeProtectionPoliciesRequestBuilder(pathParameters, requestAdapter); @@ -137,7 +167,10 @@ public ExchangeProtectionPoliciesRequestBuilder exchangeProtectionPolicies() { /** * Provides operations to manage the exchangeRestoreSessions property of the microsoft.graph.backupRestoreRoot entity. * @return a {@link ExchangeRestoreSessionsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public ExchangeRestoreSessionsRequestBuilder exchangeRestoreSessions() { return new ExchangeRestoreSessionsRequestBuilder(pathParameters, requestAdapter); @@ -145,7 +178,10 @@ public ExchangeRestoreSessionsRequestBuilder exchangeRestoreSessions() { /** * Provides operations to manage the exclusionUnits property of the microsoft.graph.backupRestoreRoot entity. * @return a {@link ExclusionUnitsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public ExclusionUnitsRequestBuilder exclusionUnits() { return new ExclusionUnitsRequestBuilder(pathParameters, requestAdapter); @@ -153,7 +189,10 @@ public ExclusionUnitsRequestBuilder exclusionUnits() { /** * Provides operations to manage the mailboxExclusionUnits property of the microsoft.graph.backupRestoreRoot entity. * @return a {@link MailboxExclusionUnitsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public MailboxExclusionUnitsRequestBuilder mailboxExclusionUnits() { return new MailboxExclusionUnitsRequestBuilder(pathParameters, requestAdapter); @@ -161,7 +200,10 @@ public MailboxExclusionUnitsRequestBuilder mailboxExclusionUnits() { /** * Provides operations to manage the mailboxExclusionUnitsBulkAdditionJobs property of the microsoft.graph.backupRestoreRoot entity. * @return a {@link MailboxExclusionUnitsBulkAdditionJobsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public MailboxExclusionUnitsBulkAdditionJobsRequestBuilder mailboxExclusionUnitsBulkAdditionJobs() { return new MailboxExclusionUnitsBulkAdditionJobsRequestBuilder(pathParameters, requestAdapter); @@ -169,7 +211,10 @@ public MailboxExclusionUnitsBulkAdditionJobsRequestBuilder mailboxExclusionUnits /** * Provides operations to manage the mailboxInclusionRules property of the microsoft.graph.backupRestoreRoot entity. * @return a {@link MailboxInclusionRulesRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public MailboxInclusionRulesRequestBuilder mailboxInclusionRules() { return new MailboxInclusionRulesRequestBuilder(pathParameters, requestAdapter); @@ -177,7 +222,10 @@ public MailboxInclusionRulesRequestBuilder mailboxInclusionRules() { /** * Provides operations to manage the mailboxProtectionUnits property of the microsoft.graph.backupRestoreRoot entity. * @return a {@link MailboxProtectionUnitsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public MailboxProtectionUnitsRequestBuilder mailboxProtectionUnits() { return new MailboxProtectionUnitsRequestBuilder(pathParameters, requestAdapter); @@ -185,7 +233,10 @@ public MailboxProtectionUnitsRequestBuilder mailboxProtectionUnits() { /** * Provides operations to manage the mailboxProtectionUnitsBulkAdditionJobs property of the microsoft.graph.backupRestoreRoot entity. * @return a {@link MailboxProtectionUnitsBulkAdditionJobsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public MailboxProtectionUnitsBulkAdditionJobsRequestBuilder mailboxProtectionUnitsBulkAdditionJobs() { return new MailboxProtectionUnitsBulkAdditionJobsRequestBuilder(pathParameters, requestAdapter); @@ -193,7 +244,10 @@ public MailboxProtectionUnitsBulkAdditionJobsRequestBuilder mailboxProtectionUni /** * Provides operations to manage the oneDriveForBusinessBrowseSessions property of the microsoft.graph.backupRestoreRoot entity. * @return a {@link OneDriveForBusinessBrowseSessionsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public OneDriveForBusinessBrowseSessionsRequestBuilder oneDriveForBusinessBrowseSessions() { return new OneDriveForBusinessBrowseSessionsRequestBuilder(pathParameters, requestAdapter); @@ -201,7 +255,10 @@ public OneDriveForBusinessBrowseSessionsRequestBuilder oneDriveForBusinessBrowse /** * Provides operations to manage the oneDriveForBusinessProtectionPolicies property of the microsoft.graph.backupRestoreRoot entity. * @return a {@link OneDriveForBusinessProtectionPoliciesRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public OneDriveForBusinessProtectionPoliciesRequestBuilder oneDriveForBusinessProtectionPolicies() { return new OneDriveForBusinessProtectionPoliciesRequestBuilder(pathParameters, requestAdapter); @@ -209,7 +266,10 @@ public OneDriveForBusinessProtectionPoliciesRequestBuilder oneDriveForBusinessPr /** * Provides operations to manage the oneDriveForBusinessRestoreSessions property of the microsoft.graph.backupRestoreRoot entity. * @return a {@link OneDriveForBusinessRestoreSessionsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public OneDriveForBusinessRestoreSessionsRequestBuilder oneDriveForBusinessRestoreSessions() { return new OneDriveForBusinessRestoreSessionsRequestBuilder(pathParameters, requestAdapter); @@ -217,7 +277,10 @@ public OneDriveForBusinessRestoreSessionsRequestBuilder oneDriveForBusinessResto /** * Provides operations to manage the protectionPolicies property of the microsoft.graph.backupRestoreRoot entity. * @return a {@link ProtectionPoliciesRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public ProtectionPoliciesRequestBuilder protectionPolicies() { return new ProtectionPoliciesRequestBuilder(pathParameters, requestAdapter); @@ -225,7 +288,10 @@ public ProtectionPoliciesRequestBuilder protectionPolicies() { /** * Provides operations to manage the protectionUnits property of the microsoft.graph.backupRestoreRoot entity. * @return a {@link ProtectionUnitsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public ProtectionUnitsRequestBuilder protectionUnits() { return new ProtectionUnitsRequestBuilder(pathParameters, requestAdapter); @@ -233,7 +299,10 @@ public ProtectionUnitsRequestBuilder protectionUnits() { /** * Provides operations to manage the reports property of the microsoft.graph.backupRestoreRoot entity. * @return a {@link ReportsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public ReportsRequestBuilder reports() { return new ReportsRequestBuilder(pathParameters, requestAdapter); @@ -241,7 +310,10 @@ public ReportsRequestBuilder reports() { /** * Provides operations to manage the restorePoints property of the microsoft.graph.backupRestoreRoot entity. * @return a {@link RestorePointsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public RestorePointsRequestBuilder restorePoints() { return new RestorePointsRequestBuilder(pathParameters, requestAdapter); @@ -249,7 +321,10 @@ public RestorePointsRequestBuilder restorePoints() { /** * Provides operations to manage the restoreSessions property of the microsoft.graph.backupRestoreRoot entity. * @return a {@link RestoreSessionsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public RestoreSessionsRequestBuilder restoreSessions() { return new RestoreSessionsRequestBuilder(pathParameters, requestAdapter); @@ -257,7 +332,10 @@ public RestoreSessionsRequestBuilder restoreSessions() { /** * Provides operations to manage the serviceApps property of the microsoft.graph.backupRestoreRoot entity. * @return a {@link ServiceAppsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public ServiceAppsRequestBuilder serviceApps() { return new ServiceAppsRequestBuilder(pathParameters, requestAdapter); @@ -265,7 +343,10 @@ public ServiceAppsRequestBuilder serviceApps() { /** * Provides operations to manage the sharePointBrowseSessions property of the microsoft.graph.backupRestoreRoot entity. * @return a {@link SharePointBrowseSessionsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public SharePointBrowseSessionsRequestBuilder sharePointBrowseSessions() { return new SharePointBrowseSessionsRequestBuilder(pathParameters, requestAdapter); @@ -273,7 +354,10 @@ public SharePointBrowseSessionsRequestBuilder sharePointBrowseSessions() { /** * Provides operations to manage the sharePointProtectionPolicies property of the microsoft.graph.backupRestoreRoot entity. * @return a {@link SharePointProtectionPoliciesRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public SharePointProtectionPoliciesRequestBuilder sharePointProtectionPolicies() { return new SharePointProtectionPoliciesRequestBuilder(pathParameters, requestAdapter); @@ -281,7 +365,10 @@ public SharePointProtectionPoliciesRequestBuilder sharePointProtectionPolicies() /** * Provides operations to manage the sharePointRestoreSessions property of the microsoft.graph.backupRestoreRoot entity. * @return a {@link SharePointRestoreSessionsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public SharePointRestoreSessionsRequestBuilder sharePointRestoreSessions() { return new SharePointRestoreSessionsRequestBuilder(pathParameters, requestAdapter); @@ -289,7 +376,10 @@ public SharePointRestoreSessionsRequestBuilder sharePointRestoreSessions() { /** * Provides operations to manage the siteExclusionUnits property of the microsoft.graph.backupRestoreRoot entity. * @return a {@link SiteExclusionUnitsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public SiteExclusionUnitsRequestBuilder siteExclusionUnits() { return new SiteExclusionUnitsRequestBuilder(pathParameters, requestAdapter); @@ -297,7 +387,10 @@ public SiteExclusionUnitsRequestBuilder siteExclusionUnits() { /** * Provides operations to manage the siteExclusionUnitsBulkAdditionJobs property of the microsoft.graph.backupRestoreRoot entity. * @return a {@link SiteExclusionUnitsBulkAdditionJobsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public SiteExclusionUnitsBulkAdditionJobsRequestBuilder siteExclusionUnitsBulkAdditionJobs() { return new SiteExclusionUnitsBulkAdditionJobsRequestBuilder(pathParameters, requestAdapter); @@ -305,7 +398,10 @@ public SiteExclusionUnitsBulkAdditionJobsRequestBuilder siteExclusionUnitsBulkAd /** * Provides operations to manage the siteInclusionRules property of the microsoft.graph.backupRestoreRoot entity. * @return a {@link SiteInclusionRulesRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public SiteInclusionRulesRequestBuilder siteInclusionRules() { return new SiteInclusionRulesRequestBuilder(pathParameters, requestAdapter); @@ -313,7 +409,10 @@ public SiteInclusionRulesRequestBuilder siteInclusionRules() { /** * Provides operations to manage the siteProtectionUnits property of the microsoft.graph.backupRestoreRoot entity. * @return a {@link SiteProtectionUnitsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public SiteProtectionUnitsRequestBuilder siteProtectionUnits() { return new SiteProtectionUnitsRequestBuilder(pathParameters, requestAdapter); @@ -321,7 +420,10 @@ public SiteProtectionUnitsRequestBuilder siteProtectionUnits() { /** * Provides operations to manage the siteProtectionUnitsBulkAdditionJobs property of the microsoft.graph.backupRestoreRoot entity. * @return a {@link SiteProtectionUnitsBulkAdditionJobsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public SiteProtectionUnitsBulkAdditionJobsRequestBuilder siteProtectionUnitsBulkAdditionJobs() { return new SiteProtectionUnitsBulkAdditionJobsRequestBuilder(pathParameters, requestAdapter); @@ -345,7 +447,10 @@ public BackupRestoreRequestBuilder(@jakarta.annotation.Nonnull final String rawU /** * Delete navigation property backupRestore for solutions * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete() { delete(null); } @@ -353,7 +458,10 @@ public void delete() { * Delete navigation property backupRestore for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -364,9 +472,12 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Get the serviceStatus of the Microsoft 365 Backup Storage service in a tenant. * @return a {@link BackupRestoreRoot} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public BackupRestoreRoot get() { return get(null); } @@ -375,9 +486,12 @@ public BackupRestoreRoot get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link BackupRestoreRoot} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public BackupRestoreRoot get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -389,8 +503,11 @@ public BackupRestoreRoot get(@jakarta.annotation.Nullable final java.util.functi * @param body The request body * @return a {@link BackupRestoreRoot} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public BackupRestoreRoot patch(@jakarta.annotation.Nonnull final BackupRestoreRoot body) { return patch(body, null); } @@ -400,8 +517,11 @@ public BackupRestoreRoot patch(@jakarta.annotation.Nonnull final BackupRestoreRo * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link BackupRestoreRoot} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public BackupRestoreRoot patch(@jakarta.annotation.Nonnull final BackupRestoreRoot body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -412,8 +532,11 @@ public BackupRestoreRoot patch(@jakarta.annotation.Nonnull final BackupRestoreRo /** * Delete navigation property backupRestore for solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -421,8 +544,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property backupRestore for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -432,8 +558,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Get the serviceStatus of the Microsoft 365 Backup Storage service in a tenant. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -441,8 +570,11 @@ public RequestInformation toGetRequestInformation() { * Get the serviceStatus of the Microsoft 365 Backup Storage service in a tenant. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -453,8 +585,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property backupRestore in solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final BackupRestoreRoot body) { return toPatchRequestInformation(body, null); } @@ -463,8 +598,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final BackupRestoreRoot body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -477,8 +615,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link BackupRestoreRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public BackupRestoreRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new BackupRestoreRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/activitylogs/ActivityLogsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/activitylogs/ActivityLogsRequestBuilder.java index 3a7f8f89488..1b2e7fd18ac 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/activitylogs/ActivityLogsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/activitylogs/ActivityLogsRequestBuilder.java @@ -26,7 +26,10 @@ public class ActivityLogsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the activityLogs property of the microsoft.graph.backupRestoreRoot entity. * @param activityLogBaseId The unique identifier of activityLogBase * @return a {@link ActivityLogBaseItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public ActivityLogBaseItemRequestBuilder byActivityLogBaseId(@jakarta.annotation.Nonnull final String activityLogBaseId) { Objects.requireNonNull(activityLogBaseId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public ActivityLogsRequestBuilder(@jakarta.annotation.Nonnull final String rawUr * Get activityLogs from solutions * @return a {@link ActivityLogBaseCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public ActivityLogBaseCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public ActivityLogBaseCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ActivityLogBaseCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public ActivityLogBaseCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public ActivityLogBaseCollectionResponse get(@jakarta.annotation.Nullable final * @param body The request body * @return a {@link ActivityLogBase} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public ActivityLogBase post(@jakarta.annotation.Nonnull final ActivityLogBase body) { return post(body, null); } @@ -97,8 +112,11 @@ public ActivityLogBase post(@jakarta.annotation.Nonnull final ActivityLogBase bo * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ActivityLogBase} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public ActivityLogBase post(@jakarta.annotation.Nonnull final ActivityLogBase body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public ActivityLogBase post(@jakarta.annotation.Nonnull final ActivityLogBase bo /** * Get activityLogs from solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Get activityLogs from solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to activityLogs for solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ActivityLogBase body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ActivityLogBase body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ActivityLogsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public ActivityLogsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ActivityLogsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/activitylogs/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/activitylogs/count/CountRequestBuilder.java index 0575c348df2..2ab46aacfc3 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/activitylogs/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/activitylogs/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/activitylogs/item/ActivityLogBaseItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/activitylogs/item/ActivityLogBaseItemRequestBuilder.java index c9f6f0f389b..bee3a0e1d16 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/activitylogs/item/ActivityLogBaseItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/activitylogs/item/ActivityLogBaseItemRequestBuilder.java @@ -39,7 +39,10 @@ public ActivityLogBaseItemRequestBuilder(@jakarta.annotation.Nonnull final Strin /** * Delete navigation property activityLogs for solutions * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete() { delete(null); } @@ -47,7 +50,10 @@ public void delete() { * Delete navigation property activityLogs for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -58,8 +64,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Get activityLogs from solutions * @return a {@link ActivityLogBase} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public ActivityLogBase get() { return get(null); } @@ -68,8 +77,11 @@ public ActivityLogBase get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ActivityLogBase} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public ActivityLogBase get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -81,8 +93,11 @@ public ActivityLogBase get(@jakarta.annotation.Nullable final java.util.function * @param body The request body * @return a {@link ActivityLogBase} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public ActivityLogBase patch(@jakarta.annotation.Nonnull final ActivityLogBase body) { return patch(body, null); } @@ -92,8 +107,11 @@ public ActivityLogBase patch(@jakarta.annotation.Nonnull final ActivityLogBase b * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ActivityLogBase} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public ActivityLogBase patch(@jakarta.annotation.Nonnull final ActivityLogBase body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -104,8 +122,11 @@ public ActivityLogBase patch(@jakarta.annotation.Nonnull final ActivityLogBase b /** * Delete navigation property activityLogs for solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -113,8 +134,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property activityLogs for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Get activityLogs from solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -133,8 +160,11 @@ public RequestInformation toGetRequestInformation() { * Get activityLogs from solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -145,8 +175,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property activityLogs in solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final ActivityLogBase body) { return toPatchRequestInformation(body, null); } @@ -155,8 +188,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final ActivityLogBase body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -169,8 +205,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ActivityLogBaseItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public ActivityLogBaseItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ActivityLogBaseItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/browsesessions/BrowseSessionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/browsesessions/BrowseSessionsRequestBuilder.java index 93cd1dd1041..5184d7a65bf 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/browsesessions/BrowseSessionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/browsesessions/BrowseSessionsRequestBuilder.java @@ -26,7 +26,10 @@ public class BrowseSessionsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the browseSessions property of the microsoft.graph.backupRestoreRoot entity. * @param browseSessionBaseId The unique identifier of browseSessionBase * @return a {@link BrowseSessionBaseItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public BrowseSessionBaseItemRequestBuilder byBrowseSessionBaseId(@jakarta.annotation.Nonnull final String browseSessionBaseId) { Objects.requireNonNull(browseSessionBaseId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,9 +69,12 @@ public BrowseSessionsRequestBuilder(@jakarta.annotation.Nonnull final String raw * Get a list of the browseSessionBase objects and their properties. * @return a {@link BrowseSessionBaseCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public BrowseSessionBaseCollectionResponse get() { return get(null); } @@ -74,9 +83,12 @@ public BrowseSessionBaseCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link BrowseSessionBaseCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public BrowseSessionBaseCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -88,8 +100,11 @@ public BrowseSessionBaseCollectionResponse get(@jakarta.annotation.Nullable fina * @param body The request body * @return a {@link BrowseSessionBase} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public BrowseSessionBase post(@jakarta.annotation.Nonnull final BrowseSessionBase body) { return post(body, null); } @@ -99,8 +114,11 @@ public BrowseSessionBase post(@jakarta.annotation.Nonnull final BrowseSessionBas * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link BrowseSessionBase} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public BrowseSessionBase post(@jakarta.annotation.Nonnull final BrowseSessionBase body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -111,8 +129,11 @@ public BrowseSessionBase post(@jakarta.annotation.Nonnull final BrowseSessionBas /** * Get a list of the browseSessionBase objects and their properties. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -120,8 +141,11 @@ public RequestInformation toGetRequestInformation() { * Get a list of the browseSessionBase objects and their properties. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -132,8 +156,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to browseSessions for solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BrowseSessionBase body) { return toPostRequestInformation(body, null); } @@ -142,8 +169,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BrowseSessionBase body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -156,8 +186,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link BrowseSessionsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public BrowseSessionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new BrowseSessionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/browsesessions/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/browsesessions/count/CountRequestBuilder.java index 5dabd244808..8203f5d750d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/browsesessions/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/browsesessions/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/browsesessions/item/BrowseSessionBaseItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/browsesessions/item/BrowseSessionBaseItemRequestBuilder.java index ad0151613fd..e06ff2c4fcc 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/browsesessions/item/BrowseSessionBaseItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/browsesessions/item/BrowseSessionBaseItemRequestBuilder.java @@ -25,7 +25,10 @@ public class BrowseSessionBaseItemRequestBuilder extends BaseRequestBuilder { /** * Provides operations to call the browse method. * @return a {@link BrowseRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public BrowseRequestBuilder browse() { return new BrowseRequestBuilder(pathParameters, requestAdapter); @@ -34,8 +37,11 @@ public BrowseRequestBuilder browse() { * Provides operations to call the browse method. * @param nextFetchToken Usage: nextFetchToken='{nextFetchToken}' * @return a {@link BrowseWithNextFetchTokenRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public BrowseWithNextFetchTokenRequestBuilder browseWithNextFetchToken(@jakarta.annotation.Nonnull final String nextFetchToken) { Objects.requireNonNull(nextFetchToken); return new BrowseWithNextFetchTokenRequestBuilder(pathParameters, requestAdapter, nextFetchToken); @@ -59,7 +65,10 @@ public BrowseSessionBaseItemRequestBuilder(@jakarta.annotation.Nonnull final Str /** * Delete navigation property browseSessions for solutions * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete() { delete(null); } @@ -67,7 +76,10 @@ public void delete() { * Delete navigation property browseSessions for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -78,8 +90,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * The list of browse sessions in the tenant. * @return a {@link BrowseSessionBase} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public BrowseSessionBase get() { return get(null); } @@ -88,8 +103,11 @@ public BrowseSessionBase get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link BrowseSessionBase} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public BrowseSessionBase get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -101,8 +119,11 @@ public BrowseSessionBase get(@jakarta.annotation.Nullable final java.util.functi * @param body The request body * @return a {@link BrowseSessionBase} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public BrowseSessionBase patch(@jakarta.annotation.Nonnull final BrowseSessionBase body) { return patch(body, null); } @@ -112,8 +133,11 @@ public BrowseSessionBase patch(@jakarta.annotation.Nonnull final BrowseSessionBa * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link BrowseSessionBase} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public BrowseSessionBase patch(@jakarta.annotation.Nonnull final BrowseSessionBase body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -124,8 +148,11 @@ public BrowseSessionBase patch(@jakarta.annotation.Nonnull final BrowseSessionBa /** * Delete navigation property browseSessions for solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -133,8 +160,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property browseSessions for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -144,8 +174,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * The list of browse sessions in the tenant. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -153,8 +186,11 @@ public RequestInformation toGetRequestInformation() { * The list of browse sessions in the tenant. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -165,8 +201,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property browseSessions in solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final BrowseSessionBase body) { return toPatchRequestInformation(body, null); } @@ -175,8 +214,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final BrowseSessionBase body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -189,8 +231,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link BrowseSessionBaseItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public BrowseSessionBaseItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new BrowseSessionBaseItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/browsesessions/item/browse/BrowseRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/browsesessions/item/browse/BrowseRequestBuilder.java index de226909e99..7f925d82ce3 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/browsesessions/item/browse/BrowseRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/browsesessions/item/browse/BrowseRequestBuilder.java @@ -39,8 +39,11 @@ public BrowseRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ja * @param body The request body * @return a {@link BrowsePostResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public BrowsePostResponse post(@jakarta.annotation.Nonnull final BrowsePostRequestBody body) { return post(body, null); } @@ -50,8 +53,11 @@ public BrowsePostResponse post(@jakarta.annotation.Nonnull final BrowsePostReque * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link BrowsePostResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public BrowsePostResponse post(@jakarta.annotation.Nonnull final BrowsePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -63,8 +69,11 @@ public BrowsePostResponse post(@jakarta.annotation.Nonnull final BrowsePostReque * Invoke action browse * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BrowsePostRequestBody body) { return toPostRequestInformation(body, null); } @@ -73,8 +82,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BrowsePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -87,8 +99,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link BrowseRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public BrowseRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new BrowseRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/browsesessions/item/browsewithnextfetchtoken/BrowseWithNextFetchTokenRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/browsesessions/item/browsewithnextfetchtoken/BrowseWithNextFetchTokenRequestBuilder.java index 8ca97fbaa30..df9bca06620 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/browsesessions/item/browsewithnextfetchtoken/BrowseWithNextFetchTokenRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/browsesessions/item/browsewithnextfetchtoken/BrowseWithNextFetchTokenRequestBuilder.java @@ -41,8 +41,11 @@ public BrowseWithNextFetchTokenRequestBuilder(@jakarta.annotation.Nonnull final * Invoke function browse * @return a {@link BrowseWithNextFetchTokenGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public BrowseWithNextFetchTokenGetResponse get() { return get(null); } @@ -51,8 +54,11 @@ public BrowseWithNextFetchTokenGetResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link BrowseWithNextFetchTokenGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public BrowseWithNextFetchTokenGetResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -62,8 +68,11 @@ public BrowseWithNextFetchTokenGetResponse get(@jakarta.annotation.Nullable fina /** * Invoke function browse * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -71,8 +80,11 @@ public RequestInformation toGetRequestInformation() { * Invoke function browse * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -83,8 +95,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link BrowseWithNextFetchTokenRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public BrowseWithNextFetchTokenRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new BrowseWithNextFetchTokenRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/driveexclusionunits/DriveExclusionUnitsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/driveexclusionunits/DriveExclusionUnitsRequestBuilder.java index 47a55a5bce3..c0a43f296ae 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/driveexclusionunits/DriveExclusionUnitsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/driveexclusionunits/DriveExclusionUnitsRequestBuilder.java @@ -26,7 +26,10 @@ public class DriveExclusionUnitsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the driveExclusionUnits property of the microsoft.graph.backupRestoreRoot entity. * @param driveExclusionUnitId The unique identifier of driveExclusionUnit * @return a {@link DriveExclusionUnitItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public DriveExclusionUnitItemRequestBuilder byDriveExclusionUnitId(@jakarta.annotation.Nonnull final String driveExclusionUnitId) { Objects.requireNonNull(driveExclusionUnitId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public DriveExclusionUnitsRequestBuilder(@jakarta.annotation.Nonnull final Strin * The list of drive exclusion units in the tenant. * @return a {@link DriveExclusionUnitCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public DriveExclusionUnitCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public DriveExclusionUnitCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DriveExclusionUnitCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public DriveExclusionUnitCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public DriveExclusionUnitCollectionResponse get(@jakarta.annotation.Nullable fin * @param body The request body * @return a {@link DriveExclusionUnit} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public DriveExclusionUnit post(@jakarta.annotation.Nonnull final DriveExclusionUnit body) { return post(body, null); } @@ -97,8 +112,11 @@ public DriveExclusionUnit post(@jakarta.annotation.Nonnull final DriveExclusionU * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DriveExclusionUnit} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public DriveExclusionUnit post(@jakarta.annotation.Nonnull final DriveExclusionUnit body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public DriveExclusionUnit post(@jakarta.annotation.Nonnull final DriveExclusionU /** * The list of drive exclusion units in the tenant. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * The list of drive exclusion units in the tenant. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to driveExclusionUnits for solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DriveExclusionUnit body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DriveExclusionUnit body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link DriveExclusionUnitsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public DriveExclusionUnitsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new DriveExclusionUnitsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/driveexclusionunits/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/driveexclusionunits/count/CountRequestBuilder.java index d3ded754a5e..9f894e306d0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/driveexclusionunits/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/driveexclusionunits/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/driveexclusionunits/item/DriveExclusionUnitItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/driveexclusionunits/item/DriveExclusionUnitItemRequestBuilder.java index 499a0ffd9c0..53676b2faf5 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/driveexclusionunits/item/DriveExclusionUnitItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/driveexclusionunits/item/DriveExclusionUnitItemRequestBuilder.java @@ -39,7 +39,10 @@ public DriveExclusionUnitItemRequestBuilder(@jakarta.annotation.Nonnull final St /** * Delete navigation property driveExclusionUnits for solutions * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete() { delete(null); } @@ -47,7 +50,10 @@ public void delete() { * Delete navigation property driveExclusionUnits for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -58,8 +64,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * The list of drive exclusion units in the tenant. * @return a {@link DriveExclusionUnit} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public DriveExclusionUnit get() { return get(null); } @@ -68,8 +77,11 @@ public DriveExclusionUnit get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DriveExclusionUnit} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public DriveExclusionUnit get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -81,8 +93,11 @@ public DriveExclusionUnit get(@jakarta.annotation.Nullable final java.util.funct * @param body The request body * @return a {@link DriveExclusionUnit} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public DriveExclusionUnit patch(@jakarta.annotation.Nonnull final DriveExclusionUnit body) { return patch(body, null); } @@ -92,8 +107,11 @@ public DriveExclusionUnit patch(@jakarta.annotation.Nonnull final DriveExclusion * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DriveExclusionUnit} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public DriveExclusionUnit patch(@jakarta.annotation.Nonnull final DriveExclusionUnit body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -104,8 +122,11 @@ public DriveExclusionUnit patch(@jakarta.annotation.Nonnull final DriveExclusion /** * Delete navigation property driveExclusionUnits for solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -113,8 +134,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property driveExclusionUnits for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * The list of drive exclusion units in the tenant. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -133,8 +160,11 @@ public RequestInformation toGetRequestInformation() { * The list of drive exclusion units in the tenant. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -145,8 +175,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property driveExclusionUnits in solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final DriveExclusionUnit body) { return toPatchRequestInformation(body, null); } @@ -155,8 +188,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final DriveExclusionUnit body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -169,8 +205,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link DriveExclusionUnitItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public DriveExclusionUnitItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new DriveExclusionUnitItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/driveexclusionunitsbulkadditionjobs/DriveExclusionUnitsBulkAdditionJobsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/driveexclusionunitsbulkadditionjobs/DriveExclusionUnitsBulkAdditionJobsRequestBuilder.java index 930782afe45..4036d83158e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/driveexclusionunitsbulkadditionjobs/DriveExclusionUnitsBulkAdditionJobsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/driveexclusionunitsbulkadditionjobs/DriveExclusionUnitsBulkAdditionJobsRequestBuilder.java @@ -26,7 +26,10 @@ public class DriveExclusionUnitsBulkAdditionJobsRequestBuilder extends BaseReque /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the driveExclusionUnitsBulkAdditionJobs property of the microsoft.graph.backupRestoreRoot entity. * @param driveExclusionUnitsBulkAdditionJobId The unique identifier of driveExclusionUnitsBulkAdditionJob * @return a {@link DriveExclusionUnitsBulkAdditionJobItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public DriveExclusionUnitsBulkAdditionJobItemRequestBuilder byDriveExclusionUnitsBulkAdditionJobId(@jakarta.annotation.Nonnull final String driveExclusionUnitsBulkAdditionJobId) { Objects.requireNonNull(driveExclusionUnitsBulkAdditionJobId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public DriveExclusionUnitsBulkAdditionJobsRequestBuilder(@jakarta.annotation.Non * The list of bulk addition jobs for drive exclusion units in the tenant. * @return a {@link DriveExclusionUnitsBulkAdditionJobCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public DriveExclusionUnitsBulkAdditionJobCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public DriveExclusionUnitsBulkAdditionJobCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DriveExclusionUnitsBulkAdditionJobCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public DriveExclusionUnitsBulkAdditionJobCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public DriveExclusionUnitsBulkAdditionJobCollectionResponse get(@jakarta.annotat * @param body The request body * @return a {@link DriveExclusionUnitsBulkAdditionJob} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public DriveExclusionUnitsBulkAdditionJob post(@jakarta.annotation.Nonnull final DriveExclusionUnitsBulkAdditionJob body) { return post(body, null); } @@ -97,8 +112,11 @@ public DriveExclusionUnitsBulkAdditionJob post(@jakarta.annotation.Nonnull final * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DriveExclusionUnitsBulkAdditionJob} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public DriveExclusionUnitsBulkAdditionJob post(@jakarta.annotation.Nonnull final DriveExclusionUnitsBulkAdditionJob body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public DriveExclusionUnitsBulkAdditionJob post(@jakarta.annotation.Nonnull final /** * The list of bulk addition jobs for drive exclusion units in the tenant. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * The list of bulk addition jobs for drive exclusion units in the tenant. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to driveExclusionUnitsBulkAdditionJobs for solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DriveExclusionUnitsBulkAdditionJob body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DriveExclusionUnitsBulkAdditionJob body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link DriveExclusionUnitsBulkAdditionJobsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public DriveExclusionUnitsBulkAdditionJobsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new DriveExclusionUnitsBulkAdditionJobsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/driveexclusionunitsbulkadditionjobs/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/driveexclusionunitsbulkadditionjobs/count/CountRequestBuilder.java index f01f02ea11d..96d5c4d6946 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/driveexclusionunitsbulkadditionjobs/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/driveexclusionunitsbulkadditionjobs/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/driveexclusionunitsbulkadditionjobs/item/DriveExclusionUnitsBulkAdditionJobItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/driveexclusionunitsbulkadditionjobs/item/DriveExclusionUnitsBulkAdditionJobItemRequestBuilder.java index 6a5e9c4b9e6..66f2c3d181f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/driveexclusionunitsbulkadditionjobs/item/DriveExclusionUnitsBulkAdditionJobItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/driveexclusionunitsbulkadditionjobs/item/DriveExclusionUnitsBulkAdditionJobItemRequestBuilder.java @@ -39,7 +39,10 @@ public DriveExclusionUnitsBulkAdditionJobItemRequestBuilder(@jakarta.annotation. /** * Delete navigation property driveExclusionUnitsBulkAdditionJobs for solutions * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete() { delete(null); } @@ -47,7 +50,10 @@ public void delete() { * Delete navigation property driveExclusionUnitsBulkAdditionJobs for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -58,8 +64,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * The list of bulk addition jobs for drive exclusion units in the tenant. * @return a {@link DriveExclusionUnitsBulkAdditionJob} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public DriveExclusionUnitsBulkAdditionJob get() { return get(null); } @@ -68,8 +77,11 @@ public DriveExclusionUnitsBulkAdditionJob get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DriveExclusionUnitsBulkAdditionJob} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public DriveExclusionUnitsBulkAdditionJob get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -81,8 +93,11 @@ public DriveExclusionUnitsBulkAdditionJob get(@jakarta.annotation.Nullable final * @param body The request body * @return a {@link DriveExclusionUnitsBulkAdditionJob} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public DriveExclusionUnitsBulkAdditionJob patch(@jakarta.annotation.Nonnull final DriveExclusionUnitsBulkAdditionJob body) { return patch(body, null); } @@ -92,8 +107,11 @@ public DriveExclusionUnitsBulkAdditionJob patch(@jakarta.annotation.Nonnull fina * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DriveExclusionUnitsBulkAdditionJob} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public DriveExclusionUnitsBulkAdditionJob patch(@jakarta.annotation.Nonnull final DriveExclusionUnitsBulkAdditionJob body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -104,8 +122,11 @@ public DriveExclusionUnitsBulkAdditionJob patch(@jakarta.annotation.Nonnull fina /** * Delete navigation property driveExclusionUnitsBulkAdditionJobs for solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -113,8 +134,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property driveExclusionUnitsBulkAdditionJobs for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * The list of bulk addition jobs for drive exclusion units in the tenant. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -133,8 +160,11 @@ public RequestInformation toGetRequestInformation() { * The list of bulk addition jobs for drive exclusion units in the tenant. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -145,8 +175,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property driveExclusionUnitsBulkAdditionJobs in solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final DriveExclusionUnitsBulkAdditionJob body) { return toPatchRequestInformation(body, null); } @@ -155,8 +188,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final DriveExclusionUnitsBulkAdditionJob body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -169,8 +205,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link DriveExclusionUnitsBulkAdditionJobItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public DriveExclusionUnitsBulkAdditionJobItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new DriveExclusionUnitsBulkAdditionJobItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/driveinclusionrules/DriveInclusionRulesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/driveinclusionrules/DriveInclusionRulesRequestBuilder.java index 33cf86f9635..d9b482027cc 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/driveinclusionrules/DriveInclusionRulesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/driveinclusionrules/DriveInclusionRulesRequestBuilder.java @@ -26,7 +26,10 @@ public class DriveInclusionRulesRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the driveInclusionRules property of the microsoft.graph.backupRestoreRoot entity. * @param driveProtectionRuleId The unique identifier of driveProtectionRule * @return a {@link DriveProtectionRuleItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public DriveProtectionRuleItemRequestBuilder byDriveProtectionRuleId(@jakarta.annotation.Nonnull final String driveProtectionRuleId) { Objects.requireNonNull(driveProtectionRuleId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public DriveInclusionRulesRequestBuilder(@jakarta.annotation.Nonnull final Strin * The list of drive inclusion rules applied to the tenant. * @return a {@link DriveProtectionRuleCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public DriveProtectionRuleCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public DriveProtectionRuleCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DriveProtectionRuleCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public DriveProtectionRuleCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public DriveProtectionRuleCollectionResponse get(@jakarta.annotation.Nullable fi * @param body The request body * @return a {@link DriveProtectionRule} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public DriveProtectionRule post(@jakarta.annotation.Nonnull final DriveProtectionRule body) { return post(body, null); } @@ -97,8 +112,11 @@ public DriveProtectionRule post(@jakarta.annotation.Nonnull final DriveProtectio * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DriveProtectionRule} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public DriveProtectionRule post(@jakarta.annotation.Nonnull final DriveProtectionRule body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public DriveProtectionRule post(@jakarta.annotation.Nonnull final DriveProtectio /** * The list of drive inclusion rules applied to the tenant. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * The list of drive inclusion rules applied to the tenant. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to driveInclusionRules for solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DriveProtectionRule body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DriveProtectionRule body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link DriveInclusionRulesRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public DriveInclusionRulesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new DriveInclusionRulesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/driveinclusionrules/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/driveinclusionrules/count/CountRequestBuilder.java index 6ef5aa701f9..5dc9fd1646f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/driveinclusionrules/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/driveinclusionrules/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/driveinclusionrules/item/DriveProtectionRuleItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/driveinclusionrules/item/DriveProtectionRuleItemRequestBuilder.java index 315e1601213..9c59da20ba6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/driveinclusionrules/item/DriveProtectionRuleItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/driveinclusionrules/item/DriveProtectionRuleItemRequestBuilder.java @@ -39,7 +39,10 @@ public DriveProtectionRuleItemRequestBuilder(@jakarta.annotation.Nonnull final S /** * Delete navigation property driveInclusionRules for solutions * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete() { delete(null); } @@ -47,7 +50,10 @@ public void delete() { * Delete navigation property driveInclusionRules for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -58,8 +64,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * The list of drive inclusion rules applied to the tenant. * @return a {@link DriveProtectionRule} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public DriveProtectionRule get() { return get(null); } @@ -68,8 +77,11 @@ public DriveProtectionRule get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DriveProtectionRule} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public DriveProtectionRule get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -81,8 +93,11 @@ public DriveProtectionRule get(@jakarta.annotation.Nullable final java.util.func * @param body The request body * @return a {@link DriveProtectionRule} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public DriveProtectionRule patch(@jakarta.annotation.Nonnull final DriveProtectionRule body) { return patch(body, null); } @@ -92,8 +107,11 @@ public DriveProtectionRule patch(@jakarta.annotation.Nonnull final DriveProtecti * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DriveProtectionRule} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public DriveProtectionRule patch(@jakarta.annotation.Nonnull final DriveProtectionRule body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -104,8 +122,11 @@ public DriveProtectionRule patch(@jakarta.annotation.Nonnull final DriveProtecti /** * Delete navigation property driveInclusionRules for solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -113,8 +134,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property driveInclusionRules for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * The list of drive inclusion rules applied to the tenant. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -133,8 +160,11 @@ public RequestInformation toGetRequestInformation() { * The list of drive inclusion rules applied to the tenant. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -145,8 +175,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property driveInclusionRules in solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final DriveProtectionRule body) { return toPatchRequestInformation(body, null); } @@ -155,8 +188,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final DriveProtectionRule body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -169,8 +205,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link DriveProtectionRuleItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public DriveProtectionRuleItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new DriveProtectionRuleItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/driveprotectionunits/DriveProtectionUnitsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/driveprotectionunits/DriveProtectionUnitsRequestBuilder.java index feabf46692c..76fee15ca2c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/driveprotectionunits/DriveProtectionUnitsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/driveprotectionunits/DriveProtectionUnitsRequestBuilder.java @@ -26,7 +26,10 @@ public class DriveProtectionUnitsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the driveProtectionUnits property of the microsoft.graph.backupRestoreRoot entity. * @param driveProtectionUnitId The unique identifier of driveProtectionUnit * @return a {@link DriveProtectionUnitItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public DriveProtectionUnitItemRequestBuilder byDriveProtectionUnitId(@jakarta.annotation.Nonnull final String driveProtectionUnitId) { Objects.requireNonNull(driveProtectionUnitId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public DriveProtectionUnitsRequestBuilder(@jakarta.annotation.Nonnull final Stri * The list of drive protection units in the tenant. * @return a {@link DriveProtectionUnitCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public DriveProtectionUnitCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public DriveProtectionUnitCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DriveProtectionUnitCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public DriveProtectionUnitCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public DriveProtectionUnitCollectionResponse get(@jakarta.annotation.Nullable fi * @param body The request body * @return a {@link DriveProtectionUnit} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public DriveProtectionUnit post(@jakarta.annotation.Nonnull final DriveProtectionUnit body) { return post(body, null); } @@ -97,8 +112,11 @@ public DriveProtectionUnit post(@jakarta.annotation.Nonnull final DriveProtectio * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DriveProtectionUnit} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public DriveProtectionUnit post(@jakarta.annotation.Nonnull final DriveProtectionUnit body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public DriveProtectionUnit post(@jakarta.annotation.Nonnull final DriveProtectio /** * The list of drive protection units in the tenant. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * The list of drive protection units in the tenant. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to driveProtectionUnits for solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DriveProtectionUnit body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DriveProtectionUnit body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link DriveProtectionUnitsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public DriveProtectionUnitsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new DriveProtectionUnitsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/driveprotectionunits/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/driveprotectionunits/count/CountRequestBuilder.java index adc1065117e..ae038dabd74 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/driveprotectionunits/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/driveprotectionunits/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/driveprotectionunits/item/DriveProtectionUnitItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/driveprotectionunits/item/DriveProtectionUnitItemRequestBuilder.java index 20cdeeb2ac0..a1e8d8eb063 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/driveprotectionunits/item/DriveProtectionUnitItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/driveprotectionunits/item/DriveProtectionUnitItemRequestBuilder.java @@ -39,7 +39,10 @@ public DriveProtectionUnitItemRequestBuilder(@jakarta.annotation.Nonnull final S /** * Delete navigation property driveProtectionUnits for solutions * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete() { delete(null); } @@ -47,7 +50,10 @@ public void delete() { * Delete navigation property driveProtectionUnits for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -58,8 +64,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * The list of drive protection units in the tenant. * @return a {@link DriveProtectionUnit} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public DriveProtectionUnit get() { return get(null); } @@ -68,8 +77,11 @@ public DriveProtectionUnit get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DriveProtectionUnit} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public DriveProtectionUnit get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -81,8 +93,11 @@ public DriveProtectionUnit get(@jakarta.annotation.Nullable final java.util.func * @param body The request body * @return a {@link DriveProtectionUnit} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public DriveProtectionUnit patch(@jakarta.annotation.Nonnull final DriveProtectionUnit body) { return patch(body, null); } @@ -92,8 +107,11 @@ public DriveProtectionUnit patch(@jakarta.annotation.Nonnull final DriveProtecti * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DriveProtectionUnit} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public DriveProtectionUnit patch(@jakarta.annotation.Nonnull final DriveProtectionUnit body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -104,8 +122,11 @@ public DriveProtectionUnit patch(@jakarta.annotation.Nonnull final DriveProtecti /** * Delete navigation property driveProtectionUnits for solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -113,8 +134,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property driveProtectionUnits for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * The list of drive protection units in the tenant. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -133,8 +160,11 @@ public RequestInformation toGetRequestInformation() { * The list of drive protection units in the tenant. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -145,8 +175,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property driveProtectionUnits in solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final DriveProtectionUnit body) { return toPatchRequestInformation(body, null); } @@ -155,8 +188,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final DriveProtectionUnit body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -169,8 +205,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link DriveProtectionUnitItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public DriveProtectionUnitItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new DriveProtectionUnitItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/driveprotectionunitsbulkadditionjobs/DriveProtectionUnitsBulkAdditionJobsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/driveprotectionunitsbulkadditionjobs/DriveProtectionUnitsBulkAdditionJobsRequestBuilder.java index 47bfd0e5c5d..10642945b14 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/driveprotectionunitsbulkadditionjobs/DriveProtectionUnitsBulkAdditionJobsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/driveprotectionunitsbulkadditionjobs/DriveProtectionUnitsBulkAdditionJobsRequestBuilder.java @@ -26,7 +26,10 @@ public class DriveProtectionUnitsBulkAdditionJobsRequestBuilder extends BaseRequ /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the driveProtectionUnitsBulkAdditionJobs property of the microsoft.graph.backupRestoreRoot entity. * @param driveProtectionUnitsBulkAdditionJobId The unique identifier of driveProtectionUnitsBulkAdditionJob * @return a {@link DriveProtectionUnitsBulkAdditionJobItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public DriveProtectionUnitsBulkAdditionJobItemRequestBuilder byDriveProtectionUnitsBulkAdditionJobId(@jakarta.annotation.Nonnull final String driveProtectionUnitsBulkAdditionJobId) { Objects.requireNonNull(driveProtectionUnitsBulkAdditionJobId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public DriveProtectionUnitsBulkAdditionJobsRequestBuilder(@jakarta.annotation.No * Get driveProtectionUnitsBulkAdditionJobs from solutions * @return a {@link DriveProtectionUnitsBulkAdditionJobCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public DriveProtectionUnitsBulkAdditionJobCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public DriveProtectionUnitsBulkAdditionJobCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DriveProtectionUnitsBulkAdditionJobCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public DriveProtectionUnitsBulkAdditionJobCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public DriveProtectionUnitsBulkAdditionJobCollectionResponse get(@jakarta.annota * @param body The request body * @return a {@link DriveProtectionUnitsBulkAdditionJob} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public DriveProtectionUnitsBulkAdditionJob post(@jakarta.annotation.Nonnull final DriveProtectionUnitsBulkAdditionJob body) { return post(body, null); } @@ -97,8 +112,11 @@ public DriveProtectionUnitsBulkAdditionJob post(@jakarta.annotation.Nonnull fina * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DriveProtectionUnitsBulkAdditionJob} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public DriveProtectionUnitsBulkAdditionJob post(@jakarta.annotation.Nonnull final DriveProtectionUnitsBulkAdditionJob body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public DriveProtectionUnitsBulkAdditionJob post(@jakarta.annotation.Nonnull fina /** * Get driveProtectionUnitsBulkAdditionJobs from solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Get driveProtectionUnitsBulkAdditionJobs from solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to driveProtectionUnitsBulkAdditionJobs for solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DriveProtectionUnitsBulkAdditionJob body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DriveProtectionUnitsBulkAdditionJob body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link DriveProtectionUnitsBulkAdditionJobsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public DriveProtectionUnitsBulkAdditionJobsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new DriveProtectionUnitsBulkAdditionJobsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/driveprotectionunitsbulkadditionjobs/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/driveprotectionunitsbulkadditionjobs/count/CountRequestBuilder.java index 2b27d74c924..fb5f0a23d82 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/driveprotectionunitsbulkadditionjobs/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/driveprotectionunitsbulkadditionjobs/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/driveprotectionunitsbulkadditionjobs/item/DriveProtectionUnitsBulkAdditionJobItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/driveprotectionunitsbulkadditionjobs/item/DriveProtectionUnitsBulkAdditionJobItemRequestBuilder.java index 32fbb55e853..1550bbcfdc1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/driveprotectionunitsbulkadditionjobs/item/DriveProtectionUnitsBulkAdditionJobItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/driveprotectionunitsbulkadditionjobs/item/DriveProtectionUnitsBulkAdditionJobItemRequestBuilder.java @@ -39,7 +39,10 @@ public DriveProtectionUnitsBulkAdditionJobItemRequestBuilder(@jakarta.annotation /** * Delete navigation property driveProtectionUnitsBulkAdditionJobs for solutions * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete() { delete(null); } @@ -47,7 +50,10 @@ public void delete() { * Delete navigation property driveProtectionUnitsBulkAdditionJobs for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -58,8 +64,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Get driveProtectionUnitsBulkAdditionJobs from solutions * @return a {@link DriveProtectionUnitsBulkAdditionJob} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public DriveProtectionUnitsBulkAdditionJob get() { return get(null); } @@ -68,8 +77,11 @@ public DriveProtectionUnitsBulkAdditionJob get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DriveProtectionUnitsBulkAdditionJob} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public DriveProtectionUnitsBulkAdditionJob get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -81,8 +93,11 @@ public DriveProtectionUnitsBulkAdditionJob get(@jakarta.annotation.Nullable fina * @param body The request body * @return a {@link DriveProtectionUnitsBulkAdditionJob} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public DriveProtectionUnitsBulkAdditionJob patch(@jakarta.annotation.Nonnull final DriveProtectionUnitsBulkAdditionJob body) { return patch(body, null); } @@ -92,8 +107,11 @@ public DriveProtectionUnitsBulkAdditionJob patch(@jakarta.annotation.Nonnull fin * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DriveProtectionUnitsBulkAdditionJob} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public DriveProtectionUnitsBulkAdditionJob patch(@jakarta.annotation.Nonnull final DriveProtectionUnitsBulkAdditionJob body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -104,8 +122,11 @@ public DriveProtectionUnitsBulkAdditionJob patch(@jakarta.annotation.Nonnull fin /** * Delete navigation property driveProtectionUnitsBulkAdditionJobs for solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -113,8 +134,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property driveProtectionUnitsBulkAdditionJobs for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Get driveProtectionUnitsBulkAdditionJobs from solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -133,8 +160,11 @@ public RequestInformation toGetRequestInformation() { * Get driveProtectionUnitsBulkAdditionJobs from solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -145,8 +175,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property driveProtectionUnitsBulkAdditionJobs in solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final DriveProtectionUnitsBulkAdditionJob body) { return toPatchRequestInformation(body, null); } @@ -155,8 +188,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final DriveProtectionUnitsBulkAdditionJob body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -169,8 +205,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link DriveProtectionUnitsBulkAdditionJobItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public DriveProtectionUnitsBulkAdditionJobItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new DriveProtectionUnitsBulkAdditionJobItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/emailnotificationssetting/EmailNotificationsSettingRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/emailnotificationssetting/EmailNotificationsSettingRequestBuilder.java index c6ebb73c9b6..136a8b0d0ac 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/emailnotificationssetting/EmailNotificationsSettingRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/emailnotificationssetting/EmailNotificationsSettingRequestBuilder.java @@ -39,7 +39,10 @@ public EmailNotificationsSettingRequestBuilder(@jakarta.annotation.Nonnull final /** * Delete navigation property emailNotificationsSetting for solutions * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete() { delete(null); } @@ -47,7 +50,10 @@ public void delete() { * Delete navigation property emailNotificationsSetting for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -58,9 +64,12 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Read the properties and relationships of an emailNotificationsSetting object. * @return a {@link EmailNotificationsSetting} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public EmailNotificationsSetting get() { return get(null); } @@ -69,9 +78,12 @@ public EmailNotificationsSetting get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link EmailNotificationsSetting} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public EmailNotificationsSetting get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -83,9 +95,12 @@ public EmailNotificationsSetting get(@jakarta.annotation.Nullable final java.uti * @param body The request body * @return a {@link EmailNotificationsSetting} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public EmailNotificationsSetting patch(@jakarta.annotation.Nonnull final EmailNotificationsSetting body) { return patch(body, null); } @@ -95,9 +110,12 @@ public EmailNotificationsSetting patch(@jakarta.annotation.Nonnull final EmailNo * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link EmailNotificationsSetting} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public EmailNotificationsSetting patch(@jakarta.annotation.Nonnull final EmailNotificationsSetting body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -108,8 +126,11 @@ public EmailNotificationsSetting patch(@jakarta.annotation.Nonnull final EmailNo /** * Delete navigation property emailNotificationsSetting for solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -117,8 +138,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property emailNotificationsSetting for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -128,8 +152,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Read the properties and relationships of an emailNotificationsSetting object. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -137,8 +164,11 @@ public RequestInformation toGetRequestInformation() { * Read the properties and relationships of an emailNotificationsSetting object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -149,8 +179,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the properties of an emailNotificationsSetting object. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final EmailNotificationsSetting body) { return toPatchRequestInformation(body, null); } @@ -159,8 +192,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final EmailNotificationsSetting body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -173,8 +209,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link EmailNotificationsSettingRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public EmailNotificationsSettingRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new EmailNotificationsSettingRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/enable/EnableRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/enable/EnableRequestBuilder.java index f428b010735..95bfce924af 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/enable/EnableRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/enable/EnableRequestBuilder.java @@ -40,9 +40,12 @@ public EnableRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ja * @param body The request body * @return a {@link ServiceStatus} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public ServiceStatus post(@jakarta.annotation.Nonnull final EnablePostRequestBody body) { return post(body, null); } @@ -52,9 +55,12 @@ public ServiceStatus post(@jakarta.annotation.Nonnull final EnablePostRequestBod * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ServiceStatus} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public ServiceStatus post(@jakarta.annotation.Nonnull final EnablePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -66,8 +72,11 @@ public ServiceStatus post(@jakarta.annotation.Nonnull final EnablePostRequestBod * Enable the Microsoft 365 Backup Storage service for a tenant. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final EnablePostRequestBody body) { return toPostRequestInformation(body, null); } @@ -76,8 +85,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final EnablePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -90,8 +102,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link EnableRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public EnableRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new EnableRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangeprotectionpolicies/ExchangeProtectionPoliciesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangeprotectionpolicies/ExchangeProtectionPoliciesRequestBuilder.java index e276f669eef..eb8ae985abd 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangeprotectionpolicies/ExchangeProtectionPoliciesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangeprotectionpolicies/ExchangeProtectionPoliciesRequestBuilder.java @@ -26,7 +26,10 @@ public class ExchangeProtectionPoliciesRequestBuilder extends BaseRequestBuilder /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the exchangeProtectionPolicies property of the microsoft.graph.backupRestoreRoot entity. * @param exchangeProtectionPolicyId The unique identifier of exchangeProtectionPolicy * @return a {@link ExchangeProtectionPolicyItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public ExchangeProtectionPolicyItemRequestBuilder byExchangeProtectionPolicyId(@jakarta.annotation.Nonnull final String exchangeProtectionPolicyId) { Objects.requireNonNull(exchangeProtectionPolicyId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public ExchangeProtectionPoliciesRequestBuilder(@jakarta.annotation.Nonnull fina * The list of Exchange protection policies in the tenant. * @return a {@link ExchangeProtectionPolicyCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public ExchangeProtectionPolicyCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public ExchangeProtectionPolicyCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ExchangeProtectionPolicyCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public ExchangeProtectionPolicyCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,9 +98,12 @@ public ExchangeProtectionPolicyCollectionResponse get(@jakarta.annotation.Nullab * @param body The request body * @return a {@link ExchangeProtectionPolicy} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public ExchangeProtectionPolicy post(@jakarta.annotation.Nonnull final ExchangeProtectionPolicy body) { return post(body, null); } @@ -98,9 +113,12 @@ public ExchangeProtectionPolicy post(@jakarta.annotation.Nonnull final ExchangeP * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ExchangeProtectionPolicy} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public ExchangeProtectionPolicy post(@jakarta.annotation.Nonnull final ExchangeProtectionPolicy body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -111,8 +129,11 @@ public ExchangeProtectionPolicy post(@jakarta.annotation.Nonnull final ExchangeP /** * The list of Exchange protection policies in the tenant. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -120,8 +141,11 @@ public RequestInformation toGetRequestInformation() { * The list of Exchange protection policies in the tenant. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -132,8 +156,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create a protection policy for the Exchange service in a Microsoft 365 tenant. The policy is set to inactive when it is created. Users can also provide a list of protection units under the policy. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ExchangeProtectionPolicy body) { return toPostRequestInformation(body, null); } @@ -142,8 +169,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ExchangeProtectionPolicy body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -156,8 +186,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ExchangeProtectionPoliciesRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public ExchangeProtectionPoliciesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ExchangeProtectionPoliciesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangeprotectionpolicies/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangeprotectionpolicies/count/CountRequestBuilder.java index 2257b98afb9..e62d7ffdc89 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangeprotectionpolicies/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangeprotectionpolicies/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangeprotectionpolicies/item/ExchangeProtectionPolicyItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangeprotectionpolicies/item/ExchangeProtectionPolicyItemRequestBuilder.java index 04fcffc60ad..6cd5ba70bc7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangeprotectionpolicies/item/ExchangeProtectionPolicyItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangeprotectionpolicies/item/ExchangeProtectionPolicyItemRequestBuilder.java @@ -28,7 +28,10 @@ public class ExchangeProtectionPolicyItemRequestBuilder extends BaseRequestBuild /** * Provides operations to manage the mailboxExclusionUnits property of the microsoft.graph.exchangeProtectionPolicy entity. * @return a {@link MailboxExclusionUnitsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public MailboxExclusionUnitsRequestBuilder mailboxExclusionUnits() { return new MailboxExclusionUnitsRequestBuilder(pathParameters, requestAdapter); @@ -36,7 +39,10 @@ public MailboxExclusionUnitsRequestBuilder mailboxExclusionUnits() { /** * Provides operations to manage the mailboxExclusionUnitsBulkAdditionJobs property of the microsoft.graph.exchangeProtectionPolicy entity. * @return a {@link MailboxExclusionUnitsBulkAdditionJobsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public MailboxExclusionUnitsBulkAdditionJobsRequestBuilder mailboxExclusionUnitsBulkAdditionJobs() { return new MailboxExclusionUnitsBulkAdditionJobsRequestBuilder(pathParameters, requestAdapter); @@ -44,7 +50,10 @@ public MailboxExclusionUnitsBulkAdditionJobsRequestBuilder mailboxExclusionUnits /** * Provides operations to manage the mailboxInclusionRules property of the microsoft.graph.exchangeProtectionPolicy entity. * @return a {@link MailboxInclusionRulesRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public MailboxInclusionRulesRequestBuilder mailboxInclusionRules() { return new MailboxInclusionRulesRequestBuilder(pathParameters, requestAdapter); @@ -52,7 +61,10 @@ public MailboxInclusionRulesRequestBuilder mailboxInclusionRules() { /** * Provides operations to manage the mailboxProtectionUnits property of the microsoft.graph.exchangeProtectionPolicy entity. * @return a {@link MailboxProtectionUnitsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public MailboxProtectionUnitsRequestBuilder mailboxProtectionUnits() { return new MailboxProtectionUnitsRequestBuilder(pathParameters, requestAdapter); @@ -60,7 +72,10 @@ public MailboxProtectionUnitsRequestBuilder mailboxProtectionUnits() { /** * Provides operations to manage the mailboxProtectionUnitsBulkAdditionJobs property of the microsoft.graph.exchangeProtectionPolicy entity. * @return a {@link MailboxProtectionUnitsBulkAdditionJobsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public MailboxProtectionUnitsBulkAdditionJobsRequestBuilder mailboxProtectionUnitsBulkAdditionJobs() { return new MailboxProtectionUnitsBulkAdditionJobsRequestBuilder(pathParameters, requestAdapter); @@ -84,7 +99,10 @@ public ExchangeProtectionPolicyItemRequestBuilder(@jakarta.annotation.Nonnull fi /** * Delete navigation property exchangeProtectionPolicies for solutions * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete() { delete(null); } @@ -92,7 +110,10 @@ public void delete() { * Delete navigation property exchangeProtectionPolicies for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -103,8 +124,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * The list of Exchange protection policies in the tenant. * @return a {@link ExchangeProtectionPolicy} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public ExchangeProtectionPolicy get() { return get(null); } @@ -113,8 +137,11 @@ public ExchangeProtectionPolicy get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ExchangeProtectionPolicy} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public ExchangeProtectionPolicy get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -126,9 +153,12 @@ public ExchangeProtectionPolicy get(@jakarta.annotation.Nullable final java.util * @param body The request body * @return a {@link ExchangeProtectionPolicy} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public ExchangeProtectionPolicy patch(@jakarta.annotation.Nonnull final ExchangeProtectionPolicy body) { return patch(body, null); } @@ -138,9 +168,12 @@ public ExchangeProtectionPolicy patch(@jakarta.annotation.Nonnull final Exchange * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ExchangeProtectionPolicy} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public ExchangeProtectionPolicy patch(@jakarta.annotation.Nonnull final ExchangeProtectionPolicy body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -151,8 +184,11 @@ public ExchangeProtectionPolicy patch(@jakarta.annotation.Nonnull final Exchange /** * Delete navigation property exchangeProtectionPolicies for solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -160,8 +196,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property exchangeProtectionPolicies for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -171,8 +210,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * The list of Exchange protection policies in the tenant. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -180,8 +222,11 @@ public RequestInformation toGetRequestInformation() { * The list of Exchange protection policies in the tenant. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -192,8 +237,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update an Exchange protection policy. This method adds a mailboxprotectionunit to or removes it from the protection policy. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final ExchangeProtectionPolicy body) { return toPatchRequestInformation(body, null); } @@ -202,8 +250,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final ExchangeProtectionPolicy body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -216,8 +267,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ExchangeProtectionPolicyItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public ExchangeProtectionPolicyItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ExchangeProtectionPolicyItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangeprotectionpolicies/item/mailboxexclusionunits/MailboxExclusionUnitsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangeprotectionpolicies/item/mailboxexclusionunits/MailboxExclusionUnitsRequestBuilder.java index f807c3a4127..d58926c6a80 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangeprotectionpolicies/item/mailboxexclusionunits/MailboxExclusionUnitsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangeprotectionpolicies/item/mailboxexclusionunits/MailboxExclusionUnitsRequestBuilder.java @@ -25,7 +25,10 @@ public class MailboxExclusionUnitsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -34,8 +37,11 @@ public CountRequestBuilder count() { * Provides operations to manage the mailboxExclusionUnits property of the microsoft.graph.exchangeProtectionPolicy entity. * @param mailboxExclusionUnitId The unique identifier of mailboxExclusionUnit * @return a {@link MailboxExclusionUnitItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public MailboxExclusionUnitItemRequestBuilder byMailboxExclusionUnitId(@jakarta.annotation.Nonnull final String mailboxExclusionUnitId) { Objects.requireNonNull(mailboxExclusionUnitId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -62,9 +68,12 @@ public MailboxExclusionUnitsRequestBuilder(@jakarta.annotation.Nonnull final Str * Get a list of mailbox exclusion units associated with an Exchange protection policy. * @return a {@link MailboxExclusionUnitCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public MailboxExclusionUnitCollectionResponse get() { return get(null); } @@ -73,9 +82,12 @@ public MailboxExclusionUnitCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MailboxExclusionUnitCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public MailboxExclusionUnitCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -85,8 +97,11 @@ public MailboxExclusionUnitCollectionResponse get(@jakarta.annotation.Nullable f /** * Get a list of mailbox exclusion units associated with an Exchange protection policy. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -94,8 +109,11 @@ public RequestInformation toGetRequestInformation() { * Get a list of mailbox exclusion units associated with an Exchange protection policy. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -106,8 +124,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link MailboxExclusionUnitsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public MailboxExclusionUnitsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new MailboxExclusionUnitsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangeprotectionpolicies/item/mailboxexclusionunits/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangeprotectionpolicies/item/mailboxexclusionunits/count/CountRequestBuilder.java index 115eca5c142..5804fb73c84 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangeprotectionpolicies/item/mailboxexclusionunits/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangeprotectionpolicies/item/mailboxexclusionunits/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangeprotectionpolicies/item/mailboxexclusionunits/item/MailboxExclusionUnitItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangeprotectionpolicies/item/mailboxexclusionunits/item/MailboxExclusionUnitItemRequestBuilder.java index fb78ee02dce..630d758fe6f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangeprotectionpolicies/item/mailboxexclusionunits/item/MailboxExclusionUnitItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangeprotectionpolicies/item/mailboxexclusionunits/item/MailboxExclusionUnitItemRequestBuilder.java @@ -40,9 +40,12 @@ public MailboxExclusionUnitItemRequestBuilder(@jakarta.annotation.Nonnull final * Get a mailbox exclusion unit associated with an Exchange protection policy. * @return a {@link MailboxExclusionUnit} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public MailboxExclusionUnit get() { return get(null); } @@ -51,9 +54,12 @@ public MailboxExclusionUnit get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MailboxExclusionUnit} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public MailboxExclusionUnit get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -63,8 +69,11 @@ public MailboxExclusionUnit get(@jakarta.annotation.Nullable final java.util.fun /** * Get a mailbox exclusion unit associated with an Exchange protection policy. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -72,8 +81,11 @@ public RequestInformation toGetRequestInformation() { * Get a mailbox exclusion unit associated with an Exchange protection policy. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -84,8 +96,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link MailboxExclusionUnitItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public MailboxExclusionUnitItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new MailboxExclusionUnitItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangeprotectionpolicies/item/mailboxexclusionunitsbulkadditionjobs/MailboxExclusionUnitsBulkAdditionJobsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangeprotectionpolicies/item/mailboxexclusionunitsbulkadditionjobs/MailboxExclusionUnitsBulkAdditionJobsRequestBuilder.java index caae8d09334..c11e8ddf214 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangeprotectionpolicies/item/mailboxexclusionunitsbulkadditionjobs/MailboxExclusionUnitsBulkAdditionJobsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangeprotectionpolicies/item/mailboxexclusionunitsbulkadditionjobs/MailboxExclusionUnitsBulkAdditionJobsRequestBuilder.java @@ -25,7 +25,10 @@ public class MailboxExclusionUnitsBulkAdditionJobsRequestBuilder extends BaseReq /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -34,8 +37,11 @@ public CountRequestBuilder count() { * Provides operations to manage the mailboxExclusionUnitsBulkAdditionJobs property of the microsoft.graph.exchangeProtectionPolicy entity. * @param mailboxExclusionUnitsBulkAdditionJobId The unique identifier of mailboxExclusionUnitsBulkAdditionJob * @return a {@link MailboxExclusionUnitsBulkAdditionJobItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public MailboxExclusionUnitsBulkAdditionJobItemRequestBuilder byMailboxExclusionUnitsBulkAdditionJobId(@jakarta.annotation.Nonnull final String mailboxExclusionUnitsBulkAdditionJobId) { Objects.requireNonNull(mailboxExclusionUnitsBulkAdditionJobId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -62,9 +68,12 @@ public MailboxExclusionUnitsBulkAdditionJobsRequestBuilder(@jakarta.annotation.N * Get a list of mailbox exclusion units bulk addition jobs associated with an Exchange protection policy. * @return a {@link MailboxExclusionUnitsBulkAdditionJobCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public MailboxExclusionUnitsBulkAdditionJobCollectionResponse get() { return get(null); } @@ -73,9 +82,12 @@ public MailboxExclusionUnitsBulkAdditionJobCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MailboxExclusionUnitsBulkAdditionJobCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public MailboxExclusionUnitsBulkAdditionJobCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -85,8 +97,11 @@ public MailboxExclusionUnitsBulkAdditionJobCollectionResponse get(@jakarta.annot /** * Get a list of mailbox exclusion units bulk addition jobs associated with an Exchange protection policy. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -94,8 +109,11 @@ public RequestInformation toGetRequestInformation() { * Get a list of mailbox exclusion units bulk addition jobs associated with an Exchange protection policy. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -106,8 +124,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link MailboxExclusionUnitsBulkAdditionJobsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public MailboxExclusionUnitsBulkAdditionJobsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new MailboxExclusionUnitsBulkAdditionJobsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangeprotectionpolicies/item/mailboxexclusionunitsbulkadditionjobs/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangeprotectionpolicies/item/mailboxexclusionunitsbulkadditionjobs/count/CountRequestBuilder.java index fff9e88ee6f..a34998daee6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangeprotectionpolicies/item/mailboxexclusionunitsbulkadditionjobs/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangeprotectionpolicies/item/mailboxexclusionunitsbulkadditionjobs/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangeprotectionpolicies/item/mailboxexclusionunitsbulkadditionjobs/item/MailboxExclusionUnitsBulkAdditionJobItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangeprotectionpolicies/item/mailboxexclusionunitsbulkadditionjobs/item/MailboxExclusionUnitsBulkAdditionJobItemRequestBuilder.java index eb23e9f37cb..193965ef1fc 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangeprotectionpolicies/item/mailboxexclusionunitsbulkadditionjobs/item/MailboxExclusionUnitsBulkAdditionJobItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangeprotectionpolicies/item/mailboxexclusionunitsbulkadditionjobs/item/MailboxExclusionUnitsBulkAdditionJobItemRequestBuilder.java @@ -40,9 +40,12 @@ public MailboxExclusionUnitsBulkAdditionJobItemRequestBuilder(@jakarta.annotatio * Get a mailbox exclusion units bulk addition job associated with an Exchange protection policy. * @return a {@link MailboxExclusionUnitsBulkAdditionJob} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public MailboxExclusionUnitsBulkAdditionJob get() { return get(null); } @@ -51,9 +54,12 @@ public MailboxExclusionUnitsBulkAdditionJob get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MailboxExclusionUnitsBulkAdditionJob} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public MailboxExclusionUnitsBulkAdditionJob get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -63,8 +69,11 @@ public MailboxExclusionUnitsBulkAdditionJob get(@jakarta.annotation.Nullable fin /** * Get a mailbox exclusion units bulk addition job associated with an Exchange protection policy. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -72,8 +81,11 @@ public RequestInformation toGetRequestInformation() { * Get a mailbox exclusion units bulk addition job associated with an Exchange protection policy. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -84,8 +96,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link MailboxExclusionUnitsBulkAdditionJobItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public MailboxExclusionUnitsBulkAdditionJobItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new MailboxExclusionUnitsBulkAdditionJobItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangeprotectionpolicies/item/mailboxinclusionrules/MailboxInclusionRulesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangeprotectionpolicies/item/mailboxinclusionrules/MailboxInclusionRulesRequestBuilder.java index 18d008b73f1..d0348d41ab5 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangeprotectionpolicies/item/mailboxinclusionrules/MailboxInclusionRulesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangeprotectionpolicies/item/mailboxinclusionrules/MailboxInclusionRulesRequestBuilder.java @@ -25,7 +25,10 @@ public class MailboxInclusionRulesRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -34,8 +37,11 @@ public CountRequestBuilder count() { * Provides operations to manage the mailboxInclusionRules property of the microsoft.graph.exchangeProtectionPolicy entity. * @param mailboxProtectionRuleId The unique identifier of mailboxProtectionRule * @return a {@link MailboxProtectionRuleItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public MailboxProtectionRuleItemRequestBuilder byMailboxProtectionRuleId(@jakarta.annotation.Nonnull final String mailboxProtectionRuleId) { Objects.requireNonNull(mailboxProtectionRuleId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -62,9 +68,12 @@ public MailboxInclusionRulesRequestBuilder(@jakarta.annotation.Nonnull final Str * Get a list of mailboxProtectionRule objects associated with an exchangeProtectionPolicy. An inclusion rule indicates that a protection policy should contain protection units that match the specified rule criteria. The initial status of a protection rule upon creation is active. After the rule is applied, the state is either completed or completedWithErrors. * @return a {@link MailboxProtectionRuleCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public MailboxProtectionRuleCollectionResponse get() { return get(null); } @@ -73,9 +82,12 @@ public MailboxProtectionRuleCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MailboxProtectionRuleCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public MailboxProtectionRuleCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -85,8 +97,11 @@ public MailboxProtectionRuleCollectionResponse get(@jakarta.annotation.Nullable /** * Get a list of mailboxProtectionRule objects associated with an exchangeProtectionPolicy. An inclusion rule indicates that a protection policy should contain protection units that match the specified rule criteria. The initial status of a protection rule upon creation is active. After the rule is applied, the state is either completed or completedWithErrors. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -94,8 +109,11 @@ public RequestInformation toGetRequestInformation() { * Get a list of mailboxProtectionRule objects associated with an exchangeProtectionPolicy. An inclusion rule indicates that a protection policy should contain protection units that match the specified rule criteria. The initial status of a protection rule upon creation is active. After the rule is applied, the state is either completed or completedWithErrors. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -106,8 +124,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link MailboxInclusionRulesRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public MailboxInclusionRulesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new MailboxInclusionRulesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangeprotectionpolicies/item/mailboxinclusionrules/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangeprotectionpolicies/item/mailboxinclusionrules/count/CountRequestBuilder.java index 292d56e413d..e085a3d20f6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangeprotectionpolicies/item/mailboxinclusionrules/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangeprotectionpolicies/item/mailboxinclusionrules/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangeprotectionpolicies/item/mailboxinclusionrules/item/MailboxProtectionRuleItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangeprotectionpolicies/item/mailboxinclusionrules/item/MailboxProtectionRuleItemRequestBuilder.java index 8ea17f01104..a3d3688fb67 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangeprotectionpolicies/item/mailboxinclusionrules/item/MailboxProtectionRuleItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangeprotectionpolicies/item/mailboxinclusionrules/item/MailboxProtectionRuleItemRequestBuilder.java @@ -40,9 +40,12 @@ public MailboxProtectionRuleItemRequestBuilder(@jakarta.annotation.Nonnull final * Get a protection rule that's associated with a protection policy. You can use this operation to get mailbox, drive, and site protection rules. An inclusion rule indicates that a protection policy should contain protection units that match the specified rule criteria. The initial status of a protection rule upon creation is active. After the rule is applied, the state is either completed or completedWithErrors. * @return a {@link MailboxProtectionRule} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public MailboxProtectionRule get() { return get(null); } @@ -51,9 +54,12 @@ public MailboxProtectionRule get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MailboxProtectionRule} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public MailboxProtectionRule get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -63,8 +69,11 @@ public MailboxProtectionRule get(@jakarta.annotation.Nullable final java.util.fu /** * Get a protection rule that's associated with a protection policy. You can use this operation to get mailbox, drive, and site protection rules. An inclusion rule indicates that a protection policy should contain protection units that match the specified rule criteria. The initial status of a protection rule upon creation is active. After the rule is applied, the state is either completed or completedWithErrors. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -72,8 +81,11 @@ public RequestInformation toGetRequestInformation() { * Get a protection rule that's associated with a protection policy. You can use this operation to get mailbox, drive, and site protection rules. An inclusion rule indicates that a protection policy should contain protection units that match the specified rule criteria. The initial status of a protection rule upon creation is active. After the rule is applied, the state is either completed or completedWithErrors. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -84,8 +96,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link MailboxProtectionRuleItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public MailboxProtectionRuleItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new MailboxProtectionRuleItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangeprotectionpolicies/item/mailboxprotectionunits/MailboxProtectionUnitsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangeprotectionpolicies/item/mailboxprotectionunits/MailboxProtectionUnitsRequestBuilder.java index 8ad00e0c6f4..75d901f88c0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangeprotectionpolicies/item/mailboxprotectionunits/MailboxProtectionUnitsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangeprotectionpolicies/item/mailboxprotectionunits/MailboxProtectionUnitsRequestBuilder.java @@ -25,7 +25,10 @@ public class MailboxProtectionUnitsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -34,8 +37,11 @@ public CountRequestBuilder count() { * Provides operations to manage the mailboxProtectionUnits property of the microsoft.graph.exchangeProtectionPolicy entity. * @param mailboxProtectionUnitId The unique identifier of mailboxProtectionUnit * @return a {@link MailboxProtectionUnitItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public MailboxProtectionUnitItemRequestBuilder byMailboxProtectionUnitId(@jakarta.annotation.Nonnull final String mailboxProtectionUnitId) { Objects.requireNonNull(mailboxProtectionUnitId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -62,8 +68,11 @@ public MailboxProtectionUnitsRequestBuilder(@jakarta.annotation.Nonnull final St * The protection units (mailboxes) that are protected under the Exchange protection policy. * @return a {@link MailboxProtectionUnitCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public MailboxProtectionUnitCollectionResponse get() { return get(null); } @@ -72,8 +81,11 @@ public MailboxProtectionUnitCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MailboxProtectionUnitCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public MailboxProtectionUnitCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -83,8 +95,11 @@ public MailboxProtectionUnitCollectionResponse get(@jakarta.annotation.Nullable /** * The protection units (mailboxes) that are protected under the Exchange protection policy. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -92,8 +107,11 @@ public RequestInformation toGetRequestInformation() { * The protection units (mailboxes) that are protected under the Exchange protection policy. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -104,8 +122,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link MailboxProtectionUnitsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public MailboxProtectionUnitsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new MailboxProtectionUnitsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangeprotectionpolicies/item/mailboxprotectionunits/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangeprotectionpolicies/item/mailboxprotectionunits/count/CountRequestBuilder.java index f7c9e5f08ff..446a8815a4f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangeprotectionpolicies/item/mailboxprotectionunits/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangeprotectionpolicies/item/mailboxprotectionunits/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangeprotectionpolicies/item/mailboxprotectionunits/item/MailboxProtectionUnitItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangeprotectionpolicies/item/mailboxprotectionunits/item/MailboxProtectionUnitItemRequestBuilder.java index 2d3302f5d8d..599616e3161 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangeprotectionpolicies/item/mailboxprotectionunits/item/MailboxProtectionUnitItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangeprotectionpolicies/item/mailboxprotectionunits/item/MailboxProtectionUnitItemRequestBuilder.java @@ -40,8 +40,11 @@ public MailboxProtectionUnitItemRequestBuilder(@jakarta.annotation.Nonnull final * The protection units (mailboxes) that are protected under the Exchange protection policy. * @return a {@link MailboxProtectionUnit} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public MailboxProtectionUnit get() { return get(null); } @@ -50,8 +53,11 @@ public MailboxProtectionUnit get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MailboxProtectionUnit} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public MailboxProtectionUnit get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public MailboxProtectionUnit get(@jakarta.annotation.Nullable final java.util.fu /** * The protection units (mailboxes) that are protected under the Exchange protection policy. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * The protection units (mailboxes) that are protected under the Exchange protection policy. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link MailboxProtectionUnitItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public MailboxProtectionUnitItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new MailboxProtectionUnitItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangeprotectionpolicies/item/mailboxprotectionunitsbulkadditionjobs/MailboxProtectionUnitsBulkAdditionJobsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangeprotectionpolicies/item/mailboxprotectionunitsbulkadditionjobs/MailboxProtectionUnitsBulkAdditionJobsRequestBuilder.java index a832196fd48..989b97c9d6f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangeprotectionpolicies/item/mailboxprotectionunitsbulkadditionjobs/MailboxProtectionUnitsBulkAdditionJobsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangeprotectionpolicies/item/mailboxprotectionunitsbulkadditionjobs/MailboxProtectionUnitsBulkAdditionJobsRequestBuilder.java @@ -25,7 +25,10 @@ public class MailboxProtectionUnitsBulkAdditionJobsRequestBuilder extends BaseRe /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -34,8 +37,11 @@ public CountRequestBuilder count() { * Provides operations to manage the mailboxProtectionUnitsBulkAdditionJobs property of the microsoft.graph.exchangeProtectionPolicy entity. * @param mailboxProtectionUnitsBulkAdditionJobId The unique identifier of mailboxProtectionUnitsBulkAdditionJob * @return a {@link MailboxProtectionUnitsBulkAdditionJobItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public MailboxProtectionUnitsBulkAdditionJobItemRequestBuilder byMailboxProtectionUnitsBulkAdditionJobId(@jakarta.annotation.Nonnull final String mailboxProtectionUnitsBulkAdditionJobId) { Objects.requireNonNull(mailboxProtectionUnitsBulkAdditionJobId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -62,9 +68,12 @@ public MailboxProtectionUnitsBulkAdditionJobsRequestBuilder(@jakarta.annotation. * Get a list of mailboxProtectionUnitsBulkAdditionJobs objects associated with an exchangeProtectionPolicy. * @return a {@link MailboxProtectionUnitsBulkAdditionJobCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public MailboxProtectionUnitsBulkAdditionJobCollectionResponse get() { return get(null); } @@ -73,9 +82,12 @@ public MailboxProtectionUnitsBulkAdditionJobCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MailboxProtectionUnitsBulkAdditionJobCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public MailboxProtectionUnitsBulkAdditionJobCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -85,8 +97,11 @@ public MailboxProtectionUnitsBulkAdditionJobCollectionResponse get(@jakarta.anno /** * Get a list of mailboxProtectionUnitsBulkAdditionJobs objects associated with an exchangeProtectionPolicy. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -94,8 +109,11 @@ public RequestInformation toGetRequestInformation() { * Get a list of mailboxProtectionUnitsBulkAdditionJobs objects associated with an exchangeProtectionPolicy. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -106,8 +124,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link MailboxProtectionUnitsBulkAdditionJobsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public MailboxProtectionUnitsBulkAdditionJobsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new MailboxProtectionUnitsBulkAdditionJobsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangeprotectionpolicies/item/mailboxprotectionunitsbulkadditionjobs/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangeprotectionpolicies/item/mailboxprotectionunitsbulkadditionjobs/count/CountRequestBuilder.java index 4fc96be7006..4df758a1461 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangeprotectionpolicies/item/mailboxprotectionunitsbulkadditionjobs/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangeprotectionpolicies/item/mailboxprotectionunitsbulkadditionjobs/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangeprotectionpolicies/item/mailboxprotectionunitsbulkadditionjobs/item/MailboxProtectionUnitsBulkAdditionJobItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangeprotectionpolicies/item/mailboxprotectionunitsbulkadditionjobs/item/MailboxProtectionUnitsBulkAdditionJobItemRequestBuilder.java index 92e08e83662..4bf68637150 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangeprotectionpolicies/item/mailboxprotectionunitsbulkadditionjobs/item/MailboxProtectionUnitsBulkAdditionJobItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangeprotectionpolicies/item/mailboxprotectionunitsbulkadditionjobs/item/MailboxProtectionUnitsBulkAdditionJobItemRequestBuilder.java @@ -40,9 +40,12 @@ public MailboxProtectionUnitsBulkAdditionJobItemRequestBuilder(@jakarta.annotati * Get a mailboxProtectionUnitsBulkAdditionJob object by the ID associated with an exchangeProtectionPolicy. * @return a {@link MailboxProtectionUnitsBulkAdditionJob} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public MailboxProtectionUnitsBulkAdditionJob get() { return get(null); } @@ -51,9 +54,12 @@ public MailboxProtectionUnitsBulkAdditionJob get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MailboxProtectionUnitsBulkAdditionJob} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public MailboxProtectionUnitsBulkAdditionJob get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -63,8 +69,11 @@ public MailboxProtectionUnitsBulkAdditionJob get(@jakarta.annotation.Nullable fi /** * Get a mailboxProtectionUnitsBulkAdditionJob object by the ID associated with an exchangeProtectionPolicy. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -72,8 +81,11 @@ public RequestInformation toGetRequestInformation() { * Get a mailboxProtectionUnitsBulkAdditionJob object by the ID associated with an exchangeProtectionPolicy. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -84,8 +96,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link MailboxProtectionUnitsBulkAdditionJobItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public MailboxProtectionUnitsBulkAdditionJobItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new MailboxProtectionUnitsBulkAdditionJobItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangerestoresessions/ExchangeRestoreSessionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangerestoresessions/ExchangeRestoreSessionsRequestBuilder.java index b319367d343..5783387c00b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangerestoresessions/ExchangeRestoreSessionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangerestoresessions/ExchangeRestoreSessionsRequestBuilder.java @@ -26,7 +26,10 @@ public class ExchangeRestoreSessionsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the exchangeRestoreSessions property of the microsoft.graph.backupRestoreRoot entity. * @param exchangeRestoreSessionId The unique identifier of exchangeRestoreSession * @return a {@link ExchangeRestoreSessionItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public ExchangeRestoreSessionItemRequestBuilder byExchangeRestoreSessionId(@jakarta.annotation.Nonnull final String exchangeRestoreSessionId) { Objects.requireNonNull(exchangeRestoreSessionId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public ExchangeRestoreSessionsRequestBuilder(@jakarta.annotation.Nonnull final S * The list of Exchange restore sessions available in the tenant. * @return a {@link ExchangeRestoreSessionCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public ExchangeRestoreSessionCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public ExchangeRestoreSessionCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ExchangeRestoreSessionCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public ExchangeRestoreSessionCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public ExchangeRestoreSessionCollectionResponse get(@jakarta.annotation.Nullable * @param body The request body * @return a {@link ExchangeRestoreSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public ExchangeRestoreSession post(@jakarta.annotation.Nonnull final ExchangeRestoreSession body) { return post(body, null); } @@ -97,8 +112,11 @@ public ExchangeRestoreSession post(@jakarta.annotation.Nonnull final ExchangeRes * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ExchangeRestoreSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public ExchangeRestoreSession post(@jakarta.annotation.Nonnull final ExchangeRestoreSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public ExchangeRestoreSession post(@jakarta.annotation.Nonnull final ExchangeRes /** * The list of Exchange restore sessions available in the tenant. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * The list of Exchange restore sessions available in the tenant. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to exchangeRestoreSessions for solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ExchangeRestoreSession body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ExchangeRestoreSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ExchangeRestoreSessionsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public ExchangeRestoreSessionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ExchangeRestoreSessionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangerestoresessions/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangerestoresessions/count/CountRequestBuilder.java index 700c5131cbf..bf2e7c177d9 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangerestoresessions/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangerestoresessions/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangerestoresessions/item/ExchangeRestoreSessionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangerestoresessions/item/ExchangeRestoreSessionItemRequestBuilder.java index 9353d27190e..7aaacea9ada 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangerestoresessions/item/ExchangeRestoreSessionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangerestoresessions/item/ExchangeRestoreSessionItemRequestBuilder.java @@ -26,7 +26,10 @@ public class ExchangeRestoreSessionItemRequestBuilder extends BaseRequestBuilder /** * Provides operations to manage the granularMailboxRestoreArtifacts property of the microsoft.graph.exchangeRestoreSession entity. * @return a {@link GranularMailboxRestoreArtifactsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public GranularMailboxRestoreArtifactsRequestBuilder granularMailboxRestoreArtifacts() { return new GranularMailboxRestoreArtifactsRequestBuilder(pathParameters, requestAdapter); @@ -34,7 +37,10 @@ public GranularMailboxRestoreArtifactsRequestBuilder granularMailboxRestoreArtif /** * Provides operations to manage the mailboxRestoreArtifacts property of the microsoft.graph.exchangeRestoreSession entity. * @return a {@link MailboxRestoreArtifactsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public MailboxRestoreArtifactsRequestBuilder mailboxRestoreArtifacts() { return new MailboxRestoreArtifactsRequestBuilder(pathParameters, requestAdapter); @@ -42,7 +48,10 @@ public MailboxRestoreArtifactsRequestBuilder mailboxRestoreArtifacts() { /** * Provides operations to manage the mailboxRestoreArtifactsBulkAdditionRequests property of the microsoft.graph.exchangeRestoreSession entity. * @return a {@link MailboxRestoreArtifactsBulkAdditionRequestsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public MailboxRestoreArtifactsBulkAdditionRequestsRequestBuilder mailboxRestoreArtifactsBulkAdditionRequests() { return new MailboxRestoreArtifactsBulkAdditionRequestsRequestBuilder(pathParameters, requestAdapter); @@ -66,7 +75,10 @@ public ExchangeRestoreSessionItemRequestBuilder(@jakarta.annotation.Nonnull fina /** * Delete navigation property exchangeRestoreSessions for solutions * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete() { delete(null); } @@ -74,7 +86,10 @@ public void delete() { * Delete navigation property exchangeRestoreSessions for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -85,8 +100,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * The list of Exchange restore sessions available in the tenant. * @return a {@link ExchangeRestoreSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public ExchangeRestoreSession get() { return get(null); } @@ -95,8 +113,11 @@ public ExchangeRestoreSession get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ExchangeRestoreSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public ExchangeRestoreSession get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -108,9 +129,12 @@ public ExchangeRestoreSession get(@jakarta.annotation.Nullable final java.util.f * @param body The request body * @return a {@link ExchangeRestoreSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public ExchangeRestoreSession patch(@jakarta.annotation.Nonnull final ExchangeRestoreSession body) { return patch(body, null); } @@ -120,9 +144,12 @@ public ExchangeRestoreSession patch(@jakarta.annotation.Nonnull final ExchangeRe * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ExchangeRestoreSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public ExchangeRestoreSession patch(@jakarta.annotation.Nonnull final ExchangeRestoreSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -133,8 +160,11 @@ public ExchangeRestoreSession patch(@jakarta.annotation.Nonnull final ExchangeRe /** * Delete navigation property exchangeRestoreSessions for solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -142,8 +172,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property exchangeRestoreSessions for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -153,8 +186,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * The list of Exchange restore sessions available in the tenant. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -162,8 +198,11 @@ public RequestInformation toGetRequestInformation() { * The list of Exchange restore sessions available in the tenant. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -174,8 +213,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the properties of an exchangeRestoreSession. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final ExchangeRestoreSession body) { return toPatchRequestInformation(body, null); } @@ -184,8 +226,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final ExchangeRestoreSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -198,8 +243,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ExchangeRestoreSessionItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public ExchangeRestoreSessionItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ExchangeRestoreSessionItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangerestoresessions/item/granularmailboxrestoreartifacts/GranularMailboxRestoreArtifactsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangerestoresessions/item/granularmailboxrestoreartifacts/GranularMailboxRestoreArtifactsRequestBuilder.java index f3406bca57c..8e3b0c5a40b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangerestoresessions/item/granularmailboxrestoreartifacts/GranularMailboxRestoreArtifactsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangerestoresessions/item/granularmailboxrestoreartifacts/GranularMailboxRestoreArtifactsRequestBuilder.java @@ -26,7 +26,10 @@ public class GranularMailboxRestoreArtifactsRequestBuilder extends BaseRequestBu /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the granularMailboxRestoreArtifacts property of the microsoft.graph.exchangeRestoreSession entity. * @param granularMailboxRestoreArtifactId The unique identifier of granularMailboxRestoreArtifact * @return a {@link GranularMailboxRestoreArtifactItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public GranularMailboxRestoreArtifactItemRequestBuilder byGranularMailboxRestoreArtifactId(@jakarta.annotation.Nonnull final String granularMailboxRestoreArtifactId) { Objects.requireNonNull(granularMailboxRestoreArtifactId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public GranularMailboxRestoreArtifactsRequestBuilder(@jakarta.annotation.Nonnull * Get granularMailboxRestoreArtifacts from solutions * @return a {@link GranularMailboxRestoreArtifactCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public GranularMailboxRestoreArtifactCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public GranularMailboxRestoreArtifactCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GranularMailboxRestoreArtifactCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public GranularMailboxRestoreArtifactCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public GranularMailboxRestoreArtifactCollectionResponse get(@jakarta.annotation. * @param body The request body * @return a {@link GranularMailboxRestoreArtifact} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public GranularMailboxRestoreArtifact post(@jakarta.annotation.Nonnull final GranularMailboxRestoreArtifact body) { return post(body, null); } @@ -97,8 +112,11 @@ public GranularMailboxRestoreArtifact post(@jakarta.annotation.Nonnull final Gra * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GranularMailboxRestoreArtifact} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public GranularMailboxRestoreArtifact post(@jakarta.annotation.Nonnull final GranularMailboxRestoreArtifact body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public GranularMailboxRestoreArtifact post(@jakarta.annotation.Nonnull final Gra /** * Get granularMailboxRestoreArtifacts from solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Get granularMailboxRestoreArtifacts from solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to granularMailboxRestoreArtifacts for solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GranularMailboxRestoreArtifact body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GranularMailboxRestoreArtifact body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link GranularMailboxRestoreArtifactsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public GranularMailboxRestoreArtifactsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new GranularMailboxRestoreArtifactsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangerestoresessions/item/granularmailboxrestoreartifacts/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangerestoresessions/item/granularmailboxrestoreartifacts/count/CountRequestBuilder.java index b2d41a407e7..003f5290d98 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangerestoresessions/item/granularmailboxrestoreartifacts/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangerestoresessions/item/granularmailboxrestoreartifacts/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangerestoresessions/item/granularmailboxrestoreartifacts/item/GranularMailboxRestoreArtifactItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangerestoresessions/item/granularmailboxrestoreartifacts/item/GranularMailboxRestoreArtifactItemRequestBuilder.java index 7c7a9064130..0692c107bfa 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangerestoresessions/item/granularmailboxrestoreartifacts/item/GranularMailboxRestoreArtifactItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangerestoresessions/item/granularmailboxrestoreartifacts/item/GranularMailboxRestoreArtifactItemRequestBuilder.java @@ -24,7 +24,10 @@ public class GranularMailboxRestoreArtifactItemRequestBuilder extends BaseReques /** * Provides operations to manage the restorePoint property of the microsoft.graph.restoreArtifactBase entity. * @return a {@link RestorePointRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public RestorePointRequestBuilder restorePoint() { return new RestorePointRequestBuilder(pathParameters, requestAdapter); @@ -48,7 +51,10 @@ public GranularMailboxRestoreArtifactItemRequestBuilder(@jakarta.annotation.Nonn /** * Delete navigation property granularMailboxRestoreArtifacts for solutions * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete() { delete(null); } @@ -56,7 +62,10 @@ public void delete() { * Delete navigation property granularMailboxRestoreArtifacts for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -67,8 +76,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Get granularMailboxRestoreArtifacts from solutions * @return a {@link GranularMailboxRestoreArtifact} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public GranularMailboxRestoreArtifact get() { return get(null); } @@ -77,8 +89,11 @@ public GranularMailboxRestoreArtifact get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GranularMailboxRestoreArtifact} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public GranularMailboxRestoreArtifact get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -90,8 +105,11 @@ public GranularMailboxRestoreArtifact get(@jakarta.annotation.Nullable final jav * @param body The request body * @return a {@link GranularMailboxRestoreArtifact} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public GranularMailboxRestoreArtifact patch(@jakarta.annotation.Nonnull final GranularMailboxRestoreArtifact body) { return patch(body, null); } @@ -101,8 +119,11 @@ public GranularMailboxRestoreArtifact patch(@jakarta.annotation.Nonnull final Gr * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GranularMailboxRestoreArtifact} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public GranularMailboxRestoreArtifact patch(@jakarta.annotation.Nonnull final GranularMailboxRestoreArtifact body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -113,8 +134,11 @@ public GranularMailboxRestoreArtifact patch(@jakarta.annotation.Nonnull final Gr /** * Delete navigation property granularMailboxRestoreArtifacts for solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -122,8 +146,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property granularMailboxRestoreArtifacts for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -133,8 +160,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Get granularMailboxRestoreArtifacts from solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -142,8 +172,11 @@ public RequestInformation toGetRequestInformation() { * Get granularMailboxRestoreArtifacts from solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -154,8 +187,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property granularMailboxRestoreArtifacts in solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final GranularMailboxRestoreArtifact body) { return toPatchRequestInformation(body, null); } @@ -164,8 +200,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final GranularMailboxRestoreArtifact body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -178,8 +217,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link GranularMailboxRestoreArtifactItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public GranularMailboxRestoreArtifactItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new GranularMailboxRestoreArtifactItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangerestoresessions/item/granularmailboxrestoreartifacts/item/restorepoint/RestorePointRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangerestoresessions/item/granularmailboxrestoreartifacts/item/restorepoint/RestorePointRequestBuilder.java index 5adc3a07b7a..2934850412b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangerestoresessions/item/granularmailboxrestoreartifacts/item/restorepoint/RestorePointRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangerestoresessions/item/granularmailboxrestoreartifacts/item/restorepoint/RestorePointRequestBuilder.java @@ -40,8 +40,11 @@ public RestorePointRequestBuilder(@jakarta.annotation.Nonnull final String rawUr * Represents the date and time when an artifact is protected by a protectionPolicy and can be restored. * @return a {@link RestorePoint} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public RestorePoint get() { return get(null); } @@ -50,8 +53,11 @@ public RestorePoint get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RestorePoint} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public RestorePoint get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public RestorePoint get(@jakarta.annotation.Nullable final java.util.function.Co /** * Represents the date and time when an artifact is protected by a protectionPolicy and can be restored. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * Represents the date and time when an artifact is protected by a protectionPolicy and can be restored. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RestorePointRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RestorePointRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RestorePointRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangerestoresessions/item/mailboxrestoreartifacts/MailboxRestoreArtifactsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangerestoresessions/item/mailboxrestoreartifacts/MailboxRestoreArtifactsRequestBuilder.java index e74e0769a34..e095c65c7bf 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangerestoresessions/item/mailboxrestoreartifacts/MailboxRestoreArtifactsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangerestoresessions/item/mailboxrestoreartifacts/MailboxRestoreArtifactsRequestBuilder.java @@ -26,7 +26,10 @@ public class MailboxRestoreArtifactsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the mailboxRestoreArtifacts property of the microsoft.graph.exchangeRestoreSession entity. * @param mailboxRestoreArtifactId The unique identifier of mailboxRestoreArtifact * @return a {@link MailboxRestoreArtifactItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public MailboxRestoreArtifactItemRequestBuilder byMailboxRestoreArtifactId(@jakarta.annotation.Nonnull final String mailboxRestoreArtifactId) { Objects.requireNonNull(mailboxRestoreArtifactId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,9 +69,12 @@ public MailboxRestoreArtifactsRequestBuilder(@jakarta.annotation.Nonnull final S * Get a list of the mailboxRestoreArtifact objects that are associated with an exchangeRestoreSession in a tenant. * @return a {@link MailboxRestoreArtifactCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public MailboxRestoreArtifactCollectionResponse get() { return get(null); } @@ -74,9 +83,12 @@ public MailboxRestoreArtifactCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MailboxRestoreArtifactCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public MailboxRestoreArtifactCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -88,8 +100,11 @@ public MailboxRestoreArtifactCollectionResponse get(@jakarta.annotation.Nullable * @param body The request body * @return a {@link MailboxRestoreArtifact} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public MailboxRestoreArtifact post(@jakarta.annotation.Nonnull final MailboxRestoreArtifact body) { return post(body, null); } @@ -99,8 +114,11 @@ public MailboxRestoreArtifact post(@jakarta.annotation.Nonnull final MailboxRest * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MailboxRestoreArtifact} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public MailboxRestoreArtifact post(@jakarta.annotation.Nonnull final MailboxRestoreArtifact body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -111,8 +129,11 @@ public MailboxRestoreArtifact post(@jakarta.annotation.Nonnull final MailboxRest /** * Get a list of the mailboxRestoreArtifact objects that are associated with an exchangeRestoreSession in a tenant. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -120,8 +141,11 @@ public RequestInformation toGetRequestInformation() { * Get a list of the mailboxRestoreArtifact objects that are associated with an exchangeRestoreSession in a tenant. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -132,8 +156,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to mailboxRestoreArtifacts for solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MailboxRestoreArtifact body) { return toPostRequestInformation(body, null); } @@ -142,8 +169,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MailboxRestoreArtifact body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -156,8 +186,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link MailboxRestoreArtifactsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public MailboxRestoreArtifactsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new MailboxRestoreArtifactsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangerestoresessions/item/mailboxrestoreartifacts/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangerestoresessions/item/mailboxrestoreartifacts/count/CountRequestBuilder.java index 4cd96f8e6a9..3bd513c82e4 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangerestoresessions/item/mailboxrestoreartifacts/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangerestoresessions/item/mailboxrestoreartifacts/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangerestoresessions/item/mailboxrestoreartifacts/item/MailboxRestoreArtifactItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangerestoresessions/item/mailboxrestoreartifacts/item/MailboxRestoreArtifactItemRequestBuilder.java index 27c7be674ea..27240ae72ca 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangerestoresessions/item/mailboxrestoreartifacts/item/MailboxRestoreArtifactItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangerestoresessions/item/mailboxrestoreartifacts/item/MailboxRestoreArtifactItemRequestBuilder.java @@ -24,7 +24,10 @@ public class MailboxRestoreArtifactItemRequestBuilder extends BaseRequestBuilder /** * Provides operations to manage the restorePoint property of the microsoft.graph.restoreArtifactBase entity. * @return a {@link RestorePointRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public RestorePointRequestBuilder restorePoint() { return new RestorePointRequestBuilder(pathParameters, requestAdapter); @@ -48,7 +51,10 @@ public MailboxRestoreArtifactItemRequestBuilder(@jakarta.annotation.Nonnull fina /** * Delete navigation property mailboxRestoreArtifacts for solutions * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete() { delete(null); } @@ -56,7 +62,10 @@ public void delete() { * Delete navigation property mailboxRestoreArtifacts for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -67,8 +76,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * A collection of restore points and destination details that can be used to restore Exchange mailboxes. * @return a {@link MailboxRestoreArtifact} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public MailboxRestoreArtifact get() { return get(null); } @@ -77,8 +89,11 @@ public MailboxRestoreArtifact get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MailboxRestoreArtifact} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public MailboxRestoreArtifact get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -90,8 +105,11 @@ public MailboxRestoreArtifact get(@jakarta.annotation.Nullable final java.util.f * @param body The request body * @return a {@link MailboxRestoreArtifact} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public MailboxRestoreArtifact patch(@jakarta.annotation.Nonnull final MailboxRestoreArtifact body) { return patch(body, null); } @@ -101,8 +119,11 @@ public MailboxRestoreArtifact patch(@jakarta.annotation.Nonnull final MailboxRes * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MailboxRestoreArtifact} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public MailboxRestoreArtifact patch(@jakarta.annotation.Nonnull final MailboxRestoreArtifact body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -113,8 +134,11 @@ public MailboxRestoreArtifact patch(@jakarta.annotation.Nonnull final MailboxRes /** * Delete navigation property mailboxRestoreArtifacts for solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -122,8 +146,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property mailboxRestoreArtifacts for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -133,8 +160,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * A collection of restore points and destination details that can be used to restore Exchange mailboxes. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -142,8 +172,11 @@ public RequestInformation toGetRequestInformation() { * A collection of restore points and destination details that can be used to restore Exchange mailboxes. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -154,8 +187,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property mailboxRestoreArtifacts in solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxRestoreArtifact body) { return toPatchRequestInformation(body, null); } @@ -164,8 +200,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxRestoreArtifact body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -178,8 +217,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link MailboxRestoreArtifactItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public MailboxRestoreArtifactItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new MailboxRestoreArtifactItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangerestoresessions/item/mailboxrestoreartifacts/item/restorepoint/RestorePointRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangerestoresessions/item/mailboxrestoreartifacts/item/restorepoint/RestorePointRequestBuilder.java index ae114b40a0c..e2bd166c5a8 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangerestoresessions/item/mailboxrestoreartifacts/item/restorepoint/RestorePointRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangerestoresessions/item/mailboxrestoreartifacts/item/restorepoint/RestorePointRequestBuilder.java @@ -40,8 +40,11 @@ public RestorePointRequestBuilder(@jakarta.annotation.Nonnull final String rawUr * Represents the date and time when an artifact is protected by a protectionPolicy and can be restored. * @return a {@link RestorePoint} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public RestorePoint get() { return get(null); } @@ -50,8 +53,11 @@ public RestorePoint get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RestorePoint} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public RestorePoint get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public RestorePoint get(@jakarta.annotation.Nullable final java.util.function.Co /** * Represents the date and time when an artifact is protected by a protectionPolicy and can be restored. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * Represents the date and time when an artifact is protected by a protectionPolicy and can be restored. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RestorePointRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RestorePointRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RestorePointRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangerestoresessions/item/mailboxrestoreartifactsbulkadditionrequests/MailboxRestoreArtifactsBulkAdditionRequestsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangerestoresessions/item/mailboxrestoreartifactsbulkadditionrequests/MailboxRestoreArtifactsBulkAdditionRequestsRequestBuilder.java index 535dcc73127..c648d113666 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangerestoresessions/item/mailboxrestoreartifactsbulkadditionrequests/MailboxRestoreArtifactsBulkAdditionRequestsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangerestoresessions/item/mailboxrestoreartifactsbulkadditionrequests/MailboxRestoreArtifactsBulkAdditionRequestsRequestBuilder.java @@ -26,7 +26,10 @@ public class MailboxRestoreArtifactsBulkAdditionRequestsRequestBuilder extends B /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the mailboxRestoreArtifactsBulkAdditionRequests property of the microsoft.graph.exchangeRestoreSession entity. * @param mailboxRestoreArtifactsBulkAdditionRequestId The unique identifier of mailboxRestoreArtifactsBulkAdditionRequest * @return a {@link MailboxRestoreArtifactsBulkAdditionRequestItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public MailboxRestoreArtifactsBulkAdditionRequestItemRequestBuilder byMailboxRestoreArtifactsBulkAdditionRequestId(@jakarta.annotation.Nonnull final String mailboxRestoreArtifactsBulkAdditionRequestId) { Objects.requireNonNull(mailboxRestoreArtifactsBulkAdditionRequestId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,9 +69,12 @@ public MailboxRestoreArtifactsBulkAdditionRequestsRequestBuilder(@jakarta.annota * Get a list of the maiboxRestoreArtifactsBulkAdditionRequest objects associated with an exchangeRestoreSession. The mailboxes property is deliberately omitted from the response body in order to limit the response size. * @return a {@link MailboxRestoreArtifactsBulkAdditionRequestCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public MailboxRestoreArtifactsBulkAdditionRequestCollectionResponse get() { return get(null); } @@ -74,9 +83,12 @@ public MailboxRestoreArtifactsBulkAdditionRequestCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MailboxRestoreArtifactsBulkAdditionRequestCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public MailboxRestoreArtifactsBulkAdditionRequestCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -88,9 +100,12 @@ public MailboxRestoreArtifactsBulkAdditionRequestCollectionResponse get(@jakarta * @param body The request body * @return a {@link MailboxRestoreArtifactsBulkAdditionRequest} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public MailboxRestoreArtifactsBulkAdditionRequest post(@jakarta.annotation.Nonnull final MailboxRestoreArtifactsBulkAdditionRequest body) { return post(body, null); } @@ -100,9 +115,12 @@ public MailboxRestoreArtifactsBulkAdditionRequest post(@jakarta.annotation.Nonnu * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MailboxRestoreArtifactsBulkAdditionRequest} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public MailboxRestoreArtifactsBulkAdditionRequest post(@jakarta.annotation.Nonnull final MailboxRestoreArtifactsBulkAdditionRequest body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -113,8 +131,11 @@ public MailboxRestoreArtifactsBulkAdditionRequest post(@jakarta.annotation.Nonnu /** * Get a list of the maiboxRestoreArtifactsBulkAdditionRequest objects associated with an exchangeRestoreSession. The mailboxes property is deliberately omitted from the response body in order to limit the response size. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -122,8 +143,11 @@ public RequestInformation toGetRequestInformation() { * Get a list of the maiboxRestoreArtifactsBulkAdditionRequest objects associated with an exchangeRestoreSession. The mailboxes property is deliberately omitted from the response body in order to limit the response size. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -134,8 +158,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create a new mailboxRestoreArtifactsBulkAdditionRequest object associated with an exchangeRestoreSession. The following steps describe how to create and manage an exchangeRestoreSession with bulk artifact additions: * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MailboxRestoreArtifactsBulkAdditionRequest body) { return toPostRequestInformation(body, null); } @@ -144,8 +171,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MailboxRestoreArtifactsBulkAdditionRequest body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -158,8 +188,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link MailboxRestoreArtifactsBulkAdditionRequestsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public MailboxRestoreArtifactsBulkAdditionRequestsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new MailboxRestoreArtifactsBulkAdditionRequestsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangerestoresessions/item/mailboxrestoreartifactsbulkadditionrequests/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangerestoresessions/item/mailboxrestoreartifactsbulkadditionrequests/count/CountRequestBuilder.java index 67e8778b2b7..97819a61310 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangerestoresessions/item/mailboxrestoreartifactsbulkadditionrequests/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangerestoresessions/item/mailboxrestoreartifactsbulkadditionrequests/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangerestoresessions/item/mailboxrestoreartifactsbulkadditionrequests/item/MailboxRestoreArtifactsBulkAdditionRequestItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangerestoresessions/item/mailboxrestoreartifactsbulkadditionrequests/item/MailboxRestoreArtifactsBulkAdditionRequestItemRequestBuilder.java index dc1ca937499..f47b91f8c87 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangerestoresessions/item/mailboxrestoreartifactsbulkadditionrequests/item/MailboxRestoreArtifactsBulkAdditionRequestItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exchangerestoresessions/item/mailboxrestoreartifactsbulkadditionrequests/item/MailboxRestoreArtifactsBulkAdditionRequestItemRequestBuilder.java @@ -39,8 +39,11 @@ public MailboxRestoreArtifactsBulkAdditionRequestItemRequestBuilder(@jakarta.ann /** * Delete a mailboxRestoreArtifactsBulkAdditionRequest object associated with an exchangeRestoreSession. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ + @Deprecated public void delete() { delete(null); } @@ -48,8 +51,11 @@ public void delete() { * Delete a mailboxRestoreArtifactsBulkAdditionRequest object associated with an exchangeRestoreSession. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,9 +66,12 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Get a mailboxRestoreArtifactsBulkAdditionRequest object by its id, associated with an exchangeRestoreSession. * @return a {@link MailboxRestoreArtifactsBulkAdditionRequest} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public MailboxRestoreArtifactsBulkAdditionRequest get() { return get(null); } @@ -71,9 +80,12 @@ public MailboxRestoreArtifactsBulkAdditionRequest get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MailboxRestoreArtifactsBulkAdditionRequest} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public MailboxRestoreArtifactsBulkAdditionRequest get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -85,8 +97,11 @@ public MailboxRestoreArtifactsBulkAdditionRequest get(@jakarta.annotation.Nullab * @param body The request body * @return a {@link MailboxRestoreArtifactsBulkAdditionRequest} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public MailboxRestoreArtifactsBulkAdditionRequest patch(@jakarta.annotation.Nonnull final MailboxRestoreArtifactsBulkAdditionRequest body) { return patch(body, null); } @@ -96,8 +111,11 @@ public MailboxRestoreArtifactsBulkAdditionRequest patch(@jakarta.annotation.Nonn * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MailboxRestoreArtifactsBulkAdditionRequest} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public MailboxRestoreArtifactsBulkAdditionRequest patch(@jakarta.annotation.Nonnull final MailboxRestoreArtifactsBulkAdditionRequest body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -108,8 +126,11 @@ public MailboxRestoreArtifactsBulkAdditionRequest patch(@jakarta.annotation.Nonn /** * Delete a mailboxRestoreArtifactsBulkAdditionRequest object associated with an exchangeRestoreSession. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -117,8 +138,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete a mailboxRestoreArtifactsBulkAdditionRequest object associated with an exchangeRestoreSession. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -128,8 +152,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Get a mailboxRestoreArtifactsBulkAdditionRequest object by its id, associated with an exchangeRestoreSession. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -137,8 +164,11 @@ public RequestInformation toGetRequestInformation() { * Get a mailboxRestoreArtifactsBulkAdditionRequest object by its id, associated with an exchangeRestoreSession. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -149,8 +179,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property mailboxRestoreArtifactsBulkAdditionRequests in solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxRestoreArtifactsBulkAdditionRequest body) { return toPatchRequestInformation(body, null); } @@ -159,8 +192,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxRestoreArtifactsBulkAdditionRequest body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -173,8 +209,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link MailboxRestoreArtifactsBulkAdditionRequestItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public MailboxRestoreArtifactsBulkAdditionRequestItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new MailboxRestoreArtifactsBulkAdditionRequestItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exclusionunits/ExclusionUnitsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exclusionunits/ExclusionUnitsRequestBuilder.java index faee3742c42..a1940b5af8d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exclusionunits/ExclusionUnitsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exclusionunits/ExclusionUnitsRequestBuilder.java @@ -25,7 +25,10 @@ public class ExclusionUnitsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -34,8 +37,11 @@ public CountRequestBuilder count() { * Provides operations to manage the exclusionUnits property of the microsoft.graph.backupRestoreRoot entity. * @param exclusionUnitBaseId The unique identifier of exclusionUnitBase * @return a {@link ExclusionUnitBaseItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public ExclusionUnitBaseItemRequestBuilder byExclusionUnitBaseId(@jakarta.annotation.Nonnull final String exclusionUnitBaseId) { Objects.requireNonNull(exclusionUnitBaseId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -62,8 +68,11 @@ public ExclusionUnitsRequestBuilder(@jakarta.annotation.Nonnull final String raw * The list of exclusion units in the tenant. * @return a {@link ExclusionUnitBaseCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public ExclusionUnitBaseCollectionResponse get() { return get(null); } @@ -72,8 +81,11 @@ public ExclusionUnitBaseCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ExclusionUnitBaseCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public ExclusionUnitBaseCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -83,8 +95,11 @@ public ExclusionUnitBaseCollectionResponse get(@jakarta.annotation.Nullable fina /** * The list of exclusion units in the tenant. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -92,8 +107,11 @@ public RequestInformation toGetRequestInformation() { * The list of exclusion units in the tenant. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -104,8 +122,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ExclusionUnitsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public ExclusionUnitsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ExclusionUnitsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exclusionunits/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exclusionunits/count/CountRequestBuilder.java index 8213557b908..b531fe83675 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exclusionunits/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exclusionunits/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exclusionunits/item/ExclusionUnitBaseItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exclusionunits/item/ExclusionUnitBaseItemRequestBuilder.java index f7c2745d495..649bf5553b2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exclusionunits/item/ExclusionUnitBaseItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/exclusionunits/item/ExclusionUnitBaseItemRequestBuilder.java @@ -40,8 +40,11 @@ public ExclusionUnitBaseItemRequestBuilder(@jakarta.annotation.Nonnull final Str * The list of exclusion units in the tenant. * @return a {@link ExclusionUnitBase} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public ExclusionUnitBase get() { return get(null); } @@ -50,8 +53,11 @@ public ExclusionUnitBase get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ExclusionUnitBase} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public ExclusionUnitBase get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public ExclusionUnitBase get(@jakarta.annotation.Nullable final java.util.functi /** * The list of exclusion units in the tenant. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * The list of exclusion units in the tenant. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ExclusionUnitBaseItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public ExclusionUnitBaseItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ExclusionUnitBaseItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/mailboxexclusionunits/MailboxExclusionUnitsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/mailboxexclusionunits/MailboxExclusionUnitsRequestBuilder.java index 99f8a4d9719..45b15d51ad4 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/mailboxexclusionunits/MailboxExclusionUnitsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/mailboxexclusionunits/MailboxExclusionUnitsRequestBuilder.java @@ -26,7 +26,10 @@ public class MailboxExclusionUnitsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the mailboxExclusionUnits property of the microsoft.graph.backupRestoreRoot entity. * @param mailboxExclusionUnitId The unique identifier of mailboxExclusionUnit * @return a {@link MailboxExclusionUnitItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public MailboxExclusionUnitItemRequestBuilder byMailboxExclusionUnitId(@jakarta.annotation.Nonnull final String mailboxExclusionUnitId) { Objects.requireNonNull(mailboxExclusionUnitId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public MailboxExclusionUnitsRequestBuilder(@jakarta.annotation.Nonnull final Str * The list of mailbox exclusion units in the tenant. * @return a {@link MailboxExclusionUnitCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public MailboxExclusionUnitCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public MailboxExclusionUnitCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MailboxExclusionUnitCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public MailboxExclusionUnitCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public MailboxExclusionUnitCollectionResponse get(@jakarta.annotation.Nullable f * @param body The request body * @return a {@link MailboxExclusionUnit} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public MailboxExclusionUnit post(@jakarta.annotation.Nonnull final MailboxExclusionUnit body) { return post(body, null); } @@ -97,8 +112,11 @@ public MailboxExclusionUnit post(@jakarta.annotation.Nonnull final MailboxExclus * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MailboxExclusionUnit} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public MailboxExclusionUnit post(@jakarta.annotation.Nonnull final MailboxExclusionUnit body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public MailboxExclusionUnit post(@jakarta.annotation.Nonnull final MailboxExclus /** * The list of mailbox exclusion units in the tenant. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * The list of mailbox exclusion units in the tenant. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to mailboxExclusionUnits for solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MailboxExclusionUnit body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MailboxExclusionUnit body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link MailboxExclusionUnitsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public MailboxExclusionUnitsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new MailboxExclusionUnitsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/mailboxexclusionunits/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/mailboxexclusionunits/count/CountRequestBuilder.java index fdf068de59e..d4a4e5f1e06 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/mailboxexclusionunits/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/mailboxexclusionunits/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/mailboxexclusionunits/item/MailboxExclusionUnitItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/mailboxexclusionunits/item/MailboxExclusionUnitItemRequestBuilder.java index f60109e1652..b4a40e5a996 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/mailboxexclusionunits/item/MailboxExclusionUnitItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/mailboxexclusionunits/item/MailboxExclusionUnitItemRequestBuilder.java @@ -39,7 +39,10 @@ public MailboxExclusionUnitItemRequestBuilder(@jakarta.annotation.Nonnull final /** * Delete navigation property mailboxExclusionUnits for solutions * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete() { delete(null); } @@ -47,7 +50,10 @@ public void delete() { * Delete navigation property mailboxExclusionUnits for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -58,8 +64,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * The list of mailbox exclusion units in the tenant. * @return a {@link MailboxExclusionUnit} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public MailboxExclusionUnit get() { return get(null); } @@ -68,8 +77,11 @@ public MailboxExclusionUnit get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MailboxExclusionUnit} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public MailboxExclusionUnit get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -81,8 +93,11 @@ public MailboxExclusionUnit get(@jakarta.annotation.Nullable final java.util.fun * @param body The request body * @return a {@link MailboxExclusionUnit} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public MailboxExclusionUnit patch(@jakarta.annotation.Nonnull final MailboxExclusionUnit body) { return patch(body, null); } @@ -92,8 +107,11 @@ public MailboxExclusionUnit patch(@jakarta.annotation.Nonnull final MailboxExclu * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MailboxExclusionUnit} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public MailboxExclusionUnit patch(@jakarta.annotation.Nonnull final MailboxExclusionUnit body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -104,8 +122,11 @@ public MailboxExclusionUnit patch(@jakarta.annotation.Nonnull final MailboxExclu /** * Delete navigation property mailboxExclusionUnits for solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -113,8 +134,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property mailboxExclusionUnits for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * The list of mailbox exclusion units in the tenant. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -133,8 +160,11 @@ public RequestInformation toGetRequestInformation() { * The list of mailbox exclusion units in the tenant. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -145,8 +175,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property mailboxExclusionUnits in solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxExclusionUnit body) { return toPatchRequestInformation(body, null); } @@ -155,8 +188,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxExclusionUnit body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -169,8 +205,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link MailboxExclusionUnitItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public MailboxExclusionUnitItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new MailboxExclusionUnitItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/mailboxexclusionunitsbulkadditionjobs/MailboxExclusionUnitsBulkAdditionJobsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/mailboxexclusionunitsbulkadditionjobs/MailboxExclusionUnitsBulkAdditionJobsRequestBuilder.java index f8cef64d670..c7e95c07c56 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/mailboxexclusionunitsbulkadditionjobs/MailboxExclusionUnitsBulkAdditionJobsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/mailboxexclusionunitsbulkadditionjobs/MailboxExclusionUnitsBulkAdditionJobsRequestBuilder.java @@ -26,7 +26,10 @@ public class MailboxExclusionUnitsBulkAdditionJobsRequestBuilder extends BaseReq /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the mailboxExclusionUnitsBulkAdditionJobs property of the microsoft.graph.backupRestoreRoot entity. * @param mailboxExclusionUnitsBulkAdditionJobId The unique identifier of mailboxExclusionUnitsBulkAdditionJob * @return a {@link MailboxExclusionUnitsBulkAdditionJobItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public MailboxExclusionUnitsBulkAdditionJobItemRequestBuilder byMailboxExclusionUnitsBulkAdditionJobId(@jakarta.annotation.Nonnull final String mailboxExclusionUnitsBulkAdditionJobId) { Objects.requireNonNull(mailboxExclusionUnitsBulkAdditionJobId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public MailboxExclusionUnitsBulkAdditionJobsRequestBuilder(@jakarta.annotation.N * The list of bulk addition jobs for mailbox exclusion units in the tenant. * @return a {@link MailboxExclusionUnitsBulkAdditionJobCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public MailboxExclusionUnitsBulkAdditionJobCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public MailboxExclusionUnitsBulkAdditionJobCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MailboxExclusionUnitsBulkAdditionJobCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public MailboxExclusionUnitsBulkAdditionJobCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public MailboxExclusionUnitsBulkAdditionJobCollectionResponse get(@jakarta.annot * @param body The request body * @return a {@link MailboxExclusionUnitsBulkAdditionJob} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public MailboxExclusionUnitsBulkAdditionJob post(@jakarta.annotation.Nonnull final MailboxExclusionUnitsBulkAdditionJob body) { return post(body, null); } @@ -97,8 +112,11 @@ public MailboxExclusionUnitsBulkAdditionJob post(@jakarta.annotation.Nonnull fin * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MailboxExclusionUnitsBulkAdditionJob} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public MailboxExclusionUnitsBulkAdditionJob post(@jakarta.annotation.Nonnull final MailboxExclusionUnitsBulkAdditionJob body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public MailboxExclusionUnitsBulkAdditionJob post(@jakarta.annotation.Nonnull fin /** * The list of bulk addition jobs for mailbox exclusion units in the tenant. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * The list of bulk addition jobs for mailbox exclusion units in the tenant. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to mailboxExclusionUnitsBulkAdditionJobs for solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MailboxExclusionUnitsBulkAdditionJob body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MailboxExclusionUnitsBulkAdditionJob body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link MailboxExclusionUnitsBulkAdditionJobsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public MailboxExclusionUnitsBulkAdditionJobsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new MailboxExclusionUnitsBulkAdditionJobsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/mailboxexclusionunitsbulkadditionjobs/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/mailboxexclusionunitsbulkadditionjobs/count/CountRequestBuilder.java index de1fca0ca43..e7c3bff9ba0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/mailboxexclusionunitsbulkadditionjobs/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/mailboxexclusionunitsbulkadditionjobs/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/mailboxexclusionunitsbulkadditionjobs/item/MailboxExclusionUnitsBulkAdditionJobItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/mailboxexclusionunitsbulkadditionjobs/item/MailboxExclusionUnitsBulkAdditionJobItemRequestBuilder.java index abb96241ff0..598d3b45a66 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/mailboxexclusionunitsbulkadditionjobs/item/MailboxExclusionUnitsBulkAdditionJobItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/mailboxexclusionunitsbulkadditionjobs/item/MailboxExclusionUnitsBulkAdditionJobItemRequestBuilder.java @@ -39,7 +39,10 @@ public MailboxExclusionUnitsBulkAdditionJobItemRequestBuilder(@jakarta.annotatio /** * Delete navigation property mailboxExclusionUnitsBulkAdditionJobs for solutions * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete() { delete(null); } @@ -47,7 +50,10 @@ public void delete() { * Delete navigation property mailboxExclusionUnitsBulkAdditionJobs for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -58,8 +64,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * The list of bulk addition jobs for mailbox exclusion units in the tenant. * @return a {@link MailboxExclusionUnitsBulkAdditionJob} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public MailboxExclusionUnitsBulkAdditionJob get() { return get(null); } @@ -68,8 +77,11 @@ public MailboxExclusionUnitsBulkAdditionJob get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MailboxExclusionUnitsBulkAdditionJob} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public MailboxExclusionUnitsBulkAdditionJob get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -81,8 +93,11 @@ public MailboxExclusionUnitsBulkAdditionJob get(@jakarta.annotation.Nullable fin * @param body The request body * @return a {@link MailboxExclusionUnitsBulkAdditionJob} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public MailboxExclusionUnitsBulkAdditionJob patch(@jakarta.annotation.Nonnull final MailboxExclusionUnitsBulkAdditionJob body) { return patch(body, null); } @@ -92,8 +107,11 @@ public MailboxExclusionUnitsBulkAdditionJob patch(@jakarta.annotation.Nonnull fi * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MailboxExclusionUnitsBulkAdditionJob} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public MailboxExclusionUnitsBulkAdditionJob patch(@jakarta.annotation.Nonnull final MailboxExclusionUnitsBulkAdditionJob body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -104,8 +122,11 @@ public MailboxExclusionUnitsBulkAdditionJob patch(@jakarta.annotation.Nonnull fi /** * Delete navigation property mailboxExclusionUnitsBulkAdditionJobs for solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -113,8 +134,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property mailboxExclusionUnitsBulkAdditionJobs for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * The list of bulk addition jobs for mailbox exclusion units in the tenant. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -133,8 +160,11 @@ public RequestInformation toGetRequestInformation() { * The list of bulk addition jobs for mailbox exclusion units in the tenant. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -145,8 +175,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property mailboxExclusionUnitsBulkAdditionJobs in solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxExclusionUnitsBulkAdditionJob body) { return toPatchRequestInformation(body, null); } @@ -155,8 +188,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxExclusionUnitsBulkAdditionJob body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -169,8 +205,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link MailboxExclusionUnitsBulkAdditionJobItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public MailboxExclusionUnitsBulkAdditionJobItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new MailboxExclusionUnitsBulkAdditionJobItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/mailboxinclusionrules/MailboxInclusionRulesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/mailboxinclusionrules/MailboxInclusionRulesRequestBuilder.java index 56987f5baf6..6ac0634c71d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/mailboxinclusionrules/MailboxInclusionRulesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/mailboxinclusionrules/MailboxInclusionRulesRequestBuilder.java @@ -26,7 +26,10 @@ public class MailboxInclusionRulesRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the mailboxInclusionRules property of the microsoft.graph.backupRestoreRoot entity. * @param mailboxProtectionRuleId The unique identifier of mailboxProtectionRule * @return a {@link MailboxProtectionRuleItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public MailboxProtectionRuleItemRequestBuilder byMailboxProtectionRuleId(@jakarta.annotation.Nonnull final String mailboxProtectionRuleId) { Objects.requireNonNull(mailboxProtectionRuleId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public MailboxInclusionRulesRequestBuilder(@jakarta.annotation.Nonnull final Str * The list of mailbox inclusion rules applied to the tenant. * @return a {@link MailboxProtectionRuleCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public MailboxProtectionRuleCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public MailboxProtectionRuleCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MailboxProtectionRuleCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public MailboxProtectionRuleCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public MailboxProtectionRuleCollectionResponse get(@jakarta.annotation.Nullable * @param body The request body * @return a {@link MailboxProtectionRule} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public MailboxProtectionRule post(@jakarta.annotation.Nonnull final MailboxProtectionRule body) { return post(body, null); } @@ -97,8 +112,11 @@ public MailboxProtectionRule post(@jakarta.annotation.Nonnull final MailboxProte * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MailboxProtectionRule} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public MailboxProtectionRule post(@jakarta.annotation.Nonnull final MailboxProtectionRule body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public MailboxProtectionRule post(@jakarta.annotation.Nonnull final MailboxProte /** * The list of mailbox inclusion rules applied to the tenant. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * The list of mailbox inclusion rules applied to the tenant. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to mailboxInclusionRules for solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MailboxProtectionRule body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MailboxProtectionRule body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link MailboxInclusionRulesRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public MailboxInclusionRulesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new MailboxInclusionRulesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/mailboxinclusionrules/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/mailboxinclusionrules/count/CountRequestBuilder.java index aa4fc6eaaf2..ce1c90f7bb7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/mailboxinclusionrules/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/mailboxinclusionrules/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/mailboxinclusionrules/item/MailboxProtectionRuleItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/mailboxinclusionrules/item/MailboxProtectionRuleItemRequestBuilder.java index 8d3c3cfa1a5..2e3cedce0cd 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/mailboxinclusionrules/item/MailboxProtectionRuleItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/mailboxinclusionrules/item/MailboxProtectionRuleItemRequestBuilder.java @@ -39,7 +39,10 @@ public MailboxProtectionRuleItemRequestBuilder(@jakarta.annotation.Nonnull final /** * Delete navigation property mailboxInclusionRules for solutions * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete() { delete(null); } @@ -47,7 +50,10 @@ public void delete() { * Delete navigation property mailboxInclusionRules for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -58,8 +64,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * The list of mailbox inclusion rules applied to the tenant. * @return a {@link MailboxProtectionRule} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public MailboxProtectionRule get() { return get(null); } @@ -68,8 +77,11 @@ public MailboxProtectionRule get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MailboxProtectionRule} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public MailboxProtectionRule get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -81,8 +93,11 @@ public MailboxProtectionRule get(@jakarta.annotation.Nullable final java.util.fu * @param body The request body * @return a {@link MailboxProtectionRule} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public MailboxProtectionRule patch(@jakarta.annotation.Nonnull final MailboxProtectionRule body) { return patch(body, null); } @@ -92,8 +107,11 @@ public MailboxProtectionRule patch(@jakarta.annotation.Nonnull final MailboxProt * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MailboxProtectionRule} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public MailboxProtectionRule patch(@jakarta.annotation.Nonnull final MailboxProtectionRule body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -104,8 +122,11 @@ public MailboxProtectionRule patch(@jakarta.annotation.Nonnull final MailboxProt /** * Delete navigation property mailboxInclusionRules for solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -113,8 +134,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property mailboxInclusionRules for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * The list of mailbox inclusion rules applied to the tenant. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -133,8 +160,11 @@ public RequestInformation toGetRequestInformation() { * The list of mailbox inclusion rules applied to the tenant. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -145,8 +175,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property mailboxInclusionRules in solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxProtectionRule body) { return toPatchRequestInformation(body, null); } @@ -155,8 +188,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxProtectionRule body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -169,8 +205,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link MailboxProtectionRuleItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public MailboxProtectionRuleItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new MailboxProtectionRuleItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/mailboxprotectionunits/MailboxProtectionUnitsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/mailboxprotectionunits/MailboxProtectionUnitsRequestBuilder.java index dc257888332..41cc95cf537 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/mailboxprotectionunits/MailboxProtectionUnitsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/mailboxprotectionunits/MailboxProtectionUnitsRequestBuilder.java @@ -26,7 +26,10 @@ public class MailboxProtectionUnitsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the mailboxProtectionUnits property of the microsoft.graph.backupRestoreRoot entity. * @param mailboxProtectionUnitId The unique identifier of mailboxProtectionUnit * @return a {@link MailboxProtectionUnitItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public MailboxProtectionUnitItemRequestBuilder byMailboxProtectionUnitId(@jakarta.annotation.Nonnull final String mailboxProtectionUnitId) { Objects.requireNonNull(mailboxProtectionUnitId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public MailboxProtectionUnitsRequestBuilder(@jakarta.annotation.Nonnull final St * The list of mailbox protection units in the tenant. * @return a {@link MailboxProtectionUnitCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public MailboxProtectionUnitCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public MailboxProtectionUnitCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MailboxProtectionUnitCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public MailboxProtectionUnitCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public MailboxProtectionUnitCollectionResponse get(@jakarta.annotation.Nullable * @param body The request body * @return a {@link MailboxProtectionUnit} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public MailboxProtectionUnit post(@jakarta.annotation.Nonnull final MailboxProtectionUnit body) { return post(body, null); } @@ -97,8 +112,11 @@ public MailboxProtectionUnit post(@jakarta.annotation.Nonnull final MailboxProte * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MailboxProtectionUnit} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public MailboxProtectionUnit post(@jakarta.annotation.Nonnull final MailboxProtectionUnit body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public MailboxProtectionUnit post(@jakarta.annotation.Nonnull final MailboxProte /** * The list of mailbox protection units in the tenant. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * The list of mailbox protection units in the tenant. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to mailboxProtectionUnits for solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MailboxProtectionUnit body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MailboxProtectionUnit body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link MailboxProtectionUnitsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public MailboxProtectionUnitsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new MailboxProtectionUnitsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/mailboxprotectionunits/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/mailboxprotectionunits/count/CountRequestBuilder.java index 7af3cf53bb9..4253133fdc7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/mailboxprotectionunits/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/mailboxprotectionunits/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/mailboxprotectionunits/item/MailboxProtectionUnitItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/mailboxprotectionunits/item/MailboxProtectionUnitItemRequestBuilder.java index c99518ab7b9..fcb2b8679b6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/mailboxprotectionunits/item/MailboxProtectionUnitItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/mailboxprotectionunits/item/MailboxProtectionUnitItemRequestBuilder.java @@ -39,7 +39,10 @@ public MailboxProtectionUnitItemRequestBuilder(@jakarta.annotation.Nonnull final /** * Delete navigation property mailboxProtectionUnits for solutions * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete() { delete(null); } @@ -47,7 +50,10 @@ public void delete() { * Delete navigation property mailboxProtectionUnits for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -58,8 +64,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * The list of mailbox protection units in the tenant. * @return a {@link MailboxProtectionUnit} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public MailboxProtectionUnit get() { return get(null); } @@ -68,8 +77,11 @@ public MailboxProtectionUnit get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MailboxProtectionUnit} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public MailboxProtectionUnit get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -81,8 +93,11 @@ public MailboxProtectionUnit get(@jakarta.annotation.Nullable final java.util.fu * @param body The request body * @return a {@link MailboxProtectionUnit} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public MailboxProtectionUnit patch(@jakarta.annotation.Nonnull final MailboxProtectionUnit body) { return patch(body, null); } @@ -92,8 +107,11 @@ public MailboxProtectionUnit patch(@jakarta.annotation.Nonnull final MailboxProt * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MailboxProtectionUnit} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public MailboxProtectionUnit patch(@jakarta.annotation.Nonnull final MailboxProtectionUnit body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -104,8 +122,11 @@ public MailboxProtectionUnit patch(@jakarta.annotation.Nonnull final MailboxProt /** * Delete navigation property mailboxProtectionUnits for solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -113,8 +134,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property mailboxProtectionUnits for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * The list of mailbox protection units in the tenant. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -133,8 +160,11 @@ public RequestInformation toGetRequestInformation() { * The list of mailbox protection units in the tenant. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -145,8 +175,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property mailboxProtectionUnits in solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxProtectionUnit body) { return toPatchRequestInformation(body, null); } @@ -155,8 +188,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxProtectionUnit body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -169,8 +205,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link MailboxProtectionUnitItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public MailboxProtectionUnitItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new MailboxProtectionUnitItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/mailboxprotectionunitsbulkadditionjobs/MailboxProtectionUnitsBulkAdditionJobsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/mailboxprotectionunitsbulkadditionjobs/MailboxProtectionUnitsBulkAdditionJobsRequestBuilder.java index f0c4d108f96..7756fbe5728 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/mailboxprotectionunitsbulkadditionjobs/MailboxProtectionUnitsBulkAdditionJobsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/mailboxprotectionunitsbulkadditionjobs/MailboxProtectionUnitsBulkAdditionJobsRequestBuilder.java @@ -26,7 +26,10 @@ public class MailboxProtectionUnitsBulkAdditionJobsRequestBuilder extends BaseRe /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the mailboxProtectionUnitsBulkAdditionJobs property of the microsoft.graph.backupRestoreRoot entity. * @param mailboxProtectionUnitsBulkAdditionJobId The unique identifier of mailboxProtectionUnitsBulkAdditionJob * @return a {@link MailboxProtectionUnitsBulkAdditionJobItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public MailboxProtectionUnitsBulkAdditionJobItemRequestBuilder byMailboxProtectionUnitsBulkAdditionJobId(@jakarta.annotation.Nonnull final String mailboxProtectionUnitsBulkAdditionJobId) { Objects.requireNonNull(mailboxProtectionUnitsBulkAdditionJobId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public MailboxProtectionUnitsBulkAdditionJobsRequestBuilder(@jakarta.annotation. * Get mailboxProtectionUnitsBulkAdditionJobs from solutions * @return a {@link MailboxProtectionUnitsBulkAdditionJobCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public MailboxProtectionUnitsBulkAdditionJobCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public MailboxProtectionUnitsBulkAdditionJobCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MailboxProtectionUnitsBulkAdditionJobCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public MailboxProtectionUnitsBulkAdditionJobCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public MailboxProtectionUnitsBulkAdditionJobCollectionResponse get(@jakarta.anno * @param body The request body * @return a {@link MailboxProtectionUnitsBulkAdditionJob} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public MailboxProtectionUnitsBulkAdditionJob post(@jakarta.annotation.Nonnull final MailboxProtectionUnitsBulkAdditionJob body) { return post(body, null); } @@ -97,8 +112,11 @@ public MailboxProtectionUnitsBulkAdditionJob post(@jakarta.annotation.Nonnull fi * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MailboxProtectionUnitsBulkAdditionJob} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public MailboxProtectionUnitsBulkAdditionJob post(@jakarta.annotation.Nonnull final MailboxProtectionUnitsBulkAdditionJob body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public MailboxProtectionUnitsBulkAdditionJob post(@jakarta.annotation.Nonnull fi /** * Get mailboxProtectionUnitsBulkAdditionJobs from solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Get mailboxProtectionUnitsBulkAdditionJobs from solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to mailboxProtectionUnitsBulkAdditionJobs for solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MailboxProtectionUnitsBulkAdditionJob body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MailboxProtectionUnitsBulkAdditionJob body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link MailboxProtectionUnitsBulkAdditionJobsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public MailboxProtectionUnitsBulkAdditionJobsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new MailboxProtectionUnitsBulkAdditionJobsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/mailboxprotectionunitsbulkadditionjobs/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/mailboxprotectionunitsbulkadditionjobs/count/CountRequestBuilder.java index cc3edcc3727..450794ea9b5 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/mailboxprotectionunitsbulkadditionjobs/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/mailboxprotectionunitsbulkadditionjobs/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/mailboxprotectionunitsbulkadditionjobs/item/MailboxProtectionUnitsBulkAdditionJobItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/mailboxprotectionunitsbulkadditionjobs/item/MailboxProtectionUnitsBulkAdditionJobItemRequestBuilder.java index b63979d169f..f79620b1fad 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/mailboxprotectionunitsbulkadditionjobs/item/MailboxProtectionUnitsBulkAdditionJobItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/mailboxprotectionunitsbulkadditionjobs/item/MailboxProtectionUnitsBulkAdditionJobItemRequestBuilder.java @@ -39,7 +39,10 @@ public MailboxProtectionUnitsBulkAdditionJobItemRequestBuilder(@jakarta.annotati /** * Delete navigation property mailboxProtectionUnitsBulkAdditionJobs for solutions * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete() { delete(null); } @@ -47,7 +50,10 @@ public void delete() { * Delete navigation property mailboxProtectionUnitsBulkAdditionJobs for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -58,8 +64,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Get mailboxProtectionUnitsBulkAdditionJobs from solutions * @return a {@link MailboxProtectionUnitsBulkAdditionJob} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public MailboxProtectionUnitsBulkAdditionJob get() { return get(null); } @@ -68,8 +77,11 @@ public MailboxProtectionUnitsBulkAdditionJob get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MailboxProtectionUnitsBulkAdditionJob} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public MailboxProtectionUnitsBulkAdditionJob get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -81,8 +93,11 @@ public MailboxProtectionUnitsBulkAdditionJob get(@jakarta.annotation.Nullable fi * @param body The request body * @return a {@link MailboxProtectionUnitsBulkAdditionJob} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public MailboxProtectionUnitsBulkAdditionJob patch(@jakarta.annotation.Nonnull final MailboxProtectionUnitsBulkAdditionJob body) { return patch(body, null); } @@ -92,8 +107,11 @@ public MailboxProtectionUnitsBulkAdditionJob patch(@jakarta.annotation.Nonnull f * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MailboxProtectionUnitsBulkAdditionJob} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public MailboxProtectionUnitsBulkAdditionJob patch(@jakarta.annotation.Nonnull final MailboxProtectionUnitsBulkAdditionJob body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -104,8 +122,11 @@ public MailboxProtectionUnitsBulkAdditionJob patch(@jakarta.annotation.Nonnull f /** * Delete navigation property mailboxProtectionUnitsBulkAdditionJobs for solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -113,8 +134,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property mailboxProtectionUnitsBulkAdditionJobs for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Get mailboxProtectionUnitsBulkAdditionJobs from solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -133,8 +160,11 @@ public RequestInformation toGetRequestInformation() { * Get mailboxProtectionUnitsBulkAdditionJobs from solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -145,8 +175,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property mailboxProtectionUnitsBulkAdditionJobs in solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxProtectionUnitsBulkAdditionJob body) { return toPatchRequestInformation(body, null); } @@ -155,8 +188,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxProtectionUnitsBulkAdditionJob body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -169,8 +205,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link MailboxProtectionUnitsBulkAdditionJobItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public MailboxProtectionUnitsBulkAdditionJobItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new MailboxProtectionUnitsBulkAdditionJobItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessbrowsesessions/OneDriveForBusinessBrowseSessionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessbrowsesessions/OneDriveForBusinessBrowseSessionsRequestBuilder.java index 162a667fdf5..97dd91d6f03 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessbrowsesessions/OneDriveForBusinessBrowseSessionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessbrowsesessions/OneDriveForBusinessBrowseSessionsRequestBuilder.java @@ -26,7 +26,10 @@ public class OneDriveForBusinessBrowseSessionsRequestBuilder extends BaseRequest /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the oneDriveForBusinessBrowseSessions property of the microsoft.graph.backupRestoreRoot entity. * @param oneDriveForBusinessBrowseSessionId The unique identifier of oneDriveForBusinessBrowseSession * @return a {@link OneDriveForBusinessBrowseSessionItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public OneDriveForBusinessBrowseSessionItemRequestBuilder byOneDriveForBusinessBrowseSessionId(@jakarta.annotation.Nonnull final String oneDriveForBusinessBrowseSessionId) { Objects.requireNonNull(oneDriveForBusinessBrowseSessionId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,9 +69,12 @@ public OneDriveForBusinessBrowseSessionsRequestBuilder(@jakarta.annotation.Nonnu * Get a list of the oneDriveForBusinessBrowseSession objects and their properties. * @return a {@link OneDriveForBusinessBrowseSessionCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public OneDriveForBusinessBrowseSessionCollectionResponse get() { return get(null); } @@ -74,9 +83,12 @@ public OneDriveForBusinessBrowseSessionCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link OneDriveForBusinessBrowseSessionCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public OneDriveForBusinessBrowseSessionCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -88,9 +100,12 @@ public OneDriveForBusinessBrowseSessionCollectionResponse get(@jakarta.annotatio * @param body The request body * @return a {@link OneDriveForBusinessBrowseSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public OneDriveForBusinessBrowseSession post(@jakarta.annotation.Nonnull final OneDriveForBusinessBrowseSession body) { return post(body, null); } @@ -100,9 +115,12 @@ public OneDriveForBusinessBrowseSession post(@jakarta.annotation.Nonnull final O * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link OneDriveForBusinessBrowseSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public OneDriveForBusinessBrowseSession post(@jakarta.annotation.Nonnull final OneDriveForBusinessBrowseSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -113,8 +131,11 @@ public OneDriveForBusinessBrowseSession post(@jakarta.annotation.Nonnull final O /** * Get a list of the oneDriveForBusinessBrowseSession objects and their properties. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -122,8 +143,11 @@ public RequestInformation toGetRequestInformation() { * Get a list of the oneDriveForBusinessBrowseSession objects and their properties. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -134,8 +158,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create a new oneDriveForBusinessBrowseSession object. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final OneDriveForBusinessBrowseSession body) { return toPostRequestInformation(body, null); } @@ -144,8 +171,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final OneDriveForBusinessBrowseSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -158,8 +188,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link OneDriveForBusinessBrowseSessionsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public OneDriveForBusinessBrowseSessionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new OneDriveForBusinessBrowseSessionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessbrowsesessions/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessbrowsesessions/count/CountRequestBuilder.java index 1e9616b629c..e72770cda04 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessbrowsesessions/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessbrowsesessions/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessbrowsesessions/item/OneDriveForBusinessBrowseSessionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessbrowsesessions/item/OneDriveForBusinessBrowseSessionItemRequestBuilder.java index cf0d11519ba..433ac2b858e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessbrowsesessions/item/OneDriveForBusinessBrowseSessionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessbrowsesessions/item/OneDriveForBusinessBrowseSessionItemRequestBuilder.java @@ -39,7 +39,10 @@ public OneDriveForBusinessBrowseSessionItemRequestBuilder(@jakarta.annotation.No /** * Delete navigation property oneDriveForBusinessBrowseSessions for solutions * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete() { delete(null); } @@ -47,7 +50,10 @@ public void delete() { * Delete navigation property oneDriveForBusinessBrowseSessions for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -58,9 +64,12 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Read the properties and relationships of oneDriveForBusinessBrowseSession object. * @return a {@link OneDriveForBusinessBrowseSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public OneDriveForBusinessBrowseSession get() { return get(null); } @@ -69,9 +78,12 @@ public OneDriveForBusinessBrowseSession get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link OneDriveForBusinessBrowseSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public OneDriveForBusinessBrowseSession get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -83,8 +95,11 @@ public OneDriveForBusinessBrowseSession get(@jakarta.annotation.Nullable final j * @param body The request body * @return a {@link OneDriveForBusinessBrowseSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public OneDriveForBusinessBrowseSession patch(@jakarta.annotation.Nonnull final OneDriveForBusinessBrowseSession body) { return patch(body, null); } @@ -94,8 +109,11 @@ public OneDriveForBusinessBrowseSession patch(@jakarta.annotation.Nonnull final * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link OneDriveForBusinessBrowseSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public OneDriveForBusinessBrowseSession patch(@jakarta.annotation.Nonnull final OneDriveForBusinessBrowseSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -106,8 +124,11 @@ public OneDriveForBusinessBrowseSession patch(@jakarta.annotation.Nonnull final /** * Delete navigation property oneDriveForBusinessBrowseSessions for solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -115,8 +136,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property oneDriveForBusinessBrowseSessions for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -126,8 +150,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Read the properties and relationships of oneDriveForBusinessBrowseSession object. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -135,8 +162,11 @@ public RequestInformation toGetRequestInformation() { * Read the properties and relationships of oneDriveForBusinessBrowseSession object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -147,8 +177,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property oneDriveForBusinessBrowseSessions in solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final OneDriveForBusinessBrowseSession body) { return toPatchRequestInformation(body, null); } @@ -157,8 +190,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final OneDriveForBusinessBrowseSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -171,8 +207,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link OneDriveForBusinessBrowseSessionItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public OneDriveForBusinessBrowseSessionItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new OneDriveForBusinessBrowseSessionItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessprotectionpolicies/OneDriveForBusinessProtectionPoliciesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessprotectionpolicies/OneDriveForBusinessProtectionPoliciesRequestBuilder.java index 4f6334504b4..ae673caea97 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessprotectionpolicies/OneDriveForBusinessProtectionPoliciesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessprotectionpolicies/OneDriveForBusinessProtectionPoliciesRequestBuilder.java @@ -26,7 +26,10 @@ public class OneDriveForBusinessProtectionPoliciesRequestBuilder extends BaseReq /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the oneDriveForBusinessProtectionPolicies property of the microsoft.graph.backupRestoreRoot entity. * @param oneDriveForBusinessProtectionPolicyId The unique identifier of oneDriveForBusinessProtectionPolicy * @return a {@link OneDriveForBusinessProtectionPolicyItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public OneDriveForBusinessProtectionPolicyItemRequestBuilder byOneDriveForBusinessProtectionPolicyId(@jakarta.annotation.Nonnull final String oneDriveForBusinessProtectionPolicyId) { Objects.requireNonNull(oneDriveForBusinessProtectionPolicyId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public OneDriveForBusinessProtectionPoliciesRequestBuilder(@jakarta.annotation.N * The list of OneDrive for Business protection policies in the tenant. * @return a {@link OneDriveForBusinessProtectionPolicyCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public OneDriveForBusinessProtectionPolicyCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public OneDriveForBusinessProtectionPolicyCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link OneDriveForBusinessProtectionPolicyCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public OneDriveForBusinessProtectionPolicyCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,9 +98,12 @@ public OneDriveForBusinessProtectionPolicyCollectionResponse get(@jakarta.annota * @param body The request body * @return a {@link OneDriveForBusinessProtectionPolicy} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public OneDriveForBusinessProtectionPolicy post(@jakarta.annotation.Nonnull final OneDriveForBusinessProtectionPolicy body) { return post(body, null); } @@ -98,9 +113,12 @@ public OneDriveForBusinessProtectionPolicy post(@jakarta.annotation.Nonnull fina * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link OneDriveForBusinessProtectionPolicy} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public OneDriveForBusinessProtectionPolicy post(@jakarta.annotation.Nonnull final OneDriveForBusinessProtectionPolicy body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -111,8 +129,11 @@ public OneDriveForBusinessProtectionPolicy post(@jakarta.annotation.Nonnull fina /** * The list of OneDrive for Business protection policies in the tenant. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -120,8 +141,11 @@ public RequestInformation toGetRequestInformation() { * The list of OneDrive for Business protection policies in the tenant. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -132,8 +156,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create a protection policy for the OneDrive service in Microsoft 365. When the policy is created, its state is set to inactive. Users can also provide a list of protection units under the policy. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final OneDriveForBusinessProtectionPolicy body) { return toPostRequestInformation(body, null); } @@ -142,8 +169,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final OneDriveForBusinessProtectionPolicy body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -156,8 +186,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link OneDriveForBusinessProtectionPoliciesRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public OneDriveForBusinessProtectionPoliciesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new OneDriveForBusinessProtectionPoliciesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessprotectionpolicies/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessprotectionpolicies/count/CountRequestBuilder.java index 62eb0d99cc4..b693d5266bb 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessprotectionpolicies/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessprotectionpolicies/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessprotectionpolicies/item/OneDriveForBusinessProtectionPolicyItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessprotectionpolicies/item/OneDriveForBusinessProtectionPolicyItemRequestBuilder.java index 91b60ddd92f..7b678726d96 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessprotectionpolicies/item/OneDriveForBusinessProtectionPolicyItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessprotectionpolicies/item/OneDriveForBusinessProtectionPolicyItemRequestBuilder.java @@ -28,7 +28,10 @@ public class OneDriveForBusinessProtectionPolicyItemRequestBuilder extends BaseR /** * Provides operations to manage the driveExclusionUnits property of the microsoft.graph.oneDriveForBusinessProtectionPolicy entity. * @return a {@link DriveExclusionUnitsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public DriveExclusionUnitsRequestBuilder driveExclusionUnits() { return new DriveExclusionUnitsRequestBuilder(pathParameters, requestAdapter); @@ -36,7 +39,10 @@ public DriveExclusionUnitsRequestBuilder driveExclusionUnits() { /** * Provides operations to manage the driveExclusionUnitsBulkAdditionJobs property of the microsoft.graph.oneDriveForBusinessProtectionPolicy entity. * @return a {@link DriveExclusionUnitsBulkAdditionJobsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public DriveExclusionUnitsBulkAdditionJobsRequestBuilder driveExclusionUnitsBulkAdditionJobs() { return new DriveExclusionUnitsBulkAdditionJobsRequestBuilder(pathParameters, requestAdapter); @@ -44,7 +50,10 @@ public DriveExclusionUnitsBulkAdditionJobsRequestBuilder driveExclusionUnitsBulk /** * Provides operations to manage the driveInclusionRules property of the microsoft.graph.oneDriveForBusinessProtectionPolicy entity. * @return a {@link DriveInclusionRulesRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public DriveInclusionRulesRequestBuilder driveInclusionRules() { return new DriveInclusionRulesRequestBuilder(pathParameters, requestAdapter); @@ -52,7 +61,10 @@ public DriveInclusionRulesRequestBuilder driveInclusionRules() { /** * Provides operations to manage the driveProtectionUnits property of the microsoft.graph.oneDriveForBusinessProtectionPolicy entity. * @return a {@link DriveProtectionUnitsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public DriveProtectionUnitsRequestBuilder driveProtectionUnits() { return new DriveProtectionUnitsRequestBuilder(pathParameters, requestAdapter); @@ -60,7 +72,10 @@ public DriveProtectionUnitsRequestBuilder driveProtectionUnits() { /** * Provides operations to manage the driveProtectionUnitsBulkAdditionJobs property of the microsoft.graph.oneDriveForBusinessProtectionPolicy entity. * @return a {@link DriveProtectionUnitsBulkAdditionJobsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public DriveProtectionUnitsBulkAdditionJobsRequestBuilder driveProtectionUnitsBulkAdditionJobs() { return new DriveProtectionUnitsBulkAdditionJobsRequestBuilder(pathParameters, requestAdapter); @@ -84,7 +99,10 @@ public OneDriveForBusinessProtectionPolicyItemRequestBuilder(@jakarta.annotation /** * Delete navigation property oneDriveForBusinessProtectionPolicies for solutions * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete() { delete(null); } @@ -92,7 +110,10 @@ public void delete() { * Delete navigation property oneDriveForBusinessProtectionPolicies for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -103,8 +124,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * The list of OneDrive for Business protection policies in the tenant. * @return a {@link OneDriveForBusinessProtectionPolicy} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public OneDriveForBusinessProtectionPolicy get() { return get(null); } @@ -113,8 +137,11 @@ public OneDriveForBusinessProtectionPolicy get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link OneDriveForBusinessProtectionPolicy} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public OneDriveForBusinessProtectionPolicy get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -126,9 +153,12 @@ public OneDriveForBusinessProtectionPolicy get(@jakarta.annotation.Nullable fina * @param body The request body * @return a {@link OneDriveForBusinessProtectionPolicy} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public OneDriveForBusinessProtectionPolicy patch(@jakarta.annotation.Nonnull final OneDriveForBusinessProtectionPolicy body) { return patch(body, null); } @@ -138,9 +168,12 @@ public OneDriveForBusinessProtectionPolicy patch(@jakarta.annotation.Nonnull fin * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link OneDriveForBusinessProtectionPolicy} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public OneDriveForBusinessProtectionPolicy patch(@jakarta.annotation.Nonnull final OneDriveForBusinessProtectionPolicy body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -151,8 +184,11 @@ public OneDriveForBusinessProtectionPolicy patch(@jakarta.annotation.Nonnull fin /** * Delete navigation property oneDriveForBusinessProtectionPolicies for solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -160,8 +196,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property oneDriveForBusinessProtectionPolicies for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -171,8 +210,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * The list of OneDrive for Business protection policies in the tenant. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -180,8 +222,11 @@ public RequestInformation toGetRequestInformation() { * The list of OneDrive for Business protection policies in the tenant. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -192,8 +237,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the protection policy for the OneDrive service in Microsoft 365. This method adds a driveProtectionUnit to or removes it from a oneDriveForBusinessProtectionPolicy object. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final OneDriveForBusinessProtectionPolicy body) { return toPatchRequestInformation(body, null); } @@ -202,8 +250,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final OneDriveForBusinessProtectionPolicy body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -216,8 +267,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link OneDriveForBusinessProtectionPolicyItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public OneDriveForBusinessProtectionPolicyItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new OneDriveForBusinessProtectionPolicyItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessprotectionpolicies/item/driveexclusionunits/DriveExclusionUnitsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessprotectionpolicies/item/driveexclusionunits/DriveExclusionUnitsRequestBuilder.java index 603c94a602d..9dc27a8278e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessprotectionpolicies/item/driveexclusionunits/DriveExclusionUnitsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessprotectionpolicies/item/driveexclusionunits/DriveExclusionUnitsRequestBuilder.java @@ -25,7 +25,10 @@ public class DriveExclusionUnitsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -34,8 +37,11 @@ public CountRequestBuilder count() { * Provides operations to manage the driveExclusionUnits property of the microsoft.graph.oneDriveForBusinessProtectionPolicy entity. * @param driveExclusionUnitId The unique identifier of driveExclusionUnit * @return a {@link DriveExclusionUnitItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public DriveExclusionUnitItemRequestBuilder byDriveExclusionUnitId(@jakarta.annotation.Nonnull final String driveExclusionUnitId) { Objects.requireNonNull(driveExclusionUnitId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -62,9 +68,12 @@ public DriveExclusionUnitsRequestBuilder(@jakarta.annotation.Nonnull final Strin * Get a list of drive exclusion units associated with a OneDrive for work or school protection policy. * @return a {@link DriveExclusionUnitCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public DriveExclusionUnitCollectionResponse get() { return get(null); } @@ -73,9 +82,12 @@ public DriveExclusionUnitCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DriveExclusionUnitCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public DriveExclusionUnitCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -85,8 +97,11 @@ public DriveExclusionUnitCollectionResponse get(@jakarta.annotation.Nullable fin /** * Get a list of drive exclusion units associated with a OneDrive for work or school protection policy. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -94,8 +109,11 @@ public RequestInformation toGetRequestInformation() { * Get a list of drive exclusion units associated with a OneDrive for work or school protection policy. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -106,8 +124,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link DriveExclusionUnitsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public DriveExclusionUnitsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new DriveExclusionUnitsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessprotectionpolicies/item/driveexclusionunits/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessprotectionpolicies/item/driveexclusionunits/count/CountRequestBuilder.java index dbae6058d4d..0678417d0a9 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessprotectionpolicies/item/driveexclusionunits/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessprotectionpolicies/item/driveexclusionunits/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessprotectionpolicies/item/driveexclusionunits/item/DriveExclusionUnitItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessprotectionpolicies/item/driveexclusionunits/item/DriveExclusionUnitItemRequestBuilder.java index f8d7533787c..5a9e4e2d631 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessprotectionpolicies/item/driveexclusionunits/item/DriveExclusionUnitItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessprotectionpolicies/item/driveexclusionunits/item/DriveExclusionUnitItemRequestBuilder.java @@ -40,9 +40,12 @@ public DriveExclusionUnitItemRequestBuilder(@jakarta.annotation.Nonnull final St * Get a drive exclusion unit associated with a OneDrive for work or school protection policy. * @return a {@link DriveExclusionUnit} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public DriveExclusionUnit get() { return get(null); } @@ -51,9 +54,12 @@ public DriveExclusionUnit get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DriveExclusionUnit} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public DriveExclusionUnit get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -63,8 +69,11 @@ public DriveExclusionUnit get(@jakarta.annotation.Nullable final java.util.funct /** * Get a drive exclusion unit associated with a OneDrive for work or school protection policy. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -72,8 +81,11 @@ public RequestInformation toGetRequestInformation() { * Get a drive exclusion unit associated with a OneDrive for work or school protection policy. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -84,8 +96,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link DriveExclusionUnitItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public DriveExclusionUnitItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new DriveExclusionUnitItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessprotectionpolicies/item/driveexclusionunitsbulkadditionjobs/DriveExclusionUnitsBulkAdditionJobsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessprotectionpolicies/item/driveexclusionunitsbulkadditionjobs/DriveExclusionUnitsBulkAdditionJobsRequestBuilder.java index 475fccaf32f..5bfe42cff51 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessprotectionpolicies/item/driveexclusionunitsbulkadditionjobs/DriveExclusionUnitsBulkAdditionJobsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessprotectionpolicies/item/driveexclusionunitsbulkadditionjobs/DriveExclusionUnitsBulkAdditionJobsRequestBuilder.java @@ -25,7 +25,10 @@ public class DriveExclusionUnitsBulkAdditionJobsRequestBuilder extends BaseReque /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -34,8 +37,11 @@ public CountRequestBuilder count() { * Provides operations to manage the driveExclusionUnitsBulkAdditionJobs property of the microsoft.graph.oneDriveForBusinessProtectionPolicy entity. * @param driveExclusionUnitsBulkAdditionJobId The unique identifier of driveExclusionUnitsBulkAdditionJob * @return a {@link DriveExclusionUnitsBulkAdditionJobItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public DriveExclusionUnitsBulkAdditionJobItemRequestBuilder byDriveExclusionUnitsBulkAdditionJobId(@jakarta.annotation.Nonnull final String driveExclusionUnitsBulkAdditionJobId) { Objects.requireNonNull(driveExclusionUnitsBulkAdditionJobId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -62,9 +68,12 @@ public DriveExclusionUnitsBulkAdditionJobsRequestBuilder(@jakarta.annotation.Non * Get a list of drive exclusion units bulk addition jobs associated with a OneDrive for work or school protection policy. * @return a {@link DriveExclusionUnitsBulkAdditionJobCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public DriveExclusionUnitsBulkAdditionJobCollectionResponse get() { return get(null); } @@ -73,9 +82,12 @@ public DriveExclusionUnitsBulkAdditionJobCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DriveExclusionUnitsBulkAdditionJobCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public DriveExclusionUnitsBulkAdditionJobCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -85,8 +97,11 @@ public DriveExclusionUnitsBulkAdditionJobCollectionResponse get(@jakarta.annotat /** * Get a list of drive exclusion units bulk addition jobs associated with a OneDrive for work or school protection policy. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -94,8 +109,11 @@ public RequestInformation toGetRequestInformation() { * Get a list of drive exclusion units bulk addition jobs associated with a OneDrive for work or school protection policy. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -106,8 +124,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link DriveExclusionUnitsBulkAdditionJobsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public DriveExclusionUnitsBulkAdditionJobsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new DriveExclusionUnitsBulkAdditionJobsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessprotectionpolicies/item/driveexclusionunitsbulkadditionjobs/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessprotectionpolicies/item/driveexclusionunitsbulkadditionjobs/count/CountRequestBuilder.java index 518dd7cec37..3cc56f167a3 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessprotectionpolicies/item/driveexclusionunitsbulkadditionjobs/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessprotectionpolicies/item/driveexclusionunitsbulkadditionjobs/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessprotectionpolicies/item/driveexclusionunitsbulkadditionjobs/item/DriveExclusionUnitsBulkAdditionJobItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessprotectionpolicies/item/driveexclusionunitsbulkadditionjobs/item/DriveExclusionUnitsBulkAdditionJobItemRequestBuilder.java index 134653e8db0..084944d923f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessprotectionpolicies/item/driveexclusionunitsbulkadditionjobs/item/DriveExclusionUnitsBulkAdditionJobItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessprotectionpolicies/item/driveexclusionunitsbulkadditionjobs/item/DriveExclusionUnitsBulkAdditionJobItemRequestBuilder.java @@ -40,9 +40,12 @@ public DriveExclusionUnitsBulkAdditionJobItemRequestBuilder(@jakarta.annotation. * Get a drive exclusion units bulk addition job associated with a OneDrive for work or school protection policy. * @return a {@link DriveExclusionUnitsBulkAdditionJob} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public DriveExclusionUnitsBulkAdditionJob get() { return get(null); } @@ -51,9 +54,12 @@ public DriveExclusionUnitsBulkAdditionJob get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DriveExclusionUnitsBulkAdditionJob} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public DriveExclusionUnitsBulkAdditionJob get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -63,8 +69,11 @@ public DriveExclusionUnitsBulkAdditionJob get(@jakarta.annotation.Nullable final /** * Get a drive exclusion units bulk addition job associated with a OneDrive for work or school protection policy. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -72,8 +81,11 @@ public RequestInformation toGetRequestInformation() { * Get a drive exclusion units bulk addition job associated with a OneDrive for work or school protection policy. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -84,8 +96,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link DriveExclusionUnitsBulkAdditionJobItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public DriveExclusionUnitsBulkAdditionJobItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new DriveExclusionUnitsBulkAdditionJobItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessprotectionpolicies/item/driveinclusionrules/DriveInclusionRulesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessprotectionpolicies/item/driveinclusionrules/DriveInclusionRulesRequestBuilder.java index 1c118568120..151faf5e3ca 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessprotectionpolicies/item/driveinclusionrules/DriveInclusionRulesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessprotectionpolicies/item/driveinclusionrules/DriveInclusionRulesRequestBuilder.java @@ -25,7 +25,10 @@ public class DriveInclusionRulesRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -34,8 +37,11 @@ public CountRequestBuilder count() { * Provides operations to manage the driveInclusionRules property of the microsoft.graph.oneDriveForBusinessProtectionPolicy entity. * @param driveProtectionRuleId The unique identifier of driveProtectionRule * @return a {@link DriveProtectionRuleItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public DriveProtectionRuleItemRequestBuilder byDriveProtectionRuleId(@jakarta.annotation.Nonnull final String driveProtectionRuleId) { Objects.requireNonNull(driveProtectionRuleId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -62,9 +68,12 @@ public DriveInclusionRulesRequestBuilder(@jakarta.annotation.Nonnull final Strin * Get a list of the driveProtectionRule objects that are associated with a OneDrive for Business protection policy. An inclusion rule indicates that a protection policy should contain protection units that match the specified rule criteria. The initial status of a protection rule upon creation is active. After the rule is applied, the state is either completed or completedWithErrors. * @return a {@link DriveProtectionRuleCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public DriveProtectionRuleCollectionResponse get() { return get(null); } @@ -73,9 +82,12 @@ public DriveProtectionRuleCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DriveProtectionRuleCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public DriveProtectionRuleCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -85,8 +97,11 @@ public DriveProtectionRuleCollectionResponse get(@jakarta.annotation.Nullable fi /** * Get a list of the driveProtectionRule objects that are associated with a OneDrive for Business protection policy. An inclusion rule indicates that a protection policy should contain protection units that match the specified rule criteria. The initial status of a protection rule upon creation is active. After the rule is applied, the state is either completed or completedWithErrors. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -94,8 +109,11 @@ public RequestInformation toGetRequestInformation() { * Get a list of the driveProtectionRule objects that are associated with a OneDrive for Business protection policy. An inclusion rule indicates that a protection policy should contain protection units that match the specified rule criteria. The initial status of a protection rule upon creation is active. After the rule is applied, the state is either completed or completedWithErrors. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -106,8 +124,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link DriveInclusionRulesRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public DriveInclusionRulesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new DriveInclusionRulesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessprotectionpolicies/item/driveinclusionrules/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessprotectionpolicies/item/driveinclusionrules/count/CountRequestBuilder.java index 9298d3ddf03..dd681020e31 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessprotectionpolicies/item/driveinclusionrules/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessprotectionpolicies/item/driveinclusionrules/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessprotectionpolicies/item/driveinclusionrules/item/DriveProtectionRuleItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessprotectionpolicies/item/driveinclusionrules/item/DriveProtectionRuleItemRequestBuilder.java index 36cf75b1a8a..5ae6eab4e43 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessprotectionpolicies/item/driveinclusionrules/item/DriveProtectionRuleItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessprotectionpolicies/item/driveinclusionrules/item/DriveProtectionRuleItemRequestBuilder.java @@ -40,9 +40,12 @@ public DriveProtectionRuleItemRequestBuilder(@jakarta.annotation.Nonnull final S * Get a protection rule that's associated with a protection policy. You can use this operation to get mailbox, drive, and site protection rules. An inclusion rule indicates that a protection policy should contain protection units that match the specified rule criteria. The initial status of a protection rule upon creation is active. After the rule is applied, the state is either completed or completedWithErrors. * @return a {@link DriveProtectionRule} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public DriveProtectionRule get() { return get(null); } @@ -51,9 +54,12 @@ public DriveProtectionRule get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DriveProtectionRule} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public DriveProtectionRule get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -63,8 +69,11 @@ public DriveProtectionRule get(@jakarta.annotation.Nullable final java.util.func /** * Get a protection rule that's associated with a protection policy. You can use this operation to get mailbox, drive, and site protection rules. An inclusion rule indicates that a protection policy should contain protection units that match the specified rule criteria. The initial status of a protection rule upon creation is active. After the rule is applied, the state is either completed or completedWithErrors. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -72,8 +81,11 @@ public RequestInformation toGetRequestInformation() { * Get a protection rule that's associated with a protection policy. You can use this operation to get mailbox, drive, and site protection rules. An inclusion rule indicates that a protection policy should contain protection units that match the specified rule criteria. The initial status of a protection rule upon creation is active. After the rule is applied, the state is either completed or completedWithErrors. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -84,8 +96,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link DriveProtectionRuleItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public DriveProtectionRuleItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new DriveProtectionRuleItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessprotectionpolicies/item/driveprotectionunits/DriveProtectionUnitsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessprotectionpolicies/item/driveprotectionunits/DriveProtectionUnitsRequestBuilder.java index f3c51d0c7d1..acada76f9f9 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessprotectionpolicies/item/driveprotectionunits/DriveProtectionUnitsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessprotectionpolicies/item/driveprotectionunits/DriveProtectionUnitsRequestBuilder.java @@ -25,7 +25,10 @@ public class DriveProtectionUnitsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -34,8 +37,11 @@ public CountRequestBuilder count() { * Provides operations to manage the driveProtectionUnits property of the microsoft.graph.oneDriveForBusinessProtectionPolicy entity. * @param driveProtectionUnitId The unique identifier of driveProtectionUnit * @return a {@link DriveProtectionUnitItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public DriveProtectionUnitItemRequestBuilder byDriveProtectionUnitId(@jakarta.annotation.Nonnull final String driveProtectionUnitId) { Objects.requireNonNull(driveProtectionUnitId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -62,9 +68,12 @@ public DriveProtectionUnitsRequestBuilder(@jakarta.annotation.Nonnull final Stri * Get a list of the driveProtectionUnit objects that are associated with a oneDriveForBusinessProtectionPolicy. * @return a {@link DriveProtectionUnitCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public DriveProtectionUnitCollectionResponse get() { return get(null); } @@ -73,9 +82,12 @@ public DriveProtectionUnitCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DriveProtectionUnitCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public DriveProtectionUnitCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -85,8 +97,11 @@ public DriveProtectionUnitCollectionResponse get(@jakarta.annotation.Nullable fi /** * Get a list of the driveProtectionUnit objects that are associated with a oneDriveForBusinessProtectionPolicy. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -94,8 +109,11 @@ public RequestInformation toGetRequestInformation() { * Get a list of the driveProtectionUnit objects that are associated with a oneDriveForBusinessProtectionPolicy. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -106,8 +124,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link DriveProtectionUnitsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public DriveProtectionUnitsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new DriveProtectionUnitsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessprotectionpolicies/item/driveprotectionunits/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessprotectionpolicies/item/driveprotectionunits/count/CountRequestBuilder.java index 913aa8fe8e3..858155d8d9e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessprotectionpolicies/item/driveprotectionunits/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessprotectionpolicies/item/driveprotectionunits/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessprotectionpolicies/item/driveprotectionunits/item/DriveProtectionUnitItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessprotectionpolicies/item/driveprotectionunits/item/DriveProtectionUnitItemRequestBuilder.java index b6960e0a108..30498bd595a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessprotectionpolicies/item/driveprotectionunits/item/DriveProtectionUnitItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessprotectionpolicies/item/driveprotectionunits/item/DriveProtectionUnitItemRequestBuilder.java @@ -40,8 +40,11 @@ public DriveProtectionUnitItemRequestBuilder(@jakarta.annotation.Nonnull final S * Contains the protection units associated with a OneDrive for Work or School protection policy. * @return a {@link DriveProtectionUnit} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public DriveProtectionUnit get() { return get(null); } @@ -50,8 +53,11 @@ public DriveProtectionUnit get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DriveProtectionUnit} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public DriveProtectionUnit get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public DriveProtectionUnit get(@jakarta.annotation.Nullable final java.util.func /** * Contains the protection units associated with a OneDrive for Work or School protection policy. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * Contains the protection units associated with a OneDrive for Work or School protection policy. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link DriveProtectionUnitItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public DriveProtectionUnitItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new DriveProtectionUnitItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessprotectionpolicies/item/driveprotectionunitsbulkadditionjobs/DriveProtectionUnitsBulkAdditionJobsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessprotectionpolicies/item/driveprotectionunitsbulkadditionjobs/DriveProtectionUnitsBulkAdditionJobsRequestBuilder.java index 8aa5edf5a74..23dd404fd22 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessprotectionpolicies/item/driveprotectionunitsbulkadditionjobs/DriveProtectionUnitsBulkAdditionJobsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessprotectionpolicies/item/driveprotectionunitsbulkadditionjobs/DriveProtectionUnitsBulkAdditionJobsRequestBuilder.java @@ -25,7 +25,10 @@ public class DriveProtectionUnitsBulkAdditionJobsRequestBuilder extends BaseRequ /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -34,8 +37,11 @@ public CountRequestBuilder count() { * Provides operations to manage the driveProtectionUnitsBulkAdditionJobs property of the microsoft.graph.oneDriveForBusinessProtectionPolicy entity. * @param driveProtectionUnitsBulkAdditionJobId The unique identifier of driveProtectionUnitsBulkAdditionJob * @return a {@link DriveProtectionUnitsBulkAdditionJobItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public DriveProtectionUnitsBulkAdditionJobItemRequestBuilder byDriveProtectionUnitsBulkAdditionJobId(@jakarta.annotation.Nonnull final String driveProtectionUnitsBulkAdditionJobId) { Objects.requireNonNull(driveProtectionUnitsBulkAdditionJobId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -62,9 +68,12 @@ public DriveProtectionUnitsBulkAdditionJobsRequestBuilder(@jakarta.annotation.No * Get a list of driveProtectionUnitsBulkAdditionJobs objects associated with a oneDriveForBusinessProtectionPolicy. * @return a {@link DriveProtectionUnitsBulkAdditionJobCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public DriveProtectionUnitsBulkAdditionJobCollectionResponse get() { return get(null); } @@ -73,9 +82,12 @@ public DriveProtectionUnitsBulkAdditionJobCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DriveProtectionUnitsBulkAdditionJobCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public DriveProtectionUnitsBulkAdditionJobCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -85,8 +97,11 @@ public DriveProtectionUnitsBulkAdditionJobCollectionResponse get(@jakarta.annota /** * Get a list of driveProtectionUnitsBulkAdditionJobs objects associated with a oneDriveForBusinessProtectionPolicy. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -94,8 +109,11 @@ public RequestInformation toGetRequestInformation() { * Get a list of driveProtectionUnitsBulkAdditionJobs objects associated with a oneDriveForBusinessProtectionPolicy. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -106,8 +124,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link DriveProtectionUnitsBulkAdditionJobsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public DriveProtectionUnitsBulkAdditionJobsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new DriveProtectionUnitsBulkAdditionJobsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessprotectionpolicies/item/driveprotectionunitsbulkadditionjobs/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessprotectionpolicies/item/driveprotectionunitsbulkadditionjobs/count/CountRequestBuilder.java index ee6fb953c21..9d3df8b5958 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessprotectionpolicies/item/driveprotectionunitsbulkadditionjobs/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessprotectionpolicies/item/driveprotectionunitsbulkadditionjobs/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessprotectionpolicies/item/driveprotectionunitsbulkadditionjobs/item/DriveProtectionUnitsBulkAdditionJobItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessprotectionpolicies/item/driveprotectionunitsbulkadditionjobs/item/DriveProtectionUnitsBulkAdditionJobItemRequestBuilder.java index f7a9b6191d0..f17a2db89b6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessprotectionpolicies/item/driveprotectionunitsbulkadditionjobs/item/DriveProtectionUnitsBulkAdditionJobItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessprotectionpolicies/item/driveprotectionunitsbulkadditionjobs/item/DriveProtectionUnitsBulkAdditionJobItemRequestBuilder.java @@ -40,9 +40,12 @@ public DriveProtectionUnitsBulkAdditionJobItemRequestBuilder(@jakarta.annotation * Get a driveProtectionUnitsBulkAdditionJob object by the ID associated with a oneDriveForBusinessProtectionPolicy. * @return a {@link DriveProtectionUnitsBulkAdditionJob} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public DriveProtectionUnitsBulkAdditionJob get() { return get(null); } @@ -51,9 +54,12 @@ public DriveProtectionUnitsBulkAdditionJob get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DriveProtectionUnitsBulkAdditionJob} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public DriveProtectionUnitsBulkAdditionJob get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -63,8 +69,11 @@ public DriveProtectionUnitsBulkAdditionJob get(@jakarta.annotation.Nullable fina /** * Get a driveProtectionUnitsBulkAdditionJob object by the ID associated with a oneDriveForBusinessProtectionPolicy. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -72,8 +81,11 @@ public RequestInformation toGetRequestInformation() { * Get a driveProtectionUnitsBulkAdditionJob object by the ID associated with a oneDriveForBusinessProtectionPolicy. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -84,8 +96,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link DriveProtectionUnitsBulkAdditionJobItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public DriveProtectionUnitsBulkAdditionJobItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new DriveProtectionUnitsBulkAdditionJobItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessrestoresessions/OneDriveForBusinessRestoreSessionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessrestoresessions/OneDriveForBusinessRestoreSessionsRequestBuilder.java index a9915711fea..1ef8f64df2f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessrestoresessions/OneDriveForBusinessRestoreSessionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessrestoresessions/OneDriveForBusinessRestoreSessionsRequestBuilder.java @@ -26,7 +26,10 @@ public class OneDriveForBusinessRestoreSessionsRequestBuilder extends BaseReques /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the oneDriveForBusinessRestoreSessions property of the microsoft.graph.backupRestoreRoot entity. * @param oneDriveForBusinessRestoreSessionId The unique identifier of oneDriveForBusinessRestoreSession * @return a {@link OneDriveForBusinessRestoreSessionItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public OneDriveForBusinessRestoreSessionItemRequestBuilder byOneDriveForBusinessRestoreSessionId(@jakarta.annotation.Nonnull final String oneDriveForBusinessRestoreSessionId) { Objects.requireNonNull(oneDriveForBusinessRestoreSessionId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public OneDriveForBusinessRestoreSessionsRequestBuilder(@jakarta.annotation.Nonn * The list of OneDrive for Business restore sessions available in the tenant. * @return a {@link OneDriveForBusinessRestoreSessionCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public OneDriveForBusinessRestoreSessionCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public OneDriveForBusinessRestoreSessionCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link OneDriveForBusinessRestoreSessionCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public OneDriveForBusinessRestoreSessionCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public OneDriveForBusinessRestoreSessionCollectionResponse get(@jakarta.annotati * @param body The request body * @return a {@link OneDriveForBusinessRestoreSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public OneDriveForBusinessRestoreSession post(@jakarta.annotation.Nonnull final OneDriveForBusinessRestoreSession body) { return post(body, null); } @@ -97,8 +112,11 @@ public OneDriveForBusinessRestoreSession post(@jakarta.annotation.Nonnull final * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link OneDriveForBusinessRestoreSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public OneDriveForBusinessRestoreSession post(@jakarta.annotation.Nonnull final OneDriveForBusinessRestoreSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public OneDriveForBusinessRestoreSession post(@jakarta.annotation.Nonnull final /** * The list of OneDrive for Business restore sessions available in the tenant. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * The list of OneDrive for Business restore sessions available in the tenant. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to oneDriveForBusinessRestoreSessions for solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final OneDriveForBusinessRestoreSession body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final OneDriveForBusinessRestoreSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link OneDriveForBusinessRestoreSessionsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public OneDriveForBusinessRestoreSessionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new OneDriveForBusinessRestoreSessionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessrestoresessions/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessrestoresessions/count/CountRequestBuilder.java index 84489f5b06f..6ad7a469bbf 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessrestoresessions/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessrestoresessions/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessrestoresessions/item/OneDriveForBusinessRestoreSessionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessrestoresessions/item/OneDriveForBusinessRestoreSessionItemRequestBuilder.java index f37bbefd4e4..753d9fc79ea 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessrestoresessions/item/OneDriveForBusinessRestoreSessionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessrestoresessions/item/OneDriveForBusinessRestoreSessionItemRequestBuilder.java @@ -26,7 +26,10 @@ public class OneDriveForBusinessRestoreSessionItemRequestBuilder extends BaseReq /** * Provides operations to manage the driveRestoreArtifacts property of the microsoft.graph.oneDriveForBusinessRestoreSession entity. * @return a {@link DriveRestoreArtifactsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public DriveRestoreArtifactsRequestBuilder driveRestoreArtifacts() { return new DriveRestoreArtifactsRequestBuilder(pathParameters, requestAdapter); @@ -34,7 +37,10 @@ public DriveRestoreArtifactsRequestBuilder driveRestoreArtifacts() { /** * Provides operations to manage the driveRestoreArtifactsBulkAdditionRequests property of the microsoft.graph.oneDriveForBusinessRestoreSession entity. * @return a {@link DriveRestoreArtifactsBulkAdditionRequestsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public DriveRestoreArtifactsBulkAdditionRequestsRequestBuilder driveRestoreArtifactsBulkAdditionRequests() { return new DriveRestoreArtifactsBulkAdditionRequestsRequestBuilder(pathParameters, requestAdapter); @@ -42,7 +48,10 @@ public DriveRestoreArtifactsBulkAdditionRequestsRequestBuilder driveRestoreArtif /** * Provides operations to manage the granularDriveRestoreArtifacts property of the microsoft.graph.oneDriveForBusinessRestoreSession entity. * @return a {@link GranularDriveRestoreArtifactsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public GranularDriveRestoreArtifactsRequestBuilder granularDriveRestoreArtifacts() { return new GranularDriveRestoreArtifactsRequestBuilder(pathParameters, requestAdapter); @@ -66,7 +75,10 @@ public OneDriveForBusinessRestoreSessionItemRequestBuilder(@jakarta.annotation.N /** * Delete navigation property oneDriveForBusinessRestoreSessions for solutions * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete() { delete(null); } @@ -74,7 +86,10 @@ public void delete() { * Delete navigation property oneDriveForBusinessRestoreSessions for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -85,8 +100,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * The list of OneDrive for Business restore sessions available in the tenant. * @return a {@link OneDriveForBusinessRestoreSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public OneDriveForBusinessRestoreSession get() { return get(null); } @@ -95,8 +113,11 @@ public OneDriveForBusinessRestoreSession get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link OneDriveForBusinessRestoreSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public OneDriveForBusinessRestoreSession get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -108,9 +129,12 @@ public OneDriveForBusinessRestoreSession get(@jakarta.annotation.Nullable final * @param body The request body * @return a {@link OneDriveForBusinessRestoreSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public OneDriveForBusinessRestoreSession patch(@jakarta.annotation.Nonnull final OneDriveForBusinessRestoreSession body) { return patch(body, null); } @@ -120,9 +144,12 @@ public OneDriveForBusinessRestoreSession patch(@jakarta.annotation.Nonnull final * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link OneDriveForBusinessRestoreSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public OneDriveForBusinessRestoreSession patch(@jakarta.annotation.Nonnull final OneDriveForBusinessRestoreSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -133,8 +160,11 @@ public OneDriveForBusinessRestoreSession patch(@jakarta.annotation.Nonnull final /** * Delete navigation property oneDriveForBusinessRestoreSessions for solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -142,8 +172,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property oneDriveForBusinessRestoreSessions for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -153,8 +186,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * The list of OneDrive for Business restore sessions available in the tenant. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -162,8 +198,11 @@ public RequestInformation toGetRequestInformation() { * The list of OneDrive for Business restore sessions available in the tenant. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -174,8 +213,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the properties of a oneDriveForBusinessRestoreSession object. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final OneDriveForBusinessRestoreSession body) { return toPatchRequestInformation(body, null); } @@ -184,8 +226,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final OneDriveForBusinessRestoreSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -198,8 +243,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link OneDriveForBusinessRestoreSessionItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public OneDriveForBusinessRestoreSessionItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new OneDriveForBusinessRestoreSessionItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessrestoresessions/item/driverestoreartifacts/DriveRestoreArtifactsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessrestoresessions/item/driverestoreartifacts/DriveRestoreArtifactsRequestBuilder.java index a82b1b0c5df..fdca4ea9d55 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessrestoresessions/item/driverestoreartifacts/DriveRestoreArtifactsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessrestoresessions/item/driverestoreartifacts/DriveRestoreArtifactsRequestBuilder.java @@ -26,7 +26,10 @@ public class DriveRestoreArtifactsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the driveRestoreArtifacts property of the microsoft.graph.oneDriveForBusinessRestoreSession entity. * @param driveRestoreArtifactId The unique identifier of driveRestoreArtifact * @return a {@link DriveRestoreArtifactItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public DriveRestoreArtifactItemRequestBuilder byDriveRestoreArtifactId(@jakarta.annotation.Nonnull final String driveRestoreArtifactId) { Objects.requireNonNull(driveRestoreArtifactId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,9 +69,12 @@ public DriveRestoreArtifactsRequestBuilder(@jakarta.annotation.Nonnull final Str * Get a list of the driveRestoreArtifact objects and their properties for a oneDriveForBusinessRestoreSession for a tenant. * @return a {@link DriveRestoreArtifactCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public DriveRestoreArtifactCollectionResponse get() { return get(null); } @@ -74,9 +83,12 @@ public DriveRestoreArtifactCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DriveRestoreArtifactCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public DriveRestoreArtifactCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -88,8 +100,11 @@ public DriveRestoreArtifactCollectionResponse get(@jakarta.annotation.Nullable f * @param body The request body * @return a {@link DriveRestoreArtifact} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public DriveRestoreArtifact post(@jakarta.annotation.Nonnull final DriveRestoreArtifact body) { return post(body, null); } @@ -99,8 +114,11 @@ public DriveRestoreArtifact post(@jakarta.annotation.Nonnull final DriveRestoreA * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DriveRestoreArtifact} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public DriveRestoreArtifact post(@jakarta.annotation.Nonnull final DriveRestoreArtifact body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -111,8 +129,11 @@ public DriveRestoreArtifact post(@jakarta.annotation.Nonnull final DriveRestoreA /** * Get a list of the driveRestoreArtifact objects and their properties for a oneDriveForBusinessRestoreSession for a tenant. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -120,8 +141,11 @@ public RequestInformation toGetRequestInformation() { * Get a list of the driveRestoreArtifact objects and their properties for a oneDriveForBusinessRestoreSession for a tenant. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -132,8 +156,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to driveRestoreArtifacts for solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DriveRestoreArtifact body) { return toPostRequestInformation(body, null); } @@ -142,8 +169,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DriveRestoreArtifact body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -156,8 +186,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link DriveRestoreArtifactsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public DriveRestoreArtifactsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new DriveRestoreArtifactsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessrestoresessions/item/driverestoreartifacts/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessrestoresessions/item/driverestoreartifacts/count/CountRequestBuilder.java index 336431a5023..3a0e16e9496 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessrestoresessions/item/driverestoreartifacts/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessrestoresessions/item/driverestoreartifacts/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessrestoresessions/item/driverestoreartifacts/item/DriveRestoreArtifactItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessrestoresessions/item/driverestoreartifacts/item/DriveRestoreArtifactItemRequestBuilder.java index b97fab2b720..e4c77ea561d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessrestoresessions/item/driverestoreartifacts/item/DriveRestoreArtifactItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessrestoresessions/item/driverestoreartifacts/item/DriveRestoreArtifactItemRequestBuilder.java @@ -24,7 +24,10 @@ public class DriveRestoreArtifactItemRequestBuilder extends BaseRequestBuilder { /** * Provides operations to manage the restorePoint property of the microsoft.graph.restoreArtifactBase entity. * @return a {@link RestorePointRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public RestorePointRequestBuilder restorePoint() { return new RestorePointRequestBuilder(pathParameters, requestAdapter); @@ -48,7 +51,10 @@ public DriveRestoreArtifactItemRequestBuilder(@jakarta.annotation.Nonnull final /** * Delete navigation property driveRestoreArtifacts for solutions * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete() { delete(null); } @@ -56,7 +62,10 @@ public void delete() { * Delete navigation property driveRestoreArtifacts for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -67,8 +76,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * A collection of restore points and destination details that can be used to restore a OneDrive for work or school drive. * @return a {@link DriveRestoreArtifact} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public DriveRestoreArtifact get() { return get(null); } @@ -77,8 +89,11 @@ public DriveRestoreArtifact get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DriveRestoreArtifact} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public DriveRestoreArtifact get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -90,8 +105,11 @@ public DriveRestoreArtifact get(@jakarta.annotation.Nullable final java.util.fun * @param body The request body * @return a {@link DriveRestoreArtifact} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public DriveRestoreArtifact patch(@jakarta.annotation.Nonnull final DriveRestoreArtifact body) { return patch(body, null); } @@ -101,8 +119,11 @@ public DriveRestoreArtifact patch(@jakarta.annotation.Nonnull final DriveRestore * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DriveRestoreArtifact} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public DriveRestoreArtifact patch(@jakarta.annotation.Nonnull final DriveRestoreArtifact body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -113,8 +134,11 @@ public DriveRestoreArtifact patch(@jakarta.annotation.Nonnull final DriveRestore /** * Delete navigation property driveRestoreArtifacts for solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -122,8 +146,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property driveRestoreArtifacts for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -133,8 +160,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * A collection of restore points and destination details that can be used to restore a OneDrive for work or school drive. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -142,8 +172,11 @@ public RequestInformation toGetRequestInformation() { * A collection of restore points and destination details that can be used to restore a OneDrive for work or school drive. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -154,8 +187,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property driveRestoreArtifacts in solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final DriveRestoreArtifact body) { return toPatchRequestInformation(body, null); } @@ -164,8 +200,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final DriveRestoreArtifact body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -178,8 +217,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link DriveRestoreArtifactItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public DriveRestoreArtifactItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new DriveRestoreArtifactItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessrestoresessions/item/driverestoreartifacts/item/restorepoint/RestorePointRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessrestoresessions/item/driverestoreartifacts/item/restorepoint/RestorePointRequestBuilder.java index 33e149367e6..1c026928625 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessrestoresessions/item/driverestoreartifacts/item/restorepoint/RestorePointRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessrestoresessions/item/driverestoreartifacts/item/restorepoint/RestorePointRequestBuilder.java @@ -40,8 +40,11 @@ public RestorePointRequestBuilder(@jakarta.annotation.Nonnull final String rawUr * Represents the date and time when an artifact is protected by a protectionPolicy and can be restored. * @return a {@link RestorePoint} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public RestorePoint get() { return get(null); } @@ -50,8 +53,11 @@ public RestorePoint get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RestorePoint} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public RestorePoint get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public RestorePoint get(@jakarta.annotation.Nullable final java.util.function.Co /** * Represents the date and time when an artifact is protected by a protectionPolicy and can be restored. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * Represents the date and time when an artifact is protected by a protectionPolicy and can be restored. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RestorePointRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RestorePointRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RestorePointRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessrestoresessions/item/driverestoreartifactsbulkadditionrequests/DriveRestoreArtifactsBulkAdditionRequestsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessrestoresessions/item/driverestoreartifactsbulkadditionrequests/DriveRestoreArtifactsBulkAdditionRequestsRequestBuilder.java index c4368de7523..0365c7f4b00 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessrestoresessions/item/driverestoreartifactsbulkadditionrequests/DriveRestoreArtifactsBulkAdditionRequestsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessrestoresessions/item/driverestoreartifactsbulkadditionrequests/DriveRestoreArtifactsBulkAdditionRequestsRequestBuilder.java @@ -26,7 +26,10 @@ public class DriveRestoreArtifactsBulkAdditionRequestsRequestBuilder extends Bas /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the driveRestoreArtifactsBulkAdditionRequests property of the microsoft.graph.oneDriveForBusinessRestoreSession entity. * @param driveRestoreArtifactsBulkAdditionRequestId The unique identifier of driveRestoreArtifactsBulkAdditionRequest * @return a {@link DriveRestoreArtifactsBulkAdditionRequestItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public DriveRestoreArtifactsBulkAdditionRequestItemRequestBuilder byDriveRestoreArtifactsBulkAdditionRequestId(@jakarta.annotation.Nonnull final String driveRestoreArtifactsBulkAdditionRequestId) { Objects.requireNonNull(driveRestoreArtifactsBulkAdditionRequestId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,9 +69,12 @@ public DriveRestoreArtifactsBulkAdditionRequestsRequestBuilder(@jakarta.annotati * Get a list of the driveRestoreArtifactsBulkAdditionRequest objects associated with a oneDriveForBusinessRestoreSession. The drives property is deliberately omitted from the response body in order to limit the response size. * @return a {@link DriveRestoreArtifactsBulkAdditionRequestCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public DriveRestoreArtifactsBulkAdditionRequestCollectionResponse get() { return get(null); } @@ -74,9 +83,12 @@ public DriveRestoreArtifactsBulkAdditionRequestCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DriveRestoreArtifactsBulkAdditionRequestCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public DriveRestoreArtifactsBulkAdditionRequestCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -88,9 +100,12 @@ public DriveRestoreArtifactsBulkAdditionRequestCollectionResponse get(@jakarta.a * @param body The request body * @return a {@link DriveRestoreArtifactsBulkAdditionRequest} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public DriveRestoreArtifactsBulkAdditionRequest post(@jakarta.annotation.Nonnull final DriveRestoreArtifactsBulkAdditionRequest body) { return post(body, null); } @@ -100,9 +115,12 @@ public DriveRestoreArtifactsBulkAdditionRequest post(@jakarta.annotation.Nonnull * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DriveRestoreArtifactsBulkAdditionRequest} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public DriveRestoreArtifactsBulkAdditionRequest post(@jakarta.annotation.Nonnull final DriveRestoreArtifactsBulkAdditionRequest body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -113,8 +131,11 @@ public DriveRestoreArtifactsBulkAdditionRequest post(@jakarta.annotation.Nonnull /** * Get a list of the driveRestoreArtifactsBulkAdditionRequest objects associated with a oneDriveForBusinessRestoreSession. The drives property is deliberately omitted from the response body in order to limit the response size. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -122,8 +143,11 @@ public RequestInformation toGetRequestInformation() { * Get a list of the driveRestoreArtifactsBulkAdditionRequest objects associated with a oneDriveForBusinessRestoreSession. The drives property is deliberately omitted from the response body in order to limit the response size. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -134,8 +158,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create a driveRestoreArtifactsBulkAdditionRequest object associated with a oneDriveForBusinessRestoreSession. The following steps describe how to create and manage a oneDriveForBusinessRestoreSession with bulk artifact additions. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DriveRestoreArtifactsBulkAdditionRequest body) { return toPostRequestInformation(body, null); } @@ -144,8 +171,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DriveRestoreArtifactsBulkAdditionRequest body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -158,8 +188,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link DriveRestoreArtifactsBulkAdditionRequestsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public DriveRestoreArtifactsBulkAdditionRequestsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new DriveRestoreArtifactsBulkAdditionRequestsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessrestoresessions/item/driverestoreartifactsbulkadditionrequests/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessrestoresessions/item/driverestoreartifactsbulkadditionrequests/count/CountRequestBuilder.java index 2e923e597b8..2baf6024ea1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessrestoresessions/item/driverestoreartifactsbulkadditionrequests/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessrestoresessions/item/driverestoreartifactsbulkadditionrequests/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessrestoresessions/item/driverestoreartifactsbulkadditionrequests/item/DriveRestoreArtifactsBulkAdditionRequestItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessrestoresessions/item/driverestoreartifactsbulkadditionrequests/item/DriveRestoreArtifactsBulkAdditionRequestItemRequestBuilder.java index 7e2aa17d8a0..0b82e27cc85 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessrestoresessions/item/driverestoreartifactsbulkadditionrequests/item/DriveRestoreArtifactsBulkAdditionRequestItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessrestoresessions/item/driverestoreartifactsbulkadditionrequests/item/DriveRestoreArtifactsBulkAdditionRequestItemRequestBuilder.java @@ -39,8 +39,11 @@ public DriveRestoreArtifactsBulkAdditionRequestItemRequestBuilder(@jakarta.annot /** * Delete a driveRestoreArtifactsBulkAdditionRequest object associated with a oneDriveForBusinessRestoreSession. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ + @Deprecated public void delete() { delete(null); } @@ -48,8 +51,11 @@ public void delete() { * Delete a driveRestoreArtifactsBulkAdditionRequest object associated with a oneDriveForBusinessRestoreSession. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,9 +66,12 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Get a driveRestoreArtifactsBulkAdditionRequest object by its id, associated with a oneDriveForBusinessRestoreSession. * @return a {@link DriveRestoreArtifactsBulkAdditionRequest} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public DriveRestoreArtifactsBulkAdditionRequest get() { return get(null); } @@ -71,9 +80,12 @@ public DriveRestoreArtifactsBulkAdditionRequest get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DriveRestoreArtifactsBulkAdditionRequest} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public DriveRestoreArtifactsBulkAdditionRequest get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -85,8 +97,11 @@ public DriveRestoreArtifactsBulkAdditionRequest get(@jakarta.annotation.Nullable * @param body The request body * @return a {@link DriveRestoreArtifactsBulkAdditionRequest} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public DriveRestoreArtifactsBulkAdditionRequest patch(@jakarta.annotation.Nonnull final DriveRestoreArtifactsBulkAdditionRequest body) { return patch(body, null); } @@ -96,8 +111,11 @@ public DriveRestoreArtifactsBulkAdditionRequest patch(@jakarta.annotation.Nonnul * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DriveRestoreArtifactsBulkAdditionRequest} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public DriveRestoreArtifactsBulkAdditionRequest patch(@jakarta.annotation.Nonnull final DriveRestoreArtifactsBulkAdditionRequest body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -108,8 +126,11 @@ public DriveRestoreArtifactsBulkAdditionRequest patch(@jakarta.annotation.Nonnul /** * Delete a driveRestoreArtifactsBulkAdditionRequest object associated with a oneDriveForBusinessRestoreSession. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -117,8 +138,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete a driveRestoreArtifactsBulkAdditionRequest object associated with a oneDriveForBusinessRestoreSession. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -128,8 +152,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Get a driveRestoreArtifactsBulkAdditionRequest object by its id, associated with a oneDriveForBusinessRestoreSession. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -137,8 +164,11 @@ public RequestInformation toGetRequestInformation() { * Get a driveRestoreArtifactsBulkAdditionRequest object by its id, associated with a oneDriveForBusinessRestoreSession. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -149,8 +179,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property driveRestoreArtifactsBulkAdditionRequests in solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final DriveRestoreArtifactsBulkAdditionRequest body) { return toPatchRequestInformation(body, null); } @@ -159,8 +192,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final DriveRestoreArtifactsBulkAdditionRequest body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -173,8 +209,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link DriveRestoreArtifactsBulkAdditionRequestItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public DriveRestoreArtifactsBulkAdditionRequestItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new DriveRestoreArtifactsBulkAdditionRequestItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessrestoresessions/item/granulardriverestoreartifacts/GranularDriveRestoreArtifactsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessrestoresessions/item/granulardriverestoreartifacts/GranularDriveRestoreArtifactsRequestBuilder.java index 2c06e784e21..ffc199c8356 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessrestoresessions/item/granulardriverestoreartifacts/GranularDriveRestoreArtifactsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessrestoresessions/item/granulardriverestoreartifacts/GranularDriveRestoreArtifactsRequestBuilder.java @@ -26,7 +26,10 @@ public class GranularDriveRestoreArtifactsRequestBuilder extends BaseRequestBuil /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the granularDriveRestoreArtifacts property of the microsoft.graph.oneDriveForBusinessRestoreSession entity. * @param granularDriveRestoreArtifactId The unique identifier of granularDriveRestoreArtifact * @return a {@link GranularDriveRestoreArtifactItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public GranularDriveRestoreArtifactItemRequestBuilder byGranularDriveRestoreArtifactId(@jakarta.annotation.Nonnull final String granularDriveRestoreArtifactId) { Objects.requireNonNull(granularDriveRestoreArtifactId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,9 +69,12 @@ public GranularDriveRestoreArtifactsRequestBuilder(@jakarta.annotation.Nonnull f * Get a list of the granularDriveRestoreArtifact objects and their properties. * @return a {@link GranularDriveRestoreArtifactCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public GranularDriveRestoreArtifactCollectionResponse get() { return get(null); } @@ -74,9 +83,12 @@ public GranularDriveRestoreArtifactCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GranularDriveRestoreArtifactCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public GranularDriveRestoreArtifactCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -88,8 +100,11 @@ public GranularDriveRestoreArtifactCollectionResponse get(@jakarta.annotation.Nu * @param body The request body * @return a {@link GranularDriveRestoreArtifact} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public GranularDriveRestoreArtifact post(@jakarta.annotation.Nonnull final GranularDriveRestoreArtifact body) { return post(body, null); } @@ -99,8 +114,11 @@ public GranularDriveRestoreArtifact post(@jakarta.annotation.Nonnull final Granu * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GranularDriveRestoreArtifact} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public GranularDriveRestoreArtifact post(@jakarta.annotation.Nonnull final GranularDriveRestoreArtifact body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -111,8 +129,11 @@ public GranularDriveRestoreArtifact post(@jakarta.annotation.Nonnull final Granu /** * Get a list of the granularDriveRestoreArtifact objects and their properties. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -120,8 +141,11 @@ public RequestInformation toGetRequestInformation() { * Get a list of the granularDriveRestoreArtifact objects and their properties. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -132,8 +156,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to granularDriveRestoreArtifacts for solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GranularDriveRestoreArtifact body) { return toPostRequestInformation(body, null); } @@ -142,8 +169,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GranularDriveRestoreArtifact body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -156,8 +186,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link GranularDriveRestoreArtifactsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public GranularDriveRestoreArtifactsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new GranularDriveRestoreArtifactsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessrestoresessions/item/granulardriverestoreartifacts/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessrestoresessions/item/granulardriverestoreartifacts/count/CountRequestBuilder.java index 708c6b1bb73..290b0fe1516 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessrestoresessions/item/granulardriverestoreartifacts/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessrestoresessions/item/granulardriverestoreartifacts/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessrestoresessions/item/granulardriverestoreartifacts/item/GranularDriveRestoreArtifactItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessrestoresessions/item/granulardriverestoreartifacts/item/GranularDriveRestoreArtifactItemRequestBuilder.java index 0339d876cc0..9c841d36140 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessrestoresessions/item/granulardriverestoreartifacts/item/GranularDriveRestoreArtifactItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/onedriveforbusinessrestoresessions/item/granulardriverestoreartifacts/item/GranularDriveRestoreArtifactItemRequestBuilder.java @@ -39,7 +39,10 @@ public GranularDriveRestoreArtifactItemRequestBuilder(@jakarta.annotation.Nonnul /** * Delete navigation property granularDriveRestoreArtifacts for solutions * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete() { delete(null); } @@ -47,7 +50,10 @@ public void delete() { * Delete navigation property granularDriveRestoreArtifacts for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -58,8 +64,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * A collection of browse session id and item key details that can be used to restore OneDrive for work or school files and folders. * @return a {@link GranularDriveRestoreArtifact} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public GranularDriveRestoreArtifact get() { return get(null); } @@ -68,8 +77,11 @@ public GranularDriveRestoreArtifact get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GranularDriveRestoreArtifact} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public GranularDriveRestoreArtifact get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -81,8 +93,11 @@ public GranularDriveRestoreArtifact get(@jakarta.annotation.Nullable final java. * @param body The request body * @return a {@link GranularDriveRestoreArtifact} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public GranularDriveRestoreArtifact patch(@jakarta.annotation.Nonnull final GranularDriveRestoreArtifact body) { return patch(body, null); } @@ -92,8 +107,11 @@ public GranularDriveRestoreArtifact patch(@jakarta.annotation.Nonnull final Gran * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GranularDriveRestoreArtifact} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public GranularDriveRestoreArtifact patch(@jakarta.annotation.Nonnull final GranularDriveRestoreArtifact body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -104,8 +122,11 @@ public GranularDriveRestoreArtifact patch(@jakarta.annotation.Nonnull final Gran /** * Delete navigation property granularDriveRestoreArtifacts for solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -113,8 +134,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property granularDriveRestoreArtifacts for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * A collection of browse session id and item key details that can be used to restore OneDrive for work or school files and folders. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -133,8 +160,11 @@ public RequestInformation toGetRequestInformation() { * A collection of browse session id and item key details that can be used to restore OneDrive for work or school files and folders. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -145,8 +175,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property granularDriveRestoreArtifacts in solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final GranularDriveRestoreArtifact body) { return toPatchRequestInformation(body, null); } @@ -155,8 +188,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final GranularDriveRestoreArtifact body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -169,8 +205,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link GranularDriveRestoreArtifactItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public GranularDriveRestoreArtifactItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new GranularDriveRestoreArtifactItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/protectionpolicies/ProtectionPoliciesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/protectionpolicies/ProtectionPoliciesRequestBuilder.java index 0a3c82c06b3..a8c5f081c53 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/protectionpolicies/ProtectionPoliciesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/protectionpolicies/ProtectionPoliciesRequestBuilder.java @@ -26,7 +26,10 @@ public class ProtectionPoliciesRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the protectionPolicies property of the microsoft.graph.backupRestoreRoot entity. * @param protectionPolicyBaseId The unique identifier of protectionPolicyBase * @return a {@link ProtectionPolicyBaseItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public ProtectionPolicyBaseItemRequestBuilder byProtectionPolicyBaseId(@jakarta.annotation.Nonnull final String protectionPolicyBaseId) { Objects.requireNonNull(protectionPolicyBaseId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public ProtectionPoliciesRequestBuilder(@jakarta.annotation.Nonnull final String * List of protection policies in the tenant. * @return a {@link ProtectionPolicyBaseCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public ProtectionPolicyBaseCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public ProtectionPolicyBaseCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ProtectionPolicyBaseCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public ProtectionPolicyBaseCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public ProtectionPolicyBaseCollectionResponse get(@jakarta.annotation.Nullable f * @param body The request body * @return a {@link ProtectionPolicyBase} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public ProtectionPolicyBase post(@jakarta.annotation.Nonnull final ProtectionPolicyBase body) { return post(body, null); } @@ -97,8 +112,11 @@ public ProtectionPolicyBase post(@jakarta.annotation.Nonnull final ProtectionPol * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ProtectionPolicyBase} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public ProtectionPolicyBase post(@jakarta.annotation.Nonnull final ProtectionPolicyBase body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public ProtectionPolicyBase post(@jakarta.annotation.Nonnull final ProtectionPol /** * List of protection policies in the tenant. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * List of protection policies in the tenant. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to protectionPolicies for solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ProtectionPolicyBase body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ProtectionPolicyBase body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ProtectionPoliciesRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public ProtectionPoliciesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ProtectionPoliciesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/protectionpolicies/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/protectionpolicies/count/CountRequestBuilder.java index 7570acc344b..7104ed6faad 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/protectionpolicies/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/protectionpolicies/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/protectionpolicies/item/ProtectionPolicyBaseItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/protectionpolicies/item/ProtectionPolicyBaseItemRequestBuilder.java index 589e4a51d2b..25476518209 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/protectionpolicies/item/ProtectionPolicyBaseItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/protectionpolicies/item/ProtectionPolicyBaseItemRequestBuilder.java @@ -25,7 +25,10 @@ public class ProtectionPolicyBaseItemRequestBuilder extends BaseRequestBuilder { /** * Provides operations to call the activate method. * @return a {@link ActivateRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public ActivateRequestBuilder activate() { return new ActivateRequestBuilder(pathParameters, requestAdapter); @@ -33,7 +36,10 @@ public ActivateRequestBuilder activate() { /** * Provides operations to call the deactivate method. * @return a {@link DeactivateRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public DeactivateRequestBuilder deactivate() { return new DeactivateRequestBuilder(pathParameters, requestAdapter); @@ -57,8 +63,11 @@ public ProtectionPolicyBaseItemRequestBuilder(@jakarta.annotation.Nonnull final /** * Delete a protectionPolicyBase object. A protection policy can be deleted only after it was deactivated. When you delete a policy, all associated protection units are removed, and backup protection stops for the resources previously covered by the policy. Existing backup data is retained according to the retention policy before it's offboarded. You can restore data using previous restore points even after deletion. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ + @Deprecated public void delete() { delete(null); } @@ -66,8 +75,11 @@ public void delete() { * Delete a protectionPolicyBase object. A protection policy can be deleted only after it was deactivated. When you delete a policy, all associated protection units are removed, and backup protection stops for the resources previously covered by the policy. Existing backup data is retained according to the retention policy before it's offboarded. You can restore data using previous restore points even after deletion. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -78,8 +90,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * List of protection policies in the tenant. * @return a {@link ProtectionPolicyBase} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public ProtectionPolicyBase get() { return get(null); } @@ -88,8 +103,11 @@ public ProtectionPolicyBase get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ProtectionPolicyBase} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public ProtectionPolicyBase get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -101,8 +119,11 @@ public ProtectionPolicyBase get(@jakarta.annotation.Nullable final java.util.fun * @param body The request body * @return a {@link ProtectionPolicyBase} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public ProtectionPolicyBase patch(@jakarta.annotation.Nonnull final ProtectionPolicyBase body) { return patch(body, null); } @@ -112,8 +133,11 @@ public ProtectionPolicyBase patch(@jakarta.annotation.Nonnull final ProtectionPo * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ProtectionPolicyBase} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public ProtectionPolicyBase patch(@jakarta.annotation.Nonnull final ProtectionPolicyBase body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -124,8 +148,11 @@ public ProtectionPolicyBase patch(@jakarta.annotation.Nonnull final ProtectionPo /** * Delete a protectionPolicyBase object. A protection policy can be deleted only after it was deactivated. When you delete a policy, all associated protection units are removed, and backup protection stops for the resources previously covered by the policy. Existing backup data is retained according to the retention policy before it's offboarded. You can restore data using previous restore points even after deletion. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -133,8 +160,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete a protectionPolicyBase object. A protection policy can be deleted only after it was deactivated. When you delete a policy, all associated protection units are removed, and backup protection stops for the resources previously covered by the policy. Existing backup data is retained according to the retention policy before it's offboarded. You can restore data using previous restore points even after deletion. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -144,8 +174,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * List of protection policies in the tenant. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -153,8 +186,11 @@ public RequestInformation toGetRequestInformation() { * List of protection policies in the tenant. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -165,8 +201,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property protectionPolicies in solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final ProtectionPolicyBase body) { return toPatchRequestInformation(body, null); } @@ -175,8 +214,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final ProtectionPolicyBase body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -189,8 +231,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ProtectionPolicyBaseItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public ProtectionPolicyBaseItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ProtectionPolicyBaseItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/protectionpolicies/item/activate/ActivateRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/protectionpolicies/item/activate/ActivateRequestBuilder.java index 7c489d33827..5b1b30851cb 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/protectionpolicies/item/activate/ActivateRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/protectionpolicies/item/activate/ActivateRequestBuilder.java @@ -39,9 +39,12 @@ public ActivateRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ * Activate a protectionPolicyBase. Currently, only one active backup policy per underlying service is supported (that is, one for OneDrive accounts, one for SharePoint sites, and one for Exchange Online users). You can add or remove artifacts (sites or user accounts) to or from each active policy. * @return a {@link ProtectionPolicyBase} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public ProtectionPolicyBase post() { return post(null); } @@ -50,9 +53,12 @@ public ProtectionPolicyBase post() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ProtectionPolicyBase} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public ProtectionPolicyBase post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -62,8 +68,11 @@ public ProtectionPolicyBase post(@jakarta.annotation.Nullable final java.util.fu /** * Activate a protectionPolicyBase. Currently, only one active backup policy per underlying service is supported (that is, one for OneDrive accounts, one for SharePoint sites, and one for Exchange Online users). You can add or remove artifacts (sites or user accounts) to or from each active policy. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation() { * Activate a protectionPolicyBase. Currently, only one active backup policy per underlying service is supported (that is, one for OneDrive accounts, one for SharePoint sites, and one for Exchange Online users). You can add or remove artifacts (sites or user accounts) to or from each active policy. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -83,8 +95,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ActivateRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public ActivateRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ActivateRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/protectionpolicies/item/deactivate/DeactivateRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/protectionpolicies/item/deactivate/DeactivateRequestBuilder.java index 602d988adf2..6baa65fca69 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/protectionpolicies/item/deactivate/DeactivateRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/protectionpolicies/item/deactivate/DeactivateRequestBuilder.java @@ -39,9 +39,12 @@ public DeactivateRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, * Deactivate a protectionPolicyBase. When a protection policy is deactivated, backup activity stops immediately, no new backups are taken, and the protected resources are no longer covered by the policy. Any backups taken before deactivation are retained according to the retention policy, after which they're offboarded. You can restore data using previous restore points even after deactivation. To reactivate a deactivated policy, use the activate API. * @return a {@link ProtectionPolicyBase} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public ProtectionPolicyBase post() { return post(null); } @@ -50,9 +53,12 @@ public ProtectionPolicyBase post() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ProtectionPolicyBase} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public ProtectionPolicyBase post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -62,8 +68,11 @@ public ProtectionPolicyBase post(@jakarta.annotation.Nullable final java.util.fu /** * Deactivate a protectionPolicyBase. When a protection policy is deactivated, backup activity stops immediately, no new backups are taken, and the protected resources are no longer covered by the policy. Any backups taken before deactivation are retained according to the retention policy, after which they're offboarded. You can restore data using previous restore points even after deactivation. To reactivate a deactivated policy, use the activate API. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation() { * Deactivate a protectionPolicyBase. When a protection policy is deactivated, backup activity stops immediately, no new backups are taken, and the protected resources are no longer covered by the policy. Any backups taken before deactivation are retained according to the retention policy, after which they're offboarded. You can restore data using previous restore points even after deactivation. To reactivate a deactivated policy, use the activate API. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -83,8 +95,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link DeactivateRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public DeactivateRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new DeactivateRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/protectionunits/ProtectionUnitsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/protectionunits/ProtectionUnitsRequestBuilder.java index a69f4043d96..03c64f142ae 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/protectionunits/ProtectionUnitsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/protectionunits/ProtectionUnitsRequestBuilder.java @@ -28,7 +28,10 @@ public class ProtectionUnitsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -36,7 +39,10 @@ public CountRequestBuilder count() { /** * Casts the previous resource to driveProtectionUnit. * @return a {@link GraphDriveProtectionUnitRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public GraphDriveProtectionUnitRequestBuilder graphDriveProtectionUnit() { return new GraphDriveProtectionUnitRequestBuilder(pathParameters, requestAdapter); @@ -44,7 +50,10 @@ public GraphDriveProtectionUnitRequestBuilder graphDriveProtectionUnit() { /** * Casts the previous resource to mailboxProtectionUnit. * @return a {@link GraphMailboxProtectionUnitRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public GraphMailboxProtectionUnitRequestBuilder graphMailboxProtectionUnit() { return new GraphMailboxProtectionUnitRequestBuilder(pathParameters, requestAdapter); @@ -52,7 +61,10 @@ public GraphMailboxProtectionUnitRequestBuilder graphMailboxProtectionUnit() { /** * Casts the previous resource to siteProtectionUnit. * @return a {@link GraphSiteProtectionUnitRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public GraphSiteProtectionUnitRequestBuilder graphSiteProtectionUnit() { return new GraphSiteProtectionUnitRequestBuilder(pathParameters, requestAdapter); @@ -61,8 +73,11 @@ public GraphSiteProtectionUnitRequestBuilder graphSiteProtectionUnit() { * Provides operations to manage the protectionUnits property of the microsoft.graph.backupRestoreRoot entity. * @param protectionUnitBaseId The unique identifier of protectionUnitBase * @return a {@link ProtectionUnitBaseItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public ProtectionUnitBaseItemRequestBuilder byProtectionUnitBaseId(@jakarta.annotation.Nonnull final String protectionUnitBaseId) { Objects.requireNonNull(protectionUnitBaseId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -89,8 +104,11 @@ public ProtectionUnitsRequestBuilder(@jakarta.annotation.Nonnull final String ra * Read the properties and relationships of a protectionUnitBase object. * @return a {@link ProtectionUnitBaseCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public ProtectionUnitBaseCollectionResponse get() { return get(null); } @@ -99,8 +117,11 @@ public ProtectionUnitBaseCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ProtectionUnitBaseCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public ProtectionUnitBaseCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -110,8 +131,11 @@ public ProtectionUnitBaseCollectionResponse get(@jakarta.annotation.Nullable fin /** * Read the properties and relationships of a protectionUnitBase object. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -119,8 +143,11 @@ public RequestInformation toGetRequestInformation() { * Read the properties and relationships of a protectionUnitBase object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -131,8 +158,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ProtectionUnitsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public ProtectionUnitsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ProtectionUnitsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/protectionunits/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/protectionunits/count/CountRequestBuilder.java index 438edd7e629..33e7e833ba9 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/protectionunits/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/protectionunits/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/protectionunits/graphdriveprotectionunit/GraphDriveProtectionUnitRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/protectionunits/graphdriveprotectionunit/GraphDriveProtectionUnitRequestBuilder.java index 8b18502bc98..ef0e9330590 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/protectionunits/graphdriveprotectionunit/GraphDriveProtectionUnitRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/protectionunits/graphdriveprotectionunit/GraphDriveProtectionUnitRequestBuilder.java @@ -24,7 +24,10 @@ public class GraphDriveProtectionUnitRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -49,9 +52,12 @@ public GraphDriveProtectionUnitRequestBuilder(@jakarta.annotation.Nonnull final * Get a list of the driveProtectionUnit objects that are associated with a oneDriveForBusinessProtectionPolicy. * @return a {@link DriveProtectionUnitCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public DriveProtectionUnitCollectionResponse get() { return get(null); } @@ -60,9 +66,12 @@ public DriveProtectionUnitCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DriveProtectionUnitCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public DriveProtectionUnitCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -72,8 +81,11 @@ public DriveProtectionUnitCollectionResponse get(@jakarta.annotation.Nullable fi /** * Get a list of the driveProtectionUnit objects that are associated with a oneDriveForBusinessProtectionPolicy. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation() { * Get a list of the driveProtectionUnit objects that are associated with a oneDriveForBusinessProtectionPolicy. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -93,8 +108,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link GraphDriveProtectionUnitRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public GraphDriveProtectionUnitRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new GraphDriveProtectionUnitRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/protectionunits/graphdriveprotectionunit/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/protectionunits/graphdriveprotectionunit/count/CountRequestBuilder.java index bfd4287b7ae..c50fc5cd76c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/protectionunits/graphdriveprotectionunit/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/protectionunits/graphdriveprotectionunit/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/protectionunits/graphmailboxprotectionunit/GraphMailboxProtectionUnitRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/protectionunits/graphmailboxprotectionunit/GraphMailboxProtectionUnitRequestBuilder.java index f8714106d29..0e004e70392 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/protectionunits/graphmailboxprotectionunit/GraphMailboxProtectionUnitRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/protectionunits/graphmailboxprotectionunit/GraphMailboxProtectionUnitRequestBuilder.java @@ -24,7 +24,10 @@ public class GraphMailboxProtectionUnitRequestBuilder extends BaseRequestBuilder /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -49,9 +52,12 @@ public GraphMailboxProtectionUnitRequestBuilder(@jakarta.annotation.Nonnull fina * Get a list of mailboxProtectionUnit objects. * @return a {@link MailboxProtectionUnitCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public MailboxProtectionUnitCollectionResponse get() { return get(null); } @@ -60,9 +66,12 @@ public MailboxProtectionUnitCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MailboxProtectionUnitCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public MailboxProtectionUnitCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -72,8 +81,11 @@ public MailboxProtectionUnitCollectionResponse get(@jakarta.annotation.Nullable /** * Get a list of mailboxProtectionUnit objects. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation() { * Get a list of mailboxProtectionUnit objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -93,8 +108,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link GraphMailboxProtectionUnitRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public GraphMailboxProtectionUnitRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new GraphMailboxProtectionUnitRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/protectionunits/graphmailboxprotectionunit/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/protectionunits/graphmailboxprotectionunit/count/CountRequestBuilder.java index 79b6da972dd..8ca887394b6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/protectionunits/graphmailboxprotectionunit/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/protectionunits/graphmailboxprotectionunit/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/protectionunits/graphsiteprotectionunit/GraphSiteProtectionUnitRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/protectionunits/graphsiteprotectionunit/GraphSiteProtectionUnitRequestBuilder.java index bb2422e5950..26437d57609 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/protectionunits/graphsiteprotectionunit/GraphSiteProtectionUnitRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/protectionunits/graphsiteprotectionunit/GraphSiteProtectionUnitRequestBuilder.java @@ -24,7 +24,10 @@ public class GraphSiteProtectionUnitRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -49,9 +52,12 @@ public GraphSiteProtectionUnitRequestBuilder(@jakarta.annotation.Nonnull final S * Get a list of the siteProtectionUnit objects that are associated with a sharePointProtectionPolicy. * @return a {@link SiteProtectionUnitCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public SiteProtectionUnitCollectionResponse get() { return get(null); } @@ -60,9 +66,12 @@ public SiteProtectionUnitCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SiteProtectionUnitCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public SiteProtectionUnitCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -72,8 +81,11 @@ public SiteProtectionUnitCollectionResponse get(@jakarta.annotation.Nullable fin /** * Get a list of the siteProtectionUnit objects that are associated with a sharePointProtectionPolicy. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation() { * Get a list of the siteProtectionUnit objects that are associated with a sharePointProtectionPolicy. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -93,8 +108,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link GraphSiteProtectionUnitRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public GraphSiteProtectionUnitRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new GraphSiteProtectionUnitRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/protectionunits/graphsiteprotectionunit/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/protectionunits/graphsiteprotectionunit/count/CountRequestBuilder.java index 35ca536ee68..2c98a0db3e7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/protectionunits/graphsiteprotectionunit/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/protectionunits/graphsiteprotectionunit/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/protectionunits/item/ProtectionUnitBaseItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/protectionunits/item/ProtectionUnitBaseItemRequestBuilder.java index 5c2aca52f2d..0e4118c352f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/protectionunits/item/ProtectionUnitBaseItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/protectionunits/item/ProtectionUnitBaseItemRequestBuilder.java @@ -28,7 +28,10 @@ public class ProtectionUnitBaseItemRequestBuilder extends BaseRequestBuilder { /** * Provides operations to call the cancelOffboard method. * @return a {@link CancelOffboardRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CancelOffboardRequestBuilder cancelOffboard() { return new CancelOffboardRequestBuilder(pathParameters, requestAdapter); @@ -36,7 +39,10 @@ public CancelOffboardRequestBuilder cancelOffboard() { /** * Casts the previous resource to driveProtectionUnit. * @return a {@link GraphDriveProtectionUnitRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public GraphDriveProtectionUnitRequestBuilder graphDriveProtectionUnit() { return new GraphDriveProtectionUnitRequestBuilder(pathParameters, requestAdapter); @@ -44,7 +50,10 @@ public GraphDriveProtectionUnitRequestBuilder graphDriveProtectionUnit() { /** * Casts the previous resource to mailboxProtectionUnit. * @return a {@link GraphMailboxProtectionUnitRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public GraphMailboxProtectionUnitRequestBuilder graphMailboxProtectionUnit() { return new GraphMailboxProtectionUnitRequestBuilder(pathParameters, requestAdapter); @@ -52,7 +61,10 @@ public GraphMailboxProtectionUnitRequestBuilder graphMailboxProtectionUnit() { /** * Casts the previous resource to siteProtectionUnit. * @return a {@link GraphSiteProtectionUnitRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public GraphSiteProtectionUnitRequestBuilder graphSiteProtectionUnit() { return new GraphSiteProtectionUnitRequestBuilder(pathParameters, requestAdapter); @@ -60,7 +72,10 @@ public GraphSiteProtectionUnitRequestBuilder graphSiteProtectionUnit() { /** * Provides operations to call the offboard method. * @return a {@link OffboardRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public OffboardRequestBuilder offboard() { return new OffboardRequestBuilder(pathParameters, requestAdapter); @@ -85,9 +100,12 @@ public ProtectionUnitBaseItemRequestBuilder(@jakarta.annotation.Nonnull final St * Read the properties and relationships of a protectionUnitBase object. * @return a {@link ProtectionUnitBase} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public ProtectionUnitBase get() { return get(null); } @@ -96,9 +114,12 @@ public ProtectionUnitBase get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ProtectionUnitBase} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public ProtectionUnitBase get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -108,8 +129,11 @@ public ProtectionUnitBase get(@jakarta.annotation.Nullable final java.util.funct /** * Read the properties and relationships of a protectionUnitBase object. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -117,8 +141,11 @@ public RequestInformation toGetRequestInformation() { * Read the properties and relationships of a protectionUnitBase object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -129,8 +156,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ProtectionUnitBaseItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public ProtectionUnitBaseItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ProtectionUnitBaseItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/protectionunits/item/canceloffboard/CancelOffboardRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/protectionunits/item/canceloffboard/CancelOffboardRequestBuilder.java index b8f3d9aabe6..e0f6c93ac59 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/protectionunits/item/canceloffboard/CancelOffboardRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/protectionunits/item/canceloffboard/CancelOffboardRequestBuilder.java @@ -39,9 +39,12 @@ public CancelOffboardRequestBuilder(@jakarta.annotation.Nonnull final String raw * Cancel the offboarding of a protectionUnitBase. * @return a {@link ProtectionUnitBase} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public ProtectionUnitBase post() { return post(null); } @@ -50,9 +53,12 @@ public ProtectionUnitBase post() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ProtectionUnitBase} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public ProtectionUnitBase post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -62,8 +68,11 @@ public ProtectionUnitBase post(@jakarta.annotation.Nullable final java.util.func /** * Cancel the offboarding of a protectionUnitBase. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation() { * Cancel the offboarding of a protectionUnitBase. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -83,8 +95,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CancelOffboardRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CancelOffboardRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CancelOffboardRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/protectionunits/item/graphdriveprotectionunit/GraphDriveProtectionUnitRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/protectionunits/item/graphdriveprotectionunit/GraphDriveProtectionUnitRequestBuilder.java index c9929ef8ebc..eb9cd7340fd 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/protectionunits/item/graphdriveprotectionunit/GraphDriveProtectionUnitRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/protectionunits/item/graphdriveprotectionunit/GraphDriveProtectionUnitRequestBuilder.java @@ -40,9 +40,12 @@ public GraphDriveProtectionUnitRequestBuilder(@jakarta.annotation.Nonnull final * Get a list of the driveProtectionUnit objects that are associated with a oneDriveForBusinessProtectionPolicy. * @return a {@link DriveProtectionUnit} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public DriveProtectionUnit get() { return get(null); } @@ -51,9 +54,12 @@ public DriveProtectionUnit get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DriveProtectionUnit} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public DriveProtectionUnit get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -63,8 +69,11 @@ public DriveProtectionUnit get(@jakarta.annotation.Nullable final java.util.func /** * Get a list of the driveProtectionUnit objects that are associated with a oneDriveForBusinessProtectionPolicy. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -72,8 +81,11 @@ public RequestInformation toGetRequestInformation() { * Get a list of the driveProtectionUnit objects that are associated with a oneDriveForBusinessProtectionPolicy. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -84,8 +96,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link GraphDriveProtectionUnitRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public GraphDriveProtectionUnitRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new GraphDriveProtectionUnitRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/protectionunits/item/graphmailboxprotectionunit/GraphMailboxProtectionUnitRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/protectionunits/item/graphmailboxprotectionunit/GraphMailboxProtectionUnitRequestBuilder.java index 5552eb5f1da..6a925f52ca9 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/protectionunits/item/graphmailboxprotectionunit/GraphMailboxProtectionUnitRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/protectionunits/item/graphmailboxprotectionunit/GraphMailboxProtectionUnitRequestBuilder.java @@ -40,9 +40,12 @@ public GraphMailboxProtectionUnitRequestBuilder(@jakarta.annotation.Nonnull fina * Get a list of mailboxProtectionUnit objects. * @return a {@link MailboxProtectionUnit} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public MailboxProtectionUnit get() { return get(null); } @@ -51,9 +54,12 @@ public MailboxProtectionUnit get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MailboxProtectionUnit} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public MailboxProtectionUnit get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -63,8 +69,11 @@ public MailboxProtectionUnit get(@jakarta.annotation.Nullable final java.util.fu /** * Get a list of mailboxProtectionUnit objects. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -72,8 +81,11 @@ public RequestInformation toGetRequestInformation() { * Get a list of mailboxProtectionUnit objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -84,8 +96,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link GraphMailboxProtectionUnitRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public GraphMailboxProtectionUnitRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new GraphMailboxProtectionUnitRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/protectionunits/item/graphsiteprotectionunit/GraphSiteProtectionUnitRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/protectionunits/item/graphsiteprotectionunit/GraphSiteProtectionUnitRequestBuilder.java index 76313c3062d..53390794b3a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/protectionunits/item/graphsiteprotectionunit/GraphSiteProtectionUnitRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/protectionunits/item/graphsiteprotectionunit/GraphSiteProtectionUnitRequestBuilder.java @@ -40,9 +40,12 @@ public GraphSiteProtectionUnitRequestBuilder(@jakarta.annotation.Nonnull final S * Get a list of the siteProtectionUnit objects that are associated with a sharePointProtectionPolicy. * @return a {@link SiteProtectionUnit} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public SiteProtectionUnit get() { return get(null); } @@ -51,9 +54,12 @@ public SiteProtectionUnit get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SiteProtectionUnit} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public SiteProtectionUnit get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -63,8 +69,11 @@ public SiteProtectionUnit get(@jakarta.annotation.Nullable final java.util.funct /** * Get a list of the siteProtectionUnit objects that are associated with a sharePointProtectionPolicy. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -72,8 +81,11 @@ public RequestInformation toGetRequestInformation() { * Get a list of the siteProtectionUnit objects that are associated with a sharePointProtectionPolicy. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -84,8 +96,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link GraphSiteProtectionUnitRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public GraphSiteProtectionUnitRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new GraphSiteProtectionUnitRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/protectionunits/item/offboard/OffboardRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/protectionunits/item/offboard/OffboardRequestBuilder.java index ed1850eb15e..deec30708c9 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/protectionunits/item/offboard/OffboardRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/protectionunits/item/offboard/OffboardRequestBuilder.java @@ -39,9 +39,12 @@ public OffboardRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ * Offboard a protectionUnitBase. * @return a {@link ProtectionUnitBase} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public ProtectionUnitBase post() { return post(null); } @@ -50,9 +53,12 @@ public ProtectionUnitBase post() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ProtectionUnitBase} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public ProtectionUnitBase post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -62,8 +68,11 @@ public ProtectionUnitBase post(@jakarta.annotation.Nullable final java.util.func /** * Offboard a protectionUnitBase. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation() { * Offboard a protectionUnitBase. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -83,8 +95,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link OffboardRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public OffboardRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new OffboardRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/reports/ReportsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/reports/ReportsRequestBuilder.java index e9da81c85e6..ec65847f5ae 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/reports/ReportsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/reports/ReportsRequestBuilder.java @@ -40,7 +40,10 @@ public ReportsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j /** * Delete navigation property reports for solutions * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete() { delete(null); } @@ -48,7 +51,10 @@ public void delete() { * Delete navigation property reports for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -59,8 +65,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Get reports from solutions * @return a {@link BackupReport} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public BackupReport get() { return get(null); } @@ -69,8 +78,11 @@ public BackupReport get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link BackupReport} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public BackupReport get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -81,8 +93,11 @@ public BackupReport get(@jakarta.annotation.Nullable final java.util.function.Co * Provides operations to call the getStatisticsByPolicy method. * @param policyId Usage: policyId='{policyId}' * @return a {@link GetStatisticsByPolicyWithPolicyIdRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public GetStatisticsByPolicyWithPolicyIdRequestBuilder getStatisticsByPolicyWithPolicyId(@jakarta.annotation.Nonnull final String policyId) { Objects.requireNonNull(policyId); return new GetStatisticsByPolicyWithPolicyIdRequestBuilder(pathParameters, requestAdapter, policyId); @@ -92,8 +107,11 @@ public GetStatisticsByPolicyWithPolicyIdRequestBuilder getStatisticsByPolicyWith * @param body The request body * @return a {@link BackupReport} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public BackupReport patch(@jakarta.annotation.Nonnull final BackupReport body) { return patch(body, null); } @@ -103,8 +121,11 @@ public BackupReport patch(@jakarta.annotation.Nonnull final BackupReport body) { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link BackupReport} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public BackupReport patch(@jakarta.annotation.Nonnull final BackupReport body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -115,8 +136,11 @@ public BackupReport patch(@jakarta.annotation.Nonnull final BackupReport body, @ /** * Delete navigation property reports for solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property reports for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -135,8 +162,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Get reports from solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -144,8 +174,11 @@ public RequestInformation toGetRequestInformation() { * Get reports from solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -156,8 +189,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property reports in solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final BackupReport body) { return toPatchRequestInformation(body, null); } @@ -166,8 +202,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final BackupReport body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -180,8 +219,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ReportsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public ReportsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ReportsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/reports/getstatisticsbypolicywithpolicyid/GetStatisticsByPolicyWithPolicyIdRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/reports/getstatisticsbypolicywithpolicyid/GetStatisticsByPolicyWithPolicyIdRequestBuilder.java index 78392f10162..2ffc998ad57 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/reports/getstatisticsbypolicywithpolicyid/GetStatisticsByPolicyWithPolicyIdRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/reports/getstatisticsbypolicywithpolicyid/GetStatisticsByPolicyWithPolicyIdRequestBuilder.java @@ -41,8 +41,11 @@ public GetStatisticsByPolicyWithPolicyIdRequestBuilder(@jakarta.annotation.Nonnu * Invoke function getStatisticsByPolicy * @return a {@link BackupPolicyReport} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public BackupPolicyReport get() { return get(null); } @@ -51,8 +54,11 @@ public BackupPolicyReport get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link BackupPolicyReport} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public BackupPolicyReport get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -62,8 +68,11 @@ public BackupPolicyReport get(@jakarta.annotation.Nullable final java.util.funct /** * Invoke function getStatisticsByPolicy * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -71,8 +80,11 @@ public RequestInformation toGetRequestInformation() { * Invoke function getStatisticsByPolicy * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new); @@ -83,8 +95,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link GetStatisticsByPolicyWithPolicyIdRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public GetStatisticsByPolicyWithPolicyIdRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new GetStatisticsByPolicyWithPolicyIdRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/restorepoints/RestorePointsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/restorepoints/RestorePointsRequestBuilder.java index 6d836881e5d..e3e00b9bb93 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/restorepoints/RestorePointsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/restorepoints/RestorePointsRequestBuilder.java @@ -27,7 +27,10 @@ public class RestorePointsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,7 +38,10 @@ public CountRequestBuilder count() { /** * Provides operations to call the search method. * @return a {@link SearchRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public SearchRequestBuilder search() { return new SearchRequestBuilder(pathParameters, requestAdapter); @@ -44,8 +50,11 @@ public SearchRequestBuilder search() { * Provides operations to manage the restorePoints property of the microsoft.graph.backupRestoreRoot entity. * @param restorePointId The unique identifier of restorePoint * @return a {@link RestorePointItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RestorePointItemRequestBuilder byRestorePointId(@jakarta.annotation.Nonnull final String restorePointId) { Objects.requireNonNull(restorePointId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -72,8 +81,11 @@ public RestorePointsRequestBuilder(@jakarta.annotation.Nonnull final String rawU * List of restore points in the tenant. * @return a {@link RestorePointCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public RestorePointCollectionResponse get() { return get(null); } @@ -82,8 +94,11 @@ public RestorePointCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RestorePointCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public RestorePointCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -95,8 +110,11 @@ public RestorePointCollectionResponse get(@jakarta.annotation.Nullable final jav * @param body The request body * @return a {@link RestorePoint} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public RestorePoint post(@jakarta.annotation.Nonnull final RestorePoint body) { return post(body, null); } @@ -106,8 +124,11 @@ public RestorePoint post(@jakarta.annotation.Nonnull final RestorePoint body) { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RestorePoint} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public RestorePoint post(@jakarta.annotation.Nonnull final RestorePoint body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -118,8 +139,11 @@ public RestorePoint post(@jakarta.annotation.Nonnull final RestorePoint body, @j /** * List of restore points in the tenant. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -127,8 +151,11 @@ public RequestInformation toGetRequestInformation() { * List of restore points in the tenant. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -139,8 +166,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to restorePoints for solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RestorePoint body) { return toPostRequestInformation(body, null); } @@ -149,8 +179,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RestorePoint body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -163,8 +196,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RestorePointsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RestorePointsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RestorePointsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/restorepoints/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/restorepoints/count/CountRequestBuilder.java index 4e6587ca7f2..643310870b7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/restorepoints/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/restorepoints/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/restorepoints/item/RestorePointItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/restorepoints/item/RestorePointItemRequestBuilder.java index b59be7afa53..ba06a0512eb 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/restorepoints/item/RestorePointItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/restorepoints/item/RestorePointItemRequestBuilder.java @@ -24,7 +24,10 @@ public class RestorePointItemRequestBuilder extends BaseRequestBuilder { /** * Provides operations to manage the protectionUnit property of the microsoft.graph.restorePoint entity. * @return a {@link ProtectionUnitRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public ProtectionUnitRequestBuilder protectionUnit() { return new ProtectionUnitRequestBuilder(pathParameters, requestAdapter); @@ -48,7 +51,10 @@ public RestorePointItemRequestBuilder(@jakarta.annotation.Nonnull final String r /** * Delete navigation property restorePoints for solutions * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete() { delete(null); } @@ -56,7 +62,10 @@ public void delete() { * Delete navigation property restorePoints for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -67,8 +76,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * List of restore points in the tenant. * @return a {@link RestorePoint} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public RestorePoint get() { return get(null); } @@ -77,8 +89,11 @@ public RestorePoint get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RestorePoint} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public RestorePoint get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -90,8 +105,11 @@ public RestorePoint get(@jakarta.annotation.Nullable final java.util.function.Co * @param body The request body * @return a {@link RestorePoint} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public RestorePoint patch(@jakarta.annotation.Nonnull final RestorePoint body) { return patch(body, null); } @@ -101,8 +119,11 @@ public RestorePoint patch(@jakarta.annotation.Nonnull final RestorePoint body) { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RestorePoint} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public RestorePoint patch(@jakarta.annotation.Nonnull final RestorePoint body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -113,8 +134,11 @@ public RestorePoint patch(@jakarta.annotation.Nonnull final RestorePoint body, @ /** * Delete navigation property restorePoints for solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -122,8 +146,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property restorePoints for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -133,8 +160,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * List of restore points in the tenant. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -142,8 +172,11 @@ public RequestInformation toGetRequestInformation() { * List of restore points in the tenant. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -154,8 +187,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property restorePoints in solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final RestorePoint body) { return toPatchRequestInformation(body, null); } @@ -164,8 +200,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final RestorePoint body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -178,8 +217,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RestorePointItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RestorePointItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RestorePointItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/restorepoints/item/protectionunit/ProtectionUnitRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/restorepoints/item/protectionunit/ProtectionUnitRequestBuilder.java index c70d8893c41..bb575434cfc 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/restorepoints/item/protectionunit/ProtectionUnitRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/restorepoints/item/protectionunit/ProtectionUnitRequestBuilder.java @@ -40,8 +40,11 @@ public ProtectionUnitRequestBuilder(@jakarta.annotation.Nonnull final String raw * The site, drive, or mailbox units that are protected under a protection policy. * @return a {@link ProtectionUnitBase} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public ProtectionUnitBase get() { return get(null); } @@ -50,8 +53,11 @@ public ProtectionUnitBase get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ProtectionUnitBase} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public ProtectionUnitBase get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public ProtectionUnitBase get(@jakarta.annotation.Nullable final java.util.funct /** * The site, drive, or mailbox units that are protected under a protection policy. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * The site, drive, or mailbox units that are protected under a protection policy. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ProtectionUnitRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public ProtectionUnitRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ProtectionUnitRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/restorepoints/search/SearchRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/restorepoints/search/SearchRequestBuilder.java index b8643d32edd..45e012cd14f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/restorepoints/search/SearchRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/restorepoints/search/SearchRequestBuilder.java @@ -40,9 +40,12 @@ public SearchRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ja * @param body The request body * @return a {@link RestorePointSearchResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public RestorePointSearchResponse post(@jakarta.annotation.Nonnull final SearchPostRequestBody body) { return post(body, null); } @@ -52,9 +55,12 @@ public RestorePointSearchResponse post(@jakarta.annotation.Nonnull final SearchP * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RestorePointSearchResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public RestorePointSearchResponse post(@jakarta.annotation.Nonnull final SearchPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -66,8 +72,11 @@ public RestorePointSearchResponse post(@jakarta.annotation.Nonnull final SearchP * Search for the restorePoint objects associated with a protectionUnit. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final SearchPostRequestBody body) { return toPostRequestInformation(body, null); } @@ -76,8 +85,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final SearchPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -90,8 +102,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link SearchRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public SearchRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new SearchRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/restoresessions/RestoreSessionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/restoresessions/RestoreSessionsRequestBuilder.java index 8647ca98d80..8576082f2e4 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/restoresessions/RestoreSessionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/restoresessions/RestoreSessionsRequestBuilder.java @@ -26,7 +26,10 @@ public class RestoreSessionsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the restoreSessions property of the microsoft.graph.backupRestoreRoot entity. * @param restoreSessionBaseId The unique identifier of restoreSessionBase * @return a {@link RestoreSessionBaseItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RestoreSessionBaseItemRequestBuilder byRestoreSessionBaseId(@jakarta.annotation.Nonnull final String restoreSessionBaseId) { Objects.requireNonNull(restoreSessionBaseId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,9 +69,12 @@ public RestoreSessionsRequestBuilder(@jakarta.annotation.Nonnull final String ra * Get a list of restoreSession objects and their properties. * @return a {@link RestoreSessionBaseCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public RestoreSessionBaseCollectionResponse get() { return get(null); } @@ -74,9 +83,12 @@ public RestoreSessionBaseCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RestoreSessionBaseCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public RestoreSessionBaseCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -88,8 +100,11 @@ public RestoreSessionBaseCollectionResponse get(@jakarta.annotation.Nullable fin * @param body The request body * @return a {@link RestoreSessionBase} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public RestoreSessionBase post(@jakarta.annotation.Nonnull final RestoreSessionBase body) { return post(body, null); } @@ -99,8 +114,11 @@ public RestoreSessionBase post(@jakarta.annotation.Nonnull final RestoreSessionB * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RestoreSessionBase} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public RestoreSessionBase post(@jakarta.annotation.Nonnull final RestoreSessionBase body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -111,8 +129,11 @@ public RestoreSessionBase post(@jakarta.annotation.Nonnull final RestoreSessionB /** * Get a list of restoreSession objects and their properties. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -120,8 +141,11 @@ public RequestInformation toGetRequestInformation() { * Get a list of restoreSession objects and their properties. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -132,8 +156,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to restoreSessions for solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RestoreSessionBase body) { return toPostRequestInformation(body, null); } @@ -142,8 +169,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RestoreSessionBase body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -156,8 +186,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RestoreSessionsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RestoreSessionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RestoreSessionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/restoresessions/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/restoresessions/count/CountRequestBuilder.java index 4f829b85153..13c0c6d5d0d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/restoresessions/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/restoresessions/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/restoresessions/item/RestoreSessionBaseItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/restoresessions/item/RestoreSessionBaseItemRequestBuilder.java index 3535501a6bf..86d0d52b5ba 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/restoresessions/item/RestoreSessionBaseItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/restoresessions/item/RestoreSessionBaseItemRequestBuilder.java @@ -24,7 +24,10 @@ public class RestoreSessionBaseItemRequestBuilder extends BaseRequestBuilder { /** * Provides operations to call the activate method. * @return a {@link ActivateRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public ActivateRequestBuilder activate() { return new ActivateRequestBuilder(pathParameters, requestAdapter); @@ -48,8 +51,11 @@ public RestoreSessionBaseItemRequestBuilder(@jakarta.annotation.Nonnull final St /** * Delete a draft restoreSessionBase object. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ + @Deprecated public void delete() { delete(null); } @@ -57,8 +63,11 @@ public void delete() { * Delete a draft restoreSessionBase object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -69,9 +78,12 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Get the properties of a restoreSession object by ID. * @return a {@link RestoreSessionBase} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public RestoreSessionBase get() { return get(null); } @@ -80,9 +92,12 @@ public RestoreSessionBase get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RestoreSessionBase} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public RestoreSessionBase get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -94,8 +109,11 @@ public RestoreSessionBase get(@jakarta.annotation.Nullable final java.util.funct * @param body The request body * @return a {@link RestoreSessionBase} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public RestoreSessionBase patch(@jakarta.annotation.Nonnull final RestoreSessionBase body) { return patch(body, null); } @@ -105,8 +123,11 @@ public RestoreSessionBase patch(@jakarta.annotation.Nonnull final RestoreSession * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RestoreSessionBase} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public RestoreSessionBase patch(@jakarta.annotation.Nonnull final RestoreSessionBase body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -117,8 +138,11 @@ public RestoreSessionBase patch(@jakarta.annotation.Nonnull final RestoreSession /** * Delete a draft restoreSessionBase object. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -126,8 +150,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete a draft restoreSessionBase object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -137,8 +164,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Get the properties of a restoreSession object by ID. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -146,8 +176,11 @@ public RequestInformation toGetRequestInformation() { * Get the properties of a restoreSession object by ID. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -158,8 +191,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property restoreSessions in solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final RestoreSessionBase body) { return toPatchRequestInformation(body, null); } @@ -168,8 +204,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final RestoreSessionBase body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -182,8 +221,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RestoreSessionBaseItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RestoreSessionBaseItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RestoreSessionBaseItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/restoresessions/item/activate/ActivateRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/restoresessions/item/activate/ActivateRequestBuilder.java index 309ff082f2a..3112194d79d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/restoresessions/item/activate/ActivateRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/restoresessions/item/activate/ActivateRequestBuilder.java @@ -39,9 +39,12 @@ public ActivateRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ * Activate a draft restoreSessionBase object to restore a protection unit. The following points apply to restoring a protection unit: * @return a {@link RestoreSessionBase} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public RestoreSessionBase post() { return post(null); } @@ -50,9 +53,12 @@ public RestoreSessionBase post() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RestoreSessionBase} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public RestoreSessionBase post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -62,8 +68,11 @@ public RestoreSessionBase post(@jakarta.annotation.Nullable final java.util.func /** * Activate a draft restoreSessionBase object to restore a protection unit. The following points apply to restoring a protection unit: * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation() { * Activate a draft restoreSessionBase object to restore a protection unit. The following points apply to restoring a protection unit: * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -83,8 +95,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ActivateRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public ActivateRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ActivateRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/serviceapps/ServiceAppsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/serviceapps/ServiceAppsRequestBuilder.java index 718c69a8a77..164f9778ad0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/serviceapps/ServiceAppsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/serviceapps/ServiceAppsRequestBuilder.java @@ -26,7 +26,10 @@ public class ServiceAppsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the serviceApps property of the microsoft.graph.backupRestoreRoot entity. * @param serviceAppId The unique identifier of serviceApp * @return a {@link ServiceAppItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public ServiceAppItemRequestBuilder byServiceAppId(@jakarta.annotation.Nonnull final String serviceAppId) { Objects.requireNonNull(serviceAppId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,9 +69,12 @@ public ServiceAppsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl * Get a list of serviceApp objects and their properties. * @return a {@link ServiceAppCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public ServiceAppCollectionResponse get() { return get(null); } @@ -74,9 +83,12 @@ public ServiceAppCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ServiceAppCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public ServiceAppCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -88,9 +100,12 @@ public ServiceAppCollectionResponse get(@jakarta.annotation.Nullable final java. * @param body The request body * @return a {@link ServiceApp} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public ServiceApp post(@jakarta.annotation.Nonnull final ServiceApp body) { return post(body, null); } @@ -100,9 +115,12 @@ public ServiceApp post(@jakarta.annotation.Nonnull final ServiceApp body) { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ServiceApp} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public ServiceApp post(@jakarta.annotation.Nonnull final ServiceApp body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -113,8 +131,11 @@ public ServiceApp post(@jakarta.annotation.Nonnull final ServiceApp body, @jakar /** * Get a list of serviceApp objects and their properties. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -122,8 +143,11 @@ public RequestInformation toGetRequestInformation() { * Get a list of serviceApp objects and their properties. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -134,8 +158,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create a new serviceApp. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ServiceApp body) { return toPostRequestInformation(body, null); } @@ -144,8 +171,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ServiceApp body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -158,8 +188,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ServiceAppsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public ServiceAppsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ServiceAppsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/serviceapps/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/serviceapps/count/CountRequestBuilder.java index 6cb234ef975..9e5f1d86452 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/serviceapps/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/serviceapps/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/serviceapps/item/ServiceAppItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/serviceapps/item/ServiceAppItemRequestBuilder.java index 1ab3162a4dc..77023d7f6bd 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/serviceapps/item/ServiceAppItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/serviceapps/item/ServiceAppItemRequestBuilder.java @@ -25,7 +25,10 @@ public class ServiceAppItemRequestBuilder extends BaseRequestBuilder { /** * Provides operations to call the activate method. * @return a {@link ActivateRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public ActivateRequestBuilder activate() { return new ActivateRequestBuilder(pathParameters, requestAdapter); @@ -33,7 +36,10 @@ public ActivateRequestBuilder activate() { /** * Provides operations to call the deactivate method. * @return a {@link DeactivateRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public DeactivateRequestBuilder deactivate() { return new DeactivateRequestBuilder(pathParameters, requestAdapter); @@ -57,8 +63,11 @@ public ServiceAppItemRequestBuilder(@jakarta.annotation.Nonnull final String raw /** * Delete a serviceApp. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ + @Deprecated public void delete() { delete(null); } @@ -66,8 +75,11 @@ public void delete() { * Delete a serviceApp. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -78,9 +90,12 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Read the properties and relationships of a serviceApp object. * @return a {@link ServiceApp} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public ServiceApp get() { return get(null); } @@ -89,9 +104,12 @@ public ServiceApp get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ServiceApp} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public ServiceApp get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -103,8 +121,11 @@ public ServiceApp get(@jakarta.annotation.Nullable final java.util.function.Cons * @param body The request body * @return a {@link ServiceApp} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public ServiceApp patch(@jakarta.annotation.Nonnull final ServiceApp body) { return patch(body, null); } @@ -114,8 +135,11 @@ public ServiceApp patch(@jakarta.annotation.Nonnull final ServiceApp body) { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ServiceApp} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public ServiceApp patch(@jakarta.annotation.Nonnull final ServiceApp body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -126,8 +150,11 @@ public ServiceApp patch(@jakarta.annotation.Nonnull final ServiceApp body, @jaka /** * Delete a serviceApp. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -135,8 +162,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete a serviceApp. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -146,8 +176,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Read the properties and relationships of a serviceApp object. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -155,8 +188,11 @@ public RequestInformation toGetRequestInformation() { * Read the properties and relationships of a serviceApp object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -167,8 +203,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property serviceApps in solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final ServiceApp body) { return toPatchRequestInformation(body, null); } @@ -177,8 +216,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final ServiceApp body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -191,8 +233,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ServiceAppItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public ServiceAppItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ServiceAppItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/serviceapps/item/activate/ActivateRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/serviceapps/item/activate/ActivateRequestBuilder.java index 960943b8238..2aa44d5804a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/serviceapps/item/activate/ActivateRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/serviceapps/item/activate/ActivateRequestBuilder.java @@ -40,9 +40,12 @@ public ActivateRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ * @param body The request body * @return a {@link ServiceApp} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public ServiceApp post(@jakarta.annotation.Nonnull final ActivatePostRequestBody body) { return post(body, null); } @@ -52,9 +55,12 @@ public ServiceApp post(@jakarta.annotation.Nonnull final ActivatePostRequestBody * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ServiceApp} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public ServiceApp post(@jakarta.annotation.Nonnull final ActivatePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -66,8 +72,11 @@ public ServiceApp post(@jakarta.annotation.Nonnull final ActivatePostRequestBody * Activate a serviceApp. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ActivatePostRequestBody body) { return toPostRequestInformation(body, null); } @@ -76,8 +85,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ActivatePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -90,8 +102,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ActivateRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public ActivateRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ActivateRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/serviceapps/item/deactivate/DeactivateRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/serviceapps/item/deactivate/DeactivateRequestBuilder.java index 62577bef77f..b2e37221aae 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/serviceapps/item/deactivate/DeactivateRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/serviceapps/item/deactivate/DeactivateRequestBuilder.java @@ -39,9 +39,12 @@ public DeactivateRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, * Deactivate a serviceApp. * @return a {@link ServiceApp} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public ServiceApp post() { return post(null); } @@ -50,9 +53,12 @@ public ServiceApp post() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ServiceApp} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public ServiceApp post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -62,8 +68,11 @@ public ServiceApp post(@jakarta.annotation.Nullable final java.util.function.Con /** * Deactivate a serviceApp. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation() { * Deactivate a serviceApp. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -83,8 +95,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link DeactivateRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public DeactivateRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new DeactivateRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointbrowsesessions/SharePointBrowseSessionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointbrowsesessions/SharePointBrowseSessionsRequestBuilder.java index cda462fc4c7..8b11b6fe443 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointbrowsesessions/SharePointBrowseSessionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointbrowsesessions/SharePointBrowseSessionsRequestBuilder.java @@ -26,7 +26,10 @@ public class SharePointBrowseSessionsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the sharePointBrowseSessions property of the microsoft.graph.backupRestoreRoot entity. * @param sharePointBrowseSessionId The unique identifier of sharePointBrowseSession * @return a {@link SharePointBrowseSessionItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public SharePointBrowseSessionItemRequestBuilder bySharePointBrowseSessionId(@jakarta.annotation.Nonnull final String sharePointBrowseSessionId) { Objects.requireNonNull(sharePointBrowseSessionId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,9 +69,12 @@ public SharePointBrowseSessionsRequestBuilder(@jakarta.annotation.Nonnull final * Get a list of the sharePointBrowseSession objects and their properties. * @return a {@link SharePointBrowseSessionCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public SharePointBrowseSessionCollectionResponse get() { return get(null); } @@ -74,9 +83,12 @@ public SharePointBrowseSessionCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SharePointBrowseSessionCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public SharePointBrowseSessionCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -88,9 +100,12 @@ public SharePointBrowseSessionCollectionResponse get(@jakarta.annotation.Nullabl * @param body The request body * @return a {@link SharePointBrowseSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public SharePointBrowseSession post(@jakarta.annotation.Nonnull final SharePointBrowseSession body) { return post(body, null); } @@ -100,9 +115,12 @@ public SharePointBrowseSession post(@jakarta.annotation.Nonnull final SharePoint * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SharePointBrowseSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public SharePointBrowseSession post(@jakarta.annotation.Nonnull final SharePointBrowseSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -113,8 +131,11 @@ public SharePointBrowseSession post(@jakarta.annotation.Nonnull final SharePoint /** * Get a list of the sharePointBrowseSession objects and their properties. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -122,8 +143,11 @@ public RequestInformation toGetRequestInformation() { * Get a list of the sharePointBrowseSession objects and their properties. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -134,8 +158,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create a new sharePointBrowseSession object. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final SharePointBrowseSession body) { return toPostRequestInformation(body, null); } @@ -144,8 +171,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final SharePointBrowseSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -158,8 +188,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link SharePointBrowseSessionsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public SharePointBrowseSessionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new SharePointBrowseSessionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointbrowsesessions/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointbrowsesessions/count/CountRequestBuilder.java index c315b8ae631..b1e80937db0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointbrowsesessions/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointbrowsesessions/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointbrowsesessions/item/SharePointBrowseSessionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointbrowsesessions/item/SharePointBrowseSessionItemRequestBuilder.java index 326e5e4034e..51624f89ef7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointbrowsesessions/item/SharePointBrowseSessionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointbrowsesessions/item/SharePointBrowseSessionItemRequestBuilder.java @@ -39,7 +39,10 @@ public SharePointBrowseSessionItemRequestBuilder(@jakarta.annotation.Nonnull fin /** * Delete navigation property sharePointBrowseSessions for solutions * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete() { delete(null); } @@ -47,7 +50,10 @@ public void delete() { * Delete navigation property sharePointBrowseSessions for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -58,9 +64,12 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Read the properties and relationships of sharePointBrowseSession object. * @return a {@link SharePointBrowseSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public SharePointBrowseSession get() { return get(null); } @@ -69,9 +78,12 @@ public SharePointBrowseSession get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SharePointBrowseSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public SharePointBrowseSession get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -83,8 +95,11 @@ public SharePointBrowseSession get(@jakarta.annotation.Nullable final java.util. * @param body The request body * @return a {@link SharePointBrowseSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public SharePointBrowseSession patch(@jakarta.annotation.Nonnull final SharePointBrowseSession body) { return patch(body, null); } @@ -94,8 +109,11 @@ public SharePointBrowseSession patch(@jakarta.annotation.Nonnull final SharePoin * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SharePointBrowseSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public SharePointBrowseSession patch(@jakarta.annotation.Nonnull final SharePointBrowseSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -106,8 +124,11 @@ public SharePointBrowseSession patch(@jakarta.annotation.Nonnull final SharePoin /** * Delete navigation property sharePointBrowseSessions for solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -115,8 +136,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property sharePointBrowseSessions for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -126,8 +150,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Read the properties and relationships of sharePointBrowseSession object. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -135,8 +162,11 @@ public RequestInformation toGetRequestInformation() { * Read the properties and relationships of sharePointBrowseSession object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -147,8 +177,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property sharePointBrowseSessions in solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final SharePointBrowseSession body) { return toPatchRequestInformation(body, null); } @@ -157,8 +190,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final SharePointBrowseSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -171,8 +207,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link SharePointBrowseSessionItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public SharePointBrowseSessionItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new SharePointBrowseSessionItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointprotectionpolicies/SharePointProtectionPoliciesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointprotectionpolicies/SharePointProtectionPoliciesRequestBuilder.java index ea032f8e4d9..8e6ef973fdd 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointprotectionpolicies/SharePointProtectionPoliciesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointprotectionpolicies/SharePointProtectionPoliciesRequestBuilder.java @@ -26,7 +26,10 @@ public class SharePointProtectionPoliciesRequestBuilder extends BaseRequestBuild /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the sharePointProtectionPolicies property of the microsoft.graph.backupRestoreRoot entity. * @param sharePointProtectionPolicyId The unique identifier of sharePointProtectionPolicy * @return a {@link SharePointProtectionPolicyItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public SharePointProtectionPolicyItemRequestBuilder bySharePointProtectionPolicyId(@jakarta.annotation.Nonnull final String sharePointProtectionPolicyId) { Objects.requireNonNull(sharePointProtectionPolicyId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public SharePointProtectionPoliciesRequestBuilder(@jakarta.annotation.Nonnull fi * The list of SharePoint protection policies in the tenant. * @return a {@link SharePointProtectionPolicyCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public SharePointProtectionPolicyCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public SharePointProtectionPolicyCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SharePointProtectionPolicyCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public SharePointProtectionPolicyCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,9 +98,12 @@ public SharePointProtectionPolicyCollectionResponse get(@jakarta.annotation.Null * @param body The request body * @return a {@link SharePointProtectionPolicy} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public SharePointProtectionPolicy post(@jakarta.annotation.Nonnull final SharePointProtectionPolicy body) { return post(body, null); } @@ -98,9 +113,12 @@ public SharePointProtectionPolicy post(@jakarta.annotation.Nonnull final SharePo * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SharePointProtectionPolicy} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public SharePointProtectionPolicy post(@jakarta.annotation.Nonnull final SharePointProtectionPolicy body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -111,8 +129,11 @@ public SharePointProtectionPolicy post(@jakarta.annotation.Nonnull final SharePo /** * The list of SharePoint protection policies in the tenant. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -120,8 +141,11 @@ public RequestInformation toGetRequestInformation() { * The list of SharePoint protection policies in the tenant. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -132,8 +156,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create a protection policy for a M365 service SharePoint. Policy will be created in inactive state. User can also provide a list of protection units under the policy. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final SharePointProtectionPolicy body) { return toPostRequestInformation(body, null); } @@ -142,8 +169,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final SharePointProtectionPolicy body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -156,8 +186,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link SharePointProtectionPoliciesRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public SharePointProtectionPoliciesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new SharePointProtectionPoliciesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointprotectionpolicies/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointprotectionpolicies/count/CountRequestBuilder.java index 54d028cb036..5e2c4a8310a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointprotectionpolicies/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointprotectionpolicies/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointprotectionpolicies/item/SharePointProtectionPolicyItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointprotectionpolicies/item/SharePointProtectionPolicyItemRequestBuilder.java index 28bfbcc75ae..adf92866e1b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointprotectionpolicies/item/SharePointProtectionPolicyItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointprotectionpolicies/item/SharePointProtectionPolicyItemRequestBuilder.java @@ -28,7 +28,10 @@ public class SharePointProtectionPolicyItemRequestBuilder extends BaseRequestBui /** * Provides operations to manage the siteExclusionUnits property of the microsoft.graph.sharePointProtectionPolicy entity. * @return a {@link SiteExclusionUnitsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public SiteExclusionUnitsRequestBuilder siteExclusionUnits() { return new SiteExclusionUnitsRequestBuilder(pathParameters, requestAdapter); @@ -36,7 +39,10 @@ public SiteExclusionUnitsRequestBuilder siteExclusionUnits() { /** * Provides operations to manage the siteExclusionUnitsBulkAdditionJobs property of the microsoft.graph.sharePointProtectionPolicy entity. * @return a {@link SiteExclusionUnitsBulkAdditionJobsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public SiteExclusionUnitsBulkAdditionJobsRequestBuilder siteExclusionUnitsBulkAdditionJobs() { return new SiteExclusionUnitsBulkAdditionJobsRequestBuilder(pathParameters, requestAdapter); @@ -44,7 +50,10 @@ public SiteExclusionUnitsBulkAdditionJobsRequestBuilder siteExclusionUnitsBulkAd /** * Provides operations to manage the siteInclusionRules property of the microsoft.graph.sharePointProtectionPolicy entity. * @return a {@link SiteInclusionRulesRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public SiteInclusionRulesRequestBuilder siteInclusionRules() { return new SiteInclusionRulesRequestBuilder(pathParameters, requestAdapter); @@ -52,7 +61,10 @@ public SiteInclusionRulesRequestBuilder siteInclusionRules() { /** * Provides operations to manage the siteProtectionUnits property of the microsoft.graph.sharePointProtectionPolicy entity. * @return a {@link SiteProtectionUnitsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public SiteProtectionUnitsRequestBuilder siteProtectionUnits() { return new SiteProtectionUnitsRequestBuilder(pathParameters, requestAdapter); @@ -60,7 +72,10 @@ public SiteProtectionUnitsRequestBuilder siteProtectionUnits() { /** * Provides operations to manage the siteProtectionUnitsBulkAdditionJobs property of the microsoft.graph.sharePointProtectionPolicy entity. * @return a {@link SiteProtectionUnitsBulkAdditionJobsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public SiteProtectionUnitsBulkAdditionJobsRequestBuilder siteProtectionUnitsBulkAdditionJobs() { return new SiteProtectionUnitsBulkAdditionJobsRequestBuilder(pathParameters, requestAdapter); @@ -84,7 +99,10 @@ public SharePointProtectionPolicyItemRequestBuilder(@jakarta.annotation.Nonnull /** * Delete navigation property sharePointProtectionPolicies for solutions * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete() { delete(null); } @@ -92,7 +110,10 @@ public void delete() { * Delete navigation property sharePointProtectionPolicies for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -103,8 +124,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * The list of SharePoint protection policies in the tenant. * @return a {@link SharePointProtectionPolicy} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public SharePointProtectionPolicy get() { return get(null); } @@ -113,8 +137,11 @@ public SharePointProtectionPolicy get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SharePointProtectionPolicy} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public SharePointProtectionPolicy get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -126,9 +153,12 @@ public SharePointProtectionPolicy get(@jakarta.annotation.Nullable final java.ut * @param body The request body * @return a {@link SharePointProtectionPolicy} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public SharePointProtectionPolicy patch(@jakarta.annotation.Nonnull final SharePointProtectionPolicy body) { return patch(body, null); } @@ -138,9 +168,12 @@ public SharePointProtectionPolicy patch(@jakarta.annotation.Nonnull final ShareP * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SharePointProtectionPolicy} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public SharePointProtectionPolicy patch(@jakarta.annotation.Nonnull final SharePointProtectionPolicy body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -151,8 +184,11 @@ public SharePointProtectionPolicy patch(@jakarta.annotation.Nonnull final ShareP /** * Delete navigation property sharePointProtectionPolicies for solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -160,8 +196,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property sharePointProtectionPolicies for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -171,8 +210,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * The list of SharePoint protection policies in the tenant. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -180,8 +222,11 @@ public RequestInformation toGetRequestInformation() { * The list of SharePoint protection policies in the tenant. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -192,8 +237,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update a SharePoint protection policy. This method adds a siteprotectionunit to or removes it from the protection policy. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final SharePointProtectionPolicy body) { return toPatchRequestInformation(body, null); } @@ -202,8 +250,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final SharePointProtectionPolicy body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -216,8 +267,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link SharePointProtectionPolicyItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public SharePointProtectionPolicyItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new SharePointProtectionPolicyItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointprotectionpolicies/item/siteexclusionunits/SiteExclusionUnitsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointprotectionpolicies/item/siteexclusionunits/SiteExclusionUnitsRequestBuilder.java index 9be852f94c8..616f456c8fa 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointprotectionpolicies/item/siteexclusionunits/SiteExclusionUnitsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointprotectionpolicies/item/siteexclusionunits/SiteExclusionUnitsRequestBuilder.java @@ -25,7 +25,10 @@ public class SiteExclusionUnitsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -34,8 +37,11 @@ public CountRequestBuilder count() { * Provides operations to manage the siteExclusionUnits property of the microsoft.graph.sharePointProtectionPolicy entity. * @param siteExclusionUnitId The unique identifier of siteExclusionUnit * @return a {@link SiteExclusionUnitItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public SiteExclusionUnitItemRequestBuilder bySiteExclusionUnitId(@jakarta.annotation.Nonnull final String siteExclusionUnitId) { Objects.requireNonNull(siteExclusionUnitId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -62,9 +68,12 @@ public SiteExclusionUnitsRequestBuilder(@jakarta.annotation.Nonnull final String * Get a list of site exclusion units associated with a SharePoint protection policy. * @return a {@link SiteExclusionUnitCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public SiteExclusionUnitCollectionResponse get() { return get(null); } @@ -73,9 +82,12 @@ public SiteExclusionUnitCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SiteExclusionUnitCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public SiteExclusionUnitCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -85,8 +97,11 @@ public SiteExclusionUnitCollectionResponse get(@jakarta.annotation.Nullable fina /** * Get a list of site exclusion units associated with a SharePoint protection policy. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -94,8 +109,11 @@ public RequestInformation toGetRequestInformation() { * Get a list of site exclusion units associated with a SharePoint protection policy. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -106,8 +124,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link SiteExclusionUnitsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public SiteExclusionUnitsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new SiteExclusionUnitsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointprotectionpolicies/item/siteexclusionunits/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointprotectionpolicies/item/siteexclusionunits/count/CountRequestBuilder.java index e03cc1fe831..9c581e35baf 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointprotectionpolicies/item/siteexclusionunits/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointprotectionpolicies/item/siteexclusionunits/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointprotectionpolicies/item/siteexclusionunits/item/SiteExclusionUnitItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointprotectionpolicies/item/siteexclusionunits/item/SiteExclusionUnitItemRequestBuilder.java index ea345dab567..507bf0a6353 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointprotectionpolicies/item/siteexclusionunits/item/SiteExclusionUnitItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointprotectionpolicies/item/siteexclusionunits/item/SiteExclusionUnitItemRequestBuilder.java @@ -40,9 +40,12 @@ public SiteExclusionUnitItemRequestBuilder(@jakarta.annotation.Nonnull final Str * Get a site exclusion unit associated with a SharePoint protection policy. * @return a {@link SiteExclusionUnit} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public SiteExclusionUnit get() { return get(null); } @@ -51,9 +54,12 @@ public SiteExclusionUnit get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SiteExclusionUnit} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public SiteExclusionUnit get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -63,8 +69,11 @@ public SiteExclusionUnit get(@jakarta.annotation.Nullable final java.util.functi /** * Get a site exclusion unit associated with a SharePoint protection policy. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -72,8 +81,11 @@ public RequestInformation toGetRequestInformation() { * Get a site exclusion unit associated with a SharePoint protection policy. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -84,8 +96,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link SiteExclusionUnitItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public SiteExclusionUnitItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new SiteExclusionUnitItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointprotectionpolicies/item/siteexclusionunitsbulkadditionjobs/SiteExclusionUnitsBulkAdditionJobsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointprotectionpolicies/item/siteexclusionunitsbulkadditionjobs/SiteExclusionUnitsBulkAdditionJobsRequestBuilder.java index 8b2436ed4a0..a80b2ccae27 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointprotectionpolicies/item/siteexclusionunitsbulkadditionjobs/SiteExclusionUnitsBulkAdditionJobsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointprotectionpolicies/item/siteexclusionunitsbulkadditionjobs/SiteExclusionUnitsBulkAdditionJobsRequestBuilder.java @@ -25,7 +25,10 @@ public class SiteExclusionUnitsBulkAdditionJobsRequestBuilder extends BaseReques /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -34,8 +37,11 @@ public CountRequestBuilder count() { * Provides operations to manage the siteExclusionUnitsBulkAdditionJobs property of the microsoft.graph.sharePointProtectionPolicy entity. * @param siteExclusionUnitsBulkAdditionJobId The unique identifier of siteExclusionUnitsBulkAdditionJob * @return a {@link SiteExclusionUnitsBulkAdditionJobItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public SiteExclusionUnitsBulkAdditionJobItemRequestBuilder bySiteExclusionUnitsBulkAdditionJobId(@jakarta.annotation.Nonnull final String siteExclusionUnitsBulkAdditionJobId) { Objects.requireNonNull(siteExclusionUnitsBulkAdditionJobId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -62,9 +68,12 @@ public SiteExclusionUnitsBulkAdditionJobsRequestBuilder(@jakarta.annotation.Nonn * Get a list of site exclusion units bulk addition jobs associated with a SharePoint protection policy. * @return a {@link SiteExclusionUnitsBulkAdditionJobCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public SiteExclusionUnitsBulkAdditionJobCollectionResponse get() { return get(null); } @@ -73,9 +82,12 @@ public SiteExclusionUnitsBulkAdditionJobCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SiteExclusionUnitsBulkAdditionJobCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public SiteExclusionUnitsBulkAdditionJobCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -85,8 +97,11 @@ public SiteExclusionUnitsBulkAdditionJobCollectionResponse get(@jakarta.annotati /** * Get a list of site exclusion units bulk addition jobs associated with a SharePoint protection policy. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -94,8 +109,11 @@ public RequestInformation toGetRequestInformation() { * Get a list of site exclusion units bulk addition jobs associated with a SharePoint protection policy. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -106,8 +124,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link SiteExclusionUnitsBulkAdditionJobsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public SiteExclusionUnitsBulkAdditionJobsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new SiteExclusionUnitsBulkAdditionJobsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointprotectionpolicies/item/siteexclusionunitsbulkadditionjobs/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointprotectionpolicies/item/siteexclusionunitsbulkadditionjobs/count/CountRequestBuilder.java index 90db17536f1..b14f7aa7bcd 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointprotectionpolicies/item/siteexclusionunitsbulkadditionjobs/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointprotectionpolicies/item/siteexclusionunitsbulkadditionjobs/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointprotectionpolicies/item/siteexclusionunitsbulkadditionjobs/item/SiteExclusionUnitsBulkAdditionJobItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointprotectionpolicies/item/siteexclusionunitsbulkadditionjobs/item/SiteExclusionUnitsBulkAdditionJobItemRequestBuilder.java index 81f635cde5b..3ed1afb7137 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointprotectionpolicies/item/siteexclusionunitsbulkadditionjobs/item/SiteExclusionUnitsBulkAdditionJobItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointprotectionpolicies/item/siteexclusionunitsbulkadditionjobs/item/SiteExclusionUnitsBulkAdditionJobItemRequestBuilder.java @@ -40,9 +40,12 @@ public SiteExclusionUnitsBulkAdditionJobItemRequestBuilder(@jakarta.annotation.N * Get a site exclusion units bulk addition job associated with a SharePoint protection policy. * @return a {@link SiteExclusionUnitsBulkAdditionJob} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public SiteExclusionUnitsBulkAdditionJob get() { return get(null); } @@ -51,9 +54,12 @@ public SiteExclusionUnitsBulkAdditionJob get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SiteExclusionUnitsBulkAdditionJob} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public SiteExclusionUnitsBulkAdditionJob get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -63,8 +69,11 @@ public SiteExclusionUnitsBulkAdditionJob get(@jakarta.annotation.Nullable final /** * Get a site exclusion units bulk addition job associated with a SharePoint protection policy. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -72,8 +81,11 @@ public RequestInformation toGetRequestInformation() { * Get a site exclusion units bulk addition job associated with a SharePoint protection policy. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -84,8 +96,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link SiteExclusionUnitsBulkAdditionJobItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public SiteExclusionUnitsBulkAdditionJobItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new SiteExclusionUnitsBulkAdditionJobItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointprotectionpolicies/item/siteinclusionrules/SiteInclusionRulesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointprotectionpolicies/item/siteinclusionrules/SiteInclusionRulesRequestBuilder.java index 94c4fda159b..dc8085f9b26 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointprotectionpolicies/item/siteinclusionrules/SiteInclusionRulesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointprotectionpolicies/item/siteinclusionrules/SiteInclusionRulesRequestBuilder.java @@ -25,7 +25,10 @@ public class SiteInclusionRulesRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -34,8 +37,11 @@ public CountRequestBuilder count() { * Provides operations to manage the siteInclusionRules property of the microsoft.graph.sharePointProtectionPolicy entity. * @param siteProtectionRuleId The unique identifier of siteProtectionRule * @return a {@link SiteProtectionRuleItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public SiteProtectionRuleItemRequestBuilder bySiteProtectionRuleId(@jakarta.annotation.Nonnull final String siteProtectionRuleId) { Objects.requireNonNull(siteProtectionRuleId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -62,9 +68,12 @@ public SiteInclusionRulesRequestBuilder(@jakarta.annotation.Nonnull final String * Get a list of siteProtectionRule objects associated with a sharePointProtectionPolicy. An inclusion rule indicates that a protection policy should contain protection units that match the specified rule criteria. The initial status of a protection rule upon creation is active. After the rule is applied, the state is either completed or completedWithErrors. * @return a {@link SiteProtectionRuleCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public SiteProtectionRuleCollectionResponse get() { return get(null); } @@ -73,9 +82,12 @@ public SiteProtectionRuleCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SiteProtectionRuleCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public SiteProtectionRuleCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -85,8 +97,11 @@ public SiteProtectionRuleCollectionResponse get(@jakarta.annotation.Nullable fin /** * Get a list of siteProtectionRule objects associated with a sharePointProtectionPolicy. An inclusion rule indicates that a protection policy should contain protection units that match the specified rule criteria. The initial status of a protection rule upon creation is active. After the rule is applied, the state is either completed or completedWithErrors. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -94,8 +109,11 @@ public RequestInformation toGetRequestInformation() { * Get a list of siteProtectionRule objects associated with a sharePointProtectionPolicy. An inclusion rule indicates that a protection policy should contain protection units that match the specified rule criteria. The initial status of a protection rule upon creation is active. After the rule is applied, the state is either completed or completedWithErrors. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -106,8 +124,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link SiteInclusionRulesRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public SiteInclusionRulesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new SiteInclusionRulesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointprotectionpolicies/item/siteinclusionrules/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointprotectionpolicies/item/siteinclusionrules/count/CountRequestBuilder.java index 3a7a0750e7f..27fc8578eb4 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointprotectionpolicies/item/siteinclusionrules/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointprotectionpolicies/item/siteinclusionrules/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointprotectionpolicies/item/siteinclusionrules/item/SiteProtectionRuleItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointprotectionpolicies/item/siteinclusionrules/item/SiteProtectionRuleItemRequestBuilder.java index b46a597f301..25071f7e3ba 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointprotectionpolicies/item/siteinclusionrules/item/SiteProtectionRuleItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointprotectionpolicies/item/siteinclusionrules/item/SiteProtectionRuleItemRequestBuilder.java @@ -40,9 +40,12 @@ public SiteProtectionRuleItemRequestBuilder(@jakarta.annotation.Nonnull final St * Get a protection rule that's associated with a protection policy. You can use this operation to get mailbox, drive, and site protection rules. An inclusion rule indicates that a protection policy should contain protection units that match the specified rule criteria. The initial status of a protection rule upon creation is active. After the rule is applied, the state is either completed or completedWithErrors. * @return a {@link SiteProtectionRule} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public SiteProtectionRule get() { return get(null); } @@ -51,9 +54,12 @@ public SiteProtectionRule get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SiteProtectionRule} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public SiteProtectionRule get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -63,8 +69,11 @@ public SiteProtectionRule get(@jakarta.annotation.Nullable final java.util.funct /** * Get a protection rule that's associated with a protection policy. You can use this operation to get mailbox, drive, and site protection rules. An inclusion rule indicates that a protection policy should contain protection units that match the specified rule criteria. The initial status of a protection rule upon creation is active. After the rule is applied, the state is either completed or completedWithErrors. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -72,8 +81,11 @@ public RequestInformation toGetRequestInformation() { * Get a protection rule that's associated with a protection policy. You can use this operation to get mailbox, drive, and site protection rules. An inclusion rule indicates that a protection policy should contain protection units that match the specified rule criteria. The initial status of a protection rule upon creation is active. After the rule is applied, the state is either completed or completedWithErrors. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -84,8 +96,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link SiteProtectionRuleItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public SiteProtectionRuleItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new SiteProtectionRuleItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointprotectionpolicies/item/siteprotectionunits/SiteProtectionUnitsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointprotectionpolicies/item/siteprotectionunits/SiteProtectionUnitsRequestBuilder.java index c82c734ba40..878b0e9b92b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointprotectionpolicies/item/siteprotectionunits/SiteProtectionUnitsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointprotectionpolicies/item/siteprotectionunits/SiteProtectionUnitsRequestBuilder.java @@ -25,7 +25,10 @@ public class SiteProtectionUnitsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -34,8 +37,11 @@ public CountRequestBuilder count() { * Provides operations to manage the siteProtectionUnits property of the microsoft.graph.sharePointProtectionPolicy entity. * @param siteProtectionUnitId The unique identifier of siteProtectionUnit * @return a {@link SiteProtectionUnitItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public SiteProtectionUnitItemRequestBuilder bySiteProtectionUnitId(@jakarta.annotation.Nonnull final String siteProtectionUnitId) { Objects.requireNonNull(siteProtectionUnitId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -62,9 +68,12 @@ public SiteProtectionUnitsRequestBuilder(@jakarta.annotation.Nonnull final Strin * Get a list of the siteProtectionUnit objects that are associated with a sharePointProtectionPolicy. * @return a {@link SiteProtectionUnitCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public SiteProtectionUnitCollectionResponse get() { return get(null); } @@ -73,9 +82,12 @@ public SiteProtectionUnitCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SiteProtectionUnitCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public SiteProtectionUnitCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -85,8 +97,11 @@ public SiteProtectionUnitCollectionResponse get(@jakarta.annotation.Nullable fin /** * Get a list of the siteProtectionUnit objects that are associated with a sharePointProtectionPolicy. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -94,8 +109,11 @@ public RequestInformation toGetRequestInformation() { * Get a list of the siteProtectionUnit objects that are associated with a sharePointProtectionPolicy. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -106,8 +124,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link SiteProtectionUnitsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public SiteProtectionUnitsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new SiteProtectionUnitsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointprotectionpolicies/item/siteprotectionunits/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointprotectionpolicies/item/siteprotectionunits/count/CountRequestBuilder.java index 77c90b03217..ac0ccc6d7b2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointprotectionpolicies/item/siteprotectionunits/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointprotectionpolicies/item/siteprotectionunits/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointprotectionpolicies/item/siteprotectionunits/item/SiteProtectionUnitItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointprotectionpolicies/item/siteprotectionunits/item/SiteProtectionUnitItemRequestBuilder.java index f99feb4a09c..bdf60cfd3e2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointprotectionpolicies/item/siteprotectionunits/item/SiteProtectionUnitItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointprotectionpolicies/item/siteprotectionunits/item/SiteProtectionUnitItemRequestBuilder.java @@ -40,8 +40,11 @@ public SiteProtectionUnitItemRequestBuilder(@jakarta.annotation.Nonnull final St * The protection units (sites) that are protected under the site protection policy. * @return a {@link SiteProtectionUnit} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public SiteProtectionUnit get() { return get(null); } @@ -50,8 +53,11 @@ public SiteProtectionUnit get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SiteProtectionUnit} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public SiteProtectionUnit get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public SiteProtectionUnit get(@jakarta.annotation.Nullable final java.util.funct /** * The protection units (sites) that are protected under the site protection policy. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * The protection units (sites) that are protected under the site protection policy. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link SiteProtectionUnitItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public SiteProtectionUnitItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new SiteProtectionUnitItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointprotectionpolicies/item/siteprotectionunitsbulkadditionjobs/SiteProtectionUnitsBulkAdditionJobsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointprotectionpolicies/item/siteprotectionunitsbulkadditionjobs/SiteProtectionUnitsBulkAdditionJobsRequestBuilder.java index da620dcec32..5b22815c372 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointprotectionpolicies/item/siteprotectionunitsbulkadditionjobs/SiteProtectionUnitsBulkAdditionJobsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointprotectionpolicies/item/siteprotectionunitsbulkadditionjobs/SiteProtectionUnitsBulkAdditionJobsRequestBuilder.java @@ -25,7 +25,10 @@ public class SiteProtectionUnitsBulkAdditionJobsRequestBuilder extends BaseReque /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -34,8 +37,11 @@ public CountRequestBuilder count() { * Provides operations to manage the siteProtectionUnitsBulkAdditionJobs property of the microsoft.graph.sharePointProtectionPolicy entity. * @param siteProtectionUnitsBulkAdditionJobId The unique identifier of siteProtectionUnitsBulkAdditionJob * @return a {@link SiteProtectionUnitsBulkAdditionJobItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public SiteProtectionUnitsBulkAdditionJobItemRequestBuilder bySiteProtectionUnitsBulkAdditionJobId(@jakarta.annotation.Nonnull final String siteProtectionUnitsBulkAdditionJobId) { Objects.requireNonNull(siteProtectionUnitsBulkAdditionJobId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -62,9 +68,12 @@ public SiteProtectionUnitsBulkAdditionJobsRequestBuilder(@jakarta.annotation.Non * Get a list of siteProtectionUnitsBulkAdditionJobs objects associated with a sharePointProtectionPolicy. * @return a {@link SiteProtectionUnitsBulkAdditionJobCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public SiteProtectionUnitsBulkAdditionJobCollectionResponse get() { return get(null); } @@ -73,9 +82,12 @@ public SiteProtectionUnitsBulkAdditionJobCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SiteProtectionUnitsBulkAdditionJobCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public SiteProtectionUnitsBulkAdditionJobCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -85,8 +97,11 @@ public SiteProtectionUnitsBulkAdditionJobCollectionResponse get(@jakarta.annotat /** * Get a list of siteProtectionUnitsBulkAdditionJobs objects associated with a sharePointProtectionPolicy. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -94,8 +109,11 @@ public RequestInformation toGetRequestInformation() { * Get a list of siteProtectionUnitsBulkAdditionJobs objects associated with a sharePointProtectionPolicy. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -106,8 +124,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link SiteProtectionUnitsBulkAdditionJobsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public SiteProtectionUnitsBulkAdditionJobsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new SiteProtectionUnitsBulkAdditionJobsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointprotectionpolicies/item/siteprotectionunitsbulkadditionjobs/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointprotectionpolicies/item/siteprotectionunitsbulkadditionjobs/count/CountRequestBuilder.java index c0361712fd3..e8900b1b876 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointprotectionpolicies/item/siteprotectionunitsbulkadditionjobs/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointprotectionpolicies/item/siteprotectionunitsbulkadditionjobs/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointprotectionpolicies/item/siteprotectionunitsbulkadditionjobs/item/SiteProtectionUnitsBulkAdditionJobItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointprotectionpolicies/item/siteprotectionunitsbulkadditionjobs/item/SiteProtectionUnitsBulkAdditionJobItemRequestBuilder.java index 665d5be3dad..5087c8f0a24 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointprotectionpolicies/item/siteprotectionunitsbulkadditionjobs/item/SiteProtectionUnitsBulkAdditionJobItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointprotectionpolicies/item/siteprotectionunitsbulkadditionjobs/item/SiteProtectionUnitsBulkAdditionJobItemRequestBuilder.java @@ -40,9 +40,12 @@ public SiteProtectionUnitsBulkAdditionJobItemRequestBuilder(@jakarta.annotation. * Get a siteProtectionUnitsBulkAdditionJob object by the ID associated with a sharePointProtectionPolicy. * @return a {@link SiteProtectionUnitsBulkAdditionJob} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public SiteProtectionUnitsBulkAdditionJob get() { return get(null); } @@ -51,9 +54,12 @@ public SiteProtectionUnitsBulkAdditionJob get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SiteProtectionUnitsBulkAdditionJob} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public SiteProtectionUnitsBulkAdditionJob get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -63,8 +69,11 @@ public SiteProtectionUnitsBulkAdditionJob get(@jakarta.annotation.Nullable final /** * Get a siteProtectionUnitsBulkAdditionJob object by the ID associated with a sharePointProtectionPolicy. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -72,8 +81,11 @@ public RequestInformation toGetRequestInformation() { * Get a siteProtectionUnitsBulkAdditionJob object by the ID associated with a sharePointProtectionPolicy. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -84,8 +96,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link SiteProtectionUnitsBulkAdditionJobItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public SiteProtectionUnitsBulkAdditionJobItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new SiteProtectionUnitsBulkAdditionJobItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointrestoresessions/SharePointRestoreSessionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointrestoresessions/SharePointRestoreSessionsRequestBuilder.java index 680f20984cf..a61b4c329e0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointrestoresessions/SharePointRestoreSessionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointrestoresessions/SharePointRestoreSessionsRequestBuilder.java @@ -26,7 +26,10 @@ public class SharePointRestoreSessionsRequestBuilder extends BaseRequestBuilder /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the sharePointRestoreSessions property of the microsoft.graph.backupRestoreRoot entity. * @param sharePointRestoreSessionId The unique identifier of sharePointRestoreSession * @return a {@link SharePointRestoreSessionItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public SharePointRestoreSessionItemRequestBuilder bySharePointRestoreSessionId(@jakarta.annotation.Nonnull final String sharePointRestoreSessionId) { Objects.requireNonNull(sharePointRestoreSessionId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public SharePointRestoreSessionsRequestBuilder(@jakarta.annotation.Nonnull final * The list of SharePoint restore sessions available in the tenant. * @return a {@link SharePointRestoreSessionCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public SharePointRestoreSessionCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public SharePointRestoreSessionCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SharePointRestoreSessionCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public SharePointRestoreSessionCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,9 +98,12 @@ public SharePointRestoreSessionCollectionResponse get(@jakarta.annotation.Nullab * @param body The request body * @return a {@link SharePointRestoreSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public SharePointRestoreSession post(@jakarta.annotation.Nonnull final SharePointRestoreSession body) { return post(body, null); } @@ -98,9 +113,12 @@ public SharePointRestoreSession post(@jakarta.annotation.Nonnull final SharePoin * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SharePointRestoreSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public SharePointRestoreSession post(@jakarta.annotation.Nonnull final SharePointRestoreSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -111,8 +129,11 @@ public SharePointRestoreSession post(@jakarta.annotation.Nonnull final SharePoin /** * The list of SharePoint restore sessions available in the tenant. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -120,8 +141,11 @@ public RequestInformation toGetRequestInformation() { * The list of SharePoint restore sessions available in the tenant. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -132,8 +156,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create a new sharePointRestoreSession object. To create a granular restore session, granular site restore artifacts must be present in the payload. A request can't include both granularSiteRestoreArtifact and siteRestoreArtifact in the same create or update request. If no payload is provided when you create the restore session, the request creates an empty standard restore session by default. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final SharePointRestoreSession body) { return toPostRequestInformation(body, null); } @@ -142,8 +169,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final SharePointRestoreSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -156,8 +186,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link SharePointRestoreSessionsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public SharePointRestoreSessionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new SharePointRestoreSessionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointrestoresessions/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointrestoresessions/count/CountRequestBuilder.java index 2901db1cb7b..9a244bc8b6a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointrestoresessions/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointrestoresessions/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointrestoresessions/item/SharePointRestoreSessionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointrestoresessions/item/SharePointRestoreSessionItemRequestBuilder.java index 89284a0ae60..c235c00f841 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointrestoresessions/item/SharePointRestoreSessionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointrestoresessions/item/SharePointRestoreSessionItemRequestBuilder.java @@ -26,7 +26,10 @@ public class SharePointRestoreSessionItemRequestBuilder extends BaseRequestBuild /** * Provides operations to manage the granularSiteRestoreArtifacts property of the microsoft.graph.sharePointRestoreSession entity. * @return a {@link GranularSiteRestoreArtifactsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public GranularSiteRestoreArtifactsRequestBuilder granularSiteRestoreArtifacts() { return new GranularSiteRestoreArtifactsRequestBuilder(pathParameters, requestAdapter); @@ -34,7 +37,10 @@ public GranularSiteRestoreArtifactsRequestBuilder granularSiteRestoreArtifacts() /** * Provides operations to manage the siteRestoreArtifacts property of the microsoft.graph.sharePointRestoreSession entity. * @return a {@link SiteRestoreArtifactsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public SiteRestoreArtifactsRequestBuilder siteRestoreArtifacts() { return new SiteRestoreArtifactsRequestBuilder(pathParameters, requestAdapter); @@ -42,7 +48,10 @@ public SiteRestoreArtifactsRequestBuilder siteRestoreArtifacts() { /** * Provides operations to manage the siteRestoreArtifactsBulkAdditionRequests property of the microsoft.graph.sharePointRestoreSession entity. * @return a {@link SiteRestoreArtifactsBulkAdditionRequestsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public SiteRestoreArtifactsBulkAdditionRequestsRequestBuilder siteRestoreArtifactsBulkAdditionRequests() { return new SiteRestoreArtifactsBulkAdditionRequestsRequestBuilder(pathParameters, requestAdapter); @@ -66,7 +75,10 @@ public SharePointRestoreSessionItemRequestBuilder(@jakarta.annotation.Nonnull fi /** * Delete navigation property sharePointRestoreSessions for solutions * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete() { delete(null); } @@ -74,7 +86,10 @@ public void delete() { * Delete navigation property sharePointRestoreSessions for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -85,8 +100,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * The list of SharePoint restore sessions available in the tenant. * @return a {@link SharePointRestoreSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public SharePointRestoreSession get() { return get(null); } @@ -95,8 +113,11 @@ public SharePointRestoreSession get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SharePointRestoreSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public SharePointRestoreSession get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -108,9 +129,12 @@ public SharePointRestoreSession get(@jakarta.annotation.Nullable final java.util * @param body The request body * @return a {@link SharePointRestoreSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public SharePointRestoreSession patch(@jakarta.annotation.Nonnull final SharePointRestoreSession body) { return patch(body, null); } @@ -120,9 +144,12 @@ public SharePointRestoreSession patch(@jakarta.annotation.Nonnull final SharePoi * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SharePointRestoreSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public SharePointRestoreSession patch(@jakarta.annotation.Nonnull final SharePointRestoreSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -133,8 +160,11 @@ public SharePointRestoreSession patch(@jakarta.annotation.Nonnull final SharePoi /** * Delete navigation property sharePointRestoreSessions for solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -142,8 +172,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property sharePointRestoreSessions for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -153,8 +186,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * The list of SharePoint restore sessions available in the tenant. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -162,8 +198,11 @@ public RequestInformation toGetRequestInformation() { * The list of SharePoint restore sessions available in the tenant. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -174,8 +213,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the properties of a sharePointRestoreSession object. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final SharePointRestoreSession body) { return toPatchRequestInformation(body, null); } @@ -184,8 +226,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final SharePointRestoreSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -198,8 +243,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link SharePointRestoreSessionItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public SharePointRestoreSessionItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new SharePointRestoreSessionItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointrestoresessions/item/granularsiterestoreartifacts/GranularSiteRestoreArtifactsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointrestoresessions/item/granularsiterestoreartifacts/GranularSiteRestoreArtifactsRequestBuilder.java index dffd1c72816..2764d34fd47 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointrestoresessions/item/granularsiterestoreartifacts/GranularSiteRestoreArtifactsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointrestoresessions/item/granularsiterestoreartifacts/GranularSiteRestoreArtifactsRequestBuilder.java @@ -26,7 +26,10 @@ public class GranularSiteRestoreArtifactsRequestBuilder extends BaseRequestBuild /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the granularSiteRestoreArtifacts property of the microsoft.graph.sharePointRestoreSession entity. * @param granularSiteRestoreArtifactId The unique identifier of granularSiteRestoreArtifact * @return a {@link GranularSiteRestoreArtifactItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public GranularSiteRestoreArtifactItemRequestBuilder byGranularSiteRestoreArtifactId(@jakarta.annotation.Nonnull final String granularSiteRestoreArtifactId) { Objects.requireNonNull(granularSiteRestoreArtifactId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,9 +69,12 @@ public GranularSiteRestoreArtifactsRequestBuilder(@jakarta.annotation.Nonnull fi * Get a list of the granularSiteRestoreArtifact objects and their properties. * @return a {@link GranularSiteRestoreArtifactCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public GranularSiteRestoreArtifactCollectionResponse get() { return get(null); } @@ -74,9 +83,12 @@ public GranularSiteRestoreArtifactCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GranularSiteRestoreArtifactCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public GranularSiteRestoreArtifactCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -88,8 +100,11 @@ public GranularSiteRestoreArtifactCollectionResponse get(@jakarta.annotation.Nul * @param body The request body * @return a {@link GranularSiteRestoreArtifact} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public GranularSiteRestoreArtifact post(@jakarta.annotation.Nonnull final GranularSiteRestoreArtifact body) { return post(body, null); } @@ -99,8 +114,11 @@ public GranularSiteRestoreArtifact post(@jakarta.annotation.Nonnull final Granul * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GranularSiteRestoreArtifact} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public GranularSiteRestoreArtifact post(@jakarta.annotation.Nonnull final GranularSiteRestoreArtifact body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -111,8 +129,11 @@ public GranularSiteRestoreArtifact post(@jakarta.annotation.Nonnull final Granul /** * Get a list of the granularSiteRestoreArtifact objects and their properties. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -120,8 +141,11 @@ public RequestInformation toGetRequestInformation() { * Get a list of the granularSiteRestoreArtifact objects and their properties. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -132,8 +156,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to granularSiteRestoreArtifacts for solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GranularSiteRestoreArtifact body) { return toPostRequestInformation(body, null); } @@ -142,8 +169,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GranularSiteRestoreArtifact body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -156,8 +186,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link GranularSiteRestoreArtifactsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public GranularSiteRestoreArtifactsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new GranularSiteRestoreArtifactsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointrestoresessions/item/granularsiterestoreartifacts/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointrestoresessions/item/granularsiterestoreartifacts/count/CountRequestBuilder.java index 6ebbf3f54cc..e06c85b8d06 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointrestoresessions/item/granularsiterestoreartifacts/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointrestoresessions/item/granularsiterestoreartifacts/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointrestoresessions/item/granularsiterestoreartifacts/item/GranularSiteRestoreArtifactItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointrestoresessions/item/granularsiterestoreartifacts/item/GranularSiteRestoreArtifactItemRequestBuilder.java index 6c4380d15be..93ba8746cd7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointrestoresessions/item/granularsiterestoreartifacts/item/GranularSiteRestoreArtifactItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointrestoresessions/item/granularsiterestoreartifacts/item/GranularSiteRestoreArtifactItemRequestBuilder.java @@ -39,7 +39,10 @@ public GranularSiteRestoreArtifactItemRequestBuilder(@jakarta.annotation.Nonnull /** * Delete navigation property granularSiteRestoreArtifacts for solutions * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete() { delete(null); } @@ -47,7 +50,10 @@ public void delete() { * Delete navigation property granularSiteRestoreArtifacts for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -58,8 +64,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * A collection of browse session id and item key details that can be used to restore SharePoint files and folders. * @return a {@link GranularSiteRestoreArtifact} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public GranularSiteRestoreArtifact get() { return get(null); } @@ -68,8 +77,11 @@ public GranularSiteRestoreArtifact get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GranularSiteRestoreArtifact} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public GranularSiteRestoreArtifact get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -81,8 +93,11 @@ public GranularSiteRestoreArtifact get(@jakarta.annotation.Nullable final java.u * @param body The request body * @return a {@link GranularSiteRestoreArtifact} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public GranularSiteRestoreArtifact patch(@jakarta.annotation.Nonnull final GranularSiteRestoreArtifact body) { return patch(body, null); } @@ -92,8 +107,11 @@ public GranularSiteRestoreArtifact patch(@jakarta.annotation.Nonnull final Granu * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GranularSiteRestoreArtifact} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public GranularSiteRestoreArtifact patch(@jakarta.annotation.Nonnull final GranularSiteRestoreArtifact body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -104,8 +122,11 @@ public GranularSiteRestoreArtifact patch(@jakarta.annotation.Nonnull final Granu /** * Delete navigation property granularSiteRestoreArtifacts for solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -113,8 +134,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property granularSiteRestoreArtifacts for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * A collection of browse session id and item key details that can be used to restore SharePoint files and folders. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -133,8 +160,11 @@ public RequestInformation toGetRequestInformation() { * A collection of browse session id and item key details that can be used to restore SharePoint files and folders. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -145,8 +175,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property granularSiteRestoreArtifacts in solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final GranularSiteRestoreArtifact body) { return toPatchRequestInformation(body, null); } @@ -155,8 +188,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final GranularSiteRestoreArtifact body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -169,8 +205,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link GranularSiteRestoreArtifactItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public GranularSiteRestoreArtifactItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new GranularSiteRestoreArtifactItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointrestoresessions/item/siterestoreartifacts/SiteRestoreArtifactsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointrestoresessions/item/siterestoreartifacts/SiteRestoreArtifactsRequestBuilder.java index 5abe73fc581..97887a66ec5 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointrestoresessions/item/siterestoreartifacts/SiteRestoreArtifactsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointrestoresessions/item/siterestoreartifacts/SiteRestoreArtifactsRequestBuilder.java @@ -26,7 +26,10 @@ public class SiteRestoreArtifactsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the siteRestoreArtifacts property of the microsoft.graph.sharePointRestoreSession entity. * @param siteRestoreArtifactId The unique identifier of siteRestoreArtifact * @return a {@link SiteRestoreArtifactItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public SiteRestoreArtifactItemRequestBuilder bySiteRestoreArtifactId(@jakarta.annotation.Nonnull final String siteRestoreArtifactId) { Objects.requireNonNull(siteRestoreArtifactId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,9 +69,12 @@ public SiteRestoreArtifactsRequestBuilder(@jakarta.annotation.Nonnull final Stri * List all the siteRestoreArtifact objects for a sharePointRestoreSession for the tenant. * @return a {@link SiteRestoreArtifactCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public SiteRestoreArtifactCollectionResponse get() { return get(null); } @@ -74,9 +83,12 @@ public SiteRestoreArtifactCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SiteRestoreArtifactCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public SiteRestoreArtifactCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -88,8 +100,11 @@ public SiteRestoreArtifactCollectionResponse get(@jakarta.annotation.Nullable fi * @param body The request body * @return a {@link SiteRestoreArtifact} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public SiteRestoreArtifact post(@jakarta.annotation.Nonnull final SiteRestoreArtifact body) { return post(body, null); } @@ -99,8 +114,11 @@ public SiteRestoreArtifact post(@jakarta.annotation.Nonnull final SiteRestoreArt * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SiteRestoreArtifact} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public SiteRestoreArtifact post(@jakarta.annotation.Nonnull final SiteRestoreArtifact body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -111,8 +129,11 @@ public SiteRestoreArtifact post(@jakarta.annotation.Nonnull final SiteRestoreArt /** * List all the siteRestoreArtifact objects for a sharePointRestoreSession for the tenant. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -120,8 +141,11 @@ public RequestInformation toGetRequestInformation() { * List all the siteRestoreArtifact objects for a sharePointRestoreSession for the tenant. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -132,8 +156,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to siteRestoreArtifacts for solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final SiteRestoreArtifact body) { return toPostRequestInformation(body, null); } @@ -142,8 +169,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final SiteRestoreArtifact body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -156,8 +186,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link SiteRestoreArtifactsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public SiteRestoreArtifactsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new SiteRestoreArtifactsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointrestoresessions/item/siterestoreartifacts/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointrestoresessions/item/siterestoreartifacts/count/CountRequestBuilder.java index b2436ffee67..d427cb4df10 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointrestoresessions/item/siterestoreartifacts/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointrestoresessions/item/siterestoreartifacts/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointrestoresessions/item/siterestoreartifacts/item/SiteRestoreArtifactItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointrestoresessions/item/siterestoreartifacts/item/SiteRestoreArtifactItemRequestBuilder.java index c700e533e4e..6edf71f4e65 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointrestoresessions/item/siterestoreartifacts/item/SiteRestoreArtifactItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointrestoresessions/item/siterestoreartifacts/item/SiteRestoreArtifactItemRequestBuilder.java @@ -24,7 +24,10 @@ public class SiteRestoreArtifactItemRequestBuilder extends BaseRequestBuilder { /** * Provides operations to manage the restorePoint property of the microsoft.graph.restoreArtifactBase entity. * @return a {@link RestorePointRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public RestorePointRequestBuilder restorePoint() { return new RestorePointRequestBuilder(pathParameters, requestAdapter); @@ -48,7 +51,10 @@ public SiteRestoreArtifactItemRequestBuilder(@jakarta.annotation.Nonnull final S /** * Delete navigation property siteRestoreArtifacts for solutions * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete() { delete(null); } @@ -56,7 +62,10 @@ public void delete() { * Delete navigation property siteRestoreArtifacts for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -67,8 +76,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * A collection of restore points and destination details that can be used to restore SharePoint sites. * @return a {@link SiteRestoreArtifact} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public SiteRestoreArtifact get() { return get(null); } @@ -77,8 +89,11 @@ public SiteRestoreArtifact get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SiteRestoreArtifact} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public SiteRestoreArtifact get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -90,8 +105,11 @@ public SiteRestoreArtifact get(@jakarta.annotation.Nullable final java.util.func * @param body The request body * @return a {@link SiteRestoreArtifact} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public SiteRestoreArtifact patch(@jakarta.annotation.Nonnull final SiteRestoreArtifact body) { return patch(body, null); } @@ -101,8 +119,11 @@ public SiteRestoreArtifact patch(@jakarta.annotation.Nonnull final SiteRestoreAr * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SiteRestoreArtifact} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public SiteRestoreArtifact patch(@jakarta.annotation.Nonnull final SiteRestoreArtifact body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -113,8 +134,11 @@ public SiteRestoreArtifact patch(@jakarta.annotation.Nonnull final SiteRestoreAr /** * Delete navigation property siteRestoreArtifacts for solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -122,8 +146,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property siteRestoreArtifacts for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -133,8 +160,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * A collection of restore points and destination details that can be used to restore SharePoint sites. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -142,8 +172,11 @@ public RequestInformation toGetRequestInformation() { * A collection of restore points and destination details that can be used to restore SharePoint sites. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -154,8 +187,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property siteRestoreArtifacts in solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final SiteRestoreArtifact body) { return toPatchRequestInformation(body, null); } @@ -164,8 +200,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final SiteRestoreArtifact body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -178,8 +217,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link SiteRestoreArtifactItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public SiteRestoreArtifactItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new SiteRestoreArtifactItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointrestoresessions/item/siterestoreartifacts/item/restorepoint/RestorePointRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointrestoresessions/item/siterestoreartifacts/item/restorepoint/RestorePointRequestBuilder.java index 58878c95285..068fef0ac76 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointrestoresessions/item/siterestoreartifacts/item/restorepoint/RestorePointRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointrestoresessions/item/siterestoreartifacts/item/restorepoint/RestorePointRequestBuilder.java @@ -40,8 +40,11 @@ public RestorePointRequestBuilder(@jakarta.annotation.Nonnull final String rawUr * Represents the date and time when an artifact is protected by a protectionPolicy and can be restored. * @return a {@link RestorePoint} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public RestorePoint get() { return get(null); } @@ -50,8 +53,11 @@ public RestorePoint get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RestorePoint} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public RestorePoint get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public RestorePoint get(@jakarta.annotation.Nullable final java.util.function.Co /** * Represents the date and time when an artifact is protected by a protectionPolicy and can be restored. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * Represents the date and time when an artifact is protected by a protectionPolicy and can be restored. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RestorePointRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RestorePointRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RestorePointRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointrestoresessions/item/siterestoreartifactsbulkadditionrequests/SiteRestoreArtifactsBulkAdditionRequestsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointrestoresessions/item/siterestoreartifactsbulkadditionrequests/SiteRestoreArtifactsBulkAdditionRequestsRequestBuilder.java index 00cce482023..00ca3886f02 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointrestoresessions/item/siterestoreartifactsbulkadditionrequests/SiteRestoreArtifactsBulkAdditionRequestsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointrestoresessions/item/siterestoreartifactsbulkadditionrequests/SiteRestoreArtifactsBulkAdditionRequestsRequestBuilder.java @@ -26,7 +26,10 @@ public class SiteRestoreArtifactsBulkAdditionRequestsRequestBuilder extends Base /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the siteRestoreArtifactsBulkAdditionRequests property of the microsoft.graph.sharePointRestoreSession entity. * @param siteRestoreArtifactsBulkAdditionRequestId The unique identifier of siteRestoreArtifactsBulkAdditionRequest * @return a {@link SiteRestoreArtifactsBulkAdditionRequestItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public SiteRestoreArtifactsBulkAdditionRequestItemRequestBuilder bySiteRestoreArtifactsBulkAdditionRequestId(@jakarta.annotation.Nonnull final String siteRestoreArtifactsBulkAdditionRequestId) { Objects.requireNonNull(siteRestoreArtifactsBulkAdditionRequestId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,9 +69,12 @@ public SiteRestoreArtifactsBulkAdditionRequestsRequestBuilder(@jakarta.annotatio * Get a list of the siteRestoreArtifactsBulkAdditionRequest objects associated with a sharePointRestoreSession. The siteWebUrls property is deliberately omitted from the response body in order to limit the response size. * @return a {@link SiteRestoreArtifactsBulkAdditionRequestCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public SiteRestoreArtifactsBulkAdditionRequestCollectionResponse get() { return get(null); } @@ -74,9 +83,12 @@ public SiteRestoreArtifactsBulkAdditionRequestCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SiteRestoreArtifactsBulkAdditionRequestCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public SiteRestoreArtifactsBulkAdditionRequestCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -88,9 +100,12 @@ public SiteRestoreArtifactsBulkAdditionRequestCollectionResponse get(@jakarta.an * @param body The request body * @return a {@link SiteRestoreArtifactsBulkAdditionRequest} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public SiteRestoreArtifactsBulkAdditionRequest post(@jakarta.annotation.Nonnull final SiteRestoreArtifactsBulkAdditionRequest body) { return post(body, null); } @@ -100,9 +115,12 @@ public SiteRestoreArtifactsBulkAdditionRequest post(@jakarta.annotation.Nonnull * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SiteRestoreArtifactsBulkAdditionRequest} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public SiteRestoreArtifactsBulkAdditionRequest post(@jakarta.annotation.Nonnull final SiteRestoreArtifactsBulkAdditionRequest body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -113,8 +131,11 @@ public SiteRestoreArtifactsBulkAdditionRequest post(@jakarta.annotation.Nonnull /** * Get a list of the siteRestoreArtifactsBulkAdditionRequest objects associated with a sharePointRestoreSession. The siteWebUrls property is deliberately omitted from the response body in order to limit the response size. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -122,8 +143,11 @@ public RequestInformation toGetRequestInformation() { * Get a list of the siteRestoreArtifactsBulkAdditionRequest objects associated with a sharePointRestoreSession. The siteWebUrls property is deliberately omitted from the response body in order to limit the response size. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -134,8 +158,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create a new siteRestoreArtifactsBulkAdditionRequest object associated with a sharePointRestoreSession. The following steps describe how to create and manage a sharePointRestoreSession with bulk artifact additions: * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final SiteRestoreArtifactsBulkAdditionRequest body) { return toPostRequestInformation(body, null); } @@ -144,8 +171,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final SiteRestoreArtifactsBulkAdditionRequest body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -158,8 +188,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link SiteRestoreArtifactsBulkAdditionRequestsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public SiteRestoreArtifactsBulkAdditionRequestsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new SiteRestoreArtifactsBulkAdditionRequestsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointrestoresessions/item/siterestoreartifactsbulkadditionrequests/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointrestoresessions/item/siterestoreartifactsbulkadditionrequests/count/CountRequestBuilder.java index 4a0ada1b171..e089da334a7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointrestoresessions/item/siterestoreartifactsbulkadditionrequests/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointrestoresessions/item/siterestoreartifactsbulkadditionrequests/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointrestoresessions/item/siterestoreartifactsbulkadditionrequests/item/SiteRestoreArtifactsBulkAdditionRequestItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointrestoresessions/item/siterestoreartifactsbulkadditionrequests/item/SiteRestoreArtifactsBulkAdditionRequestItemRequestBuilder.java index 8e34d952712..b1d83321d00 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointrestoresessions/item/siterestoreartifactsbulkadditionrequests/item/SiteRestoreArtifactsBulkAdditionRequestItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/sharepointrestoresessions/item/siterestoreartifactsbulkadditionrequests/item/SiteRestoreArtifactsBulkAdditionRequestItemRequestBuilder.java @@ -39,8 +39,11 @@ public SiteRestoreArtifactsBulkAdditionRequestItemRequestBuilder(@jakarta.annota /** * Delete a siteRestoreArtifactsBulkAdditionRequest object associated with a sharepointRestoreSession. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ + @Deprecated public void delete() { delete(null); } @@ -48,8 +51,11 @@ public void delete() { * Delete a siteRestoreArtifactsBulkAdditionRequest object associated with a sharepointRestoreSession. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,9 +66,12 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Get a siteRestoreArtifactsBulkAdditionRequest object by its id, associated with a sharePointRestoreSession. * @return a {@link SiteRestoreArtifactsBulkAdditionRequest} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public SiteRestoreArtifactsBulkAdditionRequest get() { return get(null); } @@ -71,9 +80,12 @@ public SiteRestoreArtifactsBulkAdditionRequest get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SiteRestoreArtifactsBulkAdditionRequest} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public SiteRestoreArtifactsBulkAdditionRequest get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -85,8 +97,11 @@ public SiteRestoreArtifactsBulkAdditionRequest get(@jakarta.annotation.Nullable * @param body The request body * @return a {@link SiteRestoreArtifactsBulkAdditionRequest} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public SiteRestoreArtifactsBulkAdditionRequest patch(@jakarta.annotation.Nonnull final SiteRestoreArtifactsBulkAdditionRequest body) { return patch(body, null); } @@ -96,8 +111,11 @@ public SiteRestoreArtifactsBulkAdditionRequest patch(@jakarta.annotation.Nonnull * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SiteRestoreArtifactsBulkAdditionRequest} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public SiteRestoreArtifactsBulkAdditionRequest patch(@jakarta.annotation.Nonnull final SiteRestoreArtifactsBulkAdditionRequest body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -108,8 +126,11 @@ public SiteRestoreArtifactsBulkAdditionRequest patch(@jakarta.annotation.Nonnull /** * Delete a siteRestoreArtifactsBulkAdditionRequest object associated with a sharepointRestoreSession. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -117,8 +138,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete a siteRestoreArtifactsBulkAdditionRequest object associated with a sharepointRestoreSession. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -128,8 +152,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Get a siteRestoreArtifactsBulkAdditionRequest object by its id, associated with a sharePointRestoreSession. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -137,8 +164,11 @@ public RequestInformation toGetRequestInformation() { * Get a siteRestoreArtifactsBulkAdditionRequest object by its id, associated with a sharePointRestoreSession. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -149,8 +179,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property siteRestoreArtifactsBulkAdditionRequests in solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final SiteRestoreArtifactsBulkAdditionRequest body) { return toPatchRequestInformation(body, null); } @@ -159,8 +192,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final SiteRestoreArtifactsBulkAdditionRequest body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -173,8 +209,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link SiteRestoreArtifactsBulkAdditionRequestItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public SiteRestoreArtifactsBulkAdditionRequestItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new SiteRestoreArtifactsBulkAdditionRequestItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/siteexclusionunits/SiteExclusionUnitsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/siteexclusionunits/SiteExclusionUnitsRequestBuilder.java index 50ae23582d0..3c284717730 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/siteexclusionunits/SiteExclusionUnitsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/siteexclusionunits/SiteExclusionUnitsRequestBuilder.java @@ -26,7 +26,10 @@ public class SiteExclusionUnitsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the siteExclusionUnits property of the microsoft.graph.backupRestoreRoot entity. * @param siteExclusionUnitId The unique identifier of siteExclusionUnit * @return a {@link SiteExclusionUnitItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public SiteExclusionUnitItemRequestBuilder bySiteExclusionUnitId(@jakarta.annotation.Nonnull final String siteExclusionUnitId) { Objects.requireNonNull(siteExclusionUnitId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public SiteExclusionUnitsRequestBuilder(@jakarta.annotation.Nonnull final String * The list of site exclusion units in the tenant. * @return a {@link SiteExclusionUnitCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public SiteExclusionUnitCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public SiteExclusionUnitCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SiteExclusionUnitCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public SiteExclusionUnitCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public SiteExclusionUnitCollectionResponse get(@jakarta.annotation.Nullable fina * @param body The request body * @return a {@link SiteExclusionUnit} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public SiteExclusionUnit post(@jakarta.annotation.Nonnull final SiteExclusionUnit body) { return post(body, null); } @@ -97,8 +112,11 @@ public SiteExclusionUnit post(@jakarta.annotation.Nonnull final SiteExclusionUni * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SiteExclusionUnit} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public SiteExclusionUnit post(@jakarta.annotation.Nonnull final SiteExclusionUnit body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public SiteExclusionUnit post(@jakarta.annotation.Nonnull final SiteExclusionUni /** * The list of site exclusion units in the tenant. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * The list of site exclusion units in the tenant. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to siteExclusionUnits for solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final SiteExclusionUnit body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final SiteExclusionUnit body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link SiteExclusionUnitsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public SiteExclusionUnitsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new SiteExclusionUnitsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/siteexclusionunits/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/siteexclusionunits/count/CountRequestBuilder.java index a25bfa13906..9cf835d812b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/siteexclusionunits/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/siteexclusionunits/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/siteexclusionunits/item/SiteExclusionUnitItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/siteexclusionunits/item/SiteExclusionUnitItemRequestBuilder.java index d0121580bbd..f47dd4c61a3 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/siteexclusionunits/item/SiteExclusionUnitItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/siteexclusionunits/item/SiteExclusionUnitItemRequestBuilder.java @@ -39,7 +39,10 @@ public SiteExclusionUnitItemRequestBuilder(@jakarta.annotation.Nonnull final Str /** * Delete navigation property siteExclusionUnits for solutions * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete() { delete(null); } @@ -47,7 +50,10 @@ public void delete() { * Delete navigation property siteExclusionUnits for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -58,8 +64,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * The list of site exclusion units in the tenant. * @return a {@link SiteExclusionUnit} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public SiteExclusionUnit get() { return get(null); } @@ -68,8 +77,11 @@ public SiteExclusionUnit get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SiteExclusionUnit} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public SiteExclusionUnit get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -81,8 +93,11 @@ public SiteExclusionUnit get(@jakarta.annotation.Nullable final java.util.functi * @param body The request body * @return a {@link SiteExclusionUnit} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public SiteExclusionUnit patch(@jakarta.annotation.Nonnull final SiteExclusionUnit body) { return patch(body, null); } @@ -92,8 +107,11 @@ public SiteExclusionUnit patch(@jakarta.annotation.Nonnull final SiteExclusionUn * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SiteExclusionUnit} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public SiteExclusionUnit patch(@jakarta.annotation.Nonnull final SiteExclusionUnit body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -104,8 +122,11 @@ public SiteExclusionUnit patch(@jakarta.annotation.Nonnull final SiteExclusionUn /** * Delete navigation property siteExclusionUnits for solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -113,8 +134,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property siteExclusionUnits for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * The list of site exclusion units in the tenant. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -133,8 +160,11 @@ public RequestInformation toGetRequestInformation() { * The list of site exclusion units in the tenant. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -145,8 +175,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property siteExclusionUnits in solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final SiteExclusionUnit body) { return toPatchRequestInformation(body, null); } @@ -155,8 +188,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final SiteExclusionUnit body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -169,8 +205,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link SiteExclusionUnitItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public SiteExclusionUnitItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new SiteExclusionUnitItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/siteexclusionunitsbulkadditionjobs/SiteExclusionUnitsBulkAdditionJobsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/siteexclusionunitsbulkadditionjobs/SiteExclusionUnitsBulkAdditionJobsRequestBuilder.java index c6f64c2858a..97faaffe454 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/siteexclusionunitsbulkadditionjobs/SiteExclusionUnitsBulkAdditionJobsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/siteexclusionunitsbulkadditionjobs/SiteExclusionUnitsBulkAdditionJobsRequestBuilder.java @@ -26,7 +26,10 @@ public class SiteExclusionUnitsBulkAdditionJobsRequestBuilder extends BaseReques /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the siteExclusionUnitsBulkAdditionJobs property of the microsoft.graph.backupRestoreRoot entity. * @param siteExclusionUnitsBulkAdditionJobId The unique identifier of siteExclusionUnitsBulkAdditionJob * @return a {@link SiteExclusionUnitsBulkAdditionJobItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public SiteExclusionUnitsBulkAdditionJobItemRequestBuilder bySiteExclusionUnitsBulkAdditionJobId(@jakarta.annotation.Nonnull final String siteExclusionUnitsBulkAdditionJobId) { Objects.requireNonNull(siteExclusionUnitsBulkAdditionJobId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public SiteExclusionUnitsBulkAdditionJobsRequestBuilder(@jakarta.annotation.Nonn * The list of bulk addition jobs for site exclusion units in the tenant. * @return a {@link SiteExclusionUnitsBulkAdditionJobCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public SiteExclusionUnitsBulkAdditionJobCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public SiteExclusionUnitsBulkAdditionJobCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SiteExclusionUnitsBulkAdditionJobCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public SiteExclusionUnitsBulkAdditionJobCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public SiteExclusionUnitsBulkAdditionJobCollectionResponse get(@jakarta.annotati * @param body The request body * @return a {@link SiteExclusionUnitsBulkAdditionJob} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public SiteExclusionUnitsBulkAdditionJob post(@jakarta.annotation.Nonnull final SiteExclusionUnitsBulkAdditionJob body) { return post(body, null); } @@ -97,8 +112,11 @@ public SiteExclusionUnitsBulkAdditionJob post(@jakarta.annotation.Nonnull final * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SiteExclusionUnitsBulkAdditionJob} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public SiteExclusionUnitsBulkAdditionJob post(@jakarta.annotation.Nonnull final SiteExclusionUnitsBulkAdditionJob body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public SiteExclusionUnitsBulkAdditionJob post(@jakarta.annotation.Nonnull final /** * The list of bulk addition jobs for site exclusion units in the tenant. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * The list of bulk addition jobs for site exclusion units in the tenant. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to siteExclusionUnitsBulkAdditionJobs for solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final SiteExclusionUnitsBulkAdditionJob body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final SiteExclusionUnitsBulkAdditionJob body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link SiteExclusionUnitsBulkAdditionJobsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public SiteExclusionUnitsBulkAdditionJobsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new SiteExclusionUnitsBulkAdditionJobsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/siteexclusionunitsbulkadditionjobs/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/siteexclusionunitsbulkadditionjobs/count/CountRequestBuilder.java index 06d5bbf4c57..3a24f1581dd 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/siteexclusionunitsbulkadditionjobs/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/siteexclusionunitsbulkadditionjobs/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/siteexclusionunitsbulkadditionjobs/item/SiteExclusionUnitsBulkAdditionJobItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/siteexclusionunitsbulkadditionjobs/item/SiteExclusionUnitsBulkAdditionJobItemRequestBuilder.java index 08804d54c49..0936de486a9 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/siteexclusionunitsbulkadditionjobs/item/SiteExclusionUnitsBulkAdditionJobItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/siteexclusionunitsbulkadditionjobs/item/SiteExclusionUnitsBulkAdditionJobItemRequestBuilder.java @@ -39,7 +39,10 @@ public SiteExclusionUnitsBulkAdditionJobItemRequestBuilder(@jakarta.annotation.N /** * Delete navigation property siteExclusionUnitsBulkAdditionJobs for solutions * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete() { delete(null); } @@ -47,7 +50,10 @@ public void delete() { * Delete navigation property siteExclusionUnitsBulkAdditionJobs for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -58,8 +64,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * The list of bulk addition jobs for site exclusion units in the tenant. * @return a {@link SiteExclusionUnitsBulkAdditionJob} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public SiteExclusionUnitsBulkAdditionJob get() { return get(null); } @@ -68,8 +77,11 @@ public SiteExclusionUnitsBulkAdditionJob get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SiteExclusionUnitsBulkAdditionJob} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public SiteExclusionUnitsBulkAdditionJob get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -81,8 +93,11 @@ public SiteExclusionUnitsBulkAdditionJob get(@jakarta.annotation.Nullable final * @param body The request body * @return a {@link SiteExclusionUnitsBulkAdditionJob} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public SiteExclusionUnitsBulkAdditionJob patch(@jakarta.annotation.Nonnull final SiteExclusionUnitsBulkAdditionJob body) { return patch(body, null); } @@ -92,8 +107,11 @@ public SiteExclusionUnitsBulkAdditionJob patch(@jakarta.annotation.Nonnull final * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SiteExclusionUnitsBulkAdditionJob} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public SiteExclusionUnitsBulkAdditionJob patch(@jakarta.annotation.Nonnull final SiteExclusionUnitsBulkAdditionJob body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -104,8 +122,11 @@ public SiteExclusionUnitsBulkAdditionJob patch(@jakarta.annotation.Nonnull final /** * Delete navigation property siteExclusionUnitsBulkAdditionJobs for solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -113,8 +134,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property siteExclusionUnitsBulkAdditionJobs for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * The list of bulk addition jobs for site exclusion units in the tenant. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -133,8 +160,11 @@ public RequestInformation toGetRequestInformation() { * The list of bulk addition jobs for site exclusion units in the tenant. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -145,8 +175,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property siteExclusionUnitsBulkAdditionJobs in solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final SiteExclusionUnitsBulkAdditionJob body) { return toPatchRequestInformation(body, null); } @@ -155,8 +188,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final SiteExclusionUnitsBulkAdditionJob body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -169,8 +205,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link SiteExclusionUnitsBulkAdditionJobItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public SiteExclusionUnitsBulkAdditionJobItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new SiteExclusionUnitsBulkAdditionJobItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/siteinclusionrules/SiteInclusionRulesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/siteinclusionrules/SiteInclusionRulesRequestBuilder.java index d640e35b57f..1a29d6605a6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/siteinclusionrules/SiteInclusionRulesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/siteinclusionrules/SiteInclusionRulesRequestBuilder.java @@ -26,7 +26,10 @@ public class SiteInclusionRulesRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the siteInclusionRules property of the microsoft.graph.backupRestoreRoot entity. * @param siteProtectionRuleId The unique identifier of siteProtectionRule * @return a {@link SiteProtectionRuleItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public SiteProtectionRuleItemRequestBuilder bySiteProtectionRuleId(@jakarta.annotation.Nonnull final String siteProtectionRuleId) { Objects.requireNonNull(siteProtectionRuleId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public SiteInclusionRulesRequestBuilder(@jakarta.annotation.Nonnull final String * The list of site inclusion rules applied to the tenant. * @return a {@link SiteProtectionRuleCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public SiteProtectionRuleCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public SiteProtectionRuleCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SiteProtectionRuleCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public SiteProtectionRuleCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public SiteProtectionRuleCollectionResponse get(@jakarta.annotation.Nullable fin * @param body The request body * @return a {@link SiteProtectionRule} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public SiteProtectionRule post(@jakarta.annotation.Nonnull final SiteProtectionRule body) { return post(body, null); } @@ -97,8 +112,11 @@ public SiteProtectionRule post(@jakarta.annotation.Nonnull final SiteProtectionR * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SiteProtectionRule} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public SiteProtectionRule post(@jakarta.annotation.Nonnull final SiteProtectionRule body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public SiteProtectionRule post(@jakarta.annotation.Nonnull final SiteProtectionR /** * The list of site inclusion rules applied to the tenant. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * The list of site inclusion rules applied to the tenant. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to siteInclusionRules for solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final SiteProtectionRule body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final SiteProtectionRule body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link SiteInclusionRulesRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public SiteInclusionRulesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new SiteInclusionRulesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/siteinclusionrules/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/siteinclusionrules/count/CountRequestBuilder.java index e68396b9a36..bc601c747b9 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/siteinclusionrules/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/siteinclusionrules/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/siteinclusionrules/item/SiteProtectionRuleItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/siteinclusionrules/item/SiteProtectionRuleItemRequestBuilder.java index c20c03c47e9..31969d9f1f5 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/siteinclusionrules/item/SiteProtectionRuleItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/siteinclusionrules/item/SiteProtectionRuleItemRequestBuilder.java @@ -39,7 +39,10 @@ public SiteProtectionRuleItemRequestBuilder(@jakarta.annotation.Nonnull final St /** * Delete navigation property siteInclusionRules for solutions * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete() { delete(null); } @@ -47,7 +50,10 @@ public void delete() { * Delete navigation property siteInclusionRules for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -58,8 +64,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * The list of site inclusion rules applied to the tenant. * @return a {@link SiteProtectionRule} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public SiteProtectionRule get() { return get(null); } @@ -68,8 +77,11 @@ public SiteProtectionRule get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SiteProtectionRule} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public SiteProtectionRule get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -81,8 +93,11 @@ public SiteProtectionRule get(@jakarta.annotation.Nullable final java.util.funct * @param body The request body * @return a {@link SiteProtectionRule} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public SiteProtectionRule patch(@jakarta.annotation.Nonnull final SiteProtectionRule body) { return patch(body, null); } @@ -92,8 +107,11 @@ public SiteProtectionRule patch(@jakarta.annotation.Nonnull final SiteProtection * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SiteProtectionRule} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public SiteProtectionRule patch(@jakarta.annotation.Nonnull final SiteProtectionRule body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -104,8 +122,11 @@ public SiteProtectionRule patch(@jakarta.annotation.Nonnull final SiteProtection /** * Delete navigation property siteInclusionRules for solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -113,8 +134,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property siteInclusionRules for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * The list of site inclusion rules applied to the tenant. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -133,8 +160,11 @@ public RequestInformation toGetRequestInformation() { * The list of site inclusion rules applied to the tenant. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -145,8 +175,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property siteInclusionRules in solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final SiteProtectionRule body) { return toPatchRequestInformation(body, null); } @@ -155,8 +188,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final SiteProtectionRule body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -169,8 +205,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link SiteProtectionRuleItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public SiteProtectionRuleItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new SiteProtectionRuleItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/siteprotectionunits/SiteProtectionUnitsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/siteprotectionunits/SiteProtectionUnitsRequestBuilder.java index b8db73d222c..3e643fcc894 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/siteprotectionunits/SiteProtectionUnitsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/siteprotectionunits/SiteProtectionUnitsRequestBuilder.java @@ -26,7 +26,10 @@ public class SiteProtectionUnitsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the siteProtectionUnits property of the microsoft.graph.backupRestoreRoot entity. * @param siteProtectionUnitId The unique identifier of siteProtectionUnit * @return a {@link SiteProtectionUnitItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public SiteProtectionUnitItemRequestBuilder bySiteProtectionUnitId(@jakarta.annotation.Nonnull final String siteProtectionUnitId) { Objects.requireNonNull(siteProtectionUnitId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public SiteProtectionUnitsRequestBuilder(@jakarta.annotation.Nonnull final Strin * The list of site protection units in the tenant. * @return a {@link SiteProtectionUnitCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public SiteProtectionUnitCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public SiteProtectionUnitCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SiteProtectionUnitCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public SiteProtectionUnitCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public SiteProtectionUnitCollectionResponse get(@jakarta.annotation.Nullable fin * @param body The request body * @return a {@link SiteProtectionUnit} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public SiteProtectionUnit post(@jakarta.annotation.Nonnull final SiteProtectionUnit body) { return post(body, null); } @@ -97,8 +112,11 @@ public SiteProtectionUnit post(@jakarta.annotation.Nonnull final SiteProtectionU * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SiteProtectionUnit} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public SiteProtectionUnit post(@jakarta.annotation.Nonnull final SiteProtectionUnit body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public SiteProtectionUnit post(@jakarta.annotation.Nonnull final SiteProtectionU /** * The list of site protection units in the tenant. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * The list of site protection units in the tenant. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to siteProtectionUnits for solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final SiteProtectionUnit body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final SiteProtectionUnit body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link SiteProtectionUnitsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public SiteProtectionUnitsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new SiteProtectionUnitsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/siteprotectionunits/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/siteprotectionunits/count/CountRequestBuilder.java index 01f809b9f09..09eeec071dd 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/siteprotectionunits/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/siteprotectionunits/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/siteprotectionunits/item/SiteProtectionUnitItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/siteprotectionunits/item/SiteProtectionUnitItemRequestBuilder.java index 2fb5fb92bce..3f1bad3bc8f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/siteprotectionunits/item/SiteProtectionUnitItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/siteprotectionunits/item/SiteProtectionUnitItemRequestBuilder.java @@ -39,7 +39,10 @@ public SiteProtectionUnitItemRequestBuilder(@jakarta.annotation.Nonnull final St /** * Delete navigation property siteProtectionUnits for solutions * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete() { delete(null); } @@ -47,7 +50,10 @@ public void delete() { * Delete navigation property siteProtectionUnits for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -58,8 +64,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * The list of site protection units in the tenant. * @return a {@link SiteProtectionUnit} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public SiteProtectionUnit get() { return get(null); } @@ -68,8 +77,11 @@ public SiteProtectionUnit get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SiteProtectionUnit} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public SiteProtectionUnit get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -81,8 +93,11 @@ public SiteProtectionUnit get(@jakarta.annotation.Nullable final java.util.funct * @param body The request body * @return a {@link SiteProtectionUnit} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public SiteProtectionUnit patch(@jakarta.annotation.Nonnull final SiteProtectionUnit body) { return patch(body, null); } @@ -92,8 +107,11 @@ public SiteProtectionUnit patch(@jakarta.annotation.Nonnull final SiteProtection * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SiteProtectionUnit} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public SiteProtectionUnit patch(@jakarta.annotation.Nonnull final SiteProtectionUnit body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -104,8 +122,11 @@ public SiteProtectionUnit patch(@jakarta.annotation.Nonnull final SiteProtection /** * Delete navigation property siteProtectionUnits for solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -113,8 +134,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property siteProtectionUnits for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * The list of site protection units in the tenant. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -133,8 +160,11 @@ public RequestInformation toGetRequestInformation() { * The list of site protection units in the tenant. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -145,8 +175,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property siteProtectionUnits in solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final SiteProtectionUnit body) { return toPatchRequestInformation(body, null); } @@ -155,8 +188,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final SiteProtectionUnit body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -169,8 +205,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link SiteProtectionUnitItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public SiteProtectionUnitItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new SiteProtectionUnitItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/siteprotectionunitsbulkadditionjobs/SiteProtectionUnitsBulkAdditionJobsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/siteprotectionunitsbulkadditionjobs/SiteProtectionUnitsBulkAdditionJobsRequestBuilder.java index a5b092927af..ad76d70bf8f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/siteprotectionunitsbulkadditionjobs/SiteProtectionUnitsBulkAdditionJobsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/siteprotectionunitsbulkadditionjobs/SiteProtectionUnitsBulkAdditionJobsRequestBuilder.java @@ -26,7 +26,10 @@ public class SiteProtectionUnitsBulkAdditionJobsRequestBuilder extends BaseReque /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the siteProtectionUnitsBulkAdditionJobs property of the microsoft.graph.backupRestoreRoot entity. * @param siteProtectionUnitsBulkAdditionJobId The unique identifier of siteProtectionUnitsBulkAdditionJob * @return a {@link SiteProtectionUnitsBulkAdditionJobItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public SiteProtectionUnitsBulkAdditionJobItemRequestBuilder bySiteProtectionUnitsBulkAdditionJobId(@jakarta.annotation.Nonnull final String siteProtectionUnitsBulkAdditionJobId) { Objects.requireNonNull(siteProtectionUnitsBulkAdditionJobId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public SiteProtectionUnitsBulkAdditionJobsRequestBuilder(@jakarta.annotation.Non * Get siteProtectionUnitsBulkAdditionJobs from solutions * @return a {@link SiteProtectionUnitsBulkAdditionJobCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public SiteProtectionUnitsBulkAdditionJobCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public SiteProtectionUnitsBulkAdditionJobCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SiteProtectionUnitsBulkAdditionJobCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public SiteProtectionUnitsBulkAdditionJobCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public SiteProtectionUnitsBulkAdditionJobCollectionResponse get(@jakarta.annotat * @param body The request body * @return a {@link SiteProtectionUnitsBulkAdditionJob} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public SiteProtectionUnitsBulkAdditionJob post(@jakarta.annotation.Nonnull final SiteProtectionUnitsBulkAdditionJob body) { return post(body, null); } @@ -97,8 +112,11 @@ public SiteProtectionUnitsBulkAdditionJob post(@jakarta.annotation.Nonnull final * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SiteProtectionUnitsBulkAdditionJob} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public SiteProtectionUnitsBulkAdditionJob post(@jakarta.annotation.Nonnull final SiteProtectionUnitsBulkAdditionJob body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public SiteProtectionUnitsBulkAdditionJob post(@jakarta.annotation.Nonnull final /** * Get siteProtectionUnitsBulkAdditionJobs from solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Get siteProtectionUnitsBulkAdditionJobs from solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to siteProtectionUnitsBulkAdditionJobs for solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final SiteProtectionUnitsBulkAdditionJob body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final SiteProtectionUnitsBulkAdditionJob body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link SiteProtectionUnitsBulkAdditionJobsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public SiteProtectionUnitsBulkAdditionJobsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new SiteProtectionUnitsBulkAdditionJobsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/siteprotectionunitsbulkadditionjobs/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/siteprotectionunitsbulkadditionjobs/count/CountRequestBuilder.java index d431a86a1bc..4890f2b8926 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/siteprotectionunitsbulkadditionjobs/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/siteprotectionunitsbulkadditionjobs/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/siteprotectionunitsbulkadditionjobs/item/SiteProtectionUnitsBulkAdditionJobItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/siteprotectionunitsbulkadditionjobs/item/SiteProtectionUnitsBulkAdditionJobItemRequestBuilder.java index 8e7b37f56c0..1f0a876d3c3 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/siteprotectionunitsbulkadditionjobs/item/SiteProtectionUnitsBulkAdditionJobItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/backuprestore/siteprotectionunitsbulkadditionjobs/item/SiteProtectionUnitsBulkAdditionJobItemRequestBuilder.java @@ -39,7 +39,10 @@ public SiteProtectionUnitsBulkAdditionJobItemRequestBuilder(@jakarta.annotation. /** * Delete navigation property siteProtectionUnitsBulkAdditionJobs for solutions * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete() { delete(null); } @@ -47,7 +50,10 @@ public void delete() { * Delete navigation property siteProtectionUnitsBulkAdditionJobs for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -58,8 +64,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Get siteProtectionUnitsBulkAdditionJobs from solutions * @return a {@link SiteProtectionUnitsBulkAdditionJob} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public SiteProtectionUnitsBulkAdditionJob get() { return get(null); } @@ -68,8 +77,11 @@ public SiteProtectionUnitsBulkAdditionJob get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SiteProtectionUnitsBulkAdditionJob} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public SiteProtectionUnitsBulkAdditionJob get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -81,8 +93,11 @@ public SiteProtectionUnitsBulkAdditionJob get(@jakarta.annotation.Nullable final * @param body The request body * @return a {@link SiteProtectionUnitsBulkAdditionJob} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public SiteProtectionUnitsBulkAdditionJob patch(@jakarta.annotation.Nonnull final SiteProtectionUnitsBulkAdditionJob body) { return patch(body, null); } @@ -92,8 +107,11 @@ public SiteProtectionUnitsBulkAdditionJob patch(@jakarta.annotation.Nonnull fina * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SiteProtectionUnitsBulkAdditionJob} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public SiteProtectionUnitsBulkAdditionJob patch(@jakarta.annotation.Nonnull final SiteProtectionUnitsBulkAdditionJob body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -104,8 +122,11 @@ public SiteProtectionUnitsBulkAdditionJob patch(@jakarta.annotation.Nonnull fina /** * Delete navigation property siteProtectionUnitsBulkAdditionJobs for solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -113,8 +134,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property siteProtectionUnitsBulkAdditionJobs for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Get siteProtectionUnitsBulkAdditionJobs from solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -133,8 +160,11 @@ public RequestInformation toGetRequestInformation() { * Get siteProtectionUnitsBulkAdditionJobs from solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -145,8 +175,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property siteProtectionUnitsBulkAdditionJobs in solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final SiteProtectionUnitsBulkAdditionJob body) { return toPatchRequestInformation(body, null); } @@ -155,8 +188,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final SiteProtectionUnitsBulkAdditionJob body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -169,8 +205,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link SiteProtectionUnitsBulkAdditionJobItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public SiteProtectionUnitsBulkAdditionJobItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new SiteProtectionUnitsBulkAdditionJobItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/bookingbusinesses/BookingBusinessesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/bookingbusinesses/BookingBusinessesRequestBuilder.java index e49f97b6bf6..88378045857 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/bookingbusinesses/BookingBusinessesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/bookingbusinesses/BookingBusinessesRequestBuilder.java @@ -26,7 +26,10 @@ public class BookingBusinessesRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the bookingBusinesses property of the microsoft.graph.solutionsRoot entity. * @param bookingBusinessId The unique identifier of bookingBusiness * @return a {@link BookingBusinessItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public BookingBusinessItemRequestBuilder byBookingBusinessId(@jakarta.annotation.Nonnull final String bookingBusinessId) { Objects.requireNonNull(bookingBusinessId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public BookingBusinessesRequestBuilder(@jakarta.annotation.Nonnull final String * A collection of businesses in Microsoft Bookings. Read-only. Nullable. * @return a {@link BookingBusinessCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public BookingBusinessCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public BookingBusinessCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link BookingBusinessCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public BookingBusinessCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public BookingBusinessCollectionResponse get(@jakarta.annotation.Nullable final * @param body The request body * @return a {@link BookingBusiness} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public BookingBusiness post(@jakarta.annotation.Nonnull final BookingBusiness body) { return post(body, null); } @@ -97,8 +112,11 @@ public BookingBusiness post(@jakarta.annotation.Nonnull final BookingBusiness bo * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link BookingBusiness} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public BookingBusiness post(@jakarta.annotation.Nonnull final BookingBusiness body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public BookingBusiness post(@jakarta.annotation.Nonnull final BookingBusiness bo /** * A collection of businesses in Microsoft Bookings. Read-only. Nullable. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * A collection of businesses in Microsoft Bookings. Read-only. Nullable. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to bookingBusinesses for solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BookingBusiness body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BookingBusiness body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link BookingBusinessesRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public BookingBusinessesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new BookingBusinessesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/bookingbusinesses/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/bookingbusinesses/count/CountRequestBuilder.java index 20f65eab03d..8982f87c2e1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/bookingbusinesses/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/bookingbusinesses/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/bookingbusinesses/item/BookingBusinessItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/bookingbusinesses/item/BookingBusinessItemRequestBuilder.java index 0d646dfefa1..0f51a1683ec 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/bookingbusinesses/item/BookingBusinessItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/bookingbusinesses/item/BookingBusinessItemRequestBuilder.java @@ -32,7 +32,10 @@ public class BookingBusinessItemRequestBuilder extends BaseRequestBuilder { /** * Provides operations to manage the appointments property of the microsoft.graph.bookingBusiness entity. * @return a {@link AppointmentsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public AppointmentsRequestBuilder appointments() { return new AppointmentsRequestBuilder(pathParameters, requestAdapter); @@ -40,7 +43,10 @@ public AppointmentsRequestBuilder appointments() { /** * Provides operations to manage the calendarView property of the microsoft.graph.bookingBusiness entity. * @return a {@link CalendarViewRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CalendarViewRequestBuilder calendarView() { return new CalendarViewRequestBuilder(pathParameters, requestAdapter); @@ -48,7 +54,10 @@ public CalendarViewRequestBuilder calendarView() { /** * Provides operations to manage the customers property of the microsoft.graph.bookingBusiness entity. * @return a {@link CustomersRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CustomersRequestBuilder customers() { return new CustomersRequestBuilder(pathParameters, requestAdapter); @@ -56,7 +65,10 @@ public CustomersRequestBuilder customers() { /** * Provides operations to manage the customQuestions property of the microsoft.graph.bookingBusiness entity. * @return a {@link CustomQuestionsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CustomQuestionsRequestBuilder customQuestions() { return new CustomQuestionsRequestBuilder(pathParameters, requestAdapter); @@ -64,7 +76,10 @@ public CustomQuestionsRequestBuilder customQuestions() { /** * Provides operations to call the getStaffAvailability method. * @return a {@link GetStaffAvailabilityRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public GetStaffAvailabilityRequestBuilder getStaffAvailability() { return new GetStaffAvailabilityRequestBuilder(pathParameters, requestAdapter); @@ -72,7 +87,10 @@ public GetStaffAvailabilityRequestBuilder getStaffAvailability() { /** * Provides operations to call the publish method. * @return a {@link PublishRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public PublishRequestBuilder publish() { return new PublishRequestBuilder(pathParameters, requestAdapter); @@ -80,7 +98,10 @@ public PublishRequestBuilder publish() { /** * Provides operations to manage the services property of the microsoft.graph.bookingBusiness entity. * @return a {@link ServicesRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public ServicesRequestBuilder services() { return new ServicesRequestBuilder(pathParameters, requestAdapter); @@ -88,7 +109,10 @@ public ServicesRequestBuilder services() { /** * Provides operations to manage the staffMembers property of the microsoft.graph.bookingBusiness entity. * @return a {@link StaffMembersRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public StaffMembersRequestBuilder staffMembers() { return new StaffMembersRequestBuilder(pathParameters, requestAdapter); @@ -96,7 +120,10 @@ public StaffMembersRequestBuilder staffMembers() { /** * Provides operations to call the unpublish method. * @return a {@link UnpublishRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public UnpublishRequestBuilder unpublish() { return new UnpublishRequestBuilder(pathParameters, requestAdapter); @@ -120,8 +147,11 @@ public BookingBusinessItemRequestBuilder(@jakarta.annotation.Nonnull final Strin /** * Delete a bookingBusiness object. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ + @Deprecated public void delete() { delete(null); } @@ -129,8 +159,11 @@ public void delete() { * Delete a bookingBusiness object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -141,8 +174,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * A collection of businesses in Microsoft Bookings. Read-only. Nullable. * @return a {@link BookingBusiness} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public BookingBusiness get() { return get(null); } @@ -151,8 +187,11 @@ public BookingBusiness get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link BookingBusiness} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public BookingBusiness get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -164,8 +203,11 @@ public BookingBusiness get(@jakarta.annotation.Nullable final java.util.function * @param body The request body * @return a {@link BookingBusiness} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public BookingBusiness patch(@jakarta.annotation.Nonnull final BookingBusiness body) { return patch(body, null); } @@ -175,8 +217,11 @@ public BookingBusiness patch(@jakarta.annotation.Nonnull final BookingBusiness b * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link BookingBusiness} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public BookingBusiness patch(@jakarta.annotation.Nonnull final BookingBusiness body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -187,8 +232,11 @@ public BookingBusiness patch(@jakarta.annotation.Nonnull final BookingBusiness b /** * Delete a bookingBusiness object. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -196,8 +244,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete a bookingBusiness object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -207,8 +258,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * A collection of businesses in Microsoft Bookings. Read-only. Nullable. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -216,8 +270,11 @@ public RequestInformation toGetRequestInformation() { * A collection of businesses in Microsoft Bookings. Read-only. Nullable. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -228,8 +285,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property bookingBusinesses in solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final BookingBusiness body) { return toPatchRequestInformation(body, null); } @@ -238,8 +298,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final BookingBusiness body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -252,8 +315,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link BookingBusinessItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public BookingBusinessItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new BookingBusinessItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/bookingbusinesses/item/appointments/AppointmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/bookingbusinesses/item/appointments/AppointmentsRequestBuilder.java index 98e1437dd7f..dd9716c98dd 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/bookingbusinesses/item/appointments/AppointmentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/bookingbusinesses/item/appointments/AppointmentsRequestBuilder.java @@ -26,7 +26,10 @@ public class AppointmentsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the appointments property of the microsoft.graph.bookingBusiness entity. * @param bookingAppointmentId The unique identifier of bookingAppointment * @return a {@link BookingAppointmentItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public BookingAppointmentItemRequestBuilder byBookingAppointmentId(@jakarta.annotation.Nonnull final String bookingAppointmentId) { Objects.requireNonNull(bookingAppointmentId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public AppointmentsRequestBuilder(@jakarta.annotation.Nonnull final String rawUr * Get the properties and relationships of a bookingAppointment object in the specified bookingBusiness. The start and end properties are always returned in UTC. * @return a {@link BookingAppointmentCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public BookingAppointmentCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public BookingAppointmentCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link BookingAppointmentCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public BookingAppointmentCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public BookingAppointmentCollectionResponse get(@jakarta.annotation.Nullable fin * @param body The request body * @return a {@link BookingAppointment} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public BookingAppointment post(@jakarta.annotation.Nonnull final BookingAppointment body) { return post(body, null); } @@ -97,8 +112,11 @@ public BookingAppointment post(@jakarta.annotation.Nonnull final BookingAppointm * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link BookingAppointment} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public BookingAppointment post(@jakarta.annotation.Nonnull final BookingAppointment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public BookingAppointment post(@jakarta.annotation.Nonnull final BookingAppointm /** * Get the properties and relationships of a bookingAppointment object in the specified bookingBusiness. The start and end properties are always returned in UTC. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Get the properties and relationships of a bookingAppointment object in the specified bookingBusiness. The start and end properties are always returned in UTC. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to appointments for solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BookingAppointment body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BookingAppointment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AppointmentsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public AppointmentsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AppointmentsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/bookingbusinesses/item/appointments/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/bookingbusinesses/item/appointments/count/CountRequestBuilder.java index 6478aa58d96..07839c25324 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/bookingbusinesses/item/appointments/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/bookingbusinesses/item/appointments/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/bookingbusinesses/item/appointments/item/BookingAppointmentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/bookingbusinesses/item/appointments/item/BookingAppointmentItemRequestBuilder.java index c7d834ccf1f..4cceec7d585 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/bookingbusinesses/item/appointments/item/BookingAppointmentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/bookingbusinesses/item/appointments/item/BookingAppointmentItemRequestBuilder.java @@ -24,7 +24,10 @@ public class BookingAppointmentItemRequestBuilder extends BaseRequestBuilder { /** * Provides operations to call the cancel method. * @return a {@link CancelRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CancelRequestBuilder cancel() { return new CancelRequestBuilder(pathParameters, requestAdapter); @@ -48,8 +51,11 @@ public BookingAppointmentItemRequestBuilder(@jakarta.annotation.Nonnull final St /** * Delete a bookingAppointment in the specified bookingBusiness. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ + @Deprecated public void delete() { delete(null); } @@ -57,8 +63,11 @@ public void delete() { * Delete a bookingAppointment in the specified bookingBusiness. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -69,9 +78,12 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Get the properties and relationships of a bookingAppointment object in the specified bookingBusiness. The start and end properties are always returned in UTC. * @return a {@link BookingAppointment} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public BookingAppointment get() { return get(null); } @@ -80,9 +92,12 @@ public BookingAppointment get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link BookingAppointment} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public BookingAppointment get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -94,9 +109,12 @@ public BookingAppointment get(@jakarta.annotation.Nullable final java.util.funct * @param body The request body * @return a {@link BookingAppointment} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public BookingAppointment patch(@jakarta.annotation.Nonnull final BookingAppointment body) { return patch(body, null); } @@ -106,9 +124,12 @@ public BookingAppointment patch(@jakarta.annotation.Nonnull final BookingAppoint * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link BookingAppointment} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public BookingAppointment patch(@jakarta.annotation.Nonnull final BookingAppointment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -119,8 +140,11 @@ public BookingAppointment patch(@jakarta.annotation.Nonnull final BookingAppoint /** * Delete a bookingAppointment in the specified bookingBusiness. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -128,8 +152,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete a bookingAppointment in the specified bookingBusiness. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -139,8 +166,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Get the properties and relationships of a bookingAppointment object in the specified bookingBusiness. The start and end properties are always returned in UTC. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -148,8 +178,11 @@ public RequestInformation toGetRequestInformation() { * Get the properties and relationships of a bookingAppointment object in the specified bookingBusiness. The start and end properties are always returned in UTC. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -160,8 +193,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the properties of a bookingAppointment object in the specified bookingBusiness. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final BookingAppointment body) { return toPatchRequestInformation(body, null); } @@ -170,8 +206,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final BookingAppointment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -184,8 +223,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link BookingAppointmentItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public BookingAppointmentItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new BookingAppointmentItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/bookingbusinesses/item/appointments/item/cancel/CancelRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/bookingbusinesses/item/appointments/item/cancel/CancelRequestBuilder.java index 45af56f50a3..1b7520afd81 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/bookingbusinesses/item/appointments/item/cancel/CancelRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/bookingbusinesses/item/appointments/item/cancel/CancelRequestBuilder.java @@ -38,8 +38,11 @@ public CancelRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ja * Cancel the specified bookingAppointment in the specified bookingBusiness, and send a message to the involved customer and staff members. * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final CancelPostRequestBody body) { post(body, null); } @@ -48,8 +51,11 @@ public void post(@jakarta.annotation.Nonnull final CancelPostRequestBody body) { * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final CancelPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -61,8 +67,11 @@ public void post(@jakarta.annotation.Nonnull final CancelPostRequestBody body, @ * Cancel the specified bookingAppointment in the specified bookingBusiness, and send a message to the involved customer and staff members. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CancelPostRequestBody body) { return toPostRequestInformation(body, null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CancelPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -85,8 +97,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CancelRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CancelRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CancelRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/bookingbusinesses/item/calendarview/CalendarViewRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/bookingbusinesses/item/calendarview/CalendarViewRequestBuilder.java index d43d82709e9..3d30ec59172 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/bookingbusinesses/item/calendarview/CalendarViewRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/bookingbusinesses/item/calendarview/CalendarViewRequestBuilder.java @@ -26,7 +26,10 @@ public class CalendarViewRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the calendarView property of the microsoft.graph.bookingBusiness entity. * @param bookingAppointmentId The unique identifier of bookingAppointment * @return a {@link BookingAppointmentItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public BookingAppointmentItemRequestBuilder byBookingAppointmentId(@jakarta.annotation.Nonnull final String bookingAppointmentId) { Objects.requireNonNull(bookingAppointmentId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public CalendarViewRequestBuilder(@jakarta.annotation.Nonnull final String rawUr * The set of appointments of this business in a specified date range. Read-only. Nullable. * @return a {@link BookingAppointmentCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public BookingAppointmentCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public BookingAppointmentCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link BookingAppointmentCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public BookingAppointmentCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public BookingAppointmentCollectionResponse get(@jakarta.annotation.Nullable fin * @param body The request body * @return a {@link BookingAppointment} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public BookingAppointment post(@jakarta.annotation.Nonnull final BookingAppointment body) { return post(body, null); } @@ -97,8 +112,11 @@ public BookingAppointment post(@jakarta.annotation.Nonnull final BookingAppointm * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link BookingAppointment} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public BookingAppointment post(@jakarta.annotation.Nonnull final BookingAppointment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public BookingAppointment post(@jakarta.annotation.Nonnull final BookingAppointm /** * The set of appointments of this business in a specified date range. Read-only. Nullable. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * The set of appointments of this business in a specified date range. Read-only. Nullable. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, "{+baseurl}/solutions/bookingBusinesses/{bookingBusiness%2Did}/calendarView?end={end}&start={start}{&%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to calendarView for solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BookingAppointment body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BookingAppointment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CalendarViewRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CalendarViewRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CalendarViewRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/bookingbusinesses/item/calendarview/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/bookingbusinesses/item/calendarview/count/CountRequestBuilder.java index df8802425fd..38cdb47bcca 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/bookingbusinesses/item/calendarview/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/bookingbusinesses/item/calendarview/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/bookingbusinesses/item/calendarview/item/BookingAppointmentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/bookingbusinesses/item/calendarview/item/BookingAppointmentItemRequestBuilder.java index 9c408b38805..8bd771410ae 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/bookingbusinesses/item/calendarview/item/BookingAppointmentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/bookingbusinesses/item/calendarview/item/BookingAppointmentItemRequestBuilder.java @@ -24,7 +24,10 @@ public class BookingAppointmentItemRequestBuilder extends BaseRequestBuilder { /** * Provides operations to call the cancel method. * @return a {@link CancelRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CancelRequestBuilder cancel() { return new CancelRequestBuilder(pathParameters, requestAdapter); @@ -48,7 +51,10 @@ public BookingAppointmentItemRequestBuilder(@jakarta.annotation.Nonnull final St /** * Delete navigation property calendarView for solutions * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete() { delete(null); } @@ -56,7 +62,10 @@ public void delete() { * Delete navigation property calendarView for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -67,8 +76,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * The set of appointments of this business in a specified date range. Read-only. Nullable. * @return a {@link BookingAppointment} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public BookingAppointment get() { return get(null); } @@ -77,8 +89,11 @@ public BookingAppointment get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link BookingAppointment} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public BookingAppointment get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -90,8 +105,11 @@ public BookingAppointment get(@jakarta.annotation.Nullable final java.util.funct * @param body The request body * @return a {@link BookingAppointment} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public BookingAppointment patch(@jakarta.annotation.Nonnull final BookingAppointment body) { return patch(body, null); } @@ -101,8 +119,11 @@ public BookingAppointment patch(@jakarta.annotation.Nonnull final BookingAppoint * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link BookingAppointment} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public BookingAppointment patch(@jakarta.annotation.Nonnull final BookingAppointment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -113,8 +134,11 @@ public BookingAppointment patch(@jakarta.annotation.Nonnull final BookingAppoint /** * Delete navigation property calendarView for solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -122,8 +146,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property calendarView for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -133,8 +160,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * The set of appointments of this business in a specified date range. Read-only. Nullable. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -142,8 +172,11 @@ public RequestInformation toGetRequestInformation() { * The set of appointments of this business in a specified date range. Read-only. Nullable. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, "{+baseurl}/solutions/bookingBusinesses/{bookingBusiness%2Did}/calendarView/{bookingAppointment%2Did}?end={end}&start={start}{&%24expand,%24select}", pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -154,8 +187,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property calendarView in solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final BookingAppointment body) { return toPatchRequestInformation(body, null); } @@ -164,8 +200,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final BookingAppointment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -178,8 +217,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link BookingAppointmentItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public BookingAppointmentItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new BookingAppointmentItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/bookingbusinesses/item/calendarview/item/cancel/CancelRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/bookingbusinesses/item/calendarview/item/cancel/CancelRequestBuilder.java index b51327cff30..65fa0c541d2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/bookingbusinesses/item/calendarview/item/cancel/CancelRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/bookingbusinesses/item/calendarview/item/cancel/CancelRequestBuilder.java @@ -38,8 +38,11 @@ public CancelRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ja * Cancel the specified bookingAppointment in the specified bookingBusiness, and send a message to the involved customer and staff members. * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final CancelPostRequestBody body) { post(body, null); } @@ -48,8 +51,11 @@ public void post(@jakarta.annotation.Nonnull final CancelPostRequestBody body) { * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final CancelPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -61,8 +67,11 @@ public void post(@jakarta.annotation.Nonnull final CancelPostRequestBody body, @ * Cancel the specified bookingAppointment in the specified bookingBusiness, and send a message to the involved customer and staff members. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CancelPostRequestBody body) { return toPostRequestInformation(body, null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CancelPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -85,8 +97,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CancelRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CancelRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CancelRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/bookingbusinesses/item/customers/CustomersRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/bookingbusinesses/item/customers/CustomersRequestBuilder.java index b567d1e2464..dbbb5dc82d3 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/bookingbusinesses/item/customers/CustomersRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/bookingbusinesses/item/customers/CustomersRequestBuilder.java @@ -26,7 +26,10 @@ public class CustomersRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the customers property of the microsoft.graph.bookingBusiness entity. * @param bookingCustomerId The unique identifier of bookingCustomer * @return a {@link BookingCustomerItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public BookingCustomerItemRequestBuilder byBookingCustomerId(@jakarta.annotation.Nonnull final String bookingCustomerId) { Objects.requireNonNull(bookingCustomerId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public CustomersRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, * All the customers of this business. Read-only. Nullable. * @return a {@link BookingCustomerCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public BookingCustomerCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public BookingCustomerCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link BookingCustomerCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public BookingCustomerCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public BookingCustomerCollectionResponse get(@jakarta.annotation.Nullable final * @param body The request body * @return a {@link BookingCustomer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public BookingCustomer post(@jakarta.annotation.Nonnull final BookingCustomer body) { return post(body, null); } @@ -97,8 +112,11 @@ public BookingCustomer post(@jakarta.annotation.Nonnull final BookingCustomer bo * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link BookingCustomer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public BookingCustomer post(@jakarta.annotation.Nonnull final BookingCustomer body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public BookingCustomer post(@jakarta.annotation.Nonnull final BookingCustomer bo /** * All the customers of this business. Read-only. Nullable. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * All the customers of this business. Read-only. Nullable. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to customers for solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BookingCustomer body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BookingCustomer body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CustomersRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CustomersRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CustomersRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/bookingbusinesses/item/customers/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/bookingbusinesses/item/customers/count/CountRequestBuilder.java index da8fcae3f83..71a88e730f2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/bookingbusinesses/item/customers/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/bookingbusinesses/item/customers/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/bookingbusinesses/item/customers/item/BookingCustomerItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/bookingbusinesses/item/customers/item/BookingCustomerItemRequestBuilder.java index 24434a5a6f2..3bd2d63ac82 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/bookingbusinesses/item/customers/item/BookingCustomerItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/bookingbusinesses/item/customers/item/BookingCustomerItemRequestBuilder.java @@ -39,7 +39,10 @@ public BookingCustomerItemRequestBuilder(@jakarta.annotation.Nonnull final Strin /** * Delete navigation property customers for solutions * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete() { delete(null); } @@ -47,7 +50,10 @@ public void delete() { * Delete navigation property customers for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -58,8 +64,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * All the customers of this business. Read-only. Nullable. * @return a {@link BookingCustomer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public BookingCustomer get() { return get(null); } @@ -68,8 +77,11 @@ public BookingCustomer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link BookingCustomer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public BookingCustomer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -81,8 +93,11 @@ public BookingCustomer get(@jakarta.annotation.Nullable final java.util.function * @param body The request body * @return a {@link BookingCustomer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public BookingCustomer patch(@jakarta.annotation.Nonnull final BookingCustomer body) { return patch(body, null); } @@ -92,8 +107,11 @@ public BookingCustomer patch(@jakarta.annotation.Nonnull final BookingCustomer b * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link BookingCustomer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public BookingCustomer patch(@jakarta.annotation.Nonnull final BookingCustomer body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -104,8 +122,11 @@ public BookingCustomer patch(@jakarta.annotation.Nonnull final BookingCustomer b /** * Delete navigation property customers for solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -113,8 +134,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property customers for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * All the customers of this business. Read-only. Nullable. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -133,8 +160,11 @@ public RequestInformation toGetRequestInformation() { * All the customers of this business. Read-only. Nullable. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -145,8 +175,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property customers in solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final BookingCustomer body) { return toPatchRequestInformation(body, null); } @@ -155,8 +188,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final BookingCustomer body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -169,8 +205,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link BookingCustomerItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public BookingCustomerItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new BookingCustomerItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/bookingbusinesses/item/customquestions/CustomQuestionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/bookingbusinesses/item/customquestions/CustomQuestionsRequestBuilder.java index 30669d47f02..64b93cc6f33 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/bookingbusinesses/item/customquestions/CustomQuestionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/bookingbusinesses/item/customquestions/CustomQuestionsRequestBuilder.java @@ -26,7 +26,10 @@ public class CustomQuestionsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the customQuestions property of the microsoft.graph.bookingBusiness entity. * @param bookingCustomQuestionId The unique identifier of bookingCustomQuestion * @return a {@link BookingCustomQuestionItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public BookingCustomQuestionItemRequestBuilder byBookingCustomQuestionId(@jakarta.annotation.Nonnull final String bookingCustomQuestionId) { Objects.requireNonNull(bookingCustomQuestionId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public CustomQuestionsRequestBuilder(@jakarta.annotation.Nonnull final String ra * All custom questions of this business. * @return a {@link BookingCustomQuestionCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public BookingCustomQuestionCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public BookingCustomQuestionCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link BookingCustomQuestionCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public BookingCustomQuestionCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public BookingCustomQuestionCollectionResponse get(@jakarta.annotation.Nullable * @param body The request body * @return a {@link BookingCustomQuestion} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public BookingCustomQuestion post(@jakarta.annotation.Nonnull final BookingCustomQuestion body) { return post(body, null); } @@ -97,8 +112,11 @@ public BookingCustomQuestion post(@jakarta.annotation.Nonnull final BookingCusto * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link BookingCustomQuestion} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public BookingCustomQuestion post(@jakarta.annotation.Nonnull final BookingCustomQuestion body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public BookingCustomQuestion post(@jakarta.annotation.Nonnull final BookingCusto /** * All custom questions of this business. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * All custom questions of this business. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to customQuestions for solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BookingCustomQuestion body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BookingCustomQuestion body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CustomQuestionsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CustomQuestionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CustomQuestionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/bookingbusinesses/item/customquestions/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/bookingbusinesses/item/customquestions/count/CountRequestBuilder.java index 83123889db4..2457ce726cb 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/bookingbusinesses/item/customquestions/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/bookingbusinesses/item/customquestions/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/bookingbusinesses/item/customquestions/item/BookingCustomQuestionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/bookingbusinesses/item/customquestions/item/BookingCustomQuestionItemRequestBuilder.java index fc16236e114..5c1b49fa240 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/bookingbusinesses/item/customquestions/item/BookingCustomQuestionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/bookingbusinesses/item/customquestions/item/BookingCustomQuestionItemRequestBuilder.java @@ -39,7 +39,10 @@ public BookingCustomQuestionItemRequestBuilder(@jakarta.annotation.Nonnull final /** * Delete navigation property customQuestions for solutions * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete() { delete(null); } @@ -47,7 +50,10 @@ public void delete() { * Delete navigation property customQuestions for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -58,8 +64,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * All custom questions of this business. * @return a {@link BookingCustomQuestion} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public BookingCustomQuestion get() { return get(null); } @@ -68,8 +77,11 @@ public BookingCustomQuestion get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link BookingCustomQuestion} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public BookingCustomQuestion get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -81,8 +93,11 @@ public BookingCustomQuestion get(@jakarta.annotation.Nullable final java.util.fu * @param body The request body * @return a {@link BookingCustomQuestion} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public BookingCustomQuestion patch(@jakarta.annotation.Nonnull final BookingCustomQuestion body) { return patch(body, null); } @@ -92,8 +107,11 @@ public BookingCustomQuestion patch(@jakarta.annotation.Nonnull final BookingCust * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link BookingCustomQuestion} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public BookingCustomQuestion patch(@jakarta.annotation.Nonnull final BookingCustomQuestion body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -104,8 +122,11 @@ public BookingCustomQuestion patch(@jakarta.annotation.Nonnull final BookingCust /** * Delete navigation property customQuestions for solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -113,8 +134,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property customQuestions for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * All custom questions of this business. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -133,8 +160,11 @@ public RequestInformation toGetRequestInformation() { * All custom questions of this business. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -145,8 +175,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property customQuestions in solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final BookingCustomQuestion body) { return toPatchRequestInformation(body, null); } @@ -155,8 +188,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final BookingCustomQuestion body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -169,8 +205,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link BookingCustomQuestionItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public BookingCustomQuestionItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new BookingCustomQuestionItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/bookingbusinesses/item/getstaffavailability/GetStaffAvailabilityRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/bookingbusinesses/item/getstaffavailability/GetStaffAvailabilityRequestBuilder.java index 6b349cd0c24..53c05de48e9 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/bookingbusinesses/item/getstaffavailability/GetStaffAvailabilityRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/bookingbusinesses/item/getstaffavailability/GetStaffAvailabilityRequestBuilder.java @@ -39,9 +39,12 @@ public GetStaffAvailabilityRequestBuilder(@jakarta.annotation.Nonnull final Stri * @param body The request body * @return a {@link GetStaffAvailabilityPostResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public GetStaffAvailabilityPostResponse post(@jakarta.annotation.Nonnull final GetStaffAvailabilityPostRequestBody body) { return post(body, null); } @@ -51,9 +54,12 @@ public GetStaffAvailabilityPostResponse post(@jakarta.annotation.Nonnull final G * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GetStaffAvailabilityPostResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public GetStaffAvailabilityPostResponse post(@jakarta.annotation.Nonnull final GetStaffAvailabilityPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -65,8 +71,11 @@ public GetStaffAvailabilityPostResponse post(@jakarta.annotation.Nonnull final G * Get the availability information of staff members of a Microsoft Bookings calendar. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GetStaffAvailabilityPostRequestBody body) { return toPostRequestInformation(body, null); } @@ -75,8 +84,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GetStaffAvailabilityPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -89,8 +101,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link GetStaffAvailabilityRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public GetStaffAvailabilityRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new GetStaffAvailabilityRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/bookingbusinesses/item/publish/PublishRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/bookingbusinesses/item/publish/PublishRequestBuilder.java index af911423b43..4815424b309 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/bookingbusinesses/item/publish/PublishRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/bookingbusinesses/item/publish/PublishRequestBuilder.java @@ -37,8 +37,11 @@ public PublishRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j /** * Make the scheduling page of this business available to external customers. Set the isPublished property to true, and publicUrl property to the URL of the scheduling page. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * Make the scheduling page of this business available to external customers. Set the isPublished property to true, and publicUrl property to the URL of the scheduling page. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Make the scheduling page of this business available to external customers. Set the isPublished property to true, and publicUrl property to the URL of the scheduling page. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * Make the scheduling page of this business available to external customers. Set the isPublished property to true, and publicUrl property to the URL of the scheduling page. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link PublishRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public PublishRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new PublishRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/bookingbusinesses/item/services/ServicesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/bookingbusinesses/item/services/ServicesRequestBuilder.java index 22b35e5f6d9..9b6aed77ee6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/bookingbusinesses/item/services/ServicesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/bookingbusinesses/item/services/ServicesRequestBuilder.java @@ -26,7 +26,10 @@ public class ServicesRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the services property of the microsoft.graph.bookingBusiness entity. * @param bookingServiceId The unique identifier of bookingService * @return a {@link BookingServiceItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public BookingServiceItemRequestBuilder byBookingServiceId(@jakarta.annotation.Nonnull final String bookingServiceId) { Objects.requireNonNull(bookingServiceId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public ServicesRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ * All the services offered by this business. Read-only. Nullable. * @return a {@link BookingServiceCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public BookingServiceCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public BookingServiceCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link BookingServiceCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public BookingServiceCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public BookingServiceCollectionResponse get(@jakarta.annotation.Nullable final j * @param body The request body * @return a {@link BookingService} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public BookingService post(@jakarta.annotation.Nonnull final BookingService body) { return post(body, null); } @@ -97,8 +112,11 @@ public BookingService post(@jakarta.annotation.Nonnull final BookingService body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link BookingService} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public BookingService post(@jakarta.annotation.Nonnull final BookingService body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public BookingService post(@jakarta.annotation.Nonnull final BookingService body /** * All the services offered by this business. Read-only. Nullable. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * All the services offered by this business. Read-only. Nullable. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to services for solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BookingService body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BookingService body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ServicesRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public ServicesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ServicesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/bookingbusinesses/item/services/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/bookingbusinesses/item/services/count/CountRequestBuilder.java index 88d9c63730f..0c670d42b00 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/bookingbusinesses/item/services/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/bookingbusinesses/item/services/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/bookingbusinesses/item/services/item/BookingServiceItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/bookingbusinesses/item/services/item/BookingServiceItemRequestBuilder.java index c748f37c916..eb1c4649629 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/bookingbusinesses/item/services/item/BookingServiceItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/bookingbusinesses/item/services/item/BookingServiceItemRequestBuilder.java @@ -39,7 +39,10 @@ public BookingServiceItemRequestBuilder(@jakarta.annotation.Nonnull final String /** * Delete navigation property services for solutions * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete() { delete(null); } @@ -47,7 +50,10 @@ public void delete() { * Delete navigation property services for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -58,8 +64,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * All the services offered by this business. Read-only. Nullable. * @return a {@link BookingService} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public BookingService get() { return get(null); } @@ -68,8 +77,11 @@ public BookingService get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link BookingService} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public BookingService get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -81,8 +93,11 @@ public BookingService get(@jakarta.annotation.Nullable final java.util.function. * @param body The request body * @return a {@link BookingService} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public BookingService patch(@jakarta.annotation.Nonnull final BookingService body) { return patch(body, null); } @@ -92,8 +107,11 @@ public BookingService patch(@jakarta.annotation.Nonnull final BookingService bod * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link BookingService} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public BookingService patch(@jakarta.annotation.Nonnull final BookingService body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -104,8 +122,11 @@ public BookingService patch(@jakarta.annotation.Nonnull final BookingService bod /** * Delete navigation property services for solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -113,8 +134,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property services for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * All the services offered by this business. Read-only. Nullable. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -133,8 +160,11 @@ public RequestInformation toGetRequestInformation() { * All the services offered by this business. Read-only. Nullable. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -145,8 +175,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property services in solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final BookingService body) { return toPatchRequestInformation(body, null); } @@ -155,8 +188,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final BookingService body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -169,8 +205,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link BookingServiceItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public BookingServiceItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new BookingServiceItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/bookingbusinesses/item/staffmembers/StaffMembersRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/bookingbusinesses/item/staffmembers/StaffMembersRequestBuilder.java index 193e1529a83..59b3a0a9686 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/bookingbusinesses/item/staffmembers/StaffMembersRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/bookingbusinesses/item/staffmembers/StaffMembersRequestBuilder.java @@ -26,7 +26,10 @@ public class StaffMembersRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the staffMembers property of the microsoft.graph.bookingBusiness entity. * @param bookingStaffMemberId The unique identifier of bookingStaffMember * @return a {@link BookingStaffMemberItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public BookingStaffMemberItemRequestBuilder byBookingStaffMemberId(@jakarta.annotation.Nonnull final String bookingStaffMemberId) { Objects.requireNonNull(bookingStaffMemberId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public StaffMembersRequestBuilder(@jakarta.annotation.Nonnull final String rawUr * All the staff members that provide services in this business. Read-only. Nullable. * @return a {@link BookingStaffMemberCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public BookingStaffMemberCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public BookingStaffMemberCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link BookingStaffMemberCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public BookingStaffMemberCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public BookingStaffMemberCollectionResponse get(@jakarta.annotation.Nullable fin * @param body The request body * @return a {@link BookingStaffMember} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public BookingStaffMember post(@jakarta.annotation.Nonnull final BookingStaffMember body) { return post(body, null); } @@ -97,8 +112,11 @@ public BookingStaffMember post(@jakarta.annotation.Nonnull final BookingStaffMem * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link BookingStaffMember} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public BookingStaffMember post(@jakarta.annotation.Nonnull final BookingStaffMember body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public BookingStaffMember post(@jakarta.annotation.Nonnull final BookingStaffMem /** * All the staff members that provide services in this business. Read-only. Nullable. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * All the staff members that provide services in this business. Read-only. Nullable. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to staffMembers for solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BookingStaffMember body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BookingStaffMember body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link StaffMembersRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public StaffMembersRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new StaffMembersRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/bookingbusinesses/item/staffmembers/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/bookingbusinesses/item/staffmembers/count/CountRequestBuilder.java index e5116210f58..a993d422ba6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/bookingbusinesses/item/staffmembers/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/bookingbusinesses/item/staffmembers/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/bookingbusinesses/item/staffmembers/item/BookingStaffMemberItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/bookingbusinesses/item/staffmembers/item/BookingStaffMemberItemRequestBuilder.java index 843e7c8e246..15e1b1d67c0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/bookingbusinesses/item/staffmembers/item/BookingStaffMemberItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/bookingbusinesses/item/staffmembers/item/BookingStaffMemberItemRequestBuilder.java @@ -39,7 +39,10 @@ public BookingStaffMemberItemRequestBuilder(@jakarta.annotation.Nonnull final St /** * Delete navigation property staffMembers for solutions * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete() { delete(null); } @@ -47,7 +50,10 @@ public void delete() { * Delete navigation property staffMembers for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -58,8 +64,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * All the staff members that provide services in this business. Read-only. Nullable. * @return a {@link BookingStaffMember} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public BookingStaffMember get() { return get(null); } @@ -68,8 +77,11 @@ public BookingStaffMember get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link BookingStaffMember} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public BookingStaffMember get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -81,8 +93,11 @@ public BookingStaffMember get(@jakarta.annotation.Nullable final java.util.funct * @param body The request body * @return a {@link BookingStaffMember} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public BookingStaffMember patch(@jakarta.annotation.Nonnull final BookingStaffMember body) { return patch(body, null); } @@ -92,8 +107,11 @@ public BookingStaffMember patch(@jakarta.annotation.Nonnull final BookingStaffMe * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link BookingStaffMember} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public BookingStaffMember patch(@jakarta.annotation.Nonnull final BookingStaffMember body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -104,8 +122,11 @@ public BookingStaffMember patch(@jakarta.annotation.Nonnull final BookingStaffMe /** * Delete navigation property staffMembers for solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -113,8 +134,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property staffMembers for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * All the staff members that provide services in this business. Read-only. Nullable. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -133,8 +160,11 @@ public RequestInformation toGetRequestInformation() { * All the staff members that provide services in this business. Read-only. Nullable. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -145,8 +175,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property staffMembers in solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final BookingStaffMember body) { return toPatchRequestInformation(body, null); } @@ -155,8 +188,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final BookingStaffMember body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -169,8 +205,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link BookingStaffMemberItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public BookingStaffMemberItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new BookingStaffMemberItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/bookingbusinesses/item/unpublish/UnpublishRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/bookingbusinesses/item/unpublish/UnpublishRequestBuilder.java index 932ca389345..555821b88bf 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/bookingbusinesses/item/unpublish/UnpublishRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/bookingbusinesses/item/unpublish/UnpublishRequestBuilder.java @@ -37,8 +37,11 @@ public UnpublishRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, /** * Make the scheduling page of this business not available to external customers. Set the isPublished property to false, and publicUrl property to null. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * Make the scheduling page of this business not available to external customers. Set the isPublished property to false, and publicUrl property to null. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Make the scheduling page of this business not available to external customers. Set the isPublished property to false, and publicUrl property to null. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * Make the scheduling page of this business not available to external customers. Set the isPublished property to false, and publicUrl property to null. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link UnpublishRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public UnpublishRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new UnpublishRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/bookingcurrencies/BookingCurrenciesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/bookingcurrencies/BookingCurrenciesRequestBuilder.java index 678029bfd44..349f7be5ff9 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/bookingcurrencies/BookingCurrenciesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/bookingcurrencies/BookingCurrenciesRequestBuilder.java @@ -26,7 +26,10 @@ public class BookingCurrenciesRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the bookingCurrencies property of the microsoft.graph.solutionsRoot entity. * @param bookingCurrencyId The unique identifier of bookingCurrency * @return a {@link BookingCurrencyItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public BookingCurrencyItemRequestBuilder byBookingCurrencyId(@jakarta.annotation.Nonnull final String bookingCurrencyId) { Objects.requireNonNull(bookingCurrencyId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,9 +69,12 @@ public BookingCurrenciesRequestBuilder(@jakarta.annotation.Nonnull final String * Get a list of bookingCurrency objects available to a Microsoft Bookings business. * @return a {@link BookingCurrencyCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public BookingCurrencyCollectionResponse get() { return get(null); } @@ -74,9 +83,12 @@ public BookingCurrencyCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link BookingCurrencyCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public BookingCurrencyCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -88,8 +100,11 @@ public BookingCurrencyCollectionResponse get(@jakarta.annotation.Nullable final * @param body The request body * @return a {@link BookingCurrency} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public BookingCurrency post(@jakarta.annotation.Nonnull final BookingCurrency body) { return post(body, null); } @@ -99,8 +114,11 @@ public BookingCurrency post(@jakarta.annotation.Nonnull final BookingCurrency bo * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link BookingCurrency} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public BookingCurrency post(@jakarta.annotation.Nonnull final BookingCurrency body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -111,8 +129,11 @@ public BookingCurrency post(@jakarta.annotation.Nonnull final BookingCurrency bo /** * Get a list of bookingCurrency objects available to a Microsoft Bookings business. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -120,8 +141,11 @@ public RequestInformation toGetRequestInformation() { * Get a list of bookingCurrency objects available to a Microsoft Bookings business. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -132,8 +156,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to bookingCurrencies for solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BookingCurrency body) { return toPostRequestInformation(body, null); } @@ -142,8 +169,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BookingCurrency body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -156,8 +186,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link BookingCurrenciesRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public BookingCurrenciesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new BookingCurrenciesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/bookingcurrencies/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/bookingcurrencies/count/CountRequestBuilder.java index cac22cd7c8c..5fdf2a6b86e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/bookingcurrencies/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/bookingcurrencies/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/bookingcurrencies/item/BookingCurrencyItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/bookingcurrencies/item/BookingCurrencyItemRequestBuilder.java index 2814d35ec35..ebdcbef1afe 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/bookingcurrencies/item/BookingCurrencyItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/bookingcurrencies/item/BookingCurrencyItemRequestBuilder.java @@ -39,7 +39,10 @@ public BookingCurrencyItemRequestBuilder(@jakarta.annotation.Nonnull final Strin /** * Delete navigation property bookingCurrencies for solutions * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete() { delete(null); } @@ -47,7 +50,10 @@ public void delete() { * Delete navigation property bookingCurrencies for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -58,9 +64,12 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Get the properties of a bookingCurrency object that is available to a Microsoft Bookings business. Use the id property, which is the currency code, to specify the currency. * @return a {@link BookingCurrency} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public BookingCurrency get() { return get(null); } @@ -69,9 +78,12 @@ public BookingCurrency get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link BookingCurrency} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public BookingCurrency get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -83,8 +95,11 @@ public BookingCurrency get(@jakarta.annotation.Nullable final java.util.function * @param body The request body * @return a {@link BookingCurrency} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public BookingCurrency patch(@jakarta.annotation.Nonnull final BookingCurrency body) { return patch(body, null); } @@ -94,8 +109,11 @@ public BookingCurrency patch(@jakarta.annotation.Nonnull final BookingCurrency b * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link BookingCurrency} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public BookingCurrency patch(@jakarta.annotation.Nonnull final BookingCurrency body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -106,8 +124,11 @@ public BookingCurrency patch(@jakarta.annotation.Nonnull final BookingCurrency b /** * Delete navigation property bookingCurrencies for solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -115,8 +136,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property bookingCurrencies for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -126,8 +150,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Get the properties of a bookingCurrency object that is available to a Microsoft Bookings business. Use the id property, which is the currency code, to specify the currency. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -135,8 +162,11 @@ public RequestInformation toGetRequestInformation() { * Get the properties of a bookingCurrency object that is available to a Microsoft Bookings business. Use the id property, which is the currency code, to specify the currency. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -147,8 +177,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property bookingCurrencies in solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final BookingCurrency body) { return toPatchRequestInformation(body, null); } @@ -157,8 +190,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final BookingCurrency body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -171,8 +207,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link BookingCurrencyItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public BookingCurrencyItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new BookingCurrencyItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/businessscenarios/BusinessScenariosRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/businessscenarios/BusinessScenariosRequestBuilder.java index 3fb540df2fa..a93814654f7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/businessscenarios/BusinessScenariosRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/businessscenarios/BusinessScenariosRequestBuilder.java @@ -26,7 +26,10 @@ public class BusinessScenariosRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the businessScenarios property of the microsoft.graph.solutionsRoot entity. * @param businessScenarioId The unique identifier of businessScenario * @return a {@link BusinessScenarioItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public BusinessScenarioItemRequestBuilder byBusinessScenarioId(@jakarta.annotation.Nonnull final String businessScenarioId) { Objects.requireNonNull(businessScenarioId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,9 +69,12 @@ public BusinessScenariosRequestBuilder(@jakarta.annotation.Nonnull final String * Get a list of all businessScenario objects in an organization. * @return a {@link BusinessScenarioCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public BusinessScenarioCollectionResponse get() { return get(null); } @@ -74,9 +83,12 @@ public BusinessScenarioCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link BusinessScenarioCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public BusinessScenarioCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -88,9 +100,12 @@ public BusinessScenarioCollectionResponse get(@jakarta.annotation.Nullable final * @param body The request body * @return a {@link BusinessScenario} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public BusinessScenario post(@jakarta.annotation.Nonnull final BusinessScenario body) { return post(body, null); } @@ -100,9 +115,12 @@ public BusinessScenario post(@jakarta.annotation.Nonnull final BusinessScenario * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link BusinessScenario} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public BusinessScenario post(@jakarta.annotation.Nonnull final BusinessScenario body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -113,8 +131,11 @@ public BusinessScenario post(@jakarta.annotation.Nonnull final BusinessScenario /** * Get a list of all businessScenario objects in an organization. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -122,8 +143,11 @@ public RequestInformation toGetRequestInformation() { * Get a list of all businessScenario objects in an organization. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -134,8 +158,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create a new businessScenario object. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BusinessScenario body) { return toPostRequestInformation(body, null); } @@ -144,8 +171,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BusinessScenario body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -158,8 +188,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link BusinessScenariosRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public BusinessScenariosRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new BusinessScenariosRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/businessscenarios/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/businessscenarios/count/CountRequestBuilder.java index b4b767191c2..9e47a5abca5 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/businessscenarios/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/businessscenarios/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/businessscenarios/item/BusinessScenarioItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/businessscenarios/item/BusinessScenarioItemRequestBuilder.java index 50ecfe5ba6a..914461cb887 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/businessscenarios/item/BusinessScenarioItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/businessscenarios/item/BusinessScenarioItemRequestBuilder.java @@ -24,7 +24,10 @@ public class BusinessScenarioItemRequestBuilder extends BaseRequestBuilder { /** * Provides operations to manage the planner property of the microsoft.graph.businessScenario entity. * @return a {@link PlannerRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public PlannerRequestBuilder planner() { return new PlannerRequestBuilder(pathParameters, requestAdapter); @@ -48,8 +51,11 @@ public BusinessScenarioItemRequestBuilder(@jakarta.annotation.Nonnull final Stri /** * Delete a businessScenario object. The deletion of a scenario causes all data associated with the scenario to be deleted. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ + @Deprecated public void delete() { delete(null); } @@ -57,8 +63,11 @@ public void delete() { * Delete a businessScenario object. The deletion of a scenario causes all data associated with the scenario to be deleted. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -69,9 +78,12 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Read the properties and relationships of a businessScenario object. * @return a {@link BusinessScenario} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public BusinessScenario get() { return get(null); } @@ -80,9 +92,12 @@ public BusinessScenario get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link BusinessScenario} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public BusinessScenario get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -94,9 +109,12 @@ public BusinessScenario get(@jakarta.annotation.Nullable final java.util.functio * @param body The request body * @return a {@link BusinessScenario} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public BusinessScenario patch(@jakarta.annotation.Nonnull final BusinessScenario body) { return patch(body, null); } @@ -106,9 +124,12 @@ public BusinessScenario patch(@jakarta.annotation.Nonnull final BusinessScenario * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link BusinessScenario} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public BusinessScenario patch(@jakarta.annotation.Nonnull final BusinessScenario body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -119,8 +140,11 @@ public BusinessScenario patch(@jakarta.annotation.Nonnull final BusinessScenario /** * Delete a businessScenario object. The deletion of a scenario causes all data associated with the scenario to be deleted. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -128,8 +152,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete a businessScenario object. The deletion of a scenario causes all data associated with the scenario to be deleted. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -139,8 +166,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Read the properties and relationships of a businessScenario object. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -148,8 +178,11 @@ public RequestInformation toGetRequestInformation() { * Read the properties and relationships of a businessScenario object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -160,8 +193,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the properties of a businessScenario object. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final BusinessScenario body) { return toPatchRequestInformation(body, null); } @@ -170,8 +206,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final BusinessScenario body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -184,8 +223,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link BusinessScenarioItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public BusinessScenarioItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new BusinessScenarioItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/businessscenarios/item/planner/PlannerRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/businessscenarios/item/planner/PlannerRequestBuilder.java index 19d73b57242..d737a1cf33a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/businessscenarios/item/planner/PlannerRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/businessscenarios/item/planner/PlannerRequestBuilder.java @@ -27,7 +27,10 @@ public class PlannerRequestBuilder extends BaseRequestBuilder { /** * Provides operations to call the getPlan method. * @return a {@link GetPlanRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public GetPlanRequestBuilder getPlan() { return new GetPlanRequestBuilder(pathParameters, requestAdapter); @@ -35,7 +38,10 @@ public GetPlanRequestBuilder getPlan() { /** * Provides operations to manage the planConfiguration property of the microsoft.graph.businessScenarioPlanner entity. * @return a {@link PlanConfigurationRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public PlanConfigurationRequestBuilder planConfiguration() { return new PlanConfigurationRequestBuilder(pathParameters, requestAdapter); @@ -43,7 +49,10 @@ public PlanConfigurationRequestBuilder planConfiguration() { /** * Provides operations to manage the taskConfiguration property of the microsoft.graph.businessScenarioPlanner entity. * @return a {@link TaskConfigurationRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public TaskConfigurationRequestBuilder taskConfiguration() { return new TaskConfigurationRequestBuilder(pathParameters, requestAdapter); @@ -51,7 +60,10 @@ public TaskConfigurationRequestBuilder taskConfiguration() { /** * Provides operations to manage the tasks property of the microsoft.graph.businessScenarioPlanner entity. * @return a {@link TasksRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public TasksRequestBuilder tasks() { return new TasksRequestBuilder(pathParameters, requestAdapter); @@ -75,7 +87,10 @@ public PlannerRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j /** * Delete navigation property planner for solutions * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete() { delete(null); } @@ -83,7 +98,10 @@ public void delete() { * Delete navigation property planner for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -94,9 +112,12 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Read the properties and relationships of a businessScenarioPlanner object. * @return a {@link BusinessScenarioPlanner} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public BusinessScenarioPlanner get() { return get(null); } @@ -105,9 +126,12 @@ public BusinessScenarioPlanner get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link BusinessScenarioPlanner} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public BusinessScenarioPlanner get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -119,8 +143,11 @@ public BusinessScenarioPlanner get(@jakarta.annotation.Nullable final java.util. * @param body The request body * @return a {@link BusinessScenarioPlanner} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public BusinessScenarioPlanner patch(@jakarta.annotation.Nonnull final BusinessScenarioPlanner body) { return patch(body, null); } @@ -130,8 +157,11 @@ public BusinessScenarioPlanner patch(@jakarta.annotation.Nonnull final BusinessS * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link BusinessScenarioPlanner} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public BusinessScenarioPlanner patch(@jakarta.annotation.Nonnull final BusinessScenarioPlanner body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -142,8 +172,11 @@ public BusinessScenarioPlanner patch(@jakarta.annotation.Nonnull final BusinessS /** * Delete navigation property planner for solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -151,8 +184,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property planner for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -162,8 +198,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Read the properties and relationships of a businessScenarioPlanner object. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -171,8 +210,11 @@ public RequestInformation toGetRequestInformation() { * Read the properties and relationships of a businessScenarioPlanner object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -183,8 +225,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property planner in solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final BusinessScenarioPlanner body) { return toPatchRequestInformation(body, null); } @@ -193,8 +238,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final BusinessScenarioPlanner body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -207,8 +255,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link PlannerRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public PlannerRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new PlannerRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/businessscenarios/item/planner/getplan/GetPlanRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/businessscenarios/item/planner/getplan/GetPlanRequestBuilder.java index 29e0ff53578..01ece432773 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/businessscenarios/item/planner/getplan/GetPlanRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/businessscenarios/item/planner/getplan/GetPlanRequestBuilder.java @@ -40,9 +40,12 @@ public GetPlanRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j * @param body The request body * @return a {@link BusinessScenarioPlanReference} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public BusinessScenarioPlanReference post(@jakarta.annotation.Nonnull final GetPlanPostRequestBody body) { return post(body, null); } @@ -52,9 +55,12 @@ public BusinessScenarioPlanReference post(@jakarta.annotation.Nonnull final GetP * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link BusinessScenarioPlanReference} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public BusinessScenarioPlanReference post(@jakarta.annotation.Nonnull final GetPlanPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -66,8 +72,11 @@ public BusinessScenarioPlanReference post(@jakarta.annotation.Nonnull final GetP * Get information about the plannerPlan mapped to a given target. If a plannerPlan doesn't exist for the specified target at the time of the request, a new plan will be created for the businessScenario. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GetPlanPostRequestBody body) { return toPostRequestInformation(body, null); } @@ -76,8 +85,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GetPlanPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -90,8 +102,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link GetPlanRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public GetPlanRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new GetPlanRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/businessscenarios/item/planner/planconfiguration/PlanConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/businessscenarios/item/planner/planconfiguration/PlanConfigurationRequestBuilder.java index a62e8ef98cb..51d98112130 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/businessscenarios/item/planner/planconfiguration/PlanConfigurationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/businessscenarios/item/planner/planconfiguration/PlanConfigurationRequestBuilder.java @@ -24,7 +24,10 @@ public class PlanConfigurationRequestBuilder extends BaseRequestBuilder { /** * Provides operations to manage the localizations property of the microsoft.graph.plannerPlanConfiguration entity. * @return a {@link LocalizationsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public LocalizationsRequestBuilder localizations() { return new LocalizationsRequestBuilder(pathParameters, requestAdapter); @@ -48,7 +51,10 @@ public PlanConfigurationRequestBuilder(@jakarta.annotation.Nonnull final String /** * Delete navigation property planConfiguration for solutions * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete() { delete(null); } @@ -56,7 +62,10 @@ public void delete() { * Delete navigation property planConfiguration for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -67,9 +76,12 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Read the properties and relationships of a plannerPlanConfiguration object. * @return a {@link PlannerPlanConfiguration} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public PlannerPlanConfiguration get() { return get(null); } @@ -78,9 +90,12 @@ public PlannerPlanConfiguration get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link PlannerPlanConfiguration} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public PlannerPlanConfiguration get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -92,9 +107,12 @@ public PlannerPlanConfiguration get(@jakarta.annotation.Nullable final java.util * @param body The request body * @return a {@link PlannerPlanConfiguration} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public PlannerPlanConfiguration patch(@jakarta.annotation.Nonnull final PlannerPlanConfiguration body) { return patch(body, null); } @@ -104,9 +122,12 @@ public PlannerPlanConfiguration patch(@jakarta.annotation.Nonnull final PlannerP * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link PlannerPlanConfiguration} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public PlannerPlanConfiguration patch(@jakarta.annotation.Nonnull final PlannerPlanConfiguration body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -117,8 +138,11 @@ public PlannerPlanConfiguration patch(@jakarta.annotation.Nonnull final PlannerP /** * Delete navigation property planConfiguration for solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -126,8 +150,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property planConfiguration for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -137,8 +164,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Read the properties and relationships of a plannerPlanConfiguration object. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -146,8 +176,11 @@ public RequestInformation toGetRequestInformation() { * Read the properties and relationships of a plannerPlanConfiguration object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -158,8 +191,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the properties of a plannerPlanConfiguration object and its plannerPlanConfigurationLocalization collection for a businessScenario. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final PlannerPlanConfiguration body) { return toPatchRequestInformation(body, null); } @@ -168,8 +204,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final PlannerPlanConfiguration body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -182,8 +221,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link PlanConfigurationRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public PlanConfigurationRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new PlanConfigurationRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/businessscenarios/item/planner/planconfiguration/localizations/LocalizationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/businessscenarios/item/planner/planconfiguration/localizations/LocalizationsRequestBuilder.java index add3b9a8671..5b85348b3dc 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/businessscenarios/item/planner/planconfiguration/localizations/LocalizationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/businessscenarios/item/planner/planconfiguration/localizations/LocalizationsRequestBuilder.java @@ -26,7 +26,10 @@ public class LocalizationsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the localizations property of the microsoft.graph.plannerPlanConfiguration entity. * @param plannerPlanConfigurationLocalizationId The unique identifier of plannerPlanConfigurationLocalization * @return a {@link PlannerPlanConfigurationLocalizationItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public PlannerPlanConfigurationLocalizationItemRequestBuilder byPlannerPlanConfigurationLocalizationId(@jakarta.annotation.Nonnull final String plannerPlanConfigurationLocalizationId) { Objects.requireNonNull(plannerPlanConfigurationLocalizationId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,9 +69,12 @@ public LocalizationsRequestBuilder(@jakarta.annotation.Nonnull final String rawU * Get a list of the plannerPlanConfigurationLocalization objects and their properties. * @return a {@link PlannerPlanConfigurationLocalizationCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public PlannerPlanConfigurationLocalizationCollectionResponse get() { return get(null); } @@ -74,9 +83,12 @@ public PlannerPlanConfigurationLocalizationCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link PlannerPlanConfigurationLocalizationCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public PlannerPlanConfigurationLocalizationCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -88,8 +100,11 @@ public PlannerPlanConfigurationLocalizationCollectionResponse get(@jakarta.annot * @param body The request body * @return a {@link PlannerPlanConfigurationLocalization} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public PlannerPlanConfigurationLocalization post(@jakarta.annotation.Nonnull final PlannerPlanConfigurationLocalization body) { return post(body, null); } @@ -99,8 +114,11 @@ public PlannerPlanConfigurationLocalization post(@jakarta.annotation.Nonnull fin * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link PlannerPlanConfigurationLocalization} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public PlannerPlanConfigurationLocalization post(@jakarta.annotation.Nonnull final PlannerPlanConfigurationLocalization body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -111,8 +129,11 @@ public PlannerPlanConfigurationLocalization post(@jakarta.annotation.Nonnull fin /** * Get a list of the plannerPlanConfigurationLocalization objects and their properties. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -120,8 +141,11 @@ public RequestInformation toGetRequestInformation() { * Get a list of the plannerPlanConfigurationLocalization objects and their properties. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -132,8 +156,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to localizations for solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final PlannerPlanConfigurationLocalization body) { return toPostRequestInformation(body, null); } @@ -142,8 +169,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final PlannerPlanConfigurationLocalization body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -156,8 +186,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link LocalizationsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public LocalizationsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new LocalizationsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/businessscenarios/item/planner/planconfiguration/localizations/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/businessscenarios/item/planner/planconfiguration/localizations/count/CountRequestBuilder.java index 32b072e8046..7de2c30083e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/businessscenarios/item/planner/planconfiguration/localizations/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/businessscenarios/item/planner/planconfiguration/localizations/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/businessscenarios/item/planner/planconfiguration/localizations/item/PlannerPlanConfigurationLocalizationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/businessscenarios/item/planner/planconfiguration/localizations/item/PlannerPlanConfigurationLocalizationItemRequestBuilder.java index ef8be31d012..8c5f7e3d2e2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/businessscenarios/item/planner/planconfiguration/localizations/item/PlannerPlanConfigurationLocalizationItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/businessscenarios/item/planner/planconfiguration/localizations/item/PlannerPlanConfigurationLocalizationItemRequestBuilder.java @@ -39,7 +39,10 @@ public PlannerPlanConfigurationLocalizationItemRequestBuilder(@jakarta.annotatio /** * Delete navigation property localizations for solutions * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete() { delete(null); } @@ -47,7 +50,10 @@ public void delete() { * Delete navigation property localizations for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -58,8 +64,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Localized names for the plan configuration. * @return a {@link PlannerPlanConfigurationLocalization} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public PlannerPlanConfigurationLocalization get() { return get(null); } @@ -68,8 +77,11 @@ public PlannerPlanConfigurationLocalization get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link PlannerPlanConfigurationLocalization} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public PlannerPlanConfigurationLocalization get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -81,8 +93,11 @@ public PlannerPlanConfigurationLocalization get(@jakarta.annotation.Nullable fin * @param body The request body * @return a {@link PlannerPlanConfigurationLocalization} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public PlannerPlanConfigurationLocalization patch(@jakarta.annotation.Nonnull final PlannerPlanConfigurationLocalization body) { return patch(body, null); } @@ -92,8 +107,11 @@ public PlannerPlanConfigurationLocalization patch(@jakarta.annotation.Nonnull fi * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link PlannerPlanConfigurationLocalization} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public PlannerPlanConfigurationLocalization patch(@jakarta.annotation.Nonnull final PlannerPlanConfigurationLocalization body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -104,8 +122,11 @@ public PlannerPlanConfigurationLocalization patch(@jakarta.annotation.Nonnull fi /** * Delete navigation property localizations for solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -113,8 +134,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property localizations for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Localized names for the plan configuration. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -133,8 +160,11 @@ public RequestInformation toGetRequestInformation() { * Localized names for the plan configuration. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -145,8 +175,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property localizations in solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final PlannerPlanConfigurationLocalization body) { return toPatchRequestInformation(body, null); } @@ -155,8 +188,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final PlannerPlanConfigurationLocalization body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -169,8 +205,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link PlannerPlanConfigurationLocalizationItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public PlannerPlanConfigurationLocalizationItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new PlannerPlanConfigurationLocalizationItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/businessscenarios/item/planner/taskconfiguration/TaskConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/businessscenarios/item/planner/taskconfiguration/TaskConfigurationRequestBuilder.java index 66082379a62..7a37824e8dd 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/businessscenarios/item/planner/taskconfiguration/TaskConfigurationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/businessscenarios/item/planner/taskconfiguration/TaskConfigurationRequestBuilder.java @@ -39,7 +39,10 @@ public TaskConfigurationRequestBuilder(@jakarta.annotation.Nonnull final String /** * Delete navigation property taskConfiguration for solutions * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete() { delete(null); } @@ -47,7 +50,10 @@ public void delete() { * Delete navigation property taskConfiguration for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -58,9 +64,12 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Read the properties and relationships of a plannerTaskConfiguration object. * @return a {@link PlannerTaskConfiguration} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public PlannerTaskConfiguration get() { return get(null); } @@ -69,9 +78,12 @@ public PlannerTaskConfiguration get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link PlannerTaskConfiguration} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public PlannerTaskConfiguration get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -83,9 +95,12 @@ public PlannerTaskConfiguration get(@jakarta.annotation.Nullable final java.util * @param body The request body * @return a {@link PlannerTaskConfiguration} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public PlannerTaskConfiguration patch(@jakarta.annotation.Nonnull final PlannerTaskConfiguration body) { return patch(body, null); } @@ -95,9 +110,12 @@ public PlannerTaskConfiguration patch(@jakarta.annotation.Nonnull final PlannerT * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link PlannerTaskConfiguration} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public PlannerTaskConfiguration patch(@jakarta.annotation.Nonnull final PlannerTaskConfiguration body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -108,8 +126,11 @@ public PlannerTaskConfiguration patch(@jakarta.annotation.Nonnull final PlannerT /** * Delete navigation property taskConfiguration for solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -117,8 +138,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property taskConfiguration for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -128,8 +152,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Read the properties and relationships of a plannerTaskConfiguration object. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -137,8 +164,11 @@ public RequestInformation toGetRequestInformation() { * Read the properties and relationships of a plannerTaskConfiguration object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -149,8 +179,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the properties of a plannerTaskConfiguration object. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final PlannerTaskConfiguration body) { return toPatchRequestInformation(body, null); } @@ -159,8 +192,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final PlannerTaskConfiguration body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -173,8 +209,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link TaskConfigurationRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public TaskConfigurationRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new TaskConfigurationRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/businessscenarios/item/planner/tasks/TasksRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/businessscenarios/item/planner/tasks/TasksRequestBuilder.java index f8adc726742..7ab4163d278 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/businessscenarios/item/planner/tasks/TasksRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/businessscenarios/item/planner/tasks/TasksRequestBuilder.java @@ -26,7 +26,10 @@ public class TasksRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the tasks property of the microsoft.graph.businessScenarioPlanner entity. * @param businessScenarioTaskId The unique identifier of businessScenarioTask * @return a {@link BusinessScenarioTaskItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public BusinessScenarioTaskItemRequestBuilder byBusinessScenarioTaskId(@jakarta.annotation.Nonnull final String businessScenarioTaskId) { Objects.requireNonNull(businessScenarioTaskId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,9 +69,12 @@ public TasksRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get a list of the businessScenarioTask objects and their properties. * @return a {@link BusinessScenarioTaskCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public BusinessScenarioTaskCollectionResponse get() { return get(null); } @@ -74,9 +83,12 @@ public BusinessScenarioTaskCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link BusinessScenarioTaskCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public BusinessScenarioTaskCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -88,9 +100,12 @@ public BusinessScenarioTaskCollectionResponse get(@jakarta.annotation.Nullable f * @param body The request body * @return a {@link BusinessScenarioTask} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public BusinessScenarioTask post(@jakarta.annotation.Nonnull final BusinessScenarioTask body) { return post(body, null); } @@ -100,9 +115,12 @@ public BusinessScenarioTask post(@jakarta.annotation.Nonnull final BusinessScena * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link BusinessScenarioTask} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public BusinessScenarioTask post(@jakarta.annotation.Nonnull final BusinessScenarioTask body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -113,8 +131,11 @@ public BusinessScenarioTask post(@jakarta.annotation.Nonnull final BusinessScena /** * Get a list of the businessScenarioTask objects and their properties. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -122,8 +143,11 @@ public RequestInformation toGetRequestInformation() { * Get a list of the businessScenarioTask objects and their properties. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -134,8 +158,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create a new businessScenarioTask object. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BusinessScenarioTask body) { return toPostRequestInformation(body, null); } @@ -144,8 +171,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BusinessScenarioTask body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -158,8 +188,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link TasksRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public TasksRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new TasksRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/businessscenarios/item/planner/tasks/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/businessscenarios/item/planner/tasks/count/CountRequestBuilder.java index cb65e195fcb..b028e68ed1d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/businessscenarios/item/planner/tasks/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/businessscenarios/item/planner/tasks/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/businessscenarios/item/planner/tasks/item/BusinessScenarioTaskItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/businessscenarios/item/planner/tasks/item/BusinessScenarioTaskItemRequestBuilder.java index 70fccb2c1d0..01c66664923 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/businessscenarios/item/planner/tasks/item/BusinessScenarioTaskItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/businessscenarios/item/planner/tasks/item/BusinessScenarioTaskItemRequestBuilder.java @@ -28,7 +28,10 @@ public class BusinessScenarioTaskItemRequestBuilder extends BaseRequestBuilder { /** * Provides operations to manage the assignedToTaskBoardFormat property of the microsoft.graph.plannerTask entity. * @return a {@link AssignedToTaskBoardFormatRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public AssignedToTaskBoardFormatRequestBuilder assignedToTaskBoardFormat() { return new AssignedToTaskBoardFormatRequestBuilder(pathParameters, requestAdapter); @@ -36,7 +39,10 @@ public AssignedToTaskBoardFormatRequestBuilder assignedToTaskBoardFormat() { /** * Provides operations to manage the bucketTaskBoardFormat property of the microsoft.graph.plannerTask entity. * @return a {@link BucketTaskBoardFormatRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public BucketTaskBoardFormatRequestBuilder bucketTaskBoardFormat() { return new BucketTaskBoardFormatRequestBuilder(pathParameters, requestAdapter); @@ -44,7 +50,10 @@ public BucketTaskBoardFormatRequestBuilder bucketTaskBoardFormat() { /** * Provides operations to manage the details property of the microsoft.graph.plannerTask entity. * @return a {@link DetailsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public DetailsRequestBuilder details() { return new DetailsRequestBuilder(pathParameters, requestAdapter); @@ -52,7 +61,10 @@ public DetailsRequestBuilder details() { /** * Provides operations to manage the messages property of the microsoft.graph.plannerTask entity. * @return a {@link MessagesRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public MessagesRequestBuilder messages() { return new MessagesRequestBuilder(pathParameters, requestAdapter); @@ -60,7 +72,10 @@ public MessagesRequestBuilder messages() { /** * Provides operations to manage the progressTaskBoardFormat property of the microsoft.graph.plannerTask entity. * @return a {@link ProgressTaskBoardFormatRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public ProgressTaskBoardFormatRequestBuilder progressTaskBoardFormat() { return new ProgressTaskBoardFormatRequestBuilder(pathParameters, requestAdapter); @@ -84,8 +99,11 @@ public BusinessScenarioTaskItemRequestBuilder(@jakarta.annotation.Nonnull final /** * Delete a businessScenarioTask object. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ + @Deprecated public void delete() { delete(null); } @@ -93,8 +111,11 @@ public void delete() { * Delete a businessScenarioTask object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -105,9 +126,12 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Read the properties and relationships of a businessScenarioTask object. * @return a {@link BusinessScenarioTask} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public BusinessScenarioTask get() { return get(null); } @@ -116,9 +140,12 @@ public BusinessScenarioTask get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link BusinessScenarioTask} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public BusinessScenarioTask get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -130,9 +157,12 @@ public BusinessScenarioTask get(@jakarta.annotation.Nullable final java.util.fun * @param body The request body * @return a {@link BusinessScenarioTask} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public BusinessScenarioTask patch(@jakarta.annotation.Nonnull final BusinessScenarioTask body) { return patch(body, null); } @@ -142,9 +172,12 @@ public BusinessScenarioTask patch(@jakarta.annotation.Nonnull final BusinessScen * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link BusinessScenarioTask} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public BusinessScenarioTask patch(@jakarta.annotation.Nonnull final BusinessScenarioTask body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -155,8 +188,11 @@ public BusinessScenarioTask patch(@jakarta.annotation.Nonnull final BusinessScen /** * Delete a businessScenarioTask object. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -164,8 +200,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete a businessScenarioTask object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -175,8 +214,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Read the properties and relationships of a businessScenarioTask object. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -184,8 +226,11 @@ public RequestInformation toGetRequestInformation() { * Read the properties and relationships of a businessScenarioTask object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -196,8 +241,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the properties of a businessScenarioTask object. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final BusinessScenarioTask body) { return toPatchRequestInformation(body, null); } @@ -206,8 +254,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final BusinessScenarioTask body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -220,8 +271,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link BusinessScenarioTaskItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public BusinessScenarioTaskItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new BusinessScenarioTaskItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/businessscenarios/item/planner/tasks/item/assignedtotaskboardformat/AssignedToTaskBoardFormatRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/businessscenarios/item/planner/tasks/item/assignedtotaskboardformat/AssignedToTaskBoardFormatRequestBuilder.java index 0169ee78cca..d6bd1de0774 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/businessscenarios/item/planner/tasks/item/assignedtotaskboardformat/AssignedToTaskBoardFormatRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/businessscenarios/item/planner/tasks/item/assignedtotaskboardformat/AssignedToTaskBoardFormatRequestBuilder.java @@ -39,7 +39,10 @@ public AssignedToTaskBoardFormatRequestBuilder(@jakarta.annotation.Nonnull final /** * Delete navigation property assignedToTaskBoardFormat for solutions * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete() { delete(null); } @@ -47,7 +50,10 @@ public void delete() { * Delete navigation property assignedToTaskBoardFormat for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -58,8 +64,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Read-only. Nullable. Used to render the task correctly in the task board view when grouped by assignedTo. * @return a {@link PlannerAssignedToTaskBoardTaskFormat} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public PlannerAssignedToTaskBoardTaskFormat get() { return get(null); } @@ -68,8 +77,11 @@ public PlannerAssignedToTaskBoardTaskFormat get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link PlannerAssignedToTaskBoardTaskFormat} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public PlannerAssignedToTaskBoardTaskFormat get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -81,8 +93,11 @@ public PlannerAssignedToTaskBoardTaskFormat get(@jakarta.annotation.Nullable fin * @param body The request body * @return a {@link PlannerAssignedToTaskBoardTaskFormat} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public PlannerAssignedToTaskBoardTaskFormat patch(@jakarta.annotation.Nonnull final PlannerAssignedToTaskBoardTaskFormat body) { return patch(body, null); } @@ -92,8 +107,11 @@ public PlannerAssignedToTaskBoardTaskFormat patch(@jakarta.annotation.Nonnull fi * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link PlannerAssignedToTaskBoardTaskFormat} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public PlannerAssignedToTaskBoardTaskFormat patch(@jakarta.annotation.Nonnull final PlannerAssignedToTaskBoardTaskFormat body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -104,8 +122,11 @@ public PlannerAssignedToTaskBoardTaskFormat patch(@jakarta.annotation.Nonnull fi /** * Delete navigation property assignedToTaskBoardFormat for solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -113,8 +134,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property assignedToTaskBoardFormat for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Read-only. Nullable. Used to render the task correctly in the task board view when grouped by assignedTo. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -133,8 +160,11 @@ public RequestInformation toGetRequestInformation() { * Read-only. Nullable. Used to render the task correctly in the task board view when grouped by assignedTo. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -145,8 +175,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property assignedToTaskBoardFormat in solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final PlannerAssignedToTaskBoardTaskFormat body) { return toPatchRequestInformation(body, null); } @@ -155,8 +188,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final PlannerAssignedToTaskBoardTaskFormat body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -169,8 +205,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AssignedToTaskBoardFormatRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public AssignedToTaskBoardFormatRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AssignedToTaskBoardFormatRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/businessscenarios/item/planner/tasks/item/buckettaskboardformat/BucketTaskBoardFormatRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/businessscenarios/item/planner/tasks/item/buckettaskboardformat/BucketTaskBoardFormatRequestBuilder.java index bcc118ec272..dd0e5482c29 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/businessscenarios/item/planner/tasks/item/buckettaskboardformat/BucketTaskBoardFormatRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/businessscenarios/item/planner/tasks/item/buckettaskboardformat/BucketTaskBoardFormatRequestBuilder.java @@ -39,7 +39,10 @@ public BucketTaskBoardFormatRequestBuilder(@jakarta.annotation.Nonnull final Str /** * Delete navigation property bucketTaskBoardFormat for solutions * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete() { delete(null); } @@ -47,7 +50,10 @@ public void delete() { * Delete navigation property bucketTaskBoardFormat for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -58,8 +64,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Read-only. Nullable. Used to render the task correctly in the task board view when grouped by bucket. * @return a {@link PlannerBucketTaskBoardTaskFormat} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public PlannerBucketTaskBoardTaskFormat get() { return get(null); } @@ -68,8 +77,11 @@ public PlannerBucketTaskBoardTaskFormat get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link PlannerBucketTaskBoardTaskFormat} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public PlannerBucketTaskBoardTaskFormat get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -81,8 +93,11 @@ public PlannerBucketTaskBoardTaskFormat get(@jakarta.annotation.Nullable final j * @param body The request body * @return a {@link PlannerBucketTaskBoardTaskFormat} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public PlannerBucketTaskBoardTaskFormat patch(@jakarta.annotation.Nonnull final PlannerBucketTaskBoardTaskFormat body) { return patch(body, null); } @@ -92,8 +107,11 @@ public PlannerBucketTaskBoardTaskFormat patch(@jakarta.annotation.Nonnull final * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link PlannerBucketTaskBoardTaskFormat} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public PlannerBucketTaskBoardTaskFormat patch(@jakarta.annotation.Nonnull final PlannerBucketTaskBoardTaskFormat body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -104,8 +122,11 @@ public PlannerBucketTaskBoardTaskFormat patch(@jakarta.annotation.Nonnull final /** * Delete navigation property bucketTaskBoardFormat for solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -113,8 +134,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property bucketTaskBoardFormat for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Read-only. Nullable. Used to render the task correctly in the task board view when grouped by bucket. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -133,8 +160,11 @@ public RequestInformation toGetRequestInformation() { * Read-only. Nullable. Used to render the task correctly in the task board view when grouped by bucket. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -145,8 +175,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property bucketTaskBoardFormat in solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final PlannerBucketTaskBoardTaskFormat body) { return toPatchRequestInformation(body, null); } @@ -155,8 +188,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final PlannerBucketTaskBoardTaskFormat body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -169,8 +205,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link BucketTaskBoardFormatRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public BucketTaskBoardFormatRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new BucketTaskBoardFormatRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/businessscenarios/item/planner/tasks/item/details/DetailsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/businessscenarios/item/planner/tasks/item/details/DetailsRequestBuilder.java index ce68cb4bbfd..19291221c4a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/businessscenarios/item/planner/tasks/item/details/DetailsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/businessscenarios/item/planner/tasks/item/details/DetailsRequestBuilder.java @@ -39,7 +39,10 @@ public DetailsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j /** * Delete navigation property details for solutions * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete() { delete(null); } @@ -47,7 +50,10 @@ public void delete() { * Delete navigation property details for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -58,8 +64,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Read-only. Nullable. More details about the task. * @return a {@link PlannerTaskDetails} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public PlannerTaskDetails get() { return get(null); } @@ -68,8 +77,11 @@ public PlannerTaskDetails get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link PlannerTaskDetails} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public PlannerTaskDetails get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -81,8 +93,11 @@ public PlannerTaskDetails get(@jakarta.annotation.Nullable final java.util.funct * @param body The request body * @return a {@link PlannerTaskDetails} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public PlannerTaskDetails patch(@jakarta.annotation.Nonnull final PlannerTaskDetails body) { return patch(body, null); } @@ -92,8 +107,11 @@ public PlannerTaskDetails patch(@jakarta.annotation.Nonnull final PlannerTaskDet * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link PlannerTaskDetails} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public PlannerTaskDetails patch(@jakarta.annotation.Nonnull final PlannerTaskDetails body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -104,8 +122,11 @@ public PlannerTaskDetails patch(@jakarta.annotation.Nonnull final PlannerTaskDet /** * Delete navigation property details for solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -113,8 +134,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property details for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Read-only. Nullable. More details about the task. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -133,8 +160,11 @@ public RequestInformation toGetRequestInformation() { * Read-only. Nullable. More details about the task. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -145,8 +175,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property details in solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final PlannerTaskDetails body) { return toPatchRequestInformation(body, null); } @@ -155,8 +188,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final PlannerTaskDetails body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -169,8 +205,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link DetailsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public DetailsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new DetailsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/businessscenarios/item/planner/tasks/item/messages/MessagesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/businessscenarios/item/planner/tasks/item/messages/MessagesRequestBuilder.java index 077a2a5dac3..fc23da7fcd9 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/businessscenarios/item/planner/tasks/item/messages/MessagesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/businessscenarios/item/planner/tasks/item/messages/MessagesRequestBuilder.java @@ -26,7 +26,10 @@ public class MessagesRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the messages property of the microsoft.graph.plannerTask entity. * @param plannerTaskChatMessageId The unique identifier of plannerTaskChatMessage * @return a {@link PlannerTaskChatMessageItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public PlannerTaskChatMessageItemRequestBuilder byPlannerTaskChatMessageId(@jakarta.annotation.Nonnull final String plannerTaskChatMessageId) { Objects.requireNonNull(plannerTaskChatMessageId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public MessagesRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ * Read-only. Nullable. Chat messages associated with the task. * @return a {@link PlannerTaskChatMessageCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public PlannerTaskChatMessageCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public PlannerTaskChatMessageCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link PlannerTaskChatMessageCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public PlannerTaskChatMessageCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public PlannerTaskChatMessageCollectionResponse get(@jakarta.annotation.Nullable * @param body The request body * @return a {@link PlannerTaskChatMessage} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public PlannerTaskChatMessage post(@jakarta.annotation.Nonnull final PlannerTaskChatMessage body) { return post(body, null); } @@ -97,8 +112,11 @@ public PlannerTaskChatMessage post(@jakarta.annotation.Nonnull final PlannerTask * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link PlannerTaskChatMessage} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public PlannerTaskChatMessage post(@jakarta.annotation.Nonnull final PlannerTaskChatMessage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public PlannerTaskChatMessage post(@jakarta.annotation.Nonnull final PlannerTask /** * Read-only. Nullable. Chat messages associated with the task. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Read-only. Nullable. Chat messages associated with the task. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to messages for solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final PlannerTaskChatMessage body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final PlannerTaskChatMessage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link MessagesRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public MessagesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new MessagesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/businessscenarios/item/planner/tasks/item/messages/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/businessscenarios/item/planner/tasks/item/messages/count/CountRequestBuilder.java index af74d5bdd9d..a747e5a7584 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/businessscenarios/item/planner/tasks/item/messages/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/businessscenarios/item/planner/tasks/item/messages/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/businessscenarios/item/planner/tasks/item/messages/item/PlannerTaskChatMessageItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/businessscenarios/item/planner/tasks/item/messages/item/PlannerTaskChatMessageItemRequestBuilder.java index 940665de921..3c3012b2966 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/businessscenarios/item/planner/tasks/item/messages/item/PlannerTaskChatMessageItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/businessscenarios/item/planner/tasks/item/messages/item/PlannerTaskChatMessageItemRequestBuilder.java @@ -25,7 +25,10 @@ public class PlannerTaskChatMessageItemRequestBuilder extends BaseRequestBuilder /** * Provides operations to call the setReaction method. * @return a {@link SetReactionRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public SetReactionRequestBuilder setReaction() { return new SetReactionRequestBuilder(pathParameters, requestAdapter); @@ -33,7 +36,10 @@ public SetReactionRequestBuilder setReaction() { /** * Provides operations to call the unsetReaction method. * @return a {@link UnsetReactionRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public UnsetReactionRequestBuilder unsetReaction() { return new UnsetReactionRequestBuilder(pathParameters, requestAdapter); @@ -57,7 +63,10 @@ public PlannerTaskChatMessageItemRequestBuilder(@jakarta.annotation.Nonnull fina /** * Delete navigation property messages for solutions * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete() { delete(null); } @@ -65,7 +74,10 @@ public void delete() { * Delete navigation property messages for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -76,8 +88,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Read-only. Nullable. Chat messages associated with the task. * @return a {@link PlannerTaskChatMessage} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public PlannerTaskChatMessage get() { return get(null); } @@ -86,8 +101,11 @@ public PlannerTaskChatMessage get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link PlannerTaskChatMessage} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public PlannerTaskChatMessage get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -99,8 +117,11 @@ public PlannerTaskChatMessage get(@jakarta.annotation.Nullable final java.util.f * @param body The request body * @return a {@link PlannerTaskChatMessage} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public PlannerTaskChatMessage patch(@jakarta.annotation.Nonnull final PlannerTaskChatMessage body) { return patch(body, null); } @@ -110,8 +131,11 @@ public PlannerTaskChatMessage patch(@jakarta.annotation.Nonnull final PlannerTas * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link PlannerTaskChatMessage} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public PlannerTaskChatMessage patch(@jakarta.annotation.Nonnull final PlannerTaskChatMessage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -122,8 +146,11 @@ public PlannerTaskChatMessage patch(@jakarta.annotation.Nonnull final PlannerTas /** * Delete navigation property messages for solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -131,8 +158,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property messages for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -142,8 +172,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Read-only. Nullable. Chat messages associated with the task. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -151,8 +184,11 @@ public RequestInformation toGetRequestInformation() { * Read-only. Nullable. Chat messages associated with the task. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -163,8 +199,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property messages in solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final PlannerTaskChatMessage body) { return toPatchRequestInformation(body, null); } @@ -173,8 +212,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final PlannerTaskChatMessage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -187,8 +229,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link PlannerTaskChatMessageItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public PlannerTaskChatMessageItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new PlannerTaskChatMessageItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/businessscenarios/item/planner/tasks/item/messages/item/setreaction/SetReactionRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/businessscenarios/item/planner/tasks/item/messages/item/setreaction/SetReactionRequestBuilder.java index 5fd349fe351..460d0952bba 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/businessscenarios/item/planner/tasks/item/messages/item/setreaction/SetReactionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/businessscenarios/item/planner/tasks/item/messages/item/setreaction/SetReactionRequestBuilder.java @@ -38,8 +38,11 @@ public SetReactionRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl * Set a reaction to a plannerTaskChatMessage for the current user. * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final SetReactionPostRequestBody body) { post(body, null); } @@ -48,8 +51,11 @@ public void post(@jakarta.annotation.Nonnull final SetReactionPostRequestBody bo * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final SetReactionPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -61,8 +67,11 @@ public void post(@jakarta.annotation.Nonnull final SetReactionPostRequestBody bo * Set a reaction to a plannerTaskChatMessage for the current user. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final SetReactionPostRequestBody body) { return toPostRequestInformation(body, null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final SetReactionPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -85,8 +97,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link SetReactionRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public SetReactionRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new SetReactionRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/businessscenarios/item/planner/tasks/item/messages/item/unsetreaction/UnsetReactionRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/businessscenarios/item/planner/tasks/item/messages/item/unsetreaction/UnsetReactionRequestBuilder.java index 5eb389c32be..ac49e00000b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/businessscenarios/item/planner/tasks/item/messages/item/unsetreaction/UnsetReactionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/businessscenarios/item/planner/tasks/item/messages/item/unsetreaction/UnsetReactionRequestBuilder.java @@ -38,8 +38,11 @@ public UnsetReactionRequestBuilder(@jakarta.annotation.Nonnull final String rawU * Remove a reaction from a plannerTaskChatMessage for the current user. * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final UnsetReactionPostRequestBody body) { post(body, null); } @@ -48,8 +51,11 @@ public void post(@jakarta.annotation.Nonnull final UnsetReactionPostRequestBody * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nonnull final UnsetReactionPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -61,8 +67,11 @@ public void post(@jakarta.annotation.Nonnull final UnsetReactionPostRequestBody * Remove a reaction from a plannerTaskChatMessage for the current user. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final UnsetReactionPostRequestBody body) { return toPostRequestInformation(body, null); } @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final UnsetReactionPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -85,8 +97,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link UnsetReactionRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public UnsetReactionRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new UnsetReactionRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/businessscenarios/item/planner/tasks/item/progresstaskboardformat/ProgressTaskBoardFormatRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/businessscenarios/item/planner/tasks/item/progresstaskboardformat/ProgressTaskBoardFormatRequestBuilder.java index 8b7adf04373..9383dc1d14e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/businessscenarios/item/planner/tasks/item/progresstaskboardformat/ProgressTaskBoardFormatRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/businessscenarios/item/planner/tasks/item/progresstaskboardformat/ProgressTaskBoardFormatRequestBuilder.java @@ -39,7 +39,10 @@ public ProgressTaskBoardFormatRequestBuilder(@jakarta.annotation.Nonnull final S /** * Delete navigation property progressTaskBoardFormat for solutions * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete() { delete(null); } @@ -47,7 +50,10 @@ public void delete() { * Delete navigation property progressTaskBoardFormat for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -58,8 +64,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Read-only. Nullable. Used to render the task correctly in the task board view when grouped by progress. * @return a {@link PlannerProgressTaskBoardTaskFormat} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public PlannerProgressTaskBoardTaskFormat get() { return get(null); } @@ -68,8 +77,11 @@ public PlannerProgressTaskBoardTaskFormat get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link PlannerProgressTaskBoardTaskFormat} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public PlannerProgressTaskBoardTaskFormat get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -81,8 +93,11 @@ public PlannerProgressTaskBoardTaskFormat get(@jakarta.annotation.Nullable final * @param body The request body * @return a {@link PlannerProgressTaskBoardTaskFormat} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public PlannerProgressTaskBoardTaskFormat patch(@jakarta.annotation.Nonnull final PlannerProgressTaskBoardTaskFormat body) { return patch(body, null); } @@ -92,8 +107,11 @@ public PlannerProgressTaskBoardTaskFormat patch(@jakarta.annotation.Nonnull fina * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link PlannerProgressTaskBoardTaskFormat} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public PlannerProgressTaskBoardTaskFormat patch(@jakarta.annotation.Nonnull final PlannerProgressTaskBoardTaskFormat body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -104,8 +122,11 @@ public PlannerProgressTaskBoardTaskFormat patch(@jakarta.annotation.Nonnull fina /** * Delete navigation property progressTaskBoardFormat for solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -113,8 +134,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property progressTaskBoardFormat for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Read-only. Nullable. Used to render the task correctly in the task board view when grouped by progress. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -133,8 +160,11 @@ public RequestInformation toGetRequestInformation() { * Read-only. Nullable. Used to render the task correctly in the task board view when grouped by progress. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -145,8 +175,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property progressTaskBoardFormat in solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final PlannerProgressTaskBoardTaskFormat body) { return toPatchRequestInformation(body, null); } @@ -155,8 +188,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final PlannerProgressTaskBoardTaskFormat body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -169,8 +205,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link ProgressTaskBoardFormatRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public ProgressTaskBoardFormatRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new ProgressTaskBoardFormatRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/businessscenarioswithuniquename/BusinessScenariosWithUniqueNameRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/businessscenarioswithuniquename/BusinessScenariosWithUniqueNameRequestBuilder.java index 4bb54a3f0e1..9a7569615a4 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/businessscenarioswithuniquename/BusinessScenariosWithUniqueNameRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/businessscenarioswithuniquename/BusinessScenariosWithUniqueNameRequestBuilder.java @@ -41,8 +41,11 @@ public BusinessScenariosWithUniqueNameRequestBuilder(@jakarta.annotation.Nonnull /** * Delete a businessScenario object. The deletion of a scenario causes all data associated with the scenario to be deleted. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ + @Deprecated public void delete() { delete(null); } @@ -50,8 +53,11 @@ public void delete() { * Delete a businessScenario object. The deletion of a scenario causes all data associated with the scenario to be deleted. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -62,9 +68,12 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Read the properties and relationships of a businessScenario object. * @return a {@link BusinessScenario} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public BusinessScenario get() { return get(null); } @@ -73,9 +82,12 @@ public BusinessScenario get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link BusinessScenario} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public BusinessScenario get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -87,9 +99,12 @@ public BusinessScenario get(@jakarta.annotation.Nullable final java.util.functio * @param body The request body * @return a {@link BusinessScenario} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public BusinessScenario patch(@jakarta.annotation.Nonnull final BusinessScenario body) { return patch(body, null); } @@ -99,9 +114,12 @@ public BusinessScenario patch(@jakarta.annotation.Nonnull final BusinessScenario * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link BusinessScenario} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public BusinessScenario patch(@jakarta.annotation.Nonnull final BusinessScenario body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -112,8 +130,11 @@ public BusinessScenario patch(@jakarta.annotation.Nonnull final BusinessScenario /** * Delete a businessScenario object. The deletion of a scenario causes all data associated with the scenario to be deleted. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -121,8 +142,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete a businessScenario object. The deletion of a scenario causes all data associated with the scenario to be deleted. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -132,8 +156,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Read the properties and relationships of a businessScenario object. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -141,8 +168,11 @@ public RequestInformation toGetRequestInformation() { * Read the properties and relationships of a businessScenario object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -153,8 +183,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the properties of a businessScenario object. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final BusinessScenario body) { return toPatchRequestInformation(body, null); } @@ -163,8 +196,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final BusinessScenario body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -177,8 +213,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link BusinessScenariosWithUniqueNameRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public BusinessScenariosWithUniqueNameRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new BusinessScenariosWithUniqueNameRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/migrations/MigrationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/migrations/MigrationsRequestBuilder.java index 498b533b68b..f96a4d22264 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/migrations/MigrationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/migrations/MigrationsRequestBuilder.java @@ -26,7 +26,7 @@ public class MigrationsRequestBuilder extends BaseRequestBuilder { * Provides operations to manage the crossTenantMigrationJobs property of the microsoft.graph.migrationsRoot entity. * @return a {@link CrossTenantMigrationJobsRequestBuilder} * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @Deprecated @jakarta.annotation.Nonnull @@ -54,7 +54,7 @@ public MigrationsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, * @param displayName Alternate key of crossTenantMigrationJob * @return a {@link CrossTenantMigrationJobsWithDisplayNameRequestBuilder} * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull @Deprecated @@ -66,7 +66,7 @@ public CrossTenantMigrationJobsWithDisplayNameRequestBuilder crossTenantMigratio * Delete navigation property migrations for solutions * @throws ODataError When receiving a 4XX or 5XX status code * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @Deprecated public void delete() { @@ -77,7 +77,7 @@ public void delete() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -91,7 +91,7 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * @return a {@link MigrationsRoot} * @throws ODataError When receiving a 4XX or 5XX status code * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable @Deprecated @@ -104,7 +104,7 @@ public MigrationsRoot get() { * @return a {@link MigrationsRoot} * @throws ODataError When receiving a 4XX or 5XX status code * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable @Deprecated @@ -120,7 +120,7 @@ public MigrationsRoot get(@jakarta.annotation.Nullable final java.util.function. * @return a {@link MigrationsRoot} * @throws ODataError When receiving a 4XX or 5XX status code * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable @Deprecated @@ -134,7 +134,7 @@ public MigrationsRoot patch(@jakarta.annotation.Nonnull final MigrationsRoot bod * @return a {@link MigrationsRoot} * @throws ODataError When receiving a 4XX or 5XX status code * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable @Deprecated @@ -149,7 +149,7 @@ public MigrationsRoot patch(@jakarta.annotation.Nonnull final MigrationsRoot bod * Delete navigation property migrations for solutions * @return a {@link RequestInformation} * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull @Deprecated @@ -161,7 +161,7 @@ public RequestInformation toDeleteRequestInformation() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull @Deprecated @@ -175,7 +175,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl * Get migrations from solutions * @return a {@link RequestInformation} * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull @Deprecated @@ -187,7 +187,7 @@ public RequestInformation toGetRequestInformation() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull @Deprecated @@ -202,7 +202,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * @param body The request body * @return a {@link RequestInformation} * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull @Deprecated @@ -215,7 +215,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull @Deprecated @@ -232,7 +232,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param rawUrl The raw URL to use for the request builder. * @return a {@link MigrationsRequestBuilder} * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull @Deprecated diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/migrations/crosstenantmigrationjobs/CrossTenantMigrationJobsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/migrations/crosstenantmigrationjobs/CrossTenantMigrationJobsRequestBuilder.java index 4093856abd1..815a6bbd410 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/migrations/crosstenantmigrationjobs/CrossTenantMigrationJobsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/migrations/crosstenantmigrationjobs/CrossTenantMigrationJobsRequestBuilder.java @@ -27,7 +27,7 @@ public class CrossTenantMigrationJobsRequestBuilder extends BaseRequestBuilder { * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @Deprecated @jakarta.annotation.Nonnull @@ -39,7 +39,7 @@ public CountRequestBuilder count() { * @param crossTenantMigrationJobId The unique identifier of crossTenantMigrationJob * @return a {@link CrossTenantMigrationJobItemRequestBuilder} * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull @Deprecated @@ -70,7 +70,7 @@ public CrossTenantMigrationJobsRequestBuilder(@jakarta.annotation.Nonnull final * @return a {@link CrossTenantMigrationJobCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable @@ -84,7 +84,7 @@ public CrossTenantMigrationJobCollectionResponse get() { * @return a {@link CrossTenantMigrationJobCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable @@ -101,7 +101,7 @@ public CrossTenantMigrationJobCollectionResponse get(@jakarta.annotation.Nullabl * @return a {@link CrossTenantMigrationJob} * @throws ODataError When receiving a 4XX or 5XX status code * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable @@ -116,7 +116,7 @@ public CrossTenantMigrationJob post(@jakarta.annotation.Nonnull final CrossTenan * @return a {@link CrossTenantMigrationJob} * @throws ODataError When receiving a 4XX or 5XX status code * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable @@ -132,7 +132,7 @@ public CrossTenantMigrationJob post(@jakarta.annotation.Nonnull final CrossTenan * Get a list of the crossTenantMigrationJob objects and their properties. By default 20 objects are returned. More can be retrieved through the @odata.nextLink url provided in the response. * @return a {@link RequestInformation} * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull @Deprecated @@ -144,7 +144,7 @@ public RequestInformation toGetRequestInformation() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull @Deprecated @@ -159,7 +159,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * @param body The request body * @return a {@link RequestInformation} * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull @Deprecated @@ -172,7 +172,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull @Deprecated @@ -189,7 +189,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param rawUrl The raw URL to use for the request builder. * @return a {@link CrossTenantMigrationJobsRequestBuilder} * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull @Deprecated diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/migrations/crosstenantmigrationjobs/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/migrations/crosstenantmigrationjobs/count/CountRequestBuilder.java index efd271d4e8c..63fd30419b0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/migrations/crosstenantmigrationjobs/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/migrations/crosstenantmigrationjobs/count/CountRequestBuilder.java @@ -40,7 +40,7 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable @Deprecated @@ -53,7 +53,7 @@ public Integer get() { * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable @Deprecated @@ -67,7 +67,7 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume * Get the number of the resource * @return a {@link RequestInformation} * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull @Deprecated @@ -79,7 +79,7 @@ public RequestInformation toGetRequestInformation() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull @Deprecated @@ -94,7 +94,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull @Deprecated diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/migrations/crosstenantmigrationjobs/item/CrossTenantMigrationJobItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/migrations/crosstenantmigrationjobs/item/CrossTenantMigrationJobItemRequestBuilder.java index dbbf705c0cb..93424468d84 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/migrations/crosstenantmigrationjobs/item/CrossTenantMigrationJobItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/migrations/crosstenantmigrationjobs/item/CrossTenantMigrationJobItemRequestBuilder.java @@ -28,7 +28,7 @@ public class CrossTenantMigrationJobItemRequestBuilder extends BaseRequestBuilde * Provides operations to call the cancel method. * @return a {@link CancelRequestBuilder} * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @Deprecated @jakarta.annotation.Nonnull @@ -39,7 +39,7 @@ public CancelRequestBuilder cancel() { * Provides operations to call the migrate method. * @return a {@link MigrateRequestBuilder} * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @Deprecated @jakarta.annotation.Nonnull @@ -50,7 +50,7 @@ public MigrateRequestBuilder migrate() { * Provides operations to manage the users property of the microsoft.graph.crossTenantMigrationJob entity. * @return a {@link UsersRequestBuilder} * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @Deprecated @jakarta.annotation.Nonnull @@ -61,7 +61,7 @@ public UsersRequestBuilder users() { * Provides operations to call the validate method. * @return a {@link ValidateRequestBuilder} * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @Deprecated @jakarta.annotation.Nonnull @@ -88,7 +88,7 @@ public CrossTenantMigrationJobItemRequestBuilder(@jakarta.annotation.Nonnull fin * Delete navigation property crossTenantMigrationJobs for solutions * @throws ODataError When receiving a 4XX or 5XX status code * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @Deprecated public void delete() { @@ -99,7 +99,7 @@ public void delete() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -113,7 +113,7 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * @return a {@link CrossTenantMigrationJob} * @throws ODataError When receiving a 4XX or 5XX status code * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable @@ -127,7 +127,7 @@ public CrossTenantMigrationJob get() { * @return a {@link CrossTenantMigrationJob} * @throws ODataError When receiving a 4XX or 5XX status code * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable @@ -144,7 +144,7 @@ public CrossTenantMigrationJob get(@jakarta.annotation.Nullable final java.util. * @return a {@link CrossTenantMigrationJob} * @throws ODataError When receiving a 4XX or 5XX status code * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable @@ -159,7 +159,7 @@ public CrossTenantMigrationJob patch(@jakarta.annotation.Nonnull final CrossTena * @return a {@link CrossTenantMigrationJob} * @throws ODataError When receiving a 4XX or 5XX status code * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable @@ -175,7 +175,7 @@ public CrossTenantMigrationJob patch(@jakarta.annotation.Nonnull final CrossTena * Delete navigation property crossTenantMigrationJobs for solutions * @return a {@link RequestInformation} * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull @Deprecated @@ -187,7 +187,7 @@ public RequestInformation toDeleteRequestInformation() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull @Deprecated @@ -201,7 +201,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl * Read the properties and relationships of crossTenantMigrationJob object. Includes details of the crossTenantMigrationJob , but not details of the individual crossTenantMigrationTasks of the crossTenantMigrationJob. * @return a {@link RequestInformation} * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull @Deprecated @@ -213,7 +213,7 @@ public RequestInformation toGetRequestInformation() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull @Deprecated @@ -228,7 +228,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * @param body The request body * @return a {@link RequestInformation} * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull @Deprecated @@ -241,7 +241,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull @Deprecated @@ -258,7 +258,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param rawUrl The raw URL to use for the request builder. * @return a {@link CrossTenantMigrationJobItemRequestBuilder} * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull @Deprecated diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/migrations/crosstenantmigrationjobs/item/cancel/CancelRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/migrations/crosstenantmigrationjobs/item/cancel/CancelRequestBuilder.java index cb61884a39a..838991571b1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/migrations/crosstenantmigrationjobs/item/cancel/CancelRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/migrations/crosstenantmigrationjobs/item/cancel/CancelRequestBuilder.java @@ -40,7 +40,7 @@ public CancelRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ja * @return a {@link CrossTenantMigrationCancelResponse} * @throws ODataError When receiving a 4XX or 5XX status code * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable @@ -54,7 +54,7 @@ public CrossTenantMigrationCancelResponse post() { * @return a {@link CrossTenantMigrationCancelResponse} * @throws ODataError When receiving a 4XX or 5XX status code * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable @@ -69,7 +69,7 @@ public CrossTenantMigrationCancelResponse post(@jakarta.annotation.Nullable fina * Cancel a crossTenantMigrationJob. All tasks within the job that were in a Sync state are canceled. If the job can't be canceled, a 409 Conflict response is returned and the migrations continue. This response happens when a migration is already in progress or is in a terminal state. * @return a {@link RequestInformation} * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull @Deprecated @@ -81,7 +81,7 @@ public RequestInformation toPostRequestInformation() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull @Deprecated @@ -96,7 +96,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * @param rawUrl The raw URL to use for the request builder. * @return a {@link CancelRequestBuilder} * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull @Deprecated diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/migrations/crosstenantmigrationjobs/item/migrate/MigrateRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/migrations/crosstenantmigrationjobs/item/migrate/MigrateRequestBuilder.java index c6e9a47ca3c..db0ef2d8d0a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/migrations/crosstenantmigrationjobs/item/migrate/MigrateRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/migrations/crosstenantmigrationjobs/item/migrate/MigrateRequestBuilder.java @@ -40,7 +40,7 @@ public MigrateRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j * @return a {@link CrossTenantMigrationJob} * @throws ODataError When receiving a 4XX or 5XX status code * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable @@ -54,7 +54,7 @@ public CrossTenantMigrationJob post() { * @return a {@link CrossTenantMigrationJob} * @throws ODataError When receiving a 4XX or 5XX status code * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable @@ -69,7 +69,7 @@ public CrossTenantMigrationJob post(@jakarta.annotation.Nullable final java.util * Migrate a cross-tenant migration job asynchronously. The job must pass validation before migration can start. After a job is created by using the Create crossTenantMigrationJob method and validated by using the validate action, call this action to start the migration of user data from the source tenant to the target tenant for the specified workloads. Validation results expire after seven days; if expired, revalidate the job before you call the migrate API. This action is asynchronous. After you call the migrate API, poll the Get crossTenantMigrationJob endpoint to check for a terminal status of completed, completedWithErrors, or failed. * @return a {@link RequestInformation} * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull @Deprecated @@ -81,7 +81,7 @@ public RequestInformation toPostRequestInformation() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull @Deprecated @@ -96,7 +96,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * @param rawUrl The raw URL to use for the request builder. * @return a {@link MigrateRequestBuilder} * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull @Deprecated diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/migrations/crosstenantmigrationjobs/item/users/UsersRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/migrations/crosstenantmigrationjobs/item/users/UsersRequestBuilder.java index e3d90b352a8..417ca2b834f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/migrations/crosstenantmigrationjobs/item/users/UsersRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/migrations/crosstenantmigrationjobs/item/users/UsersRequestBuilder.java @@ -27,7 +27,7 @@ public class UsersRequestBuilder extends BaseRequestBuilder { * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @Deprecated @jakarta.annotation.Nonnull @@ -39,7 +39,7 @@ public CountRequestBuilder count() { * @param crossTenantMigrationTaskId The unique identifier of crossTenantMigrationTask * @return a {@link CrossTenantMigrationTaskItemRequestBuilder} * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull @Deprecated @@ -70,7 +70,7 @@ public UsersRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * @return a {@link CrossTenantMigrationTaskCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable @@ -84,7 +84,7 @@ public CrossTenantMigrationTaskCollectionResponse get() { * @return a {@link CrossTenantMigrationTaskCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable @@ -101,7 +101,7 @@ public CrossTenantMigrationTaskCollectionResponse get(@jakarta.annotation.Nullab * @return a {@link CrossTenantMigrationTask} * @throws ODataError When receiving a 4XX or 5XX status code * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable @Deprecated @@ -115,7 +115,7 @@ public CrossTenantMigrationTask post(@jakarta.annotation.Nonnull final CrossTena * @return a {@link CrossTenantMigrationTask} * @throws ODataError When receiving a 4XX or 5XX status code * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable @Deprecated @@ -130,7 +130,7 @@ public CrossTenantMigrationTask post(@jakarta.annotation.Nonnull final CrossTena * Get a list of the crossTenantMigrationTasks for users in a crossTenantMigrationJob. * @return a {@link RequestInformation} * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull @Deprecated @@ -142,7 +142,7 @@ public RequestInformation toGetRequestInformation() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull @Deprecated @@ -157,7 +157,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * @param body The request body * @return a {@link RequestInformation} * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull @Deprecated @@ -170,7 +170,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull @Deprecated @@ -187,7 +187,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param rawUrl The raw URL to use for the request builder. * @return a {@link UsersRequestBuilder} * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull @Deprecated diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/migrations/crosstenantmigrationjobs/item/users/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/migrations/crosstenantmigrationjobs/item/users/count/CountRequestBuilder.java index 7d19d8e9310..e312ee9b104 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/migrations/crosstenantmigrationjobs/item/users/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/migrations/crosstenantmigrationjobs/item/users/count/CountRequestBuilder.java @@ -40,7 +40,7 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable @Deprecated @@ -53,7 +53,7 @@ public Integer get() { * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable @Deprecated @@ -67,7 +67,7 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume * Get the number of the resource * @return a {@link RequestInformation} * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull @Deprecated @@ -79,7 +79,7 @@ public RequestInformation toGetRequestInformation() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull @Deprecated @@ -94,7 +94,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull @Deprecated diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/migrations/crosstenantmigrationjobs/item/users/item/CrossTenantMigrationTaskItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/migrations/crosstenantmigrationjobs/item/users/item/CrossTenantMigrationTaskItemRequestBuilder.java index 154b58c8f4d..88b0f5f4be1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/migrations/crosstenantmigrationjobs/item/users/item/CrossTenantMigrationTaskItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/migrations/crosstenantmigrationjobs/item/users/item/CrossTenantMigrationTaskItemRequestBuilder.java @@ -25,7 +25,7 @@ public class CrossTenantMigrationTaskItemRequestBuilder extends BaseRequestBuild * Provides operations to call the cancel method. * @return a {@link CancelRequestBuilder} * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @Deprecated @jakarta.annotation.Nonnull @@ -52,7 +52,7 @@ public CrossTenantMigrationTaskItemRequestBuilder(@jakarta.annotation.Nonnull fi * Delete navigation property users for solutions * @throws ODataError When receiving a 4XX or 5XX status code * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @Deprecated public void delete() { @@ -63,7 +63,7 @@ public void delete() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -77,7 +77,7 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * @return a {@link CrossTenantMigrationTask} * @throws ODataError When receiving a 4XX or 5XX status code * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable @@ -91,7 +91,7 @@ public CrossTenantMigrationTask get() { * @return a {@link CrossTenantMigrationTask} * @throws ODataError When receiving a 4XX or 5XX status code * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable @@ -108,7 +108,7 @@ public CrossTenantMigrationTask get(@jakarta.annotation.Nullable final java.util * @return a {@link CrossTenantMigrationTask} * @throws ODataError When receiving a 4XX or 5XX status code * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable @Deprecated @@ -122,7 +122,7 @@ public CrossTenantMigrationTask patch(@jakarta.annotation.Nonnull final CrossTen * @return a {@link CrossTenantMigrationTask} * @throws ODataError When receiving a 4XX or 5XX status code * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable @Deprecated @@ -137,7 +137,7 @@ public CrossTenantMigrationTask patch(@jakarta.annotation.Nonnull final CrossTen * Delete navigation property users for solutions * @return a {@link RequestInformation} * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull @Deprecated @@ -149,7 +149,7 @@ public RequestInformation toDeleteRequestInformation() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull @Deprecated @@ -163,7 +163,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl * Read the properties and relationships of crossTenantMigrationTask, which shows the details of the migration task for a single user of a crossTenantMigrationJob. The crossTenantMigrationTask contains the status details of migrations for the workloads specified in the crossTenantMigrationJob. * @return a {@link RequestInformation} * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull @Deprecated @@ -175,7 +175,7 @@ public RequestInformation toGetRequestInformation() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull @Deprecated @@ -190,7 +190,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * @param body The request body * @return a {@link RequestInformation} * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull @Deprecated @@ -203,7 +203,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull @Deprecated @@ -220,7 +220,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param rawUrl The raw URL to use for the request builder. * @return a {@link CrossTenantMigrationTaskItemRequestBuilder} * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull @Deprecated diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/migrations/crosstenantmigrationjobs/item/users/item/cancel/CancelRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/migrations/crosstenantmigrationjobs/item/users/item/cancel/CancelRequestBuilder.java index ca87de316b2..e5cf2a6288b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/migrations/crosstenantmigrationjobs/item/users/item/cancel/CancelRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/migrations/crosstenantmigrationjobs/item/users/item/cancel/CancelRequestBuilder.java @@ -40,7 +40,7 @@ public CancelRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ja * @return a {@link CrossTenantMigrationCancelResponse} * @throws ODataError When receiving a 4XX or 5XX status code * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable @@ -54,7 +54,7 @@ public CrossTenantMigrationCancelResponse post() { * @return a {@link CrossTenantMigrationCancelResponse} * @throws ODataError When receiving a 4XX or 5XX status code * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable @@ -69,7 +69,7 @@ public CrossTenantMigrationCancelResponse post(@jakarta.annotation.Nullable fina * Cancel a specific crossTenantMigrationTask for a User within a CrossTenantMigrationJob. If the User migration can't be canceled or is in a terminal state, a 409 CONFLICT response code is returned, and the migration continues. * @return a {@link RequestInformation} * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull @Deprecated @@ -81,7 +81,7 @@ public RequestInformation toPostRequestInformation() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull @Deprecated @@ -96,7 +96,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * @param rawUrl The raw URL to use for the request builder. * @return a {@link CancelRequestBuilder} * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull @Deprecated diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/migrations/crosstenantmigrationjobs/item/validate/ValidateRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/migrations/crosstenantmigrationjobs/item/validate/ValidateRequestBuilder.java index 41a8cd182c3..b2ca0ca9f52 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/migrations/crosstenantmigrationjobs/item/validate/ValidateRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/migrations/crosstenantmigrationjobs/item/validate/ValidateRequestBuilder.java @@ -40,7 +40,7 @@ public ValidateRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ * @return a {@link CrossTenantMigrationJob} * @throws ODataError When receiving a 4XX or 5XX status code * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable @@ -54,7 +54,7 @@ public CrossTenantMigrationJob post() { * @return a {@link CrossTenantMigrationJob} * @throws ODataError When receiving a 4XX or 5XX status code * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable @@ -69,7 +69,7 @@ public CrossTenantMigrationJob post(@jakarta.annotation.Nullable final java.util * Validate the configuration of a cross-tenant migration job asynchronously. This action doesn't migrate any content, but goes through validation for the specified workloads to find any errors or misconfigurations that affect an actual migration job. The job must be in a submitted or validateFailed status before you can call this action. This action is asynchronous. After you call the validate API, poll the Get crossTenantMigrationJob endpoint to check for a terminal status of validatePassed or validateFailed. * @return a {@link RequestInformation} * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull @Deprecated @@ -81,7 +81,7 @@ public RequestInformation toPostRequestInformation() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull @Deprecated @@ -96,7 +96,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * @param rawUrl The raw URL to use for the request builder. * @return a {@link ValidateRequestBuilder} * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull @Deprecated diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/migrations/crosstenantmigrationjobswithdisplayname/CrossTenantMigrationJobsWithDisplayNameRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/migrations/crosstenantmigrationjobswithdisplayname/CrossTenantMigrationJobsWithDisplayNameRequestBuilder.java index 5ebd7d2b6d5..38d8406b636 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/migrations/crosstenantmigrationjobswithdisplayname/CrossTenantMigrationJobsWithDisplayNameRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/migrations/crosstenantmigrationjobswithdisplayname/CrossTenantMigrationJobsWithDisplayNameRequestBuilder.java @@ -27,7 +27,7 @@ public class CrossTenantMigrationJobsWithDisplayNameRequestBuilder extends BaseR * Provides operations to call the cancel method. * @return a {@link CancelRequestBuilder} * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @Deprecated @jakarta.annotation.Nonnull @@ -38,7 +38,7 @@ public CancelRequestBuilder cancel() { * Provides operations to call the migrate method. * @return a {@link MigrateRequestBuilder} * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @Deprecated @jakarta.annotation.Nonnull @@ -49,7 +49,7 @@ public MigrateRequestBuilder migrate() { * Provides operations to call the validate method. * @return a {@link ValidateRequestBuilder} * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @Deprecated @jakarta.annotation.Nonnull @@ -78,7 +78,7 @@ public CrossTenantMigrationJobsWithDisplayNameRequestBuilder(@jakarta.annotation * Delete navigation property crossTenantMigrationJobs for solutions * @throws ODataError When receiving a 4XX or 5XX status code * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @Deprecated public void delete() { @@ -89,7 +89,7 @@ public void delete() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -103,7 +103,7 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * @return a {@link CrossTenantMigrationJob} * @throws ODataError When receiving a 4XX or 5XX status code * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable @@ -117,7 +117,7 @@ public CrossTenantMigrationJob get() { * @return a {@link CrossTenantMigrationJob} * @throws ODataError When receiving a 4XX or 5XX status code * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable @@ -134,7 +134,7 @@ public CrossTenantMigrationJob get(@jakarta.annotation.Nullable final java.util. * @return a {@link CrossTenantMigrationJob} * @throws ODataError When receiving a 4XX or 5XX status code * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable @@ -149,7 +149,7 @@ public CrossTenantMigrationJob patch(@jakarta.annotation.Nonnull final CrossTena * @return a {@link CrossTenantMigrationJob} * @throws ODataError When receiving a 4XX or 5XX status code * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable @@ -165,7 +165,7 @@ public CrossTenantMigrationJob patch(@jakarta.annotation.Nonnull final CrossTena * Delete navigation property crossTenantMigrationJobs for solutions * @return a {@link RequestInformation} * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull @Deprecated @@ -177,7 +177,7 @@ public RequestInformation toDeleteRequestInformation() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull @Deprecated @@ -191,7 +191,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl * Read the properties and relationships of crossTenantMigrationJob object. Includes details of the crossTenantMigrationJob , but not details of the individual crossTenantMigrationTasks of the crossTenantMigrationJob. * @return a {@link RequestInformation} * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull @Deprecated @@ -203,7 +203,7 @@ public RequestInformation toGetRequestInformation() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull @Deprecated @@ -218,7 +218,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * @param body The request body * @return a {@link RequestInformation} * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull @Deprecated @@ -231,7 +231,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull @Deprecated @@ -248,7 +248,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param rawUrl The raw URL to use for the request builder. * @return a {@link CrossTenantMigrationJobsWithDisplayNameRequestBuilder} * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull @Deprecated diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/migrations/crosstenantmigrationjobswithdisplayname/cancel/CancelRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/migrations/crosstenantmigrationjobswithdisplayname/cancel/CancelRequestBuilder.java index 27b60a2b030..9934caa7d88 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/migrations/crosstenantmigrationjobswithdisplayname/cancel/CancelRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/migrations/crosstenantmigrationjobswithdisplayname/cancel/CancelRequestBuilder.java @@ -40,7 +40,7 @@ public CancelRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ja * @return a {@link CrossTenantMigrationCancelResponse} * @throws ODataError When receiving a 4XX or 5XX status code * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable @@ -54,7 +54,7 @@ public CrossTenantMigrationCancelResponse post() { * @return a {@link CrossTenantMigrationCancelResponse} * @throws ODataError When receiving a 4XX or 5XX status code * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable @@ -69,7 +69,7 @@ public CrossTenantMigrationCancelResponse post(@jakarta.annotation.Nullable fina * Cancel a crossTenantMigrationJob. All tasks within the job that were in a Sync state are canceled. If the job can't be canceled, a 409 Conflict response is returned and the migrations continue. This response happens when a migration is already in progress or is in a terminal state. * @return a {@link RequestInformation} * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull @Deprecated @@ -81,7 +81,7 @@ public RequestInformation toPostRequestInformation() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull @Deprecated @@ -96,7 +96,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * @param rawUrl The raw URL to use for the request builder. * @return a {@link CancelRequestBuilder} * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull @Deprecated diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/migrations/crosstenantmigrationjobswithdisplayname/migrate/MigrateRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/migrations/crosstenantmigrationjobswithdisplayname/migrate/MigrateRequestBuilder.java index eb3be7e73a2..541dc5eb8c9 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/migrations/crosstenantmigrationjobswithdisplayname/migrate/MigrateRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/migrations/crosstenantmigrationjobswithdisplayname/migrate/MigrateRequestBuilder.java @@ -40,7 +40,7 @@ public MigrateRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j * @return a {@link CrossTenantMigrationJob} * @throws ODataError When receiving a 4XX or 5XX status code * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable @@ -54,7 +54,7 @@ public CrossTenantMigrationJob post() { * @return a {@link CrossTenantMigrationJob} * @throws ODataError When receiving a 4XX or 5XX status code * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable @@ -69,7 +69,7 @@ public CrossTenantMigrationJob post(@jakarta.annotation.Nullable final java.util * Migrate a cross-tenant migration job asynchronously. The job must pass validation before migration can start. After a job is created by using the Create crossTenantMigrationJob method and validated by using the validate action, call this action to start the migration of user data from the source tenant to the target tenant for the specified workloads. Validation results expire after seven days; if expired, revalidate the job before you call the migrate API. This action is asynchronous. After you call the migrate API, poll the Get crossTenantMigrationJob endpoint to check for a terminal status of completed, completedWithErrors, or failed. * @return a {@link RequestInformation} * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull @Deprecated @@ -81,7 +81,7 @@ public RequestInformation toPostRequestInformation() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull @Deprecated @@ -96,7 +96,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * @param rawUrl The raw URL to use for the request builder. * @return a {@link MigrateRequestBuilder} * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull @Deprecated diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/migrations/crosstenantmigrationjobswithdisplayname/validate/ValidateRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/migrations/crosstenantmigrationjobswithdisplayname/validate/ValidateRequestBuilder.java index 6ea8488558c..876ae9c1795 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/migrations/crosstenantmigrationjobswithdisplayname/validate/ValidateRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/migrations/crosstenantmigrationjobswithdisplayname/validate/ValidateRequestBuilder.java @@ -40,7 +40,7 @@ public ValidateRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ * @return a {@link CrossTenantMigrationJob} * @throws ODataError When receiving a 4XX or 5XX status code * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable @@ -54,7 +54,7 @@ public CrossTenantMigrationJob post() { * @return a {@link CrossTenantMigrationJob} * @throws ODataError When receiving a 4XX or 5XX status code * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable @@ -69,7 +69,7 @@ public CrossTenantMigrationJob post(@jakarta.annotation.Nullable final java.util * Validate the configuration of a cross-tenant migration job asynchronously. This action doesn't migrate any content, but goes through validation for the specified workloads to find any errors or misconfigurations that affect an actual migration job. The job must be in a submitted or validateFailed status before you can call this action. This action is asynchronous. After you call the validate API, poll the Get crossTenantMigrationJob endpoint to check for a terminal status of validatePassed or validateFailed. * @return a {@link RequestInformation} * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull @Deprecated @@ -81,7 +81,7 @@ public RequestInformation toPostRequestInformation() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull @Deprecated @@ -96,7 +96,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * @param rawUrl The raw URL to use for the request builder. * @return a {@link ValidateRequestBuilder} * @deprecated - * as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09 + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull @Deprecated diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/sharepoint/SharePointRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/sharepoint/SharePointRequestBuilder.java index 63ca0be4d8f..3b6a6ef0199 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/sharepoint/SharePointRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/sharepoint/SharePointRequestBuilder.java @@ -24,7 +24,10 @@ public class SharePointRequestBuilder extends BaseRequestBuilder { /** * Provides operations to manage the migrations property of the microsoft.graph.sharePointRoot entity. * @return a {@link MigrationsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public MigrationsRequestBuilder migrations() { return new MigrationsRequestBuilder(pathParameters, requestAdapter); @@ -48,7 +51,10 @@ public SharePointRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, /** * Delete navigation property sharePoint for solutions * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete() { delete(null); } @@ -56,7 +62,10 @@ public void delete() { * Delete navigation property sharePoint for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -67,8 +76,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Container for SharePoint resources that include cross-organization migration operations. * @return a {@link SharePointRoot} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public SharePointRoot get() { return get(null); } @@ -77,8 +89,11 @@ public SharePointRoot get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SharePointRoot} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public SharePointRoot get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -90,8 +105,11 @@ public SharePointRoot get(@jakarta.annotation.Nullable final java.util.function. * @param body The request body * @return a {@link SharePointRoot} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public SharePointRoot patch(@jakarta.annotation.Nonnull final SharePointRoot body) { return patch(body, null); } @@ -101,8 +119,11 @@ public SharePointRoot patch(@jakarta.annotation.Nonnull final SharePointRoot bod * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SharePointRoot} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public SharePointRoot patch(@jakarta.annotation.Nonnull final SharePointRoot body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -113,8 +134,11 @@ public SharePointRoot patch(@jakarta.annotation.Nonnull final SharePointRoot bod /** * Delete navigation property sharePoint for solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -122,8 +146,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property sharePoint for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -133,8 +160,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Container for SharePoint resources that include cross-organization migration operations. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -142,8 +172,11 @@ public RequestInformation toGetRequestInformation() { * Container for SharePoint resources that include cross-organization migration operations. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -154,8 +187,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property sharePoint in solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final SharePointRoot body) { return toPatchRequestInformation(body, null); } @@ -164,8 +200,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final SharePointRoot body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -178,8 +217,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link SharePointRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public SharePointRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new SharePointRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/sharepoint/migrations/MigrationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/sharepoint/migrations/MigrationsRequestBuilder.java index 067452de8aa..811a726d24f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/sharepoint/migrations/MigrationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/sharepoint/migrations/MigrationsRequestBuilder.java @@ -26,7 +26,10 @@ public class MigrationsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to manage the crossOrganizationGroupMappings property of the microsoft.graph.sharePointMigrationsRoot entity. * @return a {@link CrossOrganizationGroupMappingsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CrossOrganizationGroupMappingsRequestBuilder crossOrganizationGroupMappings() { return new CrossOrganizationGroupMappingsRequestBuilder(pathParameters, requestAdapter); @@ -34,7 +37,10 @@ public CrossOrganizationGroupMappingsRequestBuilder crossOrganizationGroupMappin /** * Provides operations to manage the crossOrganizationMigrationTasks property of the microsoft.graph.sharePointMigrationsRoot entity. * @return a {@link CrossOrganizationMigrationTasksRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CrossOrganizationMigrationTasksRequestBuilder crossOrganizationMigrationTasks() { return new CrossOrganizationMigrationTasksRequestBuilder(pathParameters, requestAdapter); @@ -42,7 +48,10 @@ public CrossOrganizationMigrationTasksRequestBuilder crossOrganizationMigrationT /** * Provides operations to manage the crossOrganizationUserMappings property of the microsoft.graph.sharePointMigrationsRoot entity. * @return a {@link CrossOrganizationUserMappingsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CrossOrganizationUserMappingsRequestBuilder crossOrganizationUserMappings() { return new CrossOrganizationUserMappingsRequestBuilder(pathParameters, requestAdapter); @@ -66,7 +75,10 @@ public MigrationsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, /** * Delete navigation property migrations for solutions * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete() { delete(null); } @@ -74,7 +86,10 @@ public void delete() { * Delete navigation property migrations for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -85,8 +100,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * The migration operations for cross-organization SharePoint migrations. * @return a {@link SharePointMigrationsRoot} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public SharePointMigrationsRoot get() { return get(null); } @@ -95,8 +113,11 @@ public SharePointMigrationsRoot get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SharePointMigrationsRoot} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public SharePointMigrationsRoot get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -108,8 +129,11 @@ public SharePointMigrationsRoot get(@jakarta.annotation.Nullable final java.util * @param body The request body * @return a {@link SharePointMigrationsRoot} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public SharePointMigrationsRoot patch(@jakarta.annotation.Nonnull final SharePointMigrationsRoot body) { return patch(body, null); } @@ -119,8 +143,11 @@ public SharePointMigrationsRoot patch(@jakarta.annotation.Nonnull final SharePoi * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SharePointMigrationsRoot} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public SharePointMigrationsRoot patch(@jakarta.annotation.Nonnull final SharePointMigrationsRoot body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -131,8 +158,11 @@ public SharePointMigrationsRoot patch(@jakarta.annotation.Nonnull final SharePoi /** * Delete navigation property migrations for solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -140,8 +170,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property migrations for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -151,8 +184,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * The migration operations for cross-organization SharePoint migrations. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -160,8 +196,11 @@ public RequestInformation toGetRequestInformation() { * The migration operations for cross-organization SharePoint migrations. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -172,8 +211,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property migrations in solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final SharePointMigrationsRoot body) { return toPatchRequestInformation(body, null); } @@ -182,8 +224,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final SharePointMigrationsRoot body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -196,8 +241,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link MigrationsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public MigrationsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new MigrationsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/sharepoint/migrations/crossorganizationgroupmappings/CrossOrganizationGroupMappingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/sharepoint/migrations/crossorganizationgroupmappings/CrossOrganizationGroupMappingsRequestBuilder.java index bd30fc53ac3..4971bf27cf4 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/sharepoint/migrations/crossorganizationgroupmappings/CrossOrganizationGroupMappingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/sharepoint/migrations/crossorganizationgroupmappings/CrossOrganizationGroupMappingsRequestBuilder.java @@ -26,7 +26,10 @@ public class CrossOrganizationGroupMappingsRequestBuilder extends BaseRequestBui /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the crossOrganizationGroupMappings property of the microsoft.graph.sharePointMigrationsRoot entity. * @param sharePointGroupIdentityMappingId The unique identifier of sharePointGroupIdentityMapping * @return a {@link SharePointGroupIdentityMappingItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public SharePointGroupIdentityMappingItemRequestBuilder bySharePointGroupIdentityMappingId(@jakarta.annotation.Nonnull final String sharePointGroupIdentityMappingId) { Objects.requireNonNull(sharePointGroupIdentityMappingId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,9 +69,12 @@ public CrossOrganizationGroupMappingsRequestBuilder(@jakarta.annotation.Nonnull * Retrieve a specific cross-organization group identity mapping based on the Microsoft Entra ID object ID of the source group. This method allows clients to verify existing group migration configurations and confirm that mappings are correctly established prior to or during cross-tenant migration operations. * @return a {@link SharePointGroupIdentityMappingCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public SharePointGroupIdentityMappingCollectionResponse get() { return get(null); } @@ -74,9 +83,12 @@ public SharePointGroupIdentityMappingCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SharePointGroupIdentityMappingCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public SharePointGroupIdentityMappingCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -88,8 +100,11 @@ public SharePointGroupIdentityMappingCollectionResponse get(@jakarta.annotation. * @param body The request body * @return a {@link SharePointGroupIdentityMapping} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public SharePointGroupIdentityMapping post(@jakarta.annotation.Nonnull final SharePointGroupIdentityMapping body) { return post(body, null); } @@ -99,8 +114,11 @@ public SharePointGroupIdentityMapping post(@jakarta.annotation.Nonnull final Sha * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SharePointGroupIdentityMapping} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public SharePointGroupIdentityMapping post(@jakarta.annotation.Nonnull final SharePointGroupIdentityMapping body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -111,8 +129,11 @@ public SharePointGroupIdentityMapping post(@jakarta.annotation.Nonnull final Sha /** * Retrieve a specific cross-organization group identity mapping based on the Microsoft Entra ID object ID of the source group. This method allows clients to verify existing group migration configurations and confirm that mappings are correctly established prior to or during cross-tenant migration operations. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -120,8 +141,11 @@ public RequestInformation toGetRequestInformation() { * Retrieve a specific cross-organization group identity mapping based on the Microsoft Entra ID object ID of the source group. This method allows clients to verify existing group migration configurations and confirm that mappings are correctly established prior to or during cross-tenant migration operations. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -132,8 +156,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to crossOrganizationGroupMappings for solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final SharePointGroupIdentityMapping body) { return toPostRequestInformation(body, null); } @@ -142,8 +169,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final SharePointGroupIdentityMapping body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -156,8 +186,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CrossOrganizationGroupMappingsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CrossOrganizationGroupMappingsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CrossOrganizationGroupMappingsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/sharepoint/migrations/crossorganizationgroupmappings/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/sharepoint/migrations/crossorganizationgroupmappings/count/CountRequestBuilder.java index 46b684a9952..1d34c0a17bc 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/sharepoint/migrations/crossorganizationgroupmappings/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/sharepoint/migrations/crossorganizationgroupmappings/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/sharepoint/migrations/crossorganizationgroupmappings/item/SharePointGroupIdentityMappingItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/sharepoint/migrations/crossorganizationgroupmappings/item/SharePointGroupIdentityMappingItemRequestBuilder.java index 085006b4321..ceaa5b7510c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/sharepoint/migrations/crossorganizationgroupmappings/item/SharePointGroupIdentityMappingItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/sharepoint/migrations/crossorganizationgroupmappings/item/SharePointGroupIdentityMappingItemRequestBuilder.java @@ -39,7 +39,10 @@ public SharePointGroupIdentityMappingItemRequestBuilder(@jakarta.annotation.Nonn /** * Delete navigation property crossOrganizationGroupMappings for solutions * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete() { delete(null); } @@ -47,7 +50,10 @@ public void delete() { * Delete navigation property crossOrganizationGroupMappings for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -58,8 +64,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Collection of group identity mappings for cross-organization migration. * @return a {@link SharePointGroupIdentityMapping} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public SharePointGroupIdentityMapping get() { return get(null); } @@ -68,8 +77,11 @@ public SharePointGroupIdentityMapping get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SharePointGroupIdentityMapping} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public SharePointGroupIdentityMapping get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -81,9 +93,12 @@ public SharePointGroupIdentityMapping get(@jakarta.annotation.Nullable final jav * @param body The request body * @return a {@link SharePointGroupIdentityMapping} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public SharePointGroupIdentityMapping patch(@jakarta.annotation.Nonnull final SharePointGroupIdentityMapping body) { return patch(body, null); } @@ -93,9 +108,12 @@ public SharePointGroupIdentityMapping patch(@jakarta.annotation.Nonnull final Sh * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SharePointGroupIdentityMapping} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public SharePointGroupIdentityMapping patch(@jakarta.annotation.Nonnull final SharePointGroupIdentityMapping body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -106,8 +124,11 @@ public SharePointGroupIdentityMapping patch(@jakarta.annotation.Nonnull final Sh /** * Delete navigation property crossOrganizationGroupMappings for solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -115,8 +136,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property crossOrganizationGroupMappings for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -126,8 +150,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Collection of group identity mappings for cross-organization migration. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -135,8 +162,11 @@ public RequestInformation toGetRequestInformation() { * Collection of group identity mappings for cross-organization migration. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -147,8 +177,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Perform delta patch operations on group identity mappings for cross-organization migration. This operation supports bulk add, update, and delete actions for both Microsoft 365 groups and regular Microsoft Entra groups. Maximum of 50 items allowed in the value array. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final SharePointGroupIdentityMapping body) { return toPatchRequestInformation(body, null); } @@ -157,8 +190,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final SharePointGroupIdentityMapping body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -171,8 +207,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link SharePointGroupIdentityMappingItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public SharePointGroupIdentityMappingItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new SharePointGroupIdentityMappingItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/sharepoint/migrations/crossorganizationmigrationtasks/CrossOrganizationMigrationTasksRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/sharepoint/migrations/crossorganizationmigrationtasks/CrossOrganizationMigrationTasksRequestBuilder.java index a935940cc4b..3af20a889af 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/sharepoint/migrations/crossorganizationmigrationtasks/CrossOrganizationMigrationTasksRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/sharepoint/migrations/crossorganizationmigrationtasks/CrossOrganizationMigrationTasksRequestBuilder.java @@ -29,7 +29,10 @@ public class CrossOrganizationMigrationTasksRequestBuilder extends BaseRequestBu /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -38,8 +41,11 @@ public CountRequestBuilder count() { * Provides operations to manage the crossOrganizationMigrationTasks property of the microsoft.graph.sharePointMigrationsRoot entity. * @param sharePointMigrationTaskId The unique identifier of sharePointMigrationTask * @return a {@link SharePointMigrationTaskItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public SharePointMigrationTaskItemRequestBuilder bySharePointMigrationTaskId(@jakarta.annotation.Nonnull final String sharePointMigrationTaskId) { Objects.requireNonNull(sharePointMigrationTaskId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -66,8 +72,11 @@ public CrossOrganizationMigrationTasksRequestBuilder(@jakarta.annotation.Nonnull * Get a sharePointMigrationTask that was previously created, using the task ID. The returned sharePointMigrationTask object includes the source and target site URLs, migration status, optional timestamps (startedDateTime and finishedDateTime), and error details about issues during processing. * @return a {@link SharePointMigrationTaskCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public SharePointMigrationTaskCollectionResponse get() { return get(null); } @@ -76,8 +85,11 @@ public SharePointMigrationTaskCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SharePointMigrationTaskCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public SharePointMigrationTaskCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -88,8 +100,11 @@ public SharePointMigrationTaskCollectionResponse get(@jakarta.annotation.Nullabl * Provides operations to call the getBySourceGroupMailNickname method. * @param sourceGroupMailNickname Usage: sourceGroupMailNickname='{sourceGroupMailNickname}' * @return a {@link GetBySourceGroupMailNicknameWithSourceGroupMailNicknameRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public GetBySourceGroupMailNicknameWithSourceGroupMailNicknameRequestBuilder getBySourceGroupMailNicknameWithSourceGroupMailNickname(@jakarta.annotation.Nonnull final String sourceGroupMailNickname) { Objects.requireNonNull(sourceGroupMailNickname); return new GetBySourceGroupMailNicknameWithSourceGroupMailNicknameRequestBuilder(pathParameters, requestAdapter, sourceGroupMailNickname); @@ -98,8 +113,11 @@ public GetBySourceGroupMailNicknameWithSourceGroupMailNicknameRequestBuilder get * Provides operations to call the getBySourceSiteUrl method. * @param sourceSiteUrl Usage: sourceSiteUrl='{sourceSiteUrl}' * @return a {@link GetBySourceSiteUrlWithSourceSiteUrlRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public GetBySourceSiteUrlWithSourceSiteUrlRequestBuilder getBySourceSiteUrlWithSourceSiteUrl(@jakarta.annotation.Nonnull final String sourceSiteUrl) { Objects.requireNonNull(sourceSiteUrl); return new GetBySourceSiteUrlWithSourceSiteUrlRequestBuilder(pathParameters, requestAdapter, sourceSiteUrl); @@ -108,8 +126,11 @@ public GetBySourceSiteUrlWithSourceSiteUrlRequestBuilder getBySourceSiteUrlWithS * Provides operations to call the getBySourceUserPrincipalName method. * @param sourcePrincipalName Usage: sourcePrincipalName='{sourcePrincipalName}' * @return a {@link GetBySourceUserPrincipalNameWithSourcePrincipalNameRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public GetBySourceUserPrincipalNameWithSourcePrincipalNameRequestBuilder getBySourceUserPrincipalNameWithSourcePrincipalName(@jakarta.annotation.Nonnull final String sourcePrincipalName) { Objects.requireNonNull(sourcePrincipalName); return new GetBySourceUserPrincipalNameWithSourcePrincipalNameRequestBuilder(pathParameters, requestAdapter, sourcePrincipalName); @@ -119,9 +140,12 @@ public GetBySourceUserPrincipalNameWithSourcePrincipalNameRequestBuilder getBySo * @param body The request body * @return a {@link SharePointMigrationTask} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public SharePointMigrationTask post(@jakarta.annotation.Nonnull final SharePointMigrationTask body) { return post(body, null); } @@ -131,9 +155,12 @@ public SharePointMigrationTask post(@jakarta.annotation.Nonnull final SharePoint * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SharePointMigrationTask} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public SharePointMigrationTask post(@jakarta.annotation.Nonnull final SharePointMigrationTask body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -144,8 +171,11 @@ public SharePointMigrationTask post(@jakarta.annotation.Nonnull final SharePoint /** * Get a sharePointMigrationTask that was previously created, using the task ID. The returned sharePointMigrationTask object includes the source and target site URLs, migration status, optional timestamps (startedDateTime and finishedDateTime), and error details about issues during processing. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -153,8 +183,11 @@ public RequestInformation toGetRequestInformation() { * Get a sharePointMigrationTask that was previously created, using the task ID. The returned sharePointMigrationTask object includes the source and target site URLs, migration status, optional timestamps (startedDateTime and finishedDateTime), and error details about issues during processing. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -165,8 +198,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create or update a sharePointMigrationTask to migrate a resource from the source organization to the target organization, using the sharePointMigrationTaskParameters. The resource can be a user, a group, or a site. When an existing sharePointMigrationTask is retrieved, it might contain not only the specifics of the source and target organizations and resources, but also the status of the migration and errors encountered during the migration operation. The API calls occur on the source site and only add list items to the my site root web, for example, contoso-my.sharepoint.com. Then, it triggers a multi-geo site move job in the backend to enqueue and orchestrate several tenant workflow jobs, such as backup, restore, and cleanup, supported by TJ infrastructure. The OData type of sharePointResourceMigrationParameters differentiates user migration from site migration, rather than using different subpaths. For a user's OneDrive migration, specify sharePointUserMigrationParameters. If this migration task is a regular SharePoint site migration, specify sharePointSiteMigrationParameters. If this migration task is a group-connected site migration, specify sharePointGroupMigrationParameters. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final SharePointMigrationTask body) { return toPostRequestInformation(body, null); } @@ -175,8 +211,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final SharePointMigrationTask body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -189,8 +228,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CrossOrganizationMigrationTasksRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CrossOrganizationMigrationTasksRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CrossOrganizationMigrationTasksRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/sharepoint/migrations/crossorganizationmigrationtasks/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/sharepoint/migrations/crossorganizationmigrationtasks/count/CountRequestBuilder.java index 72470a797e8..39d8c695850 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/sharepoint/migrations/crossorganizationmigrationtasks/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/sharepoint/migrations/crossorganizationmigrationtasks/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/sharepoint/migrations/crossorganizationmigrationtasks/getbysourcegroupmailnicknamewithsourcegroupmailnickname/GetBySourceGroupMailNicknameWithSourceGroupMailNicknameRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/sharepoint/migrations/crossorganizationmigrationtasks/getbysourcegroupmailnicknamewithsourcegroupmailnickname/GetBySourceGroupMailNicknameWithSourceGroupMailNicknameRequestBuilder.java index 225cf5c3fb5..c2605741c20 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/sharepoint/migrations/crossorganizationmigrationtasks/getbysourcegroupmailnicknamewithsourcegroupmailnickname/GetBySourceGroupMailNicknameWithSourceGroupMailNicknameRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/sharepoint/migrations/crossorganizationmigrationtasks/getbysourcegroupmailnicknamewithsourcegroupmailnickname/GetBySourceGroupMailNicknameWithSourceGroupMailNicknameRequestBuilder.java @@ -41,9 +41,12 @@ public GetBySourceGroupMailNicknameWithSourceGroupMailNicknameRequestBuilder(@ja * Get a sharePointMigrationTask that was previously created for a group, using the source group mail nickname. The returned sharePointMigrationTask object includes the source and target site URLs, migration status, optional timestamps (startedDateTime and finishedDateTime), and error details about issues during processing. * @return a {@link SharePointMigrationTask} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public SharePointMigrationTask get() { return get(null); } @@ -52,9 +55,12 @@ public SharePointMigrationTask get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SharePointMigrationTask} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public SharePointMigrationTask get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -64,8 +70,11 @@ public SharePointMigrationTask get(@jakarta.annotation.Nullable final java.util. /** * Get a sharePointMigrationTask that was previously created for a group, using the source group mail nickname. The returned sharePointMigrationTask object includes the source and target site URLs, migration status, optional timestamps (startedDateTime and finishedDateTime), and error details about issues during processing. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -73,8 +82,11 @@ public RequestInformation toGetRequestInformation() { * Get a sharePointMigrationTask that was previously created for a group, using the source group mail nickname. The returned sharePointMigrationTask object includes the source and target site URLs, migration status, optional timestamps (startedDateTime and finishedDateTime), and error details about issues during processing. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new); @@ -85,8 +97,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link GetBySourceGroupMailNicknameWithSourceGroupMailNicknameRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public GetBySourceGroupMailNicknameWithSourceGroupMailNicknameRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new GetBySourceGroupMailNicknameWithSourceGroupMailNicknameRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/sharepoint/migrations/crossorganizationmigrationtasks/getbysourcesiteurlwithsourcesiteurl/GetBySourceSiteUrlWithSourceSiteUrlRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/sharepoint/migrations/crossorganizationmigrationtasks/getbysourcesiteurlwithsourcesiteurl/GetBySourceSiteUrlWithSourceSiteUrlRequestBuilder.java index d01bbd01167..36a9e2ad8e5 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/sharepoint/migrations/crossorganizationmigrationtasks/getbysourcesiteurlwithsourcesiteurl/GetBySourceSiteUrlWithSourceSiteUrlRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/sharepoint/migrations/crossorganizationmigrationtasks/getbysourcesiteurlwithsourcesiteurl/GetBySourceSiteUrlWithSourceSiteUrlRequestBuilder.java @@ -41,9 +41,12 @@ public GetBySourceSiteUrlWithSourceSiteUrlRequestBuilder(@jakarta.annotation.Non * Get a sharePointMigrationTask that was previously created for a regular site, using the source site URL. The returned sharePointMigrationTask object includes the source and target site URLs, migration status, optional timestamps (startedDateTime and finishedDateTime), and error details about issues during processing. * @return a {@link SharePointMigrationTask} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public SharePointMigrationTask get() { return get(null); } @@ -52,9 +55,12 @@ public SharePointMigrationTask get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SharePointMigrationTask} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public SharePointMigrationTask get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -64,8 +70,11 @@ public SharePointMigrationTask get(@jakarta.annotation.Nullable final java.util. /** * Get a sharePointMigrationTask that was previously created for a regular site, using the source site URL. The returned sharePointMigrationTask object includes the source and target site URLs, migration status, optional timestamps (startedDateTime and finishedDateTime), and error details about issues during processing. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -73,8 +82,11 @@ public RequestInformation toGetRequestInformation() { * Get a sharePointMigrationTask that was previously created for a regular site, using the source site URL. The returned sharePointMigrationTask object includes the source and target site URLs, migration status, optional timestamps (startedDateTime and finishedDateTime), and error details about issues during processing. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new); @@ -85,8 +97,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link GetBySourceSiteUrlWithSourceSiteUrlRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public GetBySourceSiteUrlWithSourceSiteUrlRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new GetBySourceSiteUrlWithSourceSiteUrlRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/sharepoint/migrations/crossorganizationmigrationtasks/getbysourceuserprincipalnamewithsourceprincipalname/GetBySourceUserPrincipalNameWithSourcePrincipalNameRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/sharepoint/migrations/crossorganizationmigrationtasks/getbysourceuserprincipalnamewithsourceprincipalname/GetBySourceUserPrincipalNameWithSourcePrincipalNameRequestBuilder.java index e34fdbeea71..bd6a98adb94 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/sharepoint/migrations/crossorganizationmigrationtasks/getbysourceuserprincipalnamewithsourceprincipalname/GetBySourceUserPrincipalNameWithSourcePrincipalNameRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/sharepoint/migrations/crossorganizationmigrationtasks/getbysourceuserprincipalnamewithsourceprincipalname/GetBySourceUserPrincipalNameWithSourcePrincipalNameRequestBuilder.java @@ -41,9 +41,12 @@ public GetBySourceUserPrincipalNameWithSourcePrincipalNameRequestBuilder(@jakart * Get a sharePointMigrationTask that was previously created for a user, using the source userPrincipalName. The returned sharePointMigrationTask object includes the source and target site URLs, migration status, optional timestamps (startedDateTime and finishedDateTime), and error details about issues during processing. * @return a {@link SharePointMigrationTask} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public SharePointMigrationTask get() { return get(null); } @@ -52,9 +55,12 @@ public SharePointMigrationTask get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SharePointMigrationTask} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public SharePointMigrationTask get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -64,8 +70,11 @@ public SharePointMigrationTask get(@jakarta.annotation.Nullable final java.util. /** * Get a sharePointMigrationTask that was previously created for a user, using the source userPrincipalName. The returned sharePointMigrationTask object includes the source and target site URLs, migration status, optional timestamps (startedDateTime and finishedDateTime), and error details about issues during processing. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -73,8 +82,11 @@ public RequestInformation toGetRequestInformation() { * Get a sharePointMigrationTask that was previously created for a user, using the source userPrincipalName. The returned sharePointMigrationTask object includes the source and target site URLs, migration status, optional timestamps (startedDateTime and finishedDateTime), and error details about issues during processing. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new); @@ -85,8 +97,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link GetBySourceUserPrincipalNameWithSourcePrincipalNameRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public GetBySourceUserPrincipalNameWithSourcePrincipalNameRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new GetBySourceUserPrincipalNameWithSourcePrincipalNameRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/sharepoint/migrations/crossorganizationmigrationtasks/item/SharePointMigrationTaskItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/sharepoint/migrations/crossorganizationmigrationtasks/item/SharePointMigrationTaskItemRequestBuilder.java index 9ce8dd864cb..e30dfe111f3 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/sharepoint/migrations/crossorganizationmigrationtasks/item/SharePointMigrationTaskItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/sharepoint/migrations/crossorganizationmigrationtasks/item/SharePointMigrationTaskItemRequestBuilder.java @@ -24,7 +24,10 @@ public class SharePointMigrationTaskItemRequestBuilder extends BaseRequestBuilde /** * Provides operations to call the cancel method. * @return a {@link CancelRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CancelRequestBuilder cancel() { return new CancelRequestBuilder(pathParameters, requestAdapter); @@ -48,7 +51,10 @@ public SharePointMigrationTaskItemRequestBuilder(@jakarta.annotation.Nonnull fin /** * Delete navigation property crossOrganizationMigrationTasks for solutions * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete() { delete(null); } @@ -56,7 +62,10 @@ public void delete() { * Delete navigation property crossOrganizationMigrationTasks for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -67,9 +76,12 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Get a sharePointMigrationTask that was previously created, using the task ID. The returned sharePointMigrationTask object includes the source and target site URLs, migration status, optional timestamps (startedDateTime and finishedDateTime), and error details about issues during processing. * @return a {@link SharePointMigrationTask} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public SharePointMigrationTask get() { return get(null); } @@ -78,9 +90,12 @@ public SharePointMigrationTask get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SharePointMigrationTask} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public SharePointMigrationTask get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -92,8 +107,11 @@ public SharePointMigrationTask get(@jakarta.annotation.Nullable final java.util. * @param body The request body * @return a {@link SharePointMigrationTask} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public SharePointMigrationTask patch(@jakarta.annotation.Nonnull final SharePointMigrationTask body) { return patch(body, null); } @@ -103,8 +121,11 @@ public SharePointMigrationTask patch(@jakarta.annotation.Nonnull final SharePoin * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SharePointMigrationTask} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public SharePointMigrationTask patch(@jakarta.annotation.Nonnull final SharePointMigrationTask body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -115,8 +136,11 @@ public SharePointMigrationTask patch(@jakarta.annotation.Nonnull final SharePoin /** * Delete navigation property crossOrganizationMigrationTasks for solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property crossOrganizationMigrationTasks for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -135,8 +162,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Get a sharePointMigrationTask that was previously created, using the task ID. The returned sharePointMigrationTask object includes the source and target site URLs, migration status, optional timestamps (startedDateTime and finishedDateTime), and error details about issues during processing. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -144,8 +174,11 @@ public RequestInformation toGetRequestInformation() { * Get a sharePointMigrationTask that was previously created, using the task ID. The returned sharePointMigrationTask object includes the source and target site URLs, migration status, optional timestamps (startedDateTime and finishedDateTime), and error details about issues during processing. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -156,8 +189,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property crossOrganizationMigrationTasks in solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final SharePointMigrationTask body) { return toPatchRequestInformation(body, null); } @@ -166,8 +202,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final SharePointMigrationTask body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -180,8 +219,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link SharePointMigrationTaskItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public SharePointMigrationTaskItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new SharePointMigrationTaskItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/sharepoint/migrations/crossorganizationmigrationtasks/item/cancel/CancelRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/sharepoint/migrations/crossorganizationmigrationtasks/item/cancel/CancelRequestBuilder.java index 1ee7d57c01d..11a4130d4b2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/sharepoint/migrations/crossorganizationmigrationtasks/item/cancel/CancelRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/sharepoint/migrations/crossorganizationmigrationtasks/item/cancel/CancelRequestBuilder.java @@ -37,8 +37,11 @@ public CancelRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ja /** * Cancel a sharePointMigrationTask that moves a specific object from a source organization to a target organization. Only cancel the sharePointMigrationTask before it starts and when reverting doesn't cause system instability. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ + @Deprecated public void post() { post(null); } @@ -46,8 +49,11 @@ public void post() { * Cancel a sharePointMigrationTask that moves a specific object from a source organization to a target organization. Only cancel the sharePointMigrationTask before it starts and when reverting doesn't cause system instability. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Cancel a sharePointMigrationTask that moves a specific object from a source organization to a target organization. Only cancel the sharePointMigrationTask before it starts and when reverting doesn't cause system instability. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() { * Cancel a sharePointMigrationTask that moves a specific object from a source organization to a target organization. Only cancel the sharePointMigrationTask before it starts and when reverting doesn't cause system instability. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CancelRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CancelRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CancelRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/sharepoint/migrations/crossorganizationusermappings/CrossOrganizationUserMappingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/sharepoint/migrations/crossorganizationusermappings/CrossOrganizationUserMappingsRequestBuilder.java index 95fd2e2d405..3ab9d53f0da 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/sharepoint/migrations/crossorganizationusermappings/CrossOrganizationUserMappingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/sharepoint/migrations/crossorganizationusermappings/CrossOrganizationUserMappingsRequestBuilder.java @@ -26,7 +26,10 @@ public class CrossOrganizationUserMappingsRequestBuilder extends BaseRequestBuil /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the crossOrganizationUserMappings property of the microsoft.graph.sharePointMigrationsRoot entity. * @param sharePointUserIdentityMappingId The unique identifier of sharePointUserIdentityMapping * @return a {@link SharePointUserIdentityMappingItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public SharePointUserIdentityMappingItemRequestBuilder bySharePointUserIdentityMappingId(@jakarta.annotation.Nonnull final String sharePointUserIdentityMappingId) { Objects.requireNonNull(sharePointUserIdentityMappingId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,9 +69,12 @@ public CrossOrganizationUserMappingsRequestBuilder(@jakarta.annotation.Nonnull f * Retrieve a specific user identity mapping by the source user principal name (UPN). This method looks up existing user mappings and verifies migration configuration. * @return a {@link SharePointUserIdentityMappingCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public SharePointUserIdentityMappingCollectionResponse get() { return get(null); } @@ -74,9 +83,12 @@ public SharePointUserIdentityMappingCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SharePointUserIdentityMappingCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public SharePointUserIdentityMappingCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -88,8 +100,11 @@ public SharePointUserIdentityMappingCollectionResponse get(@jakarta.annotation.N * @param body The request body * @return a {@link SharePointUserIdentityMapping} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public SharePointUserIdentityMapping post(@jakarta.annotation.Nonnull final SharePointUserIdentityMapping body) { return post(body, null); } @@ -99,8 +114,11 @@ public SharePointUserIdentityMapping post(@jakarta.annotation.Nonnull final Shar * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SharePointUserIdentityMapping} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public SharePointUserIdentityMapping post(@jakarta.annotation.Nonnull final SharePointUserIdentityMapping body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -111,8 +129,11 @@ public SharePointUserIdentityMapping post(@jakarta.annotation.Nonnull final Shar /** * Retrieve a specific user identity mapping by the source user principal name (UPN). This method looks up existing user mappings and verifies migration configuration. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -120,8 +141,11 @@ public RequestInformation toGetRequestInformation() { * Retrieve a specific user identity mapping by the source user principal name (UPN). This method looks up existing user mappings and verifies migration configuration. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -132,8 +156,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to crossOrganizationUserMappings for solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final SharePointUserIdentityMapping body) { return toPostRequestInformation(body, null); } @@ -142,8 +169,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final SharePointUserIdentityMapping body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -156,8 +186,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CrossOrganizationUserMappingsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CrossOrganizationUserMappingsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CrossOrganizationUserMappingsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/sharepoint/migrations/crossorganizationusermappings/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/sharepoint/migrations/crossorganizationusermappings/count/CountRequestBuilder.java index 38271237ea3..0419f457a49 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/sharepoint/migrations/crossorganizationusermappings/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/sharepoint/migrations/crossorganizationusermappings/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/sharepoint/migrations/crossorganizationusermappings/item/SharePointUserIdentityMappingItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/sharepoint/migrations/crossorganizationusermappings/item/SharePointUserIdentityMappingItemRequestBuilder.java index 813aaee19e3..a5efc71a2e5 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/sharepoint/migrations/crossorganizationusermappings/item/SharePointUserIdentityMappingItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/sharepoint/migrations/crossorganizationusermappings/item/SharePointUserIdentityMappingItemRequestBuilder.java @@ -39,7 +39,10 @@ public SharePointUserIdentityMappingItemRequestBuilder(@jakarta.annotation.Nonnu /** * Delete navigation property crossOrganizationUserMappings for solutions * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete() { delete(null); } @@ -47,7 +50,10 @@ public void delete() { * Delete navigation property crossOrganizationUserMappings for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -58,8 +64,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Collection of user identity mappings for cross-organization migration. * @return a {@link SharePointUserIdentityMapping} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public SharePointUserIdentityMapping get() { return get(null); } @@ -68,8 +77,11 @@ public SharePointUserIdentityMapping get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SharePointUserIdentityMapping} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public SharePointUserIdentityMapping get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -81,9 +93,12 @@ public SharePointUserIdentityMapping get(@jakarta.annotation.Nullable final java * @param body The request body * @return a {@link SharePointUserIdentityMapping} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public SharePointUserIdentityMapping patch(@jakarta.annotation.Nonnull final SharePointUserIdentityMapping body) { return patch(body, null); } @@ -93,9 +108,12 @@ public SharePointUserIdentityMapping patch(@jakarta.annotation.Nonnull final Sha * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SharePointUserIdentityMapping} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public SharePointUserIdentityMapping patch(@jakarta.annotation.Nonnull final SharePointUserIdentityMapping body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -106,8 +124,11 @@ public SharePointUserIdentityMapping patch(@jakarta.annotation.Nonnull final Sha /** * Delete navigation property crossOrganizationUserMappings for solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -115,8 +136,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property crossOrganizationUserMappings for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -126,8 +150,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Collection of user identity mappings for cross-organization migration. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -135,8 +162,11 @@ public RequestInformation toGetRequestInformation() { * Collection of user identity mappings for cross-organization migration. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -147,8 +177,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Perform delta patch operations on user identity mappings for cross-organization migration. Supports bulk add, update, and delete operations in a single request. Maximum of 50 items allowed in the value array. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final SharePointUserIdentityMapping body) { return toPatchRequestInformation(body, null); } @@ -157,8 +190,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final SharePointUserIdentityMapping body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -171,8 +207,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link SharePointUserIdentityMappingItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public SharePointUserIdentityMappingItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new SharePointUserIdentityMappingItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/VirtualEventsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/VirtualEventsRequestBuilder.java index 5ba1e8f2fcc..d2cc1249b24 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/VirtualEventsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/VirtualEventsRequestBuilder.java @@ -26,7 +26,10 @@ public class VirtualEventsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to manage the events property of the microsoft.graph.virtualEventsRoot entity. * @return a {@link EventsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public EventsRequestBuilder events() { return new EventsRequestBuilder(pathParameters, requestAdapter); @@ -34,7 +37,10 @@ public EventsRequestBuilder events() { /** * Provides operations to manage the townhalls property of the microsoft.graph.virtualEventsRoot entity. * @return a {@link TownhallsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public TownhallsRequestBuilder townhalls() { return new TownhallsRequestBuilder(pathParameters, requestAdapter); @@ -42,7 +48,10 @@ public TownhallsRequestBuilder townhalls() { /** * Provides operations to manage the webinars property of the microsoft.graph.virtualEventsRoot entity. * @return a {@link WebinarsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public WebinarsRequestBuilder webinars() { return new WebinarsRequestBuilder(pathParameters, requestAdapter); @@ -66,7 +75,10 @@ public VirtualEventsRequestBuilder(@jakarta.annotation.Nonnull final String rawU /** * Delete navigation property virtualEvents for solutions * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete() { delete(null); } @@ -74,7 +86,10 @@ public void delete() { * Delete navigation property virtualEvents for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -85,8 +100,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * A collection of virtual events. * @return a {@link VirtualEventsRoot} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventsRoot get() { return get(null); } @@ -95,8 +113,11 @@ public VirtualEventsRoot get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link VirtualEventsRoot} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventsRoot get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -108,8 +129,11 @@ public VirtualEventsRoot get(@jakarta.annotation.Nullable final java.util.functi * @param body The request body * @return a {@link VirtualEventsRoot} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventsRoot patch(@jakarta.annotation.Nonnull final VirtualEventsRoot body) { return patch(body, null); } @@ -119,8 +143,11 @@ public VirtualEventsRoot patch(@jakarta.annotation.Nonnull final VirtualEventsRo * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link VirtualEventsRoot} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventsRoot patch(@jakarta.annotation.Nonnull final VirtualEventsRoot body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -131,8 +158,11 @@ public VirtualEventsRoot patch(@jakarta.annotation.Nonnull final VirtualEventsRo /** * Delete navigation property virtualEvents for solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -140,8 +170,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property virtualEvents for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -151,8 +184,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * A collection of virtual events. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -160,8 +196,11 @@ public RequestInformation toGetRequestInformation() { * A collection of virtual events. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -172,8 +211,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property virtualEvents in solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final VirtualEventsRoot body) { return toPatchRequestInformation(body, null); } @@ -182,8 +224,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final VirtualEventsRoot body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -196,8 +241,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link VirtualEventsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public VirtualEventsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new VirtualEventsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/EventsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/EventsRequestBuilder.java index f214fcc6ce9..ed5a0326d6d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/EventsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/EventsRequestBuilder.java @@ -26,7 +26,10 @@ public class EventsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the events property of the microsoft.graph.virtualEventsRoot entity. * @param virtualEventId The unique identifier of virtualEvent * @return a {@link VirtualEventItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public VirtualEventItemRequestBuilder byVirtualEventId(@jakarta.annotation.Nonnull final String virtualEventId) { Objects.requireNonNull(virtualEventId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public EventsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ja * Get events from solutions * @return a {@link VirtualEventCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public VirtualEventCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link VirtualEventCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public VirtualEventCollectionResponse get(@jakarta.annotation.Nullable final jav * @param body The request body * @return a {@link VirtualEvent} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEvent post(@jakarta.annotation.Nonnull final VirtualEvent body) { return post(body, null); } @@ -97,8 +112,11 @@ public VirtualEvent post(@jakarta.annotation.Nonnull final VirtualEvent body) { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link VirtualEvent} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEvent post(@jakarta.annotation.Nonnull final VirtualEvent body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public VirtualEvent post(@jakarta.annotation.Nonnull final VirtualEvent body, @j /** * Get events from solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Get events from solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to events for solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final VirtualEvent body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final VirtualEvent body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link EventsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public EventsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new EventsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/count/CountRequestBuilder.java index 30952c68cf8..578163d5933 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/item/VirtualEventItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/item/VirtualEventItemRequestBuilder.java index 3315871552f..7057cab2380 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/item/VirtualEventItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/item/VirtualEventItemRequestBuilder.java @@ -29,7 +29,10 @@ public class VirtualEventItemRequestBuilder extends BaseRequestBuilder { /** * Provides operations to call the cancel method. * @return a {@link CancelRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CancelRequestBuilder cancel() { return new CancelRequestBuilder(pathParameters, requestAdapter); @@ -37,7 +40,10 @@ public CancelRequestBuilder cancel() { /** * Provides operations to manage the presenters property of the microsoft.graph.virtualEvent entity. * @return a {@link PresentersRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public PresentersRequestBuilder presenters() { return new PresentersRequestBuilder(pathParameters, requestAdapter); @@ -45,7 +51,10 @@ public PresentersRequestBuilder presenters() { /** * Provides operations to call the publish method. * @return a {@link PublishRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public PublishRequestBuilder publish() { return new PublishRequestBuilder(pathParameters, requestAdapter); @@ -53,7 +62,10 @@ public PublishRequestBuilder publish() { /** * Provides operations to manage the sessions property of the microsoft.graph.virtualEvent entity. * @return a {@link SessionsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public SessionsRequestBuilder sessions() { return new SessionsRequestBuilder(pathParameters, requestAdapter); @@ -61,7 +73,10 @@ public SessionsRequestBuilder sessions() { /** * Provides operations to call the setExternalEventInformation method. * @return a {@link SetExternalEventInformationRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public SetExternalEventInformationRequestBuilder setExternalEventInformation() { return new SetExternalEventInformationRequestBuilder(pathParameters, requestAdapter); @@ -85,7 +100,10 @@ public VirtualEventItemRequestBuilder(@jakarta.annotation.Nonnull final String r /** * Delete navigation property events for solutions * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete() { delete(null); } @@ -93,7 +111,10 @@ public void delete() { * Delete navigation property events for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -104,8 +125,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Get events from solutions * @return a {@link VirtualEvent} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEvent get() { return get(null); } @@ -114,8 +138,11 @@ public VirtualEvent get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link VirtualEvent} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEvent get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -127,8 +154,11 @@ public VirtualEvent get(@jakarta.annotation.Nullable final java.util.function.Co * @param body The request body * @return a {@link VirtualEvent} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEvent patch(@jakarta.annotation.Nonnull final VirtualEvent body) { return patch(body, null); } @@ -138,8 +168,11 @@ public VirtualEvent patch(@jakarta.annotation.Nonnull final VirtualEvent body) { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link VirtualEvent} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEvent patch(@jakarta.annotation.Nonnull final VirtualEvent body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -151,8 +184,11 @@ public VirtualEvent patch(@jakarta.annotation.Nonnull final VirtualEvent body, @ * Provides operations to manage the sessions property of the microsoft.graph.virtualEvent entity. * @param joinWebUrl Alternate key of virtualEventSession * @return a {@link SessionsWithJoinWebUrlRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public SessionsWithJoinWebUrlRequestBuilder sessionsWithJoinWebUrl(@jakarta.annotation.Nonnull final String joinWebUrl) { Objects.requireNonNull(joinWebUrl); return new SessionsWithJoinWebUrlRequestBuilder(pathParameters, requestAdapter, joinWebUrl); @@ -160,8 +196,11 @@ public SessionsWithJoinWebUrlRequestBuilder sessionsWithJoinWebUrl(@jakarta.anno /** * Delete navigation property events for solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -169,8 +208,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property events for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -180,8 +222,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Get events from solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -189,8 +234,11 @@ public RequestInformation toGetRequestInformation() { * Get events from solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -201,8 +249,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property events in solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final VirtualEvent body) { return toPatchRequestInformation(body, null); } @@ -211,8 +262,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final VirtualEvent body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -225,8 +279,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link VirtualEventItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public VirtualEventItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new VirtualEventItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/item/cancel/CancelRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/item/cancel/CancelRequestBuilder.java index cb57781962b..bd9741aac83 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/item/cancel/CancelRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/item/cancel/CancelRequestBuilder.java @@ -37,7 +37,10 @@ public CancelRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ja /** * Invoke action cancel * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void post() { post(null); } @@ -45,7 +48,10 @@ public void post() { * Invoke action cancel * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -55,8 +61,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Invoke action cancel * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -64,8 +73,11 @@ public RequestInformation toPostRequestInformation() { * Invoke action cancel * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -76,8 +88,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CancelRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CancelRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CancelRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/item/presenters/PresentersRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/item/presenters/PresentersRequestBuilder.java index cd46f89132e..1fe1551b850 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/item/presenters/PresentersRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/item/presenters/PresentersRequestBuilder.java @@ -26,7 +26,10 @@ public class PresentersRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the presenters property of the microsoft.graph.virtualEvent entity. * @param virtualEventPresenterId The unique identifier of virtualEventPresenter * @return a {@link VirtualEventPresenterItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public VirtualEventPresenterItemRequestBuilder byVirtualEventPresenterId(@jakarta.annotation.Nonnull final String virtualEventPresenterId) { Objects.requireNonNull(virtualEventPresenterId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public PresentersRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, * The virtual event presenters. * @return a {@link VirtualEventPresenterCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventPresenterCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public VirtualEventPresenterCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link VirtualEventPresenterCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventPresenterCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public VirtualEventPresenterCollectionResponse get(@jakarta.annotation.Nullable * @param body The request body * @return a {@link VirtualEventPresenter} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventPresenter post(@jakarta.annotation.Nonnull final VirtualEventPresenter body) { return post(body, null); } @@ -97,8 +112,11 @@ public VirtualEventPresenter post(@jakarta.annotation.Nonnull final VirtualEvent * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link VirtualEventPresenter} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventPresenter post(@jakarta.annotation.Nonnull final VirtualEventPresenter body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public VirtualEventPresenter post(@jakarta.annotation.Nonnull final VirtualEvent /** * The virtual event presenters. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * The virtual event presenters. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to presenters for solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final VirtualEventPresenter body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final VirtualEventPresenter body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link PresentersRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public PresentersRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new PresentersRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/item/presenters/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/item/presenters/count/CountRequestBuilder.java index c9c431ce62a..754de739d1f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/item/presenters/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/item/presenters/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/item/presenters/item/VirtualEventPresenterItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/item/presenters/item/VirtualEventPresenterItemRequestBuilder.java index ce2988ce014..61b7f01c75b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/item/presenters/item/VirtualEventPresenterItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/item/presenters/item/VirtualEventPresenterItemRequestBuilder.java @@ -25,7 +25,10 @@ public class VirtualEventPresenterItemRequestBuilder extends BaseRequestBuilder /** * Provides operations to manage the sessions property of the microsoft.graph.virtualEventPresenter entity. * @return a {@link SessionsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public SessionsRequestBuilder sessions() { return new SessionsRequestBuilder(pathParameters, requestAdapter); @@ -49,7 +52,10 @@ public VirtualEventPresenterItemRequestBuilder(@jakarta.annotation.Nonnull final /** * Delete navigation property presenters for solutions * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete() { delete(null); } @@ -57,7 +63,10 @@ public void delete() { * Delete navigation property presenters for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -68,8 +77,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * The virtual event presenters. * @return a {@link VirtualEventPresenter} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventPresenter get() { return get(null); } @@ -78,8 +90,11 @@ public VirtualEventPresenter get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link VirtualEventPresenter} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventPresenter get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -91,8 +106,11 @@ public VirtualEventPresenter get(@jakarta.annotation.Nullable final java.util.fu * @param body The request body * @return a {@link VirtualEventPresenter} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventPresenter patch(@jakarta.annotation.Nonnull final VirtualEventPresenter body) { return patch(body, null); } @@ -102,8 +120,11 @@ public VirtualEventPresenter patch(@jakarta.annotation.Nonnull final VirtualEven * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link VirtualEventPresenter} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventPresenter patch(@jakarta.annotation.Nonnull final VirtualEventPresenter body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -115,8 +136,11 @@ public VirtualEventPresenter patch(@jakarta.annotation.Nonnull final VirtualEven * Provides operations to manage the sessions property of the microsoft.graph.virtualEventPresenter entity. * @param joinWebUrl Alternate key of virtualEventSession * @return a {@link SessionsWithJoinWebUrlRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public SessionsWithJoinWebUrlRequestBuilder sessionsWithJoinWebUrl(@jakarta.annotation.Nonnull final String joinWebUrl) { Objects.requireNonNull(joinWebUrl); return new SessionsWithJoinWebUrlRequestBuilder(pathParameters, requestAdapter, joinWebUrl); @@ -124,8 +148,11 @@ public SessionsWithJoinWebUrlRequestBuilder sessionsWithJoinWebUrl(@jakarta.anno /** * Delete navigation property presenters for solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -133,8 +160,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property presenters for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -144,8 +174,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * The virtual event presenters. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -153,8 +186,11 @@ public RequestInformation toGetRequestInformation() { * The virtual event presenters. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -165,8 +201,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property presenters in solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final VirtualEventPresenter body) { return toPatchRequestInformation(body, null); } @@ -175,8 +214,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final VirtualEventPresenter body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -189,8 +231,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link VirtualEventPresenterItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public VirtualEventPresenterItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new VirtualEventPresenterItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/item/presenters/item/sessions/SessionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/item/presenters/item/sessions/SessionsRequestBuilder.java index 93cadf1c883..0ecb27b199f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/item/presenters/item/sessions/SessionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/item/presenters/item/sessions/SessionsRequestBuilder.java @@ -25,7 +25,10 @@ public class SessionsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -34,8 +37,11 @@ public CountRequestBuilder count() { * Provides operations to manage the sessions property of the microsoft.graph.virtualEventPresenter entity. * @param virtualEventSessionId The unique identifier of virtualEventSession * @return a {@link VirtualEventSessionItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public VirtualEventSessionItemRequestBuilder byVirtualEventSessionId(@jakarta.annotation.Nonnull final String virtualEventSessionId) { Objects.requireNonNull(virtualEventSessionId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -62,8 +68,11 @@ public SessionsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ * Get sessions from solutions * @return a {@link VirtualEventSessionCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventSessionCollectionResponse get() { return get(null); } @@ -72,8 +81,11 @@ public VirtualEventSessionCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link VirtualEventSessionCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventSessionCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -83,8 +95,11 @@ public VirtualEventSessionCollectionResponse get(@jakarta.annotation.Nullable fi /** * Get sessions from solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -92,8 +107,11 @@ public RequestInformation toGetRequestInformation() { * Get sessions from solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -104,8 +122,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link SessionsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public SessionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new SessionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/item/presenters/item/sessions/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/item/presenters/item/sessions/count/CountRequestBuilder.java index c6ae7488821..184bf7cbc66 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/item/presenters/item/sessions/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/item/presenters/item/sessions/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/item/presenters/item/sessions/item/VirtualEventSessionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/item/presenters/item/sessions/item/VirtualEventSessionItemRequestBuilder.java index 0e06146530f..2be0efd6c7c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/item/presenters/item/sessions/item/VirtualEventSessionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/item/presenters/item/sessions/item/VirtualEventSessionItemRequestBuilder.java @@ -40,8 +40,11 @@ public VirtualEventSessionItemRequestBuilder(@jakarta.annotation.Nonnull final S * Get sessions from solutions * @return a {@link VirtualEventSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventSession get() { return get(null); } @@ -50,8 +53,11 @@ public VirtualEventSession get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link VirtualEventSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventSession get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public VirtualEventSession get(@jakarta.annotation.Nullable final java.util.func /** * Get sessions from solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * Get sessions from solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link VirtualEventSessionItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public VirtualEventSessionItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new VirtualEventSessionItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/item/presenters/item/sessionswithjoinweburl/SessionsWithJoinWebUrlRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/item/presenters/item/sessionswithjoinweburl/SessionsWithJoinWebUrlRequestBuilder.java index 5922dbaf1a5..6e166de27ca 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/item/presenters/item/sessionswithjoinweburl/SessionsWithJoinWebUrlRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/item/presenters/item/sessionswithjoinweburl/SessionsWithJoinWebUrlRequestBuilder.java @@ -42,8 +42,11 @@ public SessionsWithJoinWebUrlRequestBuilder(@jakarta.annotation.Nonnull final St * Get sessions from solutions * @return a {@link VirtualEventSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventSession get() { return get(null); } @@ -52,8 +55,11 @@ public VirtualEventSession get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link VirtualEventSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventSession get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -63,8 +69,11 @@ public VirtualEventSession get(@jakarta.annotation.Nullable final java.util.func /** * Get sessions from solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -72,8 +81,11 @@ public RequestInformation toGetRequestInformation() { * Get sessions from solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -84,8 +96,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link SessionsWithJoinWebUrlRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public SessionsWithJoinWebUrlRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new SessionsWithJoinWebUrlRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/item/publish/PublishRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/item/publish/PublishRequestBuilder.java index feb0081af3c..3508b886ded 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/item/publish/PublishRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/item/publish/PublishRequestBuilder.java @@ -37,7 +37,10 @@ public PublishRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j /** * Invoke action publish * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void post() { post(null); } @@ -45,7 +48,10 @@ public void post() { * Invoke action publish * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -55,8 +61,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Invoke action publish * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -64,8 +73,11 @@ public RequestInformation toPostRequestInformation() { * Invoke action publish * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -76,8 +88,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link PublishRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public PublishRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new PublishRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/item/sessions/SessionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/item/sessions/SessionsRequestBuilder.java index 418f5aa2774..3403c207055 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/item/sessions/SessionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/item/sessions/SessionsRequestBuilder.java @@ -26,7 +26,10 @@ public class SessionsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the sessions property of the microsoft.graph.virtualEvent entity. * @param virtualEventSessionId The unique identifier of virtualEventSession * @return a {@link VirtualEventSessionItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public VirtualEventSessionItemRequestBuilder byVirtualEventSessionId(@jakarta.annotation.Nonnull final String virtualEventSessionId) { Objects.requireNonNull(virtualEventSessionId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public SessionsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ * The sessions for the virtual event. * @return a {@link VirtualEventSessionCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventSessionCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public VirtualEventSessionCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link VirtualEventSessionCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventSessionCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public VirtualEventSessionCollectionResponse get(@jakarta.annotation.Nullable fi * @param body The request body * @return a {@link VirtualEventSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventSession post(@jakarta.annotation.Nonnull final VirtualEventSession body) { return post(body, null); } @@ -97,8 +112,11 @@ public VirtualEventSession post(@jakarta.annotation.Nonnull final VirtualEventSe * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link VirtualEventSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventSession post(@jakarta.annotation.Nonnull final VirtualEventSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public VirtualEventSession post(@jakarta.annotation.Nonnull final VirtualEventSe /** * The sessions for the virtual event. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * The sessions for the virtual event. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to sessions for solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final VirtualEventSession body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final VirtualEventSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link SessionsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public SessionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new SessionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/item/sessions/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/item/sessions/count/CountRequestBuilder.java index 750dd383e81..be3940785f2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/item/sessions/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/item/sessions/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/item/sessions/item/VirtualEventSessionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/item/sessions/item/VirtualEventSessionItemRequestBuilder.java index 8ddc6961df0..b0048a819c3 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/item/sessions/item/VirtualEventSessionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/item/sessions/item/VirtualEventSessionItemRequestBuilder.java @@ -28,7 +28,10 @@ public class VirtualEventSessionItemRequestBuilder extends BaseRequestBuilder { /** * Provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeetingBase entity. * @return a {@link AttendanceReportsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public AttendanceReportsRequestBuilder attendanceReports() { return new AttendanceReportsRequestBuilder(pathParameters, requestAdapter); @@ -36,7 +39,10 @@ public AttendanceReportsRequestBuilder attendanceReports() { /** * Provides operations to manage the presenters property of the microsoft.graph.virtualEventSession entity. * @return a {@link PresentersRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public PresentersRequestBuilder presenters() { return new PresentersRequestBuilder(pathParameters, requestAdapter); @@ -44,7 +50,10 @@ public PresentersRequestBuilder presenters() { /** * Provides operations to manage the registrations property of the microsoft.graph.virtualEventSession entity. * @return a {@link RegistrationsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public RegistrationsRequestBuilder registrations() { return new RegistrationsRequestBuilder(pathParameters, requestAdapter); @@ -68,7 +77,10 @@ public VirtualEventSessionItemRequestBuilder(@jakarta.annotation.Nonnull final S /** * Delete navigation property sessions for solutions * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete() { delete(null); } @@ -76,7 +88,10 @@ public void delete() { * Delete navigation property sessions for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -87,8 +102,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * The sessions for the virtual event. * @return a {@link VirtualEventSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventSession get() { return get(null); } @@ -97,8 +115,11 @@ public VirtualEventSession get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link VirtualEventSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventSession get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -110,8 +131,11 @@ public VirtualEventSession get(@jakarta.annotation.Nullable final java.util.func * @param body The request body * @return a {@link VirtualEventSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventSession patch(@jakarta.annotation.Nonnull final VirtualEventSession body) { return patch(body, null); } @@ -121,8 +145,11 @@ public VirtualEventSession patch(@jakarta.annotation.Nonnull final VirtualEventS * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link VirtualEventSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventSession patch(@jakarta.annotation.Nonnull final VirtualEventSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -134,8 +161,11 @@ public VirtualEventSession patch(@jakarta.annotation.Nonnull final VirtualEventS * Provides operations to manage the registrations property of the microsoft.graph.virtualEventSession entity. * @param email Alternate key of virtualEventRegistration * @return a {@link RegistrationsWithEmailRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RegistrationsWithEmailRequestBuilder registrationsWithEmail(@jakarta.annotation.Nonnull final String email) { Objects.requireNonNull(email); return new RegistrationsWithEmailRequestBuilder(pathParameters, requestAdapter, email); @@ -144,8 +174,11 @@ public RegistrationsWithEmailRequestBuilder registrationsWithEmail(@jakarta.anno * Provides operations to manage the registrations property of the microsoft.graph.virtualEventSession entity. * @param userId Alternate key of virtualEventRegistration * @return a {@link RegistrationsWithUserIdRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RegistrationsWithUserIdRequestBuilder registrationsWithUserId(@jakarta.annotation.Nonnull final String userId) { Objects.requireNonNull(userId); return new RegistrationsWithUserIdRequestBuilder(pathParameters, requestAdapter, userId); @@ -153,8 +186,11 @@ public RegistrationsWithUserIdRequestBuilder registrationsWithUserId(@jakarta.an /** * Delete navigation property sessions for solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -162,8 +198,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property sessions for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -173,8 +212,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * The sessions for the virtual event. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -182,8 +224,11 @@ public RequestInformation toGetRequestInformation() { * The sessions for the virtual event. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -194,8 +239,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property sessions in solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final VirtualEventSession body) { return toPatchRequestInformation(body, null); } @@ -204,8 +252,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final VirtualEventSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -218,8 +269,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link VirtualEventSessionItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public VirtualEventSessionItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new VirtualEventSessionItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/item/sessions/item/attendancereports/AttendanceReportsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/item/sessions/item/attendancereports/AttendanceReportsRequestBuilder.java index 6a35ba9b8f5..8afdf161cb0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/item/sessions/item/attendancereports/AttendanceReportsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/item/sessions/item/attendancereports/AttendanceReportsRequestBuilder.java @@ -26,7 +26,10 @@ public class AttendanceReportsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeetingBase entity. * @param meetingAttendanceReportId The unique identifier of meetingAttendanceReport * @return a {@link MeetingAttendanceReportItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public MeetingAttendanceReportItemRequestBuilder byMeetingAttendanceReportId(@jakarta.annotation.Nonnull final String meetingAttendanceReportId) { Objects.requireNonNull(meetingAttendanceReportId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public AttendanceReportsRequestBuilder(@jakarta.annotation.Nonnull final String * The attendance reports of an online meeting. Read-only. * @return a {@link MeetingAttendanceReportCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public MeetingAttendanceReportCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public MeetingAttendanceReportCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MeetingAttendanceReportCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public MeetingAttendanceReportCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public MeetingAttendanceReportCollectionResponse get(@jakarta.annotation.Nullabl * @param body The request body * @return a {@link MeetingAttendanceReport} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public MeetingAttendanceReport post(@jakarta.annotation.Nonnull final MeetingAttendanceReport body) { return post(body, null); } @@ -97,8 +112,11 @@ public MeetingAttendanceReport post(@jakarta.annotation.Nonnull final MeetingAtt * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MeetingAttendanceReport} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public MeetingAttendanceReport post(@jakarta.annotation.Nonnull final MeetingAttendanceReport body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public MeetingAttendanceReport post(@jakarta.annotation.Nonnull final MeetingAtt /** * The attendance reports of an online meeting. Read-only. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * The attendance reports of an online meeting. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to attendanceReports for solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MeetingAttendanceReport body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MeetingAttendanceReport body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AttendanceReportsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public AttendanceReportsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AttendanceReportsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/item/sessions/item/attendancereports/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/item/sessions/item/attendancereports/count/CountRequestBuilder.java index c8b8403b48a..c5a13cbfb5a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/item/sessions/item/attendancereports/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/item/sessions/item/attendancereports/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/item/sessions/item/attendancereports/item/MeetingAttendanceReportItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/item/sessions/item/attendancereports/item/MeetingAttendanceReportItemRequestBuilder.java index 47204ab91b8..de73260d14c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/item/sessions/item/attendancereports/item/MeetingAttendanceReportItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/item/sessions/item/attendancereports/item/MeetingAttendanceReportItemRequestBuilder.java @@ -24,7 +24,10 @@ public class MeetingAttendanceReportItemRequestBuilder extends BaseRequestBuilde /** * Provides operations to manage the attendanceRecords property of the microsoft.graph.meetingAttendanceReport entity. * @return a {@link AttendanceRecordsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public AttendanceRecordsRequestBuilder attendanceRecords() { return new AttendanceRecordsRequestBuilder(pathParameters, requestAdapter); @@ -48,7 +51,10 @@ public MeetingAttendanceReportItemRequestBuilder(@jakarta.annotation.Nonnull fin /** * Delete navigation property attendanceReports for solutions * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete() { delete(null); } @@ -56,7 +62,10 @@ public void delete() { * Delete navigation property attendanceReports for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -67,8 +76,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * The attendance reports of an online meeting. Read-only. * @return a {@link MeetingAttendanceReport} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public MeetingAttendanceReport get() { return get(null); } @@ -77,8 +89,11 @@ public MeetingAttendanceReport get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MeetingAttendanceReport} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public MeetingAttendanceReport get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -90,8 +105,11 @@ public MeetingAttendanceReport get(@jakarta.annotation.Nullable final java.util. * @param body The request body * @return a {@link MeetingAttendanceReport} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public MeetingAttendanceReport patch(@jakarta.annotation.Nonnull final MeetingAttendanceReport body) { return patch(body, null); } @@ -101,8 +119,11 @@ public MeetingAttendanceReport patch(@jakarta.annotation.Nonnull final MeetingAt * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MeetingAttendanceReport} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public MeetingAttendanceReport patch(@jakarta.annotation.Nonnull final MeetingAttendanceReport body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -113,8 +134,11 @@ public MeetingAttendanceReport patch(@jakarta.annotation.Nonnull final MeetingAt /** * Delete navigation property attendanceReports for solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -122,8 +146,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property attendanceReports for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -133,8 +160,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * The attendance reports of an online meeting. Read-only. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -142,8 +172,11 @@ public RequestInformation toGetRequestInformation() { * The attendance reports of an online meeting. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -154,8 +187,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property attendanceReports in solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MeetingAttendanceReport body) { return toPatchRequestInformation(body, null); } @@ -164,8 +200,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MeetingAttendanceReport body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -178,8 +217,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link MeetingAttendanceReportItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public MeetingAttendanceReportItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new MeetingAttendanceReportItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/item/sessions/item/attendancereports/item/attendancerecords/AttendanceRecordsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/item/sessions/item/attendancereports/item/attendancerecords/AttendanceRecordsRequestBuilder.java index 02f9d60334c..c68dbf71615 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/item/sessions/item/attendancereports/item/attendancerecords/AttendanceRecordsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/item/sessions/item/attendancereports/item/attendancerecords/AttendanceRecordsRequestBuilder.java @@ -26,7 +26,10 @@ public class AttendanceRecordsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the attendanceRecords property of the microsoft.graph.meetingAttendanceReport entity. * @param attendanceRecordId The unique identifier of attendanceRecord * @return a {@link AttendanceRecordItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public AttendanceRecordItemRequestBuilder byAttendanceRecordId(@jakarta.annotation.Nonnull final String attendanceRecordId) { Objects.requireNonNull(attendanceRecordId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public AttendanceRecordsRequestBuilder(@jakarta.annotation.Nonnull final String * List of attendance records of an attendance report. Read-only. * @return a {@link AttendanceRecordCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public AttendanceRecordCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public AttendanceRecordCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AttendanceRecordCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public AttendanceRecordCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public AttendanceRecordCollectionResponse get(@jakarta.annotation.Nullable final * @param body The request body * @return a {@link AttendanceRecord} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public AttendanceRecord post(@jakarta.annotation.Nonnull final AttendanceRecord body) { return post(body, null); } @@ -97,8 +112,11 @@ public AttendanceRecord post(@jakarta.annotation.Nonnull final AttendanceRecord * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AttendanceRecord} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public AttendanceRecord post(@jakarta.annotation.Nonnull final AttendanceRecord body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public AttendanceRecord post(@jakarta.annotation.Nonnull final AttendanceRecord /** * List of attendance records of an attendance report. Read-only. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * List of attendance records of an attendance report. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to attendanceRecords for solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AttendanceRecord body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AttendanceRecord body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AttendanceRecordsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public AttendanceRecordsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AttendanceRecordsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/item/sessions/item/attendancereports/item/attendancerecords/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/item/sessions/item/attendancereports/item/attendancerecords/count/CountRequestBuilder.java index f52de02c741..e7e64409b35 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/item/sessions/item/attendancereports/item/attendancerecords/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/item/sessions/item/attendancereports/item/attendancerecords/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/item/sessions/item/attendancereports/item/attendancerecords/item/AttendanceRecordItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/item/sessions/item/attendancereports/item/attendancerecords/item/AttendanceRecordItemRequestBuilder.java index 7e56e0ff92a..fdd55ca3907 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/item/sessions/item/attendancereports/item/attendancerecords/item/AttendanceRecordItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/item/sessions/item/attendancereports/item/attendancerecords/item/AttendanceRecordItemRequestBuilder.java @@ -39,7 +39,10 @@ public AttendanceRecordItemRequestBuilder(@jakarta.annotation.Nonnull final Stri /** * Delete navigation property attendanceRecords for solutions * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete() { delete(null); } @@ -47,7 +50,10 @@ public void delete() { * Delete navigation property attendanceRecords for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -58,8 +64,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * List of attendance records of an attendance report. Read-only. * @return a {@link AttendanceRecord} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public AttendanceRecord get() { return get(null); } @@ -68,8 +77,11 @@ public AttendanceRecord get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AttendanceRecord} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public AttendanceRecord get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -81,8 +93,11 @@ public AttendanceRecord get(@jakarta.annotation.Nullable final java.util.functio * @param body The request body * @return a {@link AttendanceRecord} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public AttendanceRecord patch(@jakarta.annotation.Nonnull final AttendanceRecord body) { return patch(body, null); } @@ -92,8 +107,11 @@ public AttendanceRecord patch(@jakarta.annotation.Nonnull final AttendanceRecord * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AttendanceRecord} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public AttendanceRecord patch(@jakarta.annotation.Nonnull final AttendanceRecord body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -104,8 +122,11 @@ public AttendanceRecord patch(@jakarta.annotation.Nonnull final AttendanceRecord /** * Delete navigation property attendanceRecords for solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -113,8 +134,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property attendanceRecords for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * List of attendance records of an attendance report. Read-only. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -133,8 +160,11 @@ public RequestInformation toGetRequestInformation() { * List of attendance records of an attendance report. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -145,8 +175,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property attendanceRecords in solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AttendanceRecord body) { return toPatchRequestInformation(body, null); } @@ -155,8 +188,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AttendanceRecord body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -169,8 +205,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AttendanceRecordItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public AttendanceRecordItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AttendanceRecordItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/item/sessions/item/presenters/PresentersRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/item/sessions/item/presenters/PresentersRequestBuilder.java index 1f63802c1f2..7adaedceb9a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/item/sessions/item/presenters/PresentersRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/item/sessions/item/presenters/PresentersRequestBuilder.java @@ -25,7 +25,10 @@ public class PresentersRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -34,8 +37,11 @@ public CountRequestBuilder count() { * Provides operations to manage the presenters property of the microsoft.graph.virtualEventSession entity. * @param virtualEventPresenterId The unique identifier of virtualEventPresenter * @return a {@link VirtualEventPresenterItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public VirtualEventPresenterItemRequestBuilder byVirtualEventPresenterId(@jakarta.annotation.Nonnull final String virtualEventPresenterId) { Objects.requireNonNull(virtualEventPresenterId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -62,8 +68,11 @@ public PresentersRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, * Get presenters from solutions * @return a {@link VirtualEventPresenterCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventPresenterCollectionResponse get() { return get(null); } @@ -72,8 +81,11 @@ public VirtualEventPresenterCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link VirtualEventPresenterCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventPresenterCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -83,8 +95,11 @@ public VirtualEventPresenterCollectionResponse get(@jakarta.annotation.Nullable /** * Get presenters from solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -92,8 +107,11 @@ public RequestInformation toGetRequestInformation() { * Get presenters from solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -104,8 +122,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link PresentersRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public PresentersRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new PresentersRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/item/sessions/item/presenters/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/item/sessions/item/presenters/count/CountRequestBuilder.java index afd52691223..825491712bd 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/item/sessions/item/presenters/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/item/sessions/item/presenters/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/item/sessions/item/presenters/item/VirtualEventPresenterItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/item/sessions/item/presenters/item/VirtualEventPresenterItemRequestBuilder.java index c5bf9a4b022..4fe615a43f8 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/item/sessions/item/presenters/item/VirtualEventPresenterItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/item/sessions/item/presenters/item/VirtualEventPresenterItemRequestBuilder.java @@ -40,8 +40,11 @@ public VirtualEventPresenterItemRequestBuilder(@jakarta.annotation.Nonnull final * Get presenters from solutions * @return a {@link VirtualEventPresenter} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventPresenter get() { return get(null); } @@ -50,8 +53,11 @@ public VirtualEventPresenter get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link VirtualEventPresenter} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventPresenter get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public VirtualEventPresenter get(@jakarta.annotation.Nullable final java.util.fu /** * Get presenters from solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * Get presenters from solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link VirtualEventPresenterItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public VirtualEventPresenterItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new VirtualEventPresenterItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/item/sessions/item/registrations/RegistrationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/item/sessions/item/registrations/RegistrationsRequestBuilder.java index dae5c4f1731..4c2db036239 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/item/sessions/item/registrations/RegistrationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/item/sessions/item/registrations/RegistrationsRequestBuilder.java @@ -25,7 +25,10 @@ public class RegistrationsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -34,8 +37,11 @@ public CountRequestBuilder count() { * Provides operations to manage the registrations property of the microsoft.graph.virtualEventSession entity. * @param virtualEventRegistrationId The unique identifier of virtualEventRegistration * @return a {@link VirtualEventRegistrationItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public VirtualEventRegistrationItemRequestBuilder byVirtualEventRegistrationId(@jakarta.annotation.Nonnull final String virtualEventRegistrationId) { Objects.requireNonNull(virtualEventRegistrationId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -62,8 +68,11 @@ public RegistrationsRequestBuilder(@jakarta.annotation.Nonnull final String rawU * Get registrations from solutions * @return a {@link VirtualEventRegistrationCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventRegistrationCollectionResponse get() { return get(null); } @@ -72,8 +81,11 @@ public VirtualEventRegistrationCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link VirtualEventRegistrationCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventRegistrationCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -83,8 +95,11 @@ public VirtualEventRegistrationCollectionResponse get(@jakarta.annotation.Nullab /** * Get registrations from solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -92,8 +107,11 @@ public RequestInformation toGetRequestInformation() { * Get registrations from solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -104,8 +122,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RegistrationsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RegistrationsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RegistrationsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/item/sessions/item/registrations/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/item/sessions/item/registrations/count/CountRequestBuilder.java index 80e2974349a..5d76979426a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/item/sessions/item/registrations/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/item/sessions/item/registrations/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/item/sessions/item/registrations/item/VirtualEventRegistrationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/item/sessions/item/registrations/item/VirtualEventRegistrationItemRequestBuilder.java index ecf6ecd74a5..4a21c89c2ae 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/item/sessions/item/registrations/item/VirtualEventRegistrationItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/item/sessions/item/registrations/item/VirtualEventRegistrationItemRequestBuilder.java @@ -40,8 +40,11 @@ public VirtualEventRegistrationItemRequestBuilder(@jakarta.annotation.Nonnull fi * Get registrations from solutions * @return a {@link VirtualEventRegistration} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventRegistration get() { return get(null); } @@ -50,8 +53,11 @@ public VirtualEventRegistration get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link VirtualEventRegistration} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventRegistration get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public VirtualEventRegistration get(@jakarta.annotation.Nullable final java.util /** * Get registrations from solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * Get registrations from solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link VirtualEventRegistrationItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public VirtualEventRegistrationItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new VirtualEventRegistrationItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/item/sessions/item/registrationswithemail/RegistrationsWithEmailRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/item/sessions/item/registrationswithemail/RegistrationsWithEmailRequestBuilder.java index a6d1212b54a..35fe9051552 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/item/sessions/item/registrationswithemail/RegistrationsWithEmailRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/item/sessions/item/registrationswithemail/RegistrationsWithEmailRequestBuilder.java @@ -42,8 +42,11 @@ public RegistrationsWithEmailRequestBuilder(@jakarta.annotation.Nonnull final St * Get registrations from solutions * @return a {@link VirtualEventRegistration} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventRegistration get() { return get(null); } @@ -52,8 +55,11 @@ public VirtualEventRegistration get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link VirtualEventRegistration} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventRegistration get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -63,8 +69,11 @@ public VirtualEventRegistration get(@jakarta.annotation.Nullable final java.util /** * Get registrations from solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -72,8 +81,11 @@ public RequestInformation toGetRequestInformation() { * Get registrations from solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -84,8 +96,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RegistrationsWithEmailRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RegistrationsWithEmailRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RegistrationsWithEmailRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/item/sessions/item/registrationswithuserid/RegistrationsWithUserIdRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/item/sessions/item/registrationswithuserid/RegistrationsWithUserIdRequestBuilder.java index 93dbaea95d2..c6835b05639 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/item/sessions/item/registrationswithuserid/RegistrationsWithUserIdRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/item/sessions/item/registrationswithuserid/RegistrationsWithUserIdRequestBuilder.java @@ -42,8 +42,11 @@ public RegistrationsWithUserIdRequestBuilder(@jakarta.annotation.Nonnull final S * Get registrations from solutions * @return a {@link VirtualEventRegistration} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventRegistration get() { return get(null); } @@ -52,8 +55,11 @@ public VirtualEventRegistration get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link VirtualEventRegistration} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventRegistration get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -63,8 +69,11 @@ public VirtualEventRegistration get(@jakarta.annotation.Nullable final java.util /** * Get registrations from solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -72,8 +81,11 @@ public RequestInformation toGetRequestInformation() { * Get registrations from solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -84,8 +96,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RegistrationsWithUserIdRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RegistrationsWithUserIdRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RegistrationsWithUserIdRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/item/sessionswithjoinweburl/SessionsWithJoinWebUrlRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/item/sessionswithjoinweburl/SessionsWithJoinWebUrlRequestBuilder.java index 974b9d32deb..d24a37bdc13 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/item/sessionswithjoinweburl/SessionsWithJoinWebUrlRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/item/sessionswithjoinweburl/SessionsWithJoinWebUrlRequestBuilder.java @@ -41,7 +41,10 @@ public SessionsWithJoinWebUrlRequestBuilder(@jakarta.annotation.Nonnull final St /** * Delete navigation property sessions for solutions * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete() { delete(null); } @@ -49,7 +52,10 @@ public void delete() { * Delete navigation property sessions for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * The sessions for the virtual event. * @return a {@link VirtualEventSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventSession get() { return get(null); } @@ -70,8 +79,11 @@ public VirtualEventSession get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link VirtualEventSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventSession get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -83,8 +95,11 @@ public VirtualEventSession get(@jakarta.annotation.Nullable final java.util.func * @param body The request body * @return a {@link VirtualEventSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventSession patch(@jakarta.annotation.Nonnull final VirtualEventSession body) { return patch(body, null); } @@ -94,8 +109,11 @@ public VirtualEventSession patch(@jakarta.annotation.Nonnull final VirtualEventS * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link VirtualEventSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventSession patch(@jakarta.annotation.Nonnull final VirtualEventSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -106,8 +124,11 @@ public VirtualEventSession patch(@jakarta.annotation.Nonnull final VirtualEventS /** * Delete navigation property sessions for solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -115,8 +136,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property sessions for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -126,8 +150,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * The sessions for the virtual event. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -135,8 +162,11 @@ public RequestInformation toGetRequestInformation() { * The sessions for the virtual event. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -147,8 +177,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property sessions in solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final VirtualEventSession body) { return toPatchRequestInformation(body, null); } @@ -157,8 +190,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final VirtualEventSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -171,8 +207,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link SessionsWithJoinWebUrlRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public SessionsWithJoinWebUrlRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new SessionsWithJoinWebUrlRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/item/setexternaleventinformation/SetExternalEventInformationRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/item/setexternaleventinformation/SetExternalEventInformationRequestBuilder.java index fb9ad446715..8eba9439080 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/item/setexternaleventinformation/SetExternalEventInformationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/events/item/setexternaleventinformation/SetExternalEventInformationRequestBuilder.java @@ -38,7 +38,10 @@ public SetExternalEventInformationRequestBuilder(@jakarta.annotation.Nonnull fin * Invoke action setExternalEventInformation * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void post(@jakarta.annotation.Nonnull final SetExternalEventInformationPostRequestBody body) { post(body, null); } @@ -47,7 +50,10 @@ public void post(@jakarta.annotation.Nonnull final SetExternalEventInformationPo * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void post(@jakarta.annotation.Nonnull final SetExternalEventInformationPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -59,8 +65,11 @@ public void post(@jakarta.annotation.Nonnull final SetExternalEventInformationPo * Invoke action setExternalEventInformation * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final SetExternalEventInformationPostRequestBody body) { return toPostRequestInformation(body, null); } @@ -69,8 +78,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final SetExternalEventInformationPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -83,8 +95,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link SetExternalEventInformationRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public SetExternalEventInformationRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new SetExternalEventInformationRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/TownhallsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/TownhallsRequestBuilder.java index 273d296ae67..69e7b997646 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/TownhallsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/TownhallsRequestBuilder.java @@ -28,7 +28,10 @@ public class TownhallsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -37,8 +40,11 @@ public CountRequestBuilder count() { * Provides operations to manage the townhalls property of the microsoft.graph.virtualEventsRoot entity. * @param virtualEventTownhallId The unique identifier of virtualEventTownhall * @return a {@link VirtualEventTownhallItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public VirtualEventTownhallItemRequestBuilder byVirtualEventTownhallId(@jakarta.annotation.Nonnull final String virtualEventTownhallId) { Objects.requireNonNull(virtualEventTownhallId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -65,8 +71,11 @@ public TownhallsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, * Read the properties and relationships of a virtualEventTownhall object. * @return a {@link VirtualEventTownhallCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventTownhallCollectionResponse get() { return get(null); } @@ -75,8 +84,11 @@ public VirtualEventTownhallCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link VirtualEventTownhallCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventTownhallCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -88,8 +100,11 @@ public VirtualEventTownhallCollectionResponse get(@jakarta.annotation.Nullable f * @param role Usage: role='{role}' * @param userId Usage: userId='{userId}' * @return a {@link GetByUserIdAndRoleWithUserIdWithRoleRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public GetByUserIdAndRoleWithUserIdWithRoleRequestBuilder getByUserIdAndRoleWithUserIdWithRole(@jakarta.annotation.Nonnull final String role, @jakarta.annotation.Nonnull final String userId) { Objects.requireNonNull(role); Objects.requireNonNull(userId); @@ -99,8 +114,11 @@ public GetByUserIdAndRoleWithUserIdWithRoleRequestBuilder getByUserIdAndRoleWith * Provides operations to call the getByUserRole method. * @param role Usage: role='{role}' * @return a {@link GetByUserRoleWithRoleRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public GetByUserRoleWithRoleRequestBuilder getByUserRoleWithRole(@jakarta.annotation.Nonnull final String role) { Objects.requireNonNull(role); return new GetByUserRoleWithRoleRequestBuilder(pathParameters, requestAdapter, role); @@ -110,9 +128,12 @@ public GetByUserRoleWithRoleRequestBuilder getByUserRoleWithRole(@jakarta.annota * @param body The request body * @return a {@link VirtualEventTownhall} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventTownhall post(@jakarta.annotation.Nonnull final VirtualEventTownhall body) { return post(body, null); } @@ -122,9 +143,12 @@ public VirtualEventTownhall post(@jakarta.annotation.Nonnull final VirtualEventT * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link VirtualEventTownhall} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventTownhall post(@jakarta.annotation.Nonnull final VirtualEventTownhall body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -135,8 +159,11 @@ public VirtualEventTownhall post(@jakarta.annotation.Nonnull final VirtualEventT /** * Read the properties and relationships of a virtualEventTownhall object. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -144,8 +171,11 @@ public RequestInformation toGetRequestInformation() { * Read the properties and relationships of a virtualEventTownhall object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -156,8 +186,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create a new virtualEventTownhall object in draft mode. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final VirtualEventTownhall body) { return toPostRequestInformation(body, null); } @@ -166,8 +199,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final VirtualEventTownhall body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -180,8 +216,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link TownhallsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public TownhallsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new TownhallsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/count/CountRequestBuilder.java index 344e03a6f46..965a4403ebd 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/getbyuseridandrolewithuseridwithrole/GetByUserIdAndRoleWithUserIdWithRoleRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/getbyuseridandrolewithuseridwithrole/GetByUserIdAndRoleWithUserIdWithRoleRequestBuilder.java index 88ae55a0e61..5d3a6a50876 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/getbyuseridandrolewithuseridwithrole/GetByUserIdAndRoleWithUserIdWithRoleRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/getbyuseridandrolewithuseridwithrole/GetByUserIdAndRoleWithUserIdWithRoleRequestBuilder.java @@ -43,9 +43,12 @@ public GetByUserIdAndRoleWithUserIdWithRoleRequestBuilder(@jakarta.annotation.No * Get a list of virtualEventTownhall objects where the specified user is either the organizer or a coorganizer. * @return a {@link GetByUserIdAndRoleWithUserIdWithRoleGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public GetByUserIdAndRoleWithUserIdWithRoleGetResponse get() { return get(null); } @@ -54,9 +57,12 @@ public GetByUserIdAndRoleWithUserIdWithRoleGetResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GetByUserIdAndRoleWithUserIdWithRoleGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public GetByUserIdAndRoleWithUserIdWithRoleGetResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -66,8 +72,11 @@ public GetByUserIdAndRoleWithUserIdWithRoleGetResponse get(@jakarta.annotation.N /** * Get a list of virtualEventTownhall objects where the specified user is either the organizer or a coorganizer. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -75,8 +84,11 @@ public RequestInformation toGetRequestInformation() { * Get a list of virtualEventTownhall objects where the specified user is either the organizer or a coorganizer. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -87,8 +99,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link GetByUserIdAndRoleWithUserIdWithRoleRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public GetByUserIdAndRoleWithUserIdWithRoleRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new GetByUserIdAndRoleWithUserIdWithRoleRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/getbyuserrolewithrole/GetByUserRoleWithRoleRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/getbyuserrolewithrole/GetByUserRoleWithRoleRequestBuilder.java index 0b4e0500f21..140d22d7aeb 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/getbyuserrolewithrole/GetByUserRoleWithRoleRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/getbyuserrolewithrole/GetByUserRoleWithRoleRequestBuilder.java @@ -41,9 +41,12 @@ public GetByUserRoleWithRoleRequestBuilder(@jakarta.annotation.Nonnull final Str * Get a list of virtualEventTownhall objects where the signed-in user is either the organizer or a coorganizer. * @return a {@link GetByUserRoleWithRoleGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public GetByUserRoleWithRoleGetResponse get() { return get(null); } @@ -52,9 +55,12 @@ public GetByUserRoleWithRoleGetResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GetByUserRoleWithRoleGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public GetByUserRoleWithRoleGetResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -64,8 +70,11 @@ public GetByUserRoleWithRoleGetResponse get(@jakarta.annotation.Nullable final j /** * Get a list of virtualEventTownhall objects where the signed-in user is either the organizer or a coorganizer. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -73,8 +82,11 @@ public RequestInformation toGetRequestInformation() { * Get a list of virtualEventTownhall objects where the signed-in user is either the organizer or a coorganizer. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -85,8 +97,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link GetByUserRoleWithRoleRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public GetByUserRoleWithRoleRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new GetByUserRoleWithRoleRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/VirtualEventTownhallItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/VirtualEventTownhallItemRequestBuilder.java index 0c7daf269f6..8e07aae9205 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/VirtualEventTownhallItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/VirtualEventTownhallItemRequestBuilder.java @@ -30,7 +30,10 @@ public class VirtualEventTownhallItemRequestBuilder extends BaseRequestBuilder { /** * Provides operations to manage the presenters property of the microsoft.graph.virtualEvent entity. * @return a {@link PresentersRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public PresentersRequestBuilder presenters() { return new PresentersRequestBuilder(pathParameters, requestAdapter); @@ -38,7 +41,10 @@ public PresentersRequestBuilder presenters() { /** * Provides operations to manage the registrationConfiguration property of the microsoft.graph.virtualEventTownhall entity. * @return a {@link RegistrationConfigurationRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public RegistrationConfigurationRequestBuilder registrationConfiguration() { return new RegistrationConfigurationRequestBuilder(pathParameters, requestAdapter); @@ -46,7 +52,10 @@ public RegistrationConfigurationRequestBuilder registrationConfiguration() { /** * Provides operations to manage the registrations property of the microsoft.graph.virtualEventTownhall entity. * @return a {@link RegistrationsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public RegistrationsRequestBuilder registrations() { return new RegistrationsRequestBuilder(pathParameters, requestAdapter); @@ -54,7 +63,10 @@ public RegistrationsRequestBuilder registrations() { /** * Provides operations to manage the sessions property of the microsoft.graph.virtualEvent entity. * @return a {@link SessionsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public SessionsRequestBuilder sessions() { return new SessionsRequestBuilder(pathParameters, requestAdapter); @@ -78,7 +90,10 @@ public VirtualEventTownhallItemRequestBuilder(@jakarta.annotation.Nonnull final /** * Delete navigation property townhalls for solutions * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete() { delete(null); } @@ -86,7 +101,10 @@ public void delete() { * Delete navigation property townhalls for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -97,9 +115,12 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Read the properties and relationships of a virtualEventTownhall object. * @return a {@link VirtualEventTownhall} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventTownhall get() { return get(null); } @@ -108,9 +129,12 @@ public VirtualEventTownhall get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link VirtualEventTownhall} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventTownhall get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -122,9 +146,12 @@ public VirtualEventTownhall get(@jakarta.annotation.Nullable final java.util.fun * @param body The request body * @return a {@link VirtualEventTownhall} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventTownhall patch(@jakarta.annotation.Nonnull final VirtualEventTownhall body) { return patch(body, null); } @@ -134,9 +161,12 @@ public VirtualEventTownhall patch(@jakarta.annotation.Nonnull final VirtualEvent * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link VirtualEventTownhall} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventTownhall patch(@jakarta.annotation.Nonnull final VirtualEventTownhall body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -148,8 +178,11 @@ public VirtualEventTownhall patch(@jakarta.annotation.Nonnull final VirtualEvent * Provides operations to manage the registrations property of the microsoft.graph.virtualEventTownhall entity. * @param email Alternate key of virtualEventRegistration * @return a {@link RegistrationsWithEmailRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RegistrationsWithEmailRequestBuilder registrationsWithEmail(@jakarta.annotation.Nonnull final String email) { Objects.requireNonNull(email); return new RegistrationsWithEmailRequestBuilder(pathParameters, requestAdapter, email); @@ -158,8 +191,11 @@ public RegistrationsWithEmailRequestBuilder registrationsWithEmail(@jakarta.anno * Provides operations to manage the registrations property of the microsoft.graph.virtualEventTownhall entity. * @param userId Alternate key of virtualEventRegistration * @return a {@link RegistrationsWithUserIdRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RegistrationsWithUserIdRequestBuilder registrationsWithUserId(@jakarta.annotation.Nonnull final String userId) { Objects.requireNonNull(userId); return new RegistrationsWithUserIdRequestBuilder(pathParameters, requestAdapter, userId); @@ -168,8 +204,11 @@ public RegistrationsWithUserIdRequestBuilder registrationsWithUserId(@jakarta.an * Provides operations to manage the sessions property of the microsoft.graph.virtualEvent entity. * @param joinWebUrl Alternate key of virtualEventSession * @return a {@link SessionsWithJoinWebUrlRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public SessionsWithJoinWebUrlRequestBuilder sessionsWithJoinWebUrl(@jakarta.annotation.Nonnull final String joinWebUrl) { Objects.requireNonNull(joinWebUrl); return new SessionsWithJoinWebUrlRequestBuilder(pathParameters, requestAdapter, joinWebUrl); @@ -177,8 +216,11 @@ public SessionsWithJoinWebUrlRequestBuilder sessionsWithJoinWebUrl(@jakarta.anno /** * Delete navigation property townhalls for solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -186,8 +228,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property townhalls for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -197,8 +242,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Read the properties and relationships of a virtualEventTownhall object. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -206,8 +254,11 @@ public RequestInformation toGetRequestInformation() { * Read the properties and relationships of a virtualEventTownhall object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -218,8 +269,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the properties of a virtualEventTownhall object. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final VirtualEventTownhall body) { return toPatchRequestInformation(body, null); } @@ -228,8 +282,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final VirtualEventTownhall body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -242,8 +299,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link VirtualEventTownhallItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public VirtualEventTownhallItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new VirtualEventTownhallItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/presenters/PresentersRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/presenters/PresentersRequestBuilder.java index 9067a2e3162..24fc22911be 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/presenters/PresentersRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/presenters/PresentersRequestBuilder.java @@ -26,7 +26,10 @@ public class PresentersRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the presenters property of the microsoft.graph.virtualEvent entity. * @param virtualEventPresenterId The unique identifier of virtualEventPresenter * @return a {@link VirtualEventPresenterItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public VirtualEventPresenterItemRequestBuilder byVirtualEventPresenterId(@jakarta.annotation.Nonnull final String virtualEventPresenterId) { Objects.requireNonNull(virtualEventPresenterId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,9 +69,12 @@ public PresentersRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, * Get the list of all virtualEventPresenter objects associated with a virtual event. Currently the supported virtual event types are: virtualEventTownhall, virtualEventWebinar. * @return a {@link VirtualEventPresenterCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventPresenterCollectionResponse get() { return get(null); } @@ -74,9 +83,12 @@ public VirtualEventPresenterCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link VirtualEventPresenterCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventPresenterCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -88,9 +100,12 @@ public VirtualEventPresenterCollectionResponse get(@jakarta.annotation.Nullable * @param body The request body * @return a {@link VirtualEventPresenter} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventPresenter post(@jakarta.annotation.Nonnull final VirtualEventPresenter body) { return post(body, null); } @@ -100,9 +115,12 @@ public VirtualEventPresenter post(@jakarta.annotation.Nonnull final VirtualEvent * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link VirtualEventPresenter} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventPresenter post(@jakarta.annotation.Nonnull final VirtualEventPresenter body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -113,8 +131,11 @@ public VirtualEventPresenter post(@jakarta.annotation.Nonnull final VirtualEvent /** * Get the list of all virtualEventPresenter objects associated with a virtual event. Currently the supported virtual event types are: virtualEventTownhall, virtualEventWebinar. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -122,8 +143,11 @@ public RequestInformation toGetRequestInformation() { * Get the list of all virtualEventPresenter objects associated with a virtual event. Currently the supported virtual event types are: virtualEventTownhall, virtualEventWebinar. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -134,8 +158,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create a new virtualEventPresenter object on a virtual event. Currently the supported virtual event types are: virtualEventTownhall, virtualEventWebinar. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final VirtualEventPresenter body) { return toPostRequestInformation(body, null); } @@ -144,8 +171,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final VirtualEventPresenter body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -158,8 +188,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link PresentersRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public PresentersRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new PresentersRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/presenters/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/presenters/count/CountRequestBuilder.java index 81d8cb3fbd6..95ccc9a7d09 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/presenters/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/presenters/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/presenters/item/VirtualEventPresenterItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/presenters/item/VirtualEventPresenterItemRequestBuilder.java index 0dc61ca9597..4d97d6c450d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/presenters/item/VirtualEventPresenterItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/presenters/item/VirtualEventPresenterItemRequestBuilder.java @@ -25,7 +25,10 @@ public class VirtualEventPresenterItemRequestBuilder extends BaseRequestBuilder /** * Provides operations to manage the sessions property of the microsoft.graph.virtualEventPresenter entity. * @return a {@link SessionsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public SessionsRequestBuilder sessions() { return new SessionsRequestBuilder(pathParameters, requestAdapter); @@ -49,8 +52,11 @@ public VirtualEventPresenterItemRequestBuilder(@jakarta.annotation.Nonnull final /** * Delete a virtualEventPresenter from a virtual event. Currently the supported virtual event types are: virtualEventTownhall, virtualEventWebinar. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ + @Deprecated public void delete() { delete(null); } @@ -58,8 +64,11 @@ public void delete() { * Delete a virtualEventPresenter from a virtual event. Currently the supported virtual event types are: virtualEventTownhall, virtualEventWebinar. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -70,9 +79,12 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Read the properties and relationships of a virtualEventPresenter object. Currently the supported virtual event types are: virtualEventTownhall, virtualEventWebinar. * @return a {@link VirtualEventPresenter} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventPresenter get() { return get(null); } @@ -81,9 +93,12 @@ public VirtualEventPresenter get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link VirtualEventPresenter} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventPresenter get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -95,8 +110,11 @@ public VirtualEventPresenter get(@jakarta.annotation.Nullable final java.util.fu * @param body The request body * @return a {@link VirtualEventPresenter} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventPresenter patch(@jakarta.annotation.Nonnull final VirtualEventPresenter body) { return patch(body, null); } @@ -106,8 +124,11 @@ public VirtualEventPresenter patch(@jakarta.annotation.Nonnull final VirtualEven * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link VirtualEventPresenter} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventPresenter patch(@jakarta.annotation.Nonnull final VirtualEventPresenter body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -119,8 +140,11 @@ public VirtualEventPresenter patch(@jakarta.annotation.Nonnull final VirtualEven * Provides operations to manage the sessions property of the microsoft.graph.virtualEventPresenter entity. * @param joinWebUrl Alternate key of virtualEventSession * @return a {@link SessionsWithJoinWebUrlRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public SessionsWithJoinWebUrlRequestBuilder sessionsWithJoinWebUrl(@jakarta.annotation.Nonnull final String joinWebUrl) { Objects.requireNonNull(joinWebUrl); return new SessionsWithJoinWebUrlRequestBuilder(pathParameters, requestAdapter, joinWebUrl); @@ -128,8 +152,11 @@ public SessionsWithJoinWebUrlRequestBuilder sessionsWithJoinWebUrl(@jakarta.anno /** * Delete a virtualEventPresenter from a virtual event. Currently the supported virtual event types are: virtualEventTownhall, virtualEventWebinar. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -137,8 +164,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete a virtualEventPresenter from a virtual event. Currently the supported virtual event types are: virtualEventTownhall, virtualEventWebinar. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -148,8 +178,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Read the properties and relationships of a virtualEventPresenter object. Currently the supported virtual event types are: virtualEventTownhall, virtualEventWebinar. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -157,8 +190,11 @@ public RequestInformation toGetRequestInformation() { * Read the properties and relationships of a virtualEventPresenter object. Currently the supported virtual event types are: virtualEventTownhall, virtualEventWebinar. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -169,8 +205,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property presenters in solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final VirtualEventPresenter body) { return toPatchRequestInformation(body, null); } @@ -179,8 +218,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final VirtualEventPresenter body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -193,8 +235,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link VirtualEventPresenterItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public VirtualEventPresenterItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new VirtualEventPresenterItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/presenters/item/sessions/SessionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/presenters/item/sessions/SessionsRequestBuilder.java index 15609508e11..ca627be1f7e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/presenters/item/sessions/SessionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/presenters/item/sessions/SessionsRequestBuilder.java @@ -25,7 +25,10 @@ public class SessionsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -34,8 +37,11 @@ public CountRequestBuilder count() { * Provides operations to manage the sessions property of the microsoft.graph.virtualEventPresenter entity. * @param virtualEventSessionId The unique identifier of virtualEventSession * @return a {@link VirtualEventSessionItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public VirtualEventSessionItemRequestBuilder byVirtualEventSessionId(@jakarta.annotation.Nonnull final String virtualEventSessionId) { Objects.requireNonNull(virtualEventSessionId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -62,8 +68,11 @@ public SessionsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ * Get sessions from solutions * @return a {@link VirtualEventSessionCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventSessionCollectionResponse get() { return get(null); } @@ -72,8 +81,11 @@ public VirtualEventSessionCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link VirtualEventSessionCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventSessionCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -83,8 +95,11 @@ public VirtualEventSessionCollectionResponse get(@jakarta.annotation.Nullable fi /** * Get sessions from solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -92,8 +107,11 @@ public RequestInformation toGetRequestInformation() { * Get sessions from solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -104,8 +122,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link SessionsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public SessionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new SessionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/presenters/item/sessions/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/presenters/item/sessions/count/CountRequestBuilder.java index 2353ff63db3..3b5094245c6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/presenters/item/sessions/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/presenters/item/sessions/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/presenters/item/sessions/item/VirtualEventSessionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/presenters/item/sessions/item/VirtualEventSessionItemRequestBuilder.java index abdf232de5d..94062e594bb 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/presenters/item/sessions/item/VirtualEventSessionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/presenters/item/sessions/item/VirtualEventSessionItemRequestBuilder.java @@ -40,8 +40,11 @@ public VirtualEventSessionItemRequestBuilder(@jakarta.annotation.Nonnull final S * Get sessions from solutions * @return a {@link VirtualEventSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventSession get() { return get(null); } @@ -50,8 +53,11 @@ public VirtualEventSession get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link VirtualEventSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventSession get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public VirtualEventSession get(@jakarta.annotation.Nullable final java.util.func /** * Get sessions from solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * Get sessions from solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link VirtualEventSessionItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public VirtualEventSessionItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new VirtualEventSessionItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/presenters/item/sessionswithjoinweburl/SessionsWithJoinWebUrlRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/presenters/item/sessionswithjoinweburl/SessionsWithJoinWebUrlRequestBuilder.java index 2bb9caabb94..b7dabec4c70 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/presenters/item/sessionswithjoinweburl/SessionsWithJoinWebUrlRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/presenters/item/sessionswithjoinweburl/SessionsWithJoinWebUrlRequestBuilder.java @@ -42,8 +42,11 @@ public SessionsWithJoinWebUrlRequestBuilder(@jakarta.annotation.Nonnull final St * Get sessions from solutions * @return a {@link VirtualEventSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventSession get() { return get(null); } @@ -52,8 +55,11 @@ public VirtualEventSession get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link VirtualEventSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventSession get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -63,8 +69,11 @@ public VirtualEventSession get(@jakarta.annotation.Nullable final java.util.func /** * Get sessions from solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -72,8 +81,11 @@ public RequestInformation toGetRequestInformation() { * Get sessions from solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -84,8 +96,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link SessionsWithJoinWebUrlRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public SessionsWithJoinWebUrlRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new SessionsWithJoinWebUrlRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/registrationconfiguration/RegistrationConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/registrationconfiguration/RegistrationConfigurationRequestBuilder.java index 506f98ef97b..4ee407de6a0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/registrationconfiguration/RegistrationConfigurationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/registrationconfiguration/RegistrationConfigurationRequestBuilder.java @@ -24,7 +24,10 @@ public class RegistrationConfigurationRequestBuilder extends BaseRequestBuilder /** * Provides operations to manage the questions property of the microsoft.graph.virtualEventRegistrationConfiguration entity. * @return a {@link QuestionsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public QuestionsRequestBuilder questions() { return new QuestionsRequestBuilder(pathParameters, requestAdapter); @@ -48,7 +51,10 @@ public RegistrationConfigurationRequestBuilder(@jakarta.annotation.Nonnull final /** * Delete navigation property registrationConfiguration for solutions * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete() { delete(null); } @@ -56,7 +62,10 @@ public void delete() { * Delete navigation property registrationConfiguration for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -67,9 +76,12 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Read the properties and relationships of a virtualEventTownhallRegistrationConfiguration object. * @return a {@link VirtualEventTownhallRegistrationConfiguration} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventTownhallRegistrationConfiguration get() { return get(null); } @@ -78,9 +90,12 @@ public VirtualEventTownhallRegistrationConfiguration get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link VirtualEventTownhallRegistrationConfiguration} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventTownhallRegistrationConfiguration get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -92,8 +107,11 @@ public VirtualEventTownhallRegistrationConfiguration get(@jakarta.annotation.Nul * @param body The request body * @return a {@link VirtualEventTownhallRegistrationConfiguration} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventTownhallRegistrationConfiguration patch(@jakarta.annotation.Nonnull final VirtualEventTownhallRegistrationConfiguration body) { return patch(body, null); } @@ -103,8 +121,11 @@ public VirtualEventTownhallRegistrationConfiguration patch(@jakarta.annotation.N * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link VirtualEventTownhallRegistrationConfiguration} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventTownhallRegistrationConfiguration patch(@jakarta.annotation.Nonnull final VirtualEventTownhallRegistrationConfiguration body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -115,8 +136,11 @@ public VirtualEventTownhallRegistrationConfiguration patch(@jakarta.annotation.N /** * Delete navigation property registrationConfiguration for solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property registrationConfiguration for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -135,8 +162,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Read the properties and relationships of a virtualEventTownhallRegistrationConfiguration object. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -144,8 +174,11 @@ public RequestInformation toGetRequestInformation() { * Read the properties and relationships of a virtualEventTownhallRegistrationConfiguration object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -156,8 +189,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property registrationConfiguration in solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final VirtualEventTownhallRegistrationConfiguration body) { return toPatchRequestInformation(body, null); } @@ -166,8 +202,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final VirtualEventTownhallRegistrationConfiguration body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -180,8 +219,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RegistrationConfigurationRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RegistrationConfigurationRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RegistrationConfigurationRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/registrationconfiguration/questions/QuestionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/registrationconfiguration/questions/QuestionsRequestBuilder.java index 956ed127c90..e1dd9676fa5 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/registrationconfiguration/questions/QuestionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/registrationconfiguration/questions/QuestionsRequestBuilder.java @@ -26,7 +26,10 @@ public class QuestionsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the questions property of the microsoft.graph.virtualEventRegistrationConfiguration entity. * @param virtualEventRegistrationQuestionBaseId The unique identifier of virtualEventRegistrationQuestionBase * @return a {@link VirtualEventRegistrationQuestionBaseItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public VirtualEventRegistrationQuestionBaseItemRequestBuilder byVirtualEventRegistrationQuestionBaseId(@jakarta.annotation.Nonnull final String virtualEventRegistrationQuestionBaseId) { Objects.requireNonNull(virtualEventRegistrationQuestionBaseId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public QuestionsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, * Registration questions. * @return a {@link VirtualEventRegistrationQuestionBaseCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventRegistrationQuestionBaseCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public VirtualEventRegistrationQuestionBaseCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link VirtualEventRegistrationQuestionBaseCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventRegistrationQuestionBaseCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public VirtualEventRegistrationQuestionBaseCollectionResponse get(@jakarta.annot * @param body The request body * @return a {@link VirtualEventRegistrationQuestionBase} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventRegistrationQuestionBase post(@jakarta.annotation.Nonnull final VirtualEventRegistrationQuestionBase body) { return post(body, null); } @@ -97,8 +112,11 @@ public VirtualEventRegistrationQuestionBase post(@jakarta.annotation.Nonnull fin * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link VirtualEventRegistrationQuestionBase} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventRegistrationQuestionBase post(@jakarta.annotation.Nonnull final VirtualEventRegistrationQuestionBase body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public VirtualEventRegistrationQuestionBase post(@jakarta.annotation.Nonnull fin /** * Registration questions. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Registration questions. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to questions for solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final VirtualEventRegistrationQuestionBase body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final VirtualEventRegistrationQuestionBase body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link QuestionsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public QuestionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new QuestionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/registrationconfiguration/questions/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/registrationconfiguration/questions/count/CountRequestBuilder.java index 27628b210b9..4b0e5452c93 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/registrationconfiguration/questions/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/registrationconfiguration/questions/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/registrationconfiguration/questions/item/VirtualEventRegistrationQuestionBaseItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/registrationconfiguration/questions/item/VirtualEventRegistrationQuestionBaseItemRequestBuilder.java index 9e5b1a6f6fd..4c74d33f745 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/registrationconfiguration/questions/item/VirtualEventRegistrationQuestionBaseItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/registrationconfiguration/questions/item/VirtualEventRegistrationQuestionBaseItemRequestBuilder.java @@ -39,7 +39,10 @@ public VirtualEventRegistrationQuestionBaseItemRequestBuilder(@jakarta.annotatio /** * Delete navigation property questions for solutions * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete() { delete(null); } @@ -47,7 +50,10 @@ public void delete() { * Delete navigation property questions for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -58,8 +64,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Registration questions. * @return a {@link VirtualEventRegistrationQuestionBase} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventRegistrationQuestionBase get() { return get(null); } @@ -68,8 +77,11 @@ public VirtualEventRegistrationQuestionBase get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link VirtualEventRegistrationQuestionBase} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventRegistrationQuestionBase get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -81,8 +93,11 @@ public VirtualEventRegistrationQuestionBase get(@jakarta.annotation.Nullable fin * @param body The request body * @return a {@link VirtualEventRegistrationQuestionBase} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventRegistrationQuestionBase patch(@jakarta.annotation.Nonnull final VirtualEventRegistrationQuestionBase body) { return patch(body, null); } @@ -92,8 +107,11 @@ public VirtualEventRegistrationQuestionBase patch(@jakarta.annotation.Nonnull fi * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link VirtualEventRegistrationQuestionBase} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventRegistrationQuestionBase patch(@jakarta.annotation.Nonnull final VirtualEventRegistrationQuestionBase body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -104,8 +122,11 @@ public VirtualEventRegistrationQuestionBase patch(@jakarta.annotation.Nonnull fi /** * Delete navigation property questions for solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -113,8 +134,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property questions for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Registration questions. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -133,8 +160,11 @@ public RequestInformation toGetRequestInformation() { * Registration questions. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -145,8 +175,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property questions in solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final VirtualEventRegistrationQuestionBase body) { return toPatchRequestInformation(body, null); } @@ -155,8 +188,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final VirtualEventRegistrationQuestionBase body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -169,8 +205,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link VirtualEventRegistrationQuestionBaseItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public VirtualEventRegistrationQuestionBaseItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new VirtualEventRegistrationQuestionBaseItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/registrations/RegistrationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/registrations/RegistrationsRequestBuilder.java index 25a7728a909..397f04861ec 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/registrations/RegistrationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/registrations/RegistrationsRequestBuilder.java @@ -26,7 +26,10 @@ public class RegistrationsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the registrations property of the microsoft.graph.virtualEventTownhall entity. * @param virtualEventRegistrationId The unique identifier of virtualEventRegistration * @return a {@link VirtualEventRegistrationItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public VirtualEventRegistrationItemRequestBuilder byVirtualEventRegistrationId(@jakarta.annotation.Nonnull final String virtualEventRegistrationId) { Objects.requireNonNull(virtualEventRegistrationId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public RegistrationsRequestBuilder(@jakarta.annotation.Nonnull final String rawU * Registration records of the town hall. * @return a {@link VirtualEventRegistrationCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventRegistrationCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public VirtualEventRegistrationCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link VirtualEventRegistrationCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventRegistrationCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public VirtualEventRegistrationCollectionResponse get(@jakarta.annotation.Nullab * @param body The request body * @return a {@link VirtualEventRegistration} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventRegistration post(@jakarta.annotation.Nonnull final VirtualEventRegistration body) { return post(body, null); } @@ -97,8 +112,11 @@ public VirtualEventRegistration post(@jakarta.annotation.Nonnull final VirtualEv * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link VirtualEventRegistration} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventRegistration post(@jakarta.annotation.Nonnull final VirtualEventRegistration body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public VirtualEventRegistration post(@jakarta.annotation.Nonnull final VirtualEv /** * Registration records of the town hall. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Registration records of the town hall. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to registrations for solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final VirtualEventRegistration body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final VirtualEventRegistration body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RegistrationsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RegistrationsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RegistrationsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/registrations/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/registrations/count/CountRequestBuilder.java index 2037899e0e8..591a3042a86 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/registrations/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/registrations/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/registrations/item/VirtualEventRegistrationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/registrations/item/VirtualEventRegistrationItemRequestBuilder.java index c56b9640e81..edc456c1b9b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/registrations/item/VirtualEventRegistrationItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/registrations/item/VirtualEventRegistrationItemRequestBuilder.java @@ -26,7 +26,10 @@ public class VirtualEventRegistrationItemRequestBuilder extends BaseRequestBuild /** * Provides operations to call the cancel method. * @return a {@link CancelRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CancelRequestBuilder cancel() { return new CancelRequestBuilder(pathParameters, requestAdapter); @@ -34,7 +37,10 @@ public CancelRequestBuilder cancel() { /** * Provides operations to manage the sessions property of the microsoft.graph.virtualEventRegistration entity. * @return a {@link SessionsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public SessionsRequestBuilder sessions() { return new SessionsRequestBuilder(pathParameters, requestAdapter); @@ -58,7 +64,10 @@ public VirtualEventRegistrationItemRequestBuilder(@jakarta.annotation.Nonnull fi /** * Delete navigation property registrations for solutions * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete() { delete(null); } @@ -66,7 +75,10 @@ public void delete() { * Delete navigation property registrations for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -77,8 +89,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Registration records of the town hall. * @return a {@link VirtualEventRegistration} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventRegistration get() { return get(null); } @@ -87,8 +102,11 @@ public VirtualEventRegistration get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link VirtualEventRegistration} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventRegistration get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -100,8 +118,11 @@ public VirtualEventRegistration get(@jakarta.annotation.Nullable final java.util * @param body The request body * @return a {@link VirtualEventRegistration} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventRegistration patch(@jakarta.annotation.Nonnull final VirtualEventRegistration body) { return patch(body, null); } @@ -111,8 +132,11 @@ public VirtualEventRegistration patch(@jakarta.annotation.Nonnull final VirtualE * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link VirtualEventRegistration} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventRegistration patch(@jakarta.annotation.Nonnull final VirtualEventRegistration body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -124,8 +148,11 @@ public VirtualEventRegistration patch(@jakarta.annotation.Nonnull final VirtualE * Provides operations to manage the sessions property of the microsoft.graph.virtualEventRegistration entity. * @param joinWebUrl Alternate key of virtualEventSession * @return a {@link SessionsWithJoinWebUrlRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public SessionsWithJoinWebUrlRequestBuilder sessionsWithJoinWebUrl(@jakarta.annotation.Nonnull final String joinWebUrl) { Objects.requireNonNull(joinWebUrl); return new SessionsWithJoinWebUrlRequestBuilder(pathParameters, requestAdapter, joinWebUrl); @@ -133,8 +160,11 @@ public SessionsWithJoinWebUrlRequestBuilder sessionsWithJoinWebUrl(@jakarta.anno /** * Delete navigation property registrations for solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -142,8 +172,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property registrations for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -153,8 +186,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Registration records of the town hall. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -162,8 +198,11 @@ public RequestInformation toGetRequestInformation() { * Registration records of the town hall. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -174,8 +213,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property registrations in solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final VirtualEventRegistration body) { return toPatchRequestInformation(body, null); } @@ -184,8 +226,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final VirtualEventRegistration body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -198,8 +243,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link VirtualEventRegistrationItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public VirtualEventRegistrationItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new VirtualEventRegistrationItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/registrations/item/cancel/CancelRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/registrations/item/cancel/CancelRequestBuilder.java index 245a49e59ba..b05f898e654 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/registrations/item/cancel/CancelRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/registrations/item/cancel/CancelRequestBuilder.java @@ -37,7 +37,10 @@ public CancelRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ja /** * Invoke action cancel * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void post() { post(null); } @@ -45,7 +48,10 @@ public void post() { * Invoke action cancel * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -55,8 +61,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Invoke action cancel * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -64,8 +73,11 @@ public RequestInformation toPostRequestInformation() { * Invoke action cancel * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -76,8 +88,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CancelRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CancelRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CancelRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/registrations/item/sessions/SessionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/registrations/item/sessions/SessionsRequestBuilder.java index 94617aa58ea..c58ae0d86f7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/registrations/item/sessions/SessionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/registrations/item/sessions/SessionsRequestBuilder.java @@ -25,7 +25,10 @@ public class SessionsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -34,8 +37,11 @@ public CountRequestBuilder count() { * Provides operations to manage the sessions property of the microsoft.graph.virtualEventRegistration entity. * @param virtualEventSessionId The unique identifier of virtualEventSession * @return a {@link VirtualEventSessionItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public VirtualEventSessionItemRequestBuilder byVirtualEventSessionId(@jakarta.annotation.Nonnull final String virtualEventSessionId) { Objects.requireNonNull(virtualEventSessionId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -62,8 +68,11 @@ public SessionsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ * Sessions for a registration. * @return a {@link VirtualEventSessionCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventSessionCollectionResponse get() { return get(null); } @@ -72,8 +81,11 @@ public VirtualEventSessionCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link VirtualEventSessionCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventSessionCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -83,8 +95,11 @@ public VirtualEventSessionCollectionResponse get(@jakarta.annotation.Nullable fi /** * Sessions for a registration. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -92,8 +107,11 @@ public RequestInformation toGetRequestInformation() { * Sessions for a registration. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -104,8 +122,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link SessionsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public SessionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new SessionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/registrations/item/sessions/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/registrations/item/sessions/count/CountRequestBuilder.java index ece30ad9feb..ae4f9ccf68b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/registrations/item/sessions/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/registrations/item/sessions/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/registrations/item/sessions/item/VirtualEventSessionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/registrations/item/sessions/item/VirtualEventSessionItemRequestBuilder.java index 6694a2c54d2..eb4e9592959 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/registrations/item/sessions/item/VirtualEventSessionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/registrations/item/sessions/item/VirtualEventSessionItemRequestBuilder.java @@ -40,8 +40,11 @@ public VirtualEventSessionItemRequestBuilder(@jakarta.annotation.Nonnull final S * Sessions for a registration. * @return a {@link VirtualEventSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventSession get() { return get(null); } @@ -50,8 +53,11 @@ public VirtualEventSession get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link VirtualEventSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventSession get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public VirtualEventSession get(@jakarta.annotation.Nullable final java.util.func /** * Sessions for a registration. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * Sessions for a registration. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link VirtualEventSessionItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public VirtualEventSessionItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new VirtualEventSessionItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/registrations/item/sessionswithjoinweburl/SessionsWithJoinWebUrlRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/registrations/item/sessionswithjoinweburl/SessionsWithJoinWebUrlRequestBuilder.java index fd060601558..89c78e8e52f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/registrations/item/sessionswithjoinweburl/SessionsWithJoinWebUrlRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/registrations/item/sessionswithjoinweburl/SessionsWithJoinWebUrlRequestBuilder.java @@ -42,8 +42,11 @@ public SessionsWithJoinWebUrlRequestBuilder(@jakarta.annotation.Nonnull final St * Sessions for a registration. * @return a {@link VirtualEventSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventSession get() { return get(null); } @@ -52,8 +55,11 @@ public VirtualEventSession get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link VirtualEventSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventSession get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -63,8 +69,11 @@ public VirtualEventSession get(@jakarta.annotation.Nullable final java.util.func /** * Sessions for a registration. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -72,8 +81,11 @@ public RequestInformation toGetRequestInformation() { * Sessions for a registration. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -84,8 +96,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link SessionsWithJoinWebUrlRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public SessionsWithJoinWebUrlRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new SessionsWithJoinWebUrlRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/registrationswithemail/RegistrationsWithEmailRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/registrationswithemail/RegistrationsWithEmailRequestBuilder.java index f9a45a6cb47..e53c274f710 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/registrationswithemail/RegistrationsWithEmailRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/registrationswithemail/RegistrationsWithEmailRequestBuilder.java @@ -24,7 +24,10 @@ public class RegistrationsWithEmailRequestBuilder extends BaseRequestBuilder { /** * Provides operations to call the cancel method. * @return a {@link CancelRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CancelRequestBuilder cancel() { return new CancelRequestBuilder(pathParameters, requestAdapter); @@ -50,7 +53,10 @@ public RegistrationsWithEmailRequestBuilder(@jakarta.annotation.Nonnull final St /** * Delete navigation property registrations for solutions * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete() { delete(null); } @@ -58,7 +64,10 @@ public void delete() { * Delete navigation property registrations for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -69,8 +78,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Registration records of the town hall. * @return a {@link VirtualEventRegistration} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventRegistration get() { return get(null); } @@ -79,8 +91,11 @@ public VirtualEventRegistration get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link VirtualEventRegistration} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventRegistration get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -92,8 +107,11 @@ public VirtualEventRegistration get(@jakarta.annotation.Nullable final java.util * @param body The request body * @return a {@link VirtualEventRegistration} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventRegistration patch(@jakarta.annotation.Nonnull final VirtualEventRegistration body) { return patch(body, null); } @@ -103,8 +121,11 @@ public VirtualEventRegistration patch(@jakarta.annotation.Nonnull final VirtualE * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link VirtualEventRegistration} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventRegistration patch(@jakarta.annotation.Nonnull final VirtualEventRegistration body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -115,8 +136,11 @@ public VirtualEventRegistration patch(@jakarta.annotation.Nonnull final VirtualE /** * Delete navigation property registrations for solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property registrations for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -135,8 +162,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Registration records of the town hall. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -144,8 +174,11 @@ public RequestInformation toGetRequestInformation() { * Registration records of the town hall. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -156,8 +189,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property registrations in solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final VirtualEventRegistration body) { return toPatchRequestInformation(body, null); } @@ -166,8 +202,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final VirtualEventRegistration body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -180,8 +219,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RegistrationsWithEmailRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RegistrationsWithEmailRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RegistrationsWithEmailRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/registrationswithemail/cancel/CancelRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/registrationswithemail/cancel/CancelRequestBuilder.java index 10d710932b3..f2b5c71feb1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/registrationswithemail/cancel/CancelRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/registrationswithemail/cancel/CancelRequestBuilder.java @@ -37,7 +37,10 @@ public CancelRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ja /** * Invoke action cancel * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void post() { post(null); } @@ -45,7 +48,10 @@ public void post() { * Invoke action cancel * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -55,8 +61,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Invoke action cancel * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -64,8 +73,11 @@ public RequestInformation toPostRequestInformation() { * Invoke action cancel * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -76,8 +88,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CancelRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CancelRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CancelRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/registrationswithuserid/RegistrationsWithUserIdRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/registrationswithuserid/RegistrationsWithUserIdRequestBuilder.java index 2779ebc96af..669d6a35741 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/registrationswithuserid/RegistrationsWithUserIdRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/registrationswithuserid/RegistrationsWithUserIdRequestBuilder.java @@ -24,7 +24,10 @@ public class RegistrationsWithUserIdRequestBuilder extends BaseRequestBuilder { /** * Provides operations to call the cancel method. * @return a {@link CancelRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CancelRequestBuilder cancel() { return new CancelRequestBuilder(pathParameters, requestAdapter); @@ -50,7 +53,10 @@ public RegistrationsWithUserIdRequestBuilder(@jakarta.annotation.Nonnull final S /** * Delete navigation property registrations for solutions * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete() { delete(null); } @@ -58,7 +64,10 @@ public void delete() { * Delete navigation property registrations for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -69,8 +78,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Registration records of the town hall. * @return a {@link VirtualEventRegistration} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventRegistration get() { return get(null); } @@ -79,8 +91,11 @@ public VirtualEventRegistration get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link VirtualEventRegistration} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventRegistration get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -92,8 +107,11 @@ public VirtualEventRegistration get(@jakarta.annotation.Nullable final java.util * @param body The request body * @return a {@link VirtualEventRegistration} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventRegistration patch(@jakarta.annotation.Nonnull final VirtualEventRegistration body) { return patch(body, null); } @@ -103,8 +121,11 @@ public VirtualEventRegistration patch(@jakarta.annotation.Nonnull final VirtualE * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link VirtualEventRegistration} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventRegistration patch(@jakarta.annotation.Nonnull final VirtualEventRegistration body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -115,8 +136,11 @@ public VirtualEventRegistration patch(@jakarta.annotation.Nonnull final VirtualE /** * Delete navigation property registrations for solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property registrations for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -135,8 +162,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Registration records of the town hall. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -144,8 +174,11 @@ public RequestInformation toGetRequestInformation() { * Registration records of the town hall. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -156,8 +189,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property registrations in solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final VirtualEventRegistration body) { return toPatchRequestInformation(body, null); } @@ -166,8 +202,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final VirtualEventRegistration body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -180,8 +219,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RegistrationsWithUserIdRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RegistrationsWithUserIdRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RegistrationsWithUserIdRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/registrationswithuserid/cancel/CancelRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/registrationswithuserid/cancel/CancelRequestBuilder.java index 7d6ae2bc4a4..bb6325eb66c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/registrationswithuserid/cancel/CancelRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/registrationswithuserid/cancel/CancelRequestBuilder.java @@ -37,7 +37,10 @@ public CancelRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ja /** * Invoke action cancel * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void post() { post(null); } @@ -45,7 +48,10 @@ public void post() { * Invoke action cancel * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -55,8 +61,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Invoke action cancel * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -64,8 +73,11 @@ public RequestInformation toPostRequestInformation() { * Invoke action cancel * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -76,8 +88,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CancelRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CancelRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CancelRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/sessions/SessionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/sessions/SessionsRequestBuilder.java index e38e7760f7a..52b46341f69 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/sessions/SessionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/sessions/SessionsRequestBuilder.java @@ -26,7 +26,10 @@ public class SessionsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the sessions property of the microsoft.graph.virtualEvent entity. * @param virtualEventSessionId The unique identifier of virtualEventSession * @return a {@link VirtualEventSessionItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public VirtualEventSessionItemRequestBuilder byVirtualEventSessionId(@jakarta.annotation.Nonnull final String virtualEventSessionId) { Objects.requireNonNull(virtualEventSessionId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public SessionsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ * The sessions for the virtual event. * @return a {@link VirtualEventSessionCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventSessionCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public VirtualEventSessionCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link VirtualEventSessionCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventSessionCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public VirtualEventSessionCollectionResponse get(@jakarta.annotation.Nullable fi * @param body The request body * @return a {@link VirtualEventSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventSession post(@jakarta.annotation.Nonnull final VirtualEventSession body) { return post(body, null); } @@ -97,8 +112,11 @@ public VirtualEventSession post(@jakarta.annotation.Nonnull final VirtualEventSe * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link VirtualEventSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventSession post(@jakarta.annotation.Nonnull final VirtualEventSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public VirtualEventSession post(@jakarta.annotation.Nonnull final VirtualEventSe /** * The sessions for the virtual event. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * The sessions for the virtual event. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to sessions for solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final VirtualEventSession body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final VirtualEventSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link SessionsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public SessionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new SessionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/sessions/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/sessions/count/CountRequestBuilder.java index 6f95b8efe87..b36d01b9eea 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/sessions/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/sessions/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/sessions/item/VirtualEventSessionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/sessions/item/VirtualEventSessionItemRequestBuilder.java index 1e2284fd4ab..171b3014adb 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/sessions/item/VirtualEventSessionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/sessions/item/VirtualEventSessionItemRequestBuilder.java @@ -28,7 +28,10 @@ public class VirtualEventSessionItemRequestBuilder extends BaseRequestBuilder { /** * Provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeetingBase entity. * @return a {@link AttendanceReportsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public AttendanceReportsRequestBuilder attendanceReports() { return new AttendanceReportsRequestBuilder(pathParameters, requestAdapter); @@ -36,7 +39,10 @@ public AttendanceReportsRequestBuilder attendanceReports() { /** * Provides operations to manage the presenters property of the microsoft.graph.virtualEventSession entity. * @return a {@link PresentersRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public PresentersRequestBuilder presenters() { return new PresentersRequestBuilder(pathParameters, requestAdapter); @@ -44,7 +50,10 @@ public PresentersRequestBuilder presenters() { /** * Provides operations to manage the registrations property of the microsoft.graph.virtualEventSession entity. * @return a {@link RegistrationsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public RegistrationsRequestBuilder registrations() { return new RegistrationsRequestBuilder(pathParameters, requestAdapter); @@ -68,7 +77,10 @@ public VirtualEventSessionItemRequestBuilder(@jakarta.annotation.Nonnull final S /** * Delete navigation property sessions for solutions * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete() { delete(null); } @@ -76,7 +88,10 @@ public void delete() { * Delete navigation property sessions for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -87,8 +102,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * The sessions for the virtual event. * @return a {@link VirtualEventSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventSession get() { return get(null); } @@ -97,8 +115,11 @@ public VirtualEventSession get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link VirtualEventSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventSession get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -110,8 +131,11 @@ public VirtualEventSession get(@jakarta.annotation.Nullable final java.util.func * @param body The request body * @return a {@link VirtualEventSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventSession patch(@jakarta.annotation.Nonnull final VirtualEventSession body) { return patch(body, null); } @@ -121,8 +145,11 @@ public VirtualEventSession patch(@jakarta.annotation.Nonnull final VirtualEventS * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link VirtualEventSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventSession patch(@jakarta.annotation.Nonnull final VirtualEventSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -134,8 +161,11 @@ public VirtualEventSession patch(@jakarta.annotation.Nonnull final VirtualEventS * Provides operations to manage the registrations property of the microsoft.graph.virtualEventSession entity. * @param email Alternate key of virtualEventRegistration * @return a {@link RegistrationsWithEmailRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RegistrationsWithEmailRequestBuilder registrationsWithEmail(@jakarta.annotation.Nonnull final String email) { Objects.requireNonNull(email); return new RegistrationsWithEmailRequestBuilder(pathParameters, requestAdapter, email); @@ -144,8 +174,11 @@ public RegistrationsWithEmailRequestBuilder registrationsWithEmail(@jakarta.anno * Provides operations to manage the registrations property of the microsoft.graph.virtualEventSession entity. * @param userId Alternate key of virtualEventRegistration * @return a {@link RegistrationsWithUserIdRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RegistrationsWithUserIdRequestBuilder registrationsWithUserId(@jakarta.annotation.Nonnull final String userId) { Objects.requireNonNull(userId); return new RegistrationsWithUserIdRequestBuilder(pathParameters, requestAdapter, userId); @@ -153,8 +186,11 @@ public RegistrationsWithUserIdRequestBuilder registrationsWithUserId(@jakarta.an /** * Delete navigation property sessions for solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -162,8 +198,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property sessions for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -173,8 +212,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * The sessions for the virtual event. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -182,8 +224,11 @@ public RequestInformation toGetRequestInformation() { * The sessions for the virtual event. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -194,8 +239,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property sessions in solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final VirtualEventSession body) { return toPatchRequestInformation(body, null); } @@ -204,8 +252,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final VirtualEventSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -218,8 +269,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link VirtualEventSessionItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public VirtualEventSessionItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new VirtualEventSessionItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/sessions/item/attendancereports/AttendanceReportsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/sessions/item/attendancereports/AttendanceReportsRequestBuilder.java index 71b4480dd10..153d5b155f4 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/sessions/item/attendancereports/AttendanceReportsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/sessions/item/attendancereports/AttendanceReportsRequestBuilder.java @@ -26,7 +26,10 @@ public class AttendanceReportsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeetingBase entity. * @param meetingAttendanceReportId The unique identifier of meetingAttendanceReport * @return a {@link MeetingAttendanceReportItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public MeetingAttendanceReportItemRequestBuilder byMeetingAttendanceReportId(@jakarta.annotation.Nonnull final String meetingAttendanceReportId) { Objects.requireNonNull(meetingAttendanceReportId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,9 +69,12 @@ public AttendanceReportsRequestBuilder(@jakarta.annotation.Nonnull final String * Get a list of meetingAttendanceReport objects for an onlineMeeting or a virtualEvent. Each time an online meeting or a virtual event ends, an attendance report is generated for that session. * @return a {@link MeetingAttendanceReportCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public MeetingAttendanceReportCollectionResponse get() { return get(null); } @@ -74,9 +83,12 @@ public MeetingAttendanceReportCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MeetingAttendanceReportCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public MeetingAttendanceReportCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -88,8 +100,11 @@ public MeetingAttendanceReportCollectionResponse get(@jakarta.annotation.Nullabl * @param body The request body * @return a {@link MeetingAttendanceReport} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public MeetingAttendanceReport post(@jakarta.annotation.Nonnull final MeetingAttendanceReport body) { return post(body, null); } @@ -99,8 +114,11 @@ public MeetingAttendanceReport post(@jakarta.annotation.Nonnull final MeetingAtt * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MeetingAttendanceReport} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public MeetingAttendanceReport post(@jakarta.annotation.Nonnull final MeetingAttendanceReport body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -111,8 +129,11 @@ public MeetingAttendanceReport post(@jakarta.annotation.Nonnull final MeetingAtt /** * Get a list of meetingAttendanceReport objects for an onlineMeeting or a virtualEvent. Each time an online meeting or a virtual event ends, an attendance report is generated for that session. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -120,8 +141,11 @@ public RequestInformation toGetRequestInformation() { * Get a list of meetingAttendanceReport objects for an onlineMeeting or a virtualEvent. Each time an online meeting or a virtual event ends, an attendance report is generated for that session. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -132,8 +156,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to attendanceReports for solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MeetingAttendanceReport body) { return toPostRequestInformation(body, null); } @@ -142,8 +169,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MeetingAttendanceReport body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -156,8 +186,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AttendanceReportsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public AttendanceReportsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AttendanceReportsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/sessions/item/attendancereports/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/sessions/item/attendancereports/count/CountRequestBuilder.java index 270d8c96765..39443dc3740 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/sessions/item/attendancereports/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/sessions/item/attendancereports/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/sessions/item/attendancereports/item/MeetingAttendanceReportItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/sessions/item/attendancereports/item/MeetingAttendanceReportItemRequestBuilder.java index dbbb3058ca6..686bee2f092 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/sessions/item/attendancereports/item/MeetingAttendanceReportItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/sessions/item/attendancereports/item/MeetingAttendanceReportItemRequestBuilder.java @@ -24,7 +24,10 @@ public class MeetingAttendanceReportItemRequestBuilder extends BaseRequestBuilde /** * Provides operations to manage the attendanceRecords property of the microsoft.graph.meetingAttendanceReport entity. * @return a {@link AttendanceRecordsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public AttendanceRecordsRequestBuilder attendanceRecords() { return new AttendanceRecordsRequestBuilder(pathParameters, requestAdapter); @@ -48,7 +51,10 @@ public MeetingAttendanceReportItemRequestBuilder(@jakarta.annotation.Nonnull fin /** * Delete navigation property attendanceReports for solutions * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete() { delete(null); } @@ -56,7 +62,10 @@ public void delete() { * Delete navigation property attendanceReports for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -67,9 +76,12 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Get the meetingAttendanceReport for an onlineMeeting or a virtualEvent. When an online meeting ends, an attendance report is generated for that session. * @return a {@link MeetingAttendanceReport} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public MeetingAttendanceReport get() { return get(null); } @@ -78,9 +90,12 @@ public MeetingAttendanceReport get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MeetingAttendanceReport} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public MeetingAttendanceReport get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -92,8 +107,11 @@ public MeetingAttendanceReport get(@jakarta.annotation.Nullable final java.util. * @param body The request body * @return a {@link MeetingAttendanceReport} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public MeetingAttendanceReport patch(@jakarta.annotation.Nonnull final MeetingAttendanceReport body) { return patch(body, null); } @@ -103,8 +121,11 @@ public MeetingAttendanceReport patch(@jakarta.annotation.Nonnull final MeetingAt * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MeetingAttendanceReport} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public MeetingAttendanceReport patch(@jakarta.annotation.Nonnull final MeetingAttendanceReport body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -115,8 +136,11 @@ public MeetingAttendanceReport patch(@jakarta.annotation.Nonnull final MeetingAt /** * Delete navigation property attendanceReports for solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property attendanceReports for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -135,8 +162,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Get the meetingAttendanceReport for an onlineMeeting or a virtualEvent. When an online meeting ends, an attendance report is generated for that session. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -144,8 +174,11 @@ public RequestInformation toGetRequestInformation() { * Get the meetingAttendanceReport for an onlineMeeting or a virtualEvent. When an online meeting ends, an attendance report is generated for that session. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -156,8 +189,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property attendanceReports in solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MeetingAttendanceReport body) { return toPatchRequestInformation(body, null); } @@ -166,8 +202,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MeetingAttendanceReport body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -180,8 +219,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link MeetingAttendanceReportItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public MeetingAttendanceReportItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new MeetingAttendanceReportItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/sessions/item/attendancereports/item/attendancerecords/AttendanceRecordsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/sessions/item/attendancereports/item/attendancerecords/AttendanceRecordsRequestBuilder.java index be379526689..c78148cedd8 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/sessions/item/attendancereports/item/attendancerecords/AttendanceRecordsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/sessions/item/attendancereports/item/attendancerecords/AttendanceRecordsRequestBuilder.java @@ -26,7 +26,10 @@ public class AttendanceRecordsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the attendanceRecords property of the microsoft.graph.meetingAttendanceReport entity. * @param attendanceRecordId The unique identifier of attendanceRecord * @return a {@link AttendanceRecordItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public AttendanceRecordItemRequestBuilder byAttendanceRecordId(@jakarta.annotation.Nonnull final String attendanceRecordId) { Objects.requireNonNull(attendanceRecordId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public AttendanceRecordsRequestBuilder(@jakarta.annotation.Nonnull final String * List of attendance records of an attendance report. Read-only. * @return a {@link AttendanceRecordCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public AttendanceRecordCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public AttendanceRecordCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AttendanceRecordCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public AttendanceRecordCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public AttendanceRecordCollectionResponse get(@jakarta.annotation.Nullable final * @param body The request body * @return a {@link AttendanceRecord} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public AttendanceRecord post(@jakarta.annotation.Nonnull final AttendanceRecord body) { return post(body, null); } @@ -97,8 +112,11 @@ public AttendanceRecord post(@jakarta.annotation.Nonnull final AttendanceRecord * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AttendanceRecord} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public AttendanceRecord post(@jakarta.annotation.Nonnull final AttendanceRecord body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public AttendanceRecord post(@jakarta.annotation.Nonnull final AttendanceRecord /** * List of attendance records of an attendance report. Read-only. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * List of attendance records of an attendance report. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to attendanceRecords for solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AttendanceRecord body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AttendanceRecord body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AttendanceRecordsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public AttendanceRecordsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AttendanceRecordsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/sessions/item/attendancereports/item/attendancerecords/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/sessions/item/attendancereports/item/attendancerecords/count/CountRequestBuilder.java index 8823a838f19..0f92cf4046f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/sessions/item/attendancereports/item/attendancerecords/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/sessions/item/attendancereports/item/attendancerecords/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/sessions/item/attendancereports/item/attendancerecords/item/AttendanceRecordItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/sessions/item/attendancereports/item/attendancerecords/item/AttendanceRecordItemRequestBuilder.java index 5d7730b43f0..21103107ad5 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/sessions/item/attendancereports/item/attendancerecords/item/AttendanceRecordItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/sessions/item/attendancereports/item/attendancerecords/item/AttendanceRecordItemRequestBuilder.java @@ -39,7 +39,10 @@ public AttendanceRecordItemRequestBuilder(@jakarta.annotation.Nonnull final Stri /** * Delete navigation property attendanceRecords for solutions * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete() { delete(null); } @@ -47,7 +50,10 @@ public void delete() { * Delete navigation property attendanceRecords for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -58,8 +64,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * List of attendance records of an attendance report. Read-only. * @return a {@link AttendanceRecord} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public AttendanceRecord get() { return get(null); } @@ -68,8 +77,11 @@ public AttendanceRecord get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AttendanceRecord} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public AttendanceRecord get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -81,8 +93,11 @@ public AttendanceRecord get(@jakarta.annotation.Nullable final java.util.functio * @param body The request body * @return a {@link AttendanceRecord} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public AttendanceRecord patch(@jakarta.annotation.Nonnull final AttendanceRecord body) { return patch(body, null); } @@ -92,8 +107,11 @@ public AttendanceRecord patch(@jakarta.annotation.Nonnull final AttendanceRecord * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AttendanceRecord} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public AttendanceRecord patch(@jakarta.annotation.Nonnull final AttendanceRecord body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -104,8 +122,11 @@ public AttendanceRecord patch(@jakarta.annotation.Nonnull final AttendanceRecord /** * Delete navigation property attendanceRecords for solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -113,8 +134,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property attendanceRecords for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * List of attendance records of an attendance report. Read-only. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -133,8 +160,11 @@ public RequestInformation toGetRequestInformation() { * List of attendance records of an attendance report. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -145,8 +175,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property attendanceRecords in solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AttendanceRecord body) { return toPatchRequestInformation(body, null); } @@ -155,8 +188,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AttendanceRecord body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -169,8 +205,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AttendanceRecordItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public AttendanceRecordItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AttendanceRecordItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/sessions/item/presenters/PresentersRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/sessions/item/presenters/PresentersRequestBuilder.java index 48e2522a751..86e2f36137b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/sessions/item/presenters/PresentersRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/sessions/item/presenters/PresentersRequestBuilder.java @@ -25,7 +25,10 @@ public class PresentersRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -34,8 +37,11 @@ public CountRequestBuilder count() { * Provides operations to manage the presenters property of the microsoft.graph.virtualEventSession entity. * @param virtualEventPresenterId The unique identifier of virtualEventPresenter * @return a {@link VirtualEventPresenterItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public VirtualEventPresenterItemRequestBuilder byVirtualEventPresenterId(@jakarta.annotation.Nonnull final String virtualEventPresenterId) { Objects.requireNonNull(virtualEventPresenterId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -62,8 +68,11 @@ public PresentersRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, * Get presenters from solutions * @return a {@link VirtualEventPresenterCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventPresenterCollectionResponse get() { return get(null); } @@ -72,8 +81,11 @@ public VirtualEventPresenterCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link VirtualEventPresenterCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventPresenterCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -83,8 +95,11 @@ public VirtualEventPresenterCollectionResponse get(@jakarta.annotation.Nullable /** * Get presenters from solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -92,8 +107,11 @@ public RequestInformation toGetRequestInformation() { * Get presenters from solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -104,8 +122,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link PresentersRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public PresentersRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new PresentersRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/sessions/item/presenters/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/sessions/item/presenters/count/CountRequestBuilder.java index 1a929226b69..8fd77cfdc8c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/sessions/item/presenters/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/sessions/item/presenters/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/sessions/item/presenters/item/VirtualEventPresenterItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/sessions/item/presenters/item/VirtualEventPresenterItemRequestBuilder.java index 5fee3e80d6d..63ca531cf1f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/sessions/item/presenters/item/VirtualEventPresenterItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/sessions/item/presenters/item/VirtualEventPresenterItemRequestBuilder.java @@ -40,8 +40,11 @@ public VirtualEventPresenterItemRequestBuilder(@jakarta.annotation.Nonnull final * Get presenters from solutions * @return a {@link VirtualEventPresenter} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventPresenter get() { return get(null); } @@ -50,8 +53,11 @@ public VirtualEventPresenter get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link VirtualEventPresenter} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventPresenter get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public VirtualEventPresenter get(@jakarta.annotation.Nullable final java.util.fu /** * Get presenters from solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * Get presenters from solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link VirtualEventPresenterItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public VirtualEventPresenterItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new VirtualEventPresenterItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/sessions/item/registrations/RegistrationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/sessions/item/registrations/RegistrationsRequestBuilder.java index 84fcd7ec437..d29d486d3aa 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/sessions/item/registrations/RegistrationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/sessions/item/registrations/RegistrationsRequestBuilder.java @@ -25,7 +25,10 @@ public class RegistrationsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -34,8 +37,11 @@ public CountRequestBuilder count() { * Provides operations to manage the registrations property of the microsoft.graph.virtualEventSession entity. * @param virtualEventRegistrationId The unique identifier of virtualEventRegistration * @return a {@link VirtualEventRegistrationItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public VirtualEventRegistrationItemRequestBuilder byVirtualEventRegistrationId(@jakarta.annotation.Nonnull final String virtualEventRegistrationId) { Objects.requireNonNull(virtualEventRegistrationId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -62,8 +68,11 @@ public RegistrationsRequestBuilder(@jakarta.annotation.Nonnull final String rawU * Get registrations from solutions * @return a {@link VirtualEventRegistrationCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventRegistrationCollectionResponse get() { return get(null); } @@ -72,8 +81,11 @@ public VirtualEventRegistrationCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link VirtualEventRegistrationCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventRegistrationCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -83,8 +95,11 @@ public VirtualEventRegistrationCollectionResponse get(@jakarta.annotation.Nullab /** * Get registrations from solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -92,8 +107,11 @@ public RequestInformation toGetRequestInformation() { * Get registrations from solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -104,8 +122,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RegistrationsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RegistrationsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RegistrationsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/sessions/item/registrations/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/sessions/item/registrations/count/CountRequestBuilder.java index 90c62b68527..5d96b242709 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/sessions/item/registrations/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/sessions/item/registrations/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/sessions/item/registrations/item/VirtualEventRegistrationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/sessions/item/registrations/item/VirtualEventRegistrationItemRequestBuilder.java index fd467a50aa8..f356646f7e4 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/sessions/item/registrations/item/VirtualEventRegistrationItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/sessions/item/registrations/item/VirtualEventRegistrationItemRequestBuilder.java @@ -40,8 +40,11 @@ public VirtualEventRegistrationItemRequestBuilder(@jakarta.annotation.Nonnull fi * Get registrations from solutions * @return a {@link VirtualEventRegistration} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventRegistration get() { return get(null); } @@ -50,8 +53,11 @@ public VirtualEventRegistration get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link VirtualEventRegistration} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventRegistration get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public VirtualEventRegistration get(@jakarta.annotation.Nullable final java.util /** * Get registrations from solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * Get registrations from solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link VirtualEventRegistrationItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public VirtualEventRegistrationItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new VirtualEventRegistrationItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/sessions/item/registrationswithemail/RegistrationsWithEmailRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/sessions/item/registrationswithemail/RegistrationsWithEmailRequestBuilder.java index cef53e84820..fadd9fc8a42 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/sessions/item/registrationswithemail/RegistrationsWithEmailRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/sessions/item/registrationswithemail/RegistrationsWithEmailRequestBuilder.java @@ -42,8 +42,11 @@ public RegistrationsWithEmailRequestBuilder(@jakarta.annotation.Nonnull final St * Get registrations from solutions * @return a {@link VirtualEventRegistration} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventRegistration get() { return get(null); } @@ -52,8 +55,11 @@ public VirtualEventRegistration get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link VirtualEventRegistration} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventRegistration get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -63,8 +69,11 @@ public VirtualEventRegistration get(@jakarta.annotation.Nullable final java.util /** * Get registrations from solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -72,8 +81,11 @@ public RequestInformation toGetRequestInformation() { * Get registrations from solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -84,8 +96,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RegistrationsWithEmailRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RegistrationsWithEmailRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RegistrationsWithEmailRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/sessions/item/registrationswithuserid/RegistrationsWithUserIdRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/sessions/item/registrationswithuserid/RegistrationsWithUserIdRequestBuilder.java index 3ddaf75ff5d..2aba70aad40 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/sessions/item/registrationswithuserid/RegistrationsWithUserIdRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/sessions/item/registrationswithuserid/RegistrationsWithUserIdRequestBuilder.java @@ -42,8 +42,11 @@ public RegistrationsWithUserIdRequestBuilder(@jakarta.annotation.Nonnull final S * Get registrations from solutions * @return a {@link VirtualEventRegistration} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventRegistration get() { return get(null); } @@ -52,8 +55,11 @@ public VirtualEventRegistration get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link VirtualEventRegistration} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventRegistration get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -63,8 +69,11 @@ public VirtualEventRegistration get(@jakarta.annotation.Nullable final java.util /** * Get registrations from solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -72,8 +81,11 @@ public RequestInformation toGetRequestInformation() { * Get registrations from solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -84,8 +96,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RegistrationsWithUserIdRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RegistrationsWithUserIdRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RegistrationsWithUserIdRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/sessionswithjoinweburl/SessionsWithJoinWebUrlRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/sessionswithjoinweburl/SessionsWithJoinWebUrlRequestBuilder.java index 2f19aa8092d..7dbe2e7144d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/sessionswithjoinweburl/SessionsWithJoinWebUrlRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/townhalls/item/sessionswithjoinweburl/SessionsWithJoinWebUrlRequestBuilder.java @@ -41,7 +41,10 @@ public SessionsWithJoinWebUrlRequestBuilder(@jakarta.annotation.Nonnull final St /** * Delete navigation property sessions for solutions * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete() { delete(null); } @@ -49,7 +52,10 @@ public void delete() { * Delete navigation property sessions for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * The sessions for the virtual event. * @return a {@link VirtualEventSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventSession get() { return get(null); } @@ -70,8 +79,11 @@ public VirtualEventSession get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link VirtualEventSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventSession get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -83,8 +95,11 @@ public VirtualEventSession get(@jakarta.annotation.Nullable final java.util.func * @param body The request body * @return a {@link VirtualEventSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventSession patch(@jakarta.annotation.Nonnull final VirtualEventSession body) { return patch(body, null); } @@ -94,8 +109,11 @@ public VirtualEventSession patch(@jakarta.annotation.Nonnull final VirtualEventS * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link VirtualEventSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventSession patch(@jakarta.annotation.Nonnull final VirtualEventSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -106,8 +124,11 @@ public VirtualEventSession patch(@jakarta.annotation.Nonnull final VirtualEventS /** * Delete navigation property sessions for solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -115,8 +136,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property sessions for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -126,8 +150,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * The sessions for the virtual event. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -135,8 +162,11 @@ public RequestInformation toGetRequestInformation() { * The sessions for the virtual event. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -147,8 +177,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property sessions in solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final VirtualEventSession body) { return toPatchRequestInformation(body, null); } @@ -157,8 +190,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final VirtualEventSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -171,8 +207,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link SessionsWithJoinWebUrlRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public SessionsWithJoinWebUrlRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new SessionsWithJoinWebUrlRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/WebinarsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/WebinarsRequestBuilder.java index 432c87611e6..feba49ad50e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/WebinarsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/WebinarsRequestBuilder.java @@ -28,7 +28,10 @@ public class WebinarsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -37,8 +40,11 @@ public CountRequestBuilder count() { * Provides operations to manage the webinars property of the microsoft.graph.virtualEventsRoot entity. * @param virtualEventWebinarId The unique identifier of virtualEventWebinar * @return a {@link VirtualEventWebinarItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public VirtualEventWebinarItemRequestBuilder byVirtualEventWebinarId(@jakarta.annotation.Nonnull final String virtualEventWebinarId) { Objects.requireNonNull(virtualEventWebinarId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -65,9 +71,12 @@ public WebinarsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ * Get the list of all virtualEventWebinar objects created in a tenant. * @return a {@link VirtualEventWebinarCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventWebinarCollectionResponse get() { return get(null); } @@ -76,9 +85,12 @@ public VirtualEventWebinarCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link VirtualEventWebinarCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventWebinarCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -90,8 +102,11 @@ public VirtualEventWebinarCollectionResponse get(@jakarta.annotation.Nullable fi * @param role Usage: role='{role}' * @param userId Usage: userId='{userId}' * @return a {@link GetByUserIdAndRoleWithUserIdWithRoleRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public GetByUserIdAndRoleWithUserIdWithRoleRequestBuilder getByUserIdAndRoleWithUserIdWithRole(@jakarta.annotation.Nonnull final String role, @jakarta.annotation.Nonnull final String userId) { Objects.requireNonNull(role); Objects.requireNonNull(userId); @@ -101,8 +116,11 @@ public GetByUserIdAndRoleWithUserIdWithRoleRequestBuilder getByUserIdAndRoleWith * Provides operations to call the getByUserRole method. * @param role Usage: role='{role}' * @return a {@link GetByUserRoleWithRoleRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public GetByUserRoleWithRoleRequestBuilder getByUserRoleWithRole(@jakarta.annotation.Nonnull final String role) { Objects.requireNonNull(role); return new GetByUserRoleWithRoleRequestBuilder(pathParameters, requestAdapter, role); @@ -112,9 +130,12 @@ public GetByUserRoleWithRoleRequestBuilder getByUserRoleWithRole(@jakarta.annota * @param body The request body * @return a {@link VirtualEventWebinar} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventWebinar post(@jakarta.annotation.Nonnull final VirtualEventWebinar body) { return post(body, null); } @@ -124,9 +145,12 @@ public VirtualEventWebinar post(@jakarta.annotation.Nonnull final VirtualEventWe * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link VirtualEventWebinar} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventWebinar post(@jakarta.annotation.Nonnull final VirtualEventWebinar body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -137,8 +161,11 @@ public VirtualEventWebinar post(@jakarta.annotation.Nonnull final VirtualEventWe /** * Get the list of all virtualEventWebinar objects created in a tenant. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -146,8 +173,11 @@ public RequestInformation toGetRequestInformation() { * Get the list of all virtualEventWebinar objects created in a tenant. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -158,8 +188,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create a new virtualEventWebinar object in draft mode. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final VirtualEventWebinar body) { return toPostRequestInformation(body, null); } @@ -168,8 +201,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final VirtualEventWebinar body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -182,8 +218,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link WebinarsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public WebinarsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new WebinarsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/count/CountRequestBuilder.java index 47660f04328..5030b520f27 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/getbyuseridandrolewithuseridwithrole/GetByUserIdAndRoleWithUserIdWithRoleRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/getbyuseridandrolewithuseridwithrole/GetByUserIdAndRoleWithUserIdWithRoleRequestBuilder.java index 0b24ac6a2b7..62b1bc68857 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/getbyuseridandrolewithuseridwithrole/GetByUserIdAndRoleWithUserIdWithRoleRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/getbyuseridandrolewithuseridwithrole/GetByUserIdAndRoleWithUserIdWithRoleRequestBuilder.java @@ -43,9 +43,12 @@ public GetByUserIdAndRoleWithUserIdWithRoleRequestBuilder(@jakarta.annotation.No * Get a list of virtualEventWebinar objects where the specified user is either the organizer or a coorganizer. * @return a {@link GetByUserIdAndRoleWithUserIdWithRoleGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public GetByUserIdAndRoleWithUserIdWithRoleGetResponse get() { return get(null); } @@ -54,9 +57,12 @@ public GetByUserIdAndRoleWithUserIdWithRoleGetResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GetByUserIdAndRoleWithUserIdWithRoleGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public GetByUserIdAndRoleWithUserIdWithRoleGetResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -66,8 +72,11 @@ public GetByUserIdAndRoleWithUserIdWithRoleGetResponse get(@jakarta.annotation.N /** * Get a list of virtualEventWebinar objects where the specified user is either the organizer or a coorganizer. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -75,8 +84,11 @@ public RequestInformation toGetRequestInformation() { * Get a list of virtualEventWebinar objects where the specified user is either the organizer or a coorganizer. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -87,8 +99,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link GetByUserIdAndRoleWithUserIdWithRoleRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public GetByUserIdAndRoleWithUserIdWithRoleRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new GetByUserIdAndRoleWithUserIdWithRoleRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/getbyuserrolewithrole/GetByUserRoleWithRoleRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/getbyuserrolewithrole/GetByUserRoleWithRoleRequestBuilder.java index 4675ac2827f..e8db30b78ae 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/getbyuserrolewithrole/GetByUserRoleWithRoleRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/getbyuserrolewithrole/GetByUserRoleWithRoleRequestBuilder.java @@ -41,9 +41,12 @@ public GetByUserRoleWithRoleRequestBuilder(@jakarta.annotation.Nonnull final Str * Get a list of virtualEventWebinar objects where the signed-in user is either the organizer or a coorganizer. * @return a {@link GetByUserRoleWithRoleGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public GetByUserRoleWithRoleGetResponse get() { return get(null); } @@ -52,9 +55,12 @@ public GetByUserRoleWithRoleGetResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GetByUserRoleWithRoleGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public GetByUserRoleWithRoleGetResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -64,8 +70,11 @@ public GetByUserRoleWithRoleGetResponse get(@jakarta.annotation.Nullable final j /** * Get a list of virtualEventWebinar objects where the signed-in user is either the organizer or a coorganizer. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -73,8 +82,11 @@ public RequestInformation toGetRequestInformation() { * Get a list of virtualEventWebinar objects where the signed-in user is either the organizer or a coorganizer. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -85,8 +97,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link GetByUserRoleWithRoleRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public GetByUserRoleWithRoleRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new GetByUserRoleWithRoleRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/VirtualEventWebinarItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/VirtualEventWebinarItemRequestBuilder.java index 19a243e47e8..6d46b506e86 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/VirtualEventWebinarItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/VirtualEventWebinarItemRequestBuilder.java @@ -30,7 +30,10 @@ public class VirtualEventWebinarItemRequestBuilder extends BaseRequestBuilder { /** * Provides operations to manage the presenters property of the microsoft.graph.virtualEvent entity. * @return a {@link PresentersRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public PresentersRequestBuilder presenters() { return new PresentersRequestBuilder(pathParameters, requestAdapter); @@ -38,7 +41,10 @@ public PresentersRequestBuilder presenters() { /** * Provides operations to manage the registrationConfiguration property of the microsoft.graph.virtualEventWebinar entity. * @return a {@link RegistrationConfigurationRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public RegistrationConfigurationRequestBuilder registrationConfiguration() { return new RegistrationConfigurationRequestBuilder(pathParameters, requestAdapter); @@ -46,7 +52,10 @@ public RegistrationConfigurationRequestBuilder registrationConfiguration() { /** * Provides operations to manage the registrations property of the microsoft.graph.virtualEventWebinar entity. * @return a {@link RegistrationsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public RegistrationsRequestBuilder registrations() { return new RegistrationsRequestBuilder(pathParameters, requestAdapter); @@ -54,7 +63,10 @@ public RegistrationsRequestBuilder registrations() { /** * Provides operations to manage the sessions property of the microsoft.graph.virtualEvent entity. * @return a {@link SessionsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public SessionsRequestBuilder sessions() { return new SessionsRequestBuilder(pathParameters, requestAdapter); @@ -78,7 +90,10 @@ public VirtualEventWebinarItemRequestBuilder(@jakarta.annotation.Nonnull final S /** * Delete navigation property webinars for solutions * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete() { delete(null); } @@ -86,7 +101,10 @@ public void delete() { * Delete navigation property webinars for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -97,9 +115,12 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Read the properties and relationships of a virtualEventWebinar object. * @return a {@link VirtualEventWebinar} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventWebinar get() { return get(null); } @@ -108,9 +129,12 @@ public VirtualEventWebinar get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link VirtualEventWebinar} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventWebinar get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -122,9 +146,12 @@ public VirtualEventWebinar get(@jakarta.annotation.Nullable final java.util.func * @param body The request body * @return a {@link VirtualEventWebinar} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventWebinar patch(@jakarta.annotation.Nonnull final VirtualEventWebinar body) { return patch(body, null); } @@ -134,9 +161,12 @@ public VirtualEventWebinar patch(@jakarta.annotation.Nonnull final VirtualEventW * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link VirtualEventWebinar} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventWebinar patch(@jakarta.annotation.Nonnull final VirtualEventWebinar body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -148,8 +178,11 @@ public VirtualEventWebinar patch(@jakarta.annotation.Nonnull final VirtualEventW * Provides operations to manage the registrations property of the microsoft.graph.virtualEventWebinar entity. * @param email Alternate key of virtualEventRegistration * @return a {@link RegistrationsWithEmailRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RegistrationsWithEmailRequestBuilder registrationsWithEmail(@jakarta.annotation.Nonnull final String email) { Objects.requireNonNull(email); return new RegistrationsWithEmailRequestBuilder(pathParameters, requestAdapter, email); @@ -158,8 +191,11 @@ public RegistrationsWithEmailRequestBuilder registrationsWithEmail(@jakarta.anno * Provides operations to manage the registrations property of the microsoft.graph.virtualEventWebinar entity. * @param userId Alternate key of virtualEventRegistration * @return a {@link RegistrationsWithUserIdRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RegistrationsWithUserIdRequestBuilder registrationsWithUserId(@jakarta.annotation.Nonnull final String userId) { Objects.requireNonNull(userId); return new RegistrationsWithUserIdRequestBuilder(pathParameters, requestAdapter, userId); @@ -168,8 +204,11 @@ public RegistrationsWithUserIdRequestBuilder registrationsWithUserId(@jakarta.an * Provides operations to manage the sessions property of the microsoft.graph.virtualEvent entity. * @param joinWebUrl Alternate key of virtualEventSession * @return a {@link SessionsWithJoinWebUrlRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public SessionsWithJoinWebUrlRequestBuilder sessionsWithJoinWebUrl(@jakarta.annotation.Nonnull final String joinWebUrl) { Objects.requireNonNull(joinWebUrl); return new SessionsWithJoinWebUrlRequestBuilder(pathParameters, requestAdapter, joinWebUrl); @@ -177,8 +216,11 @@ public SessionsWithJoinWebUrlRequestBuilder sessionsWithJoinWebUrl(@jakarta.anno /** * Delete navigation property webinars for solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -186,8 +228,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property webinars for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -197,8 +242,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Read the properties and relationships of a virtualEventWebinar object. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -206,8 +254,11 @@ public RequestInformation toGetRequestInformation() { * Read the properties and relationships of a virtualEventWebinar object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -218,8 +269,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the properties of a virtualEventWebinar object. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final VirtualEventWebinar body) { return toPatchRequestInformation(body, null); } @@ -228,8 +282,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final VirtualEventWebinar body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -242,8 +299,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link VirtualEventWebinarItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public VirtualEventWebinarItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new VirtualEventWebinarItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/presenters/PresentersRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/presenters/PresentersRequestBuilder.java index 93c444d9cb4..0e671fd4455 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/presenters/PresentersRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/presenters/PresentersRequestBuilder.java @@ -26,7 +26,10 @@ public class PresentersRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the presenters property of the microsoft.graph.virtualEvent entity. * @param virtualEventPresenterId The unique identifier of virtualEventPresenter * @return a {@link VirtualEventPresenterItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public VirtualEventPresenterItemRequestBuilder byVirtualEventPresenterId(@jakarta.annotation.Nonnull final String virtualEventPresenterId) { Objects.requireNonNull(virtualEventPresenterId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public PresentersRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, * The virtual event presenters. * @return a {@link VirtualEventPresenterCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventPresenterCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public VirtualEventPresenterCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link VirtualEventPresenterCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventPresenterCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public VirtualEventPresenterCollectionResponse get(@jakarta.annotation.Nullable * @param body The request body * @return a {@link VirtualEventPresenter} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventPresenter post(@jakarta.annotation.Nonnull final VirtualEventPresenter body) { return post(body, null); } @@ -97,8 +112,11 @@ public VirtualEventPresenter post(@jakarta.annotation.Nonnull final VirtualEvent * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link VirtualEventPresenter} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventPresenter post(@jakarta.annotation.Nonnull final VirtualEventPresenter body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public VirtualEventPresenter post(@jakarta.annotation.Nonnull final VirtualEvent /** * The virtual event presenters. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * The virtual event presenters. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to presenters for solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final VirtualEventPresenter body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final VirtualEventPresenter body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link PresentersRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public PresentersRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new PresentersRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/presenters/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/presenters/count/CountRequestBuilder.java index b667f03080c..a88a60e3d40 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/presenters/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/presenters/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/presenters/item/VirtualEventPresenterItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/presenters/item/VirtualEventPresenterItemRequestBuilder.java index 854d163fa4d..a32f1f85cf9 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/presenters/item/VirtualEventPresenterItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/presenters/item/VirtualEventPresenterItemRequestBuilder.java @@ -25,7 +25,10 @@ public class VirtualEventPresenterItemRequestBuilder extends BaseRequestBuilder /** * Provides operations to manage the sessions property of the microsoft.graph.virtualEventPresenter entity. * @return a {@link SessionsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public SessionsRequestBuilder sessions() { return new SessionsRequestBuilder(pathParameters, requestAdapter); @@ -49,7 +52,10 @@ public VirtualEventPresenterItemRequestBuilder(@jakarta.annotation.Nonnull final /** * Delete navigation property presenters for solutions * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete() { delete(null); } @@ -57,7 +63,10 @@ public void delete() { * Delete navigation property presenters for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -68,8 +77,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * The virtual event presenters. * @return a {@link VirtualEventPresenter} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventPresenter get() { return get(null); } @@ -78,8 +90,11 @@ public VirtualEventPresenter get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link VirtualEventPresenter} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventPresenter get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -91,9 +106,12 @@ public VirtualEventPresenter get(@jakarta.annotation.Nullable final java.util.fu * @param body The request body * @return a {@link VirtualEventPresenter} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventPresenter patch(@jakarta.annotation.Nonnull final VirtualEventPresenter body) { return patch(body, null); } @@ -103,9 +121,12 @@ public VirtualEventPresenter patch(@jakarta.annotation.Nonnull final VirtualEven * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link VirtualEventPresenter} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventPresenter patch(@jakarta.annotation.Nonnull final VirtualEventPresenter body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -117,8 +138,11 @@ public VirtualEventPresenter patch(@jakarta.annotation.Nonnull final VirtualEven * Provides operations to manage the sessions property of the microsoft.graph.virtualEventPresenter entity. * @param joinWebUrl Alternate key of virtualEventSession * @return a {@link SessionsWithJoinWebUrlRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public SessionsWithJoinWebUrlRequestBuilder sessionsWithJoinWebUrl(@jakarta.annotation.Nonnull final String joinWebUrl) { Objects.requireNonNull(joinWebUrl); return new SessionsWithJoinWebUrlRequestBuilder(pathParameters, requestAdapter, joinWebUrl); @@ -126,8 +150,11 @@ public SessionsWithJoinWebUrlRequestBuilder sessionsWithJoinWebUrl(@jakarta.anno /** * Delete navigation property presenters for solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -135,8 +162,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property presenters for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -146,8 +176,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * The virtual event presenters. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -155,8 +188,11 @@ public RequestInformation toGetRequestInformation() { * The virtual event presenters. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -167,8 +203,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the properties of a virtualEventPresenter object. Currently the supported virtual event type is virtualEventWebinar. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final VirtualEventPresenter body) { return toPatchRequestInformation(body, null); } @@ -177,8 +216,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final VirtualEventPresenter body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -191,8 +233,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link VirtualEventPresenterItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public VirtualEventPresenterItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new VirtualEventPresenterItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/presenters/item/sessions/SessionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/presenters/item/sessions/SessionsRequestBuilder.java index 4582abc50e4..d04c22abdd2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/presenters/item/sessions/SessionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/presenters/item/sessions/SessionsRequestBuilder.java @@ -25,7 +25,10 @@ public class SessionsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -34,8 +37,11 @@ public CountRequestBuilder count() { * Provides operations to manage the sessions property of the microsoft.graph.virtualEventPresenter entity. * @param virtualEventSessionId The unique identifier of virtualEventSession * @return a {@link VirtualEventSessionItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public VirtualEventSessionItemRequestBuilder byVirtualEventSessionId(@jakarta.annotation.Nonnull final String virtualEventSessionId) { Objects.requireNonNull(virtualEventSessionId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -62,8 +68,11 @@ public SessionsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ * Get sessions from solutions * @return a {@link VirtualEventSessionCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventSessionCollectionResponse get() { return get(null); } @@ -72,8 +81,11 @@ public VirtualEventSessionCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link VirtualEventSessionCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventSessionCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -83,8 +95,11 @@ public VirtualEventSessionCollectionResponse get(@jakarta.annotation.Nullable fi /** * Get sessions from solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -92,8 +107,11 @@ public RequestInformation toGetRequestInformation() { * Get sessions from solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -104,8 +122,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link SessionsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public SessionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new SessionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/presenters/item/sessions/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/presenters/item/sessions/count/CountRequestBuilder.java index 85d8c21d2d2..60a2cb22b99 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/presenters/item/sessions/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/presenters/item/sessions/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/presenters/item/sessions/item/VirtualEventSessionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/presenters/item/sessions/item/VirtualEventSessionItemRequestBuilder.java index 1270825db03..04c15c536cb 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/presenters/item/sessions/item/VirtualEventSessionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/presenters/item/sessions/item/VirtualEventSessionItemRequestBuilder.java @@ -40,8 +40,11 @@ public VirtualEventSessionItemRequestBuilder(@jakarta.annotation.Nonnull final S * Get sessions from solutions * @return a {@link VirtualEventSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventSession get() { return get(null); } @@ -50,8 +53,11 @@ public VirtualEventSession get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link VirtualEventSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventSession get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public VirtualEventSession get(@jakarta.annotation.Nullable final java.util.func /** * Get sessions from solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * Get sessions from solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link VirtualEventSessionItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public VirtualEventSessionItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new VirtualEventSessionItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/presenters/item/sessionswithjoinweburl/SessionsWithJoinWebUrlRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/presenters/item/sessionswithjoinweburl/SessionsWithJoinWebUrlRequestBuilder.java index c96540dabfb..8f2b8b71adc 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/presenters/item/sessionswithjoinweburl/SessionsWithJoinWebUrlRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/presenters/item/sessionswithjoinweburl/SessionsWithJoinWebUrlRequestBuilder.java @@ -42,8 +42,11 @@ public SessionsWithJoinWebUrlRequestBuilder(@jakarta.annotation.Nonnull final St * Get sessions from solutions * @return a {@link VirtualEventSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventSession get() { return get(null); } @@ -52,8 +55,11 @@ public VirtualEventSession get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link VirtualEventSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventSession get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -63,8 +69,11 @@ public VirtualEventSession get(@jakarta.annotation.Nullable final java.util.func /** * Get sessions from solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -72,8 +81,11 @@ public RequestInformation toGetRequestInformation() { * Get sessions from solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -84,8 +96,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link SessionsWithJoinWebUrlRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public SessionsWithJoinWebUrlRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new SessionsWithJoinWebUrlRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/registrationconfiguration/RegistrationConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/registrationconfiguration/RegistrationConfigurationRequestBuilder.java index 48156cae0de..2b4c82c673a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/registrationconfiguration/RegistrationConfigurationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/registrationconfiguration/RegistrationConfigurationRequestBuilder.java @@ -24,7 +24,10 @@ public class RegistrationConfigurationRequestBuilder extends BaseRequestBuilder /** * Provides operations to manage the questions property of the microsoft.graph.virtualEventRegistrationConfiguration entity. * @return a {@link QuestionsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public QuestionsRequestBuilder questions() { return new QuestionsRequestBuilder(pathParameters, requestAdapter); @@ -48,7 +51,10 @@ public RegistrationConfigurationRequestBuilder(@jakarta.annotation.Nonnull final /** * Delete navigation property registrationConfiguration for solutions * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete() { delete(null); } @@ -56,7 +62,10 @@ public void delete() { * Delete navigation property registrationConfiguration for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -67,9 +76,12 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Read the properties and relationships of a virtualEventWebinarRegistrationConfiguration object. * @return a {@link VirtualEventWebinarRegistrationConfiguration} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventWebinarRegistrationConfiguration get() { return get(null); } @@ -78,9 +90,12 @@ public VirtualEventWebinarRegistrationConfiguration get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link VirtualEventWebinarRegistrationConfiguration} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventWebinarRegistrationConfiguration get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -92,8 +107,11 @@ public VirtualEventWebinarRegistrationConfiguration get(@jakarta.annotation.Null * @param body The request body * @return a {@link VirtualEventWebinarRegistrationConfiguration} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventWebinarRegistrationConfiguration patch(@jakarta.annotation.Nonnull final VirtualEventWebinarRegistrationConfiguration body) { return patch(body, null); } @@ -103,8 +121,11 @@ public VirtualEventWebinarRegistrationConfiguration patch(@jakarta.annotation.No * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link VirtualEventWebinarRegistrationConfiguration} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventWebinarRegistrationConfiguration patch(@jakarta.annotation.Nonnull final VirtualEventWebinarRegistrationConfiguration body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -115,8 +136,11 @@ public VirtualEventWebinarRegistrationConfiguration patch(@jakarta.annotation.No /** * Delete navigation property registrationConfiguration for solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property registrationConfiguration for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -135,8 +162,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Read the properties and relationships of a virtualEventWebinarRegistrationConfiguration object. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -144,8 +174,11 @@ public RequestInformation toGetRequestInformation() { * Read the properties and relationships of a virtualEventWebinarRegistrationConfiguration object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -156,8 +189,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property registrationConfiguration in solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final VirtualEventWebinarRegistrationConfiguration body) { return toPatchRequestInformation(body, null); } @@ -166,8 +202,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final VirtualEventWebinarRegistrationConfiguration body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -180,8 +219,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RegistrationConfigurationRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RegistrationConfigurationRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RegistrationConfigurationRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/registrationconfiguration/questions/QuestionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/registrationconfiguration/questions/QuestionsRequestBuilder.java index f92be7026ca..f6d51e733ee 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/registrationconfiguration/questions/QuestionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/registrationconfiguration/questions/QuestionsRequestBuilder.java @@ -26,7 +26,10 @@ public class QuestionsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the questions property of the microsoft.graph.virtualEventRegistrationConfiguration entity. * @param virtualEventRegistrationQuestionBaseId The unique identifier of virtualEventRegistrationQuestionBase * @return a {@link VirtualEventRegistrationQuestionBaseItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public VirtualEventRegistrationQuestionBaseItemRequestBuilder byVirtualEventRegistrationQuestionBaseId(@jakarta.annotation.Nonnull final String virtualEventRegistrationQuestionBaseId) { Objects.requireNonNull(virtualEventRegistrationQuestionBaseId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,9 +69,12 @@ public QuestionsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, * Get a list of all registration questions for a webinar or town hall. The list can include either predefined registration questions or custom registration questions. * @return a {@link VirtualEventRegistrationQuestionBaseCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventRegistrationQuestionBaseCollectionResponse get() { return get(null); } @@ -74,9 +83,12 @@ public VirtualEventRegistrationQuestionBaseCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link VirtualEventRegistrationQuestionBaseCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventRegistrationQuestionBaseCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -88,9 +100,12 @@ public VirtualEventRegistrationQuestionBaseCollectionResponse get(@jakarta.annot * @param body The request body * @return a {@link VirtualEventRegistrationQuestionBase} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventRegistrationQuestionBase post(@jakarta.annotation.Nonnull final VirtualEventRegistrationQuestionBase body) { return post(body, null); } @@ -100,9 +115,12 @@ public VirtualEventRegistrationQuestionBase post(@jakarta.annotation.Nonnull fin * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link VirtualEventRegistrationQuestionBase} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventRegistrationQuestionBase post(@jakarta.annotation.Nonnull final VirtualEventRegistrationQuestionBase body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -113,8 +131,11 @@ public VirtualEventRegistrationQuestionBase post(@jakarta.annotation.Nonnull fin /** * Get a list of all registration questions for a webinar or town hall. The list can include either predefined registration questions or custom registration questions. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -122,8 +143,11 @@ public RequestInformation toGetRequestInformation() { * Get a list of all registration questions for a webinar or town hall. The list can include either predefined registration questions or custom registration questions. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -134,8 +158,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create a registration question for a webinar or town hall. You can create either a predefined registration question or a custom registration question. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final VirtualEventRegistrationQuestionBase body) { return toPostRequestInformation(body, null); } @@ -144,8 +171,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final VirtualEventRegistrationQuestionBase body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -158,8 +188,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link QuestionsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public QuestionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new QuestionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/registrationconfiguration/questions/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/registrationconfiguration/questions/count/CountRequestBuilder.java index ad973c02af8..67ea5351881 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/registrationconfiguration/questions/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/registrationconfiguration/questions/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/registrationconfiguration/questions/item/VirtualEventRegistrationQuestionBaseItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/registrationconfiguration/questions/item/VirtualEventRegistrationQuestionBaseItemRequestBuilder.java index 6a9a116450a..637dab6ff9c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/registrationconfiguration/questions/item/VirtualEventRegistrationQuestionBaseItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/registrationconfiguration/questions/item/VirtualEventRegistrationQuestionBaseItemRequestBuilder.java @@ -39,8 +39,11 @@ public VirtualEventRegistrationQuestionBaseItemRequestBuilder(@jakarta.annotatio /** * Delete a registration question from a webinar or town hall. The question can either be a predefined registration question or a custom registration question. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ + @Deprecated public void delete() { delete(null); } @@ -48,8 +51,11 @@ public void delete() { * Delete a registration question from a webinar or town hall. The question can either be a predefined registration question or a custom registration question. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Registration questions. * @return a {@link VirtualEventRegistrationQuestionBase} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventRegistrationQuestionBase get() { return get(null); } @@ -70,8 +79,11 @@ public VirtualEventRegistrationQuestionBase get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link VirtualEventRegistrationQuestionBase} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventRegistrationQuestionBase get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -83,8 +95,11 @@ public VirtualEventRegistrationQuestionBase get(@jakarta.annotation.Nullable fin * @param body The request body * @return a {@link VirtualEventRegistrationQuestionBase} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventRegistrationQuestionBase patch(@jakarta.annotation.Nonnull final VirtualEventRegistrationQuestionBase body) { return patch(body, null); } @@ -94,8 +109,11 @@ public VirtualEventRegistrationQuestionBase patch(@jakarta.annotation.Nonnull fi * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link VirtualEventRegistrationQuestionBase} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventRegistrationQuestionBase patch(@jakarta.annotation.Nonnull final VirtualEventRegistrationQuestionBase body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -106,8 +124,11 @@ public VirtualEventRegistrationQuestionBase patch(@jakarta.annotation.Nonnull fi /** * Delete a registration question from a webinar or town hall. The question can either be a predefined registration question or a custom registration question. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -115,8 +136,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete a registration question from a webinar or town hall. The question can either be a predefined registration question or a custom registration question. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -126,8 +150,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Registration questions. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -135,8 +162,11 @@ public RequestInformation toGetRequestInformation() { * Registration questions. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -147,8 +177,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property questions in solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final VirtualEventRegistrationQuestionBase body) { return toPatchRequestInformation(body, null); } @@ -157,8 +190,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final VirtualEventRegistrationQuestionBase body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -171,8 +207,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link VirtualEventRegistrationQuestionBaseItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public VirtualEventRegistrationQuestionBaseItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new VirtualEventRegistrationQuestionBaseItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/registrations/RegistrationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/registrations/RegistrationsRequestBuilder.java index d5313ef8523..99fc675e245 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/registrations/RegistrationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/registrations/RegistrationsRequestBuilder.java @@ -26,7 +26,10 @@ public class RegistrationsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the registrations property of the microsoft.graph.virtualEventWebinar entity. * @param virtualEventRegistrationId The unique identifier of virtualEventRegistration * @return a {@link VirtualEventRegistrationItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public VirtualEventRegistrationItemRequestBuilder byVirtualEventRegistrationId(@jakarta.annotation.Nonnull final String virtualEventRegistrationId) { Objects.requireNonNull(virtualEventRegistrationId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,9 +69,12 @@ public RegistrationsRequestBuilder(@jakarta.annotation.Nonnull final String rawU * Get a list of all registration records of a webinar or town hall. * @return a {@link VirtualEventRegistrationCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventRegistrationCollectionResponse get() { return get(null); } @@ -74,9 +83,12 @@ public VirtualEventRegistrationCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link VirtualEventRegistrationCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventRegistrationCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -88,9 +100,12 @@ public VirtualEventRegistrationCollectionResponse get(@jakarta.annotation.Nullab * @param body The request body * @return a {@link VirtualEventRegistration} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventRegistration post(@jakarta.annotation.Nonnull final VirtualEventRegistration body) { return post(body, null); } @@ -100,9 +115,12 @@ public VirtualEventRegistration post(@jakarta.annotation.Nonnull final VirtualEv * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link VirtualEventRegistration} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventRegistration post(@jakarta.annotation.Nonnull final VirtualEventRegistration body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -113,8 +131,11 @@ public VirtualEventRegistration post(@jakarta.annotation.Nonnull final VirtualEv /** * Get a list of all registration records of a webinar or town hall. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -122,8 +143,11 @@ public RequestInformation toGetRequestInformation() { * Get a list of all registration records of a webinar or town hall. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -134,8 +158,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create a registration record for a registrant of a webinar or town hall. This method registers the person for the webinar or town hall. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final VirtualEventRegistration body) { return toPostRequestInformation(body, null); } @@ -144,8 +171,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final VirtualEventRegistration body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -158,8 +188,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RegistrationsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RegistrationsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RegistrationsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/registrations/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/registrations/count/CountRequestBuilder.java index e7bb7ba76ee..91d1d73acc3 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/registrations/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/registrations/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/registrations/item/VirtualEventRegistrationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/registrations/item/VirtualEventRegistrationItemRequestBuilder.java index 6fcab4cf534..408820deafc 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/registrations/item/VirtualEventRegistrationItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/registrations/item/VirtualEventRegistrationItemRequestBuilder.java @@ -26,7 +26,10 @@ public class VirtualEventRegistrationItemRequestBuilder extends BaseRequestBuild /** * Provides operations to call the cancel method. * @return a {@link CancelRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CancelRequestBuilder cancel() { return new CancelRequestBuilder(pathParameters, requestAdapter); @@ -34,7 +37,10 @@ public CancelRequestBuilder cancel() { /** * Provides operations to manage the sessions property of the microsoft.graph.virtualEventRegistration entity. * @return a {@link SessionsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public SessionsRequestBuilder sessions() { return new SessionsRequestBuilder(pathParameters, requestAdapter); @@ -58,7 +64,10 @@ public VirtualEventRegistrationItemRequestBuilder(@jakarta.annotation.Nonnull fi /** * Delete navigation property registrations for solutions * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete() { delete(null); } @@ -66,7 +75,10 @@ public void delete() { * Delete navigation property registrations for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -77,9 +89,12 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Get the properties and relationships of a virtualEventRegistration object. * @return a {@link VirtualEventRegistration} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventRegistration get() { return get(null); } @@ -88,9 +103,12 @@ public VirtualEventRegistration get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link VirtualEventRegistration} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventRegistration get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -102,8 +120,11 @@ public VirtualEventRegistration get(@jakarta.annotation.Nullable final java.util * @param body The request body * @return a {@link VirtualEventRegistration} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventRegistration patch(@jakarta.annotation.Nonnull final VirtualEventRegistration body) { return patch(body, null); } @@ -113,8 +134,11 @@ public VirtualEventRegistration patch(@jakarta.annotation.Nonnull final VirtualE * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link VirtualEventRegistration} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventRegistration patch(@jakarta.annotation.Nonnull final VirtualEventRegistration body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -126,8 +150,11 @@ public VirtualEventRegistration patch(@jakarta.annotation.Nonnull final VirtualE * Provides operations to manage the sessions property of the microsoft.graph.virtualEventRegistration entity. * @param joinWebUrl Alternate key of virtualEventSession * @return a {@link SessionsWithJoinWebUrlRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public SessionsWithJoinWebUrlRequestBuilder sessionsWithJoinWebUrl(@jakarta.annotation.Nonnull final String joinWebUrl) { Objects.requireNonNull(joinWebUrl); return new SessionsWithJoinWebUrlRequestBuilder(pathParameters, requestAdapter, joinWebUrl); @@ -135,8 +162,11 @@ public SessionsWithJoinWebUrlRequestBuilder sessionsWithJoinWebUrl(@jakarta.anno /** * Delete navigation property registrations for solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -144,8 +174,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property registrations for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -155,8 +188,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Get the properties and relationships of a virtualEventRegistration object. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -164,8 +200,11 @@ public RequestInformation toGetRequestInformation() { * Get the properties and relationships of a virtualEventRegistration object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -176,8 +215,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property registrations in solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final VirtualEventRegistration body) { return toPatchRequestInformation(body, null); } @@ -186,8 +228,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final VirtualEventRegistration body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -200,8 +245,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link VirtualEventRegistrationItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public VirtualEventRegistrationItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new VirtualEventRegistrationItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/registrations/item/cancel/CancelRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/registrations/item/cancel/CancelRequestBuilder.java index c59902b049d..03670e51f2c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/registrations/item/cancel/CancelRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/registrations/item/cancel/CancelRequestBuilder.java @@ -37,7 +37,10 @@ public CancelRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ja /** * Cancel a registrant's registration record for a webinar or town hall. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void post() { post(null); } @@ -45,7 +48,10 @@ public void post() { * Cancel a registrant's registration record for a webinar or town hall. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -55,8 +61,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Cancel a registrant's registration record for a webinar or town hall. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -64,8 +73,11 @@ public RequestInformation toPostRequestInformation() { * Cancel a registrant's registration record for a webinar or town hall. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -76,8 +88,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CancelRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CancelRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CancelRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/registrations/item/sessions/SessionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/registrations/item/sessions/SessionsRequestBuilder.java index 3cf7807db8e..fc6e42e87df 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/registrations/item/sessions/SessionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/registrations/item/sessions/SessionsRequestBuilder.java @@ -25,7 +25,10 @@ public class SessionsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -34,8 +37,11 @@ public CountRequestBuilder count() { * Provides operations to manage the sessions property of the microsoft.graph.virtualEventRegistration entity. * @param virtualEventSessionId The unique identifier of virtualEventSession * @return a {@link VirtualEventSessionItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public VirtualEventSessionItemRequestBuilder byVirtualEventSessionId(@jakarta.annotation.Nonnull final String virtualEventSessionId) { Objects.requireNonNull(virtualEventSessionId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -62,9 +68,12 @@ public SessionsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ * Get a list of sessions that a registrant registered for in a webinar or town hall. * @return a {@link VirtualEventSessionCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventSessionCollectionResponse get() { return get(null); } @@ -73,9 +82,12 @@ public VirtualEventSessionCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link VirtualEventSessionCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventSessionCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -85,8 +97,11 @@ public VirtualEventSessionCollectionResponse get(@jakarta.annotation.Nullable fi /** * Get a list of sessions that a registrant registered for in a webinar or town hall. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -94,8 +109,11 @@ public RequestInformation toGetRequestInformation() { * Get a list of sessions that a registrant registered for in a webinar or town hall. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -106,8 +124,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link SessionsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public SessionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new SessionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/registrations/item/sessions/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/registrations/item/sessions/count/CountRequestBuilder.java index 0b30d5fd17a..818ecde4c04 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/registrations/item/sessions/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/registrations/item/sessions/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/registrations/item/sessions/item/VirtualEventSessionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/registrations/item/sessions/item/VirtualEventSessionItemRequestBuilder.java index 701f510fc34..c6663f1b9f6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/registrations/item/sessions/item/VirtualEventSessionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/registrations/item/sessions/item/VirtualEventSessionItemRequestBuilder.java @@ -40,8 +40,11 @@ public VirtualEventSessionItemRequestBuilder(@jakarta.annotation.Nonnull final S * Sessions for a registration. * @return a {@link VirtualEventSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventSession get() { return get(null); } @@ -50,8 +53,11 @@ public VirtualEventSession get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link VirtualEventSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventSession get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public VirtualEventSession get(@jakarta.annotation.Nullable final java.util.func /** * Sessions for a registration. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * Sessions for a registration. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link VirtualEventSessionItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public VirtualEventSessionItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new VirtualEventSessionItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/registrations/item/sessionswithjoinweburl/SessionsWithJoinWebUrlRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/registrations/item/sessionswithjoinweburl/SessionsWithJoinWebUrlRequestBuilder.java index b7280829d1f..c03f8ef8e4e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/registrations/item/sessionswithjoinweburl/SessionsWithJoinWebUrlRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/registrations/item/sessionswithjoinweburl/SessionsWithJoinWebUrlRequestBuilder.java @@ -42,8 +42,11 @@ public SessionsWithJoinWebUrlRequestBuilder(@jakarta.annotation.Nonnull final St * Sessions for a registration. * @return a {@link VirtualEventSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventSession get() { return get(null); } @@ -52,8 +55,11 @@ public VirtualEventSession get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link VirtualEventSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventSession get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -63,8 +69,11 @@ public VirtualEventSession get(@jakarta.annotation.Nullable final java.util.func /** * Sessions for a registration. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -72,8 +81,11 @@ public RequestInformation toGetRequestInformation() { * Sessions for a registration. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -84,8 +96,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link SessionsWithJoinWebUrlRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public SessionsWithJoinWebUrlRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new SessionsWithJoinWebUrlRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/registrationswithemail/RegistrationsWithEmailRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/registrationswithemail/RegistrationsWithEmailRequestBuilder.java index 4ff3413d287..e7a5743f1d9 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/registrationswithemail/RegistrationsWithEmailRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/registrationswithemail/RegistrationsWithEmailRequestBuilder.java @@ -24,7 +24,10 @@ public class RegistrationsWithEmailRequestBuilder extends BaseRequestBuilder { /** * Provides operations to call the cancel method. * @return a {@link CancelRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CancelRequestBuilder cancel() { return new CancelRequestBuilder(pathParameters, requestAdapter); @@ -50,7 +53,10 @@ public RegistrationsWithEmailRequestBuilder(@jakarta.annotation.Nonnull final St /** * Delete navigation property registrations for solutions * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete() { delete(null); } @@ -58,7 +64,10 @@ public void delete() { * Delete navigation property registrations for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -69,9 +78,12 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Get the properties and relationships of a virtualEventRegistration object. * @return a {@link VirtualEventRegistration} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventRegistration get() { return get(null); } @@ -80,9 +92,12 @@ public VirtualEventRegistration get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link VirtualEventRegistration} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventRegistration get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -94,8 +109,11 @@ public VirtualEventRegistration get(@jakarta.annotation.Nullable final java.util * @param body The request body * @return a {@link VirtualEventRegistration} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventRegistration patch(@jakarta.annotation.Nonnull final VirtualEventRegistration body) { return patch(body, null); } @@ -105,8 +123,11 @@ public VirtualEventRegistration patch(@jakarta.annotation.Nonnull final VirtualE * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link VirtualEventRegistration} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventRegistration patch(@jakarta.annotation.Nonnull final VirtualEventRegistration body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -117,8 +138,11 @@ public VirtualEventRegistration patch(@jakarta.annotation.Nonnull final VirtualE /** * Delete navigation property registrations for solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -126,8 +150,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property registrations for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -137,8 +164,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Get the properties and relationships of a virtualEventRegistration object. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -146,8 +176,11 @@ public RequestInformation toGetRequestInformation() { * Get the properties and relationships of a virtualEventRegistration object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -158,8 +191,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property registrations in solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final VirtualEventRegistration body) { return toPatchRequestInformation(body, null); } @@ -168,8 +204,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final VirtualEventRegistration body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -182,8 +221,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RegistrationsWithEmailRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RegistrationsWithEmailRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RegistrationsWithEmailRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/registrationswithemail/cancel/CancelRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/registrationswithemail/cancel/CancelRequestBuilder.java index 13f96b50c12..658f0ec89d6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/registrationswithemail/cancel/CancelRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/registrationswithemail/cancel/CancelRequestBuilder.java @@ -37,7 +37,10 @@ public CancelRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ja /** * Cancel a registrant's registration record for a webinar or town hall. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void post() { post(null); } @@ -45,7 +48,10 @@ public void post() { * Cancel a registrant's registration record for a webinar or town hall. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -55,8 +61,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Cancel a registrant's registration record for a webinar or town hall. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -64,8 +73,11 @@ public RequestInformation toPostRequestInformation() { * Cancel a registrant's registration record for a webinar or town hall. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -76,8 +88,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CancelRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CancelRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CancelRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/registrationswithuserid/RegistrationsWithUserIdRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/registrationswithuserid/RegistrationsWithUserIdRequestBuilder.java index 6754fee1f06..e1919f2025d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/registrationswithuserid/RegistrationsWithUserIdRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/registrationswithuserid/RegistrationsWithUserIdRequestBuilder.java @@ -24,7 +24,10 @@ public class RegistrationsWithUserIdRequestBuilder extends BaseRequestBuilder { /** * Provides operations to call the cancel method. * @return a {@link CancelRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CancelRequestBuilder cancel() { return new CancelRequestBuilder(pathParameters, requestAdapter); @@ -50,7 +53,10 @@ public RegistrationsWithUserIdRequestBuilder(@jakarta.annotation.Nonnull final S /** * Delete navigation property registrations for solutions * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete() { delete(null); } @@ -58,7 +64,10 @@ public void delete() { * Delete navigation property registrations for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -69,9 +78,12 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Get the properties and relationships of a virtualEventRegistration object. * @return a {@link VirtualEventRegistration} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventRegistration get() { return get(null); } @@ -80,9 +92,12 @@ public VirtualEventRegistration get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link VirtualEventRegistration} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventRegistration get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -94,8 +109,11 @@ public VirtualEventRegistration get(@jakarta.annotation.Nullable final java.util * @param body The request body * @return a {@link VirtualEventRegistration} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventRegistration patch(@jakarta.annotation.Nonnull final VirtualEventRegistration body) { return patch(body, null); } @@ -105,8 +123,11 @@ public VirtualEventRegistration patch(@jakarta.annotation.Nonnull final VirtualE * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link VirtualEventRegistration} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventRegistration patch(@jakarta.annotation.Nonnull final VirtualEventRegistration body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -117,8 +138,11 @@ public VirtualEventRegistration patch(@jakarta.annotation.Nonnull final VirtualE /** * Delete navigation property registrations for solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -126,8 +150,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property registrations for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -137,8 +164,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Get the properties and relationships of a virtualEventRegistration object. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -146,8 +176,11 @@ public RequestInformation toGetRequestInformation() { * Get the properties and relationships of a virtualEventRegistration object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -158,8 +191,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property registrations in solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final VirtualEventRegistration body) { return toPatchRequestInformation(body, null); } @@ -168,8 +204,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final VirtualEventRegistration body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -182,8 +221,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RegistrationsWithUserIdRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RegistrationsWithUserIdRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RegistrationsWithUserIdRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/registrationswithuserid/cancel/CancelRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/registrationswithuserid/cancel/CancelRequestBuilder.java index 5fbaed63c5e..05bcd589113 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/registrationswithuserid/cancel/CancelRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/registrationswithuserid/cancel/CancelRequestBuilder.java @@ -37,7 +37,10 @@ public CancelRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ja /** * Cancel a registrant's registration record for a webinar or town hall. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void post() { post(null); } @@ -45,7 +48,10 @@ public void post() { * Cancel a registrant's registration record for a webinar or town hall. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -55,8 +61,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< /** * Cancel a registrant's registration record for a webinar or town hall. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } @@ -64,8 +73,11 @@ public RequestInformation toPostRequestInformation() { * Cancel a registrant's registration record for a webinar or town hall. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); @@ -76,8 +88,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CancelRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CancelRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CancelRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/sessions/SessionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/sessions/SessionsRequestBuilder.java index d16a48b5c78..3b57d59f034 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/sessions/SessionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/sessions/SessionsRequestBuilder.java @@ -26,7 +26,10 @@ public class SessionsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the sessions property of the microsoft.graph.virtualEvent entity. * @param virtualEventSessionId The unique identifier of virtualEventSession * @return a {@link VirtualEventSessionItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public VirtualEventSessionItemRequestBuilder byVirtualEventSessionId(@jakarta.annotation.Nonnull final String virtualEventSessionId) { Objects.requireNonNull(virtualEventSessionId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,9 +69,12 @@ public SessionsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ * Get a list of all virtualEventSession objects under a virtual event. Currently, the following virtual event types are supported: virtualEventTownhall and virtualEventWebinar. * @return a {@link VirtualEventSessionCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventSessionCollectionResponse get() { return get(null); } @@ -74,9 +83,12 @@ public VirtualEventSessionCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link VirtualEventSessionCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventSessionCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -88,8 +100,11 @@ public VirtualEventSessionCollectionResponse get(@jakarta.annotation.Nullable fi * @param body The request body * @return a {@link VirtualEventSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventSession post(@jakarta.annotation.Nonnull final VirtualEventSession body) { return post(body, null); } @@ -99,8 +114,11 @@ public VirtualEventSession post(@jakarta.annotation.Nonnull final VirtualEventSe * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link VirtualEventSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventSession post(@jakarta.annotation.Nonnull final VirtualEventSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -111,8 +129,11 @@ public VirtualEventSession post(@jakarta.annotation.Nonnull final VirtualEventSe /** * Get a list of all virtualEventSession objects under a virtual event. Currently, the following virtual event types are supported: virtualEventTownhall and virtualEventWebinar. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -120,8 +141,11 @@ public RequestInformation toGetRequestInformation() { * Get a list of all virtualEventSession objects under a virtual event. Currently, the following virtual event types are supported: virtualEventTownhall and virtualEventWebinar. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -132,8 +156,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to sessions for solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final VirtualEventSession body) { return toPostRequestInformation(body, null); } @@ -142,8 +169,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final VirtualEventSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -156,8 +186,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link SessionsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public SessionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new SessionsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/sessions/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/sessions/count/CountRequestBuilder.java index 843032c3373..74cd1220a78 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/sessions/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/sessions/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/sessions/item/VirtualEventSessionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/sessions/item/VirtualEventSessionItemRequestBuilder.java index 005ede10705..ae3228372f7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/sessions/item/VirtualEventSessionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/sessions/item/VirtualEventSessionItemRequestBuilder.java @@ -28,7 +28,10 @@ public class VirtualEventSessionItemRequestBuilder extends BaseRequestBuilder { /** * Provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeetingBase entity. * @return a {@link AttendanceReportsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public AttendanceReportsRequestBuilder attendanceReports() { return new AttendanceReportsRequestBuilder(pathParameters, requestAdapter); @@ -36,7 +39,10 @@ public AttendanceReportsRequestBuilder attendanceReports() { /** * Provides operations to manage the presenters property of the microsoft.graph.virtualEventSession entity. * @return a {@link PresentersRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public PresentersRequestBuilder presenters() { return new PresentersRequestBuilder(pathParameters, requestAdapter); @@ -44,7 +50,10 @@ public PresentersRequestBuilder presenters() { /** * Provides operations to manage the registrations property of the microsoft.graph.virtualEventSession entity. * @return a {@link RegistrationsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public RegistrationsRequestBuilder registrations() { return new RegistrationsRequestBuilder(pathParameters, requestAdapter); @@ -68,7 +77,10 @@ public VirtualEventSessionItemRequestBuilder(@jakarta.annotation.Nonnull final S /** * Delete navigation property sessions for solutions * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete() { delete(null); } @@ -76,7 +88,10 @@ public void delete() { * Delete navigation property sessions for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -87,9 +102,12 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Read the properties and relationships of a virtualEventSession object. Currently, the following virtual event types are supported: virtualEventTownhall and virtualEventWebinar. * @return a {@link VirtualEventSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventSession get() { return get(null); } @@ -98,9 +116,12 @@ public VirtualEventSession get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link VirtualEventSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventSession get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -112,8 +133,11 @@ public VirtualEventSession get(@jakarta.annotation.Nullable final java.util.func * @param body The request body * @return a {@link VirtualEventSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventSession patch(@jakarta.annotation.Nonnull final VirtualEventSession body) { return patch(body, null); } @@ -123,8 +147,11 @@ public VirtualEventSession patch(@jakarta.annotation.Nonnull final VirtualEventS * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link VirtualEventSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventSession patch(@jakarta.annotation.Nonnull final VirtualEventSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -136,8 +163,11 @@ public VirtualEventSession patch(@jakarta.annotation.Nonnull final VirtualEventS * Provides operations to manage the registrations property of the microsoft.graph.virtualEventSession entity. * @param email Alternate key of virtualEventRegistration * @return a {@link RegistrationsWithEmailRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RegistrationsWithEmailRequestBuilder registrationsWithEmail(@jakarta.annotation.Nonnull final String email) { Objects.requireNonNull(email); return new RegistrationsWithEmailRequestBuilder(pathParameters, requestAdapter, email); @@ -146,8 +176,11 @@ public RegistrationsWithEmailRequestBuilder registrationsWithEmail(@jakarta.anno * Provides operations to manage the registrations property of the microsoft.graph.virtualEventSession entity. * @param userId Alternate key of virtualEventRegistration * @return a {@link RegistrationsWithUserIdRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RegistrationsWithUserIdRequestBuilder registrationsWithUserId(@jakarta.annotation.Nonnull final String userId) { Objects.requireNonNull(userId); return new RegistrationsWithUserIdRequestBuilder(pathParameters, requestAdapter, userId); @@ -155,8 +188,11 @@ public RegistrationsWithUserIdRequestBuilder registrationsWithUserId(@jakarta.an /** * Delete navigation property sessions for solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -164,8 +200,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property sessions for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -175,8 +214,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Read the properties and relationships of a virtualEventSession object. Currently, the following virtual event types are supported: virtualEventTownhall and virtualEventWebinar. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -184,8 +226,11 @@ public RequestInformation toGetRequestInformation() { * Read the properties and relationships of a virtualEventSession object. Currently, the following virtual event types are supported: virtualEventTownhall and virtualEventWebinar. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -196,8 +241,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property sessions in solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final VirtualEventSession body) { return toPatchRequestInformation(body, null); } @@ -206,8 +254,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final VirtualEventSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -220,8 +271,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link VirtualEventSessionItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public VirtualEventSessionItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new VirtualEventSessionItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/sessions/item/attendancereports/AttendanceReportsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/sessions/item/attendancereports/AttendanceReportsRequestBuilder.java index c12f32ff640..64c83304a56 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/sessions/item/attendancereports/AttendanceReportsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/sessions/item/attendancereports/AttendanceReportsRequestBuilder.java @@ -26,7 +26,10 @@ public class AttendanceReportsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeetingBase entity. * @param meetingAttendanceReportId The unique identifier of meetingAttendanceReport * @return a {@link MeetingAttendanceReportItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public MeetingAttendanceReportItemRequestBuilder byMeetingAttendanceReportId(@jakarta.annotation.Nonnull final String meetingAttendanceReportId) { Objects.requireNonNull(meetingAttendanceReportId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,9 +69,12 @@ public AttendanceReportsRequestBuilder(@jakarta.annotation.Nonnull final String * Get a list of meetingAttendanceReport objects for an onlineMeeting or a virtualEvent. Each time an online meeting or a virtual event ends, an attendance report is generated for that session. * @return a {@link MeetingAttendanceReportCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public MeetingAttendanceReportCollectionResponse get() { return get(null); } @@ -74,9 +83,12 @@ public MeetingAttendanceReportCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MeetingAttendanceReportCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public MeetingAttendanceReportCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -88,8 +100,11 @@ public MeetingAttendanceReportCollectionResponse get(@jakarta.annotation.Nullabl * @param body The request body * @return a {@link MeetingAttendanceReport} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public MeetingAttendanceReport post(@jakarta.annotation.Nonnull final MeetingAttendanceReport body) { return post(body, null); } @@ -99,8 +114,11 @@ public MeetingAttendanceReport post(@jakarta.annotation.Nonnull final MeetingAtt * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MeetingAttendanceReport} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public MeetingAttendanceReport post(@jakarta.annotation.Nonnull final MeetingAttendanceReport body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -111,8 +129,11 @@ public MeetingAttendanceReport post(@jakarta.annotation.Nonnull final MeetingAtt /** * Get a list of meetingAttendanceReport objects for an onlineMeeting or a virtualEvent. Each time an online meeting or a virtual event ends, an attendance report is generated for that session. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -120,8 +141,11 @@ public RequestInformation toGetRequestInformation() { * Get a list of meetingAttendanceReport objects for an onlineMeeting or a virtualEvent. Each time an online meeting or a virtual event ends, an attendance report is generated for that session. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -132,8 +156,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to attendanceReports for solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MeetingAttendanceReport body) { return toPostRequestInformation(body, null); } @@ -142,8 +169,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MeetingAttendanceReport body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -156,8 +186,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AttendanceReportsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public AttendanceReportsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AttendanceReportsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/sessions/item/attendancereports/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/sessions/item/attendancereports/count/CountRequestBuilder.java index a8859bce6a6..70500c1415d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/sessions/item/attendancereports/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/sessions/item/attendancereports/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/sessions/item/attendancereports/item/MeetingAttendanceReportItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/sessions/item/attendancereports/item/MeetingAttendanceReportItemRequestBuilder.java index 27031792b11..e104305bf6f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/sessions/item/attendancereports/item/MeetingAttendanceReportItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/sessions/item/attendancereports/item/MeetingAttendanceReportItemRequestBuilder.java @@ -24,7 +24,10 @@ public class MeetingAttendanceReportItemRequestBuilder extends BaseRequestBuilde /** * Provides operations to manage the attendanceRecords property of the microsoft.graph.meetingAttendanceReport entity. * @return a {@link AttendanceRecordsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public AttendanceRecordsRequestBuilder attendanceRecords() { return new AttendanceRecordsRequestBuilder(pathParameters, requestAdapter); @@ -48,7 +51,10 @@ public MeetingAttendanceReportItemRequestBuilder(@jakarta.annotation.Nonnull fin /** * Delete navigation property attendanceReports for solutions * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete() { delete(null); } @@ -56,7 +62,10 @@ public void delete() { * Delete navigation property attendanceReports for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -67,9 +76,12 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Get the meetingAttendanceReport for an onlineMeeting or a virtualEvent. When an online meeting ends, an attendance report is generated for that session. * @return a {@link MeetingAttendanceReport} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public MeetingAttendanceReport get() { return get(null); } @@ -78,9 +90,12 @@ public MeetingAttendanceReport get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MeetingAttendanceReport} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public MeetingAttendanceReport get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -92,8 +107,11 @@ public MeetingAttendanceReport get(@jakarta.annotation.Nullable final java.util. * @param body The request body * @return a {@link MeetingAttendanceReport} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public MeetingAttendanceReport patch(@jakarta.annotation.Nonnull final MeetingAttendanceReport body) { return patch(body, null); } @@ -103,8 +121,11 @@ public MeetingAttendanceReport patch(@jakarta.annotation.Nonnull final MeetingAt * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MeetingAttendanceReport} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public MeetingAttendanceReport patch(@jakarta.annotation.Nonnull final MeetingAttendanceReport body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -115,8 +136,11 @@ public MeetingAttendanceReport patch(@jakarta.annotation.Nonnull final MeetingAt /** * Delete navigation property attendanceReports for solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property attendanceReports for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -135,8 +162,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Get the meetingAttendanceReport for an onlineMeeting or a virtualEvent. When an online meeting ends, an attendance report is generated for that session. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -144,8 +174,11 @@ public RequestInformation toGetRequestInformation() { * Get the meetingAttendanceReport for an onlineMeeting or a virtualEvent. When an online meeting ends, an attendance report is generated for that session. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -156,8 +189,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property attendanceReports in solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MeetingAttendanceReport body) { return toPatchRequestInformation(body, null); } @@ -166,8 +202,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MeetingAttendanceReport body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -180,8 +219,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link MeetingAttendanceReportItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public MeetingAttendanceReportItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new MeetingAttendanceReportItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/sessions/item/attendancereports/item/attendancerecords/AttendanceRecordsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/sessions/item/attendancereports/item/attendancerecords/AttendanceRecordsRequestBuilder.java index 9df104d6fc3..06bde9eabe4 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/sessions/item/attendancereports/item/attendancerecords/AttendanceRecordsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/sessions/item/attendancereports/item/attendancerecords/AttendanceRecordsRequestBuilder.java @@ -26,7 +26,10 @@ public class AttendanceRecordsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the attendanceRecords property of the microsoft.graph.meetingAttendanceReport entity. * @param attendanceRecordId The unique identifier of attendanceRecord * @return a {@link AttendanceRecordItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public AttendanceRecordItemRequestBuilder byAttendanceRecordId(@jakarta.annotation.Nonnull final String attendanceRecordId) { Objects.requireNonNull(attendanceRecordId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public AttendanceRecordsRequestBuilder(@jakarta.annotation.Nonnull final String * List of attendance records of an attendance report. Read-only. * @return a {@link AttendanceRecordCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public AttendanceRecordCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public AttendanceRecordCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AttendanceRecordCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public AttendanceRecordCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public AttendanceRecordCollectionResponse get(@jakarta.annotation.Nullable final * @param body The request body * @return a {@link AttendanceRecord} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public AttendanceRecord post(@jakarta.annotation.Nonnull final AttendanceRecord body) { return post(body, null); } @@ -97,8 +112,11 @@ public AttendanceRecord post(@jakarta.annotation.Nonnull final AttendanceRecord * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AttendanceRecord} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public AttendanceRecord post(@jakarta.annotation.Nonnull final AttendanceRecord body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public AttendanceRecord post(@jakarta.annotation.Nonnull final AttendanceRecord /** * List of attendance records of an attendance report. Read-only. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * List of attendance records of an attendance report. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to attendanceRecords for solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AttendanceRecord body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AttendanceRecord body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AttendanceRecordsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public AttendanceRecordsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AttendanceRecordsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/sessions/item/attendancereports/item/attendancerecords/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/sessions/item/attendancereports/item/attendancerecords/count/CountRequestBuilder.java index df0f912992c..5633e1df460 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/sessions/item/attendancereports/item/attendancerecords/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/sessions/item/attendancereports/item/attendancerecords/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/sessions/item/attendancereports/item/attendancerecords/item/AttendanceRecordItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/sessions/item/attendancereports/item/attendancerecords/item/AttendanceRecordItemRequestBuilder.java index 5f82cf61cf3..aeb1e34fb79 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/sessions/item/attendancereports/item/attendancerecords/item/AttendanceRecordItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/sessions/item/attendancereports/item/attendancerecords/item/AttendanceRecordItemRequestBuilder.java @@ -39,7 +39,10 @@ public AttendanceRecordItemRequestBuilder(@jakarta.annotation.Nonnull final Stri /** * Delete navigation property attendanceRecords for solutions * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete() { delete(null); } @@ -47,7 +50,10 @@ public void delete() { * Delete navigation property attendanceRecords for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -58,8 +64,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * List of attendance records of an attendance report. Read-only. * @return a {@link AttendanceRecord} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public AttendanceRecord get() { return get(null); } @@ -68,8 +77,11 @@ public AttendanceRecord get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AttendanceRecord} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public AttendanceRecord get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -81,8 +93,11 @@ public AttendanceRecord get(@jakarta.annotation.Nullable final java.util.functio * @param body The request body * @return a {@link AttendanceRecord} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public AttendanceRecord patch(@jakarta.annotation.Nonnull final AttendanceRecord body) { return patch(body, null); } @@ -92,8 +107,11 @@ public AttendanceRecord patch(@jakarta.annotation.Nonnull final AttendanceRecord * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AttendanceRecord} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public AttendanceRecord patch(@jakarta.annotation.Nonnull final AttendanceRecord body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -104,8 +122,11 @@ public AttendanceRecord patch(@jakarta.annotation.Nonnull final AttendanceRecord /** * Delete navigation property attendanceRecords for solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -113,8 +134,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property attendanceRecords for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * List of attendance records of an attendance report. Read-only. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -133,8 +160,11 @@ public RequestInformation toGetRequestInformation() { * List of attendance records of an attendance report. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -145,8 +175,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property attendanceRecords in solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AttendanceRecord body) { return toPatchRequestInformation(body, null); } @@ -155,8 +188,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AttendanceRecord body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -169,8 +205,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link AttendanceRecordItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public AttendanceRecordItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new AttendanceRecordItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/sessions/item/presenters/PresentersRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/sessions/item/presenters/PresentersRequestBuilder.java index 0647f70e477..006d13aca85 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/sessions/item/presenters/PresentersRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/sessions/item/presenters/PresentersRequestBuilder.java @@ -25,7 +25,10 @@ public class PresentersRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -34,8 +37,11 @@ public CountRequestBuilder count() { * Provides operations to manage the presenters property of the microsoft.graph.virtualEventSession entity. * @param virtualEventPresenterId The unique identifier of virtualEventPresenter * @return a {@link VirtualEventPresenterItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public VirtualEventPresenterItemRequestBuilder byVirtualEventPresenterId(@jakarta.annotation.Nonnull final String virtualEventPresenterId) { Objects.requireNonNull(virtualEventPresenterId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -62,8 +68,11 @@ public PresentersRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, * Get presenters from solutions * @return a {@link VirtualEventPresenterCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventPresenterCollectionResponse get() { return get(null); } @@ -72,8 +81,11 @@ public VirtualEventPresenterCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link VirtualEventPresenterCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventPresenterCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -83,8 +95,11 @@ public VirtualEventPresenterCollectionResponse get(@jakarta.annotation.Nullable /** * Get presenters from solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -92,8 +107,11 @@ public RequestInformation toGetRequestInformation() { * Get presenters from solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -104,8 +122,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link PresentersRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public PresentersRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new PresentersRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/sessions/item/presenters/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/sessions/item/presenters/count/CountRequestBuilder.java index 55b32e35248..f63a935c094 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/sessions/item/presenters/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/sessions/item/presenters/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/sessions/item/presenters/item/VirtualEventPresenterItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/sessions/item/presenters/item/VirtualEventPresenterItemRequestBuilder.java index 6668d261042..de5129339ba 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/sessions/item/presenters/item/VirtualEventPresenterItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/sessions/item/presenters/item/VirtualEventPresenterItemRequestBuilder.java @@ -40,8 +40,11 @@ public VirtualEventPresenterItemRequestBuilder(@jakarta.annotation.Nonnull final * Get presenters from solutions * @return a {@link VirtualEventPresenter} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventPresenter get() { return get(null); } @@ -50,8 +53,11 @@ public VirtualEventPresenter get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link VirtualEventPresenter} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventPresenter get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public VirtualEventPresenter get(@jakarta.annotation.Nullable final java.util.fu /** * Get presenters from solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * Get presenters from solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link VirtualEventPresenterItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public VirtualEventPresenterItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new VirtualEventPresenterItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/sessions/item/registrations/RegistrationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/sessions/item/registrations/RegistrationsRequestBuilder.java index e170ed04f09..e96f2ad37c2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/sessions/item/registrations/RegistrationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/sessions/item/registrations/RegistrationsRequestBuilder.java @@ -25,7 +25,10 @@ public class RegistrationsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -34,8 +37,11 @@ public CountRequestBuilder count() { * Provides operations to manage the registrations property of the microsoft.graph.virtualEventSession entity. * @param virtualEventRegistrationId The unique identifier of virtualEventRegistration * @return a {@link VirtualEventRegistrationItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public VirtualEventRegistrationItemRequestBuilder byVirtualEventRegistrationId(@jakarta.annotation.Nonnull final String virtualEventRegistrationId) { Objects.requireNonNull(virtualEventRegistrationId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -62,8 +68,11 @@ public RegistrationsRequestBuilder(@jakarta.annotation.Nonnull final String rawU * Get registrations from solutions * @return a {@link VirtualEventRegistrationCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventRegistrationCollectionResponse get() { return get(null); } @@ -72,8 +81,11 @@ public VirtualEventRegistrationCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link VirtualEventRegistrationCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventRegistrationCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -83,8 +95,11 @@ public VirtualEventRegistrationCollectionResponse get(@jakarta.annotation.Nullab /** * Get registrations from solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -92,8 +107,11 @@ public RequestInformation toGetRequestInformation() { * Get registrations from solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -104,8 +122,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RegistrationsRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RegistrationsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RegistrationsRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/sessions/item/registrations/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/sessions/item/registrations/count/CountRequestBuilder.java index 3688b6b7146..a8a67555637 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/sessions/item/registrations/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/sessions/item/registrations/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/sessions/item/registrations/item/VirtualEventRegistrationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/sessions/item/registrations/item/VirtualEventRegistrationItemRequestBuilder.java index 91b87efce4c..23a6f88cec3 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/sessions/item/registrations/item/VirtualEventRegistrationItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/sessions/item/registrations/item/VirtualEventRegistrationItemRequestBuilder.java @@ -40,8 +40,11 @@ public VirtualEventRegistrationItemRequestBuilder(@jakarta.annotation.Nonnull fi * Get registrations from solutions * @return a {@link VirtualEventRegistration} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventRegistration get() { return get(null); } @@ -50,8 +53,11 @@ public VirtualEventRegistration get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link VirtualEventRegistration} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventRegistration get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -61,8 +67,11 @@ public VirtualEventRegistration get(@jakarta.annotation.Nullable final java.util /** * Get registrations from solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -70,8 +79,11 @@ public RequestInformation toGetRequestInformation() { * Get registrations from solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -82,8 +94,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link VirtualEventRegistrationItemRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public VirtualEventRegistrationItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new VirtualEventRegistrationItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/sessions/item/registrationswithemail/RegistrationsWithEmailRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/sessions/item/registrationswithemail/RegistrationsWithEmailRequestBuilder.java index e3313b18081..5859f2f9241 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/sessions/item/registrationswithemail/RegistrationsWithEmailRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/sessions/item/registrationswithemail/RegistrationsWithEmailRequestBuilder.java @@ -42,8 +42,11 @@ public RegistrationsWithEmailRequestBuilder(@jakarta.annotation.Nonnull final St * Get registrations from solutions * @return a {@link VirtualEventRegistration} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventRegistration get() { return get(null); } @@ -52,8 +55,11 @@ public VirtualEventRegistration get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link VirtualEventRegistration} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventRegistration get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -63,8 +69,11 @@ public VirtualEventRegistration get(@jakarta.annotation.Nullable final java.util /** * Get registrations from solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -72,8 +81,11 @@ public RequestInformation toGetRequestInformation() { * Get registrations from solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -84,8 +96,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RegistrationsWithEmailRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RegistrationsWithEmailRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RegistrationsWithEmailRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/sessions/item/registrationswithuserid/RegistrationsWithUserIdRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/sessions/item/registrationswithuserid/RegistrationsWithUserIdRequestBuilder.java index dffa813296a..c29ba71d228 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/sessions/item/registrationswithuserid/RegistrationsWithUserIdRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/sessions/item/registrationswithuserid/RegistrationsWithUserIdRequestBuilder.java @@ -42,8 +42,11 @@ public RegistrationsWithUserIdRequestBuilder(@jakarta.annotation.Nonnull final S * Get registrations from solutions * @return a {@link VirtualEventRegistration} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventRegistration get() { return get(null); } @@ -52,8 +55,11 @@ public VirtualEventRegistration get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link VirtualEventRegistration} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventRegistration get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -63,8 +69,11 @@ public VirtualEventRegistration get(@jakarta.annotation.Nullable final java.util /** * Get registrations from solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -72,8 +81,11 @@ public RequestInformation toGetRequestInformation() { * Get registrations from solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -84,8 +96,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link RegistrationsWithUserIdRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RegistrationsWithUserIdRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new RegistrationsWithUserIdRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/sessionswithjoinweburl/SessionsWithJoinWebUrlRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/sessionswithjoinweburl/SessionsWithJoinWebUrlRequestBuilder.java index bc92b7167f2..d649c9a4434 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/sessionswithjoinweburl/SessionsWithJoinWebUrlRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/solutions/virtualevents/webinars/item/sessionswithjoinweburl/SessionsWithJoinWebUrlRequestBuilder.java @@ -41,7 +41,10 @@ public SessionsWithJoinWebUrlRequestBuilder(@jakarta.annotation.Nonnull final St /** * Delete navigation property sessions for solutions * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete() { delete(null); } @@ -49,7 +52,10 @@ public void delete() { * Delete navigation property sessions for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,9 +66,12 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Read the properties and relationships of a virtualEventSession object. Currently, the following virtual event types are supported: virtualEventTownhall and virtualEventWebinar. * @return a {@link VirtualEventSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventSession get() { return get(null); } @@ -71,9 +80,12 @@ public VirtualEventSession get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link VirtualEventSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventSession get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -85,8 +97,11 @@ public VirtualEventSession get(@jakarta.annotation.Nullable final java.util.func * @param body The request body * @return a {@link VirtualEventSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventSession patch(@jakarta.annotation.Nonnull final VirtualEventSession body) { return patch(body, null); } @@ -96,8 +111,11 @@ public VirtualEventSession patch(@jakarta.annotation.Nonnull final VirtualEventS * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link VirtualEventSession} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nullable + @Deprecated public VirtualEventSession patch(@jakarta.annotation.Nonnull final VirtualEventSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -108,8 +126,11 @@ public VirtualEventSession patch(@jakarta.annotation.Nonnull final VirtualEventS /** * Delete navigation property sessions for solutions * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -117,8 +138,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property sessions for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -128,8 +152,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Read the properties and relationships of a virtualEventSession object. Currently, the following virtual event types are supported: virtualEventTownhall and virtualEventWebinar. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -137,8 +164,11 @@ public RequestInformation toGetRequestInformation() { * Read the properties and relationships of a virtualEventSession object. Currently, the following virtual event types are supported: virtualEventTownhall and virtualEventWebinar. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -149,8 +179,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property sessions in solutions * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final VirtualEventSession body) { return toPatchRequestInformation(body, null); } @@ -159,8 +192,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final VirtualEventSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -173,8 +209,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link SessionsWithJoinWebUrlRequestBuilder} + * @deprecated + * as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17 */ @jakarta.annotation.Nonnull + @Deprecated public SessionsWithJoinWebUrlRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new SessionsWithJoinWebUrlRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/users/item/devices/DevicesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/users/item/devices/DevicesRequestBuilder.java index fba534b3067..c85cec0feca 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/users/item/devices/DevicesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/users/item/devices/DevicesRequestBuilder.java @@ -6,6 +6,7 @@ import com.microsoft.graph.beta.users.item.devices.count.CountRequestBuilder; import com.microsoft.graph.beta.users.item.devices.delta.DeltaRequestBuilder; import com.microsoft.graph.beta.users.item.devices.item.DeviceItemRequestBuilder; +import com.microsoft.graph.beta.users.item.devices.provision.ProvisionRequestBuilder; import com.microsoft.kiota.BaseRequestBuilder; import com.microsoft.kiota.BaseRequestConfiguration; import com.microsoft.kiota.HttpMethod; @@ -40,6 +41,14 @@ public CountRequestBuilder count() { public DeltaRequestBuilder delta() { return new DeltaRequestBuilder(pathParameters, requestAdapter); } + /** + * Provides operations to call the provision method. + * @return a {@link ProvisionRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ProvisionRequestBuilder provision() { + return new ProvisionRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to manage the devices property of the microsoft.graph.user entity. * @param deviceId The unique identifier of device diff --git a/src/main/java/com/microsoft/graph/beta/generated/users/item/devices/provision/ProvisionPostRequestBody.java b/src/main/java/com/microsoft/graph/beta/generated/users/item/devices/provision/ProvisionPostRequestBody.java new file mode 100644 index 00000000000..4c0ba4727a4 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/users/item/devices/provision/ProvisionPostRequestBody.java @@ -0,0 +1,107 @@ +package com.microsoft.graph.beta.users.item.devices.provision; + +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ProvisionPostRequestBody implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link ProvisionPostRequestBody} and sets the default values. + */ + public ProvisionPostRequestBody() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link ProvisionPostRequestBody} + */ + @jakarta.annotation.Nonnull + public static ProvisionPostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new ProvisionPostRequestBody(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(1); + deserializerMap.put("provisioningBlob", (n) -> { this.setProvisioningBlob(n.getStringValue()); }); + return deserializerMap; + } + /** + * Gets the provisioningBlob property value. The provisioningBlob property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getProvisioningBlob() { + return this.backingStore.get("provisioningBlob"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writeStringValue("provisioningBlob", this.getProvisioningBlob()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } + /** + * Sets the provisioningBlob property value. The provisioningBlob property + * @param value Value to set for the provisioningBlob property. + */ + public void setProvisioningBlob(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("provisioningBlob", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/users/item/devices/provision/ProvisionRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/users/item/devices/provision/ProvisionRequestBuilder.java new file mode 100644 index 00000000000..0f73e03f9d2 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/users/item/devices/provision/ProvisionRequestBuilder.java @@ -0,0 +1,103 @@ +package com.microsoft.graph.beta.users.item.devices.provision; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.graph.beta.models.ProvisionResponse; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to call the provision method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ProvisionRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link ProvisionRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public ProvisionRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/users/{user%2Did}/devices/provision", pathParameters); + } + /** + * Instantiates a new {@link ProvisionRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public ProvisionRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/users/{user%2Did}/devices/provision", rawUrl); + } + /** + * Invoke action provision + * @param body The request body + * @return a {@link ProvisionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public ProvisionResponse post(@jakarta.annotation.Nonnull final ProvisionPostRequestBody body) { + return post(body, null); + } + /** + * Invoke action provision + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link ProvisionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public ProvisionResponse post(@jakarta.annotation.Nonnull final ProvisionPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, ProvisionResponse::createFromDiscriminatorValue); + } + /** + * Invoke action provision + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ProvisionPostRequestBody body) { + return toPostRequestInformation(body, null); + } + /** + * Invoke action provision + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ProvisionPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); + 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. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link ProvisionRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ProvisionRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new ProvisionRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PostRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/users/item/distributionlists/item/DistributionListItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/users/item/distributionlists/item/DistributionListItemRequestBuilder.java index 8fb1fe33bca..809d78557f8 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/users/item/distributionlists/item/DistributionListItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/users/item/distributionlists/item/DistributionListItemRequestBuilder.java @@ -4,6 +4,7 @@ import com.microsoft.graph.beta.models.odataerrors.ODataError; import com.microsoft.graph.beta.users.item.distributionlists.item.addmembers.AddMembersRequestBuilder; import com.microsoft.graph.beta.users.item.distributionlists.item.deletemembers.DeleteMembersRequestBuilder; +import com.microsoft.graph.beta.users.item.distributionlists.item.members.MembersRequestBuilder; import com.microsoft.kiota.BaseRequestBuilder; import com.microsoft.kiota.BaseRequestConfiguration; import com.microsoft.kiota.HttpMethod; @@ -38,6 +39,14 @@ public AddMembersRequestBuilder addMembers() { public DeleteMembersRequestBuilder deleteMembers() { return new DeleteMembersRequestBuilder(pathParameters, requestAdapter); } + /** + * Provides operations to manage the members property of the microsoft.graph.distributionList entity. + * @return a {@link MembersRequestBuilder} + */ + @jakarta.annotation.Nonnull + public MembersRequestBuilder members() { + return new MembersRequestBuilder(pathParameters, requestAdapter); + } /** * Instantiates a new {@link DistributionListItemRequestBuilder} and sets the default values. * @param pathParameters Path parameters for the request diff --git a/src/main/java/com/microsoft/graph/beta/generated/users/item/distributionlists/item/addmembers/AddMembersPostRequestBody.java b/src/main/java/com/microsoft/graph/beta/generated/users/item/distributionlists/item/addmembers/AddMembersPostRequestBody.java index 460e056c550..afe65fe134e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/users/item/distributionlists/item/addmembers/AddMembersPostRequestBody.java +++ b/src/main/java/com/microsoft/graph/beta/generated/users/item/distributionlists/item/addmembers/AddMembersPostRequestBody.java @@ -63,11 +63,11 @@ public BackingStore getBackingStore() { @jakarta.annotation.Nonnull public Map> getFieldDeserializers() { final HashMap> deserializerMap = new HashMap>(1); - deserializerMap.put("members", (n) -> { this.setMembers(n.getCollectionOfObjectValues(Member::createFromDiscriminatorValue)); }); + deserializerMap.put("Members", (n) -> { this.setMembers(n.getCollectionOfObjectValues(Member::createFromDiscriminatorValue)); }); return deserializerMap; } /** - * Gets the members property value. The members property + * Gets the Members property value. The Members property * @return a {@link java.util.List} */ @jakarta.annotation.Nullable @@ -80,7 +80,7 @@ public java.util.List getMembers() { */ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { Objects.requireNonNull(writer); - writer.writeCollectionOfObjectValues("members", this.getMembers()); + writer.writeCollectionOfObjectValues("Members", this.getMembers()); writer.writeAdditionalData(this.getAdditionalData()); } /** @@ -99,8 +99,8 @@ public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value this.backingStore = value; } /** - * Sets the members property value. The members property - * @param value Value to set for the members property. + * Sets the Members property value. The Members property + * @param value Value to set for the Members property. */ public void setMembers(@jakarta.annotation.Nullable final java.util.List value) { this.backingStore.set("members", value); diff --git a/src/main/java/com/microsoft/graph/beta/generated/users/item/distributionlists/item/deletemembers/DeleteMembersPostRequestBody.java b/src/main/java/com/microsoft/graph/beta/generated/users/item/distributionlists/item/deletemembers/DeleteMembersPostRequestBody.java index 976ab3fceb9..3bc2a84995c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/users/item/distributionlists/item/deletemembers/DeleteMembersPostRequestBody.java +++ b/src/main/java/com/microsoft/graph/beta/generated/users/item/distributionlists/item/deletemembers/DeleteMembersPostRequestBody.java @@ -63,11 +63,11 @@ public BackingStore getBackingStore() { @jakarta.annotation.Nonnull public Map> getFieldDeserializers() { final HashMap> deserializerMap = new HashMap>(1); - deserializerMap.put("members", (n) -> { this.setMembers(n.getCollectionOfObjectValues(Member::createFromDiscriminatorValue)); }); + deserializerMap.put("Members", (n) -> { this.setMembers(n.getCollectionOfObjectValues(Member::createFromDiscriminatorValue)); }); return deserializerMap; } /** - * Gets the members property value. The members property + * Gets the Members property value. The Members property * @return a {@link java.util.List} */ @jakarta.annotation.Nullable @@ -80,7 +80,7 @@ public java.util.List getMembers() { */ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { Objects.requireNonNull(writer); - writer.writeCollectionOfObjectValues("members", this.getMembers()); + writer.writeCollectionOfObjectValues("Members", this.getMembers()); writer.writeAdditionalData(this.getAdditionalData()); } /** @@ -99,8 +99,8 @@ public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value this.backingStore = value; } /** - * Sets the members property value. The members property - * @param value Value to set for the members property. + * Sets the Members property value. The Members property + * @param value Value to set for the Members property. */ public void setMembers(@jakarta.annotation.Nullable final java.util.List value) { this.backingStore.set("members", value); diff --git a/src/main/java/com/microsoft/graph/beta/generated/users/item/distributionlists/item/members/MembersRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/users/item/distributionlists/item/members/MembersRequestBuilder.java new file mode 100644 index 00000000000..117c381fd01 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/users/item/distributionlists/item/members/MembersRequestBuilder.java @@ -0,0 +1,187 @@ +package com.microsoft.graph.beta.users.item.distributionlists.item.members; + +import com.microsoft.graph.beta.models.DistributionListMemberCollectionResponse; +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.graph.beta.users.item.distributionlists.item.members.count.CountRequestBuilder; +import com.microsoft.graph.beta.users.item.distributionlists.item.members.item.DistributionListMemberItemRequestBuilder; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to manage the members property of the microsoft.graph.distributionList entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class MembersRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to count the resources in the collection. + * @return a {@link CountRequestBuilder} + */ + @jakarta.annotation.Nonnull + public CountRequestBuilder count() { + return new CountRequestBuilder(pathParameters, requestAdapter); + } + /** + * Provides operations to manage the members property of the microsoft.graph.distributionList entity. + * @param distributionListMemberId The unique identifier of distributionListMember + * @return a {@link DistributionListMemberItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public DistributionListMemberItemRequestBuilder byDistributionListMemberId(@jakarta.annotation.Nonnull final String distributionListMemberId) { + Objects.requireNonNull(distributionListMemberId); + final HashMap urlTplParams = new HashMap(this.pathParameters); + urlTplParams.put("distributionListMember%2Did", distributionListMemberId); + return new DistributionListMemberItemRequestBuilder(urlTplParams, requestAdapter); + } + /** + * Instantiates a new {@link MembersRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public MembersRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/users/{user%2Did}/distributionLists/{distributionList%2Did}/members{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters); + } + /** + * Instantiates a new {@link MembersRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public MembersRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/users/{user%2Did}/distributionLists/{distributionList%2Did}/members{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); + } + /** + * The members of the distribution list. Not returned by default; use $expand=members to include. Read-only. + * @return a {@link DistributionListMemberCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public DistributionListMemberCollectionResponse get() { + return get(null); + } + /** + * The members of the distribution list. Not returned by default; use $expand=members to include. Read-only. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link DistributionListMemberCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public DistributionListMemberCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, DistributionListMemberCollectionResponse::createFromDiscriminatorValue); + } + /** + * The members of the distribution list. Not returned by default; use $expand=members to include. Read-only. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * The members of the distribution list. Not returned by default; use $expand=members to include. Read-only. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + 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. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link MembersRequestBuilder} + */ + @jakarta.annotation.Nonnull + public MembersRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new MembersRequestBuilder(rawUrl, requestAdapter); + } + /** + * The members of the distribution list. Not returned by default; use $expand=members to include. Read-only. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Include count of items + */ + @jakarta.annotation.Nullable + public Boolean count; + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Filter items by property values + */ + @jakarta.annotation.Nullable + public String filter; + /** + * Order items by property values + */ + @jakarta.annotation.Nullable + public String[] orderby; + /** + * Search items by search phrases + */ + @jakarta.annotation.Nullable + public String search; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Skip the first n items + */ + @jakarta.annotation.Nullable + public Integer skip; + /** + * Show only the first n items + */ + @jakarta.annotation.Nullable + public Integer top; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24count", count); + allQueryParams.put("%24filter", filter); + allQueryParams.put("%24search", search); + allQueryParams.put("%24skip", skip); + allQueryParams.put("%24top", top); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24orderby", orderby); + allQueryParams.put("%24select", select); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/configurationmanagement/configurationsnapshotjobs/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/users/item/distributionlists/item/members/count/CountRequestBuilder.java similarity index 93% rename from src/main/java/com/microsoft/graph/beta/generated/admin/configurationmanagement/configurationsnapshotjobs/count/CountRequestBuilder.java rename to src/main/java/com/microsoft/graph/beta/generated/users/item/distributionlists/item/members/count/CountRequestBuilder.java index 006d415623b..397401a0a8d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/admin/configurationmanagement/configurationsnapshotjobs/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/users/item/distributionlists/item/members/count/CountRequestBuilder.java @@ -1,4 +1,4 @@ -package com.microsoft.graph.beta.admin.configurationmanagement.configurationsnapshotjobs.count; +package com.microsoft.graph.beta.users.item.distributionlists.item.members.count; import com.microsoft.graph.beta.models.odataerrors.ODataError; import com.microsoft.kiota.BaseRequestBuilder; @@ -25,7 +25,7 @@ public class CountRequestBuilder extends BaseRequestBuilder { * @param requestAdapter The request adapter to use to execute the requests. */ public CountRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { - super(requestAdapter, "{+baseurl}/admin/configurationManagement/configurationSnapshotJobs/$count{?%24filter,%24search}", pathParameters); + super(requestAdapter, "{+baseurl}/users/{user%2Did}/distributionLists/{distributionList%2Did}/members/$count{?%24filter,%24search}", pathParameters); } /** * Instantiates a new {@link CountRequestBuilder} and sets the default values. @@ -33,7 +33,7 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/users/{user%2Did}/distributionLists/{distributionList%2Did}/members/{distributionListMember%2Did}{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link DistributionListMemberItemRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public DistributionListMemberItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/users/{user%2Did}/distributionLists/{distributionList%2Did}/members/{distributionListMember%2Did}{?%24expand,%24select}", rawUrl); + } + /** + * The members of the distribution list. Not returned by default; use $expand=members to include. Read-only. + * @return a {@link DistributionListMember} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public DistributionListMember get() { + return get(null); + } + /** + * The members of the distribution list. Not returned by default; use $expand=members to include. Read-only. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link DistributionListMember} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public DistributionListMember get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, DistributionListMember::createFromDiscriminatorValue); + } + /** + * The members of the distribution list. Not returned by default; use $expand=members to include. Read-only. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * The members of the distribution list. Not returned by default; use $expand=members to include. Read-only. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + 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. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link DistributionListMemberItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public DistributionListMemberItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new DistributionListMemberItemRequestBuilder(rawUrl, requestAdapter); + } + /** + * The members of the distribution list. Not returned by default; use $expand=members to include. Read-only. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24select", select); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/users/item/distributionlists/item/members/item/contact/ContactRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/users/item/distributionlists/item/members/item/contact/ContactRequestBuilder.java new file mode 100644 index 00000000000..1b0987b0524 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/users/item/distributionlists/item/members/item/contact/ContactRequestBuilder.java @@ -0,0 +1,129 @@ +package com.microsoft.graph.beta.users.item.distributionlists.item.members.item.contact; + +import com.microsoft.graph.beta.models.Contact; +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to manage the contact property of the microsoft.graph.distributionListMember entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ContactRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link ContactRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public ContactRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/users/{user%2Did}/distributionLists/{distributionList%2Did}/members/{distributionListMember%2Did}/contact{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link ContactRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public ContactRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/users/{user%2Did}/distributionLists/{distributionList%2Did}/members/{distributionListMember%2Did}/contact{?%24expand,%24select}", rawUrl); + } + /** + * The contact associated with the distribution list member. Read-only. + * @return a {@link Contact} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public Contact get() { + return get(null); + } + /** + * The contact associated with the distribution list member. Read-only. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link Contact} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public Contact get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, Contact::createFromDiscriminatorValue); + } + /** + * The contact associated with the distribution list member. Read-only. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * The contact associated with the distribution list member. Read-only. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + 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. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link ContactRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ContactRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new ContactRequestBuilder(rawUrl, requestAdapter); + } + /** + * The contact associated with the distribution list member. Read-only. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24select", select); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/users/item/manageddevices/item/ManagedDeviceItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/users/item/manageddevices/item/ManagedDeviceItemRequestBuilder.java index e513351094e..19ec31f8d58 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/users/item/manageddevices/item/ManagedDeviceItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/users/item/manageddevices/item/ManagedDeviceItemRequestBuilder.java @@ -5,6 +5,7 @@ import com.microsoft.graph.beta.users.item.manageddevices.item.activatedeviceesim.ActivateDeviceEsimRequestBuilder; import com.microsoft.graph.beta.users.item.manageddevices.item.assignmentfilterevaluationstatusdetails.AssignmentFilterEvaluationStatusDetailsRequestBuilder; import com.microsoft.graph.beta.users.item.manageddevices.item.bypassactivationlock.BypassActivationLockRequestBuilder; +import com.microsoft.graph.beta.users.item.manageddevices.item.cancelenhancedlogcollection.CancelEnhancedLogCollectionRequestBuilder; import com.microsoft.graph.beta.users.item.manageddevices.item.changeassignments.ChangeAssignmentsRequestBuilder; import com.microsoft.graph.beta.users.item.manageddevices.item.cleanwindowsdevice.CleanWindowsDeviceRequestBuilder; import com.microsoft.graph.beta.users.item.manageddevices.item.createdevicelogcollectionrequest.CreateDeviceLogCollectionRequestRequestBuilder; @@ -57,6 +58,7 @@ import com.microsoft.graph.beta.users.item.manageddevices.item.suspendmanagedhomescreen.SuspendManagedHomeScreenRequestBuilder; import com.microsoft.graph.beta.users.item.manageddevices.item.syncdevice.SyncDeviceRequestBuilder; import com.microsoft.graph.beta.users.item.manageddevices.item.triggerconfigurationmanageraction.TriggerConfigurationManagerActionRequestBuilder; +import com.microsoft.graph.beta.users.item.manageddevices.item.triggerenhancedlogcollection.TriggerEnhancedLogCollectionRequestBuilder; import com.microsoft.graph.beta.users.item.manageddevices.item.updatewindowsdeviceaccount.UpdateWindowsDeviceAccountRequestBuilder; import com.microsoft.graph.beta.users.item.manageddevices.item.users.UsersRequestBuilder; import com.microsoft.graph.beta.users.item.manageddevices.item.windowsdefenderscan.WindowsDefenderScanRequestBuilder; @@ -105,6 +107,14 @@ public AssignmentFilterEvaluationStatusDetailsRequestBuilder assignmentFilterEva public BypassActivationLockRequestBuilder bypassActivationLock() { return new BypassActivationLockRequestBuilder(pathParameters, requestAdapter); } + /** + * Provides operations to call the cancelEnhancedLogCollection method. + * @return a {@link CancelEnhancedLogCollectionRequestBuilder} + */ + @jakarta.annotation.Nonnull + public CancelEnhancedLogCollectionRequestBuilder cancelEnhancedLogCollection() { + return new CancelEnhancedLogCollectionRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to call the changeAssignments method. * @return a {@link ChangeAssignmentsRequestBuilder} @@ -521,6 +531,14 @@ public SyncDeviceRequestBuilder syncDevice() { public TriggerConfigurationManagerActionRequestBuilder triggerConfigurationManagerAction() { return new TriggerConfigurationManagerActionRequestBuilder(pathParameters, requestAdapter); } + /** + * Provides operations to call the triggerEnhancedLogCollection method. + * @return a {@link TriggerEnhancedLogCollectionRequestBuilder} + */ + @jakarta.annotation.Nonnull + public TriggerEnhancedLogCollectionRequestBuilder triggerEnhancedLogCollection() { + return new TriggerEnhancedLogCollectionRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to call the updateWindowsDeviceAccount method. * @return a {@link UpdateWindowsDeviceAccountRequestBuilder} diff --git a/src/main/java/com/microsoft/graph/beta/generated/users/item/manageddevices/item/cancelenhancedlogcollection/CancelEnhancedLogCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/users/item/manageddevices/item/cancelenhancedlogcollection/CancelEnhancedLogCollectionRequestBuilder.java new file mode 100644 index 00000000000..4534bb93439 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/users/item/manageddevices/item/cancelenhancedlogcollection/CancelEnhancedLogCollectionRequestBuilder.java @@ -0,0 +1,91 @@ +package com.microsoft.graph.beta.users.item.manageddevices.item.cancelenhancedlogcollection; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to call the cancelEnhancedLogCollection method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class CancelEnhancedLogCollectionRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link CancelEnhancedLogCollectionRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public CancelEnhancedLogCollectionRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/users/{user%2Did}/managedDevices/{managedDevice%2Did}/cancelEnhancedLogCollection", pathParameters); + } + /** + * Instantiates a new {@link CancelEnhancedLogCollectionRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public CancelEnhancedLogCollectionRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/users/{user%2Did}/managedDevices/{managedDevice%2Did}/cancelEnhancedLogCollection", rawUrl); + } + /** + * Cancels an in-progress enhanced log collection session on a supervised Apple device. + * @throws ODataError When receiving a 4XX or 5XX status code + */ + public void post() { + post(null); + } + /** + * Cancels an in-progress enhanced log collection session on a supervised Apple device. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @throws ODataError When receiving a 4XX or 5XX status code + */ + public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); + } + /** + * Cancels an in-progress enhanced log collection session on a supervised Apple device. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation() { + return toPostRequestInformation(null); + } + /** + * Cancels an in-progress enhanced log collection session on a supervised Apple device. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); + 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. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link CancelEnhancedLogCollectionRequestBuilder} + */ + @jakarta.annotation.Nonnull + public CancelEnhancedLogCollectionRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new CancelEnhancedLogCollectionRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PostRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/users/item/manageddevices/item/securitybaselinestates/SecurityBaselineStatesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/users/item/manageddevices/item/securitybaselinestates/SecurityBaselineStatesRequestBuilder.java index 88d67610782..e9dcc83ca45 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/users/item/manageddevices/item/securitybaselinestates/SecurityBaselineStatesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/users/item/manageddevices/item/securitybaselinestates/SecurityBaselineStatesRequestBuilder.java @@ -26,7 +26,10 @@ public class SecurityBaselineStatesRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the securityBaselineStates property of the microsoft.graph.managedDevice entity. * @param securityBaselineStateId The unique identifier of securityBaselineState * @return a {@link SecurityBaselineStateItemRequestBuilder} + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nonnull + @Deprecated public SecurityBaselineStateItemRequestBuilder bySecurityBaselineStateId(@jakarta.annotation.Nonnull final String securityBaselineStateId) { Objects.requireNonNull(securityBaselineStateId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public SecurityBaselineStatesRequestBuilder(@jakarta.annotation.Nonnull final St * Security baseline states for this device. * @return a {@link SecurityBaselineStateCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nullable + @Deprecated public SecurityBaselineStateCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public SecurityBaselineStateCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SecurityBaselineStateCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nullable + @Deprecated public SecurityBaselineStateCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public SecurityBaselineStateCollectionResponse get(@jakarta.annotation.Nullable * @param body The request body * @return a {@link SecurityBaselineState} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nullable + @Deprecated public SecurityBaselineState post(@jakarta.annotation.Nonnull final SecurityBaselineState body) { return post(body, null); } @@ -97,8 +112,11 @@ public SecurityBaselineState post(@jakarta.annotation.Nonnull final SecurityBase * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SecurityBaselineState} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nullable + @Deprecated public SecurityBaselineState post(@jakarta.annotation.Nonnull final SecurityBaselineState body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public SecurityBaselineState post(@jakarta.annotation.Nonnull final SecurityBase /** * Security baseline states for this device. * @return a {@link RequestInformation} + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * Security baseline states for this device. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to securityBaselineStates for users * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final SecurityBaselineState body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final SecurityBaselineState body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link SecurityBaselineStatesRequestBuilder} + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nonnull + @Deprecated public SecurityBaselineStatesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new SecurityBaselineStatesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/users/item/manageddevices/item/securitybaselinestates/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/users/item/manageddevices/item/securitybaselinestates/count/CountRequestBuilder.java index 1bfcf7a57ce..633a4399d03 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/users/item/manageddevices/item/securitybaselinestates/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/users/item/manageddevices/item/securitybaselinestates/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/users/item/manageddevices/item/securitybaselinestates/item/SecurityBaselineStateItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/users/item/manageddevices/item/securitybaselinestates/item/SecurityBaselineStateItemRequestBuilder.java index 30540fceb32..29600d1a3e3 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/users/item/manageddevices/item/securitybaselinestates/item/SecurityBaselineStateItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/users/item/manageddevices/item/securitybaselinestates/item/SecurityBaselineStateItemRequestBuilder.java @@ -24,7 +24,10 @@ public class SecurityBaselineStateItemRequestBuilder extends BaseRequestBuilder /** * Provides operations to manage the settingStates property of the microsoft.graph.securityBaselineState entity. * @return a {@link SettingStatesRequestBuilder} + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ + @Deprecated @jakarta.annotation.Nonnull public SettingStatesRequestBuilder settingStates() { return new SettingStatesRequestBuilder(pathParameters, requestAdapter); @@ -48,7 +51,10 @@ public SecurityBaselineStateItemRequestBuilder(@jakarta.annotation.Nonnull final /** * Delete navigation property securityBaselineStates for users * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ + @Deprecated public void delete() { delete(null); } @@ -56,7 +62,10 @@ public void delete() { * Delete navigation property securityBaselineStates for users * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -67,8 +76,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * Security baseline states for this device. * @return a {@link SecurityBaselineState} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nullable + @Deprecated public SecurityBaselineState get() { return get(null); } @@ -77,8 +89,11 @@ public SecurityBaselineState get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SecurityBaselineState} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nullable + @Deprecated public SecurityBaselineState get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -90,8 +105,11 @@ public SecurityBaselineState get(@jakarta.annotation.Nullable final java.util.fu * @param body The request body * @return a {@link SecurityBaselineState} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nullable + @Deprecated public SecurityBaselineState patch(@jakarta.annotation.Nonnull final SecurityBaselineState body) { return patch(body, null); } @@ -101,8 +119,11 @@ public SecurityBaselineState patch(@jakarta.annotation.Nonnull final SecurityBas * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SecurityBaselineState} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nullable + @Deprecated public SecurityBaselineState patch(@jakarta.annotation.Nonnull final SecurityBaselineState body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -113,8 +134,11 @@ public SecurityBaselineState patch(@jakarta.annotation.Nonnull final SecurityBas /** * Delete navigation property securityBaselineStates for users * @return a {@link RequestInformation} + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -122,8 +146,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property securityBaselineStates for users * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -133,8 +160,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * Security baseline states for this device. * @return a {@link RequestInformation} + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -142,8 +172,11 @@ public RequestInformation toGetRequestInformation() { * Security baseline states for this device. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -154,8 +187,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property securityBaselineStates in users * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final SecurityBaselineState body) { return toPatchRequestInformation(body, null); } @@ -164,8 +200,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final SecurityBaselineState body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -178,8 +217,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link SecurityBaselineStateItemRequestBuilder} + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nonnull + @Deprecated public SecurityBaselineStateItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new SecurityBaselineStateItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/users/item/manageddevices/item/securitybaselinestates/item/settingstates/SettingStatesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/users/item/manageddevices/item/securitybaselinestates/item/settingstates/SettingStatesRequestBuilder.java index 6ef8ebe3d4a..6251ad9a4b1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/users/item/manageddevices/item/securitybaselinestates/item/settingstates/SettingStatesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/users/item/manageddevices/item/securitybaselinestates/item/settingstates/SettingStatesRequestBuilder.java @@ -26,7 +26,10 @@ public class SettingStatesRequestBuilder extends BaseRequestBuilder { /** * Provides operations to count the resources in the collection. * @return a {@link CountRequestBuilder} + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ + @Deprecated @jakarta.annotation.Nonnull public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); @@ -35,8 +38,11 @@ public CountRequestBuilder count() { * Provides operations to manage the settingStates property of the microsoft.graph.securityBaselineState entity. * @param securityBaselineSettingStateId The unique identifier of securityBaselineSettingState * @return a {@link SecurityBaselineSettingStateItemRequestBuilder} + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nonnull + @Deprecated public SecurityBaselineSettingStateItemRequestBuilder bySecurityBaselineSettingStateId(@jakarta.annotation.Nonnull final String securityBaselineSettingStateId) { Objects.requireNonNull(securityBaselineSettingStateId); final HashMap urlTplParams = new HashMap(this.pathParameters); @@ -63,8 +69,11 @@ public SettingStatesRequestBuilder(@jakarta.annotation.Nonnull final String rawU * The security baseline state for different settings for a device * @return a {@link SecurityBaselineSettingStateCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nullable + @Deprecated public SecurityBaselineSettingStateCollectionResponse get() { return get(null); } @@ -73,8 +82,11 @@ public SecurityBaselineSettingStateCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SecurityBaselineSettingStateCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nullable + @Deprecated public SecurityBaselineSettingStateCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -86,8 +98,11 @@ public SecurityBaselineSettingStateCollectionResponse get(@jakarta.annotation.Nu * @param body The request body * @return a {@link SecurityBaselineSettingState} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nullable + @Deprecated public SecurityBaselineSettingState post(@jakarta.annotation.Nonnull final SecurityBaselineSettingState body) { return post(body, null); } @@ -97,8 +112,11 @@ public SecurityBaselineSettingState post(@jakarta.annotation.Nonnull final Secur * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SecurityBaselineSettingState} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nullable + @Deprecated public SecurityBaselineSettingState post(@jakarta.annotation.Nonnull final SecurityBaselineSettingState body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -109,8 +127,11 @@ public SecurityBaselineSettingState post(@jakarta.annotation.Nonnull final Secur /** * The security baseline state for different settings for a device * @return a {@link RequestInformation} + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -118,8 +139,11 @@ public RequestInformation toGetRequestInformation() { * The security baseline state for different settings for a device * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -130,8 +154,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Create new navigation property to settingStates for users * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final SecurityBaselineSettingState body) { return toPostRequestInformation(body, null); } @@ -140,8 +167,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final SecurityBaselineSettingState body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -154,8 +184,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link SettingStatesRequestBuilder} + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nonnull + @Deprecated public SettingStatesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new SettingStatesRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/users/item/manageddevices/item/securitybaselinestates/item/settingstates/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/users/item/manageddevices/item/securitybaselinestates/item/settingstates/count/CountRequestBuilder.java index 1cbb76cf6eb..9fae84dac9c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/users/item/manageddevices/item/securitybaselinestates/item/settingstates/count/CountRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/users/item/manageddevices/item/securitybaselinestates/item/settingstates/count/CountRequestBuilder.java @@ -39,8 +39,11 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak * Get the number of the resource * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nullable + @Deprecated public Integer get() { return get(null); } @@ -49,8 +52,11 @@ public Integer get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Integer} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nullable + @Deprecated public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -60,8 +66,11 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume /** * Get the number of the resource * @return a {@link RequestInformation} + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -69,8 +78,11 @@ public RequestInformation toGetRequestInformation() { * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -81,8 +93,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link CountRequestBuilder} + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nonnull + @Deprecated public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new CountRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/users/item/manageddevices/item/securitybaselinestates/item/settingstates/item/SecurityBaselineSettingStateItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/users/item/manageddevices/item/securitybaselinestates/item/settingstates/item/SecurityBaselineSettingStateItemRequestBuilder.java index f0badedbe0b..fef79cafbe2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/users/item/manageddevices/item/securitybaselinestates/item/settingstates/item/SecurityBaselineSettingStateItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/users/item/manageddevices/item/securitybaselinestates/item/settingstates/item/SecurityBaselineSettingStateItemRequestBuilder.java @@ -39,7 +39,10 @@ public SecurityBaselineSettingStateItemRequestBuilder(@jakarta.annotation.Nonnul /** * Delete navigation property settingStates for users * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ + @Deprecated public void delete() { delete(null); } @@ -47,7 +50,10 @@ public void delete() { * Delete navigation property settingStates for users * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ + @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -58,8 +64,11 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume * The security baseline state for different settings for a device * @return a {@link SecurityBaselineSettingState} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nullable + @Deprecated public SecurityBaselineSettingState get() { return get(null); } @@ -68,8 +77,11 @@ public SecurityBaselineSettingState get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SecurityBaselineSettingState} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nullable + @Deprecated public SecurityBaselineSettingState get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); @@ -81,8 +93,11 @@ public SecurityBaselineSettingState get(@jakarta.annotation.Nullable final java. * @param body The request body * @return a {@link SecurityBaselineSettingState} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nullable + @Deprecated public SecurityBaselineSettingState patch(@jakarta.annotation.Nonnull final SecurityBaselineSettingState body) { return patch(body, null); } @@ -92,8 +107,11 @@ public SecurityBaselineSettingState patch(@jakarta.annotation.Nonnull final Secu * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SecurityBaselineSettingState} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nullable + @Deprecated public SecurityBaselineSettingState patch(@jakarta.annotation.Nonnull final SecurityBaselineSettingState body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); @@ -104,8 +122,11 @@ public SecurityBaselineSettingState patch(@jakarta.annotation.Nonnull final Secu /** * Delete navigation property settingStates for users * @return a {@link RequestInformation} + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } @@ -113,8 +134,11 @@ public RequestInformation toDeleteRequestInformation() { * Delete navigation property settingStates for users * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); @@ -124,8 +148,11 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl /** * The security baseline state for different settings for a device * @return a {@link RequestInformation} + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } @@ -133,8 +160,11 @@ public RequestInformation toGetRequestInformation() { * The security baseline state for different settings for a device * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); @@ -145,8 +175,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f * Update the navigation property settingStates in users * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final SecurityBaselineSettingState body) { return toPatchRequestInformation(body, null); } @@ -155,8 +188,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final SecurityBaselineSettingState body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); @@ -169,8 +205,11 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link SecurityBaselineSettingStateItemRequestBuilder} + * @deprecated + * This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07 */ @jakarta.annotation.Nonnull + @Deprecated public SecurityBaselineSettingStateItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new SecurityBaselineSettingStateItemRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/users/item/manageddevices/item/triggerenhancedlogcollection/TriggerEnhancedLogCollectionPostRequestBody.java b/src/main/java/com/microsoft/graph/beta/generated/users/item/manageddevices/item/triggerenhancedlogcollection/TriggerEnhancedLogCollectionPostRequestBody.java new file mode 100644 index 00000000000..5d5e4e170a3 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/users/item/manageddevices/item/triggerenhancedlogcollection/TriggerEnhancedLogCollectionPostRequestBody.java @@ -0,0 +1,107 @@ +package com.microsoft.graph.beta.users.item.manageddevices.item.triggerenhancedlogcollection; + +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class TriggerEnhancedLogCollectionPostRequestBody implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link TriggerEnhancedLogCollectionPostRequestBody} and sets the default values. + */ + public TriggerEnhancedLogCollectionPostRequestBody() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link TriggerEnhancedLogCollectionPostRequestBody} + */ + @jakarta.annotation.Nonnull + public static TriggerEnhancedLogCollectionPostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new TriggerEnhancedLogCollectionPostRequestBody(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the appleCareToken property value. The appleCareToken property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getAppleCareToken() { + return this.backingStore.get("appleCareToken"); + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(1); + deserializerMap.put("appleCareToken", (n) -> { this.setAppleCareToken(n.getStringValue()); }); + return deserializerMap; + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writeStringValue("appleCareToken", this.getAppleCareToken()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the appleCareToken property value. The appleCareToken property + * @param value Value to set for the appleCareToken property. + */ + public void setAppleCareToken(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("appleCareToken", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/users/item/manageddevices/item/triggerenhancedlogcollection/TriggerEnhancedLogCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/users/item/manageddevices/item/triggerenhancedlogcollection/TriggerEnhancedLogCollectionRequestBuilder.java new file mode 100644 index 00000000000..9a4f3099667 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/users/item/manageddevices/item/triggerenhancedlogcollection/TriggerEnhancedLogCollectionRequestBuilder.java @@ -0,0 +1,98 @@ +package com.microsoft.graph.beta.users.item.manageddevices.item.triggerenhancedlogcollection; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to call the triggerEnhancedLogCollection method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class TriggerEnhancedLogCollectionRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link TriggerEnhancedLogCollectionRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public TriggerEnhancedLogCollectionRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/users/{user%2Did}/managedDevices/{managedDevice%2Did}/triggerEnhancedLogCollection", pathParameters); + } + /** + * Instantiates a new {@link TriggerEnhancedLogCollectionRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public TriggerEnhancedLogCollectionRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/users/{user%2Did}/managedDevices/{managedDevice%2Did}/triggerEnhancedLogCollection", rawUrl); + } + /** + * Triggers an AppleCare-authorized enhanced log collection session on a supervised Apple device. + * @param body The request body + * @throws ODataError When receiving a 4XX or 5XX status code + */ + public void post(@jakarta.annotation.Nonnull final TriggerEnhancedLogCollectionPostRequestBody body) { + post(body, null); + } + /** + * Triggers an AppleCare-authorized enhanced log collection session on a supervised Apple device. + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @throws ODataError When receiving a 4XX or 5XX status code + */ + public void post(@jakarta.annotation.Nonnull final TriggerEnhancedLogCollectionPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); + } + /** + * Triggers an AppleCare-authorized enhanced log collection session on a supervised Apple device. + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final TriggerEnhancedLogCollectionPostRequestBody body) { + return toPostRequestInformation(body, null); + } + /** + * Triggers an AppleCare-authorized enhanced log collection session on a supervised Apple device. + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final TriggerEnhancedLogCollectionPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); + 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. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link TriggerEnhancedLogCollectionRequestBuilder} + */ + @jakarta.annotation.Nonnull + public TriggerEnhancedLogCollectionRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new TriggerEnhancedLogCollectionRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PostRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/users/item/teamwork/sections/SectionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/users/item/teamwork/sections/SectionsRequestBuilder.java index 8873b467af6..bc18ad7f61d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/users/item/teamwork/sections/SectionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/users/item/teamwork/sections/SectionsRequestBuilder.java @@ -5,6 +5,7 @@ import com.microsoft.graph.beta.models.TeamworkSectionCollectionResponse; import com.microsoft.graph.beta.users.item.teamwork.sections.count.CountRequestBuilder; import com.microsoft.graph.beta.users.item.teamwork.sections.item.TeamworkSectionItemRequestBuilder; +import com.microsoft.graph.beta.users.item.teamwork.sections.reorder.ReorderRequestBuilder; import com.microsoft.kiota.BaseRequestBuilder; import com.microsoft.kiota.BaseRequestConfiguration; import com.microsoft.kiota.HttpMethod; @@ -31,6 +32,14 @@ public class SectionsRequestBuilder extends BaseRequestBuilder { public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); } + /** + * Provides operations to call the reorder method. + * @return a {@link ReorderRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ReorderRequestBuilder reorder() { + return new ReorderRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to manage the sections property of the microsoft.graph.userTeamwork entity. * @param teamworkSectionId The unique identifier of teamworkSection diff --git a/src/main/java/com/microsoft/graph/beta/generated/users/item/teamwork/sections/item/items/ItemsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/users/item/teamwork/sections/item/items/ItemsRequestBuilder.java index c888acc69ab..2a6d0194850 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/users/item/teamwork/sections/item/items/ItemsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/users/item/teamwork/sections/item/items/ItemsRequestBuilder.java @@ -5,6 +5,7 @@ import com.microsoft.graph.beta.models.TeamworkSectionItemCollectionResponse; import com.microsoft.graph.beta.users.item.teamwork.sections.item.items.count.CountRequestBuilder; import com.microsoft.graph.beta.users.item.teamwork.sections.item.items.item.TeamworkSectionItemItemRequestBuilder; +import com.microsoft.graph.beta.users.item.teamwork.sections.item.items.reorder.ReorderRequestBuilder; import com.microsoft.kiota.BaseRequestBuilder; import com.microsoft.kiota.BaseRequestConfiguration; import com.microsoft.kiota.HttpMethod; @@ -31,6 +32,14 @@ public class ItemsRequestBuilder extends BaseRequestBuilder { public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); } + /** + * Provides operations to call the reorder method. + * @return a {@link ReorderRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ReorderRequestBuilder reorder() { + return new ReorderRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to manage the items property of the microsoft.graph.teamworkSection entity. * @param teamworkSectionItemId The unique identifier of teamworkSectionItem diff --git a/src/main/java/com/microsoft/graph/beta/generated/users/item/teamwork/sections/item/items/reorder/ReorderPostRequestBody.java b/src/main/java/com/microsoft/graph/beta/generated/users/item/teamwork/sections/item/items/reorder/ReorderPostRequestBody.java new file mode 100644 index 00000000000..3f36153bf88 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/users/item/teamwork/sections/item/items/reorder/ReorderPostRequestBody.java @@ -0,0 +1,107 @@ +package com.microsoft.graph.beta.users.item.teamwork.sections.item.items.reorder; + +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ReorderPostRequestBody implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link ReorderPostRequestBody} and sets the default values. + */ + public ReorderPostRequestBody() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link ReorderPostRequestBody} + */ + @jakarta.annotation.Nonnull + public static ReorderPostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new ReorderPostRequestBody(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(1); + deserializerMap.put("itemsOrder", (n) -> { this.setItemsOrder(n.getCollectionOfPrimitiveValues(String.class)); }); + return deserializerMap; + } + /** + * Gets the itemsOrder property value. The itemsOrder property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getItemsOrder() { + return this.backingStore.get("itemsOrder"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writeCollectionOfPrimitiveValues("itemsOrder", this.getItemsOrder()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } + /** + * Sets the itemsOrder property value. The itemsOrder property + * @param value Value to set for the itemsOrder property. + */ + public void setItemsOrder(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("itemsOrder", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/users/item/teamwork/sections/item/items/reorder/ReorderPostResponse.java b/src/main/java/com/microsoft/graph/beta/generated/users/item/teamwork/sections/item/items/reorder/ReorderPostResponse.java new file mode 100644 index 00000000000..77bbb04d423 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/users/item/teamwork/sections/item/items/reorder/ReorderPostResponse.java @@ -0,0 +1,63 @@ +package com.microsoft.graph.beta.users.item.teamwork.sections.item.items.reorder; + +import com.microsoft.graph.beta.models.BaseCollectionPaginationCountResponse; +import com.microsoft.graph.beta.models.TeamworkSectionItem; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ReorderPostResponse extends BaseCollectionPaginationCountResponse implements Parsable { + /** + * Instantiates a new {@link ReorderPostResponse} and sets the default values. + */ + public ReorderPostResponse() { + super(); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link ReorderPostResponse} + */ + @jakarta.annotation.Nonnull + public static ReorderPostResponse createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new ReorderPostResponse(); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("value", (n) -> { this.setValue(n.getCollectionOfObjectValues(TeamworkSectionItem::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the value property value. The value property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getValue() { + return this.backingStore.get("value"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeCollectionOfObjectValues("value", this.getValue()); + } + /** + * Sets the value property value. The value property + * @param value Value to set for the value property. + */ + public void setValue(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("value", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/users/item/teamwork/sections/item/items/reorder/ReorderRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/users/item/teamwork/sections/item/items/reorder/ReorderRequestBuilder.java new file mode 100644 index 00000000000..3032b356f67 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/users/item/teamwork/sections/item/items/reorder/ReorderRequestBuilder.java @@ -0,0 +1,104 @@ +package com.microsoft.graph.beta.users.item.teamwork.sections.item.items.reorder; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to call the reorder method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ReorderRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link ReorderRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public ReorderRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/users/{user%2Did}/teamwork/sections/{teamworkSection%2Did}/items/reorder", pathParameters); + } + /** + * Instantiates a new {@link ReorderRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public ReorderRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/users/{user%2Did}/teamwork/sections/{teamworkSection%2Did}/items/reorder", rawUrl); + } + /** + * Reorder the items in a user-defined section in a user's teamwork. The section must have sortType set to userDefinedCustomOrder, and the itemsOrder collection must contain every item ID returned by List items, exactly once. + * @param body The request body + * @return a {@link ReorderPostResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public ReorderPostResponse post(@jakarta.annotation.Nonnull final ReorderPostRequestBody body) { + return post(body, null); + } + /** + * Reorder the items in a user-defined section in a user's teamwork. The section must have sortType set to userDefinedCustomOrder, and the itemsOrder collection must contain every item ID returned by List items, exactly once. + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link ReorderPostResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public ReorderPostResponse post(@jakarta.annotation.Nonnull final ReorderPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, ReorderPostResponse::createFromDiscriminatorValue); + } + /** + * Reorder the items in a user-defined section in a user's teamwork. The section must have sortType set to userDefinedCustomOrder, and the itemsOrder collection must contain every item ID returned by List items, exactly once. + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ReorderPostRequestBody body) { + return toPostRequestInformation(body, null); + } + /** + * Reorder the items in a user-defined section in a user's teamwork. The section must have sortType set to userDefinedCustomOrder, and the itemsOrder collection must contain every item ID returned by List items, exactly once. + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ReorderPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); + 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. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link ReorderRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ReorderRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new ReorderRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PostRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/users/item/teamwork/sections/reorder/ReorderPostRequestBody.java b/src/main/java/com/microsoft/graph/beta/generated/users/item/teamwork/sections/reorder/ReorderPostRequestBody.java new file mode 100644 index 00000000000..0368747e0d5 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/users/item/teamwork/sections/reorder/ReorderPostRequestBody.java @@ -0,0 +1,107 @@ +package com.microsoft.graph.beta.users.item.teamwork.sections.reorder; + +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ReorderPostRequestBody implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link ReorderPostRequestBody} and sets the default values. + */ + public ReorderPostRequestBody() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link ReorderPostRequestBody} + */ + @jakarta.annotation.Nonnull + public static ReorderPostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new ReorderPostRequestBody(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(1); + deserializerMap.put("sectionsOrder", (n) -> { this.setSectionsOrder(n.getCollectionOfPrimitiveValues(String.class)); }); + return deserializerMap; + } + /** + * Gets the sectionsOrder property value. The sectionsOrder property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getSectionsOrder() { + return this.backingStore.get("sectionsOrder"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writeCollectionOfPrimitiveValues("sectionsOrder", this.getSectionsOrder()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } + /** + * Sets the sectionsOrder property value. The sectionsOrder property + * @param value Value to set for the sectionsOrder property. + */ + public void setSectionsOrder(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("sectionsOrder", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/users/item/teamwork/sections/reorder/ReorderPostResponse.java b/src/main/java/com/microsoft/graph/beta/generated/users/item/teamwork/sections/reorder/ReorderPostResponse.java new file mode 100644 index 00000000000..c6d4aa8ac0a --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/users/item/teamwork/sections/reorder/ReorderPostResponse.java @@ -0,0 +1,63 @@ +package com.microsoft.graph.beta.users.item.teamwork.sections.reorder; + +import com.microsoft.graph.beta.models.BaseCollectionPaginationCountResponse; +import com.microsoft.graph.beta.models.TeamworkSection; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ReorderPostResponse extends BaseCollectionPaginationCountResponse implements Parsable { + /** + * Instantiates a new {@link ReorderPostResponse} and sets the default values. + */ + public ReorderPostResponse() { + super(); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link ReorderPostResponse} + */ + @jakarta.annotation.Nonnull + public static ReorderPostResponse createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new ReorderPostResponse(); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("value", (n) -> { this.setValue(n.getCollectionOfObjectValues(TeamworkSection::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the value property value. The value property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getValue() { + return this.backingStore.get("value"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeCollectionOfObjectValues("value", this.getValue()); + } + /** + * Sets the value property value. The value property + * @param value Value to set for the value property. + */ + public void setValue(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("value", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/users/item/teamwork/sections/reorder/ReorderRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/users/item/teamwork/sections/reorder/ReorderRequestBuilder.java new file mode 100644 index 00000000000..fcecdaae6ca --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/users/item/teamwork/sections/reorder/ReorderRequestBuilder.java @@ -0,0 +1,104 @@ +package com.microsoft.graph.beta.users.item.teamwork.sections.reorder; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to call the reorder method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ReorderRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link ReorderRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public ReorderRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/users/{user%2Did}/teamwork/sections/reorder", pathParameters); + } + /** + * Instantiates a new {@link ReorderRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public ReorderRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/users/{user%2Did}/teamwork/sections/reorder", rawUrl); + } + /** + * Reorder the sections in a user's teamwork. The sectionsOrder collection must contain every section ID returned by List sections, exactly once. If the collection contains the *QuickViews* system section, that section must be first. + * @param body The request body + * @return a {@link ReorderPostResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public ReorderPostResponse post(@jakarta.annotation.Nonnull final ReorderPostRequestBody body) { + return post(body, null); + } + /** + * Reorder the sections in a user's teamwork. The sectionsOrder collection must contain every section ID returned by List sections, exactly once. If the collection contains the *QuickViews* system section, that section must be first. + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link ReorderPostResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public ReorderPostResponse post(@jakarta.annotation.Nonnull final ReorderPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, ReorderPostResponse::createFromDiscriminatorValue); + } + /** + * Reorder the sections in a user's teamwork. The sectionsOrder collection must contain every section ID returned by List sections, exactly once. If the collection contains the *QuickViews* system section, that section must be first. + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ReorderPostRequestBody body) { + return toPostRequestInformation(body, null); + } + /** + * Reorder the sections in a user's teamwork. The sectionsOrder collection must contain every section ID returned by List sections, exactly once. If the collection contains the *QuickViews* system section, that section must be first. + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ReorderPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); + 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. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link ReorderRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ReorderRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new ReorderRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PostRequestConfiguration extends BaseRequestConfiguration { + } +}